secureCodeBox/secureCodeBox

View on GitHub
scanners/zap/examples/demo-juice-shop-full-scan/zap-results.json

Summary

Maintainability
Test Coverage
{"@version":"D-2020-06-24","@generated":"Mon, 29 Jun 2020 07:58:44","site":[{"@name":"https://juice-shop.demo-targets.svc","@host":"juice-shop.demo-targets.svc","@port":"443","@ssl":"true","alerts":[{"pluginid":"10106","alert":"HTTP Only Site","name":"HTTP Only Site","riskcode":"2","confidence":"2","riskdesc":"Medium (Medium)","desc":"<p>The site is only served under HTTP and not HTTPS.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET"}],"count":"1","solution":"<p>Configure your web or application server to use SSL (https).<\/p>","otherinfo":"<p>Failed to connect.<\/p><p>ZAP attempted to connect via: https://juice-shop.demo-targets.svc:443/<\/p>","reference":"<p>https://cheatsheetseries.owasp.org/cheatsheets/Transport_Layer_Protection_Cheat_Sheet.html<\/p><p>https://letsencrypt.org/<\/p>","cweid":"311","wascid":"4","sourceid":"1"}]},{"@name":"http://juice-shop.demo-targets.svc:3000","@host":"juice-shop.demo-targets.svc","@port":"3000","@ssl":"false","alerts":[{"pluginid":"10049","alert":"Storable but Non-Cacheable Content","name":"Storable but Non-Cacheable Content","riskcode":"0","confidence":"2","riskdesc":"Informational (Medium)","desc":"<p>The response contents are storable by caching components such as proxy servers, but will not be retrieved directly from the cache, without validating the request upstream, in response to similar requests from other users. <\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/acquisitions.md","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/legal.md","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/favicon_js.ico","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/MaterialIcons-Regular.woff2","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es5.js","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/JuiceShop_Logo.png","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/fan_girlie.jpg","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/apple_juice.jpg","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/green_smoothie.jpg","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/apple_pressings.jpg","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/melon_bike.jpeg","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/incident-support.kdbx","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/runtime-es5.js","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET","evidence":"max-age=0"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/eggfruit_juice.jpg","method":"GET","evidence":"max-age=0"}],"count":"35","solution":"<p><\/p>","reference":"<p>https://tools.ietf.org/html/rfc7234<\/p><p>https://tools.ietf.org/html/rfc7231<\/p><p>http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html (obsoleted by rfc7234)<\/p>","cweid":"524","wascid":"13","sourceid":"3"},{"pluginid":"10104","alert":"User Agent Fuzzer","name":"User Agent Fuzzer","riskcode":"0","confidence":"2","riskdesc":"Informational (Medium)","desc":"<p>Check for differences in response based on fuzzed User Agent (eg. mobile sites, access as a Search Engine Crawler). Compares the response statuscode and the hashcode of the response body with the original response.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products","method":"GET","param":"Header User-Agent","attack":"msnbot/1.1 (+http://search.msn.com/msnbot.htm)"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/i18n","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public","method":"GET","param":"Header User-Agent","attack":"msnbot/1.1 (+http://search.msn.com/msnbot.htm)"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"},{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET","param":"Header User-Agent","attack":"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/i18n","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/i18n","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET","param":"Header User-Agent","attack":"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"}],"count":"70","solution":"<p><\/p>","reference":"<p>https://owasp.org/wstg<\/p>","sourceid":"1"},{"pluginid":"10098","alert":"Cross-Domain Misconfiguration","name":"Cross-Domain Misconfiguration","riskcode":"2","confidence":"2","riskdesc":"Medium (Medium)","desc":"<p>Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/fruit_press.jpg","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Quantitys/","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_windows_64.exe.url","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/coaster.jpg","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Challenges/?name=Score%20Board","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/encrypt.pyc","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4JpY&sid=EQLt4SVpH3WQQOI3AAJK","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LmB","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/banana_juice.jpg","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/user/whoami","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_45O-","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/melon_bike.jpeg","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Kme","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/eggfruit_juice.jpg","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KEV","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4EA-&sid=QRaHSlvGqPn23CrxAAJI","method":"GET","evidence":"Access-Control-Allow-Origin: *"},{"uri":"http://juice-shop.demo-targets.svc:3000/tutorial-es2015.js","method":"GET","evidence":"Access-Control-Allow-Origin: *"}],"count":"80","solution":"<p>Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).<\/p><p>Configure the \"Access-Control-Allow-Origin\" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.<\/p>","otherinfo":"<p>The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing.<\/p>","reference":"<p>http://www.hpenterprisesecurity.com/vulncat/en/vulncat/vb/html5_overly_permissive_cors_policy.html<\/p>","cweid":"264","wascid":"14","sourceid":"3"},{"pluginid":"10094","alert":"Base64 Disclosure","name":"Base64 Disclosure","riskcode":"0","confidence":"2","riskdesc":"Informational (Medium)","desc":"<p>Base64 encoded data was disclosed by the application/web server. Note: in the interests of performance not all base64 strings in the response were analyzed individually, the entire response should be looked at by the analyst/security team/developer(s).<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET","evidence":"2bca-IKmxdQfxxYh2+WZyvz2Z/b7yp/w"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET","evidence":"1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/languages","method":"GET","evidence":"10d6-z3izUgDuZcb1ivzuRqqv9VdKZrI"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine","method":"GET","evidence":"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAWtQTFRFAAAA/PPQ9Nhc2q402qQ12qs2/PTX2pg12p81+/LM89NE9dto2q82+/fp2rM22qY39d6U+/bo2qo2/frx/vz32q812qs12qE279SU8c4w9NZP+/LK//367s9y7s925cp0/vzw9t92//342po2/vz25s1579B6+OSO2bQ0/v799NyT8tE79dld8Msm+OrC/vzx79KA2IYs7s6I9d6R4cJe9+OF/PLI/fry79OF/v30//328tWB89RJ8c9p8c0u9eCf//7+9txs6sts5Mdr+++5+u2z/vrv+/fq6cFz8dBs8tA57cpq+OaU9uGs27Y8//799NdX/PbY9uB89unJ//z14sNf+emh+emk+vDc+uys9+OL8dJy89NH+eic8tN5+OaV+OWR9N2n9dtl9t529+KF9+GB9Nue9NdU8tR/9t5y89qW9dpj89iO89eG/vvu2pQ12Y4z/vzy2Ict/vvv48dr/vzz4sNg///+2Igty3PqwQAAAAF0Uk5TAEDm2GYAAACtSURBVBjTY2AgA2iYlJWVhfohBPg0yx38y92dS0pKVOVBAqIi6sb2vsWWpfrFeTI8QAEhYQEta28nCwM1OVleZqCAmKCEkUdwYWmhQnFeOStQgL9cySqkNNDHVJGbiY0FKCCuYuYSGRsV5KgjxcXIARRQNncNj09JTgqw0ZbkZAcK5LuFJaRmZqfHeNnpSucDBQoiEtOycnIz4qI9bfUKQA6pKKqAgqIKQyK8BgAZ5yfODmnHrQAAAABJRU5ErkJggg=="},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es5.js","method":"GET","evidence":"1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Challenges/?name=Score%20Board","method":"GET","evidence":"20f-meUKV+WEJgl9v+gheG3ot2T8lWw"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET","evidence":"353c-5zeEPiUKTQwVmEEy6QdEpKtCBZM"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp","method":"GET","evidence":"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAWtQTFRFAAAA/PPQ9Nhc2q402qQ12qs2/PTX2pg12p81+/LM89NE9dto2q82+/fp2rM22qY39d6U+/bo2qo2/frx/vz32q812qs12qE279SU8c4w9NZP+/LK//367s9y7s925cp0/vzw9t92//342po2/vz25s1579B6+OSO2bQ0/v799NyT8tE79dld8Msm+OrC/vzx79KA2IYs7s6I9d6R4cJe9+OF/PLI/fry79OF/v30//328tWB89RJ8c9p8c0u9eCf//7+9txs6sts5Mdr+++5+u2z/vrv+/fq6cFz8dBs8tA57cpq+OaU9uGs27Y8//799NdX/PbY9uB89unJ//z14sNf+emh+emk+vDc+uys9+OL8dJy89NH+eic8tN5+OaV+OWR9N2n9dtl9t529+KF9+GB9Nue9NdU8tR/9t5y89qW9dpj89iO89eG/vvu2pQ12Y4z/vzy2Ict/vvv48dr/vzz4sNg///+2Igty3PqwQAAAAF0Uk5TAEDm2GYAAACtSURBVBjTY2AgA2iYlJWVhfohBPg0yx38y92dS0pKVOVBAqIi6sb2vsWWpfrFeTI8QAEhYQEta28nCwM1OVleZqCAmKCEkUdwYWmhQnFeOStQgL9cySqkNNDHVJGbiY0FKCCuYuYSGRsV5KgjxcXIARRQNncNj09JTgqw0ZbkZAcK5LuFJaRmZqfHeNnpSucDBQoiEtOycnIz4qI9bfUKQA6pKKqAgqIKQyK8BgAZ5yfODmnHrQAAAABJRU5ErkJggg=="},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Quantitys/","method":"GET","evidence":"13c2-YZnu7Poyut6tOnXqggfs4IrmzZo"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/captcha/","method":"GET","evidence":"30-ynPBjsSc6cJ6iwKnFhStR2ZeQOI"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"},{"uri":"http://juice-shop.demo-targets.svc:3000/robots.txt","method":"GET","evidence":"1c-8HgF6mNyhsSFK0pascC9uB0wjX0"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-version","method":"GET","evidence":"14-q5yR/Ty1zvj1FGW0EQicfxYEQoM"}],"count":"14","solution":"<p>Manually confirm that the Base64 data does not leak sensitive information, and that the data cannot be aggregated/used to exploit other vulnerabilities.<\/p>","otherinfo":"<p>ٷ\\x001a�����\\x001f�\\x0016!�����g��ʟ�<\/p>","reference":"<p>http://projects.webappsec.org/w/page/13246936/Information%20Leakage<\/p>","cweid":"200","wascid":"13","sourceid":"3"},{"pluginid":"40035","alert":"Hidden File Found","name":"Hidden File Found","riskcode":"2","confidence":"1","riskdesc":"Medium (Low)","desc":"<p>A sensitive file was identified as accessible or available. This may leak administrative, configuration, or credential information which can be leveraged by a malicious individual to further attack the system or conduct social engineering efforts.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/adminer.php","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/.git/config","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/FileZilla.xml","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/app/etc/local.xml","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/config/databases.yml","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/id_dsa","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/.ssh/id_rsa","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/.DS_Store","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemanager.xml","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/sites/default/private/files/backup_migrate/scheduled/test.txt","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/core","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/CHANGELOG.txt","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/WinSCP.ini","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/config/database.yml","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/winscp.ini","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/DEADJOE","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/id_rsa","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/server.key","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/.idea/WebServers.xml","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/.ssh/id_dsa","method":"GET","evidence":"HTTP/1.1 200 OK"}],"count":"33","solution":"<p>Consider whether or not the component is actually required in production, if it isn't then disable it. If it is then ensure access to it requires appropriate authentication and authorization, or limit exposure to internal systems or specific source IPs, etc.<\/p>","otherinfo":"<p>adminer<\/p>","reference":"<p>https://blog.hboeck.de/archives/892-Introducing-Snallygaster-a-Tool-to-Scan-for-Secrets-on-Web-Servers.html<\/p>","cweid":"538","wascid":"13","sourceid":"1"},{"pluginid":"10063","alert":"Feature Policy Header Not Set","name":"Feature Policy Header Not Set","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>Feature Policy Header is an added layer of security that helps to restrict from unauthorized access or usage of browser/client features by web resources. This policy ensures the user privacy by limiting or specifying the features of the browsers can be used by the web resources. Feature Policy provides a set of standard HTTP headers that allow website owners to limit which features of browsers can be used by the page such as camera, microphone, location, full screen etc.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_linux_64.url","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_macos_64.url","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/eastere.gg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/encrypt.pyc","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/runtime-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_windows_64.exe.url","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/runtime-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/suspicious_errors.yml","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/package.json.bak","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/tutorial-es2015.js","method":"GET"}],"count":"22","solution":"<p>Ensure that your web server, application server, load balancer, etc. is configured to set the Feature-Policy header.<\/p>","reference":"<p>https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy<\/p><p>https://developers.google.com/web/updates/2018/06/feature-policy<\/p><p>https://scotthelme.co.uk/a-new-security-header-feature-policy/<\/p><p>https://w3c.github.io/webappsec-feature-policy/<\/p><p>https://www.smashingmagazine.com/2018/12/feature-policy/<\/p>","cweid":"16","wascid":"15","sourceid":"3"},{"pluginid":"90027","alert":"Cookie Slack Detector","name":"Cookie Slack Detector","riskcode":"0","confidence":"1","riskdesc":"Informational (Low)","desc":"<p>Repeated GET requests: drop a different cookie each time, followed by normal request with all cookies to stabilize session, compare responses against original baseline GET. This can reveal areas where cookie based authentication/attributes are not actually enforced.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/melon_bike.jpeg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/banana_juice.jpg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/user","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=SUkCn1d1AMCb92teAAJD","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/carrot_juice.jpeg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-version","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/favicon_js.ico","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/languages","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/captcha/","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/api","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/coaster.jpg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/eggfruit_juice.jpg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/apple_juice.jpg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/artwork.jpg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/apple_pressings.jpg","method":"GET"}],"count":"35","solution":"<p><\/p>","otherinfo":"<p>Cookies that don't have expected effects can reveal flaws in application logic. In the worst case, this can reveal where authentication via cookie token(s) is not actually enforced.<\/p><p>These cookies affected the response: <\/p><p>These cookies did NOT affect the response: io,language<\/p><p><\/p>","reference":"<p>http://projects.webappsec.org/Fingerprinting<\/p><p><\/p>","cweid":"200","wascid":"45","sourceid":"1"},{"pluginid":"10054","alert":"Cookie Without SameSite Attribute","name":"Cookie Without SameSite Attribute","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>A cookie has been set without the SameSite attribute, which means that the cookie can be sent as a result of a 'cross-site' request. The SameSite attribute is an effective counter measure to cross-site request forgery, cross-site script inclusion, and timing attacks.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LwY&sid=7d6AHoAKV74kodunAAJO","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Jif","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Dyx","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_48f7","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_45aF&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_48lc&sid=GwYaNaiL4IO2N-BFAAJF","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_45O-","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4JpY&sid=EQLt4SVpH3WQQOI3AAJK","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_468h&sid=gcMvRjo3zdXdJmvCAAJE","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LmB","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KEV","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Kme","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AGr","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Ktj&sid=zQ0Mw6vwMbX9lKFCAAJM","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AN6&sid=vAZyt0pkAtDNJ6WaAAJG","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LNQ&sid=k8MuVo8TgUS6THldAAJN","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GWW","method":"GET","param":"io","evidence":"Set-Cookie: io"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KLh&sid=p8N4l1VcorqI-28DAAJL","method":"GET","param":"io","evidence":"Set-Cookie: io"}],"count":"26","solution":"<p>Ensure that the SameSite attribute is set to either 'lax' or ideally 'strict' for all cookies.<\/p>","reference":"<p>https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site<\/p>","cweid":"16","wascid":"13","sourceid":"3"},{"pluginid":"10095","alert":"Backup File Disclosure","name":"Backup File Disclosure","riskcode":"2","confidence":"2","riskdesc":"Medium (Medium)","desc":"<p>A backup of the file was disclosed by the web server<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/restbackup/user","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/restbackup/user","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest/user] is available at [http://juice-shop.demo-targets.svc:3000/restbackup/user]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/Copy%20(3)%20of%20legal.md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/Copy (3) of legal.md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/legal.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/Copy (3) of legal.md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest.log","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/rest.log","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest] is available at [http://juice-shop.demo-targets.svc:3000/rest.log]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/Copy%20(2)%20of%20legal.md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/Copy (2) of legal.md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/legal.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/Copy (2) of legal.md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/Copy%20(3)%20of%20acquisitions.md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/Copy (3) of acquisitions.md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/acquisitions.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/Copy (3) of acquisitions.md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/legal%20-%20Copy%20(3).md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/legal - Copy (3).md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/legal.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/legal - Copy (3).md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/restbackup/languages","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/restbackup/languages","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest/languages] is available at [http://juice-shop.demo-targets.svc:3000/restbackup/languages]"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest%20-%20Copy","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/rest - Copy","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest] is available at [http://juice-shop.demo-targets.svc:3000/rest - Copy]"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest.backup","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/rest.backup","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest] is available at [http://juice-shop.demo-targets.svc:3000/rest.backup]"},{"uri":"http://juice-shop.demo-targets.svc:3000/api%20-%20Copy%20(2)","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/api - Copy (2)","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/api] is available at [http://juice-shop.demo-targets.svc:3000/api - Copy (2)]"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest%20-%20Copy%20(3)/products","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/rest - Copy (3)/products","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest/products] is available at [http://juice-shop.demo-targets.svc:3000/rest - Copy (3)/products]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/legal%20-%20Copy.md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/legal - Copy.md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/legal.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/legal - Copy.md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest%20-%20Copy/languages","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/rest - Copy/languages","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/rest/languages] is available at [http://juice-shop.demo-targets.svc:3000/rest - Copy/languages]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/acquisitions%20-%20Copy%20(3).md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/acquisitions - Copy (3).md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/acquisitions.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/acquisitions - Copy (3).md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/announcement_encrypted%20-%20Copy%20(3).md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/announcement_encrypted - Copy (3).md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/announcement_encrypted.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/announcement_encrypted - Copy (3).md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/api.bac","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/api.bac","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/api] is available at [http://juice-shop.demo-targets.svc:3000/api.bac]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/Copy%20of%20acquisitions.md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/Copy of acquisitions.md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/acquisitions.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/Copy of acquisitions.md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/legalbackup.md","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/ftp/legalbackup.md","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/ftp/legal.md] is available at [http://juice-shop.demo-targets.svc:3000/ftp/legalbackup.md]"},{"uri":"http://juice-shop.demo-targets.svc:3000/api.backup","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/api.backup","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/api] is available at [http://juice-shop.demo-targets.svc:3000/api.backup]"},{"uri":"http://juice-shop.demo-targets.svc:3000/api.old","method":"GET","attack":"http://juice-shop.demo-targets.svc:3000/api.old","evidence":"A backup of [http://juice-shop.demo-targets.svc:3000/api] is available at [http://juice-shop.demo-targets.svc:3000/api.old]"}],"count":"67","solution":"<p>Do not edit files in-situ on the web server, and ensure that un-necessary files (including hidden files) are removed from the web server.<\/p>","otherinfo":"<p>http://juice-shop.demo-targets.svc:3000/rest/user<\/p>","reference":"<p>https://cwe.mitre.org/data/definitions/530.html<\/p><p>https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management_Testing/04-Review_Old_Backup_and_Unreferenced_Files_for_Sensitive_Information.html<\/p>","cweid":"530","wascid":"34","sourceid":"1"},{"pluginid":"10096","alert":"Timestamp Disclosure - Unix","name":"Timestamp Disclosure - Unix","riskcode":"0","confidence":"1","riskdesc":"Informational (Low)","desc":"<p>A timestamp was disclosed by the application/web server - Unix<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"1803700518"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"1801949248"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"0000051215"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET","evidence":"1969196030"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"0000039834"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET","evidence":"1970691216"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"1801948466"},{"uri":"http://juice-shop.demo-targets.svc:3000/styles.css","method":"GET","evidence":"33333333"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"0000039834"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"0000051215"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"0000000004"},{"uri":"http://juice-shop.demo-targets.svc:3000/styles.css","method":"GET","evidence":"33335333"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"0000000005"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"0000000004"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es5.js","method":"GET","evidence":"62425156"},{"uri":"http://juice-shop.demo-targets.svc:3000/styles.css","method":"GET","evidence":"33334333"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"1801949248"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET","evidence":"1969196030"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"0000000005"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"179464974"}],"count":"25","solution":"<p>Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.<\/p>","otherinfo":"<p>1803700518, which evaluates to: 2027-02-27 03:55:18<\/p>","reference":"<p>http://projects.webappsec.org/w/page/13246936/Information%20Leakage<\/p>","cweid":"200","wascid":"13","sourceid":"3"},{"pluginid":"3","alert":"Session ID in URL Rewrite","name":"Session ID in URL Rewrite","riskcode":"2","confidence":"3","riskdesc":"Medium (High)","desc":"<p>URL rewrite is used to track user session ID. The session ID may be disclosed via cross-site referer header. In addition, the session ID might be stored in browser history or server logs.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AN6&sid=vAZyt0pkAtDNJ6WaAAJG","method":"GET","param":"sid","evidence":"vAZyt0pkAtDNJ6WaAAJG"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=vAZyt0pkAtDNJ6WaAAJG","method":"GET","param":"sid","evidence":"vAZyt0pkAtDNJ6WaAAJG"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=Zf_m8hPQmZ3Qj-zKAAJJ","method":"GET","param":"sid","evidence":"Zf_m8hPQmZ3Qj-zKAAJJ"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=k8MuVo8TgUS6THldAAJN","method":"GET","param":"sid","evidence":"k8MuVo8TgUS6THldAAJN"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"sid","evidence":"Jqb5tSRY7TVpvWxfAAJP"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"sid","evidence":"Jqb5tSRY7TVpvWxfAAJP"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=p8N4l1VcorqI-28DAAJL","method":"GET","param":"sid","evidence":"p8N4l1VcorqI-28DAAJL"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_45aF&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"sid","evidence":"SUkCn1d1AMCb92teAAJD"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4JpY&sid=EQLt4SVpH3WQQOI3AAJK","method":"GET","param":"sid","evidence":"EQLt4SVpH3WQQOI3AAJK"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4EA-&sid=QRaHSlvGqPn23CrxAAJI","method":"GET","param":"sid","evidence":"QRaHSlvGqPn23CrxAAJI"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KLh&sid=p8N4l1VcorqI-28DAAJL","method":"GET","param":"sid","evidence":"p8N4l1VcorqI-28DAAJL"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GeT&sid=Zf_m8hPQmZ3Qj-zKAAJJ","method":"GET","param":"sid","evidence":"Zf_m8hPQmZ3Qj-zKAAJJ"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=gcMvRjo3zdXdJmvCAAJE","method":"GET","param":"sid","evidence":"gcMvRjo3zdXdJmvCAAJE"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=GwYaNaiL4IO2N-BFAAJF","method":"GET","param":"sid","evidence":"GwYaNaiL4IO2N-BFAAJF"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=ylY-c4ef8ITTNed2AAJH","method":"GET","param":"sid","evidence":"ylY-c4ef8ITTNed2AAJH"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_48lc&sid=GwYaNaiL4IO2N-BFAAJF","method":"GET","param":"sid","evidence":"GwYaNaiL4IO2N-BFAAJF"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=7d6AHoAKV74kodunAAJO","method":"GET","param":"sid","evidence":"7d6AHoAKV74kodunAAJO"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"sid","evidence":"SUkCn1d1AMCb92teAAJD"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=QRaHSlvGqPn23CrxAAJI","method":"GET","param":"sid","evidence":"QRaHSlvGqPn23CrxAAJI"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=EQLt4SVpH3WQQOI3AAJK","method":"GET","param":"sid","evidence":"EQLt4SVpH3WQQOI3AAJK"}],"count":"26","solution":"<p>For secure content, put session ID in a cookie. To be even more secure consider using a combination of cookie and URL rewrite.<\/p>","reference":"<p>http://seclists.org/lists/webappsec/2002/Oct-Dec/0111.html<\/p>","cweid":"200","wascid":"13","sourceid":"3"},{"pluginid":"10017","alert":"Cross-Domain JavaScript Source File Inclusion","name":"Cross-Domain JavaScript Source File Inclusion","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>The page includes one or more script files from a third-party domain.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET","param":"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET","param":"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET","param":"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET","param":"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET","param":"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET","param":"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js\"><\/script>"}],"count":"6","solution":"<p>Ensure JavaScript source files are loaded from only trusted sources, and the sources can't be controlled by end users of the application.<\/p>","reference":"<p><\/p>","cweid":"829","wascid":"15","sourceid":"3"},{"pluginid":"10037","alert":"Server Leaks Information via \"X-Powered-By\" HTTP Response Header Field(s)","name":"Server Leaks Information via \"X-Powered-By\" HTTP Response Header Field(s)","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>The web/application server is leaking information via one or more \"X-Powered-By\" HTTP response headers. Access to such information may facilitate attackers identifying other frameworks/components your web application is reliant upon and the vulnerabilities such components may be subject to.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/robots.txt","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/captcha/","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/font-mfizz.woff","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/carrot_juice.jpeg","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/favicon_js.ico","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/runtime-es5.js","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/lemon_juice.jpg","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/legal.md","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/fan_girlie.jpg","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/JuiceShop_Logo.png","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/melon_bike.jpeg","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/green_smoothie.jpg","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/banana_juice.jpg","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/suspicious_errors.yml","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/user/whoami","method":"GET","evidence":"X-Powered-By: Express"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET","evidence":"X-Powered-By: Express"}],"count":"54","solution":"<p>Ensure that your web server, application server, load balancer, etc. is configured to suppress \"X-Powered-By\" headers.<\/p>","reference":"<p>http://blogs.msdn.com/b/varunm/archive/2013/04/23/remove-unwanted-http-response-headers.aspx<\/p><p>http://www.troyhunt.com/2012/02/shhh-dont-let-your-response-headers.html<\/p>","cweid":"200","wascid":"13","sourceid":"3"},{"pluginid":"10049","alert":"Storable and Cacheable Content","name":"Storable and Cacheable Content","riskcode":"0","confidence":"2","riskdesc":"Informational (Medium)","desc":"<p>The response contents are storable by caching components such as proxy servers, and may be retrieved directly from the cache, rather than from the origin server by the caching servers, in response to similar requests from other users.  If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where \"shared\" caching servers such as \"proxy\" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Ktj&sid=zQ0Mw6vwMbX9lKFCAAJM","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AGr","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GeT&sid=Zf_m8hPQmZ3Qj-zKAAJJ","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KLh&sid=p8N4l1VcorqI-28DAAJL","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LmB","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/languages","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Challenges/?name=Score%20Board","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KEV","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Kme","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LNQ&sid=k8MuVo8TgUS6THldAAJN","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GWW","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/user/whoami","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_468h&sid=gcMvRjo3zdXdJmvCAAJE","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4617","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/captcha/","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/robots.txt","method":"GET"}],"count":"37","solution":"<p>Validate that the response does not contain sensitive, personal or user-specific information.  If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:<\/p><p>Cache-Control: no-cache, no-store, must-revalidate, private<\/p><p>Pragma: no-cache<\/p><p>Expires: 0<\/p><p>This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request. <\/p>","otherinfo":"<p>In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234.<\/p>","reference":"<p>https://tools.ietf.org/html/rfc7234<\/p><p>https://tools.ietf.org/html/rfc7231<\/p><p>http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html (obsoleted by rfc7234)<\/p>","cweid":"524","wascid":"13","sourceid":"3"},{"pluginid":"10049","alert":"Non-Storable Content","name":"Non-Storable Content","riskcode":"0","confidence":"2","riskdesc":"Informational (Medium)","desc":"<p>The response contents are not storable by caching components such as proxy servers. If the response does not contain sensitive, personal or user-specific information, it may benefit from being stored and cached, to improve performance.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=7d6AHoAKV74kodunAAJO","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/coupons_2013.md.bak","method":"GET","evidence":"403"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=QRaHSlvGqPn23CrxAAJI","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/encrypt.pyc","method":"GET","evidence":"403"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=p8N4l1VcorqI-28DAAJL","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=EQLt4SVpH3WQQOI3AAJK","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_windows_64.exe.url","method":"GET","evidence":"403"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/package.json.bak","method":"GET","evidence":"403"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Quantitys/","method":"GET","evidence":"304"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=ylY-c4ef8ITTNed2AAJH","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Challenges/?name=Score%20Board","method":"GET","evidence":"304"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=k8MuVo8TgUS6THldAAJN","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=vAZyt0pkAtDNJ6WaAAJG","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=Zf_m8hPQmZ3Qj-zKAAJJ","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/suspicious_errors.yml","method":"GET","evidence":"403"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-version","method":"GET","evidence":"304"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET","evidence":"304"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=websocket&sid=gcMvRjo3zdXdJmvCAAJE","method":"GET","evidence":"101"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_linux_64.url","method":"GET","evidence":"403"}],"count":"27","solution":"<p>The content may be marked as storable by ensuring that the following conditions are satisfied:<\/p><p>The request method must be understood by the cache and defined as being cacheable (\"GET\", \"HEAD\", and \"POST\" are currently defined as cacheable)<\/p><p>The response status code must be understood by the cache (one of the 1XX, 2XX, 3XX, 4XX, or 5XX response classes are generally understood)<\/p><p>The \"no-store\" cache directive must not appear in the request or response header fields<\/p><p>For caching by \"shared\" caches such as \"proxy\" caches, the \"private\" response directive must not appear in the response<\/p><p>For caching by \"shared\" caches such as \"proxy\" caches, the \"Authorization\" header field must not appear in the request, unless the response explicitly allows it (using one of the \"must-revalidate\", \"public\", or \"s-maxage\" Cache-Control response directives)<\/p><p>In addition to the conditions above, at least one of the following conditions must also be satisfied by the response:<\/p><p>It must contain an \"Expires\" header field<\/p><p>It must contain a \"max-age\" response directive<\/p><p>For \"shared\" caches such as \"proxy\" caches, it must contain a \"s-maxage\" response directive<\/p><p>It must contain a \"Cache Control Extension\" that allows it to be cached<\/p><p>It must have a status code that is defined as cacheable by default (200, 203, 204, 206, 300, 301, 404, 405, 410, 414, 501).   <\/p>","reference":"<p>https://tools.ietf.org/html/rfc7234<\/p><p>https://tools.ietf.org/html/rfc7231<\/p><p>http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html (obsoleted by rfc7234)<\/p>","cweid":"524","wascid":"13","sourceid":"3"},{"pluginid":"10110","alert":"Dangerous JS Functions","name":"Dangerous JS Functions","riskcode":"1","confidence":"1","riskdesc":"Low (Low)","desc":"<p>A dangerous JS function seems to be in use that would leave the site vulnerable.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es2015.js","method":"GET","evidence":"eVal"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET","evidence":"bypassSecurityTrustHtml"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es5.js","method":"GET","evidence":"bypassSecurityTrustHtml"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"bypassSecurityTrustHtml"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es5.js","method":"GET","evidence":"eVal"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"bypassSecurityTrustHtml"}],"count":"6","solution":"<p>See the references for security advice on the use of these functions.<\/p>","reference":"<p>https://angular.io/guide/security<\/p>","cweid":"749","sourceid":"3"},{"pluginid":"40029","alert":"Trace.axd Information Leak","name":"Trace.axd Information Leak","riskcode":"2","confidence":"3","riskdesc":"Medium (High)","desc":"<p>The ASP.NET Trace Viewer (trace.axd) was found to be available. This component can leak a significant amount of valuable information.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/assets/trace.axd","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/trace.axd","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/trace.axd","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/trace.axd","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/trace.axd","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/i18n/trace.axd","method":"GET","evidence":"HTTP/1.1 200 OK"}],"count":"6","solution":"<p>Consider whether or not Trace Viewer is actually required in production, if it isn't then disable it. If it is then ensure access to it requires authentication and authorization.<\/p>","reference":"<p>https://msdn.microsoft.com/en-us/library/bb386420.aspx<\/p><p>https://msdn.microsoft.com/en-us/library/wwh16c6c.aspx<\/p><p>https://www.dotnetperls.com/trace<\/p>","cweid":"215","wascid":"13","sourceid":"1"},{"pluginid":"20012","alert":"Anti CSRF Tokens Scanner","name":"Anti CSRF Tokens Scanner","riskcode":"3","confidence":"2","riskdesc":"High (Medium)","desc":"<p>A cross-site request forgery is an attack that involves forcing a victim to send an HTTP request to a target destination without their knowledge or intent in order to perform an action as the victim. The underlying cause is application functionality using predictable URL/form actions in a repeatable way. The nature of the attack is that CSRF exploits the trust that a web site has for a user. By contrast, cross-site scripting (XSS) exploits the trust that a user has for a web site. Like XSS, CSRF attacks are not necessarily cross-site, but they can be. Cross-site request forgery is also known as CSRF, XSRF, one-click attack, session riding, confused deputy, and sea surf.<\/p><p><\/p><p>CSRF attacks are effective in a number of situations, including:<\/p><p>    * The victim has an active session on the target site.<\/p><p>    * The victim is authenticated via HTTP auth on the target site.<\/p><p>    * The victim is on the same local network as the target site.<\/p><p><\/p><p>CSRF has primarily been used to perform an action against a target site using the victim's privileges, but recent techniques have been discovered to disclose information by gaining access to the response. The risk of information disclosure is dramatically increased when the target site is vulnerable to XSS, because XSS can be used as a platform for CSRF, allowing the attack to operate within the bounds of the same-origin policy.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET","evidence":"<form>"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"<form>"}],"count":"2","solution":"<p>Phase: Architecture and Design<\/p><p>Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.<\/p><p>For example, use anti-CSRF packages such as the OWASP CSRFGuard.<\/p><p><\/p><p>Phase: Implementation<\/p><p>Ensure that your application is free of cross-site scripting issues, because most CSRF defenses can be bypassed using attacker-controlled script.<\/p><p><\/p><p>Phase: Architecture and Design<\/p><p>Generate a unique nonce for each form, place the nonce into the form, and verify the nonce upon receipt of the form. Be sure that the nonce is not predictable (CWE-330).<\/p><p>Note that this can be bypassed using XSS.<\/p><p><\/p><p>Identify especially dangerous operations. When the user performs a dangerous operation, send a separate confirmation request to ensure that the user intended to perform that operation.<\/p><p>Note that this can be bypassed using XSS.<\/p><p><\/p><p>Use the ESAPI Session Management control.<\/p><p>This control includes a component for CSRF.<\/p><p><\/p><p>Do not use the GET method for any request that triggers a state change.<\/p><p><\/p><p>Phase: Implementation<\/p><p>Check the HTTP Referer header to see if the request originated from an expected page. This could break legitimate functionality, because users or proxies may have disabled sending the Referer for privacy reasons.<\/p>","reference":"<p>http://projects.webappsec.org/Cross-Site-Request-Forgery<\/p><p>http://cwe.mitre.org/data/definitions/352.html<\/p>","cweid":"352","wascid":"9","sourceid":"1"},{"pluginid":"10053","alert":"Apache Range Header DoS (CVE-2011-3192)","name":"Apache Range Header DoS (CVE-2011-3192)","riskcode":"2","confidence":"2","riskdesc":"Medium (Medium)","desc":"<p>The byterange filter in earlier versions of the Apache HTTP Server allows remote attackers to cause a denial of service (memory and CPU exhaustion) via a Range request header that identifies multiple overlapping ranges. This issue was exploited in the wild in August 2011.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/coaster.jpg","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/fruit_press.jpg","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/i18n/en.json","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es2015.js","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/banana_juice.jpg","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/carrot_juice.jpeg","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/tutorial-es2015.js","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/font-mfizz.woff","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/styles.css","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es5.js","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/artwork.jpg","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/hackingInstructor.png","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/lemon_juice.jpg","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/runtime-es2015.js","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/favicon_js.ico","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/acquisitions.md","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/legal.md","method":"GET","evidence":"HTTP/1.1 206 Partial Content"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/announcement_encrypted.md","method":"GET","evidence":"HTTP/1.1 206 Partial Content"}],"count":"34","solution":"<p>Upgrade your Apache server to a currently stable version. Alternative solutions or workarounds are outlined in the references. <\/p>","reference":"<p>https://httpd.apache.org/security/CVE-2011-3192.txt<\/p><p>http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2011-3192<\/p>","cweid":"400","wascid":"10","sourceid":"1"},{"pluginid":"10021","alert":"X-Content-Type-Options Header Missing","name":"X-Content-Type-Options Header Missing","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AN6&sid=vAZyt0pkAtDNJ6WaAAJG","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AGr","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Ktj&sid=zQ0Mw6vwMbX9lKFCAAJM","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GWW","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_468h&sid=gcMvRjo3zdXdJmvCAAJE","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LNQ&sid=k8MuVo8TgUS6THldAAJN","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Jif","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_45aF&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Dyx","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4EA-&sid=QRaHSlvGqPn23CrxAAJI","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_48lc&sid=GwYaNaiL4IO2N-BFAAJF","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LwY&sid=7d6AHoAKV74kodunAAJO","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LGa","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_48f7","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Cu7","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4617","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KLh&sid=p8N4l1VcorqI-28DAAJL","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MHS","method":"GET","param":"X-Content-Type-Options"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KEV","method":"GET","param":"X-Content-Type-Options"}],"count":"26","solution":"<p>Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.<\/p><p>If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.<\/p>","otherinfo":"<p>This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.<\/p><p>At \"High\" threshold this scanner will not alert on client or server error responses.<\/p>","reference":"<p>http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx<\/p><p>https://owasp.org/www-community/Security_Headers<\/p>","cweid":"16","wascid":"15","sourceid":"3"},{"pluginid":"40034","alert":".env Information Leak","name":".env Information Leak","riskcode":"2","confidence":"3","riskdesc":"Medium (High)","desc":"<p>One or more .env files seems to have been located on the server. These files often expose infrastructure or administrative account credentials, API or APP keys, or other sensitive configuration information. <\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/.env","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/.env","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/.env","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/public/images/products/.env","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/i18n/.env","method":"GET","evidence":"HTTP/1.1 200 OK"},{"uri":"http://juice-shop.demo-targets.svc:3000/assets/.env","method":"GET","evidence":"HTTP/1.1 200 OK"}],"count":"6","solution":"<p>Ensure the .env file is not accessible.<\/p>","reference":"<p>https://www.google.com/search?q=db_password+filetype%3Aenv<\/p><p>https://mobile.twitter.com/svblxyz/status/1045013939904532482<\/p>","cweid":"215","wascid":"13","sourceid":"1"},{"pluginid":"40034","alert":".env Information Leak","name":".env Information Leak","riskcode":"0","confidence":"3","riskdesc":"Informational (High)","desc":"<p>One or more .env files seems to have been located on the server. These files often expose infrastructure or administrative account credentials, API or APP keys, or other sensitive configuration information. <\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/.env","method":"GET","evidence":"HTTP/1.1 403 Forbidden"},{"uri":"http://juice-shop.demo-targets.svc:3000/api/Challenges/.env","method":"GET","evidence":"HTTP/1.1 401 Unauthorized"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/.env","method":"GET","evidence":"HTTP/1.1 403 Forbidden"}],"count":"3","solution":"<p>Ensure the .env file is not accessible.<\/p>","otherinfo":"<p>Based on response status code the .env file may be protected by an authentication or authorization mechanism.<\/p>","reference":"<p>https://www.google.com/search?q=db_password+filetype%3Aenv<\/p><p>https://mobile.twitter.com/svblxyz/status/1045013939904532482<\/p>","cweid":"215","wascid":"13","sourceid":"1"},{"pluginid":"10029","alert":"Cookie Poisoning","name":"Cookie Poisoning","riskcode":"0","confidence":"1","riskdesc":"Informational (Low)","desc":"<p>This check looks at user-supplied input in query string parameters and POST data to identify where cookie parameters might be controlled. This is called a cookie poisoning attack, and becomes exploitable when an attacker can manipulate the cookie in various ways. In some cases this will not be exploitable, however, allowing URL parameters to set cookie values is generally considered a bug.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GeT&sid=Zf_m8hPQmZ3Qj-zKAAJJ","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4EA-&sid=QRaHSlvGqPn23CrxAAJI","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Ktj&sid=zQ0Mw6vwMbX9lKFCAAJM","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LNQ&sid=k8MuVo8TgUS6THldAAJN","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4LwY&sid=7d6AHoAKV74kodunAAJO","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4JpY&sid=EQLt4SVpH3WQQOI3AAJK","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4KLh&sid=p8N4l1VcorqI-28DAAJL","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_48lc&sid=GwYaNaiL4IO2N-BFAAJF","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_468h&sid=gcMvRjo3zdXdJmvCAAJE","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4MNm&sid=Jqb5tSRY7TVpvWxfAAJP","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_45aF&sid=SUkCn1d1AMCb92teAAJD","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4AN6&sid=vAZyt0pkAtDNJ6WaAAJG","method":"GET","param":"sid"},{"uri":"http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4Czt&sid=ylY-c4ef8ITTNed2AAJH","method":"GET","param":"sid"}],"count":"13","solution":"<p>Do not allow user input to control cookie names and values. If some query string parameters must be set in cookie values, be sure to filter out semicolon's that can serve as name/value pair delimiters.<\/p>","otherinfo":"<p>An attacker may be able to poison cookie values through URL parameters.  Try injecting a semicolon to see if you can add cookie values (e.g. name=controlledValue;name=anotherValue;).<\/p><p><\/p><p>This was identified at:<\/p><p><\/p><p>http://juice-shop.demo-targets.svc:3000/socket.io/?EIO=3&transport=polling&t=NB_4GeT&sid=Zf_m8hPQmZ3Qj-zKAAJJ<\/p><p><\/p><p>User-input was found in the following cookie:<\/p><p>io=Zf_m8hPQmZ3Qj-zKAAJJ; Path=/; HttpOnly<\/p><p><\/p><p>The user input was:<\/p><p>sid=Zf_m8hPQmZ3Qj-zKAAJJ<\/p>","reference":"<p>http://websecuritytool.codeplex.com/wikipage?title=Checks#user-controlled-cookie<\/p>","cweid":"20","wascid":"20","sourceid":"3"},{"pluginid":"10109","alert":"Modern Web Application","name":"Modern Web Application","riskcode":"0","confidence":"2","riskdesc":"Informational (Medium)","desc":"<p>The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js\"><\/script>"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es2015.js","method":"GET","evidence":"<script>"},{"uri":"http://juice-shop.demo-targets.svc:3000/tutorial-es2015.js","method":"GET","evidence":"<script>"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es5.js","method":"GET","evidence":"<a>"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET","evidence":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js\"><\/script>"}],"count":"6","solution":"<p>This is an informational alert and so no changes are required.<\/p>","otherinfo":"<p>No links have been found while there are scripts, which is an indication that this is a modern web application.<\/p>","reference":"<p><\/p>","sourceid":"3"},{"pluginid":"10038","alert":"Content Security Policy (CSP) Header Not Set","name":"Content Security Policy (CSP) Header Not Set","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/package.json.bak","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/sitemap.xml","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/suspicious_errors.yml","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_linux_64.url","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/encrypt.pyc","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/coupons_2013.md.bak","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_windows_64.exe.url","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/eastere.gg","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/juicy_malware_macos_64.url","method":"GET"}],"count":"13","solution":"<p>Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header, to achieve optimal browser support: \"Content-Security-Policy\" for Chrome 25+, Firefox 23+ and Safari 7+, \"X-Content-Security-Policy\" for Firefox 4.0+ and Internet Explorer 10+, and \"X-WebKit-CSP\" for Chrome 14+ and Safari 6+.<\/p>","reference":"<p>https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy<\/p><p>https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html<\/p><p>http://www.w3.org/TR/CSP/<\/p><p>http://w3c.github.io/webappsec/specs/content-security-policy/csp-specification.dev.html<\/p><p>http://www.html5rocks.com/en/tutorials/security/content-security-policy/<\/p><p>http://caniuse.com/#feat=contentsecuritypolicy<\/p><p>http://content-security-policy.com/<\/p>","cweid":"16","wascid":"15","sourceid":"3"},{"pluginid":"2","alert":"Private IP Disclosure","name":"Private IP Disclosure","riskcode":"1","confidence":"2","riskdesc":"Low (Medium)","desc":"<p>A private IP (such as 10.x.x.x, 172.x.x.x, 192.168.x.x) or an Amazon EC2 private hostname (for example, ip-10-0-56-78) has been found in the HTTP response body. This information might be helpful for further attacks targeting internal systems.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/rest/admin/application-configuration","method":"GET","evidence":"192.168.99.100:3000"}],"count":"1","solution":"<p>Remove the private IP address from the HTTP response body.  For comments, use JSP/ASP/PHP comment instead of HTML/JavaScript comment which can be seen by client browsers.<\/p>","otherinfo":"<p>192.168.99.100:3000<\/p><p><\/p>","reference":"<p>https://tools.ietf.org/html/rfc1918<\/p>","cweid":"200","wascid":"13","sourceid":"3"},{"pluginid":"40024","alert":"SQL Injection - SQLite","name":"SQL Injection - SQLite","riskcode":"3","confidence":"2","riskdesc":"High (Medium)","desc":"<p>SQL injection may be possible<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/rest/products/search?q=","method":"GET","param":"q","attack":"' | case randomblob(1000000) when not null then \"\" else \"\" end | '","evidence":"The query time is controllable using parameter value [' | case randomblob(1000000) when not null then \"\" else \"\" end | '], which caused the request to take [575] milliseconds, parameter value [' | case randomblob(10000000) when not null then \"\" else \"\" end | '], which caused the request to take [5,110] milliseconds, when the original unmodified query with value [] took [24] milliseconds."}],"count":"1","solution":"<p>Do not trust client side input, even if there is client side validation in place. <\/p><p>In general, type check all data on the server side.<\/p><p>If the application uses JDBC, use PreparedStatement or CallableStatement, with parameters passed by '?'<\/p><p>If the application uses ASP, use ADO Command Objects with strong type checking and parameterized queries.<\/p><p>If database Stored Procedures can be used, use them.<\/p><p>Do *not* concatenate strings into queries in the stored procedure, or use 'exec', 'exec immediate', or equivalent functionality!<\/p><p>Do not create dynamic SQL queries using simple string concatenation.<\/p><p>Escape all data received from the client.<\/p><p>Apply a 'whitelist' of allowed characters, or a 'blacklist' of disallowed characters in user input.<\/p><p>Apply the privilege of least privilege by using the least privileged database user possible.<\/p><p>In particular, avoid using the 'sa' or 'db-owner' database users. This does not eliminate SQL injection, but minimizes its impact.<\/p><p>Grant the minimum database access that is necessary for the application.<\/p>","otherinfo":"<p>The query time is controllable using parameter value [' | case randomblob(1000000) when not null then \"\" else \"\" end | '], which caused the request to take [575] milliseconds, parameter value [' | case randomblob(10000000) when not null then \"\" else \"\" end | '], which caused the request to take [5,110] milliseconds, when the original unmodified query with value [] took [24] milliseconds.<\/p>","reference":"<p>https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html<\/p>","cweid":"89","wascid":"19","sourceid":"1"},{"pluginid":"40035","alert":"Hidden File Found","name":"Hidden File Found","riskcode":"2","confidence":"3","riskdesc":"Medium (High)","desc":"<p>A sensitive file was identified as accessible or available. This may leak administrative, configuration, or credential information which can be leveraged by a malicious individual to further attack the system or conduct social engineering efforts.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/.svn/entries","method":"GET","evidence":"HTTP/1.1 200 OK"}],"count":"1","solution":"<p>Consider whether or not the component is actually required in production, if it isn't then disable it. If it is then ensure access to it requires appropriate authentication and authorization, or limit exposure to internal systems or specific source IPs, etc.<\/p>","otherinfo":"<p>svn_dir<\/p>","reference":"<p>https://blog.hboeck.de/archives/892-Introducing-Snallygaster-a-Tool-to-Scan-for-Secrets-on-Web-Servers.html<\/p><p>https://www.oreilly.com/library/view/version-control-with/9780596510336/ch08s02s01.html<\/p>","cweid":"538","wascid":"13","sourceid":"1"},{"pluginid":"10027","alert":"Information Disclosure - Suspicious Comments","name":"Information Disclosure - Suspicious Comments","riskcode":"0","confidence":"1","riskdesc":"Informational (Low)","desc":"<p>The response appears to contain suspicious comments which may help an attacker. Note: Matches made within script blocks or files are against the entire content not only comments.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/tutorial-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es5.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es2015.js","method":"GET"}],"count":"7","solution":"<p>Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.<\/p>","otherinfo":"<p>The following comment/snippet was identified via the pattern: \\bQUERY\\b<\/p><p>(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{\"+0xr\":function(t,e,n){\"use strict\";var i=n(\"8LU1\"),r=n(\"0EQZ\"),s=n(\"fXoL\"),a=n(\"cH1L\"),o=n(\"nLfN\"),l=n(\"ofXK\"),c=n(\"XNiG\"),h=n(\"2Vo4\"),d=n(\"7+OI\"),u=n(\"LRne\"),p=n(\"1G5W\");const m=[[[\"caption\"]]],f=[\"caption\"];function g(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(i.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}let b=(()=>{class t{constructor(t){this.template=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkCellDef\",\"\"]]}),t})(),_=(()=>{class t{constructor(t){this.template=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkHeaderCellDef\",\"\"]]}),t})(),y=(()=>{class t{constructor(t){this.template=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkFooterCellDef\",\"\"]]}),t})();class v{}const w=g(v);let x=(()=>{class t extends w{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,\"-\"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}return t.\\u0275fac=function(e){return C(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkColumnDef\",\"\"]],contentQueries:function(t,e,n){var i;1&t&&(s.Jb(n,b,!0),s.Jb(n,_,!0),s.Jb(n,y,!0)),2&t&&(s.vc(i=s.fc())&&(e.cell=i.first),s.vc(i=s.fc())&&(e.headerCell=i.first),s.vc(i=s.fc())&&(e.footerCell=i.first))},inputs:{sticky:\"sticky\",name:[\"cdkColumnDef\",\"name\"],stickyEnd:\"stickyEnd\"},features:[s.Cb([{provide:\"MAT_SORT_HEADER_COLUMN_DEF\",useExisting:t}]),s.Ab]}),t})();const C=s.Yb(x);class k{constructor(t,e){e.nativeElement.classList.add(`cdk-column-${t.cssClassFriendlyName}`)}}let O=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"cdk-header-cell\"],[\"th\",\"cdk-header-cell\",\"\"]],hostAttrs:[\"role\",\"columnheader\",1,\"cdk-header-cell\"],features:[s.Ab]}),t})(),S=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"cdk-footer-cell\"],[\"td\",\"cdk-footer-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"cdk-footer-cell\"],features:[s.Ab]}),t})(),M=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"cdk-cell\"],[\"td\",\"cdk-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"cdk-cell\"],features:[s.Ab]}),t})(),P=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof D?t.headerCell.template:this instanceof I?t.footerCell.template:t.cell.template}}return t.\\u0275fac=function(t){s.dc()},t.\\u0275dir=s.Lb({type:t,features:[s.Bb()]}),t})();class E extends P{}const A=g(E);let D=(()=>{class t extends A{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M),s.Qb(s.t))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkHeaderRowDef\",\"\"]],inputs:{columns:[\"cdkHeaderRowDef\",\"columns\"],sticky:[\"cdkHeaderRowDefSticky\",\"sticky\"]},features:[s.Ab,s.Bb()]}),t})();class R extends P{}const T=g(R);let I=(()=>{class t extends T{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M),s.Qb(s.t))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkFooterRowDef\",\"\"]],inputs:{columns:[\"cdkFooterRowDef\",\"columns\"],sticky:[\"cdkFooterRowDefSticky\",\"sticky\"]},features:[s.Ab,s.Bb()]}),t})(),j=(()=>{class t extends P{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M),s.Qb(s.t))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkRowDef\",\"\"]],inputs:{columns:[\"cdkRowDefColumns\",\"columns\"],when:[\"cdkRowDefWhen\",\"when\"]},features:[s.Ab]}),t})(),L=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkCellOutlet\",\"\"]]}),t.mostRecentCellOutlet=null,t})(),F=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-header-row\"],[\"tr\",\"cdk-header-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"cdk-header-row\"],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})(),N=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-footer-row\"],[\"tr\",\"cdk-footer-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"cdk-footer-row\"],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})(),V=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-row\"],[\"tr\",\"cdk-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"cdk-row\"],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const z=[\"top\",\"bottom\",\"left\",\"right\"];class B{constructor(t,e,n,i=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._isBrowser=i}clearStickyPositioning(t,e){for(const n of t)if(n.nodeType===n.ELEMENT_NODE){this._removeStickyStyle(n,e);for(let t=0;t<n.children.length;t++)this._removeStickyStyle(n.children[t],e)}}updateStickyColumns(t,e,n){const i=e.some(t=>t)||n.some(t=>t);if(!t.length||!i||!this._isBrowser)return;const r=t[0],s=r.children.length,a=this._getCellWidths(r),o=this._getStickyStartColumnPositions(a,e),l=this._getStickyEndColumnPositions(a,n),c=\"rtl\"===this.direction;for(const h of t)for(let t=0;t<s;t++){const i=h.children[t];e[t]&&this._addStickyStyle(i,c?\"right\":\"left\",o[t]),n[t]&&this._addStickyStyle(i,c?\"left\":\"right\",l[t])}}stickRows(t,e,n){if(!this._isBrowser)return;const i=\"bottom\"===n?t.reverse():t;let r=0;for(let s=0;s<i.length;s++){if(!e[s])continue;const t=i[s];if(this._isNativeHtmlTable)for(let e=0;e<t.children.length;e++)this._addStickyStyle(t.children[e],n,r);else this._addStickyStyle(t,n,r);if(s===i.length-1)return;r+=t.getBoundingClientRect().height}}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector(\"tfoot\");e.some(t=>!t)?this._removeStickyStyle(n,[\"bottom\"]):this._addStickyStyle(n,\"bottom\",0)}_removeStickyStyle(t,e){for(const n of e)t.style[n]=\"\";t.style.zIndex=this._getCalculatedZIndex(t),z.some(e=>!!t.style[e])||(t.style.position=\"\",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=`${n}px`,t.style.cssText+=\"position: -webkit-sticky; position: sticky; \",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of z)t.style[i]&&(n+=e[i]);return n?`${n}`:\"\"}_getCellWidths(t){const e=[],n=t.children;for(let i=0;i<n.length;i++)e.push(n[i].getBoundingClientRect().width);return e}_getStickyStartColumnPositions(t,e){const n=[];let i=0;for(let r=0;r<t.length;r++)e[r]&&(n[r]=i,i+=t[r]);return n}_getStickyEndColumnPositions(t,e){const n=[];let i=0;for(let r=t.length;r>0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}}function H(t){return Error(`Could not find column with id \"${t}\".`)}let U=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"rowOutlet\",\"\"]]}),t})(),q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"headerRowOutlet\",\"\"]]}),t})(),Q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"footerRowOutlet\",\"\"]]}),t})(),W=(()=>{class t{constructor(t,e,n,i,r,s,a){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=a,this._onDestroy=new c.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass=\"cdk-table-sticky\",this._multiTemplateDataRows=!1,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute(\"role\",\"grid\"),this._document=s,this._isNativeHtmlTable=\"TABLE\"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){Object(s.X)()&&null!=t&&\"function\"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error(\"Missing definitions for header, footer, and row; cannot determine which columns should be rendered.\");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,n,i)=>{if(null==t.previousIndex)this._insertRow(t.item,i);else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector(\"thead\");e&&(e.style.display=t.length?\"\":\"none\");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,[\"top\"]),this._stickyStyler.stickRows(t,n,\"top\"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector(\"tfoot\");e&&(e.style.display=t.length?\"\":\"none\");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,[\"bottom\"]),this._stickyStyler.stickRows(t,n,\"bottom\"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...t,...e,...n],[\"left\",\"right\"]),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i<e.length;i++)this._renderRows[i].rowDef===t&&n.push(e[i]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let i=this._data[n];const r=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(let e=0;e<r.length;e++){let n=r[e];const i=this._cachedRenderRowsMap.get(n.data);i.has(n.rowDef)?i.get(n.rowDef).push(n):i.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(i=>{const r=n&&n.has(i)?n.get(i):[];if(r.length){const t=r.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Y(this._contentColumnDefs,this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: \"${t.name}\".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Y(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=Y(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=Y(this._contentRowDefs,this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error(\"There can only be one default row without a when predicate function.\");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;if(Object(r.e)(this.dataSource)?t=this.dataSource.connect(this):Object(d.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error(\"Provided data source did not match an array, Observable, or DataSource\");this._renderChangeSubscription=t.pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw H(t);return e}),i=n.map(t=>t.sticky),r=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,r)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}if(!n.length)throw function(t){return Error(\"Could not find a matching row definition for the\"+`provided row data: ${JSON.stringify(t)}`)}(t);return n}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,n,i={}){t.viewContainer.createEmbeddedView(e.template,i,n);for(let r of this._getCellTemplates(e))L.mostRecentCellOutlet&&L.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);if(!n)throw H(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:\"thead\",outlet:this._headerRowOutlet},{tag:\"tbody\",outlet:this._rowOutlet},{tag:\"tfoot\",outlet:this._footerRowOutlet}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute(\"role\",\"rowgroup\"),e.appendChild(n.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new B(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:\"ltr\",this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.t),s.Qb(s.h),s.Qb(s.l),s.bc(\"role\"),s.Qb(a.b,8),s.Qb(l.d),s.Qb(o.a))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-table\"],[\"table\",\"cdk-table\",\"\"]],contentQueries:function(t,e,n){var i;1&t&&(s.Jb(n,x,!0),s.Jb(n,j,!0),s.Jb(n,D,!0),s.Jb(n,I,!0)),2&t&&(s.vc(i=s.fc())&&(e._contentColumnDefs=i),s.vc(i=s.fc())&&(e._contentRowDefs=i),s.vc(i=s.fc())&&(e._contentHeaderRowDefs=i),s.vc(i=s.fc())&&(e._contentFooterRowDefs=i))},viewQuery:function(t,e){var n;1&t&&(s.Fc(U,!0),s.Fc(q,!0),s.Fc(Q,!0)),2&t&&(s.vc(n=s.fc())&&(e._rowOutlet=n.first),s.vc(n=s.fc())&&(e._headerRowOutlet=n.first),s.vc(n=s.fc())&&(e._footerRowOutlet=n.first))},hostAttrs:[1,\"cdk-table\"],inputs:{trackBy:\"trackBy\",dataSource:\"dataSource\",multiTemplateDataRows:\"multiTemplateDataRows\"},exportAs:[\"cdkTable\"],ngContentSelectors:f,decls:4,vars:0,consts:[[\"headerRowOutlet\",\"\"],[\"rowOutlet\",\"\"],[\"footerRowOutlet\",\"\"]],template:function(t,e){1&t&&(s.nc(m),s.mc(0),s.Sb(1,0),s.Sb(2,1),s.Sb(3,2))},directives:[q,U,Q],encapsulation:2}),t})();function Y(t,e){return t.toArray().concat(Array.from(e))}let $=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)}}),t})();var G=n(\"FKr1\"),X=n(\"quSY\"),K=n(\"VRyK\"),Z=n(\"itXk\"),J=n(\"lJxs\");n.d(e,\"a\",(function(){return mt})),n.d(e,\"b\",(function(){return rt})),n.d(e,\"c\",(function(){return ht})),n.d(e,\"d\",(function(){return pt})),n.d(e,\"e\",(function(){return lt})),n.d(e,\"f\",(function(){return Ct})),n.d(e,\"g\",(function(){return bt})),n.d(e,\"h\",(function(){return ut})),n.d(e,\"i\",(function(){return at})),n.d(e,\"j\",(function(){return wt})),n.d(e,\"k\",(function(){return ft})),n.d(e,\"l\",(function(){return Ot})),n.d(e,\"m\",(function(){return yt})),n.d(e,\"n\",(function(){return nt})),n.d(e,\"o\",(function(){return Pt})),n.d(e,\"p\",(function(){return Mt}));const tt=[[[\"caption\"]]],et=[\"caption\"];let nt=(()=>{class t extends W{constructor(){super(...arguments),this.stickyCssClass=\"mat-table-sticky\"}}return t.\\u0275fac=function(e){return it(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-table\"],[\"table\",\"mat-table\",\"\"]],hostAttrs:[1,\"mat-table\"],exportAs:[\"matTable\"],features:[s.Cb([{provide:W,useExisting:t}]),s.Ab],ngContentSelectors:et,decls:4,vars:0,consts:[[\"headerRowOutlet\",\"\"],[\"rowOutlet\",\"\"],[\"footerRowOutlet\",\"\"]],template:function(t,e){1&t&&(s.nc(tt),s.mc(0),s.Sb(1,0),s.Sb(2,1),s.Sb(3,2))},directives:[q,U,Q],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:\"\"}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\\n'],encapsulation:2}),t})();const it=s.Yb(nt);let rt=(()=>{class t extends b{}return t.\\u0275fac=function(e){return st(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matCellDef\",\"\"]],features:[s.Cb([{provide:b,useExisting:t}]),s.Ab]}),t})();const st=s.Yb(rt);let at=(()=>{class t extends _{}return t.\\u0275fac=function(e){return ot(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matHeaderCellDef\",\"\"]],features:[s.Cb([{provide:_,useExisting:t}]),s.Ab]}),t})();const ot=s.Yb(at);let lt=(()=>{class t extends y{}return t.\\u0275fac=function(e){return ct(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matFooterCellDef\",\"\"]],features:[s.Cb([{provide:y,useExisting:t}]),s.Ab]}),t})();const ct=s.Yb(lt);let ht=(()=>{class t extends x{}return t.\\u0275fac=function(e){return dt(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matColumnDef\",\"\"]],inputs:{sticky:\"sticky\",name:[\"matColumnDef\",\"name\"]},features:[s.Cb([{provide:x,useExisting:t},{provide:\"MAT_SORT_HEADER_COLUMN_DEF\",useExisting:t}]),s.Ab]}),t})();const dt=s.Yb(ht);let ut=(()=>{class t extends O{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-header-cell\"],[\"th\",\"mat-header-cell\",\"\"]],hostAttrs:[\"role\",\"columnheader\",1,\"mat-header-cell\"],features:[s.Ab]}),t})(),pt=(()=>{class t extends S{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-footer-cell\"],[\"td\",\"mat-footer-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"mat-footer-cell\"],features:[s.Ab]}),t})(),mt=(()=>{class t extends M{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-cell\"],[\"td\",\"mat-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"mat-cell\"],features:[s.Ab]}),t})(),ft=(()=>{class t extends D{}return t.\\u0275fac=function(e){return gt(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matHeaderRowDef\",\"\"]],inputs:{columns:[\"matHeaderRowDef\",\"columns\"],sticky:[\"matHeaderRowDefSticky\",\"sticky\"]},features:[s.Cb([{provide:D,useExisting:t}]),s.Ab]}),t})();const gt=s.Yb(ft);let bt=(()=>{class t extends I{}return t.\\u0275fac=function(e){return _t(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matFooterRowDef\",\"\"]],inputs:{columns:[\"matFooterRowDef\",\"columns\"],sticky:[\"matFooterRowDefSticky\",\"sticky\"]},features:[s.Cb([{provide:I,useExisting:t}]),s.Ab]}),t})();const _t=s.Yb(bt);let yt=(()=>{class t extends j{}return t.\\u0275fac=function(e){return vt(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matRowDef\",\"\"]],inputs:{columns:[\"matRowDefColumns\",\"columns\"],when:[\"matRowDefWhen\",\"when\"]},features:[s.Cb([{provide:j,useExisting:t}]),s.Ab]}),t})();const vt=s.Yb(yt);let wt=(()=>{class t extends F{}return t.\\u0275fac=function(e){return xt(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-header-row\"],[\"tr\",\"mat-header-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"mat-header-row\"],exportAs:[\"matHeaderRow\"],features:[s.Cb([{provide:F,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const xt=s.Yb(wt);let Ct=(()=>{class t extends N{}return t.\\u0275fac=function(e){return kt(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-footer-row\"],[\"tr\",\"mat-footer-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"mat-footer-row\"],exportAs:[\"matFooterRow\"],features:[s.Cb([{provide:N,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const kt=s.Yb(Ct);let Ot=(()=>{class t extends V{}return t.\\u0275fac=function(e){return St(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-row\"],[\"tr\",\"mat-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"mat-row\"],exportAs:[\"matRow\"],features:[s.Cb([{provide:V,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const St=s.Yb(Ot);let Mt=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[$,G.f]]}),t})();class Pt extends r.b{constructor(t=[]){super(),this._renderData=new h.a([]),this._filter=new h.a(\"\"),this._internalPageChanges=new c.a,this._renderChangesSubscription=X.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(i.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,i=e.direction;return n&&\"\"!=i?t.sort((t,e)=>{let r=this.sortingDataAccessor(t,n),s=this.sortingDataAccessor(e,n),a=0;return null!=r&&null!=s?r>s?a=1:r<s&&(a=-1):null!=r?a=1:null!=s&&(a=-1),a*(\"asc\"==i?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+\"\\u25ec\",\"\").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new h.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(K.a)(this._sort.sortChange,this._sort.initialized):Object(u.a)(null),e=this._paginator?Object(K.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(u.a)(null),n=this._data,i=Object(Z.a)([n,this._filter]).pipe(Object(J.a)(([t])=>this._filterData(t))),r=Object(Z.a)([i,t]).pipe(Object(J.a)(([t])=>this._orderData(t))),s=Object(Z.a)([r,e]).pipe(Object(J.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},\"+SKG\":function(t,e){t.exports=function(t){return n&&Buffer.isBuffer(t)||i&&(t instanceof ArrayBuffer||function(t){return\"function\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))};var n=\"function\"==typeof Buffer&&\"function\"==typeof Buffer.isBuffer,i=\"function\"==typeof ArrayBuffer},\"+rOU\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return u})),n.d(e,\"c\",(function(){return o})),n.d(e,\"d\",(function(){return d})),n.d(e,\"e\",(function(){return m})),n.d(e,\"f\",(function(){return p})),n.d(e,\"g\",(function(){return l}));var i=n(\"fXoL\"),r=n(\"ofXK\");function s(){throw Error(\"Host already has a portal attached\")}class a{attach(t){return null==t&&function(){throw Error(\"Attempting to attach a portal to a null PortalOutlet\")}(),t.hasAttached()&&s(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error(\"Attempting to detach a portal that is not attached to a host\")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends a{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class l extends a{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class c extends a{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class h{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error(\"Must provide a portal to attach\")}(),this.hasAttached()&&s(),this._isDisposed&&function(){throw Error(\"This PortalOutlet has already been disposed\")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof l?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof c?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error(\"Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.\")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class d extends h{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{if(!this._document)throw Error(\"Cannot attach DOM portal without _document constructor parameter\");const e=t.element;if(!e.parentNode)throw Error(\"DOM portal content must be attached to a parent node.\");const n=this._document.createComment(\"dom-portal\");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let u=(()=>{class t extends h{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{if(!this._document)throw Error(\"Cannot attach DOM portal without _document constructor parameter\");const e=t.element;if(!e.parentNode)throw Error(\"DOM portal content must be attached to a parent node.\");const n=this._document.createComment(\"dom-portal\");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.j),i.Qb(i.P),i.Qb(r.d))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"cdkPortalOutlet\",\"\"]],inputs:{portal:[\"cdkPortalOutlet\",\"portal\"]},outputs:{attached:\"attached\"},exportAs:[\"cdkPortalOutlet\"],features:[i.Ab]}),t})(),p=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();class m{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},\"/t3+\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u})),n.d(e,\"b\",(function(){return p})),n.d(e,\"c\",(function(){return d}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"ofXK\"),a=n(\"nLfN\");const o=[\"*\",[[\"mat-toolbar-row\"]]],l=[\"*\",\"mat-toolbar-row\"];class c{constructor(t){this._elementRef=t}}const h=Object(r.t)(c);let d=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-toolbar-row\"]],hostAttrs:[1,\"mat-toolbar-row\"],exportAs:[\"matToolbarRow\"]}),t})(),u=(()=>{class t extends h{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){Object(i.X)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains(\"mat-toolbar-row\"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error(\"MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.\")}()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(a.a),i.Qb(s.d))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-toolbar\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,d,!0),2&t&&i.vc(r=i.fc())&&(e._toolbarRows=r)},hostAttrs:[1,\"mat-toolbar\"],hostVars:4,hostBindings:function(t,e){2&t&&i.Hb(\"mat-toolbar-multiple-rows\",e._toolbarRows.length>0)(\"mat-toolbar-single-row\",0===e._toolbarRows.length)},inputs:{color:\"color\"},exportAs:[\"matToolbar\"],features:[i.Ab],ngContentSelectors:l,decls:2,vars:0,template:function(t,e){1&t&&(i.nc(o),i.mc(0),i.mc(1,1))},styles:[\".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\\n\"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},\"/uUt\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))}}class a extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,\"function\"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},\"0EQZ\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c})),n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return h})),n.d(e,\"d\",(function(){return d})),n.d(e,\"e\",(function(){return l}));var i=n(\"7+OI\"),r=n(\"LRne\"),s=n(\"XNiG\"),a=n(\"fXoL\");class o{}function l(t){return t&&\"function\"==typeof t.connect}class c extends o{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}class h{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple)throw Error(\"Cannot pass multiple values into SelectionModel with single-value mode.\")}}let d=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(a.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})()},\"0EUg\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"bHdf\");function r(){return Object(i.a)(1)}},\"0IaG\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return O})),n.d(e,\"b\",(function(){return E})),n.d(e,\"c\",(function(){return R})),n.d(e,\"d\",(function(){return A})),n.d(e,\"e\",(function(){return D})),n.d(e,\"f\",(function(){return T})),n.d(e,\"g\",(function(){return k}));var i=n(\"rDax\"),r=n(\"+rOU\"),s=n(\"fXoL\"),a=n(\"FKr1\"),o=n(\"cH1L\"),l=n(\"ofXK\"),c=n(\"XNiG\"),h=n(\"NXyV\"),d=n(\"LRne\"),u=n(\"pLZG\"),p=n(\"IzEk\"),m=n(\"JX91\"),f=n(\"R0Ic\"),g=n(\"FtGj\"),b=n(\"u47x\");function _(t,e){}class y{constructor(){this.role=\"dialog\",this.panelClass=\"\",this.hasBackdrop=!0,this.backdropClass=\"\",this.disableClose=!1,this.width=\"\",this.height=\"\",this.maxWidth=\"80vw\",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const v={dialogContainer:Object(f.p)(\"dialogContainer\",[Object(f.m)(\"void, exit\",Object(f.n)({opacity:0,transform:\"scale(0.7)\"})),Object(f.m)(\"enter\",Object(f.n)({transform:\"none\"})),Object(f.o)(\"* => enter\",Object(f.e)(\"150ms cubic-bezier(0, 0, 0.2, 1)\",Object(f.n)({transform:\"none\",opacity:1}))),Object(f.o)(\"* => void, * => exit\",Object(f.e)(\"75ms cubic-bezier(0.4, 0.0, 0.2, 1)\",Object(f.n)({opacity:0})))])};function w(){throw Error(\"Attempting to attach dialog content after content is already attached\")}let x=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=r,this._elementFocusedBeforeDialogWasOpened=null,this._state=\"enter\",this._animationStateChanged=new s.o,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&w(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&w(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&w(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&\"function\"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){\"enter\"===t.toState?this._trapFocus():\"exit\"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state=\"exit\",this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(b.i),s.Qb(s.h),s.Qb(l.d,8),s.Qb(y))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-dialog-container\"]],viewQuery:function(t,e){var n;1&t&&s.Fc(r.b,!0),2&t&&s.vc(n=s.fc())&&(e._portalOutlet=n.first)},hostAttrs:[\"tabindex\",\"-1\",\"aria-modal\",\"true\",1,\"mat-dialog-container\"],hostVars:6,hostBindings:function(t,e){1&t&&s.Ib(\"@dialogContainer.start\",(function(t){return e._onAnimationStart(t)}))(\"@dialogContainer.done\",(function(t){return e._onAnimationDone(t)})),2&t&&(s.Eb(\"id\",e._id)(\"role\",e._config.role)(\"aria-labelledby\",e._config.ariaLabel?null:e._ariaLabelledBy)(\"aria-label\",e._config.ariaLabel)(\"aria-describedby\",e._config.ariaDescribedBy||null),s.Oc(\"@dialogContainer\",e._state))},features:[s.Ab],decls:1,vars:0,consts:[[\"cdkPortalOutlet\",\"\"]],template:function(t,e){1&t&&s.Hc(0,_,0,0,\"ng-template\",0)},directives:[r.b],styles:[\".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\\n\"],encapsulation:2,data:{animation:[v.dialogContainer]}}),t})(),C=0;class k{constructor(t,e,n=`mat-dialog-${C++}`){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(u.a)(t=>\"done\"===t.phaseName&&\"enter\"===t.toState),Object(p.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>\"done\"===t.phaseName&&\"exit\"===t.toState),Object(p.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===g.e&&!this.disableClose&&!Object(g.q)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>\"start\"===t.phaseName),Object(p.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t=\"\",e=\"\"){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const O=new s.r(\"MatDialogData\"),S=new s.r(\"mat-dialog-default-options\"),M=new s.r(\"mat-dialog-scroll-strategy\"),P={provide:M,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let E=(()=>{class t{constructor(t,e,n,i,r,s,a){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(h.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(m.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id))throw Error(`Dialog with id \"${e.id}\" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new r.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[y,e]])),i=new r.c(x,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const a=new k(n,e,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe(()=>{a.disableClose||a.close()}),t instanceof s.M)e.attachTemplatePortal(new r.g(t,null,{$implicit:i.data,dialogRef:a}));else{const n=this._createInjector(i,a,e),s=e.attachComponentPortal(new r.c(t,i.viewContainerRef,n));a.componentInstance=s.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=new WeakMap([[x,n],[O,t.data],[k,e]]);return!t.direction||i&&i.get(o.b,null)||s.set(o.b,{value:t.direction,change:Object(d.a)()}),new r.e(i||this._injector,s)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute(\"aria-hidden\",t):e.removeAttribute(\"aria-hidden\")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||\"SCRIPT\"===i.nodeName||\"STYLE\"===i.nodeName||i.hasAttribute(\"aria-live\")||(this._ariaHiddenElements.set(i,i.getAttribute(\"aria-hidden\")),i.setAttribute(\"aria-hidden\",\"true\"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\\u0275fac=function(e){return new(e||t)(s.ac(i.c),s.ac(s.s),s.ac(l.g,8),s.ac(S,8),s.ac(M),s.ac(t,12),s.ac(i.e))},t.\\u0275prov=s.Mb({token:t,factory:t.\\u0275fac}),t})(),A=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type=\"button\"}ngOnInit(){this.dialogRef||(this.dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains(\"mat-dialog-container\");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(k,8),s.Qb(s.l),s.Qb(E))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-dialog-close\",\"\"],[\"\",\"matDialogClose\",\"\"]],hostVars:2,hostBindings:function(t,e){1&t&&s.ec(\"click\",(function(){return e.dialogRef.close(e.dialogResult)})),2&t&&s.Eb(\"aria-label\",e.ariaLabel||null)(\"type\",e.type)},inputs:{type:\"type\",dialogResult:[\"mat-dialog-close\",\"dialogResult\"],ariaLabel:[\"aria-label\",\"ariaLabel\"],_matDialogClose:[\"matDialogClose\",\"_matDialogClose\"]},exportAs:[\"matDialogClose\"],features:[s.Bb()]}),t})(),D=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-dialog-content\",\"\"],[\"mat-dialog-content\"],[\"\",\"matDialogContent\",\"\"]],hostAttrs:[1,\"mat-dialog-content\"]}),t})(),R=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-dialog-actions\",\"\"],[\"mat-dialog-actions\"],[\"\",\"matDialogActions\",\"\"]],hostAttrs:[1,\"mat-dialog-actions\"]}),t})(),T=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[E,P],imports:[[i.f,r.f,a.f],a.f]}),t})()},\"0MNC\":function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"nLfN\"),s=n(\"XNiG\"),a=n(\"itXk\"),o=n(\"GyhO\"),l=n(\"HDdC\"),c=n(\"IzEk\"),h=n(\"7o/Q\");class d{constructor(t){this.total=t}call(t,e){return e.subscribe(new u(t,this.total))}}class u extends h.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=n(\"Kj3r\"),m=n(\"lJxs\"),f=n(\"JX91\"),g=n(\"1G5W\"),b=n(\"8LU1\");n.d(e,\"a\",(function(){return C})),n.d(e,\"b\",(function(){return O})),n.d(e,\"c\",(function(){return _}));let _=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();const y=new Set;let v,w=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):x}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!y.has(t))try{v||(v=document.createElement(\"style\"),v.setAttribute(\"type\",\"text/css\"),document.head.appendChild(v)),v.sheet&&(v.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),y.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(r.a))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(r.a))},token:t,providedIn:\"root\"}),t})();function x(t){return{matches:\"all\"===t||\"\"===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new s.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return k(Object(b.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=k(Object(b.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(a.a)(e);return n=Object(o.a)(n.pipe(Object(c.a)(1)),n.pipe(t=>t.lift(new d(1)),Object(p.a)(0))),n.pipe(Object(m.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(f.a)(e),Object(m.a)(e=>({query:t,matches:e.matches})),Object(g.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(w),i.ac(i.A))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(w),Object(i.ac)(i.A))},token:t,providedIn:\"root\"}),t})();function k(t){return t.map(t=>t.split(\",\")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const O={XSmall:\"(max-width: 599.99px)\",Small:\"(min-width: 600px) and (max-width: 959.99px)\",Medium:\"(min-width: 960px) and (max-width: 1279.99px)\",Large:\"(min-width: 1280px) and (max-width: 1919.99px)\",XLarge:\"(min-width: 1920px)\",Handset:\"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)\",Tablet:\"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)\",Web:\"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)\",HandsetPortrait:\"(max-width: 599.99px) and (orientation: portrait)\",TabletPortrait:\"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)\",WebPortrait:\"(min-width: 840px) and (orientation: portrait)\",HandsetLandscape:\"(max-width: 959.99px) and (orientation: landscape)\",TabletLandscape:\"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)\",WebLandscape:\"(min-width: 1280px) and (orientation: landscape)\"}},\"0z79\":function(t,e,n){var i=n(\"AdPF\"),r=n(\"CUme\"),s=n(\"1Mk5\"),a=n(\"Yvos\"),o=n(\"NOtv\")(\"engine.io-client:polling-xhr\");function l(){}function c(t){if(r.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,\"undefined\"!=typeof location){var e=\"https:\"===location.protocol,n=location.port;n||(n=e?443:80),this.xd=\"undefined\"!=typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function h(t){this.method=t.method||\"GET\",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(t.exports=c,t.exports.Request=h,a(c,r),c.prototype.supportsBinary=!0,c.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new h(t)},c.prototype.doWrite=function(t,e){var n=this.request({method:\"POST\",data:t,isBinary:\"string\"!=typeof t&&void 0!==t}),i=this;n.on(\"success\",e),n.on(\"error\",(function(t){i.onError(\"xhr post error\",t)})),this.sendXhr=n},c.prototype.doPoll=function(){o(\"xhr poll\");var t=this.request(),e=this;t.on(\"data\",(function(t){e.onData(t)})),t.on(\"error\",(function(t){e.onError(\"xhr poll error\",t)})),this.pollXhr=t},s(h.prototype),h.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new i(t),n=this;try{o(\"xhr open %s: %s\",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&e.setRequestHeader(r,this.extraHeaders[r])}catch(s){}if(\"POST\"===this.method)try{e.setRequestHeader(\"Content-type\",this.isBinary?\"application/octet-stream\":\"text/plain;charset=UTF-8\")}catch(s){}try{e.setRequestHeader(\"Accept\",\"*/*\")}catch(s){}\"withCredentials\"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader(\"Content-Type\");(n.supportsBinary&&\"application/octet-stream\"===t||\"application/octet-stream; charset=UTF-8\"===t)&&(e.responseType=\"arraybuffer\")}catch(s){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout((function(){n.onError(\"number\"==typeof e.status?e.status:0)}),0))},o(\"xhr data %s\",this.data),e.send(this.data)}catch(s){return void setTimeout((function(){n.onError(s)}),0)}\"undefined\"!=typeof document&&(this.index=h.requestsCount++,h.requests[this.index]=this)},h.prototype.onSuccess=function(){this.emit(\"success\"),this.cleanup()},h.prototype.onData=function(t){this.emit(\"data\",t),this.onSuccess()},h.prototype.onError=function(t){this.emit(\"error\",t),this.cleanup(!0)},h.prototype.cleanup=function(t){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,t)try{this.xhr.abort()}catch(e){}\"undefined\"!=typeof document&&delete h.requests[this.index],this.xhr=null}},h.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader(\"Content-Type\")}catch(n){}t=(\"application/octet-stream\"===e||\"application/octet-stream; charset=UTF-8\"===e)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=t&&this.onData(t)},h.prototype.hasXDR=function(){return\"undefined\"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},h.prototype.abort=function(){this.cleanup()},h.requestsCount=0,h.requests={},\"undefined\"!=typeof document)if(\"function\"==typeof attachEvent)attachEvent(\"onunload\",u);else if(\"function\"==typeof addEventListener){var d=\"onpagehide\"in self?\"pagehide\":\"unload\";addEventListener(d,u,!1)}function u(){for(var t in h.requests)h.requests.hasOwnProperty(t)&&h.requests[t].abort()}},\"14A5\":function(t,e){var n=void 0!==n?n:\"undefined\"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:\"undefined\"!=typeof MSBlobBuilder?MSBlobBuilder:\"undefined\"!=typeof MozBlobBuilder&&MozBlobBuilder,i=function(){try{return 2===new Blob([\"hi\"]).size}catch(t){return!1}}(),r=i&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),s=n&&n.prototype.append&&n.prototype.getBlob;function a(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function o(t,e){e=e||{};var i=new n;return a(t).forEach((function(t){i.append(t)})),e.type?i.getBlob(e.type):i.getBlob()}function l(t,e){return new Blob(a(t),e||{})}\"undefined\"!=typeof Blob&&(o.prototype=Blob.prototype,l.prototype=Blob.prototype),t.exports=i?r?Blob:l:s?o:void 0},\"1G5W\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"l7GE\"),r=n(\"ZUHj\");function s(t){return e=>e.lift(new a(t))}class a{constructor(t){this.notifier=t}call(t,e){const n=new o(t),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class o extends i.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},\"1Mk5\":function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[\"$\"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[\"$\"+t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[\"$\"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},\"1jcm\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return x})),n.d(e,\"b\",(function(){return k}));var i=n(\"GU7r\"),r=n(\"fXoL\"),s=n(\"FKr1\"),a=n(\"8LU1\"),o=n(\"3Pt+\"),l=n(\"R1ws\"),c=n(\"u47x\"),h=n(\"cH1L\");const d=[\"thumbContainer\"],u=[\"toggleBar\"],p=[\"input\"],m=function(){return{enterDuration:150}},f=[\"*\"],g=new r.r(\"mat-slide-toggle-default-options\",{providedIn:\"root\",factory:()=>({disableToggleValue:!1})});let b=0;const _={provide:o.l,useExisting:Object(r.V)(()=>x),multi:!0};class y{constructor(t,e){this.source=t,this.checked=e}}class v{constructor(t){this._elementRef=t}}const w=Object(s.y)(Object(s.t)(Object(s.u)(Object(s.v)(v)),\"accent\"));let x=(()=>{class t extends w{constructor(t,e,n,i,s,a,o,l){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=a,this._animationMode=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId=`mat-slide-toggle-${++b}`,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition=\"after\",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.o,this.toggleChange=new r.o,this.dragChange=new r.o,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(a.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(a.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{\"keyboard\"===t||\"program\"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,\"keyboard\",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new y(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(c.h),r.Qb(r.h),r.bc(\"tabindex\"),r.Qb(r.A),r.Qb(g),r.Qb(l.a,8),r.Qb(h.b,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-slide-toggle\"]],viewQuery:function(t,e){var n;1&t&&(r.Pc(d,!0),r.Pc(u,!0),r.Pc(p,!0)),2&t&&(r.vc(n=r.fc())&&(e._thumbEl=n.first),r.vc(n=r.fc())&&(e._thumbBarEl=n.first),r.vc(n=r.fc())&&(e._inputElement=n.first))},hostAttrs:[1,\"mat-slide-toggle\"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Zb(\"id\",e.id),r.Eb(\"tabindex\",e.disabled?null:-1)(\"aria-label\",null)(\"aria-labelledby\",null),r.Hb(\"mat-checked\",e.checked)(\"mat-disabled\",e.disabled)(\"mat-slide-toggle-label-before\",\"before\"==e.labelPosition)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",color:\"color\",tabIndex:\"tabIndex\",name:\"name\",id:\"id\",labelPosition:\"labelPosition\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],required:\"required\",checked:\"checked\"},outputs:{change:\"change\",toggleChange:\"toggleChange\",dragChange:\"dragChange\"},exportAs:[\"matSlideToggle\"],features:[r.Cb([_]),r.Ab],ngContentSelectors:f,decls:16,vars:18,consts:[[1,\"mat-slide-toggle-label\"],[\"label\",\"\"],[1,\"mat-slide-toggle-bar\"],[\"toggleBar\",\"\"],[\"type\",\"checkbox\",\"role\",\"switch\",1,\"mat-slide-toggle-input\",\"cdk-visually-hidden\",3,\"id\",\"required\",\"tabIndex\",\"checked\",\"disabled\",\"change\",\"click\"],[\"input\",\"\"],[1,\"mat-slide-toggle-thumb-container\"],[\"thumbContainer\",\"\"],[1,\"mat-slide-toggle-thumb\"],[\"mat-ripple\",\"\",1,\"mat-slide-toggle-ripple\",\"mat-focus-indicator\",3,\"matRippleTrigger\",\"matRippleDisabled\",\"matRippleCentered\",\"matRippleRadius\",\"matRippleAnimation\"],[1,\"mat-ripple-element\",\"mat-slide-toggle-persistent-ripple\"],[1,\"mat-slide-toggle-content\",3,\"cdkObserveContent\"],[\"labelContent\",\"\"],[2,\"display\",\"none\"]],template:function(t,e){if(1&t&&(r.nc(),r.Wb(0,\"label\",0,1),r.Wb(2,\"div\",2,3),r.Wb(4,\"input\",4,5),r.ec(\"change\",(function(t){return e._onChangeEvent(t)}))(\"click\",(function(t){return e._onInputClick(t)})),r.Vb(),r.Wb(6,\"div\",6,7),r.Rb(8,\"div\",8),r.Wb(9,\"div\",9),r.Rb(10,\"div\",10),r.Vb(),r.Vb(),r.Vb(),r.Wb(11,\"span\",11,12),r.ec(\"cdkObserveContent\",(function(){return e._onLabelTextChange()})),r.Wb(13,\"span\",13),r.Jc(14,\"\\xa0\"),r.Vb(),r.mc(15),r.Vb(),r.Vb()),2&t){const t=r.wc(1),n=r.wc(12);r.Eb(\"for\",e.inputId),r.Db(2),r.Hb(\"mat-slide-toggle-bar-no-side-margin\",!n.textContent||!n.textContent.trim()),r.Db(2),r.oc(\"id\",e.inputId)(\"required\",e.required)(\"tabIndex\",e.tabIndex)(\"checked\",e.checked)(\"disabled\",e.disabled),r.Eb(\"name\",e.name)(\"aria-checked\",e.checked.toString())(\"aria-label\",e.ariaLabel)(\"aria-labelledby\",e.ariaLabelledby),r.Db(5),r.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e.disableRipple||e.disabled)(\"matRippleCentered\",!0)(\"matRippleRadius\",20)(\"matRippleAnimation\",r.sc(17,m))}},directives:[s.p,i.a],styles:[\".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\\n\"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)}}),t})(),k=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[C,s.q,s.f,i.c],C,s.f]}),t})()},\"2Dig\":function(t,e){t.exports=function(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}},\"2QA8\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>\"function\"==typeof Symbol?Symbol(\"rxSubscriber\"):\"@@rxSubscriber_\"+Math.random())()},\"2Vo4\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"XNiG\"),r=n(\"9ppp\");class s extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(t){super.next(this._value=t)}}},\"2fFW\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn(\"DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n\"+t.stack)}else i&&console.log(\"RxJS: Back to a better error behavior. Thank you. <3\");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},\"2pII\":function(t,e,n){var i=n(\"akSB\"),r=n(\"1Mk5\"),s=n(\"NOtv\")(\"engine.io-client:socket\"),a=n(\"7jRU\"),o=n(\"Wm4p\"),l=n(\"Uxeu\"),c=n(\"TypT\");function h(t,e){if(!(this instanceof h))return new h(t,e);e=e||{},t&&\"object\"==typeof t&&(e=t,t=null),t?(t=l(t),e.hostname=t.host,e.secure=\"https\"===t.protocol||\"wss\"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=l(e.host).host),this.secure=null!=e.secure?e.secure:\"undefined\"!=typeof location&&\"https:\"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?\"443\":\"80\"),this.agent=e.agent||!1,this.hostname=e.hostname||(\"undefined\"!=typeof location?location.hostname:\"localhost\"),this.port=e.port||(\"undefined\"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},\"string\"==typeof this.query&&(this.query=c.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||\"/engine.io\").replace(/\\/$/,\"\")+\"/\",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=!1!==e.withCredentials,this.timestampParam=e.timestampParam||\"t\",this.timestampRequests=e.timestampRequests,this.transports=e.transports||[\"polling\",\"websocket\"],this.transportOptions=e.transportOptions||{},this.readyState=\"\",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.cert=e.cert||null,this.ca=e.ca||null,this.ciphers=e.ciphers||null,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative=\"undefined\"!=typeof navigator&&\"string\"==typeof navigator.product&&\"reactnative\"===navigator.product.toLowerCase(),(\"undefined\"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=h,h.priorWebsocketSuccess=!1,r(h.prototype),h.protocol=o.protocol,h.Socket=h,h.Transport=n(\"Gbct\"),h.transports=n(\"akSB\"),h.parser=n(\"Wm4p\"),h.prototype.createTransport=function(t){s('creating transport \"%s\"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=o.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new i[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},h.prototype.open=function(){var t;if(this.rememberUpgrade&&h.priorWebsocketSuccess&&-1!==this.transports.indexOf(\"websocket\"))t=\"websocket\";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit(\"error\",\"No transports available\")}),0)}t=this.transports[0]}this.readyState=\"opening\";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},h.prototype.setTransport=function(t){s(\"setting transport %s\",t.name);var e=this;this.transport&&(s(\"clearing existing transport %s\",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on(\"drain\",(function(){e.onDrain()})).on(\"packet\",(function(t){e.onPacket(t)})).on(\"error\",(function(t){e.onError(t)})).on(\"close\",(function(){e.onClose(\"transport close\")}))},h.prototype.probe=function(t){s('probing transport \"%s\"',t);var e=this.createTransport(t,{probe:1}),n=!1,i=this;function r(){i.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&i.transport.supportsBinary),n||(s('probe transport \"%s\" opened',t),e.send([{type:\"ping\",data:\"probe\"}]),e.once(\"packet\",(function(r){if(!n)if(\"pong\"===r.type&&\"probe\"===r.data){if(s('probe transport \"%s\" pong',t),i.upgrading=!0,i.emit(\"upgrading\",e),!e)return;h.priorWebsocketSuccess=\"websocket\"===e.name,s('pausing current transport \"%s\"',i.transport.name),i.transport.pause((function(){n||\"closed\"!==i.readyState&&(s(\"changing transport and sending upgrade packet\"),u(),i.setTransport(e),e.send([{type:\"upgrade\"}]),i.emit(\"upgrade\",e),e=null,i.upgrading=!1,i.flush())}))}else{s('probe transport \"%s\" failed',t);var a=new Error(\"probe error\");a.transport=e.name,i.emit(\"upgradeError\",a)}})))}function a(){n||(n=!0,u(),e.close(),e=null)}function o(n){var r=new Error(\"probe error: \"+n);r.transport=e.name,a(),s('probe transport \"%s\" failed because of error: %s',t,n),i.emit(\"upgradeError\",r)}function l(){o(\"transport closed\")}function c(){o(\"socket closed\")}function d(t){e&&t.name!==e.name&&(s('\"%s\" works - aborting \"%s\"',t.name,e.name),a())}function u(){e.removeListener(\"open\",r),e.removeListener(\"error\",o),e.removeListener(\"close\",l),i.removeListener(\"close\",c),i.removeListener(\"upgrading\",d)}h.priorWebsocketSuccess=!1,e.once(\"open\",r),e.once(\"error\",o),e.once(\"close\",l),this.once(\"close\",c),this.once(\"upgrading\",d),e.open()},h.prototype.onOpen=function(){if(s(\"socket open\"),this.readyState=\"open\",h.priorWebsocketSuccess=\"websocket\"===this.transport.name,this.emit(\"open\"),this.flush(),\"open\"===this.readyState&&this.upgrade&&this.transport.pause){s(\"starting upgrade probes\");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},h.prototype.onPacket=function(t){if(\"opening\"===this.readyState||\"open\"===this.readyState||\"closing\"===this.readyState)switch(s('socket receive: type \"%s\", data \"%s\"',t.type,t.data),this.emit(\"packet\",t),this.emit(\"heartbeat\"),t.type){case\"open\":this.onHandshake(JSON.parse(t.data));break;case\"pong\":this.setPing(),this.emit(\"pong\");break;case\"error\":var e=new Error(\"server error\");e.code=t.data,this.onError(e);break;case\"message\":this.emit(\"data\",t.data),this.emit(\"message\",t.data)}else s('packet received with socket readyState \"%s\"',this.readyState)},h.prototype.onHandshake=function(t){this.emit(\"handshake\",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),\"closed\"!==this.readyState&&(this.setPing(),this.removeListener(\"heartbeat\",this.onHeartbeat),this.on(\"heartbeat\",this.onHeartbeat))},h.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout((function(){\"closed\"!==e.readyState&&e.onClose(\"ping timeout\")}),t||e.pingInterval+e.pingTimeout)},h.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){s(\"writing ping packet - expecting pong within %sms\",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},h.prototype.ping=function(){var t=this;this.sendPacket(\"ping\",(function(){t.emit(\"ping\")}))},h.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit(\"drain\"):this.flush()},h.prototype.flush=function(){\"closed\"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(s(\"flushing %d packets in socket\",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit(\"flush\"))},h.prototype.write=h.prototype.send=function(t,e,n){return this.sendPacket(\"message\",t,e,n),this},h.prototype.sendPacket=function(t,e,n,i){if(\"function\"==typeof e&&(i=e,e=void 0),\"function\"==typeof n&&(i=n,n=null),\"closing\"!==this.readyState&&\"closed\"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var r={type:t,data:e,options:n};this.emit(\"packetCreate\",r),this.writeBuffer.push(r),i&&this.once(\"flush\",i),this.flush()}},h.prototype.close=function(){if(\"opening\"===this.readyState||\"open\"===this.readyState){this.readyState=\"closing\";var t=this;this.writeBuffer.length?this.once(\"drain\",(function(){this.upgrading?i():e()})):this.upgrading?i():e()}function e(){t.onClose(\"forced close\"),s(\"socket closing - telling transport to close\"),t.transport.close()}function n(){t.removeListener(\"upgrade\",n),t.removeListener(\"upgradeError\",n),e()}function i(){t.once(\"upgrade\",n),t.once(\"upgradeError\",n)}return this},h.prototype.onError=function(t){s(\"socket error %j\",t),h.priorWebsocketSuccess=!1,this.emit(\"error\",t),this.onClose(\"transport error\",t)},h.prototype.onClose=function(t,e){\"opening\"!==this.readyState&&\"open\"!==this.readyState&&\"closing\"!==this.readyState||(s('socket close with reason: \"%s\"',t),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners(\"close\"),this.transport.close(),this.transport.removeAllListeners(),this.readyState=\"closed\",this.id=null,this.emit(\"close\",t,e),this.writeBuffer=[],this.prevBufferLen=0)},h.prototype.filterUpgrades=function(t){for(var e=[],n=0,i=t.length;n<i;n++)~a(this.transports,t[n])&&e.push(t[n]);return e}},\"2rR7\":function(t,e,n){\"use strict\";var i=n(\"ofXK\"),r=n(\"3Pt+\"),s=n(\"fXoL\"),a=function(){function t(){}return t.prototype.transform=function(t,e){return void 0===t&&(t=0),e[t]||t+1},t.\\u0275fac=function(e){return new(e||t)},t.\\u0275pipe=s.Pb({name:\"rateTitle\",type:t,pure:!0}),t}();function o(t,e){if(1&t){var n=s.Xb();s.Wb(0,\"div\",3),s.ec(\"click\",(function(t){return s.zc(n),e.$implicit.click(t)}))(\"mouseenter\",(function(){return e.$implicit.enter()})),s.Vb()}if(2&t){var i=e.$implicit;s.Hb(\"br-fraction\",i.fraction)(\"br-selected\",i.selected)(\"br-active\",i.active)}}function l(t,e){if(1&t&&(s.Wb(0,\"div\",4),s.Jc(1),s.jc(2,\"rateTitle\"),s.Vb()),2&t){var n=s.ic();s.Db(1),s.Kc(s.lc(2,1,n.nextRate,n.titles))}}var c={provide:r.l,useExisting:Object(s.V)((function(){return d})),multi:!0},h={provide:r.k,useExisting:Object(s.V)((function(){return d})),multi:!0},d=function(){function t(t){this.changeDetectorRef=t,this.contexts=[],this.max=5,this.readOnly=!1,this.theme=\"default\",this.showText=!1,this.titles=[],this.required=!1,this.hover=new s.o,this.leave=new s.o,this.rateChange=new s.o(!0),this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){var t=this;this.contexts=Array.from({length:this.max},(function(e,n){return{selected:!1,fraction:!1,click:function(e){return t.handleClick(e,n+1)},enter:function(){return t.handleEnter(n+1)}}})),this.updateState(this.rate)},t.prototype.update=function(t,e){void 0===e&&(e=!0),this.readOnly||this.disabled||this.rate===t||(this.rate=t,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this.updateState(this.rate)},t.prototype.reset=function(){this.leave.emit(this.nextRate),this.updateState(this.rate)},t.prototype.updateState=function(t){var e=this;this.nextRate=t-1,this.contexts=Array.from({length:this.max},(function(n,i){return{selected:i+1<=t,fraction:(i+1===Math.round(t)&&t%1)>=.5,click:function(t){return e.handleClick(t,i)},enter:function(){return e.handleEnter(i)}}}))},t.prototype.handleClick=function(t,e){t.preventDefault(),t.stopPropagation(),this.update(e+1)},t.prototype.handleEnter=function(t){this.disabled||this.readOnly||(this.contexts.map((function(e,n){e.active=n<=t,e.fraction=!1,e.selected=!1})),this.nextRate=t,this.hover.emit(t))},t.prototype.writeValue=function(t){this.update(t,!1),this.changeDetectorRef.markForCheck()},t.prototype.validate=function(t){return this.required&&!t.value?{required:!0}:null},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.h))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"bar-rating\"]],inputs:{max:\"max\",readOnly:\"readOnly\",theme:\"theme\",showText:\"showText\",titles:\"titles\",required:\"required\",rate:\"rate\"},outputs:{hover:\"hover\",leave:\"leave\",rateChange:\"rateChange\"},features:[s.Cb([c,h]),s.Bb()],decls:4,vars:8,consts:[[1,\"br-units\",3,\"mouseleave\"],[\"class\",\"br-unit\",3,\"br-fraction\",\"br-selected\",\"br-active\",\"click\",\"mouseenter\",4,\"ngFor\",\"ngForOf\"],[\"class\",\"br-text\",4,\"ngIf\"],[1,\"br-unit\",3,\"click\",\"mouseenter\"],[1,\"br-text\"]],template:function(t,e){1&t&&(s.Wb(0,\"div\"),s.Wb(1,\"div\",0),s.ec(\"mouseleave\",(function(){return e.reset()})),s.Hc(2,o,1,6,\"div\",1),s.Vb(),s.Hc(3,l,3,4,\"div\",2),s.Vb()),2&t&&(s.Fb(\"br br-\"+e.theme),s.Hb(\"br-readonly\",e.readOnly)(\"br-disabled\",e.disabled),s.Db(2),s.oc(\"ngForOf\",e.contexts),s.Db(1),s.oc(\"ngIf\",e.showText))},directives:[i.k,i.l],pipes:[a],styles:[\"*[_ngcontent-%COMP%]{box-sizing:border-box}.br[_ngcontent-%COMP%]{position:relative;margin:15px 0}.br-units[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.br-unit[_ngcontent-%COMP%]{cursor:pointer;-webkit-font-smoothing:antialiased;text-rendering:auto}.br-disabled[_ngcontent-%COMP%]   .br-unit[_ngcontent-%COMP%], .br-readonly[_ngcontent-%COMP%]   .br-unit[_ngcontent-%COMP%]{cursor:default}\"],changeDetection:0}),t}(),u=function(){function t(){}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[i.c,r.h]]}),t}();n.d(e,\"b\",(function(){return u})),n.d(e,\"a\",(function(){return d}))},\"2xqC\":function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[\"$\"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[\"$\"+t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[\"$\"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},\"3E0/\":function(t,e,n){\"use strict\";var i=n(\"D0XW\"),r=n(\"7o/Q\"),s=n(\"WMd4\");function a(t,e=i.a){var n;const r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new o(r,e))}n.d(e,\"a\",(function(){return a}));class o{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(s.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},\"3JDX\":function(t,e,n){t.exports=function(t){function e(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return i.colors[Math.abs(e)%i.colors.length]}function i(t){let n;function a(...t){if(!a.enabled)return;const e=a,r=Number(new Date);e.diff=r-(n||r),e.prev=n,e.curr=r,n=r,t[0]=i.coerce(t[0]),\"string\"!=typeof t[0]&&t.unshift(\"%O\");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if(\"%%\"===n)return n;s++;const a=i.formatters[r];return\"function\"==typeof a&&(n=a.call(e,t[s]),t.splice(s,1),s--),n}),i.formatArgs.call(e,t),(e.log||i.log).apply(e,t)}return a.namespace=t,a.enabled=i.enabled(t),a.useColors=i.useColors(),a.color=e(t),a.destroy=r,a.extend=s,\"function\"==typeof i.init&&i.init(a),i.instances.push(a),a}function r(){const t=i.instances.indexOf(this);return-1!==t&&(i.instances.splice(t,1),!0)}function s(t,e){const n=i(this.namespace+(void 0===e?\":\":e)+t);return n.log=this.log,n}function a(t){return t.toString().substring(2,t.toString().length-2).replace(/\\.\\*\\?$/,\"*\")}return i.debug=i,i.default=i,i.coerce=function(t){return t instanceof Error?t.stack||t.message:t},i.disable=function(){const t=[...i.names.map(a),...i.skips.map(a).map(t=>\"-\"+t)].join(\",\");return i.enable(\"\"),t},i.enable=function(t){let e;i.save(t),i.names=[],i.skips=[];const n=(\"string\"==typeof t?t:\"\").split(/[\\s,]+/),r=n.length;for(e=0;e<r;e++)n[e]&&(\"-\"===(t=n[e].replace(/\\*/g,\".*?\"))[0]?i.skips.push(new RegExp(\"^\"+t.substr(1)+\"$\")):i.names.push(new RegExp(\"^\"+t+\"$\")));for(e=0;e<i.instances.length;e++){const t=i.instances[e];t.enabled=i.enabled(t.namespace)}},i.enabled=function(t){if(\"*\"===t[t.length-1])return!0;let e,n;for(e=0,n=i.skips.length;e<n;e++)if(i.skips[e].test(t))return!1;for(e=0,n=i.names.length;e<n;e++)if(i.names[e].test(t))return!0;return!1},i.humanize=n(\"FGiv\"),Object.keys(t).forEach(e=>{i[e]=t[e]}),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=e,i.enable(i.load()),i}},\"3N8a\":function(t,e,n){\"use strict\";var i=n(\"quSY\");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,\"a\",(function(){return s}));class s extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error(\"executing a cancelled action\");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},\"3Pt+\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return Qt})),n.d(e,\"b\",(function(){return p})),n.d(e,\"c\",(function(){return ft})),n.d(e,\"d\",(function(){return Rt})),n.d(e,\"e\",(function(){return Bt})),n.d(e,\"f\",(function(){return gt})),n.d(e,\"g\",(function(){return It})),n.d(e,\"h\",(function(){return ee})),n.d(e,\"i\",(function(){return Xt})),n.d(e,\"j\",(function(){return $t})),n.d(e,\"k\",(function(){return C})),n.d(e,\"l\",(function(){return l})),n.d(e,\"m\",(function(){return _})),n.d(e,\"n\",(function(){return v})),n.d(e,\"o\",(function(){return w})),n.d(e,\"p\",(function(){return vt})),n.d(e,\"q\",(function(){return Pt})),n.d(e,\"r\",(function(){return W})),n.d(e,\"s\",(function(){return T})),n.d(e,\"t\",(function(){return Zt})),n.d(e,\"u\",(function(){return ne})),n.d(e,\"v\",(function(){return qt})),n.d(e,\"w\",(function(){return Q})),n.d(e,\"x\",(function(){return S})),n.d(e,\"y\",(function(){return X})),n.d(e,\"z\",(function(){return Et}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"cp0P\"),a=n(\"Cfvw\"),o=n(\"lJxs\");const l=new i.r(\"NgValueAccessor\"),c={provide:l,useExisting:Object(i.V)(()=>h),multi:!0};let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"checked\",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"checkbox\",\"formControlName\",\"\"],[\"input\",\"type\",\"checkbox\",\"formControl\",\"\"],[\"input\",\"type\",\"checkbox\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.checked)}))(\"blur\",(function(){return e.onTouched()}))},features:[i.Cb([c])]}),t})();const d={provide:l,useExisting:Object(i.V)(()=>p),multi:!0},u=new i.r(\"CompositionEventMode\");let p=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(r.x)()?Object(r.x)().getUserAgent():\"\";return/android (\\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",null==t?\"\":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l),i.Qb(u,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"formControlName\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"formControlName\",\"\"],[\"input\",\"formControl\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"formControl\",\"\"],[\"input\",\"ngModel\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"ngModel\",\"\"],[\"\",\"ngDefaultControl\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"input\",(function(t){return e._handleInput(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))(\"compositionstart\",(function(){return e._compositionStart()}))(\"compositionend\",(function(t){return e._compositionEnd(t.target.value)}))},features:[i.Cb([d])]}),t})(),m=(()=>{class t{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t}),t})(),f=(()=>{class t extends m{get formDirective(){return null}get path(){return null}}return t.\\u0275fac=function(e){return g(e||t)},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})();const g=i.Yb(f);function b(){throw new Error(\"unimplemented\")}class _ extends m{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return b()}get asyncValidator(){return b()}}class y{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let v=(()=>{class t extends y{constructor(t){super(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(_,2))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formControlName\",\"\"],[\"\",\"ngModel\",\"\"],[\"\",\"formControl\",\"\"]],hostVars:14,hostBindings:function(t,e){2&t&&i.Hb(\"ng-untouched\",e.ngClassUntouched)(\"ng-touched\",e.ngClassTouched)(\"ng-pristine\",e.ngClassPristine)(\"ng-dirty\",e.ngClassDirty)(\"ng-valid\",e.ngClassValid)(\"ng-invalid\",e.ngClassInvalid)(\"ng-pending\",e.ngClassPending)},features:[i.Ab]}),t})(),w=(()=>{class t extends y{constructor(t){super(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,2))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formGroupName\",\"\"],[\"\",\"formArrayName\",\"\"],[\"\",\"ngModelGroup\",\"\"],[\"\",\"formGroup\",\"\"],[\"form\",3,\"ngNoForm\",\"\"],[\"\",\"ngForm\",\"\"]],hostVars:14,hostBindings:function(t,e){2&t&&i.Hb(\"ng-untouched\",e.ngClassUntouched)(\"ng-touched\",e.ngClassTouched)(\"ng-pristine\",e.ngClassPristine)(\"ng-dirty\",e.ngClassDirty)(\"ng-valid\",e.ngClassValid)(\"ng-invalid\",e.ngClassInvalid)(\"ng-pending\",e.ngClassPending)},features:[i.Ab]}),t})();function x(t){return null==t||0===t.length}const C=new i.r(\"NgValidators\"),k=new i.r(\"NgAsyncValidators\"),O=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class S{static min(t){return e=>{if(x(e.value)||x(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(x(e.value)||x(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return x(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return x(t.value)?null:O.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(x(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return S.nullValidator;let e,n;return\"string\"==typeof t?(n=\"\",\"^\"!==t.charAt(0)&&(n+=\"^\"),n+=t,\"$\"!==t.charAt(t.length-1)&&(n+=\"$\"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(x(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(M);return 0==e.length?null:function(t){return E(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(M);return 0==e.length?null:function(t){const n=function(t,e){return e.map(e=>e(t))}(t,e).map(P);return Object(s.a)(n).pipe(Object(o.a)(E))}}}function M(t){return null!=t}function P(t){const e=Object(i.ub)(t)?Object(a.a)(t):t;if(!Object(i.tb)(e))throw new Error(\"Expected validator to return Promise or Observable.\");return e}function E(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function A(t){return t.validate?e=>t.validate(e):t}function D(t){return t.validate?e=>t.validate(e):t}const R={provide:l,useExisting:Object(i.V)(()=>T),multi:!0};let T=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",null==t?\"\":t)}registerOnChange(t){this.onChange=e=>{t(\"\"==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"number\",\"formControlName\",\"\"],[\"input\",\"type\",\"number\",\"formControl\",\"\"],[\"input\",\"type\",\"number\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.value)}))(\"input\",(function(t){return e.onChange(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))},features:[i.Cb([R])]}),t})();const I={provide:l,useExisting:Object(i.V)(()=>L),multi:!0};let j=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),L=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(_),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,\"checked\",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\\n      If you define both a name and a formControlName attribute on your radio button, their values\\n      must match. Ex: <input type=\"radio\" formControlName=\"food\" name=\"food\">\\n    ')}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l),i.Qb(j),i.Qb(i.s))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"radio\",\"formControlName\",\"\"],[\"input\",\"type\",\"radio\",\"formControl\",\"\"],[\"input\",\"type\",\"radio\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(){return e.onChange()}))(\"blur\",(function(){return e.onTouched()}))},inputs:{name:\"name\",formControlName:\"formControlName\",value:\"value\"},features:[i.Cb([I])]}),t})();const F={provide:l,useExisting:Object(i.V)(()=>N),multi:!0};let N=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(\"\"==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"range\",\"formControlName\",\"\"],[\"input\",\"type\",\"range\",\"formControl\",\"\"],[\"input\",\"type\",\"range\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.value)}))(\"input\",(function(t){return e.onChange(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))},features:[i.Cb([F])]}),t})();const V='\\n    <div [formGroup]=\"myGroup\">\\n      <input formControlName=\"firstName\">\\n    <\/div>\\n\\n    In your class:\\n\\n    this.myGroup = new FormGroup({\\n       firstName: new FormControl()\\n    });',z='\\n    <div [formGroup]=\"myGroup\">\\n       <div formGroupName=\"person\">\\n          <input formControlName=\"firstName\">\\n       <\/div>\\n    <\/div>\\n\\n    In your class:\\n\\n    this.myGroup = new FormGroup({\\n       person: new FormGroup({ firstName: new FormControl() })\\n    });',B='\\n    <form>\\n       <div ngModelGroup=\"person\">\\n          <input [(ngModel)]=\"person.name\" name=\"firstName\">\\n       <\/div>\\n    <\/form>';class H{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\\n       directive and pass it an existing FormGroup instance (you can create one in your class).\\n\\n      Example:\\n\\n      ${V}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\\n       that also have a \"form\" prefix: formGroupName, formArrayName, or formGroup.\\n\\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\\n\\n        ${z}\\n\\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\\n\\n        ${B}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\\n\\n       Example:\\n\\n       ${V}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\\n      directive and pass it an existing FormGroup instance (you can create one in your class).\\n\\n      Example:\\n\\n      ${z}`)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\\'ll want to add a formGroup\\n       directive and pass it an existing FormGroup instance (you can create one in your class).\\n\\n        Example:\\n\\n        \\n    <div [formGroup]=\"myGroup\">\\n      <div formArrayName=\"cities\">\\n        <div *ngFor=\"let city of cityArray.controls; index as i\">\\n          <input [formControlName]=\"i\">\\n        <\/div>\\n      <\/div>\\n    <\/div>\\n\\n    In your class:\\n\\n    this.cityArray = new FormArray([new FormControl(\\'SF\\')]);\\n    this.myGroup = new FormGroup({\\n      cities: this.cityArray\\n    });')}static disabledAttrWarning(){console.warn(\"\\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\\n      you. We recommend using this approach to avoid 'changed after checked' errors.\\n       \\n      Example: \\n      form = new FormGroup({\\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\\n        last: new FormControl('Drew', Validators.required)\\n      });\\n    \")}static ngModelWarning(t){console.warn(`\\n    It looks like you're using ngModel on the same form field as ${t}. \\n    Support for using the ngModel input property and ngModelChange event with \\n    reactive form directives has been deprecated in Angular v6 and will be removed \\n    in Angular v7.\\n    \\n    For more information on this, see our API docs here:\\n    https://angular.io/api/forms/${\"formControl\"===t?\"FormControlDirective\":\"FormControlName\"}#use-with-ngmodel\\n    `)}}const U={provide:l,useExisting:Object(i.V)(()=>Q),multi:!0};function q(t,e){return null==t?`${e}`:(e&&\"object\"==typeof e&&(e=\"Object\"),`${t}: ${e}`.slice(0,50))}let Q=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=i.vb}set compareWith(t){if(\"function\"!=typeof t)throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,\"selectedIndex\",-1);const n=q(e,t);this._renderer.setProperty(this._elementRef.nativeElement,\"value\",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(\":\")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"select\",\"formControlName\",\"\",3,\"multiple\",\"\"],[\"select\",\"formControl\",\"\",3,\"multiple\",\"\"],[\"select\",\"ngModel\",\"\",3,\"multiple\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))},inputs:{compareWith:\"compareWith\"},features:[i.Cb([U])]}),t})(),W=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(q(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,\"value\",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.F),i.Qb(Q,9))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"option\"]],inputs:{ngValue:\"ngValue\",value:\"value\"}}),t})();const Y={provide:l,useExisting:Object(i.V)(()=>G),multi:!0};function $(t,e){return null==t?`${e}`:(\"string\"==typeof e&&(e=`'${e}'`),e&&\"object\"==typeof e&&(e=\"Object\"),`${t}: ${e}`.slice(0,50))}let G=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=i.vb}set compareWith(t){if(\"function\"!=typeof t)throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty(\"selectedOptions\")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),r=this._getOptionValue(i.value);n.push(r)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(\":\")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"select\",\"multiple\",\"\",\"formControlName\",\"\"],[\"select\",\"multiple\",\"\",\"formControl\",\"\"],[\"select\",\"multiple\",\"\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target)}))(\"blur\",(function(){return e.onTouched()}))},inputs:{compareWith:\"compareWith\"},features:[i.Cb([Y])]}),t})(),X=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue($(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue($(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,\"value\",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,\"selected\",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.F),i.Qb(G,9))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"option\"]],inputs:{ngValue:\"ngValue\",value:\"value\"}}),t})();function K(t,e){return[...e.path,t]}function Z(t,e){t||nt(e,\"Cannot find control with\"),e.valueAccessor||nt(e,\"No value accessor for form control with\"),t.validator=S.compose([t.validator,e.validator]),t.asyncValidator=S.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,\"change\"===t.updateOn&&J(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,\"blur\"===t.updateOn&&t._pendingChange&&J(t,e),\"submit\"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function J(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){null==t&&nt(e,\"Cannot find control with\"),t.validator=S.compose([t.validator,e.validator]),t.asyncValidator=S.composeAsync([t.asyncValidator,e.asyncValidator])}function et(t){return nt(t,\"There is no FormControl instance attached to form control element with\")}function nt(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(\" -> \")}'`:t.path[0]?`name: '${t.path}'`:\"unspecified name attribute\",new Error(`${e} ${n}`)}function it(t){return null!=t?S.compose(t.map(A)):null}function rt(t){return null!=t?S.composeAsync(t.map(D)):null}function st(t,e){if(!t.hasOwnProperty(\"model\"))return!1;const n=t.model;return!!n.isFirstChange()||!Object(i.vb)(e,n.currentValue)}const at=[h,N,T,Q,G,L];function ot(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;\"submit\"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function lt(t,e){if(!e)return null;Array.isArray(e)||nt(t,\"Value accessor was not provided as an array for form control with\");let n=void 0,i=void 0,r=void 0;return e.forEach(e=>{var s;e.constructor===p?n=e:(s=e,at.some(t=>s.constructor===t)?(i&&nt(t,\"More than one built-in value accessor matches form control with\"),i=e):(r&&nt(t,\"More than one custom value accessor matches form control with\"),r=e))}),r||i||n||(nt(t,\"No valid value accessor for form control with\"),null)}function ct(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ht(t,e,n,r){Object(i.X)()&&\"never\"!==r&&((null!==r&&\"once\"!==r||e._ngModelWarningSentOnce)&&(\"always\"!==r||n._ngModelWarningSent)||(H.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function dt(t){const e=pt(t)?t.validators:t;return Array.isArray(e)?it(e):e||null}function ut(t,e){const n=pt(e)?e.asyncValidators:t;return Array.isArray(n)?rt(n):n||null}function pt(t){return null!=t&&!Array.isArray(t)&&\"object\"==typeof t}class mt{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return\"VALID\"===this.status}get invalid(){return\"INVALID\"===this.status}get pending(){return\"PENDING\"==this.status}get disabled(){return\"DISABLED\"===this.status}get enabled(){return\"DISABLED\"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:\"change\"}setValidators(t){this.validator=dt(t)}setAsyncValidators(t){this.asyncValidator=ut(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=\"PENDING\",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=\"DISABLED\",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=\"VALID\",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),\"VALID\"!==this.status&&\"PENDING\"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?\"DISABLED\":\"VALID\"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=\"PENDING\";const e=P(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(\".\")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof gt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof bt&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?\"DISABLED\":this.errors?\"INVALID\":this._anyControlsHaveStatus(\"PENDING\")?\"PENDING\":this._anyControlsHaveStatus(\"INVALID\")?\"INVALID\":\"VALID\"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return\"object\"==typeof t&&null!==t&&2===Object.keys(t).length&&\"value\"in t&&\"disabled\"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ft extends mt{constructor(t=null,e,n){super(dt(e),ut(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!(\"submit\"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class gt extends mt{constructor(t,e,n){super(dt(e),ut(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ft?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error(\"\\n        There are no form controls registered with this group yet.  If you're using ngModel,\\n        you may want to check next tick (e.g. use setTimeout).\\n      \");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,i)=>{e=e||this.contains(i)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class bt extends mt{constructor(t,e,n){super(dt(e),ut(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ft?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error(\"\\n        There are no form controls registered with this array yet.  If you're using ngModel,\\n        you may want to check next tick (e.g. use setTimeout).\\n      \");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const _t={provide:f,useExisting:Object(i.V)(()=>vt)},yt=(()=>Promise.resolve(null))();let vt=(()=>{class t extends f{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new gt({},it(t),rt(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){yt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){yt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ct(this._directives,t)})}addFormGroup(t){yt.then(()=>{const e=this._findContainer(t.path),n=new gt({});tt(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){yt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){yt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ot(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"form\",3,\"ngNoForm\",\"\",3,\"formGroup\",\"\"],[\"ng-form\"],[\"\",\"ngForm\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"submit\",(function(t){return e.onSubmit(t)}))(\"reset\",(function(){return e.onReset()}))},inputs:{options:[\"ngFormOptions\",\"options\"]},outputs:{ngSubmit:\"ngSubmit\"},exportAs:[\"ngForm\"],features:[i.Cb([_t]),i.Ab]}),t})(),wt=(()=>{class t extends f{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return it(this._validators)}get asyncValidator(){return rt(this._asyncValidators)}_checkParentType(){}}return t.\\u0275fac=function(e){return xt(e||t)},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})();const xt=i.Yb(wt);class Ct{static modelParentException(){throw new Error(`\\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\\n      formGroup's partner directive \"formControlName\" instead.  Example:\\n\\n      ${V}\\n\\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\\n\\n      Example:\\n\\n      \\n    <div [formGroup]=\"myGroup\">\\n       <input formControlName=\"firstName\">\\n       <input [(ngModel)]=\"showMoreControls\" [ngModelOptions]=\"{standalone: true}\">\\n    <\/div>\\n  `)}static formGroupNameException(){throw new Error(`\\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\\n\\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\\n\\n      ${z}\\n\\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\\n\\n      ${B}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\\n      control must be defined as \\'standalone\\' in ngModelOptions.\\n\\n      Example 1: <input [(ngModel)]=\"person.firstName\" name=\"first\">\\n      Example 2: <input [(ngModel)]=\"person.firstName\" [ngModelOptions]=\"{standalone: true}\">')}static modelGroupParentException(){throw new Error(`\\n      ngModelGroup cannot be used with a parent formGroup directive.\\n\\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\\n\\n      ${z}\\n\\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\\n\\n      ${B}`)}}const kt={provide:f,useExisting:Object(i.V)(()=>Ot)};let Ot=(()=>{class t extends wt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof vt||Ct.modelGroupParentException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,5),i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngModelGroup\",\"\"]],inputs:{name:[\"ngModelGroup\",\"name\"]},exportAs:[\"ngModelGroup\"],features:[i.Cb([kt]),i.Ab]}),t})();const St={provide:_,useExisting:Object(i.V)(()=>Pt)},Mt=(()=>Promise.resolve(null))();let Pt=(()=>{class t extends _{constructor(t,e,n,r){super(),this.control=new ft,this._registered=!1,this.update=new i.o,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=lt(this,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),\"isDisabled\"in t&&this._updateDisabled(t),st(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?K(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return it(this._rawValidators)}get asyncValidator(){return rt(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof Ot)&&this._parent instanceof wt?Ct.formGroupNameException():this._parent instanceof Ot||this._parent instanceof vt||Ct.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ct.missingNameException()}_updateValue(t){Mt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=\"\"===e||e&&\"false\"!==e;Mt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,9),i.Qb(C,10),i.Qb(k,10),i.Qb(l,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngModel\",\"\",3,\"formControlName\",\"\",3,\"formControl\",\"\"]],inputs:{name:\"name\",isDisabled:[\"disabled\",\"isDisabled\"],model:[\"ngModel\",\"model\"],options:[\"ngModelOptions\",\"options\"]},outputs:{update:\"ngModelChange\"},exportAs:[\"ngModel\"],features:[i.Cb([St]),i.Ab,i.Bb()]}),t})(),Et=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"form\",3,\"ngNoForm\",\"\",3,\"ngNativeValidate\",\"\"]],hostAttrs:[\"novalidate\",\"\"]}),t})();const At=new i.r(\"NgModelWithFormControlWarning\"),Dt={provide:_,useExisting:Object(i.V)(()=>Rt)};let Rt=(()=>{class t extends _{constructor(t,e,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.o,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=lt(this,n)}set isDisabled(t){H.disabledAttrWarning()}ngOnChanges(e){this._isControlChanged(e)&&(Z(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),st(e,this.viewModel)&&(ht(\"formControl\",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return it(this._rawValidators)}get asyncValidator(){return rt(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty(\"form\")}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(C,10),i.Qb(k,10),i.Qb(l,10),i.Qb(At,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formControl\",\"\"]],inputs:{isDisabled:[\"disabled\",\"isDisabled\"],form:[\"formControl\",\"form\"],model:[\"ngModel\",\"model\"]},outputs:{update:\"ngModelChange\"},exportAs:[\"ngForm\"],features:[i.Cb([Dt]),i.Ab,i.Bb()]}),t._ngModelWarningSentOnce=!1,t})();const Tt={provide:f,useExisting:Object(i.V)(()=>It)};let It=(()=>{class t extends f{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.o}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty(\"form\")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){ct(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,ot(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>et(e)),e.valueAccessor.registerOnTouched(()=>et(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Z(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=it(this._validators);this.form.validator=S.compose([this.form.validator,t]);const e=rt(this._asyncValidators);this.form.asyncValidator=S.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||H.missingFormException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formGroup\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"submit\",(function(t){return e.onSubmit(t)}))(\"reset\",(function(){return e.onReset()}))},inputs:{form:[\"formGroup\",\"form\"]},outputs:{ngSubmit:\"ngSubmit\"},exportAs:[\"ngForm\"],features:[i.Cb([Tt]),i.Ab,i.Bb()]}),t})();const jt={provide:f,useExisting:Object(i.V)(()=>Lt)};let Lt=(()=>{class t extends wt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){Vt(this._parent)&&H.groupParentException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,13),i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formGroupName\",\"\"]],inputs:{name:[\"formGroupName\",\"name\"]},features:[i.Cb([jt]),i.Ab]}),t})();const Ft={provide:f,useExisting:Object(i.V)(()=>Nt)};let Nt=(()=>{class t extends f{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return it(this._validators)}get asyncValidator(){return rt(this._asyncValidators)}_checkParentType(){Vt(this._parent)&&H.arrayParentException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,13),i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formArrayName\",\"\"]],inputs:{name:[\"formArrayName\",\"name\"]},features:[i.Cb([Ft]),i.Ab]}),t})();function Vt(t){return!(t instanceof Lt||t instanceof It||t instanceof Nt)}const zt={provide:_,useExisting:Object(i.V)(()=>Bt)};let Bt=(()=>{class t extends _{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=lt(this,r)}set isDisabled(t){H.disabledAttrWarning()}ngOnChanges(e){this._added||this._setUpControl(),st(e,this.viewModel)&&(ht(\"formControlName\",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return it(this._rawValidators)}get asyncValidator(){return rt(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof Lt)&&this._parent instanceof wt?H.ngModelGroupException():this._parent instanceof Lt||this._parent instanceof It||this._parent instanceof Nt||H.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,13),i.Qb(C,10),i.Qb(k,10),i.Qb(l,10),i.Qb(At,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formControlName\",\"\"]],inputs:{isDisabled:[\"disabled\",\"isDisabled\"],name:[\"formControlName\",\"name\"],model:[\"ngModel\",\"model\"]},outputs:{update:\"ngModelChange\"},features:[i.Cb([zt]),i.Ab,i.Bb()]}),t._ngModelWarningSentOnce=!1,t})();const Ht={provide:C,useExisting:Object(i.V)(()=>qt),multi:!0},Ut={provide:C,useExisting:Object(i.V)(()=>Qt),multi:!0};let qt=(()=>{class t{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&\"false\"!==`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?S.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"required\",\"\",\"formControlName\",\"\",3,\"type\",\"checkbox\"],[\"\",\"required\",\"\",\"formControl\",\"\",3,\"type\",\"checkbox\"],[\"\",\"required\",\"\",\"ngModel\",\"\",3,\"type\",\"checkbox\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"required\",e.required?\"\":null)},inputs:{required:\"required\"},features:[i.Cb([Ht])]}),t})(),Qt=(()=>{class t extends qt{validate(t){return this.required?S.requiredTrue(t):null}}return t.\\u0275fac=function(e){return Wt(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"checkbox\",\"required\",\"\",\"formControlName\",\"\"],[\"input\",\"type\",\"checkbox\",\"required\",\"\",\"formControl\",\"\"],[\"input\",\"type\",\"checkbox\",\"required\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"required\",e.required?\"\":null)},features:[i.Cb([Ut]),i.Ab]}),t})();const Wt=i.Yb(Qt),Yt={provide:C,useExisting:Object(i.V)(()=>$t),multi:!0};let $t=(()=>{class t{ngOnChanges(t){\"minlength\"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S.minLength(\"number\"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"minlength\",\"\",\"formControlName\",\"\"],[\"\",\"minlength\",\"\",\"formControl\",\"\"],[\"\",\"minlength\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"minlength\",e.minlength?e.minlength:null)},inputs:{minlength:\"minlength\"},features:[i.Cb([Yt]),i.Bb()]}),t})();const Gt={provide:C,useExisting:Object(i.V)(()=>Xt),multi:!0};let Xt=(()=>{class t{ngOnChanges(t){\"maxlength\"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S.maxLength(\"number\"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"maxlength\",\"\",\"formControlName\",\"\"],[\"\",\"maxlength\",\"\",\"formControl\",\"\"],[\"\",\"maxlength\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"maxlength\",e.maxlength?e.maxlength:null)},inputs:{maxlength:\"maxlength\"},features:[i.Cb([Gt]),i.Bb()]}),t})();const Kt={provide:C,useExisting:Object(i.V)(()=>Zt),multi:!0};let Zt=(()=>{class t{ngOnChanges(t){\"pattern\"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S.pattern(this.pattern)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"pattern\",\"\",\"formControlName\",\"\"],[\"\",\"pattern\",\"\",\"formControl\",\"\"],[\"\",\"pattern\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"pattern\",e.pattern?e.pattern:null)},inputs:{pattern:\"pattern\"},features:[i.Cb([Kt]),i.Bb()]}),t})(),Jt=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})(),te=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i=null,r=null,s=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new gt(n,{asyncValidators:r,updateOn:s,validators:i})}control(t,e,n){return new ft(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new bt(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof ft||t instanceof gt||t instanceof bt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),ee=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[j],imports:[Jt]}),t})(),ne=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:At,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[te,j],imports:[Jt]}),t})()},\"3UWI\":function(t,e,n){\"use strict\";var i=n(\"D0XW\"),r=n(\"l7GE\"),s=n(\"ZUHj\");class a{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends r.a{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(s.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var l=n(\"HDdC\"),c=n(\"DH7j\");function h(t){return!Object(c.a)(t)&&t-parseFloat(t)+1>=0}var d=n(\"z+Ro\");function u(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function p(t,e=i.a){return n=()=>function(t=0,e,n){let r=-1;return h(e)?r=Number(e)<1?1:Number(e):Object(d.a)(e)&&(n=e),Object(d.a)(n)||(n=i.a),new l.a(e=>{const i=h(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:r,subscriber:e})})}(t,e),function(t){return t.lift(new a(n))};var n}n.d(e,\"a\",(function(){return p}))},\"4I5i\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message=\"argument out of range\",this.name=\"ArgumentOutOfRangeError\",this}return t.prototype=Object.create(Error.prototype),t})()},\"4pnn\":function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"ofXK\");function s(t){return null==t}function a(t){return null!=t}function o(t,e){return e?{path:a(e.path)?e.path:t.path,domain:a(e.domain)?e.domain:t.domain,expires:a(e.expires)?e.expires:t.expires,secure:a(e.secure)?e.secure:t.secure,httpOnly:a(e.httpOnly)?e.httpOnly:t.httpOnly,storeUnencoded:a(e.storeUnencoded)?e.storeUnencoded:t.storeUnencoded}:t}function l(t){try{return decodeURIComponent(t)}catch(e){return t}}new i.r(\"REQUEST\"),new i.r(\"RESPONSE\"),n.d(e,\"b\",(function(){return d})),n.d(e,\"a\",(function(){return p}));const c=new i.r(\"COOKIE_OPTIONS\");let h=(()=>{class t{constructor(t={},e){this._injector=e,this.defaultOptions={path:this._injector.get(r.a,\"/\"),domain:null,expires:null,secure:!1,httpOnly:!1},this._options=o(this.defaultOptions,t)}get options(){return this._options}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c),i.ac(i.s))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),d=(()=>{class t{constructor(t){this._optionsProvider=t,this.options=this._optionsProvider.options}get cookieString(){return document.cookie||\"\"}set cookieString(t){document.cookie=t}get(t){return this._cookieReader()[t]}getObject(t){const e=this.get(t);return e?function(t){try{return JSON.parse(t)}catch(e){return t}}(e):e}getAll(){return this._cookieReader()}put(t,e,n){this._cookieWriter()(t,e,n)}putObject(t,e,n){this.put(t,JSON.stringify(e),n)}remove(t,e){this._cookieWriter()(t,void 0,e)}removeAll(t){const e=this.getAll();Object.keys(e).forEach(e=>{this.remove(e,t)})}_cookieReader(){let t,e,n,i,r,a={},o=\"\";const c=this.cookieString;if(c!==o)for(o=c,t=o.split(\"; \"),a={},n=0;n<t.length;n++)e=t[n],i=e.indexOf(\"=\"),i>0&&(r=l(e.substring(0,i)),s(a[r])&&(a[r]=l(e.substring(i+1))));return a}_cookieWriter(){const t=this;return function(e,n,i){t.cookieString=t._buildCookieString(e,n,i)}}_buildCookieString(t,e,n){const i=o(this.options,n);let r=i.expires;s(e)&&(r=\"Thu, 01 Jan 1970 00:00:00 GMT\",e=\"\"),\"string\"==typeof r&&(r=new Date(r));const a=i.storeUnencoded?e:encodeURIComponent(e);let l=encodeURIComponent(t)+\"=\"+a;l+=i.path?\";path=\"+i.path:\"\",l+=i.domain?\";domain=\"+i.domain:\"\",l+=r?\";expires=\"+r.toUTCString():\"\",l+=i.secure?\";secure\":\"\",l+=i.httpOnly?\"; HttpOnly\":\"\";const c=l.length+1;return c>4096&&console.log(`Cookie '${t}' possibly not set or overflowed because it was too large (${c} > 4096 bytes)!`),l}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(h))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();function u(t){return new d(t)}let p=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:c,useValue:e},{provide:d,useFactory:u,deps:[h]}]}}static forChild(e={}){return{ngModule:t,providers:[{provide:c,useValue:e},{provide:d,useFactory:u,deps:[h]}]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[h]}),t})()},\"5+tZ\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"ZUHj\"),r=n(\"l7GE\"),s=n(\"51Dv\"),a=n(\"lJxs\"),o=n(\"Cfvw\");function l(t,e,n=Number.POSITIVE_INFINITY){return\"function\"==typeof e?i=>i.pipe(l((n,i)=>Object(o.a)(t(n,i)).pipe(Object(a.a)((t,r)=>e(n,t,i,r))),n)):(\"number\"==typeof e&&(n=e),e=>e.lift(new c(t,n)))}class c{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new h(t,this.project,this.concurrent))}}class h extends r.a{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new s.a(this,e,n),a=this.destination;a.add(r);const o=Object(i.a)(this,t,void 0,void 0,r);o!==r&&a.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,i,r){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},\"51Dv\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");class r extends i.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},\"5M3R\":function(t,e,n){function i(){var t;try{t=e.storage.debug}catch(n){}return!t&&\"undefined\"!=typeof process&&\"env\"in process&&(t=process.env.DEBUG),t}(e=t.exports=n(\"Nq7k\")).log=function(){return\"object\"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?\"%c\":\"\")+this.namespace+(n?\" %c\":\" \")+t[0]+(n?\"%c \":\" \")+\"+\"+e.humanize(this.diff),n){var i=\"color: \"+this.color;t.splice(1,0,i,\"color: inherit\");var r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){\"%%\"!==t&&(r++,\"%c\"===t&&(s=r))})),t.splice(s,0,i)}},e.save=function(t){try{null==t?e.storage.removeItem(\"debug\"):e.storage.debug=t}catch(n){}},e.load=i,e.useColors=function(){return!(\"undefined\"==typeof window||!window.process||\"renderer\"!==window.process.type)||(\"undefined\"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))&&(\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/))},e.storage=\"undefined\"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}},e.enable(i())},\"6C75\":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==n.call(t)}},\"7+OI\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"HDdC\");function r(t){return!!t&&(t instanceof i.a||\"function\"==typeof t.lift&&\"function\"==typeof t.subscribe)}},\"7EHt\":function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"8LU1\"),s=n(\"XNiG\"),a=n(\"quSY\"),o=n(\"0EQZ\");let l=0,c=(()=>{class t{constructor(){this._stateChanges=new s.a,this._openCloseAllActions=new s.a,this.id=`cdk-accordion-${l++}`,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(r.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"cdk-accordion\"],[\"\",\"cdkAccordion\",\"\"]],inputs:{multi:\"multi\"},exportAs:[\"cdkAccordion\"],features:[i.Bb()]}),t})(),h=0,d=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=a.a.EMPTY,this.closed=new i.o,this.opened=new i.o,this.destroyed=new i.o,this.expandedChange=new i.o,this.id=`cdk-accordion-child-${h++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(r.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(c,12),i.Qb(i.h),i.Qb(o.d))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"cdk-accordion-item\"],[\"\",\"cdkAccordionItem\",\"\"]],inputs:{expanded:\"expanded\",disabled:\"disabled\"},outputs:{closed:\"closed\",opened:\"opened\",destroyed:\"destroyed\",expandedChange:\"expandedChange\"},exportAs:[\"cdkAccordionItem\"],features:[i.Cb([{provide:c,useValue:void 0}])]}),t})(),u=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();var p=n(\"+rOU\"),m=n(\"ofXK\"),f=n(\"u47x\"),g=n(\"FtGj\"),b=n(\"/uUt\"),_=n(\"JX91\"),y=n(\"pLZG\"),v=n(\"IzEk\"),w=n(\"EY2u\"),x=n(\"VRyK\"),C=n(\"R0Ic\"),k=n(\"R1ws\");n.d(e,\"a\",(function(){return U})),n.d(e,\"b\",(function(){return V})),n.d(e,\"c\",(function(){return B})),n.d(e,\"d\",(function(){return z})),n.d(e,\"e\",(function(){return H}));const O=[\"body\"];function S(t,e){}const M=[[[\"mat-expansion-panel-header\"]],\"*\",[[\"mat-action-row\"]]],P=[\"mat-expansion-panel-header\",\"*\",\"mat-action-row\"],E=function(t,e){return{collapsedHeight:t,expandedHeight:e}},A=function(t,e){return{value:t,params:e}};function D(t,e){if(1&t&&i.Rb(0,\"span\",2),2&t){const t=i.ic();i.oc(\"@indicatorRotate\",t._getExpandedState())}}const R=[[[\"mat-panel-title\"]],[[\"mat-panel-description\"]],\"*\"],T=[\"mat-panel-title\",\"mat-panel-description\",\"*\"],I=new i.r(\"MAT_ACCORDION\"),j={indicatorRotate:Object(C.p)(\"indicatorRotate\",[Object(C.m)(\"collapsed, void\",Object(C.n)({transform:\"rotate(0deg)\"})),Object(C.m)(\"expanded\",Object(C.n)({transform:\"rotate(180deg)\"})),Object(C.o)(\"expanded <=> collapsed, void => collapsed\",Object(C.e)(\"225ms cubic-bezier(0.4,0.0,0.2,1)\"))]),expansionHeaderHeight:Object(C.p)(\"expansionHeight\",[Object(C.m)(\"collapsed, void\",Object(C.n)({height:\"{{collapsedHeight}}\"}),{params:{collapsedHeight:\"48px\"}}),Object(C.m)(\"expanded\",Object(C.n)({height:\"{{expandedHeight}}\"}),{params:{expandedHeight:\"64px\"}}),Object(C.o)(\"expanded <=> collapsed, void => collapsed\",Object(C.h)([Object(C.j)(\"@indicatorRotate\",Object(C.f)(),{optional:!0}),Object(C.e)(\"225ms cubic-bezier(0.4,0.0,0.2,1)\")]))]),bodyExpansion:Object(C.p)(\"bodyExpansion\",[Object(C.m)(\"collapsed, void\",Object(C.n)({height:\"0px\",visibility:\"hidden\"})),Object(C.m)(\"expanded\",Object(C.n)({height:\"*\",visibility:\"visible\"})),Object(C.o)(\"expanded <=> collapsed, void => collapsed\",Object(C.e)(\"225ms cubic-bezier(0.4,0.0,0.2,1)\"))])};let L=(()=>{class t{constructor(t){this._template=t}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.M))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"ng-template\",\"matExpansionPanelContent\",\"\"]]}),t})(),F=0;const N=new i.r(\"MAT_EXPANSION_PANEL_DEFAULT_OPTIONS\");let V=(()=>{class t extends d{constructor(t,e,n,r,a,o,l){super(t,e,n),this._viewContainerRef=r,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new i.o,this.afterCollapse=new i.o,this._inputChanges=new s.a,this._headerId=`mat-expansion-panel-header-${F++}`,this._bodyAnimationDone=new s.a,this.accordion=t,this._document=a,this._bodyAnimationDone.pipe(Object(b.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{\"void\"!==t.fromState&&(\"expanded\"===t.toState?this.afterExpand.emit():\"collapsed\"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&\"default\"===this.accordion.displayMode}_getExpandedState(){return this.expanded?\"expanded\":\"collapsed\"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(_.a)(null),Object(y.a)(()=>this.expanded&&!this._portal),Object(v.a)(1)).subscribe(()=>{this._portal=new p.g(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(I,12),i.Qb(i.h),i.Qb(o.d),i.Qb(i.P),i.Qb(m.d),i.Qb(k.a,8),i.Qb(N,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-expansion-panel\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,L,!0),2&t&&i.vc(r=i.fc())&&(e._lazyContent=r.first)},viewQuery:function(t,e){var n;1&t&&i.Pc(O,!0),2&t&&i.vc(n=i.fc())&&(e._body=n.first)},hostAttrs:[1,\"mat-expansion-panel\"],hostVars:6,hostBindings:function(t,e){2&t&&i.Hb(\"mat-expanded\",e.expanded)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)(\"mat-expansion-panel-spacing\",e._hasSpacing())},inputs:{disabled:\"disabled\",expanded:\"expanded\",hideToggle:\"hideToggle\",togglePosition:\"togglePosition\"},outputs:{opened:\"opened\",closed:\"closed\",expandedChange:\"expandedChange\",afterExpand:\"afterExpand\",afterCollapse:\"afterCollapse\"},exportAs:[\"matExpansionPanel\"],features:[i.Cb([{provide:I,useValue:void 0}]),i.Ab,i.Bb()],ngContentSelectors:P,decls:7,vars:4,consts:[[\"role\",\"region\",1,\"mat-expansion-panel-content\",3,\"id\"],[\"body\",\"\"],[1,\"mat-expansion-panel-body\"],[3,\"cdkPortalOutlet\"]],template:function(t,e){1&t&&(i.nc(M),i.mc(0),i.Wb(1,\"div\",0,1),i.ec(\"@bodyExpansion.done\",(function(t){return e._bodyAnimationDone.next(t)})),i.Wb(3,\"div\",2),i.mc(4,1),i.Hc(5,S,0,0,\"ng-template\",3),i.Vb(),i.mc(6,2),i.Vb()),2&t&&(i.Db(1),i.oc(\"@bodyExpansion\",e._getExpandedState())(\"id\",e.id),i.Eb(\"aria-labelledby\",e._headerId),i.Db(4),i.oc(\"cdkPortalOutlet\",e._portal))},directives:[p.b],styles:[\".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}\\n\"],encapsulation:2,data:{animation:[j.bodyExpansion]},changeDetection:0}),t})(),z=(()=>{class t{constructor(t,e,n,i,r){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=a.a.EMPTY,this._animationsDisabled=!0;const s=t.accordion?t.accordion._stateChanges.pipe(Object(y.a)(t=>!(!t.hideToggle&&!t.togglePosition))):w.a;this._parentChangeSubscription=Object(x.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(y.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(y.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,\"program\")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case g.l:case g.d:Object(g.q)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t=\"program\",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(V,1),i.Qb(i.l),i.Qb(f.h),i.Qb(i.h),i.Qb(N,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-expansion-panel-header\"]],hostAttrs:[\"role\",\"button\",1,\"mat-expansion-panel-header\"],hostVars:19,hostBindings:function(t,e){1&t&&(i.Ib(\"@expansionHeight.start\",(function(){return e._animationStarted()})),i.ec(\"click\",(function(){return e._toggle()}))(\"keydown\",(function(t){return e._keydown(t)}))),2&t&&(i.Eb(\"id\",e.panel._headerId)(\"tabindex\",e.disabled?-1:0)(\"aria-controls\",e._getPanelId())(\"aria-expanded\",e._isExpanded())(\"aria-disabled\",e.panel.disabled),i.Oc(\"@.disabled\",e._animationsDisabled)(\"@expansionHeight\",i.uc(16,A,e._getExpandedState(),i.uc(13,E,e.collapsedHeight,e.expandedHeight))),i.Hb(\"mat-expanded\",e._isExpanded())(\"mat-expansion-toggle-indicator-after\",\"after\"===e._getTogglePosition())(\"mat-expansion-toggle-indicator-before\",\"before\"===e._getTogglePosition()))},inputs:{expandedHeight:\"expandedHeight\",collapsedHeight:\"collapsedHeight\"},ngContentSelectors:T,decls:5,vars:1,consts:[[1,\"mat-content\"],[\"class\",\"mat-expansion-indicator\",4,\"ngIf\"],[1,\"mat-expansion-indicator\"]],template:function(t,e){1&t&&(i.nc(R),i.Wb(0,\"span\",0),i.mc(1),i.mc(2,1),i.mc(3,2),i.Vb(),i.Hc(4,D,1,1,\"span\",1)),2&t&&(i.Db(4),i.oc(\"ngIf\",e._showToggle()))},directives:[m.l],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:\"\";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\\n'],encapsulation:2,data:{animation:[j.indicatorRotate,j.expansionHeaderHeight]},changeDetection:0}),t})(),B=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-panel-description\"]],hostAttrs:[1,\"mat-expansion-panel-header-description\"]}),t})(),H=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-panel-title\"]],hostAttrs:[1,\"mat-expansion-panel-header-title\"]}),t})(),U=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[m.c,u,p.f]]}),t})()},\"7Hc7\":function(t,e,n){\"use strict\";let i=1;const r=(()=>Promise.resolve())(),s={};function a(t){return t in s&&(delete s[t],!0)}const o={setImmediate(t){const e=i++;return s[e]=!0,r.then(()=>a(e)&&t()),e},clearImmediate(t){a(t)}};var l=n(\"3N8a\");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=o.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(o.clearImmediate(e),t.scheduled=void 0)}}var h=n(\"IjjT\");class d extends h.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<r&&(t=e.shift()));if(this.active=!1,n){for(;++i<r&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,\"a\",(function(){return u}));const u=new d(c)},\"7O5W\":function(t,e,n){\"use strict\";function i(t){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);\"function\"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(l){r=!0,s=l}finally{try{i||null==o.return||o.return()}finally{if(r)throw s}}return n}(t,e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||\"[object Arguments]\"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}n.d(e,\"b\",(function(){return fe})),n.d(e,\"a\",(function(){return be}));var l=function(){},c={},h={},d=null,u={mark:l,measure:l};try{\"undefined\"!=typeof window&&(c=window),\"undefined\"!=typeof document&&(h=document),\"undefined\"!=typeof MutationObserver&&(d=MutationObserver),\"undefined\"!=typeof performance&&(u=performance)}catch(we){}var p=(c.navigator||{}).userAgent,m=void 0===p?\"\":p,f=c,g=h,b=d,_=u,y=!!g.documentElement&&!!g.head&&\"function\"==typeof g.addEventListener&&\"function\"==typeof g.createElement,v=~m.indexOf(\"MSIE\")||~m.indexOf(\"Trident/\"),w=[\"HTML\",\"HEAD\",\"STYLE\",\"SCRIPT\"],x=function(){try{return!0}catch(we){return!1}}(),C={fas:\"solid\",far:\"regular\",fal:\"light\",fad:\"duotone\",fab:\"brands\",fa:\"solid\"},k={solid:\"fas\",regular:\"far\",light:\"fal\",duotone:\"fad\",brands:\"fab\"},O=/Font Awesome 5 (Solid|Regular|Light|Duotone|Brands|Free|Pro)/,S={900:\"fas\",400:\"far\",normal:\"far\",300:\"fal\"},M=[1,2,3,4,5,6,7,8,9,10],P=M.concat([11,12,13,14,15,16,17,18,19,20]),E=[\"class\",\"data-prefix\",\"data-icon\",\"data-fa-transform\",\"data-fa-mask\"],A={GROUP:\"group\",SWAP_OPACITY:\"swap-opacity\",PRIMARY:\"primary\",SECONDARY:\"secondary\"},D=[\"xs\",\"sm\",\"lg\",\"fw\",\"ul\",\"li\",\"border\",\"pull-left\",\"pull-right\",\"spin\",\"pulse\",\"rotate-90\",\"rotate-180\",\"rotate-270\",\"flip-horizontal\",\"flip-vertical\",\"flip-both\",\"stack\",\"stack-1x\",\"stack-2x\",\"inverse\",\"layers\",\"layers-text\",\"layers-counter\",A.GROUP,A.SWAP_OPACITY,A.PRIMARY,A.SECONDARY].concat(M.map((function(t){return\"\".concat(t,\"x\")}))).concat(P.map((function(t){return\"w-\".concat(t)}))),R=f.FontAwesomeConfig||{};g&&\"function\"==typeof g.querySelector&&[[\"data-family-prefix\",\"familyPrefix\"],[\"data-replacement-class\",\"replacementClass\"],[\"data-auto-replace-svg\",\"autoReplaceSvg\"],[\"data-auto-add-css\",\"autoAddCss\"],[\"data-auto-a11y\",\"autoA11y\"],[\"data-search-pseudo-elements\",\"searchPseudoElements\"],[\"data-observe-mutations\",\"observeMutations\"],[\"data-mutate-approach\",\"mutateApproach\"],[\"data-keep-original-source\",\"keepOriginalSource\"],[\"data-measure-performance\",\"measurePerformance\"],[\"data-show-missing-icons\",\"showMissingIcons\"]].forEach((function(t){var e=a(t,2),n=e[1],i=function(t){return\"\"===t||\"false\"!==t&&(\"true\"===t||t)}(function(t){var e=g.querySelector(\"script[\"+t+\"]\");if(e)return e.getAttribute(t)}(e[0]));null!=i&&(R[n]=i)}));var T=s({},{familyPrefix:\"fa\",replacementClass:\"svg-inline--fa\",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:\"async\",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},R);T.autoReplaceSvg||(T.observeMutations=!1);var I=s({},T);f.FontAwesomeConfig=I;var j=f||{};j.___FONT_AWESOME___||(j.___FONT_AWESOME___={}),j.___FONT_AWESOME___.styles||(j.___FONT_AWESOME___.styles={}),j.___FONT_AWESOME___.hooks||(j.___FONT_AWESOME___.hooks={}),j.___FONT_AWESOME___.shims||(j.___FONT_AWESOME___.shims=[]);var L=j.___FONT_AWESOME___,F=[],N=!1;function V(t){y&&(N?setTimeout(t,0):F.push(t))}y&&((N=(g.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(g.readyState))||g.addEventListener(\"DOMContentLoaded\",(function t(){g.removeEventListener(\"DOMContentLoaded\",t),N=1,F.map((function(t){return t()}))})));var z,B=function(){},H=\"undefined\"!=typeof global&&void 0!==global.process&&\"function\"==typeof global.process.emit,U=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,q=[];function Q(){for(var t=0;t<q.length;t++)q[t][0](q[t][1]);q=[],z=!1}function W(t,e){q.push([t,e]),z||(z=!0,U(Q,0))}function Y(t){var e=t.owner,n=e._state,i=e._data,r=t[n],s=t.then;if(\"function\"==typeof r){n=\"fulfilled\";try{i=r(i)}catch(we){K(s,we)}}$(s,i)||(\"fulfilled\"===n&&G(s,i),\"rejected\"===n&&K(s,i))}function $(t,e){var n;try{if(t===e)throw new TypeError(\"A promises callback cannot return that same promise.\");if(e&&(\"function\"==typeof e||\"object\"===i(e))){var r=e.then;if(\"function\"==typeof r)return r.call(e,(function(i){n||(n=!0,e===i?X(t,i):G(t,i))}),(function(e){n||(n=!0,K(t,e))})),!0}}catch(we){return n||K(t,we),!0}return!1}function G(t,e){t!==e&&$(t,e)||X(t,e)}function X(t,e){\"pending\"===t._state&&(t._state=\"settled\",t._data=e,W(J,t))}function K(t,e){\"pending\"===t._state&&(t._state=\"settled\",t._data=e,W(tt,t))}function Z(t){t._then=t._then.forEach(Y)}function J(t){t._state=\"fulfilled\",Z(t)}function tt(t){t._state=\"rejected\",Z(t),!t._handled&&H&&global.process.emit(\"unhandledRejection\",t._data,t)}function et(t){global.process.emit(\"rejectionHandled\",t)}function nt(t){if(\"function\"!=typeof t)throw new TypeError(\"Promise resolver \"+t+\" is not a function\");if(this instanceof nt==0)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],function(t,e){function n(t){K(e,t)}try{t((function(t){G(e,t)}),n)}catch(we){n(we)}}(t,this)}nt.prototype={constructor:nt,_state:\"pending\",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(B),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,\"rejected\"===this._state&&H&&W(et,this)),\"fulfilled\"===this._state||\"rejected\"===this._state?W(Y,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},nt.all=function(t){if(!Array.isArray(t))throw new TypeError(\"You must pass an array to Promise.all().\");return new nt((function(e,n){var i=[],r=0;function s(t){return r++,function(n){i[t]=n,--r||e(i)}}for(var a,o=0;o<t.length;o++)(a=t[o])&&\"function\"==typeof a.then?a.then(s(o),n):i[o]=a;r||e(i)}))},nt.race=function(t){if(!Array.isArray(t))throw new TypeError(\"You must pass an array to Promise.race().\");return new nt((function(e,n){for(var i,r=0;r<t.length;r++)(i=t[r])&&\"function\"==typeof i.then?i.then(e,n):e(i)}))},nt.resolve=function(t){return t&&\"object\"===i(t)&&t.constructor===nt?t:new nt((function(e){e(t)}))},nt.reject=function(t){return new nt((function(e,n){n(t)}))};var it=\"function\"==typeof Promise?Promise:nt,rt=16,st={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function at(t){if(t&&y){var e=g.createElement(\"style\");e.setAttribute(\"type\",\"text/css\"),e.innerHTML=t;for(var n=g.head.childNodes,i=null,r=n.length-1;r>-1;r--){var s=n[r],a=(s.tagName||\"\").toUpperCase();[\"STYLE\",\"LINK\"].indexOf(a)>-1&&(i=s)}return g.head.insertBefore(e,i),t}}function ot(){for(var t=12,e=\"\";t-- >0;)e+=\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\"[62*Math.random()|0];return e}function lt(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function ct(t){return t.classList?lt(t.classList):(t.getAttribute(\"class\")||\"\").split(\" \").filter((function(t){return t}))}function ht(t){return\"\".concat(t).replace(/&/g,\"&amp;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#39;\").replace(/<\/g,\"&lt;\").replace(/>/g,\"&gt;\")}function dt(t){return Object.keys(t||{}).reduce((function(e,n){return e+\"\".concat(n,\": \").concat(t[n],\";\")}),\"\")}function ut(t){return t.size!==st.size||t.x!==st.x||t.y!==st.y||t.rotate!==st.rotate||t.flipX||t.flipY}function pt(t){var e=t.transform,n=t.iconWidth,i={transform:\"translate(\".concat(t.containerWidth/2,\" 256)\")},r=\"translate(\".concat(32*e.x,\", \").concat(32*e.y,\") \"),s=\"scale(\".concat(e.size/16*(e.flipX?-1:1),\", \").concat(e.size/16*(e.flipY?-1:1),\") \"),a=\"rotate(\".concat(e.rotate,\" 0 0)\");return{outer:i,inner:{transform:\"\".concat(r,\" \").concat(s,\" \").concat(a)},path:{transform:\"translate(\".concat(n/2*-1,\" -256)\")}}}var mt={x:0,y:0,width:\"100%\",height:\"100%\"};function ft(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill=\"black\"),t}function gt(t){var e=t.icons,n=e.main,i=e.mask,r=t.prefix,a=t.iconName,o=t.transform,l=t.symbol,c=t.title,h=t.extra,d=t.watchable,u=void 0!==d&&d,p=i.found?i:n,m=p.width,f=p.height,g=\"fa-w-\".concat(Math.ceil(m/f*16)),b=[I.replacementClass,a?\"\".concat(I.familyPrefix,\"-\").concat(a):\"\",g].filter((function(t){return-1===h.classes.indexOf(t)})).concat(h.classes).join(\" \"),_={children:[],attributes:s({},h.attributes,{\"data-prefix\":r,\"data-icon\":a,class:b,role:h.attributes.role||\"img\",xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 \".concat(m,\" \").concat(f)})};u&&(_.attributes[\"data-fa-i2svg\"]=\"\"),c&&_.children.push({tag:\"title\",attributes:{id:_.attributes[\"aria-labelledby\"]||\"title-\".concat(ot())},children:[c]});var y=s({},_,{prefix:r,iconName:a,main:n,mask:i,transform:o,symbol:l,styles:h.styles}),v=i.found&&n.found?function(t){var e,n=t.children,i=t.attributes,r=t.main,a=t.mask,o=r.icon,l=a.icon,c=pt({transform:t.transform,containerWidth:a.width,iconWidth:r.width}),h={tag:\"rect\",attributes:s({},mt,{fill:\"white\"})},d=o.children?{children:o.children.map(ft)}:{},u={tag:\"g\",attributes:s({},c.inner),children:[ft(s({tag:o.tag,attributes:s({},o.attributes,c.path)},d))]},p={tag:\"g\",attributes:s({},c.outer),children:[u]},m=\"mask-\".concat(ot()),f=\"clip-\".concat(ot()),g={tag:\"mask\",attributes:s({},mt,{id:m,maskUnits:\"userSpaceOnUse\",maskContentUnits:\"userSpaceOnUse\"}),children:[h,p]},b={tag:\"defs\",children:[{tag:\"clipPath\",attributes:{id:f},children:(e=l,\"g\"===e.tag?e.children:[e])},g]};return n.push(b,{tag:\"rect\",attributes:s({fill:\"currentColor\",\"clip-path\":\"url(#\".concat(f,\")\"),mask:\"url(#\".concat(m,\")\")},mt)}),{children:n,attributes:i}}(y):function(t){var e=t.children,n=t.attributes,i=t.main,r=t.transform,a=dt(t.styles);if(a.length>0&&(n.style=a),ut(r)){var o=pt({transform:r,containerWidth:i.width,iconWidth:i.width});e.push({tag:\"g\",attributes:s({},o.outer),children:[{tag:\"g\",attributes:s({},o.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:s({},i.icon.attributes,o.path)}]}]})}else e.push(i.icon);return{children:e,attributes:n}}(y),w=v.attributes;return y.children=v.children,y.attributes=w,l?function(t){var e=t.iconName,n=t.children,i=t.symbol;return[{tag:\"svg\",attributes:{style:\"display: none;\"},children:[{tag:\"symbol\",attributes:s({},t.attributes,{id:!0===i?\"\".concat(t.prefix,\"-\").concat(I.familyPrefix,\"-\").concat(e):i}),children:n}]}]}(y):function(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,a=t.styles,o=t.transform;if(ut(o)&&n.found&&!i.found){var l={x:n.width/n.height/2,y:.5};r.style=dt(s({},a,{\"transform-origin\":\"\".concat(l.x+o.x/16,\"em \").concat(l.y+o.y/16,\"em\")}))}return[{tag:\"svg\",attributes:r,children:e}]}(y)}function bt(t){var e=t.content,n=t.width,i=t.height,r=t.transform,a=t.title,o=t.extra,l=t.watchable,c=void 0!==l&&l,h=s({},o.attributes,a?{title:a}:{},{class:o.classes.join(\" \")});c&&(h[\"data-fa-i2svg\"]=\"\");var d=s({},o.styles);ut(r)&&(d.transform=function(t){var e=t.transform,n=t.width,i=t.height,r=void 0===i?16:i,s=t.startCentered,a=void 0!==s&&s,o=\"\";return o+=a&&v?\"translate(\".concat(e.x/rt-(void 0===n?16:n)/2,\"em, \").concat(e.y/rt-r/2,\"em) \"):a?\"translate(calc(-50% + \".concat(e.x/rt,\"em), calc(-50% + \").concat(e.y/rt,\"em)) \"):\"translate(\".concat(e.x/rt,\"em, \").concat(e.y/rt,\"em) \"),(o+=\"scale(\".concat(e.size/rt*(e.flipX?-1:1),\", \").concat(e.size/rt*(e.flipY?-1:1),\") \"))+\"rotate(\".concat(e.rotate,\"deg) \")}({transform:r,startCentered:!0,width:n,height:i}),d[\"-webkit-transform\"]=d.transform);var u=dt(d);u.length>0&&(h.style=u);var p=[];return p.push({tag:\"span\",attributes:h,children:[e]}),a&&p.push({tag:\"span\",attributes:{class:\"sr-only\"},children:[a]}),p}function _t(t){var e=t.content,n=t.title,i=t.extra,r=s({},i.attributes,n?{title:n}:{},{class:i.classes.join(\" \")}),a=dt(i.styles);a.length>0&&(r.style=a);var o=[];return o.push({tag:\"span\",attributes:r,children:[e]}),n&&o.push({tag:\"span\",attributes:{class:\"sr-only\"},children:[n]}),o}var yt=function(){},vt=I.measurePerformance&&_&&_.mark&&_.measure?_:{mark:yt,measure:yt},wt='FA \"5.12.1\"',xt=function(t){return vt.mark(\"\".concat(wt,\" \").concat(t,\" begins\")),function(){return function(t){vt.mark(\"\".concat(wt,\" \").concat(t,\" ends\")),vt.measure(\"\".concat(wt,\" \").concat(t),\"\".concat(wt,\" \").concat(t,\" begins\"),\"\".concat(wt,\" \").concat(t,\" ends\"))}(t)}},Ct=function(t,e,n,i){var r,s,a,o=Object.keys(t),l=o.length,c=void 0!==i?function(t,e){return function(n,i,r,s){return t.call(e,n,i,r,s)}}(e,i):e;for(void 0===n?(r=1,a=t[o[0]]):(r=0,a=n);r<l;r++)a=c(a,t[s=o[r]],s,t);return a};function kt(t){for(var e=\"\",n=0;n<t.length;n++)e+=(\"000\"+t.charCodeAt(n).toString(16)).slice(-4);return e}function Ot(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,r=void 0!==i&&i,a=Object.keys(e).reduce((function(t,n){var i=e[n];return i.icon?t[i.iconName]=i.icon:t[n]=i,t}),{});\"function\"!=typeof L.hooks.addPack||r?L.styles[t]=s({},L.styles[t]||{},a):L.hooks.addPack(t,a),\"fas\"===t&&Ot(\"fa\",e)}var St=L.styles,Mt=L.shims,Pt={},Et={},At={},Dt=function(){var t=function(t){return Ct(St,(function(e,n,i){return e[i]=Ct(n,t,{}),e}),{})};Pt=t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),Et=t((function(t,e,n){var i=e[2];return t[n]=n,i.forEach((function(e){t[e]=n})),t}));var e=\"far\"in St;At=Ct(Mt,(function(t,n){var i=n[1];return\"far\"!==i||e||(i=\"fas\"),t[n[0]]={prefix:i,iconName:n[2]},t}),{})};function Rt(t,e){return(Pt[t]||{})[e]}Dt();var Tt=L.styles;function It(t){return t.reduce((function(t,e){var n=function(t,e){var n=e.split(\"-\"),i=n[0],r=n.slice(1).join(\"-\");return i!==t||\"\"===r||~D.indexOf(r)?null:r}(I.familyPrefix,e);if(Tt[e])t.prefix=e;else if(I.autoFetchSvg&&[\"fas\",\"far\",\"fal\",\"fad\",\"fab\",\"fa\"].indexOf(e)>-1)t.prefix=e;else if(n){var i=\"fa\"===t.prefix?At[n]||{prefix:null,iconName:null}:{};t.iconName=i.iconName||n,t.prefix=i.prefix||t.prefix}else e!==I.replacementClass&&0!==e.indexOf(\"fa-w-\")&&t.rest.push(e);return t}),{prefix:null,iconName:null,rest:[]})}function jt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Lt(t){var e=t.tag,n=t.attributes,i=void 0===n?{}:n,r=t.children,s=void 0===r?[]:r;return\"string\"==typeof t?ht(t):\"<\".concat(e,\" \").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+\"\".concat(n,'=\"').concat(ht(t[n]),'\" ')}),\"\").trim()}(i),\">\").concat(s.map(Lt).join(\"\"),\"<\/\").concat(e,\">\")}var Ft=function(){};function Nt(t){return\"string\"==typeof(t.getAttribute?t.getAttribute(\"data-fa-i2svg\"):null)}var Vt={replace:function(t){var e=t[0],n=t[1].map((function(t){return Lt(t)})).join(\"\\n\");if(e.parentNode&&e.outerHTML)e.outerHTML=n+(I.keepOriginalSource&&\"svg\"!==e.tagName.toLowerCase()?\"\\x3c!-- \".concat(e.outerHTML,\" --\\x3e\"):\"\");else if(e.parentNode){var i=document.createElement(\"span\");e.parentNode.replaceChild(i,e),i.outerHTML=n}},nest:function(t){var e=t[0],n=t[1];if(~ct(e).indexOf(I.replacementClass))return Vt.replace(t);var i=new RegExp(\"\".concat(I.familyPrefix,\"-.*\"));delete n[0].attributes.style,delete n[0].attributes.id;var r=n[0].attributes.class.split(\" \").reduce((function(t,e){return e===I.replacementClass||e.match(i)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(\" \");var s=n.map((function(t){return Lt(t)})).join(\"\\n\");e.setAttribute(\"class\",r.toNode.join(\" \")),e.setAttribute(\"data-fa-i2svg\",\"\"),e.innerHTML=s}};function zt(t){t()}function Bt(t,e){var n=\"function\"==typeof e?e:Ft;if(0===t.length)n();else{var i=zt;\"async\"===I.mutateApproach&&(i=f.requestAnimationFrame||zt),i((function(){var e=!0===I.autoReplaceSvg?Vt.replace:Vt[I.autoReplaceSvg]||Vt.replace,i=xt(\"mutate\");t.map(e),i(),n()}))}}var Ht=!1;function Ut(){Ht=!1}var qt=null;function Qt(t){if(b&&I.observeMutations){var e=t.treeCallback,n=t.nodeCallback,i=t.pseudoElementsCallback,r=t.observeMutationsRoot,s=void 0===r?g:r;qt=new b((function(t){Ht||lt(t).forEach((function(t){if(\"childList\"===t.type&&t.addedNodes.length>0&&!Nt(t.addedNodes[0])&&(I.searchPseudoElements&&i(t.target),e(t.target)),\"attributes\"===t.type&&t.target.parentNode&&I.searchPseudoElements&&i(t.target.parentNode),\"attributes\"===t.type&&Nt(t.target)&&~E.indexOf(t.attributeName))if(\"class\"===t.attributeName){var r=It(ct(t.target)),s=r.prefix,a=r.iconName;s&&t.target.setAttribute(\"data-prefix\",s),a&&t.target.setAttribute(\"data-icon\",a)}else n(t.target)}))})),y&&qt.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}var Wt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(\" \").reduce((function(t,e){var n=e.toLowerCase().split(\"-\"),i=n[0],r=n.slice(1).join(\"-\");if(i&&\"h\"===r)return t.flipX=!0,t;if(i&&\"v\"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(i){case\"grow\":t.size=t.size+r;break;case\"shrink\":t.size=t.size-r;break;case\"left\":t.x=t.x-r;break;case\"right\":t.x=t.x+r;break;case\"up\":t.y=t.y-r;break;case\"down\":t.y=t.y+r;break;case\"rotate\":t.rotate=t.rotate+r}return t}),e):e};function Yt(t){this.name=\"MissingIcon\",this.message=t||\"Icon unavailable\",this.stack=(new Error).stack}(Yt.prototype=Object.create(Error.prototype)).constructor=Yt;var $t={fill:\"currentColor\"},Gt={attributeType:\"XML\",repeatCount:\"indefinite\",dur:\"2s\"},Xt={tag:\"path\",attributes:s({},$t,{d:\"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z\"})},Kt=s({},Gt,{attributeName:\"opacity\"}),Zt={tag:\"g\",children:[Xt,{tag:\"circle\",attributes:s({},$t,{cx:\"256\",cy:\"364\",r:\"28\"}),children:[{tag:\"animate\",attributes:s({},Gt,{attributeName:\"r\",values:\"28;14;28;28;14;28;\"})},{tag:\"animate\",attributes:s({},Kt,{values:\"1;0;1;1;0;1;\"})}]},{tag:\"path\",attributes:s({},$t,{opacity:\"1\",d:\"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z\"}),children:[{tag:\"animate\",attributes:s({},Kt,{values:\"1;0;0;0;0;1;\"})}]},{tag:\"path\",attributes:s({},$t,{opacity:\"0\",d:\"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z\"}),children:[{tag:\"animate\",attributes:s({},Kt,{values:\"0;0;1;1;0;0;\"})}]}]},Jt=L.styles;function te(t){var e=t[0],n=t[1],i=a(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(i)?{tag:\"g\",attributes:{class:\"\".concat(I.familyPrefix,\"-\").concat(A.GROUP)},children:[{tag:\"path\",attributes:{class:\"\".concat(I.familyPrefix,\"-\").concat(A.SECONDARY),fill:\"currentColor\",d:i[0]}},{tag:\"path\",attributes:{class:\"\".concat(I.familyPrefix,\"-\").concat(A.PRIMARY),fill:\"currentColor\",d:i[1]}}]}:{tag:\"path\",attributes:{fill:\"currentColor\",d:i}}}}function ee(t,e){return new it((function(n,r){var s={found:!1,width:512,height:512,icon:Zt};if(t&&e&&Jt[e]&&Jt[e][t])return n(te(Jt[e][t]));\"object\"===i(f.FontAwesomeKitConfig)&&window,t&&e&&!I.showMissingIcons?r(new Yt(\"Icon is missing for prefix \".concat(e,\" with icon name \").concat(t))):n(s)}))}var ne=L.styles;function ie(t){var e=function(t){var e=function(t){var e=t.getAttribute(\"data-prefix\"),n=t.getAttribute(\"data-icon\"),i=void 0!==t.innerText?t.innerText.trim():\"\",r=It(ct(t));return e&&n&&(r.prefix=e,r.iconName=n),r.prefix&&i.length>1?r.iconName=(Et[r.prefix]||{})[t.innerText]:r.prefix&&1===i.length&&(r.iconName=Rt(r.prefix,kt(t.innerText))),r}(t),n=e.iconName,i=e.prefix,r=e.rest,s=function(t){var e=t.getAttribute(\"style\"),n=[];return e&&(n=e.split(\";\").reduce((function(t,e){var n=e.split(\":\"),i=n[0],r=n.slice(1);return i&&r.length>0&&(t[i]=r.join(\":\").trim()),t}),{})),n}(t),a=function(t){return Wt(t.getAttribute(\"data-fa-transform\"))}(t),o=function(t){var e=t.getAttribute(\"data-fa-symbol\");return null!==e&&(\"\"===e||e)}(t),l=function(t){var e=lt(t.attributes).reduce((function(t,e){return\"class\"!==t.name&&\"style\"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute(\"title\");return I.autoA11y&&(n?e[\"aria-labelledby\"]=\"\".concat(I.replacementClass,\"-title-\").concat(ot()):(e[\"aria-hidden\"]=\"true\",e.focusable=\"false\")),e}(t),c=function(t){var e=t.getAttribute(\"data-fa-mask\");return e?It(e.split(\" \").map((function(t){return t.trim()}))):{prefix:null,iconName:null,rest:[]}}(t);return{iconName:n,title:t.getAttribute(\"title\"),prefix:i,transform:a,symbol:o,mask:c,extra:{classes:r,styles:s,attributes:l}}}(t);return~e.extra.classes.indexOf(\"fa-layers-text\")?function(t,e){var n=e.title,i=e.transform,r=e.extra,s=null,a=null;if(v){var o=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/o,a=l.height/o}return I.autoA11y&&!n&&(r.attributes[\"aria-hidden\"]=\"true\"),it.resolve([t,bt({content:t.innerHTML,width:s,height:a,transform:i,title:n,extra:r,watchable:!0})])}(t,e):function(t,e){var n=e.iconName,i=e.title,r=e.prefix,s=e.transform,o=e.symbol,l=e.mask,c=e.extra;return new it((function(e,h){it.all([ee(n,r),ee(l.iconName,l.prefix)]).then((function(l){var h=a(l,2),d=h[1];e([t,gt({icons:{main:h[0],mask:d},prefix:r,iconName:n,transform:s,symbol:o,mask:d,title:i,extra:c,watchable:!0})])}))}))}(t,e)}function re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(y){var n=g.documentElement.classList,i=function(t){return n.add(\"\".concat(\"fontawesome-i2svg\",\"-\").concat(t))},r=function(t){return n.remove(\"\".concat(\"fontawesome-i2svg\",\"-\").concat(t))},s=Object.keys(I.autoFetchSvg?C:ne),a=[\".\".concat(\"fa-layers-text\",\":not([\").concat(\"data-fa-i2svg\",\"])\")].concat(s.map((function(t){return\".\".concat(t,\":not([\").concat(\"data-fa-i2svg\",\"])\")}))).join(\", \");if(0!==a.length){var o=[];try{o=lt(t.querySelectorAll(a))}catch(we){}if(o.length>0){i(\"pending\"),r(\"complete\");var l=xt(\"onTree\"),c=o.reduce((function(t,e){try{var n=ie(e);n&&t.push(n)}catch(we){x||we instanceof Yt&&console.error(we)}return t}),[]);return new it((function(t,n){it.all(c).then((function(n){Bt(n,(function(){i(\"active\"),i(\"complete\"),r(\"pending\"),\"function\"==typeof e&&e(),l(),t()}))})).catch((function(){l(),n()}))}))}}}}function se(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ie(t).then((function(t){t&&Bt([t],e)}))}function ae(t,e){var n=\"\".concat(\"data-fa-pseudo-element-pending\").concat(e.replace(\":\",\"-\"));return new it((function(i,r){if(null!==t.getAttribute(n))return i();var a=lt(t.children).filter((function(t){return t.getAttribute(\"data-fa-pseudo-element\")===e}))[0],o=f.getComputedStyle(t,e),l=o.getPropertyValue(\"font-family\").match(O),c=o.getPropertyValue(\"font-weight\"),h=o.getPropertyValue(\"content\");if(a&&!l)return t.removeChild(a),i();if(l&&\"none\"!==h&&\"\"!==h){var d=~[\"Solid\",\"Regular\",\"Light\",\"Duotone\",\"Brands\"].indexOf(l[1])?k[l[1].toLowerCase()]:S[c],u=kt(3===h.length?h.substr(1,1):h),p=Rt(d,u),m=p;if(!p||a&&a.getAttribute(\"data-prefix\")===d&&a.getAttribute(\"data-icon\")===m)i();else{t.setAttribute(n,m),a&&t.removeChild(a);var b={iconName:null,title:null,prefix:null,transform:st,symbol:!1,mask:null,extra:{classes:[],styles:{},attributes:{}}},_=b.extra;_.attributes[\"data-fa-pseudo-element\"]=e,ee(p,d).then((function(r){var a=gt(s({},b,{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:d,iconName:m,extra:_,watchable:!0})),o=g.createElement(\"svg\");\":before\"===e?t.insertBefore(o,t.firstChild):t.appendChild(o),o.outerHTML=a.map((function(t){return Lt(t)})).join(\"\\n\"),t.removeAttribute(n),i()})).catch(r)}}else i()}))}function oe(t){return it.all([ae(t,\":before\"),ae(t,\":after\")])}function le(t){return!(t.parentNode===document.head||~w.indexOf(t.tagName.toUpperCase())||t.getAttribute(\"data-fa-pseudo-element\")||t.parentNode&&\"svg\"===t.parentNode.tagName)}function ce(t){if(y)return new it((function(e,n){var i=lt(t.querySelectorAll(\"*\")).filter(le).map(oe),r=xt(\"searchPseudoElements\");Ht=!0,it.all(i).then((function(){r(),Ut(),e()})).catch((function(){r(),Ut(),n()}))}))}function he(){var t=\"svg-inline--fa\",e=I.familyPrefix,n=I.replacementClass,i='svg:not(:root).svg-inline--fa {\\n  overflow: visible;\\n}\\n\\n.svg-inline--fa {\\n  display: inline-block;\\n  font-size: inherit;\\n  height: 1em;\\n  overflow: visible;\\n  vertical-align: -0.125em;\\n}\\n.svg-inline--fa.fa-lg {\\n  vertical-align: -0.225em;\\n}\\n.svg-inline--fa.fa-w-1 {\\n  width: 0.0625em;\\n}\\n.svg-inline--fa.fa-w-2 {\\n  width: 0.125em;\\n}\\n.svg-inline--fa.fa-w-3 {\\n  width: 0.1875em;\\n}\\n.svg-inline--fa.fa-w-4 {\\n  width: 0.25em;\\n}\\n.svg-inline--fa.fa-w-5 {\\n  width: 0.3125em;\\n}\\n.svg-inline--fa.fa-w-6 {\\n  width: 0.375em;\\n}\\n.svg-inline--fa.fa-w-7 {\\n  width: 0.4375em;\\n}\\n.svg-inline--fa.fa-w-8 {\\n  width: 0.5em;\\n}\\n.svg-inline--fa.fa-w-9 {\\n  width: 0.5625em;\\n}\\n.svg-inline--fa.fa-w-10 {\\n  width: 0.625em;\\n}\\n.svg-inline--fa.fa-w-11 {\\n  width: 0.6875em;\\n}\\n.svg-inline--fa.fa-w-12 {\\n  width: 0.75em;\\n}\\n.svg-inline--fa.fa-w-13 {\\n  width: 0.8125em;\\n}\\n.svg-inline--fa.fa-w-14 {\\n  width: 0.875em;\\n}\\n.svg-inline--fa.fa-w-15 {\\n  width: 0.9375em;\\n}\\n.svg-inline--fa.fa-w-16 {\\n  width: 1em;\\n}\\n.svg-inline--fa.fa-w-17 {\\n  width: 1.0625em;\\n}\\n.svg-inline--fa.fa-w-18 {\\n  width: 1.125em;\\n}\\n.svg-inline--fa.fa-w-19 {\\n  width: 1.1875em;\\n}\\n.svg-inline--fa.fa-w-20 {\\n  width: 1.25em;\\n}\\n.svg-inline--fa.fa-pull-left {\\n  margin-right: 0.3em;\\n  width: auto;\\n}\\n.svg-inline--fa.fa-pull-right {\\n  margin-left: 0.3em;\\n  width: auto;\\n}\\n.svg-inline--fa.fa-border {\\n  height: 1.5em;\\n}\\n.svg-inline--fa.fa-li {\\n  width: 2em;\\n}\\n.svg-inline--fa.fa-fw {\\n  width: 1.25em;\\n}\\n\\n.fa-layers svg.svg-inline--fa {\\n  bottom: 0;\\n  left: 0;\\n  margin: auto;\\n  position: absolute;\\n  right: 0;\\n  top: 0;\\n}\\n\\n.fa-layers {\\n  display: inline-block;\\n  height: 1em;\\n  position: relative;\\n  text-align: center;\\n  vertical-align: -0.125em;\\n  width: 1em;\\n}\\n.fa-layers svg.svg-inline--fa {\\n  -webkit-transform-origin: center center;\\n          transform-origin: center center;\\n}\\n\\n.fa-layers-counter, .fa-layers-text {\\n  display: inline-block;\\n  position: absolute;\\n  text-align: center;\\n}\\n\\n.fa-layers-text {\\n  left: 50%;\\n  top: 50%;\\n  -webkit-transform: translate(-50%, -50%);\\n          transform: translate(-50%, -50%);\\n  -webkit-transform-origin: center center;\\n          transform-origin: center center;\\n}\\n\\n.fa-layers-counter {\\n  background-color: #ff253a;\\n  border-radius: 1em;\\n  -webkit-box-sizing: border-box;\\n          box-sizing: border-box;\\n  color: #fff;\\n  height: 1.5em;\\n  line-height: 1;\\n  max-width: 5em;\\n  min-width: 1.5em;\\n  overflow: hidden;\\n  padding: 0.25em;\\n  right: 0;\\n  text-overflow: ellipsis;\\n  top: 0;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: top right;\\n          transform-origin: top right;\\n}\\n\\n.fa-layers-bottom-right {\\n  bottom: 0;\\n  right: 0;\\n  top: auto;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: bottom right;\\n          transform-origin: bottom right;\\n}\\n\\n.fa-layers-bottom-left {\\n  bottom: 0;\\n  left: 0;\\n  right: auto;\\n  top: auto;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: bottom left;\\n          transform-origin: bottom left;\\n}\\n\\n.fa-layers-top-right {\\n  right: 0;\\n  top: 0;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: top right;\\n          transform-origin: top right;\\n}\\n\\n.fa-layers-top-left {\\n  left: 0;\\n  right: auto;\\n  top: 0;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: top left;\\n          transform-origin: top left;\\n}\\n\\n.fa-lg {\\n  font-size: 1.3333333333em;\\n  line-height: 0.75em;\\n  vertical-align: -0.0667em;\\n}\\n\\n.fa-xs {\\n  font-size: 0.75em;\\n}\\n\\n.fa-sm {\\n  font-size: 0.875em;\\n}\\n\\n.fa-1x {\\n  font-size: 1em;\\n}\\n\\n.fa-2x {\\n  font-size: 2em;\\n}\\n\\n.fa-3x {\\n  font-size: 3em;\\n}\\n\\n.fa-4x {\\n  font-size: 4em;\\n}\\n\\n.fa-5x {\\n  font-size: 5em;\\n}\\n\\n.fa-6x {\\n  font-size: 6em;\\n}\\n\\n.fa-7x {\\n  font-size: 7em;\\n}\\n\\n.fa-8x {\\n  font-size: 8em;\\n}\\n\\n.fa-9x {\\n  font-size: 9em;\\n}\\n\\n.fa-10x {\\n  font-size: 10em;\\n}\\n\\n.fa-fw {\\n  text-align: center;\\n  width: 1.25em;\\n}\\n\\n.fa-ul {\\n  list-style-type: none;\\n  margin-left: 2.5em;\\n  padding-left: 0;\\n}\\n.fa-ul > li {\\n  position: relative;\\n}\\n\\n.fa-li {\\n  left: -2em;\\n  position: absolute;\\n  text-align: center;\\n  width: 2em;\\n  line-height: inherit;\\n}\\n\\n.fa-border {\\n  border: solid 0.08em #eee;\\n  border-radius: 0.1em;\\n  padding: 0.2em 0.25em 0.15em;\\n}\\n\\n.fa-pull-left {\\n  float: left;\\n}\\n\\n.fa-pull-right {\\n  float: right;\\n}\\n\\n.fa.fa-pull-left,\\n.fas.fa-pull-left,\\n.far.fa-pull-left,\\n.fal.fa-pull-left,\\n.fab.fa-pull-left {\\n  margin-right: 0.3em;\\n}\\n.fa.fa-pull-right,\\n.fas.fa-pull-right,\\n.far.fa-pull-right,\\n.fal.fa-pull-right,\\n.fab.fa-pull-right {\\n  margin-left: 0.3em;\\n}\\n\\n.fa-spin {\\n  -webkit-animation: fa-spin 2s infinite linear;\\n          animation: fa-spin 2s infinite linear;\\n}\\n\\n.fa-pulse {\\n  -webkit-animation: fa-spin 1s infinite steps(8);\\n          animation: fa-spin 1s infinite steps(8);\\n}\\n\\n@-webkit-keyframes fa-spin {\\n  0% {\\n    -webkit-transform: rotate(0deg);\\n            transform: rotate(0deg);\\n  }\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n            transform: rotate(360deg);\\n  }\\n}\\n\\n@keyframes fa-spin {\\n  0% {\\n    -webkit-transform: rotate(0deg);\\n            transform: rotate(0deg);\\n  }\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n            transform: rotate(360deg);\\n  }\\n}\\n.fa-rotate-90 {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";\\n  -webkit-transform: rotate(90deg);\\n          transform: rotate(90deg);\\n}\\n\\n.fa-rotate-180 {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";\\n  -webkit-transform: rotate(180deg);\\n          transform: rotate(180deg);\\n}\\n\\n.fa-rotate-270 {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";\\n  -webkit-transform: rotate(270deg);\\n          transform: rotate(270deg);\\n}\\n\\n.fa-flip-horizontal {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";\\n  -webkit-transform: scale(-1, 1);\\n          transform: scale(-1, 1);\\n}\\n\\n.fa-flip-vertical {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\";\\n  -webkit-transform: scale(1, -1);\\n          transform: scale(1, -1);\\n}\\n\\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\";\\n  -webkit-transform: scale(-1, -1);\\n          transform: scale(-1, -1);\\n}\\n\\n:root .fa-rotate-90,\\n:root .fa-rotate-180,\\n:root .fa-rotate-270,\\n:root .fa-flip-horizontal,\\n:root .fa-flip-vertical,\\n:root .fa-flip-both {\\n  -webkit-filter: none;\\n          filter: none;\\n}\\n\\n.fa-stack {\\n  display: inline-block;\\n  height: 2em;\\n  position: relative;\\n  width: 2.5em;\\n}\\n\\n.fa-stack-1x,\\n.fa-stack-2x {\\n  bottom: 0;\\n  left: 0;\\n  margin: auto;\\n  position: absolute;\\n  right: 0;\\n  top: 0;\\n}\\n\\n.svg-inline--fa.fa-stack-1x {\\n  height: 1em;\\n  width: 1.25em;\\n}\\n.svg-inline--fa.fa-stack-2x {\\n  height: 2em;\\n  width: 2.5em;\\n}\\n\\n.fa-inverse {\\n  color: #fff;\\n}\\n\\n.sr-only {\\n  border: 0;\\n  clip: rect(0, 0, 0, 0);\\n  height: 1px;\\n  margin: -1px;\\n  overflow: hidden;\\n  padding: 0;\\n  position: absolute;\\n  width: 1px;\\n}\\n\\n.sr-only-focusable:active, .sr-only-focusable:focus {\\n  clip: auto;\\n  height: auto;\\n  margin: 0;\\n  overflow: visible;\\n  position: static;\\n  width: auto;\\n}\\n\\n.svg-inline--fa .fa-primary {\\n  fill: var(--fa-primary-color, currentColor);\\n  opacity: 1;\\n  opacity: var(--fa-primary-opacity, 1);\\n}\\n\\n.svg-inline--fa .fa-secondary {\\n  fill: var(--fa-secondary-color, currentColor);\\n  opacity: 0.4;\\n  opacity: var(--fa-secondary-opacity, 0.4);\\n}\\n\\n.svg-inline--fa.fa-swap-opacity .fa-primary {\\n  opacity: 0.4;\\n  opacity: var(--fa-secondary-opacity, 0.4);\\n}\\n\\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\\n  opacity: 1;\\n  opacity: var(--fa-primary-opacity, 1);\\n}\\n\\n.svg-inline--fa mask .fa-primary,\\n.svg-inline--fa mask .fa-secondary {\\n  fill: black;\\n}\\n\\n.fad.fa-inverse {\\n  color: #fff;\\n}';if(\"fa\"!==e||n!==t){var r=new RegExp(\"\\\\.\".concat(\"fa\",\"\\\\-\"),\"g\"),s=new RegExp(\"\\\\--\".concat(\"fa\",\"\\\\-\"),\"g\"),a=new RegExp(\"\\\\.\".concat(t),\"g\");i=i.replace(r,\".\".concat(e,\"-\")).replace(s,\"--\".concat(e,\"-\")).replace(a,\".\".concat(n))}return i}function de(){I.autoAddCss&&!ge&&(at(he()),ge=!0)}function ue(t,e){return Object.defineProperty(t,\"abstract\",{get:e}),Object.defineProperty(t,\"html\",{get:function(){return t.abstract.map((function(t){return Lt(t)}))}}),Object.defineProperty(t,\"node\",{get:function(){if(y){var e=g.createElement(\"div\");return e.innerHTML=t.html,e.children}}}),t}function pe(t){var e=t.prefix,n=void 0===e?\"fa\":e,i=t.iconName;if(i)return jt(fe.definitions,n,i)||jt(L.styles,n,i)}var me,fe=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this.definitions={}}var e;return(e=[{key:\"add\",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(e){t.definitions[e]=s({},t.definitions[e]||{},r[e]),Ot(e,r[e]),Dt()}))}},{key:\"reset\",value:function(){this.definitions={}}},{key:\"_pullDefinitions\",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var i=n[e],r=i.prefix,s=i.iconName,a=i.icon;t[r]||(t[r]={}),t[r][s]=a})),t}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}()),ge=!1,be={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(y){de();var e=t.node,n=void 0===e?g:e,i=t.callback,r=void 0===i?function(){}:i;return I.searchPseudoElements&&ce(n),re(n,r)}return it.reject(\"Operation requires a DOM of some kind.\")},css:he,insertCss:function(){ge||(at(he()),ge=!0)},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=t.observeMutationsRoot;!1===I.autoReplaceSvg&&(I.autoReplaceSvg=!0),I.observeMutations=!0,V((function(){ve({autoReplaceSvgRoot:e}),Qt({treeCallback:re,nodeCallback:se,pseudoElementsCallback:ce,observeMutationsRoot:n})}))}},_e=(me=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?st:n,r=e.symbol,a=void 0!==r&&r,o=e.mask,l=void 0===o?null:o,c=e.title,h=void 0===c?null:c,d=e.classes,u=void 0===d?[]:d,p=e.attributes,m=void 0===p?{}:p,f=e.styles,g=void 0===f?{}:f;if(t){var b=t.prefix,_=t.iconName,y=t.icon;return ue(s({type:\"icon\"},t),(function(){return de(),I.autoA11y&&(h?m[\"aria-labelledby\"]=\"\".concat(I.replacementClass,\"-title-\").concat(ot()):(m[\"aria-hidden\"]=\"true\",m.focusable=\"false\")),gt({icons:{main:te(y),mask:l?te(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:s({},st,i),symbol:a,title:h,extra:{attributes:m,styles:g,classes:u}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:pe(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:pe(i||{})),me(n,s({},e,{mask:i}))}),ye={noAuto:function(){I.autoReplaceSvg=!1,I.observeMutations=!1,qt&&qt.disconnect()},config:I,dom:be,library:fe,parse:{transform:function(t){return Wt(t)}},findIconDefinition:pe,icon:_e,text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?st:n,r=e.title,a=void 0===r?null:r,l=e.classes,c=void 0===l?[]:l,h=e.attributes,d=void 0===h?{}:h,u=e.styles,p=void 0===u?{}:u;return ue({type:\"text\",content:t},(function(){return de(),bt({content:t,transform:s({},st,i),title:a,extra:{attributes:d,styles:p,classes:[\"\".concat(I.familyPrefix,\"-layers-text\")].concat(o(c))}})}))},counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,i=void 0===n?null:n,r=e.classes,s=void 0===r?[]:r,a=e.attributes,l=void 0===a?{}:a,c=e.styles,h=void 0===c?{}:c;return ue({type:\"counter\",content:t},(function(){return de(),_t({content:t.toString(),title:i,extra:{attributes:l,styles:h,classes:[\"\".concat(I.familyPrefix,\"-layers-counter\")].concat(o(s))}})}))},layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,i=void 0===n?[]:n;return ue({type:\"layer\"},(function(){de();var e=[];return t((function(t){Array.isArray(t)?t.map((function(t){e=e.concat(t.abstract)})):e=e.concat(t.abstract)})),[{tag:\"span\",attributes:{class:[\"\".concat(I.familyPrefix,\"-layers\")].concat(o(i)).join(\" \")},children:e}]}))},toHtml:Lt},ve=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?g:e;(Object.keys(L.styles).length>0||I.autoFetchSvg)&&y&&I.autoReplaceSvg&&ye.dom.i2svg({node:n})}},\"7jRU\":function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return-1}},\"7o/Q\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"n6bG\"),r=n(\"gRHU\"),s=n(\"quSY\"),a=n(\"2QA8\"),o=n(\"2fFW\"),l=n(\"NJ4a\");class c extends s.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!t){this.destination=r.a;break}if(\"object\"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new h(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new h(this,t,e,n)}}[a.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class h extends c{constructor(t,e,n,s){let a;super(),this._parentSubscriber=t;let o=this;Object(i.a)(e)?a=e:e&&(a=e.next,n=e.error,s=e.complete,e!==r.a&&(o=Object.create(e),Object(i.a)(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=a,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!o.a.useDeprecatedSynchronousErrorHandling)throw new Error(\"bad call\");try{e.call(this._context,n)}catch(i){return o.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},\"7pIB\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c})),n.d(e,\"b\",(function(){return h})),n.d(e,\"c\",(function(){return l}));var i=n(\"fXoL\"),r=n(\"ofXK\");class s{constructor(t){var e;this.rawFile=t;let n=(e=t)&&(e.nodeName||e.prop&&e.attr&&e.find)?t.value:t;this[\"_createFrom\"+(\"string\"==typeof n?\"FakePath\":\"Object\")](n)}_createFromFakePath(t){this.lastModifiedDate=void 0,this.size=void 0,this.type=\"like/\"+t.slice(t.lastIndexOf(\".\")+1).toLowerCase(),this.name=t.slice(t.lastIndexOf(\"/\")+t.lastIndexOf(\"\\\\\")+2)}_createFromObject(t){this.size=t.size,this.type=t.type,this.name=t.name}}class a{constructor(t,e,n){this.url=\"/\",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=t,this.some=e,this.options=n,this.file=new s(e),this._file=e,t.options&&(this.method=t.options.method||\"POST\",this.alias=t.options.itemAlias||\"file\"),this.url=t.options.url}upload(){try{this.uploader.uploadItem(this)}catch(t){this.uploader._onCompleteItem(this,\"\",0,{}),this.uploader._onErrorItem(this,\"\",0,{})}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(t){return{form:t}}onProgress(t){return{progress:t}}onSuccess(t,e,n){return{response:t,status:e,headers:n}}onError(t,e,n){return{response:t,status:e,headers:n}}onCancel(t,e,n){return{response:t,status:e,headers:n}}onComplete(t,e,n){return{response:t,status:e,headers:n}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(t){this.onBuildForm(t)}_onProgress(t){this.progress=t,this.onProgress(t)}_onSuccess(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(t,e,n)}_onError(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(t,e,n)}_onCancel(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(t,e,n)}_onComplete(t,e,n){this.onComplete(t,e,n),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let o=(()=>{class t{static getMimeClass(t){let e=\"application\";return-1!==this.mime_psd.indexOf(t.type)?e=\"image\":t.type.match(\"image.*\")?e=\"image\":t.type.match(\"video.*\")?e=\"video\":t.type.match(\"audio.*\")?e=\"audio\":\"application/pdf\"===t.type?e=\"pdf\":-1!==this.mime_compress.indexOf(t.type)?e=\"compress\":-1!==this.mime_doc.indexOf(t.type)?e=\"doc\":-1!==this.mime_xsl.indexOf(t.type)?e=\"xls\":-1!==this.mime_ppt.indexOf(t.type)&&(e=\"ppt\"),\"application\"===e&&(e=this.fileTypeDetection(t.name)),e}static fileTypeDetection(t){let e={jpg:\"image\",jpeg:\"image\",tif:\"image\",psd:\"image\",bmp:\"image\",png:\"image\",nef:\"image\",tiff:\"image\",cr2:\"image\",dwg:\"image\",cdr:\"image\",ai:\"image\",indd:\"image\",pin:\"image\",cdp:\"image\",skp:\"image\",stp:\"image\",\"3dm\":\"image\",mp3:\"audio\",wav:\"audio\",wma:\"audio\",mod:\"audio\",m4a:\"audio\",compress:\"compress\",zip:\"compress\",rar:\"compress\",\"7z\":\"compress\",lz:\"compress\",z01:\"compress\",bz2:\"compress\",gz:\"compress\",pdf:\"pdf\",xls:\"xls\",xlsx:\"xls\",ods:\"xls\",mp4:\"video\",avi:\"video\",wmv:\"video\",mpg:\"video\",mts:\"video\",flv:\"video\",\"3gp\":\"video\",vob:\"video\",m4v:\"video\",mpeg:\"video\",m2ts:\"video\",mov:\"video\",doc:\"doc\",docx:\"doc\",eps:\"doc\",txt:\"doc\",odt:\"doc\",rtf:\"doc\",ppt:\"ppt\",pptx:\"ppt\",pps:\"ppt\",ppsx:\"ppt\",odp:\"ppt\"},n=t.split(\".\");if(n.length<2)return\"application\";let i=n[n.length-1].toLowerCase();return void 0===e[i]?\"application\":e[i]}}return t.mime_doc=[\"application/msword\",\"application/msword\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\",\"application/vnd.ms-word.document.macroEnabled.12\",\"application/vnd.ms-word.template.macroEnabled.12\"],t.mime_xsl=[\"application/vnd.ms-excel\",\"application/vnd.ms-excel\",\"application/vnd.ms-excel\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\",\"application/vnd.ms-excel.sheet.macroEnabled.12\",\"application/vnd.ms-excel.template.macroEnabled.12\",\"application/vnd.ms-excel.addin.macroEnabled.12\",\"application/vnd.ms-excel.sheet.binary.macroEnabled.12\"],t.mime_ppt=[\"application/vnd.ms-powerpoint\",\"application/vnd.ms-powerpoint\",\"application/vnd.ms-powerpoint\",\"application/vnd.ms-powerpoint\",\"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\"application/vnd.openxmlformats-officedocument.presentationml.template\",\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\",\"application/vnd.ms-powerpoint.addin.macroEnabled.12\",\"application/vnd.ms-powerpoint.presentation.macroEnabled.12\",\"application/vnd.ms-powerpoint.presentation.macroEnabled.12\",\"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\"],t.mime_psd=[\"image/photoshop\",\"image/x-photoshop\",\"image/psd\",\"application/photoshop\",\"application/psd\",\"zz-application/zz-winassoc-psd\"],t.mime_compress=[\"application/x-gtar\",\"application/x-gcompress\",\"application/compress\",\"application/x-tar\",\"application/x-rar-compressed\",\"application/octet-stream\",\"application/x-zip-compressed\",\"application/zip-compressed\",\"application/x-7z-compressed\",\"application/gzip\",\"application/x-bzip2\"],t})();class l{constructor(t){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:t=>t._file,formatDataFunctionIsAsync:!1},this.setOptions(t),this.response=new i.o}setOptions(t){this.options=Object.assign(this.options,t),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||\"Authorization\",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:\"queueLimit\",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:\"fileSize\",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:\"fileType\",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:\"mimeType\",fn:this._mimeTypeFilter});for(let e=0;e<this.queue.length;e++)this.queue[e].url=this.options.url}addToQueue(t,e,n){let i=[];for(let s of t)i.push(s);let r=this._getFilters(n),o=this.queue.length,l=[];i.map(t=>{e||(e=this.options);let n=new s(t);if(this._isValidFile(n,r,e)){let n=new a(this,t,e);l.push(n),this.queue.push(n),this._onAfterAddingFile(n)}else this._onWhenAddingFileFailed(n,r[this._failFilterIndex],e)}),this.queue.length!==o&&(this._onAfterAddingAll(l),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(t){let e=this.getIndexOfItem(t),n=this.queue[e];n.isUploading&&n.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(t){let e=this.getIndexOfItem(t),n=this.queue[e],i=this.options.isHTML5?\"_xhrTransport\":\"_iframeTransport\";n._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[i](n))}cancelItem(t){let e=this.getIndexOfItem(t),n=this.queue[e];n&&n.isUploading&&(this.options.isHTML5?n._xhr:n._form).abort()}uploadAll(){let t=this.getNotUploadedItems().filter(t=>!t.isUploading);t.length&&(t.map(t=>t._prepareToUploading()),t[0].upload())}cancelAll(){this.getNotUploadedItems().map(t=>t.cancel())}isFile(t){return function(t){return File&&t instanceof File}(t)}isFileLikeObject(t){return t instanceof s}getIndexOfItem(t){return\"number\"==typeof t?t:this.queue.indexOf(t)}getNotUploadedItems(){return this.queue.filter(t=>!t.isUploaded)}getReadyItems(){return this.queue.filter(t=>t.isReady&&!t.isUploading).sort((t,e)=>t.index-e.index)}destroy(){}onAfterAddingAll(t){return{fileItems:t}}onBuildItemForm(t,e){return{fileItem:t,form:e}}onAfterAddingFile(t){return{fileItem:t}}onWhenAddingFileFailed(t,e,n){return{item:t,filter:e,options:n}}onBeforeUploadItem(t){return{fileItem:t}}onProgressItem(t,e){return{fileItem:t,progress:e}}onProgressAll(t){return{progress:t}}onSuccessItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onErrorItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onCancelItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onCompleteItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onCompleteAll(){}_mimeTypeFilter(t){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(t.type))}_fileSizeFilter(t){return!(this.options.maxFileSize&&t.size>this.options.maxFileSize)}_fileTypeFilter(t){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(o.getMimeClass(t)))}_onErrorItem(t,e,n,i){t._onError(e,n,i),this.onErrorItem(t,e,n,i)}_onCompleteItem(t,e,n,i){t._onComplete(e,n,i),this.onCompleteItem(t,e,n,i);let r=this.getReadyItems()[0];this.isUploading=!1,r?r.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(t){return e=>e?t[e.toLowerCase()]||void 0:t}_xhrTransport(t){let e,n=this,i=t._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(t),\"number\"!=typeof t._file.size)throw new TypeError(\"The file specified is no longer valid\");if(this.options.disableMultipart)e=this.options.formatDataFunction(t);else{e=new FormData,this._onBuildItemForm(t,e);const n=()=>e.append(t.alias,t._file,t.file.name);this.options.parametersBeforeFiles||n(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(n=>{let i=this.options.additionalParameter[n];\"string\"==typeof i&&i.indexOf(\"{{file_name}}\")>=0&&(i=i.replace(\"{{file_name}}\",t.file.name)),e.append(n,i)}),this.options.parametersBeforeFiles&&n()}if(i.upload.onprogress=e=>{let n=Math.round(e.lengthComputable?100*e.loaded/e.total:0);this._onProgressItem(t,n)},i.onload=()=>{let e=this._parseHeaders(i.getAllResponseHeaders()),n=this._transformResponse(i.response,e);this[\"_on\"+(this._isSuccessCode(i.status)?\"Success\":\"Error\")+\"Item\"](t,n,i.status,e),this._onCompleteItem(t,n,i.status,e)},i.onerror=()=>{let e=this._parseHeaders(i.getAllResponseHeaders()),n=this._transformResponse(i.response,e);this._onErrorItem(t,n,i.status,e),this._onCompleteItem(t,n,i.status,e)},i.onabort=()=>{let e=this._parseHeaders(i.getAllResponseHeaders()),n=this._transformResponse(i.response,e);this._onCancelItem(t,n,i.status,e),this._onCompleteItem(t,n,i.status,e)},i.open(t.method,t.url,!0),i.withCredentials=t.withCredentials,this.options.headers)for(let r of this.options.headers)i.setRequestHeader(r.name,r.value);if(t.headers.length)for(let r of t.headers)i.setRequestHeader(r.name,r.value);this.authToken&&i.setRequestHeader(this.authTokenHeader,this.authToken),i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&n.response.emit(i.responseText)},this.options.formatDataFunctionIsAsync?e.then(t=>i.send(JSON.stringify(t))):i.send(e),this._render()}_getTotalProgress(t=0){if(this.options.removeAfterUpload)return t;let e=this.getNotUploadedItems().length,n=100/this.queue.length;return Math.round((e?this.queue.length-e:this.queue.length)*n+t*n/100)}_getFilters(t){if(!t)return this.options.filters;if(Array.isArray(t))return t;if(\"string\"==typeof t){let e=t.match(/[^\\s,]+/g);return this.options.filters.filter(t=>-1!==e.indexOf(t.name))}return this.options.filters}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}_isValidFile(t,e,n){return this._failFilterIndex=-1,!e.length||e.every(e=>(this._failFilterIndex++,e.fn.call(this,t,n)))}_isSuccessCode(t){return t>=200&&t<300||304===t}_transformResponse(t,e){return t}_parseHeaders(t){let e,n,i,r={};return t?(t.split(\"\\n\").map(t=>{i=t.indexOf(\":\"),e=t.slice(0,i).trim().toLowerCase(),n=t.slice(i+1).trim(),e&&(r[e]=r[e]?r[e]+\", \"+n:n)}),r):r}_onWhenAddingFileFailed(t,e,n){this.onWhenAddingFileFailed(t,e,n)}_onAfterAddingFile(t){this.onAfterAddingFile(t)}_onAfterAddingAll(t){this.onAfterAddingAll(t)}_onBeforeUploadItem(t){t._onBeforeUpload(),this.onBeforeUploadItem(t)}_onBuildItemForm(t,e){t._onBuildForm(e),this.onBuildItemForm(t,e)}_onProgressItem(t,e){let n=this._getTotalProgress(e);this.progress=n,t._onProgress(e),this.onProgressItem(t,e),this.onProgressAll(n),this._render()}_onSuccessItem(t,e,n,i){t._onSuccess(e,n,i),this.onSuccessItem(t,e,n,i)}_onCancelItem(t,e,n,i){t._onCancel(e,n,i),this.onCancelItem(t,e,n,i)}}let c=(()=>{class t{constructor(t){this.onFileSelected=new i.o,this.element=t}getOptions(){return this.uploader.options}getFilters(){return{}}isEmptyAfterSelection(){return!!this.element.nativeElement.attributes.multiple}onChange(){let t=this.element.nativeElement.files,e=this.getOptions(),n=this.getFilters();this.uploader.addToQueue(t,e,n),this.onFileSelected.emit(t),this.isEmptyAfterSelection()&&(this.element.nativeElement.value=\"\")}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ng2FileSelect\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(){return e.onChange()}))},inputs:{uploader:\"uploader\"},outputs:{onFileSelected:\"onFileSelected\"}}),t})(),h=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c]]}),t})()},\"8LU1\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a})),n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return r})),n.d(e,\"d\",(function(){return l})),n.d(e,\"e\",(function(){return c})),n.d(e,\"f\",(function(){return s}));var i=n(\"fXoL\");function r(t){return null!=t&&\"false\"!==`${t}`}function s(t,e=0){return a(t)?Number(t):e}function a(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function o(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?\"\":\"string\"==typeof t?t:`${t}px`}function c(t){return t instanceof i.l?t.nativeElement:t}},\"8tEE\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"c\",(function(){return s})),n.d(e,\"d\",(function(){return a})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c})),n.d(e,\"h\",(function(){return h})),n.d(e,\"i\",(function(){return d})),n.d(e,\"j\",(function(){return u})),n.d(e,\"k\",(function(){return p}));var i={prefix:\"fab\",iconName:\"bitcoin\",icon:[512,512,[],\"f379\",\"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-141.651-35.33c4.937-32.999-20.191-50.739-54.55-62.573l11.146-44.702-27.213-6.781-10.851 43.524c-7.154-1.783-14.502-3.464-21.803-5.13l10.929-43.81-27.198-6.781-11.153 44.686c-5.922-1.349-11.735-2.682-17.377-4.084l.031-.14-37.53-9.37-7.239 29.062s20.191 4.627 19.765 4.913c11.022 2.751 13.014 10.044 12.68 15.825l-12.696 50.925c.76.194 1.744.473 2.829.907-.907-.225-1.876-.473-2.876-.713l-17.796 71.338c-1.349 3.348-4.767 8.37-12.471 6.464.271.395-19.78-4.937-19.78-4.937l-13.51 31.147 35.414 8.827c6.588 1.651 13.045 3.379 19.4 5.006l-11.262 45.213 27.182 6.781 11.153-44.733a1038.209 1038.209 0 0 0 21.687 5.627l-11.115 44.523 27.213 6.781 11.262-45.128c46.404 8.781 81.299 5.239 95.986-36.727 11.836-33.79-.589-53.281-25.004-65.991 17.78-4.098 31.174-15.792 34.747-39.949zm-62.177 87.179c-8.41 33.79-65.308 15.523-83.755 10.943l14.944-59.899c18.446 4.603 77.6 13.717 68.811 48.956zm8.417-87.667c-7.673 30.736-55.031 15.12-70.393 11.292l13.548-54.327c15.363 3.828 64.836 10.973 56.845 43.035z\"]},r={prefix:\"fab\",iconName:\"btc\",icon:[384,512,[],\"f15a\",\"M310.204 242.638c27.73-14.18 45.377-39.39 41.28-81.3-5.358-57.351-52.458-76.573-114.85-81.929V0h-48.528v77.203c-12.605 0-25.525.315-38.444.63V0h-48.528v79.409c-17.842.539-38.622.276-97.37 0v51.678c38.314-.678 58.417-3.14 63.023 21.427v217.429c-2.925 19.492-18.524 16.685-53.255 16.071L3.765 443.68c88.481 0 97.37.315 97.37.315V512h48.528v-67.06c13.234.315 26.154.315 38.444.315V512h48.528v-68.005c81.299-4.412 135.647-24.894 142.895-101.467 5.671-61.446-23.32-88.862-69.326-99.89zM150.608 134.553c27.415 0 113.126-8.507 113.126 48.528 0 54.515-85.71 48.212-113.126 48.212v-96.74zm0 251.776V279.821c32.772 0 133.127-9.138 133.127 53.255-.001 60.186-100.355 53.253-133.127 53.253z\"]},s={prefix:\"fab\",iconName:\"facebook\",icon:[512,512,[],\"f09a\",\"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z\"]},a={prefix:\"fab\",iconName:\"github\",icon:[496,512,[],\"f09b\",\"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z\"]},o={prefix:\"fab\",iconName:\"gitter\",icon:[384,512,[],\"f426\",\"M66.4 322.5H16V0h50.4v322.5zM166.9 76.1h-50.4V512h50.4V76.1zm100.6 0h-50.4V512h50.4V76.1zM368 76h-50.4v247H368V76z\"]},l={prefix:\"fab\",iconName:\"google\",icon:[488,512,[],\"f1a0\",\"M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z\"]},c={prefix:\"fab\",iconName:\"leanpub\",icon:[576,512,[],\"f212\",\"M386.539 111.485l15.096 248.955-10.979-.275c-36.232-.824-71.64 8.783-102.657 27.997-31.016-19.214-66.424-27.997-102.657-27.997-45.564 0-82.07 10.705-123.516 27.723L93.117 129.6c28.546-11.803 61.484-18.115 92.226-18.115 41.173 0 73.836 13.175 102.657 42.544 27.723-28.271 59.013-41.721 98.539-42.544zM569.07 448c-25.526 0-47.485-5.215-70.542-15.645-34.31-15.645-69.993-24.978-107.871-24.978-38.977 0-74.934 12.901-102.657 40.623-27.723-27.723-63.68-40.623-102.657-40.623-37.878 0-73.561 9.333-107.871 24.978C55.239 442.236 32.731 448 8.303 448H6.93L49.475 98.859C88.726 76.626 136.486 64 181.775 64 218.83 64 256.984 71.685 288 93.095 319.016 71.685 357.17 64 394.225 64c45.289 0 93.049 12.626 132.3 34.859L569.07 448zm-43.368-44.741l-34.036-280.246c-30.742-13.999-67.248-21.41-101.009-21.41-38.428 0-74.385 12.077-102.657 38.702-28.272-26.625-64.228-38.702-102.657-38.702-33.761 0-70.267 7.411-101.009 21.41L50.298 403.259c47.211-19.487 82.894-33.486 135.045-33.486 37.604 0 70.817 9.606 102.657 29.644 31.84-20.038 65.052-29.644 102.657-29.644 52.151 0 87.834 13.999 135.045 33.486z\"]},h={prefix:\"fab\",iconName:\"reddit\",icon:[512,512,[],\"f1a1\",\"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z\"]},d={prefix:\"fab\",iconName:\"slack\",icon:[448,512,[],\"f198\",\"M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z\"]},u={prefix:\"fab\",iconName:\"stripe\",icon:[640,512,[],\"f429\",\"M165 144.7l-43.3 9.2-.2 142.4c0 26.3 19.8 43.3 46.1 43.3 14.6 0 25.3-2.7 31.2-5.9v-33.8c-5.7 2.3-33.7 10.5-33.7-15.7V221h33.7v-37.8h-33.7zm89.1 51.6l-2.7-13.1H213v153.2h44.3V233.3c10.5-13.8 28.2-11.1 33.9-9.3v-40.8c-6-2.1-26.7-6-37.1 13.1zm92.3-72.3l-44.6 9.5v36.2l44.6-9.5zM44.9 228.3c0-6.9 5.8-9.6 15.1-9.7 13.5 0 30.7 4.1 44.2 11.4v-41.8c-14.7-5.8-29.4-8.1-44.1-8.1-36 0-60 18.8-60 50.2 0 49.2 67.5 41.2 67.5 62.4 0 8.2-7.1 10.9-17 10.9-14.7 0-33.7-6.1-48.6-14.2v40c16.5 7.1 33.2 10.1 48.5 10.1 36.9 0 62.3-15.8 62.3-47.8 0-52.9-67.9-43.4-67.9-63.4zM640 261.6c0-45.5-22-81.4-64.2-81.4s-67.9 35.9-67.9 81.1c0 53.5 30.3 78.2 73.5 78.2 21.2 0 37.1-4.8 49.2-11.5v-33.4c-12.1 6.1-26 9.8-43.6 9.8-17.3 0-32.5-6.1-34.5-26.9h86.9c.2-2.3.6-11.6.6-15.9zm-87.9-16.8c0-20 12.3-28.4 23.4-28.4 10.9 0 22.5 8.4 22.5 28.4zm-112.9-64.6c-17.4 0-28.6 8.2-34.8 13.9l-2.3-11H363v204.8l44.4-9.4.1-50.2c6.4 4.7 15.9 11.2 31.4 11.2 31.8 0 60.8-23.2 60.8-79.6.1-51.6-29.3-79.7-60.5-79.7zm-10.6 122.5c-10.4 0-16.6-3.8-20.9-8.4l-.3-66c4.6-5.1 11-8.8 21.2-8.8 16.2 0 27.4 18.2 27.4 41.4.1 23.9-10.9 41.8-27.4 41.8zm-126.7 33.7h44.6V183.2h-44.6z\"]},p={prefix:\"fab\",iconName:\"twitter\",icon:[512,512,[],\"f099\",\"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z\"]}},\"9ppp\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message=\"object unsubscribed\",this.name=\"ObjectUnsubscribedError\",this}return t.prototype=Object.create(Error.prototype),t})()},AdPF:function(t,e,n){var i=n(\"yeub\");t.exports=function(t){var e=t.xdomain,n=t.xscheme,r=t.enablesXDR;try{if(\"undefined\"!=typeof XMLHttpRequest&&(!e||i))return new XMLHttpRequest}catch(s){}try{if(\"undefined\"!=typeof XDomainRequest&&!n&&r)return new XDomainRequest}catch(s){}if(!e)try{return new(self[[\"Active\"].concat(\"Object\").join(\"X\")])(\"Microsoft.XMLHTTP\")}catch(s){}}},Aplp:function(t,e,n){\"use strict\";var i,r=\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_\".split(\"\"),s={},a=0,o=0;function l(t){var e=\"\";do{e=r[t%64]+e,t=Math.floor(t/64)}while(t>0);return e}function c(){var t=l(+new Date);return t!==i?(a=0,i=t):t+\".\"+l(a++)}for(;o<64;o++)s[r[o]]=o;c.encode=l,c.decode=function(t){var e=0;for(o=0;o<t.length;o++)e=64*e+s[t.charAt(o)];return e},t.exports=c},BOF4:function(t,e,n){\"use strict\";var i=n(\"evrj\");function r(t){this.message=t}(r.prototype=new Error).name=\"InvalidTokenError\",t.exports=function(t,e){if(\"string\"!=typeof t)throw new r(\"Invalid token specified\");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(\".\")[n]))}catch(s){throw new r(\"Invalid token specified: \"+s.message)}},t.exports.InvalidTokenError=r},C2QD:function(t,e){function n(t){this.ms=(t=t||{}).min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var i,r,s=n(\"Gbct\"),a=n(\"Wm4p\"),o=n(\"TypT\"),l=n(\"Yvos\"),c=n(\"Aplp\"),h=n(\"NOtv\")(\"engine.io-client:websocket\");if(\"undefined\"!=typeof WebSocket?i=WebSocket:\"undefined\"!=typeof self&&(i=self.WebSocket||self.MozWebSocket),\"undefined\"==typeof window)try{r=n(1)}catch(p){}var d=i||r;function u(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=i&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(d=r),s.call(this,t)}t.exports=u,l(u,s),u.prototype.name=\"websocket\",u.prototype.supportsBinary=!0,u.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new d(t,e):new d(t):new d(t,e,n)}catch(i){return this.emit(\"error\",i)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType=\"nodebuffer\"):this.ws.binaryType=\"arraybuffer\",this.addEventListeners()}},u.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError(\"websocket error\",e)}},u.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,i=0,r=n;i<r;i++)!function(t){a.encodePacket(t,e.supportsBinary,(function(i){if(!e.usingBrowserWebSocket){var r={};t.options&&(r.compress=t.options.compress),e.perMessageDeflate&&(\"string\"==typeof i?Buffer.byteLength(i):i.length)<e.perMessageDeflate.threshold&&(r.compress=!1)}try{e.usingBrowserWebSocket?e.ws.send(i):e.ws.send(i,r)}catch(p){h(\"websocket closed before onclose event\")}--n||(e.emit(\"flush\"),setTimeout((function(){e.writable=!0,e.emit(\"drain\")}),0))}))}(t[i])},u.prototype.onClose=function(){s.prototype.onClose.call(this)},u.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},u.prototype.uri=function(){var t=this.query||{},e=this.secure?\"wss\":\"ws\",n=\"\";return this.port&&(\"wss\"===e&&443!==Number(this.port)||\"ws\"===e&&80!==Number(this.port))&&(n=\":\"+this.port),this.timestampRequests&&(t[this.timestampParam]=c()),this.supportsBinary||(t.b64=1),(t=o.encode(t)).length&&(t=\"?\"+t),e+\"://\"+(-1!==this.hostname.indexOf(\":\")?\"[\"+this.hostname+\"]\":this.hostname)+n+this.path+t},u.prototype.check=function(){return!(!d||\"__initialize\"in d&&this.name===u.prototype.name)}},CUme:function(t,e,n){var i=n(\"Gbct\"),r=n(\"TypT\"),s=n(\"Wm4p\"),a=n(\"Yvos\"),o=n(\"Aplp\"),l=n(\"NOtv\")(\"engine.io-client:polling\");t.exports=h;var c=null!=new(n(\"AdPF\"))({xdomain:!1}).responseType;function h(t){c&&!(t&&t.forceBase64)||(this.supportsBinary=!1),i.call(this,t)}a(h,i),h.prototype.name=\"polling\",h.prototype.doOpen=function(){this.poll()},h.prototype.pause=function(t){var e=this;function n(){l(\"paused\"),e.readyState=\"paused\",t()}if(this.readyState=\"pausing\",this.polling||!this.writable){var i=0;this.polling&&(l(\"we are currently polling - waiting to pause\"),i++,this.once(\"pollComplete\",(function(){l(\"pre-pause polling complete\"),--i||n()}))),this.writable||(l(\"we are currently writing - waiting to pause\"),i++,this.once(\"drain\",(function(){l(\"pre-pause writing complete\"),--i||n()})))}else n()},h.prototype.poll=function(){l(\"polling\"),this.polling=!0,this.doPoll(),this.emit(\"poll\")},h.prototype.onData=function(t){var e=this;l(\"polling got data %s\",t),s.decodePayload(t,this.socket.binaryType,(function(t,n,i){if(\"opening\"===e.readyState&&e.onOpen(),\"close\"===t.type)return e.onClose(),!1;e.onPacket(t)})),\"closed\"!==this.readyState&&(this.polling=!1,this.emit(\"pollComplete\"),\"open\"===this.readyState?this.poll():l('ignoring poll - transport state \"%s\"',this.readyState))},h.prototype.doClose=function(){var t=this;function e(){l(\"writing close packet\"),t.write([{type:\"close\"}])}\"open\"===this.readyState?(l(\"transport open - closing\"),e()):(l(\"transport not open - deferring close\"),this.once(\"open\",e))},h.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit(\"drain\")};s.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},h.prototype.uri=function(){var t=this.query||{},e=this.secure?\"https\":\"http\",n=\"\";return!1!==this.timestampRequests&&(t[this.timestampParam]=o()),this.supportsBinary||t.sid||(t.b64=1),t=r.encode(t),this.port&&(\"https\"===e&&443!==Number(this.port)||\"http\"===e&&80!==Number(this.port))&&(n=\":\"+this.port),t.length&&(t=\"?\"+t),e+\"://\"+(-1!==this.hostname.indexOf(\":\")?\"[\"+this.hostname+\"]\":this.hostname)+n+this.path+t}},Cfvw:function(t,e,n){\"use strict\";var i=n(\"HDdC\"),r=n(\"SeVD\"),s=n(\"quSY\"),a=n(\"kJWO\"),o=n(\"jZKg\"),l=n(\"Lhse\"),c=n(\"c2HN\"),h=n(\"I55L\");function d(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&\"function\"==typeof t[a.a]}(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>{const r=t[a.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(h.a)(t))return Object(o.a)(t,e);if(function(t){return t&&\"function\"==typeof t[l.a]}(t)||\"string\"==typeof t)return function(t,e){if(!t)throw new Error(\"Iterable cannot be null\");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&\"function\"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.a](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())})))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+\" is not observable\")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}n.d(e,\"a\",(function(){return d}))},Cl5A:function(t,e,n){var i=n(\"CUme\"),r=n(\"Yvos\");t.exports=h;var s,a=/\\n/g,o=/\\\\n/g;function l(){}function c(){return\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:{}}function h(t){if(i.call(this,t),this.query=this.query||{},!s){var e=c();s=e.___eio=e.___eio||[]}this.index=s.length;var n=this;s.push((function(t){n.onData(t)})),this.query.j=this.index,\"function\"==typeof addEventListener&&addEventListener(\"beforeunload\",(function(){n.script&&(n.script.onerror=l)}),!1)}r(h,i),h.prototype.supportsBinary=!1,h.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),i.prototype.doClose.call(this)},h.prototype.doPoll=function(){var t=this,e=document.createElement(\"script\");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError(\"jsonp poll error\",e)};var n=document.getElementsByTagName(\"script\")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,\"undefined\"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement(\"iframe\");document.body.appendChild(t),document.body.removeChild(t)}),100)},h.prototype.doWrite=function(t,e){var n=this;if(!this.form){var i,r=document.createElement(\"form\"),s=document.createElement(\"textarea\"),l=this.iframeId=\"eio_iframe_\"+this.index;r.className=\"socketio\",r.style.position=\"absolute\",r.style.top=\"-1000px\",r.style.left=\"-1000px\",r.target=l,r.method=\"POST\",r.setAttribute(\"accept-charset\",\"utf-8\"),s.name=\"d\",r.appendChild(s),document.body.appendChild(r),this.form=r,this.area=s}function c(){h(),e()}function h(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError(\"jsonp polling iframe removal error\",t)}try{i=document.createElement('<iframe src=\"javascript:0\" name=\"'+n.iframeId+'\">')}catch(t){(i=document.createElement(\"iframe\")).name=n.iframeId,i.src=\"javascript:0\"}i.id=n.iframeId,n.form.appendChild(i),n.iframe=i}this.form.action=this.uri(),h(),t=t.replace(o,\"\\\\\\n\"),this.area.value=t.replace(a,\"\\\\n\");try{this.form.submit()}catch(d){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){\"complete\"===n.iframe.readyState&&c()}:this.iframe.onload=c}},D0XW:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"3N8a\");const r=new(n(\"IjjT\").a)(i.a)},DH7j:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>Array.isArray||(t=>t&&\"number\"==typeof t.length))()},Dvla:function(t,e,n){\"use strict\";var i=n(\"fXoL\");const r=new i.r(\"WindowToken\",\"undefined\"!=typeof window&&window.document?{providedIn:\"root\",factory:()=>window}:void 0);var s=n(\"XNiG\"),a=n(\"ofXK\");n.d(e,\"a\",(function(){return l})),n.d(e,\"b\",(function(){return c}));let o=(()=>{class t{constructor(t,e){this.document=t,this.window=e,this.copySubject=new s.a,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(t){this.config=t}copy(t){if(!this.isSupported||!t)return this.pushCopyResponse({isSuccess:!1,content:t});const e=this.copyFromContent(t);return this.pushCopyResponse(e?{content:t,isSuccess:e}:{isSuccess:!1,content:t})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported(\"copy\")&&!!this.window}isTargetValid(t){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){if(t.hasAttribute(\"disabled\"))throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');return!0}throw new Error(\"Target should be input or textarea\")}copyFromInputElement(t,e=!0){try{this.selectTarget(t);const n=this.copyText();return this.clearSelection(e?t:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(n){return!1}}isCopySuccessInIE11(){const t=this.window.clipboardData;return!(t&&t.getData&&!t.getData(\"Text\"))}copyFromContent(t,e=this.document.body){if(this.tempTextArea&&!e.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{e.appendChild(this.tempTextArea)}catch(i){throw new Error(\"Container should be a Dom element\")}}this.tempTextArea.value=t;const n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement),n}destroy(t=this.document.body){this.tempTextArea&&(t.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(t){return t.select(),t.setSelectionRange(0,t.value.length),t.value.length}copyText(){return this.document.execCommand(\"copy\")}clearSelection(t,e){t&&t.focus(),e.getSelection().removeAllRanges()}createTempTextArea(t,e){const n=\"rtl\"===t.documentElement.getAttribute(\"dir\");let i;return i=t.createElement(\"textarea\"),i.style.fontSize=\"12pt\",i.style.border=\"0\",i.style.padding=\"0\",i.style.margin=\"0\",i.style.position=\"absolute\",i.style[n?\"right\":\"left\"]=\"-9999px\",i.style.top=(e.pageYOffset||t.documentElement.scrollTop)+\"px\",i.setAttribute(\"readonly\",\"\"),i}pushCopyResponse(t){this.copySubject.next(t)}pushCopyReponse(t){this.pushCopyResponse(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(a.d),i.ac(r,8))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t.ngInjectableDef=Object(i.T)({factory:function(){return new t(Object(i.W)(a.d),Object(i.W)(r,8))},token:t,providedIn:\"root\"}),t})(),l=(()=>{class t{constructor(t){this.clipboardSrv=t,this.cbOnSuccess=new i.o,this.cbOnError=new i.o}ngOnInit(){}ngOnDestroy(){this.clipboardSrv.destroy(this.container)}onClick(t){this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,t):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,t):this.handleResult(!1,void 0,t)}handleResult(t,e,n){let i={isSuccess:t,event:n};t?(i=Object.assign(i,{content:e,successMessage:this.cbSuccessMsg}),this.cbOnSuccess.emit(i)):this.cbOnError.emit(i),this.clipboardSrv.pushCopyResponse(i)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(o))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngxClipboard\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"click\",(function(t){return e.onClick(t.target)}))},inputs:{targetElm:[\"ngxClipboard\",\"targetElm\"],container:\"container\",cbContent:\"cbContent\",cbSuccessMsg:\"cbSuccessMsg\"},outputs:{cbOnSuccess:\"cbOnSuccess\",cbOnError:\"cbOnError\"}}),t})(),c=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[a.c]]}),t})()},EY2u:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r})),n.d(e,\"b\",(function(){return s}));var i=n(\"HDdC\");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},FGiv:function(t,e){var n=1e3,i=6e4,r=36e5,s=24*r;function a(t,e,n,i){var r=e>=1.5*n;return Math.round(t/n)+\" \"+i+(r?\"s\":\"\")}t.exports=function(t,e){e=e||{};var o,l,c=typeof t;if(\"string\"===c&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*a;case\"weeks\":case\"week\":case\"w\":return 6048e5*a;case\"days\":case\"day\":case\"d\":return a*s;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return a*r;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return a*i;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return a*n;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return a;default:return}}}}(t);if(\"number\"===c&&isFinite(t))return e.long?(o=t,(l=Math.abs(o))>=s?a(o,l,s,\"day\"):l>=r?a(o,l,r,\"hour\"):l>=i?a(o,l,i,\"minute\"):l>=n?a(o,l,n,\"second\"):o+\" ms\"):function(t){var e=Math.abs(t);return e>=s?Math.round(t/s)+\"d\":e>=r?Math.round(t/r)+\"h\":e>=i?Math.round(t/i)+\"m\":e>=n?Math.round(t/n)+\"s\":t+\"ms\"}(t);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(t))}},FKr1:function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"u47x\"),s=n(\"cH1L\");const a=new i.O(\"9.1.0\");var o=n(\"8LU1\"),l=n(\"XNiG\"),c=n(\"HDdC\"),h=n(\"nLfN\"),d=(n(\"jhN1\"),n(\"JX91\")),u=n(\"ofXK\"),p=n(\"R1ws\"),m=n(\"FtGj\");n.d(e,\"a\",(function(){return E})),n.d(e,\"b\",(function(){return B})),n.d(e,\"c\",(function(){return A})),n.d(e,\"d\",(function(){return pt})),n.d(e,\"e\",(function(){return lt})),n.d(e,\"f\",(function(){return w})),n.d(e,\"g\",(function(){return H})),n.d(e,\"h\",(function(){return Q})),n.d(e,\"i\",(function(){return z})),n.d(e,\"j\",(function(){return rt})),n.d(e,\"k\",(function(){return ct})),n.d(e,\"l\",(function(){return ut})),n.d(e,\"m\",(function(){return ot})),n.d(e,\"n\",(function(){return J})),n.d(e,\"o\",(function(){return tt})),n.d(e,\"p\",(function(){return K})),n.d(e,\"q\",(function(){return Z})),n.d(e,\"r\",(function(){return ht})),n.d(e,\"s\",(function(){return dt})),n.d(e,\"t\",(function(){return C})),n.d(e,\"u\",(function(){return k})),n.d(e,\"v\",(function(){return x})),n.d(e,\"w\",(function(){return S})),n.d(e,\"x\",(function(){return M})),n.d(e,\"y\",(function(){return O})),n.d(e,\"z\",(function(){return U}));const f=[\"*\",[[\"mat-option\"],[\"ng-container\"]]],g=[\"*\",\"mat-option, ng-container\"];function b(t,e){if(1&t&&i.Rb(0,\"mat-pseudo-checkbox\",3),2&t){const t=i.ic();i.oc(\"state\",t.selected?\"checked\":\"unchecked\")(\"disabled\",t.disabled)}}const _=[\"*\"],y=new i.O(\"9.1.0\"),v=new i.r(\"mat-sanity-checks\",{providedIn:\"root\",factory:function(){return!0}});let w=(()=>{class t{constructor(t,e){this._hasDoneGlobalChecks=!1,this._document=\"object\"==typeof document&&document?document:null,this._window=\"object\"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checksAreEnabled(){return Object(i.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn(\"Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.\")}_checkThemeIsPresent(){if(!(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&\"function\"==typeof getComputedStyle))return;const t=this._document.createElement(\"div\");t.classList.add(\"mat-theme-loaded-marker\"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&\"none\"!==e.display&&console.warn(\"Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming\"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&y.full!==a.full&&console.warn(\"The Angular Material version (\"+y.full+\") does not match the Angular CDK version (\"+a.full+\").\\nPlease ensure the versions of these two packages exactly match.\")}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)(i.ac(r.j),i.ac(v,8))},imports:[[s.a],s.a]}),t})();function x(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}}}function k(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.c)(t)}}}function O(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function S(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function M(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new c.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){if(this._isInitialized)throw Error(\"This directive has already been marked as initialized and should not be called twice.\");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new i.r(\"MAT_DATE_LOCALE\",{providedIn:\"root\",factory:function(){return Object(i.W)(i.v)}});class E{constructor(){this._localeChanges=new l.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const A=new i.r(\"mat-date-formats\");let D;try{D=\"undefined\"!=typeof Intl}catch(mt){D=!1}const R={long:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],short:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],narrow:[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"]},T=L(31,t=>String(t+1)),I={long:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],short:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],narrow:[\"S\",\"M\",\"T\",\"W\",\"T\",\"F\",\"S\"]},j=/^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|(?:(?:\\+|-)\\d{2}:\\d{2}))?)?$/;function L(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let F=(()=>{class t extends E{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(D){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:\"utc\"});return L(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return R[t]}getDateNames(){if(D){const t=new Intl.DateTimeFormat(this.locale,{day:\"numeric\",timeZone:\"utc\"});return L(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return T}getDayOfWeekNames(t){if(D){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:\"utc\"});return L(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return I[t]}getYearName(t){if(D){const e=new Intl.DateTimeFormat(this.locale,{year:\"numeric\",timeZone:\"utc\"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index \"${e}\". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date \"${n}\". Date has to be greater than 0.`);let i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error(`Invalid date \"${n}\" for month with index \"${e}\".`);return i}today(){return new Date}parse(t){return\"number\"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error(\"NativeDateAdapter: Cannot format invalid date.\");if(D){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:\"utc\"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join(\"-\")}deserialize(t){if(\"string\"==typeof t){if(!t)return null;if(j.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}_2digit(t){return(\"00\"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\\u200e\\u200f]/g,\"\")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(P,8),i.ac(h.a))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),N=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[{provide:E,useClass:F}],imports:[[h.b]]}),t})();const V={parse:{dateInput:null},display:{dateInput:{year:\"numeric\",month:\"numeric\",day:\"numeric\"},monthYearLabel:{year:\"numeric\",month:\"short\"},dateA11yLabel:{year:\"numeric\",month:\"long\",day:\"numeric\"},monthYearA11yLabel:{year:\"numeric\",month:\"long\"}}};let z=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[{provide:A,useValue:V}],imports:[[N]]}),t})(),B=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})(),H=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"mat-line\",\"\"],[\"\",\"matLine\",\"\"]],hostAttrs:[1,\"mat-line\"]}),t})();function U(t,e){t.changes.pipe(Object(d.a)(t)).subscribe(({length:t})=>{q(e,\"mat-2-line\",!1),q(e,\"mat-3-line\",!1),q(e,\"mat-multi-line\",!1),2===t||3===t?q(e,`mat-${t}-line`,!0):t>3&&q(e,\"mat-multi-line\",!0)})}function q(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let Q=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[w],w]}),t})();class W{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Y={enterDuration:450,exitDuration:400},$=Object(h.f)({passive:!0});class G{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(r.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))},i.isBrowser&&(this._containerElement=Object(o.e)(n),this._triggerEvents.set(\"mousedown\",this._onMousedown).set(\"mouseup\",this._onPointerUp).set(\"mouseleave\",this._onPointerUp).set(\"touchstart\",this._onTouchStart).set(\"touchend\",this._onPointerUp).set(\"touchcancel\",this._onPointerUp))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Y),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),a=t-i.left,o=e-i.top,l=r.enterDuration,c=document.createElement(\"div\");c.classList.add(\"mat-ripple-element\"),c.style.left=`${a-s}px`,c.style.top=`${o-s}px`,c.style.height=`${2*s}px`,c.style.width=`${2*s}px`,null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue(\"opacity\"),c.style.transform=\"scale(1)\";const h=new W(this,c,n);return h.state=0,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const t=h===this._mostRecentTransientRipple;h.state=1,n.persistent||t&&this._isPointerDown||h.fadeOut()},l),h}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},Y),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity=\"0\",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,$)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,$)})}}const X=new i.r(\"mat-ripple-global-options\");let K=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new G(this,e,t,n),\"NoopAnimations\"===r&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return\"number\"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.A),i.Qb(h.a),i.Qb(X,8),i.Qb(p.a,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"mat-ripple\",\"\"],[\"\",\"matRipple\",\"\"]],hostAttrs:[1,\"mat-ripple\"],hostVars:2,hostBindings:function(t,e){2&t&&i.Hb(\"mat-ripple-unbounded\",e.unbounded)},inputs:{radius:[\"matRippleRadius\",\"radius\"],disabled:[\"matRippleDisabled\",\"disabled\"],trigger:[\"matRippleTrigger\",\"trigger\"],color:[\"matRippleColor\",\"color\"],unbounded:[\"matRippleUnbounded\",\"unbounded\"],centered:[\"matRippleCentered\",\"centered\"],animation:[\"matRippleAnimation\",\"animation\"]},exportAs:[\"matRipple\"]}),t})(),Z=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[w,h.b],w]}),t})(),J=(()=>{class t{constructor(t){this._animationMode=t,this.state=\"unchecked\",this.disabled=!1}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(p.a,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-pseudo-checkbox\"]],hostAttrs:[1,\"mat-pseudo-checkbox\"],hostVars:8,hostBindings:function(t,e){2&t&&i.Hb(\"mat-pseudo-checkbox-indeterminate\",\"indeterminate\"===e.state)(\"mat-pseudo-checkbox-checked\",\"checked\"===e.state)(\"mat-pseudo-checkbox-disabled\",e.disabled)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)},inputs:{state:\"state\",disabled:\"disabled\"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\\n'],encapsulation:2,changeDetection:0}),t})(),tt=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();class et{}const nt=x(et);let it=0,rt=(()=>{class t extends nt{constructor(){super(...arguments),this._labelId=`mat-optgroup-label-${it++}`}}return t.\\u0275fac=function(e){return st(e||t)},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-optgroup\"]],hostAttrs:[\"role\",\"group\",1,\"mat-optgroup\"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Eb(\"aria-disabled\",e.disabled.toString())(\"aria-labelledby\",e._labelId),i.Hb(\"mat-optgroup-disabled\",e.disabled))},inputs:{disabled:\"disabled\",label:\"label\"},exportAs:[\"matOptgroup\"],features:[i.Ab],ngContentSelectors:g,decls:4,vars:2,consts:[[1,\"mat-optgroup-label\",3,\"id\"]],template:function(t,e){1&t&&(i.nc(f),i.Wb(0,\"label\",0),i.Jc(1),i.mc(2),i.Vb(),i.mc(3,1)),2&t&&(i.oc(\"id\",e._labelId),i.Db(1),i.Lc(\"\",e.label,\" \"))},styles:[\".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\\n\"],encapsulation:2,changeDetection:0}),t})();const st=i.Yb(rt);let at=0;class ot{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const lt=new i.r(\"MAT_OPTION_PARENT_COMPONENT\");let ct=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue=\"\",this.id=`mat-option-${at++}`,this.onSelectionChange=new i.o,this._stateChanges=new l.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||\"\").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();\"function\"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==m.d&&t.keyCode!==m.l||Object(m.q)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?\"-1\":\"0\"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ot(this,t))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.h),i.Qb(lt,8),i.Qb(rt,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-option\"]],hostAttrs:[\"role\",\"option\",1,\"mat-option\",\"mat-focus-indicator\"],hostVars:12,hostBindings:function(t,e){1&t&&i.ec(\"click\",(function(){return e._selectViaInteraction()}))(\"keydown\",(function(t){return e._handleKeydown(t)})),2&t&&(i.Zb(\"id\",e.id),i.Eb(\"tabindex\",e._getTabIndex())(\"aria-selected\",e._getAriaSelected())(\"aria-disabled\",e.disabled.toString()),i.Hb(\"mat-selected\",e.selected)(\"mat-option-multiple\",e.multiple)(\"mat-active\",e.active)(\"mat-option-disabled\",e.disabled))},inputs:{id:\"id\",disabled:\"disabled\",value:\"value\"},outputs:{onSelectionChange:\"onSelectionChange\"},exportAs:[\"matOption\"],ngContentSelectors:_,decls:4,vars:3,consts:[[\"class\",\"mat-option-pseudo-checkbox\",3,\"state\",\"disabled\",4,\"ngIf\"],[1,\"mat-option-text\"],[\"mat-ripple\",\"\",1,\"mat-option-ripple\",3,\"matRippleTrigger\",\"matRippleDisabled\"],[1,\"mat-option-pseudo-checkbox\",3,\"state\",\"disabled\"]],template:function(t,e){1&t&&(i.nc(),i.Hc(0,b,1,2,\"mat-pseudo-checkbox\",0),i.Wb(1,\"span\",1),i.mc(2),i.Vb(),i.Rb(3,\"div\",2)),2&t&&(i.oc(\"ngIf\",e.multiple),i.Db(3),i.oc(\"matRippleTrigger\",e._getHostElement())(\"matRippleDisabled\",e.disabled||e.disableRipple))},directives:[u.l,K,J],styles:[\".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\\n\"],encapsulation:2,changeDetection:0}),t})();function ht(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===r[s]&&s++;return s}return 0}function dt(t,e,n,i){const r=t*e;return r<n?r:r+e>n+i?Math.max(0,r-i+e):n}let ut=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[Z,u.c,tt]]}),t})();const pt=new i.r(\"mat-label-global-options\")},FtGj:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return b})),n.d(e,\"b\",(function(){return m})),n.d(e,\"c\",(function(){return c})),n.d(e,\"d\",(function(){return r})),n.d(e,\"e\",(function(){return s})),n.d(e,\"f\",(function(){return h})),n.d(e,\"g\",(function(){return d})),n.d(e,\"h\",(function(){return g})),n.d(e,\"i\",(function(){return l})),n.d(e,\"j\",(function(){return o})),n.d(e,\"k\",(function(){return p})),n.d(e,\"l\",(function(){return a})),n.d(e,\"m\",(function(){return i})),n.d(e,\"n\",(function(){return u})),n.d(e,\"o\",(function(){return _})),n.d(e,\"p\",(function(){return f})),n.d(e,\"q\",(function(){return y}));const i=9,r=13,s=27,a=32,o=33,l=34,c=35,h=36,d=37,u=38,p=39,m=40,f=48,g=57,b=65,_=90;function y(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},GU7r:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return c})),n.d(e,\"c\",(function(){return d}));var i=n(\"8LU1\"),r=n(\"fXoL\"),s=n(\"HDdC\"),a=n(\"XNiG\"),o=n(\"Kj3r\");let l=(()=>{class t{create(t){return\"undefined\"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new s.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new a.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(l))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(l))},token:t,providedIn:\"root\"}),t})(),h=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(o.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(c),r.Qb(r.l),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkObserveContent\",\"\"]],inputs:{disabled:[\"cdkObserveContentDisabled\",\"disabled\"],debounce:\"debounce\"},outputs:{event:\"cdkObserveContent\"},exportAs:[\"cdkObserveContent\"]}),t})(),d=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[l]}),t})()},Gbct:function(t,e,n){var i=n(\"Wm4p\"),r=n(\"1Mk5\");function s(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState=\"\",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=s,r(s.prototype),s.prototype.onError=function(t,e){var n=new Error(t);return n.type=\"TransportError\",n.description=e,this.emit(\"error\",n),this},s.prototype.open=function(){return\"closed\"!==this.readyState&&\"\"!==this.readyState||(this.readyState=\"opening\",this.doOpen()),this},s.prototype.close=function(){return\"opening\"!==this.readyState&&\"open\"!==this.readyState||(this.doClose(),this.onClose()),this},s.prototype.send=function(t){if(\"open\"!==this.readyState)throw new Error(\"Transport not open\");this.write(t)},s.prototype.onOpen=function(){this.readyState=\"open\",this.writable=!0,this.emit(\"open\")},s.prototype.onData=function(t){var e=i.decodePacket(t,this.socket.binaryType);this.onPacket(e)},s.prototype.onPacket=function(t){this.emit(\"packet\",t)},s.prototype.onClose=function(){this.readyState=\"closed\",this.emit(\"close\")}},GyhO:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"LRne\"),r=n(\"0EUg\");function s(...t){return Object(r.a)()(Object(i.a)(...t))}},HDdC:function(t,e,n){\"use strict\";var i=n(\"7o/Q\"),r=n(\"2QA8\"),s=n(\"gRHU\"),a=n(\"kJWO\"),o=n(\"mCNh\"),l=n(\"2fFW\");n.d(e,\"a\",(function(){return c}));let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:a}=this,o=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(o.add(a?a.call(o,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),l.a.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=h(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[a.a](){return this}pipe(...t){return 0===t.length?this:Object(o.b)(t)(this)}toPromise(t){return new(t=h(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function h(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error(\"no Promise impl found\");return t}},I55L:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=t=>t&&\"number\"==typeof t.length&&\"function\"!=typeof t},IjjT:function(t,e,n){\"use strict\";let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,\"a\",(function(){return r}));class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"7o/Q\"),r=n(\"4I5i\"),s=n(\"EY2u\");function a(t){return e=>0===t?Object(s.b)():e.lift(new o(t))}class o{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"l7GE\"),r=n(\"51Dv\"),s=n(\"ZUHj\");function a(t){return function(e){const n=new o(t),i=e.lift(n);return n.caught=i}}class o{constructor(t){this.selector=t}call(t,e){return e.subscribe(new l(t,this.selector,this.caught))}}class l extends i.a{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new r.a(this,void 0,void 0);this.add(i);const a=Object(s.a)(this,n,void 0,void 0,i);a!==i&&this.add(a)}}}},JX91:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"GyhO\"),r=n(\"z+Ro\");function s(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},JqCM:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return g})),n.d(e,\"b\",(function(){return b})),n.d(e,\"c\",(function(){return f}));var i=n(\"fXoL\"),r=n(\"jtHE\"),s=n(\"XNiG\"),a=n(\"pLZG\"),o=n(\"1G5W\"),l=n(\"ofXK\");function c(t,e){1&t&&i.Rb(0,\"div\")}const h=function(t){return{\"background-color\":t}};function d(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Wb(1,\"div\"),i.Hc(2,c,1,0,\"div\",2),i.Vb(),i.Wb(3,\"div\",3),i.mc(4),i.Vb(),i.Vb()),2&t){const t=i.ic();i.Gc(\"position\",t.spinner.fullScreen?\"fixed\":\"absolute\"),i.oc(\"ngStyle\",i.tc(8,h,t.spinner.bdColor)),i.Db(1),i.Fb(t.spinner.class),i.Gc(\"color\",t.spinner.color),i.Db(1),i.oc(\"ngForOf\",t.spinner.divArray)}}const u=[\"*\"],p={\"ball-8bits\":16,\"ball-atom\":4,\"ball-beat\":3,\"ball-circus\":5,\"ball-climbing-dot\":4,\"ball-clip-rotate\":1,\"ball-clip-rotate-multiple\":2,\"ball-clip-rotate-pulse\":2,\"ball-elastic-dots\":5,\"ball-fall\":3,\"ball-fussion\":4,\"ball-grid-beat\":9,\"ball-grid-pulse\":9,\"ball-newton-cradle\":4,\"ball-pulse\":3,\"ball-pulse-rise\":5,\"ball-pulse-sync\":3,\"ball-rotate\":1,\"ball-running-dots\":5,\"ball-scale\":1,\"ball-scale-multiple\":3,\"ball-scale-pulse\":2,\"ball-scale-ripple\":1,\"ball-scale-ripple-multiple\":3,\"ball-spin\":8,\"ball-spin-clockwise\":8,\"ball-spin-clockwise-fade\":8,\"ball-spin-clockwise-fade-rotating\":8,\"ball-spin-fade\":8,\"ball-spin-fade-rotating\":8,\"ball-spin-rotate\":2,\"ball-square-clockwise-spin\":8,\"ball-square-spin\":8,\"ball-triangle-path\":3,\"ball-zig-zag\":2,\"ball-zig-zag-deflect\":2,cog:1,\"cube-transition\":2,fire:3,\"line-scale\":5,\"line-scale-party\":5,\"line-scale-pulse-out\":5,\"line-scale-pulse-out-rapid\":5,\"line-spin-clockwise-fade\":8,\"line-spin-clockwise-fade-rotating\":8,\"line-spin-fade\":8,\"line-spin-fade-rotating\":8,pacman:6,\"square-jelly-box\":2,\"square-loader\":1,\"square-spin\":1,timer:1,\"triangle-skew-spin\":1};class m{constructor(t){Object.assign(this,t)}}let f=(()=>{class t{constructor(){this.spinnerObservable=new r.a(1)}getSpinner(t){return this.spinnerObservable.asObservable().pipe(Object(a.a)(e=>e&&e.name===t))}show(t=\"primary\",e){return new Promise((n,i)=>{e&&Object.keys(e).length?(e.name=t,this.spinnerObservable.next(new m(Object.assign({},e,{show:!0}))),n(!0)):(this.spinnerObservable.next(new m({name:t,show:!0})),n(!0))})}hide(t=\"primary\"){return new Promise((e,n)=>{this.spinnerObservable.next(new m({name:t,show:!1})),e(!0)})}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t.ngInjectableDef=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})(),g=(()=>{class t{constructor(t,e){this.spinnerService=t,this.changeDetector=e,this.spinner=new m,this.ngUnsubscribe=new s.a,this.setDefaultOptions=()=>{this.spinner=new m({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show})},this.bdColor=\"rgba(51,51,51,0.8)\",this.size=\"large\",this.color=\"#fff\",this.type=\"ball-scale-multiple\",this.fullScreen=!0,this.name=\"primary\",this.divArray=[],this.divCount=0,this.show=!1}ngOnInit(){this.setDefaultOptions(),this.spinnerService.getSpinner(this.name).pipe(Object(o.a)(this.ngUnsubscribe)).subscribe(t=>{this.setDefaultOptions(),Object.assign(this.spinner,t),t.show&&this.onInputChange(),this.changeDetector.markForCheck()})}ngOnChanges(t){for(const e in t)if(e){const n=t[e];if(n.isFirstChange())return;void 0!==n.currentValue&&n.currentValue!==n.previousValue&&\"\"!==n.currentValue&&(this.spinner[e]=n.currentValue)}}getClass(t,e){this.spinner.divCount=p[t],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((t,e)=>e);let n=\"\";switch(e.toLowerCase()){case\"small\":n=\"la-sm\";break;case\"medium\":n=\"la-2x\";break;case\"large\":n=\"la-3x\"}return\"la-\"+t+\" \"+n}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f),i.Qb(i.h))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"ngx-spinner\"]],inputs:{bdColor:\"bdColor\",size:\"size\",color:\"color\",type:\"type\",fullScreen:\"fullScreen\",name:\"name\"},features:[i.Bb()],ngContentSelectors:u,decls:1,vars:1,consts:[[\"class\",\"overlay\",3,\"ngStyle\",\"position\",4,\"ngIf\"],[1,\"overlay\",3,\"ngStyle\"],[4,\"ngFor\",\"ngForOf\"],[1,\"loading-text\"]],template:function(t,e){1&t&&(i.nc(),i.Hc(0,d,5,10,\"div\",0)),2&t&&i.oc(\"ngIf\",e.spinner.show)},directives:[l.l,l.m,l.k],styles:['.la-ball-8bits[_ngcontent-%COMP%], .la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-8bits[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:12px;height:12px}.la-ball-8bits.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:0;opacity:0;-webkit-transform:translate(100%,100%);transform:translate(100%,100%);-webkit-animation:1s infinite ball-8bits;animation:1s infinite ball-8bits}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.9375s;animation-delay:-.9375s;top:-100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.875s;animation-delay:-.875s;top:-100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8125s;animation-delay:-.8125s;top:-66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.75s;animation-delay:-.75s;top:-33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.6875s;animation-delay:-.6875s;top:0;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.625s;animation-delay:-.625s;top:33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.5625s;animation-delay:-.5625s;top:66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.5s;animation-delay:-.5s;top:100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.4375s;animation-delay:-.4375s;top:100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-.375s;animation-delay:-.375s;top:100%;left:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){-webkit-animation-delay:-.3125s;animation-delay:-.3125s;top:66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){-webkit-animation-delay:-.25s;animation-delay:-.25s;top:33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){-webkit-animation-delay:-.1875s;animation-delay:-.1875s;top:0;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){-webkit-animation-delay:-.125s;animation-delay:-.125s;top:-33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){-webkit-animation-delay:-.0625s;animation-delay:-.0625s;top:-66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){-webkit-animation-delay:0s;animation-delay:0s;top:-100%;left:-33.3333333333%}.la-ball-8bits.la-sm[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-8bits.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:2px}.la-ball-8bits.la-2x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-8bits.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-8bits.la-3x[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-8bits.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:12px}@-webkit-keyframes ball-8bits{0%,50%{opacity:1}51%{opacity:0}}@keyframes ball-8bits{0%,50%{opacity:1}51%{opacity:0}}.la-ball-atom[_ngcontent-%COMP%], .la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-atom[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-atom.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){position:absolute;top:50%;left:50%;z-index:1;width:60%;height:60%;background:#aaa;border-radius:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-animation:4.5s linear infinite ball-atom-shrink;animation:4.5s linear infinite ball-atom-shrink}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){position:absolute;left:0;z-index:0;width:100%;height:100%;background:0 0;-webkit-animation:1.5s steps(2,end) infinite ball-atom-zindex;animation:1.5s steps(2,end) infinite ball-atom-zindex}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{position:absolute;top:0;left:0;width:10px;height:10px;margin-top:-5px;margin-left:-5px;content:\"\";background:currentColor;border-radius:50%;opacity:.75;-webkit-animation:1.5s infinite ball-atom-position,1.5s infinite ball-atom-size;animation:1.5s infinite ball-atom-position,1.5s infinite ball-atom-size}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:0s,-1.125s;animation-delay:0s,-1.125s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-1s,-.75s;animation-delay:-1s,-.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.5s,-125ms;animation-delay:-.5s,-125ms}.la-ball-atom.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-atom.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-atom.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-atom.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-atom.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-atom.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-atom-position{50%{top:100%;left:100%}}@keyframes ball-atom-position{50%{top:100%;left:100%}}@-webkit-keyframes ball-atom-size{50%{-webkit-transform:scale(.5,.5);transform:scale(.5,.5)}}@keyframes ball-atom-size{50%{-webkit-transform:scale(.5,.5);transform:scale(.5,.5)}}@-webkit-keyframes ball-atom-zindex{50%{z-index:10}}@keyframes ball-atom-zindex{50%{z-index:10}}@-webkit-keyframes ball-atom-shrink{50%{-webkit-transform:translate(-50%,-50%) scale(.8,.8);transform:translate(-50%,-50%) scale(.8,.8)}}@keyframes ball-atom-shrink{50%{-webkit-transform:translate(-50%,-50%) scale(.8,.8);transform:translate(-50%,-50%) scale(.8,.8)}}.la-ball-beat[_ngcontent-%COMP%], .la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:.7s linear -.15s infinite ball-beat;animation:.7s linear -.15s infinite ball-beat}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-beat.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-beat.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-beat.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-circus[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:16px;height:16px}.la-ball-circus.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:-100%;display:block;width:100%;height:100%;border-radius:100%;opacity:.5;-webkit-animation:2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-position,2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-size;animation:2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-position,2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-size}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s,-.5s;animation-delay:0s,-.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.5s,-1s;animation-delay:-.5s,-1s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s,-1.5s;animation-delay:-1s,-1.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s,-2s;animation-delay:-1.5s,-2s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2s,-2.5s;animation-delay:-2s,-2.5s}.la-ball-circus.la-sm[_ngcontent-%COMP%], .la-ball-circus.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-circus.la-2x[_ngcontent-%COMP%], .la-ball-circus.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-circus.la-3x[_ngcontent-%COMP%], .la-ball-circus.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:48px;height:48px}@-webkit-keyframes ball-circus-position{50%{left:100%}}@keyframes ball-circus-position{50%{left:100%}}@-webkit-keyframes ball-circus-size{50%{-webkit-transform:scale(.3,.3);transform:scale(.3,.3)}}@keyframes ball-circus-size{50%{-webkit-transform:scale(.3,.3);transform:scale(.3,.3)}}.la-ball-climbing-dot[_ngcontent-%COMP%], .la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-climbing-dot[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:42px;height:32px}.la-ball-climbing-dot.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){position:absolute;bottom:32%;left:18%;width:14px;height:14px;border-radius:100%;-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation:.6s ease-in-out infinite ball-climbing-dot-jump;animation:.6s ease-in-out infinite ball-climbing-dot-jump}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){position:absolute;top:0;right:0;width:14px;height:2px;border-radius:0;-webkit-transform:translate(60%,0);transform:translate(60%,0);-webkit-animation:1.8s linear infinite ball-climbing-dot-steps;animation:1.8s linear infinite ball-climbing-dot-steps}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(2){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(3){-webkit-animation-delay:-.6s;animation-delay:-.6s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:6px;height:6px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:6px;height:1px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%]{width:84px;height:64px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:28px;height:28px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:28px;height:4px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%]{width:126px;height:96px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:42px;height:42px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:42px;height:6px}@-webkit-keyframes ball-climbing-dot-jump{0%,100%{-webkit-transform:scale(1,.7);transform:scale(1,.7)}20%,80%,90%{-webkit-transform:scale(.7,1.2);transform:scale(.7,1.2)}40%,46%{-webkit-transform:scale(1,1);transform:scale(1,1)}50%{bottom:125%}}@keyframes ball-climbing-dot-jump{0%,100%{-webkit-transform:scale(1,.7);transform:scale(1,.7)}20%,80%,90%{-webkit-transform:scale(.7,1.2);transform:scale(.7,1.2)}40%,46%{-webkit-transform:scale(1,1);transform:scale(1,1)}50%{bottom:125%}}@-webkit-keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}100%{top:100%;right:100%;opacity:0}}@keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}100%{top:100%;right:100%;opacity:0}}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%], .la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;position:absolute;top:50%;left:50%;background:0 0;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-clip-rotate-multiple-rotate;animation:1s ease-in-out infinite ball-clip-rotate-multiple-rotate}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;border-right-color:transparent;border-left-color:transparent}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;border-top-color:transparent;border-bottom-color:transparent;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-direction:reverse;animation-direction:reverse}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-multiple-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ball-clip-rotate-multiple-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%], .la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;border-radius:100%}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;background:0 0;border-style:solid;border-width:2px;border-right-color:transparent;border-left-color:transparent;-webkit-animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-rotate;animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-rotate}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;-webkit-animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-scale;animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-scale}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px;border-width:6px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-pulse-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ball-clip-rotate-pulse-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}@-webkit-keyframes ball-clip-rotate-pulse-scale{0%,100%{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;-webkit-transform:translate(-50%,-50%) scale(.15);transform:translate(-50%,-50%) scale(.15)}}@keyframes ball-clip-rotate-pulse-scale{0%,100%{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;-webkit-transform:translate(-50%,-50%) scale(.15);transform:translate(-50%,-50%) scale(.15)}}.la-ball-clip-rotate[_ngcontent-%COMP%], .la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-bottom-color:transparent;border-radius:100%;-webkit-animation:.75s linear infinite ball-clip-rotate;animation:.75s linear infinite ball-clip-rotate}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-clip-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-clip-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-ball-elastic-dots[_ngcontent-%COMP%], .la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-elastic-dots[_ngcontent-%COMP%]{display:block;color:#fff;width:120px;height:10px;font-size:0;text-align:center}.la-ball-elastic-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid currentColor;display:inline-block;width:10px;height:10px;white-space:nowrap;border-radius:100%;-webkit-animation:1s infinite ball-elastic-dots-anim;animation:1s infinite ball-elastic-dots-anim}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%]{width:60px;height:4px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%]{width:240px;height:20px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%]{width:360px;height:30px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-elastic-dots-anim{0%,100%{margin:0;-webkit-transform:scale(1);transform:scale(1)}50%{margin:0 5%;-webkit-transform:scale(.65);transform:scale(.65)}}@keyframes ball-elastic-dots-anim{0%,100%{margin:0;-webkit-transform:scale(1);transform:scale(1)}50%{margin:0 5%;-webkit-transform:scale(.65);transform:scale(.65)}}.la-ball-fall[_ngcontent-%COMP%], .la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fall[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-fall.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;opacity:0;-webkit-animation:1s ease-in-out infinite ball-fall;animation:1s ease-in-out infinite ball-fall}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-fall.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-fall.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-fall.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-fall.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-fall.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-fall.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-fall{0%{opacity:0;-webkit-transform:translateY(-145%);transform:translateY(-145%)}10%,90%{opacity:.5}20%,80%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(145%);transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;-webkit-transform:translateY(-145%);transform:translateY(-145%)}10%,90%{opacity:.5}20%,80%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(145%);transform:translateY(145%)}}.la-ball-fussion[_ngcontent-%COMP%], .la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fussion[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:8px;height:8px}.la-ball-fussion.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:12px;height:12px;border-radius:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-animation:1s infinite ball-fussion-ball1;animation:1s infinite ball-fussion-ball1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:50%;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:50%;left:100%;z-index:2;-webkit-animation-name:ball-fussion-ball2;animation-name:ball-fussion-ball2}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:100%;left:50%;z-index:1;-webkit-animation-name:ball-fussion-ball3;animation-name:ball-fussion-ball3}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:0;z-index:2;-webkit-animation-name:ball-fussion-ball4;animation-name:ball-fussion-ball4}.la-ball-fussion.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-fussion.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-fussion.la-2x[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-fussion.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-ball-fussion.la-3x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-fussion.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}100%{top:50%;left:100%;z-index:2;opacity:.35}}@keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}100%{top:50%;left:100%;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}100%{top:100%;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}100%{top:100%;left:50%;z-index:1;opacity:.35}}@-webkit-keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}100%{top:50%;left:0;z-index:2;opacity:.35}}@keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}100%{top:50%;left:0;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}100%{top:0;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}100%{top:0;left:50%;z-index:1;opacity:.35}}.la-ball-grid-beat[_ngcontent-%COMP%], .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:36px;height:36px}.la-ball-grid-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-beat{0%,100%{opacity:1}50%{opacity:.35}}@keyframes ball-grid-beat{0%,100%{opacity:1}50%{opacity:.35}}.la-ball-grid-pulse[_ngcontent-%COMP%], .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:36px;height:36px}.la-ball-grid-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-pulse{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.35;-webkit-transform:scale(.45);transform:scale(.45)}}@keyframes ball-grid-pulse{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.35;-webkit-transform:scale(.45);transform:scale(.45)}}.la-ball-newton-cradle[_ngcontent-%COMP%], .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-newton-cradle[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:10px}.la-ball-newton-cradle.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;border-radius:100%}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation:1s ease-out infinite ball-newton-cradle-left;animation:1s ease-out infinite ball-newton-cradle-left}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation:1s ease-out infinite ball-newton-cradle-right;animation:1s ease-out infinite ball-newton-cradle-right}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%]{width:20px;height:4px}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%]{width:80px;height:20px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%]{width:120px;height:30px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-newton-cradle-left{25%{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes ball-newton-cradle-left{25%{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes ball-newton-cradle-right{100%,50%{-webkit-transform:translateX(0);transform:translateX(0)}75%{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes ball-newton-cradle-right{100%,50%{-webkit-transform:translateX(0);transform:translateX(0)}75%{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.la-ball-pulse-rise[_ngcontent-%COMP%], .la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-rise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:70px;height:14px}.la-ball-pulse-rise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:2px;border-radius:100%;-webkit-animation:1s cubic-bezier(.15,.36,.9,.6) infinite ball-pulse-rise-even;animation:1s cubic-bezier(.15,.36,.9,.6) infinite ball-pulse-rise-even}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%]{width:34px;height:6px}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%]{width:140px;height:28px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:4px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%]{width:210px;height:42px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:6px}@-webkit-keyframes ball-pulse-rise-even{0%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}50%{opacity:.35;-webkit-transform:scale(.3);transform:scale(.3)}75%{-webkit-transform:translateY(200%);transform:translateY(200%)}100%{opacity:1;-webkit-transform:translateY(0);-webkit-transform:scale(1);transform:translateY(0);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}50%{opacity:.35;-webkit-transform:scale(.3);transform:scale(.3)}75%{-webkit-transform:translateY(200%);transform:translateY(200%)}100%{opacity:1;-webkit-transform:translateY(0);-webkit-transform:scale(1);transform:translateY(0);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{opacity:.35;-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(200%);transform:translateY(200%)}50%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}100%{opacity:.35;-webkit-transform:translateY(0);-webkit-transform:scale(.75);transform:translateY(0);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{opacity:.35;-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(200%);transform:translateY(200%)}50%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}100%{opacity:.35;-webkit-transform:translateY(0);-webkit-transform:scale(.75);transform:translateY(0);transform:scale(.75)}}.la-ball-pulse-sync[_ngcontent-%COMP%], .la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-sync[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-pulse-sync.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:.6s ease-in-out infinite ball-pulse-sync;animation:.6s ease-in-out infinite ball-pulse-sync}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.14s;animation-delay:-.14s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.07s;animation-delay:-.07s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse-sync{33%{-webkit-transform:translateY(100%);transform:translateY(100%)}66%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes ball-pulse-sync{33%{-webkit-transform:translateY(100%);transform:translateY(100%)}66%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.la-ball-pulse[_ngcontent-%COMP%], .la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:1s infinite ball-pulse;animation:1s infinite ball-pulse}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse{0%,100%,60%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}30%{opacity:.1;-webkit-transform:scale(.01);transform:scale(.01)}}@keyframes ball-pulse{0%,100%,60%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}30%{opacity:.1;-webkit-transform:scale(.01);transform:scale(.01)}}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:10px;height:10px}.la-ball-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;border-radius:100%;-webkit-animation:1s cubic-bezier(.7,-.13,.22,.86) infinite ball-rotate-animation;animation:1s cubic-bezier(.7,-.13,.22,.86) infinite ball-rotate-animation}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;width:inherit;height:inherit;margin:inherit;content:\"\";background:currentColor;border-radius:inherit;opacity:.8}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:0;left:-150%}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{top:0;left:150%}.la-ball-rotate.la-sm[_ngcontent-%COMP%], .la-ball-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-rotate.la-2x[_ngcontent-%COMP%], .la-ball-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-rotate.la-3x[_ngcontent-%COMP%], .la-ball-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-rotate-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-rotate-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-ball-running-dots[_ngcontent-%COMP%], .la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-running-dots[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:10px;height:10px}.la-ball-running-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:10px;height:10px;margin-left:-25px;border-radius:100%;-webkit-animation:2s linear infinite ball-running-dots-animate;animation:2s linear infinite ball-running-dots-animate}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.6s;animation-delay:-1.6s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2.8s;animation-delay:-2.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-3.2s;animation-delay:-3.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-3.6s;animation-delay:-3.6s}.la-ball-running-dots.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-running-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-left:-12px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:-50px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%]{width:30px;height:30px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-left:-75px}@-webkit-keyframes ball-running-dots-animate{0%,100%{width:100%;height:100%;-webkit-transform:translateY(0) translateX(500%);transform:translateY(0) translateX(500%)}80%{-webkit-transform:translateY(0) translateX(0);transform:translateY(0) translateX(0)}85%{width:100%;height:100%;-webkit-transform:translateY(-125%) translateX(0);transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;-webkit-transform:translateY(-100%) translateX(500%);transform:translateY(-100%) translateX(500%)}}@keyframes ball-running-dots-animate{0%,100%{width:100%;height:100%;-webkit-transform:translateY(0) translateX(500%);transform:translateY(0) translateX(500%)}80%{-webkit-transform:translateY(0) translateX(0);transform:translateY(0) translateX(0)}85%{width:100%;height:100%;-webkit-transform:translateY(-125%) translateX(0);transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;-webkit-transform:translateY(-100%) translateX(500%);transform:translateY(-100%) translateX(500%)}}.la-ball-scale-multiple[_ngcontent-%COMP%], .la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:1s linear infinite ball-scale-multiple;animation:1s linear infinite ball-scale-multiple}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}.la-ball-scale-multiple.la-sm[_ngcontent-%COMP%], .la-ball-scale-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-multiple.la-2x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-multiple.la-3x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-multiple{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}5%{opacity:.75}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-scale-multiple{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}5%{opacity:.75}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-scale-pulse[_ngcontent-%COMP%], .la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:.5;-webkit-animation:2s ease-in-out infinite ball-scale-pulse;animation:2s ease-in-out infinite ball-scale-pulse}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-scale-pulse.la-sm[_ngcontent-%COMP%], .la-ball-scale-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-pulse.la-2x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-pulse.la-3x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-pulse{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-scale-pulse{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%], .la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-ripple-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;background:0 0;border-radius:100%;opacity:0;-webkit-animation:1.25s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple-multiple;animation:1.25s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple-multiple}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.5s;animation-delay:.5s}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple-multiple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.5;-webkit-transform:scale(1);transform:scale(1)}95%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.5;-webkit-transform:scale(1);transform:scale(1)}95%{opacity:0}}.la-ball-scale-ripple[_ngcontent-%COMP%], .la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-ripple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-radius:100%;opacity:0;-webkit-animation:1s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple;animation:1s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.65;-webkit-transform:scale(1);transform:scale(1)}100%{opacity:0}}@keyframes ball-scale-ripple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.65;-webkit-transform:scale(1);transform:scale(1)}100%{opacity:0}}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:1s ease-in-out infinite ball-scale;animation:1s ease-in-out infinite ball-scale}.la-ball-scale.la-sm[_ngcontent-%COMP%], .la-ball-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale.la-2x[_ngcontent-%COMP%], .la-ball-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale.la-3x[_ngcontent-%COMP%], .la-ball-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-scale{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-clockwise-fade-rotating-rotate;animation:6s linear infinite ball-spin-clockwise-fade-rotating-rotate}.la-ball-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-clockwise-fade-rotating;animation:1s linear infinite ball-spin-clockwise-fade-rotating}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes ball-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-clockwise-fade;animation:1s linear infinite ball-spin-clockwise-fade}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-clockwise-fade{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-clockwise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-spin-clockwise;animation:1s ease-in-out infinite ball-spin-clockwise}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes ball-spin-clockwise{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}.la-ball-spin-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-fade-rotate;animation:6s linear infinite ball-spin-fade-rotate}.la-ball-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-fade;animation:1s linear infinite ball-spin-fade}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-spin-fade-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-ball-spin-fade[_ngcontent-%COMP%], .la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-fade;animation:1s linear infinite ball-spin-fade}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}}@keyframes ball-spin-fade{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}}.la-ball-spin-rotate[_ngcontent-%COMP%], .la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:2s linear infinite ball-spin-rotate;animation:2s linear infinite ball-spin-rotate}.la-ball-spin-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;width:60%;height:60%;border-radius:100%;-webkit-animation:2s ease-in-out infinite ball-spin-bounce;animation:2s ease-in-out infinite ball-spin-bounce}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-spin-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-spin-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-spin-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes ball-spin-bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin[_ngcontent-%COMP%], .la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-spin;animation:1s ease-in-out infinite ball-spin}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes ball-spin{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}.la-ball-square-clockwise-spin[_ngcontent-%COMP%], .la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:26px;height:26px}.la-ball-square-clockwise-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-square-clockwise-spin;animation:1s ease-in-out infinite ball-square-clockwise-spin}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:0;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-clockwise-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-square-clockwise-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-square-spin[_ngcontent-%COMP%], .la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:26px;height:26px}.la-ball-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-square-spin;animation:1s ease-in-out infinite ball-square-spin}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:0;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-square-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-square-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-triangle-path[_ngcontent-%COMP%], .la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-triangle-path[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-triangle-path.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:10px;height:10px;border-radius:100%}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-one;animation:2s ease-in-out infinite ball-triangle-path-ball-one}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-two;animation:2s ease-in-out infinite ball-triangle-path-ball-two}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-tree;animation:2s ease-in-out infinite ball-triangle-path-ball-tree}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-triangle-path-ball-one{0%{-webkit-transform:translate(0,220%);transform:translate(0,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}66%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}100%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}}@keyframes ball-triangle-path-ball-one{0%{-webkit-transform:translate(0,220%);transform:translate(0,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}66%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}100%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}}@-webkit-keyframes ball-triangle-path-ball-two{0%{-webkit-transform:translate(110%,0);transform:translate(110%,0)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}66%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}100%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}}@keyframes ball-triangle-path-ball-two{0%{-webkit-transform:translate(110%,0);transform:translate(110%,0)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}66%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}100%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}}@-webkit-keyframes ball-triangle-path-ball-tree{0%{-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}66%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}100%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}}@keyframes ball-triangle-path-ball-tree{0%{-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}66%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}100%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}}.la-ball-zig-zag-deflect[_ngcontent-%COMP%], .la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;position:relative;width:32px;height:32px}.la-ball-zig-zag-deflect.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:1.5s linear infinite ball-zig-deflect;animation:1.5s linear infinite ball-zig-deflect}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:1.5s linear infinite ball-zag-deflect;animation:1.5s linear infinite ball-zag-deflect}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-80%,-160%);transform:translate(-80%,-160%)}34%,67%{-webkit-transform:translate(80%,-160%);transform:translate(80%,-160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-80%,-160%);transform:translate(-80%,-160%)}34%,67%{-webkit-transform:translate(80%,-160%);transform:translate(80%,-160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@-webkit-keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(80%,160%);transform:translate(80%,160%)}34%,67%{-webkit-transform:translate(-80%,160%);transform:translate(-80%,160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(80%,160%);transform:translate(80%,160%)}34%,67%{-webkit-transform:translate(-80%,160%);transform:translate(-80%,160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}.la-ball-zig-zag[_ngcontent-%COMP%], .la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box}.la-ball-zig-zag[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;position:relative;width:32px;height:32px}.la-ball-zig-zag.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:.7s linear infinite ball-zig-effect;animation:.7s linear infinite ball-zig-effect}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:.7s linear infinite ball-zag-effect;animation:.7s linear infinite ball-zag-effect}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(-75%,-150%);transform:translate(-75%,-150%)}66%{-webkit-transform:translate(75%,-150%);transform:translate(75%,-150%)}}@keyframes ball-zig-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(-75%,-150%);transform:translate(-75%,-150%)}66%{-webkit-transform:translate(75%,-150%);transform:translate(75%,-150%)}}@-webkit-keyframes ball-zag-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(75%,150%);transform:translate(75%,150%)}66%{-webkit-transform:translate(-75%,150%);transform:translate(-75%,150%)}}@keyframes ball-zag-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(75%,150%);transform:translate(75%,150%)}66%{-webkit-transform:translate(-75%,150%);transform:translate(-75%,150%)}}.la-cog[_ngcontent-%COMP%], .la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cog[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:31px;height:31px}.la-cog.la-dark[_ngcontent-%COMP%]{color:#333}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px dashed currentColor;width:100%;height:100%;background-color:transparent;border-radius:100%;-webkit-animation:4s linear infinite cog-rotate;animation:4s linear infinite cog-rotate}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";border:2px solid currentColor;border-radius:100%}.la-cog.la-sm[_ngcontent-%COMP%]{width:15px;height:15px}.la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:1px}.la-cog.la-2x[_ngcontent-%COMP%]{width:61px;height:61px}.la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:4px}.la-cog.la-3x[_ngcontent-%COMP%]{width:91px;height:91px}.la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:6px}@-webkit-keyframes cog-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cog-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-cube-transition[_ngcontent-%COMP%], .la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cube-transition[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-cube-transition.la-dark[_ngcontent-%COMP%]{color:#333}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:14px;height:14px;margin-top:-7px;margin-left:-7px;border-radius:0;-webkit-animation:1.6s ease-in-out infinite cube-transition;animation:1.6s ease-in-out infinite cube-transition}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-cube-transition.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-cube-transition.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-cube-transition.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-cube-transition.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:28px;height:28px;margin-top:-14px;margin-left:-14px}.la-cube-transition.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-cube-transition.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:42px;height:42px;margin-top:-21px;margin-left:-21px}@-webkit-keyframes cube-transition{25%{top:0;left:100%;-webkit-transform:scale(.5) rotate(-90deg);transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;-webkit-transform:scale(1) rotate(-180deg);transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;-webkit-transform:scale(.5) rotate(-270deg);transform:scale(.5) rotate(-270deg)}100%{top:0;left:0;-webkit-transform:scale(1) rotate(-360deg);transform:scale(1) rotate(-360deg)}}@keyframes cube-transition{25%{top:0;left:100%;-webkit-transform:scale(.5) rotate(-90deg);transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;-webkit-transform:scale(1) rotate(-180deg);transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;-webkit-transform:scale(.5) rotate(-270deg);transform:scale(.5) rotate(-270deg)}100%{top:0;left:0;-webkit-transform:scale(1) rotate(-360deg);transform:scale(1) rotate(-360deg)}}.la-fire[_ngcontent-%COMP%], .la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-fire[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-fire.la-dark[_ngcontent-%COMP%]{color:#333}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;bottom:0;left:50%;width:12px;height:12px;border-radius:2px;-webkit-transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);-webkit-animation:1.5s linear infinite fire-diamonds;animation:1.5s linear infinite fire-diamonds}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.85s;animation-delay:-.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.85s;animation-delay:-1.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-2.85s;animation-delay:-2.85s}.la-fire.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-fire.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-fire.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-fire.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px}.la-fire.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-fire.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes fire-diamonds{0%{-webkit-transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{-webkit-transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1);transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}100%{-webkit-transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}@keyframes fire-diamonds{0%{-webkit-transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{-webkit-transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1);transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}100%{-webkit-transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}.la-line-scale-party[_ngcontent-%COMP%], .la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-party[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-party.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.23s;animation-delay:-.23s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:.62s;animation-duration:.62s;-webkit-animation-delay:-.32s;animation-delay:-.32s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.44s;animation-delay:-.44s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-delay:-.31s;animation-delay:-.31s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:.74s;animation-duration:.74s;-webkit-animation-delay:-.24s;animation-delay:-.24s}.la-line-scale-party.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-party.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-party.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-party.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-party.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-party.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-party{0%,100%{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(.3);transform:scaleY(.3)}}@keyframes line-scale-party{0%,100%{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(.3);transform:scaleY(.3)}}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%], .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-pulse-out-rapid.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:.9s cubic-bezier(.11,.49,.38,.78) infinite line-scale-pulse-out-rapid;animation:.9s cubic-bezier(.11,.49,.38,.78) infinite line-scale-pulse-out-rapid}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.65s;animation-delay:-.65s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}@keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}.la-line-scale-pulse-out[_ngcontent-%COMP%], .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-pulse-out.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:.9s cubic-bezier(.85,.25,.37,.85) infinite line-scale-pulse-out;animation:.9s cubic-bezier(.85,.25,.37,.85) infinite line-scale-pulse-out}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.7s;animation-delay:-.7s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out{0%,100%{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.3);transform:scaley(.3)}}@keyframes line-scale-pulse-out{0%,100%{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.3);transform:scaley(.3)}}.la-line-scale[_ngcontent-%COMP%], .la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:1.2s infinite line-scale;animation:1.2s infinite line-scale}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-line-scale.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale{0%,100%,40%{-webkit-transform:scaleY(.4);transform:scaleY(.4)}20%{-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes line-scale{0%,100%,40%{-webkit-transform:scaleY(.4);transform:scaleY(.4)}20%{-webkit-transform:scaleY(1);transform:scaleY(1)}}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite line-spin-clockwise-fade-rotating-rotate;animation:6s linear infinite line-spin-clockwise-fade-rotating-rotate}.la-line-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-clockwise-fade-rotating;animation:1s ease-in-out infinite line-spin-clockwise-fade-rotating}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes line-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}100%{opacity:1}}.la-line-spin-clockwise-fade[_ngcontent-%COMP%], .la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-line-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-clockwise-fade;animation:1s ease-in-out infinite line-spin-clockwise-fade}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-clockwise-fade{50%{opacity:.2}100%{opacity:1}}.la-line-spin-fade-rotating[_ngcontent-%COMP%], .la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-fade-rotating-rotate;animation:6s linear infinite ball-spin-fade-rotating-rotate}.la-line-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-fade-rotating;animation:1s ease-in-out infinite line-spin-fade-rotating}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes ball-spin-fade-rotating-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-spin-fade-rotating-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes line-spin-fade-rotating{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-fade-rotating{50%{opacity:.2}100%{opacity:1}}.la-line-spin-fade[_ngcontent-%COMP%], .la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-line-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-fade;animation:1s ease-in-out infinite line-spin-fade}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-fade{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-fade{50%{opacity:.2}100%{opacity:1}}.la-pacman[_ngcontent-%COMP%], .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-pacman[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-pacman.la-dark[_ngcontent-%COMP%]{color:#333}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){width:0;height:0;background:0 0;border-style:solid;border-width:16px;border-right-color:transparent;border-radius:100%;-webkit-animation:.5s infinite pacman-rotate-half-up;animation:.5s infinite pacman-rotate-half-up}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-32px;-webkit-animation-name:pacman-rotate-half-down;animation-name:pacman-rotate-half-down}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){position:absolute;top:50%;left:200%;width:8px;height:8px;border-radius:100%;opacity:0;-webkit-animation:2s linear infinite pacman-balls;animation:2s linear infinite pacman-balls}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.44s;animation-delay:-1.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.94s;animation-delay:-1.94s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2.44s;animation-delay:-2.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2.94s;animation-delay:-2.94s}.la-pacman.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:8px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:4px;height:4px}.la-pacman.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:32px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:16px;height:16px}.la-pacman.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:48px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:24px;height:24px}@-webkit-keyframes pacman-rotate-half-up{0%,100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes pacman-rotate-half-up{0%,100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes pacman-rotate-half-down{0%,100%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes pacman-rotate-half-down{0%,100%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes pacman-balls{0%{left:200%;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}100%{left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}}@keyframes pacman-balls{0%{left:200%;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}100%{left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}}.la-square-jelly-box[_ngcontent-%COMP%], .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-jelly-box[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-jelly-box.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){position:absolute;left:0;width:100%}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:-25%;z-index:1;height:100%;border-radius:10%;-webkit-animation:.6s linear -.1s infinite square-jelly-box-animate;animation:.6s linear -.1s infinite square-jelly-box-animate}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){bottom:-9%;height:10%;background:#000;border-radius:50%;opacity:.2;-webkit-animation:.6s linear -.1s infinite square-jelly-box-shadow;animation:.6s linear -.1s infinite square-jelly-box-shadow}.la-square-jelly-box.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-jelly-box.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-jelly-box.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{-webkit-transform:translateY(25%) rotate(22.5deg);transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;-webkit-transform:translateY(50%) scale(1,.9) rotate(45deg);transform:translateY(50%) scale(1,.9) rotate(45deg)}75%{-webkit-transform:translateY(25%) rotate(67.5deg);transform:translateY(25%) rotate(67.5deg)}100%{-webkit-transform:translateY(0) rotate(90deg);transform:translateY(0) rotate(90deg)}}@keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{-webkit-transform:translateY(25%) rotate(22.5deg);transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;-webkit-transform:translateY(50%) scale(1,.9) rotate(45deg);transform:translateY(50%) scale(1,.9) rotate(45deg)}75%{-webkit-transform:translateY(25%) rotate(67.5deg);transform:translateY(25%) rotate(67.5deg)}100%{-webkit-transform:translateY(0) rotate(90deg);transform:translateY(0) rotate(90deg)}}@-webkit-keyframes square-jelly-box-shadow{50%{-webkit-transform:scale(1.25,1);transform:scale(1.25,1)}}@keyframes square-jelly-box-shadow{50%{-webkit-transform:scale(1.25,1);transform:scale(1.25,1)}}.la-square-loader[_ngcontent-%COMP%], .la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-loader[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-loader.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:100%;height:100%;background:0 0;border-radius:0;-webkit-animation:2s infinite square-loader;animation:2s infinite square-loader}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:inline-block;width:100%;vertical-align:top;content:\"\";background-color:currentColor;-webkit-animation:2s ease-in infinite square-loader-inner;animation:2s ease-in infinite square-loader-inner}.la-square-loader.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-loader.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-square-loader.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-loader.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-square-loader.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-square-loader.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}@-webkit-keyframes square-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%,50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%,75%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes square-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%,50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%,75%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes square-loader-inner{0%,100%,25%{height:0}50%,75%{height:100%}}@keyframes square-loader-inner{0%,100%,25%{height:0}50%,75%{height:100%}}.la-square-spin[_ngcontent-%COMP%], .la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:100%;height:100%;border-radius:0;-webkit-animation:3s cubic-bezier(.09,.57,.49,.9) infinite square-spin;animation:3s cubic-bezier(.09,.57,.49,.9) infinite square-spin}.la-square-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}@keyframes square-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-timer[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-timer.la-dark[_ngcontent-%COMP%]{color:#333}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-radius:100%}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;top:14px;left:14px;display:block;width:2px;margin-top:-1px;margin-left:-1px;content:\"\";background:currentColor;border-radius:2px;-webkit-transform-origin:1px 1px 0;transform-origin:1px 1px 0;-webkit-animation:1.25s linear -625ms infinite timer-loader;animation:1.25s linear -625ms infinite timer-loader}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:12px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:8px;-webkit-animation-duration:15s;animation-duration:15s;-webkit-animation-delay:-7.5s;animation-delay:-7.5s}.la-timer.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:7px;left:7px;width:1px;margin-top:-.5px;margin-left:-.5px;border-radius:1px;-webkit-transform-origin:.5px .5px 0;transform-origin:.5px .5px 0}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:6px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:4px}.la-timer.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:28px;left:28px;width:4px;margin-top:-2px;margin-left:-2px;border-radius:4px;-webkit-transform-origin:2px 2px 0;transform-origin:2px 2px 0}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:24px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:16px}.la-timer.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:42px;left:42px;width:6px;margin-top:-3px;margin-left:-3px;border-radius:6px;-webkit-transform-origin:3px 3px 0;transform-origin:3px 3px 0}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:36px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:24px}@-webkit-keyframes timer-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes timer-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-triangle-skew-spin[_ngcontent-%COMP%], .la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-triangle-skew-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:16px}.la-triangle-skew-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:0 solid currentColor;width:0;height:0;background:0 0;border:solid;border-width:0 16px 16px;border-right-color:transparent;border-left-color:transparent;-webkit-animation:3s cubic-bezier(.09,.57,.49,.9) infinite triangle-skew-spin;animation:3s cubic-bezier(.09,.57,.49,.9) infinite triangle-skew-spin}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:8px}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 8px 8px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:32px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 32px 32px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:48px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 48px 48px}@-webkit-keyframes triangle-skew-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}@keyframes triangle-skew-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99999!important}.overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;-webkit-transform:translate(-50%,-60%);transform:translate(-50%,-60%);z-index:99999!important}'],changeDetection:0}),t})(),b=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[l.c]]}),t})()},KFGy:function(t,e,n){var i=n(\"Vo14\"),r=n(\"2xqC\"),s=n(\"kSER\"),a=n(\"2Dig\"),o=n(\"QN7Q\"),l=n(\"NOtv\")(\"socket.io-client:socket\"),c=n(\"TypT\"),h=n(\"WLGk\");t.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},u=r.prototype.emit;function p(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}r(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[a(t,\"open\",o(this,\"onopen\")),a(t,\"packet\",o(this,\"onpacket\")),a(t,\"close\",o(this,\"onclose\"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),\"open\"===this.io.readyState&&this.onopen(),this.emit(\"connecting\"),this)},p.prototype.send=function(){var t=s(arguments);return t.unshift(\"message\"),this.emit.apply(this,t),this},p.prototype.emit=function(t){if(d.hasOwnProperty(t))return u.apply(this,arguments),this;var e=s(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:h(e))?i.BINARY_EVENT:i.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,\"function\"==typeof e[e.length-1]&&(l(\"emitting packet with ack id %d\",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},p.prototype.onopen=function(){if(l(\"transport is open - connecting\"),\"/\"!==this.nsp)if(this.query){var t=\"object\"==typeof this.query?c.encode(this.query):this.query;l(\"sending connect packet with query %s\",t),this.packet({type:i.CONNECT,query:t})}else this.packet({type:i.CONNECT})},p.prototype.onclose=function(t){l(\"close (%s)\",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit(\"disconnect\",t)},p.prototype.onpacket=function(t){if(t.nsp===this.nsp||t.type===i.ERROR&&\"/\"===t.nsp)switch(t.type){case i.CONNECT:this.onconnect();break;case i.EVENT:case i.BINARY_EVENT:this.onevent(t);break;case i.ACK:case i.BINARY_ACK:this.onack(t);break;case i.DISCONNECT:this.ondisconnect();break;case i.ERROR:this.emit(\"error\",t.data)}},p.prototype.onevent=function(t){var e=t.data||[];l(\"emitting event %j\",e),null!=t.id&&(l(\"attaching ack callback to event\"),e.push(this.ack(t.id))),this.connected?u.apply(this,e):this.receiveBuffer.push(e)},p.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var r=s(arguments);l(\"sending ack %j\",r),e.packet({type:h(r)?i.BINARY_ACK:i.ACK,id:t,data:r})}}},p.prototype.onack=function(t){var e=this.acks[t.id];\"function\"==typeof e?(l(\"calling ack %s with %j\",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):l(\"bad ack %s\",t.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit(\"connect\"),this.emitBuffered()},p.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)u.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){l(\"server disconnect (%s)\",this.nsp),this.destroy(),this.onclose(\"io server disconnect\")},p.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(l(\"performing disconnect (%s)\",this.nsp),this.packet({type:i.DISCONNECT})),this.destroy(),this.connected&&this.onclose(\"io client disconnect\"),this},p.prototype.compress=function(t){return this.flags.compress=t,this},p.prototype.binary=function(t){return this.flags.binary=t,this}},Kj3r:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"7o/Q\"),r=n(\"D0XW\");function s(t,e=r.a){return n=>n.lift(new a(t,e))}class a{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new o(t,this.dueTime,this.scheduler))}}class o extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},KqfI:function(t,e,n){\"use strict\";function i(){}n.d(e,\"a\",(function(){return i}))},LRne:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"z+Ro\"),r=n(\"yCtX\"),s=n(\"jZKg\");function a(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){\"use strict\";function i(){return\"function\"==typeof Symbol&&Symbol.iterator?Symbol.iterator:\"@@iterator\"}n.d(e,\"a\",(function(){return r}));const r=i()},M9IT:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return C})),n.d(e,\"b\",(function(){return k}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"bTqV\"),a=n(\"d3UM\"),o=n(\"Qu3c\"),l=n(\"8LU1\"),c=n(\"XNiG\"),h=n(\"FKr1\"),d=n(\"kmnG\");function u(t,e){if(1&t&&(r.Wb(0,\"mat-option\",19),r.Jc(1),r.Vb()),2&t){const t=e.$implicit;r.oc(\"value\",t),r.Db(1),r.Lc(\" \",t,\" \")}}function p(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",16),r.Wb(1,\"mat-select\",17),r.ec(\"selectionChange\",(function(e){return r.zc(t),r.ic(2)._changePageSize(e.value)})),r.Hc(2,u,2,2,\"mat-option\",18),r.Vb(),r.Vb()}if(2&t){const t=r.ic(2);r.oc(\"color\",t.color),r.Db(1),r.oc(\"value\",t.pageSize)(\"disabled\",t.disabled)(\"aria-label\",t._intl.itemsPerPageLabel),r.Db(1),r.oc(\"ngForOf\",t._displayedPageSizeOptions)}}function m(t,e){if(1&t&&(r.Wb(0,\"div\",20),r.Jc(1),r.Vb()),2&t){const t=r.ic(2);r.Db(1),r.Kc(t.pageSize)}}function f(t,e){if(1&t&&(r.Wb(0,\"div\",12),r.Wb(1,\"div\",13),r.Jc(2),r.Vb(),r.Hc(3,p,3,5,\"mat-form-field\",14),r.Hc(4,m,2,1,\"div\",15),r.Vb()),2&t){const t=r.ic();r.Db(2),r.Lc(\" \",t._intl.itemsPerPageLabel,\" \"),r.Db(1),r.oc(\"ngIf\",t._displayedPageSizeOptions.length>1),r.Db(1),r.oc(\"ngIf\",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"button\",21),r.ec(\"click\",(function(){return r.zc(t),r.ic().firstPage()})),r.hc(),r.Wb(1,\"svg\",7),r.Rb(2,\"path\",22),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"matTooltip\",t._intl.firstPageLabel)(\"matTooltipDisabled\",t._previousButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",t._previousButtonsDisabled()),r.Eb(\"aria-label\",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=r.Xb();r.hc(),r.gc(),r.Wb(0,\"button\",23),r.ec(\"click\",(function(){return r.zc(t),r.ic().lastPage()})),r.hc(),r.Wb(1,\"svg\",7),r.Rb(2,\"path\",24),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"matTooltip\",t._intl.lastPageLabel)(\"matTooltipDisabled\",t._nextButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",t._nextButtonsDisabled()),r.Eb(\"aria-label\",t._intl.lastPageLabel)}}let _=(()=>{class t{constructor(){this.changes=new c.a,this.itemsPerPageLabel=\"Items per page:\",this.nextPageLabel=\"Next page\",this.previousPageLabel=\"Previous page\",this.firstPageLabel=\"First page\",this.lastPageLabel=\"Last page\",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return`0 of ${n}`;const i=t*e;return`${i+1} \\u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const y={provide:_,deps:[[new r.B,new r.K,_]],useFactory:function(t){return t||new _}},v=new r.r(\"MAT_PAGINATOR_DEFAULT_OPTIONS\");class w{}const x=Object(h.v)(Object(h.x)(w));let C=(()=>{class t extends x{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new r.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:r}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(l.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(l.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(l.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(l.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(l.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(l.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(_),r.Qb(r.h),r.Qb(v,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-paginator\"]],hostAttrs:[1,\"mat-paginator\"],inputs:{disabled:\"disabled\",pageIndex:\"pageIndex\",length:\"length\",pageSize:\"pageSize\",pageSizeOptions:\"pageSizeOptions\",hidePageSize:\"hidePageSize\",showFirstLastButtons:\"showFirstLastButtons\",color:\"color\"},outputs:{page:\"page\"},exportAs:[\"matPaginator\"],features:[r.Ab],decls:14,vars:14,consts:[[1,\"mat-paginator-outer-container\"],[1,\"mat-paginator-container\"],[\"class\",\"mat-paginator-page-size\",4,\"ngIf\"],[1,\"mat-paginator-range-actions\"],[1,\"mat-paginator-range-label\"],[\"mat-icon-button\",\"\",\"type\",\"button\",\"class\",\"mat-paginator-navigation-first\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\",4,\"ngIf\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-previous\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"viewBox\",\"0 0 24 24\",\"focusable\",\"false\",1,\"mat-paginator-icon\"],[\"d\",\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-next\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"d\",\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"],[\"mat-icon-button\",\"\",\"type\",\"button\",\"class\",\"mat-paginator-navigation-last\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\",4,\"ngIf\"],[1,\"mat-paginator-page-size\"],[1,\"mat-paginator-page-size-label\"],[\"class\",\"mat-paginator-page-size-select\",3,\"color\",4,\"ngIf\"],[\"class\",\"mat-paginator-page-size-value\",4,\"ngIf\"],[1,\"mat-paginator-page-size-select\",3,\"color\"],[3,\"value\",\"disabled\",\"aria-label\",\"selectionChange\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[3,\"value\"],[1,\"mat-paginator-page-size-value\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-first\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"d\",\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-last\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"d\",\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"]],template:function(t,e){1&t&&(r.Wb(0,\"div\",0),r.Wb(1,\"div\",1),r.Hc(2,f,5,3,\"div\",2),r.Wb(3,\"div\",3),r.Wb(4,\"div\",4),r.Jc(5),r.Vb(),r.Hc(6,g,3,5,\"button\",5),r.Wb(7,\"button\",6),r.ec(\"click\",(function(){return e.previousPage()})),r.hc(),r.Wb(8,\"svg\",7),r.Rb(9,\"path\",8),r.Vb(),r.Vb(),r.gc(),r.Wb(10,\"button\",9),r.ec(\"click\",(function(){return e.nextPage()})),r.hc(),r.Wb(11,\"svg\",7),r.Rb(12,\"path\",10),r.Vb(),r.Vb(),r.Hc(13,b,3,5,\"button\",11),r.Vb(),r.Vb(),r.Vb()),2&t&&(r.Db(2),r.oc(\"ngIf\",!e.hidePageSize),r.Db(3),r.Lc(\" \",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length),\" \"),r.Db(1),r.oc(\"ngIf\",e.showFirstLastButtons),r.Db(1),r.oc(\"matTooltip\",e._intl.previousPageLabel)(\"matTooltipDisabled\",e._previousButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",e._previousButtonsDisabled()),r.Eb(\"aria-label\",e._intl.previousPageLabel),r.Db(3),r.oc(\"matTooltip\",e._intl.nextPageLabel)(\"matTooltipDisabled\",e._nextButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",e._nextButtonsDisabled()),r.Eb(\"aria-label\",e._intl.nextPageLabel),r.Db(3),r.oc(\"ngIf\",e.showFirstLastButtons))},directives:[i.l,s.a,o.a,d.b,a.a,i.k,h.k],styles:[\".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\\n\"],encapsulation:2,changeDetection:0}),t})(),k=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[y],imports:[[i.c,s.b,a.b,o.b]]}),t})()},MutI:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return w})),n.d(e,\"b\",(function(){return C})),n.d(e,\"c\",(function(){return k})),n.d(e,\"d\",(function(){return x})),n.d(e,\"e\",(function(){return b}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"FKr1\"),a=n(\"8LU1\"),o=n(\"XNiG\"),l=n(\"1G5W\"),c=(n(\"JX91\"),n(\"u47x\"),n(\"0EQZ\"),n(\"FtGj\"),n(\"3Pt+\"),n(\"f0Cb\"));const h=[\"*\"],d=[[[\"\",\"mat-list-avatar\",\"\"],[\"\",\"mat-list-icon\",\"\"],[\"\",\"matListAvatar\",\"\"],[\"\",\"matListIcon\",\"\"]],[[\"\",\"mat-line\",\"\"],[\"\",\"matLine\",\"\"]],\"*\"],u=[\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\",\"[mat-line], [matLine]\",\"*\"];class p{}const m=Object(s.v)(Object(s.u)(p));class f{}const g=Object(s.u)(f);let b=(()=>{class t extends m{constructor(){super(...arguments),this._stateChanges=new o.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\\u0275fac=function(e){return _(e||t)},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-nav-list\"]],hostAttrs:[\"role\",\"navigation\",1,\"mat-nav-list\",\"mat-list-base\"],inputs:{disableRipple:\"disableRipple\",disabled:\"disabled\"},exportAs:[\"matNavList\"],features:[r.Ab,r.Bb()],ngContentSelectors:h,decls:1,vars:0,template:function(t,e){1&t&&(r.nc(),r.mc(0))},styles:[\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\\n\"],encapsulation:2,changeDetection:0}),t})();const _=r.Yb(b);let y=(()=>{class t extends m{constructor(t){super(),this._elementRef=t,this._stateChanges=new o.a,\"action-list\"===this._getListType()&&t.nativeElement.classList.add(\"mat-action-list\")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return\"mat-list\"===t?\"list\":\"mat-action-list\"===t?\"action-list\":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-list\"],[\"mat-action-list\"]],hostAttrs:[1,\"mat-list\",\"mat-list-base\"],inputs:{disableRipple:\"disableRipple\",disabled:\"disabled\"},exportAs:[\"matList\"],features:[r.Ab,r.Bb()],ngContentSelectors:h,decls:1,vars:0,template:function(t,e){1&t&&(r.nc(),r.mc(0))},styles:[\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\\n\"],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"mat-list-avatar\",\"\"],[\"\",\"matListAvatar\",\"\"]],hostAttrs:[1,\"mat-list-avatar\"]}),t})(),w=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"mat-list-icon\",\"\"],[\"\",\"matListIcon\",\"\"]],hostAttrs:[1,\"mat-list-icon\"]}),t})(),x=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"mat-subheader\",\"\"],[\"\",\"matSubheader\",\"\"]],hostAttrs:[1,\"mat-subheader\"]}),t})(),C=(()=>{class t extends g{constructor(t,e,n,i){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new o.a,this._disabled=!1,this._isInteractiveList=!!(n||i&&\"action-list\"===i._getListType()),this._list=n||i;const r=this._getHostElement();\"button\"!==r.nodeName.toLowerCase()||r.hasAttribute(\"type\")||r.setAttribute(\"type\",\"button\"),this._list&&this._list._stateChanges.pipe(Object(l.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(a.c)(t)}ngAfterContentInit(){Object(s.z)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(r.h),r.Qb(b,8),r.Qb(y,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-list-item\"],[\"a\",\"mat-list-item\",\"\"],[\"button\",\"mat-list-item\",\"\"]],contentQueries:function(t,e,n){var i;1&t&&(r.Jb(n,v,!0),r.Jb(n,w,!0),r.Jb(n,s.g,!0)),2&t&&(r.vc(i=r.fc())&&(e._avatar=i.first),r.vc(i=r.fc())&&(e._icon=i.first),r.vc(i=r.fc())&&(e._lines=i))},hostAttrs:[1,\"mat-list-item\",\"mat-focus-indicator\"],hostVars:6,hostBindings:function(t,e){2&t&&r.Hb(\"mat-list-item-disabled\",e.disabled)(\"mat-list-item-avatar\",e._avatar||e._icon)(\"mat-list-item-with-avatar\",e._avatar||e._icon)},inputs:{disableRipple:\"disableRipple\",disabled:\"disabled\"},exportAs:[\"matListItem\"],features:[r.Ab],ngContentSelectors:u,decls:6,vars:2,consts:[[1,\"mat-list-item-content\"],[\"mat-ripple\",\"\",1,\"mat-list-item-ripple\",3,\"matRippleTrigger\",\"matRippleDisabled\"],[1,\"mat-list-text\"]],template:function(t,e){1&t&&(r.nc(d),r.Wb(0,\"div\",0),r.Rb(1,\"div\",1),r.mc(2),r.Wb(3,\"div\",2),r.mc(4,1),r.Vb(),r.mc(5,2),r.Vb()),2&t&&(r.Db(1),r.oc(\"matRippleTrigger\",e._getHostElement())(\"matRippleDisabled\",e._isRippleDisabled()))},directives:[s.p],encapsulation:2,changeDetection:0}),t})(),k=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[s.h,s.q,s.f,s.o,i.c],s.h,s.f,s.o,c.b]}),t})()},NFeN:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return R})),n.d(e,\"b\",(function(){return T}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"8LU1\"),a=n(\"ofXK\"),o=n(\"vkgz\"),l=n(\"lJxs\"),c=n(\"JIr8\"),h=n(\"nYR2\"),d=n(\"w1tV\"),u=n(\"IzEk\"),p=n(\"tk/3\"),m=n(\"jhN1\"),f=n(\"LRne\"),g=n(\"z6cu\"),b=n(\"cp0P\");const _=[\"*\"];function y(t){return Error(`Unable to find icon with the name \"${t}\"`)}function v(t){return Error(\"The URL provided to MatIconRegistry was not trusted as a resource URL \"+`via Angular's DomSanitizer. Attempted URL was \"${t}\".`)}function w(t){return Error(\"The literal provided to MatIconRegistry was not trusted as safe HTML by \"+`Angular's DomSanitizer. Attempted literal was \"${t}\".`)}class x{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let C=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass=\"material-icons\",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace(\"\",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace(\"\",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,i))}addSvgIconLiteralInNamespace(t,e,n,r){const s=this._sanitizer.sanitize(i.J.HTML,n);if(!s)throw w(n);const a=this._createSvgElementForSingleIcon(s,r);return this._addSvgIconConfig(t,e,new x(a,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace(\"\",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace(\"\",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.J.HTML,e);if(!r)throw w(e);const s=this._svgElementFromString(r);return this._addSvgIconSetConfig(t,new x(s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.J.RESOURCE_URL,t);if(!e)throw v(t);const n=this._cachedIconsByUrl.get(e);return n?Object(f.a)(k(n)):this._loadSvgIconFromConfig(new x(t)).pipe(Object(o.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(l.a)(t=>k(t)))}getNamedSvgIcon(t,e=\"\"){const n=O(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(g.a)(y(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?Object(f.a)(k(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(o.a)(e=>t.svgElement=e),Object(l.a)(t=>k(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(f.a)(n);const r=e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(c.a)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(i.J.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n),Object(f.a)(null)})));return Object(b.a)(r).pipe(Object(l.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw y(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgElement){const e=this._extractSvgIconFromSet(i.svgElement,t,i.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(Object(l.a)(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?Object(f.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(l.a)(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id=\"${e}\"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute(\"id\"),\"svg\"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if(\"symbol\"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString(\"<svg><\/svg>\");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){const e=this._document.createElement(\"DIV\");e.innerHTML=t;const n=e.querySelector(\"svg\");if(!n)throw Error(\"<svg> tag not found\");return n}_toSvgElement(t){const e=this._svgElementFromString(\"<svg><\/svg>\"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:r}=n[i];\"id\"!==t&&e.setAttribute(t,r)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute(\"fit\",\"\"),t.setAttribute(\"height\",\"100%\"),t.setAttribute(\"width\",\"100%\"),t.setAttribute(\"preserveAspectRatio\",\"xMidYMid meet\"),t.setAttribute(\"focusable\",\"false\"),e&&e.viewBox&&t.setAttribute(\"viewBox\",e.viewBox),t}_fetchUrl(t){if(!this._httpClient)throw Error(\"Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.\");if(null==t)throw Error(`Cannot fetch icon from URL \"${t}\".`);const e=this._sanitizer.sanitize(i.J.RESOURCE_URL,t);if(!e)throw v(t);const n=this._inProgressUrlFetches.get(e);if(n)return n;const r=this._httpClient.get(e,{responseType:\"text\"}).pipe(Object(h.a)(()=>this._inProgressUrlFetches.delete(e)),Object(d.a)());return this._inProgressUrlFetches.set(e,r),r}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(O(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(p.b,8),i.ac(m.c),i.ac(a.d,8),i.ac(i.n,8))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(p.b,8),Object(i.ac)(m.c),Object(i.ac)(a.d,8),Object(i.ac)(i.n,8))},token:t,providedIn:\"root\"}),t})();function k(t){return t.cloneNode(!0)}function O(t,e){return t+\":\"+e}class S{constructor(t){this._elementRef=t}}const M=Object(r.t)(S),P=new i.r(\"mat-icon-location\",{providedIn:\"root\",factory:function(){const t=Object(i.W)(a.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:\"\"}}}),E=[\"clip-path\",\"color-profile\",\"src\",\"cursor\",\"fill\",\"filter\",\"marker\",\"marker-start\",\"marker-mid\",\"marker-end\",\"mask\",\"stroke\"],A=E.map(t=>`[${t}]`).join(\", \"),D=/^url\\(['\"]?#(.*?)['\"]?\\)$/;let R=(()=>{class t extends M{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,n||t.nativeElement.setAttribute(\"aria-hidden\",\"true\")}get inline(){return this._inline}set inline(t){this._inline=Object(s.c)(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_splitIconName(t){if(!t)return[\"\",\"\"];const e=t.split(\":\");switch(e.length){case 1:return[\"\",e[0]];case 2:return e;default:throw Error(`Invalid icon name: \"${t}\"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(e,t).pipe(Object(u.a)(1)).subscribe(t=>this._setSvgElement(t),n=>{const i=`Error retrieving icon ${t}:${e}! ${n.message}`;this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll(\"style\");for(let n=0;n<e.length;n++)e[n].textContent+=\" \";if(this._location){const e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e)}this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&\"svg\"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return\"string\"==typeof t?t.trim().split(\" \")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(A),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)E.forEach(t=>{const r=e[i],s=r.getAttribute(t),a=s?s.match(D):null;if(a){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:a[1]})}})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(C),i.bc(\"aria-hidden\"),i.Qb(P,8),i.Qb(i.n,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-icon\"]],hostAttrs:[\"role\",\"img\",1,\"mat-icon\",\"notranslate\"],hostVars:4,hostBindings:function(t,e){2&t&&i.Hb(\"mat-icon-inline\",e.inline)(\"mat-icon-no-color\",\"primary\"!==e.color&&\"accent\"!==e.color&&\"warn\"!==e.color)},inputs:{color:\"color\",inline:\"inline\",fontSet:\"fontSet\",fontIcon:\"fontIcon\",svgIcon:\"svgIcon\"},exportAs:[\"matIcon\"],features:[i.Ab,i.Bb()],ngContentSelectors:_,decls:1,vars:0,template:function(t,e){1&t&&(i.nc(),i.mc(0))},styles:[\".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\\n\"],encapsulation:2,changeDetection:0}),t})(),T=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},NJ4a:function(t,e,n){\"use strict\";function i(t){setTimeout(()=>{throw t},0)}n.d(e,\"a\",(function(){return i}))},NOtv:function(t,e,n){e.log=function(...t){return\"object\"==typeof console&&console.log&&console.log(...t)},e.formatArgs=function(e){if(e[0]=(this.useColors?\"%c\":\"\")+this.namespace+(this.useColors?\" %c\":\" \")+e[0]+(this.useColors?\"%c \":\" \")+\"+\"+t.exports.humanize(this.diff),!this.useColors)return;const n=\"color: \"+this.color;e.splice(1,0,n,\"color: inherit\");let i=0,r=0;e[0].replace(/%[a-zA-Z%]/g,t=>{\"%%\"!==t&&(i++,\"%c\"===t&&(r=i))}),e.splice(r,0,n)},e.save=function(t){try{t?e.storage.setItem(\"debug\",t):e.storage.removeItem(\"debug\")}catch(n){}},e.load=function(){let t;try{t=e.storage.getItem(\"debug\")}catch(n){}return!t&&\"undefined\"!=typeof process&&\"env\"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!(\"undefined\"==typeof window||!window.process||\"renderer\"!==window.process.type&&!window.process.__nwjs)||(\"undefined\"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))&&(\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],t.exports=n(\"3JDX\")(e);const{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}}},NXyV:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"HDdC\"),r=n(\"Cfvw\"),s=n(\"EY2u\");function a(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(e)})}},Nq7k:function(t,e,n){function i(t){var n;function i(){if(i.enabled){var t=i,r=+new Date,s=r-(n||r);t.diff=s,t.prev=n,t.curr=r,n=r;for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];a[0]=e.coerce(a[0]),\"string\"!=typeof a[0]&&a.unshift(\"%O\");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,i){if(\"%%\"===n)return n;l++;var r=e.formatters[i];return\"function\"==typeof r&&(n=r.call(t,a[l]),a.splice(l,1),l--),n})),e.formatArgs.call(t,a);var c=i.log||e.log||console.log.bind(console);c.apply(t,a)}}return i.namespace=t,i.enabled=e.enabled(t),i.useColors=e.useColors(),i.color=function(t){var n,i=0;for(n in t)i=(i<<5)-i+t.charCodeAt(n),i|=0;return e.colors[Math.abs(i)%e.colors.length]}(t),i.destroy=r,\"function\"==typeof e.init&&e.init(i),e.instances.push(i),i}function r(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=i.debug=i.default=i).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable(\"\")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var i=(\"string\"==typeof t?t:\"\").split(/[\\s,]+/),r=i.length;for(n=0;n<r;n++)i[n]&&(\"-\"===(t=i[n].replace(/\\*/g,\".*?\"))[0]?e.skips.push(new RegExp(\"^\"+t.substr(1)+\"$\")):e.names.push(new RegExp(\"^\"+t+\"$\")));for(n=0;n<e.instances.length;n++){var s=e.instances[n];s.enabled=e.enabled(s.namespace)}},e.enabled=function(t){if(\"*\"===t[t.length-1])return!0;var n,i;for(n=0,i=e.skips.length;n<i;n++)if(e.skips[n].test(t))return!1;for(n=0,i=e.names.length;n<i;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(\"uDUn\"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},O0x4:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a})),n.d(e,\"b\",(function(){return o}));var i=n(\"xKc1\"),r=n.n(i),s=n(\"fXoL\"),a=function(){function t(t){this.elementRef=t,this.background=\"white\",this.backgroundAlpha=1,this.foreground=\"black\",this.foregroundAlpha=1,this.level=\"L\",this.mime=\"image/png\",this.padding=null,this.size=100,this.value=\"\",this.canvas=!1}return t.prototype.ngOnChanges=function(t){(\"background\"in t||\"backgroundAlpha\"in t||\"foreground\"in t||\"foregroundAlpha\"in t||\"level\"in t||\"mime\"in t||\"padding\"in t||\"size\"in t||\"value\"in t||\"canvas\"in t)&&this.generate()},t.prototype.generate=function(){try{var t=this.elementRef.nativeElement;t.innerHTML=\"\";var e=new r.a({background:this.background,backgroundAlpha:this.backgroundAlpha,foreground:this.foreground,foregroundAlpha:this.foregroundAlpha,level:this.level,mime:this.mime,padding:this.padding,size:this.size,value:this.value});t.appendChild(this.canvas?e.canvas:e.image)}catch(n){console.error(\"Could not generate QR Code: \"+n.message)}},t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.l))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"qr-code\"]],inputs:{background:\"background\",backgroundAlpha:\"backgroundAlpha\",foreground:\"foreground\",foregroundAlpha:\"foregroundAlpha\",level:\"level\",mime:\"mime\",padding:\"padding\",size:\"size\",value:\"value\",canvas:\"canvas\"},features:[s.Bb()],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),o=function(){function t(){}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)}}),t}()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if(\"string\"==typeof e&&(e=t[e]),\"function\"!=typeof e)throw new Error(\"bind() requires a function\");var i=n.call(arguments,2);return function(){return e.apply(t,i.concat(n.call(arguments)))}}},QibW:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return b})),n.d(e,\"c\",(function(){return w}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"8LU1\"),a=n(\"3Pt+\"),o=n(\"R1ws\"),l=n(\"u47x\"),c=n(\"0EQZ\");const h=[\"input\"],d=function(){return{enterDuration:150}},u=[\"*\"],p=new i.r(\"mat-radio-default-options\",{providedIn:\"root\",factory:function(){return{color:\"accent\"}}});let m=0;const f={provide:a.l,useExisting:Object(i.V)(()=>b),multi:!0};class g{constructor(t,e){this.source=t,this.value=e}}let b=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name=`mat-radio-group-${m++}`,this._selected=null,this._isInitialized=!1,this._labelPosition=\"after\",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition=\"before\"===t?\"before\":\"after\",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(s.c)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.h))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-radio-group\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,v,!0),2&t&&i.vc(r=i.fc())&&(e._radios=r)},hostAttrs:[\"role\",\"radiogroup\",1,\"mat-radio-group\"],inputs:{name:\"name\",labelPosition:\"labelPosition\",value:\"value\",selected:\"selected\",disabled:\"disabled\",required:\"required\",color:\"color\"},outputs:{change:\"change\"},exportAs:[\"matRadioGroup\"],features:[i.Cb([f])]}),t})();class _{constructor(t){this._elementRef=t}}const y=Object(r.u)(Object(r.y)(_));let v=(()=>{class t extends y{constructor(t,e,n,r,s,a,o){super(e),this._changeDetector=n,this._focusMonitor=r,this._radioDispatcher=s,this._animationMode=a,this._providerOverride=o,this._uniqueId=`mat-radio-${++m}`,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._removeUniqueSelectionListener=s.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Object(s.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||\"after\"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Object(s.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(s.c)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||\"accent\"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t){this._focusMonitor.focusVia(this._inputElement,\"keyboard\",t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(b,8),i.Qb(i.l),i.Qb(i.h),i.Qb(l.h),i.Qb(c.d),i.Qb(o.a,8),i.Qb(p,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-radio-button\"]],viewQuery:function(t,e){var n;1&t&&i.Pc(h,!0),2&t&&i.vc(n=i.fc())&&(e._inputElement=n.first)},hostAttrs:[1,\"mat-radio-button\"],hostVars:17,hostBindings:function(t,e){1&t&&i.ec(\"focus\",(function(){return e._inputElement.nativeElement.focus()})),2&t&&(i.Eb(\"tabindex\",-1)(\"id\",e.id)(\"aria-label\",null)(\"aria-labelledby\",null)(\"aria-describedby\",null),i.Hb(\"mat-radio-checked\",e.checked)(\"mat-radio-disabled\",e.disabled)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)(\"mat-primary\",\"primary\"===e.color)(\"mat-accent\",\"accent\"===e.color)(\"mat-warn\",\"warn\"===e.color))},inputs:{disableRipple:\"disableRipple\",tabIndex:\"tabIndex\",id:\"id\",checked:\"checked\",value:\"value\",labelPosition:\"labelPosition\",disabled:\"disabled\",required:\"required\",color:\"color\",name:\"name\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],ariaDescribedby:[\"aria-describedby\",\"ariaDescribedby\"]},outputs:{change:\"change\"},exportAs:[\"matRadioButton\"],features:[i.Ab],ngContentSelectors:u,decls:13,vars:19,consts:[[1,\"mat-radio-label\"],[\"label\",\"\"],[1,\"mat-radio-container\"],[1,\"mat-radio-outer-circle\"],[1,\"mat-radio-inner-circle\"],[\"mat-ripple\",\"\",1,\"mat-radio-ripple\",\"mat-focus-indicator\",3,\"matRippleTrigger\",\"matRippleDisabled\",\"matRippleCentered\",\"matRippleRadius\",\"matRippleAnimation\"],[1,\"mat-ripple-element\",\"mat-radio-persistent-ripple\"],[\"type\",\"radio\",1,\"mat-radio-input\",\"cdk-visually-hidden\",3,\"id\",\"checked\",\"disabled\",\"tabIndex\",\"required\",\"change\",\"click\"],[\"input\",\"\"],[1,\"mat-radio-label-content\"],[2,\"display\",\"none\"]],template:function(t,e){if(1&t&&(i.nc(),i.Wb(0,\"label\",0,1),i.Wb(2,\"div\",2),i.Rb(3,\"div\",3),i.Rb(4,\"div\",4),i.Wb(5,\"div\",5),i.Rb(6,\"div\",6),i.Vb(),i.Wb(7,\"input\",7,8),i.ec(\"change\",(function(t){return e._onInputChange(t)}))(\"click\",(function(t){return e._onInputClick(t)})),i.Vb(),i.Vb(),i.Wb(9,\"div\",9),i.Wb(10,\"span\",10),i.Jc(11,\"\\xa0\"),i.Vb(),i.mc(12),i.Vb(),i.Vb()),2&t){const t=i.wc(1);i.Eb(\"for\",e.inputId),i.Db(5),i.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e._isRippleDisabled())(\"matRippleCentered\",!0)(\"matRippleRadius\",20)(\"matRippleAnimation\",i.sc(18,d)),i.Db(2),i.oc(\"id\",e.inputId)(\"checked\",e.checked)(\"disabled\",e.disabled)(\"tabIndex\",e.tabIndex)(\"required\",e.required),i.Eb(\"name\",e.name)(\"value\",e.value)(\"aria-label\",e.ariaLabel)(\"aria-labelledby\",e.ariaLabelledby)(\"aria-describedby\",e.ariaDescribedby),i.Db(2),i.Hb(\"mat-radio-label-before\",\"before\"==e.labelPosition)}},directives:[r.p],styles:[\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\\n\"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.q,r.f],r.f]}),t})()},QoAZ:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return _}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"jhN1\");const a=[\"container\"],o=[\"prevArrow\"],l=[\"nextArrow\"];function c(t,e){1&t&&i.Rb(0,\"div\",15)}const h=function(t,e){return{color:t,\"background-color\":e}};function d(t,e){if(1&t&&i.Rb(0,\"div\",16),2&t){const t=i.ic().$implicit,e=i.ic();i.oc(\"ngStyle\",i.uc(2,h,e.captionColor,e.captionBackground))(\"innerHTML\",null==t?null:null==t.image?null:t.image.caption,i.Ac)}}function u(t,e){if(1&t){const t=i.Xb();i.Wb(0,\"a\",12),i.ec(\"click\",(function(e){return i.zc(t),i.ic().handleClick(e)})),i.Hc(1,c,1,0,\"div\",13),i.Hc(2,d,1,5,\"div\",14),i.Vb()}if(2&t){const t=e.$implicit,n=e.index,r=i.ic();i.Hb(\"selected\",null==t?null:t.selected)(\"hide-slide\",!(null!=t&&t.selected||null!=t&&t.leftSide||null!=t&&t.rightSide))(\"left-side\",null==t?null:t.leftSide)(\"right-side\",null==t?null:t.rightSide)(\"slide-in-left\",\"slideInLeft\"===(null==t?null:t.action))(\"slide-in-right\",\"slideInRight\"===(null==t?null:t.action))(\"slide-out-left\",\"slideOutLeft\"===(null==t?null:t.action))(\"slide-out-right\",\"slideOutRight\"===(null==t?null:t.action))(\"link\",(null==t?null:null==t.image?null:t.image.clickAction)||(null==t?null:null==t.image?null:t.image.href)),i.pc(\"title\",null==t?null:null==t.image?null:t.image.title),i.oc(\"ngStyle\",r.getSlideStyle(n)),i.Db(1),i.oc(\"ngIf\",!(null!=t&&t.loaded)),i.Db(1),i.oc(\"ngIf\",r.showCaptions&&(null==t?null:null==t.image?null:t.image.caption))}}function p(t,e){if(1&t){const t=i.Xb();i.Wb(0,\"li\",19),i.ec(\"click\",(function(){i.zc(t);const n=e.index;return i.ic(2).goToSlide(n)})),i.Wb(1,\"button\",20),i.Jc(2),i.Vb(),i.Vb()}if(2&t){const t=e.$implicit,n=e.index,r=i.ic(2);i.Hb(\"slick-active\",t.selected),i.Db(1),i.Eb(\"style\",r.safeStyleDotColor,i.Bc),i.Db(1),i.Lc(\" \",n,\" \")}}function m(t,e){if(1&t&&(i.Wb(0,\"ul\",17),i.Hc(1,p,3,4,\"li\",18),i.Vb()),2&t){const t=i.ic();i.Db(1),i.oc(\"ngForOf\",t.slides)(\"ngForTrackBy\",t.trackByFn)}}class f{constructor(){this.aw=0,this.ah=0,this.w=0,this.h=0}get ar(){return this.w/this.h}get diag(){return Math.sqrt(this.w*this.w+this.h*this.h)}get valid(){return this.w>0&&this.h>0&&this.aw>0&&this.ah>0}get widthBound(){return this.ar>this.aw/this.ah}}let g=(()=>{class t{constructor(t){this.platform_id=t,this._disableSwiping=!1,this._enableZoom=!1,this._enablePan=!1,this._startEVCache=null,this._evCache=new Array,this._previousDiagonal=-1,this._originalState=new f,this._slideEvent=new i.o(!0),this._clickEvent=new i.o(!0),this.pointerUp=t=>{this._pointerUp(t)},this.pointerDown=t=>{this._pointerDown(t)},this.pointerMove=t=>{this._pointerMove(t)}}set disableSwiping(t){this._disableSwiping=t}set enableZoom(t){this._enableZoom=t}set enablePan(t){this._enablePan=t}bind(t){Object(r.t)(this.platform_id)&&(t.nativeElement.addEventListener(\"pointerdown\",this.pointerDown),t.nativeElement.addEventListener(\"pointerup\",this.pointerUp),t.nativeElement.addEventListener(\"pointercancel\",this.pointerUp),t.nativeElement.addEventListener(\"pointerout\",this.pointerUp),t.nativeElement.addEventListener(\"pointerleave\",this.pointerUp),t.nativeElement.addEventListener(\"pointermove\",this.pointerMove))}unbind(t){Object(r.t)(this.platform_id)&&(t.nativeElement.removeEventListener(\"pointerdown\",this.pointerDown),t.nativeElement.removeEventListener(\"pointerup\",this.pointerUp),t.nativeElement.removeEventListener(\"pointercancel\",this.pointerUp),t.nativeElement.removeEventListener(\"pointerout\",this.pointerUp),t.nativeElement.removeEventListener(\"pointerleave\",this.pointerUp),t.nativeElement.removeEventListener(\"pointermove\",this.pointerMove))}get slideEvent(){return this._slideEvent}get clickEvent(){return this._clickEvent}_pointerDown(t){this._evCache.push(t),1===this._evCache.length&&(this._startEVCache=t,(this._enablePan||this._enableZoom)&&(this._loadOriginalState(t),this._convertBGSizeToPixels(t),this._convertBGPosToPixels(t)))}_loadOriginalState(t){if(!this._originalState.valid&&t.target&&t.target.style&&t.target.style.backgroundImage){const e=t.target.style.backgroundImage.match(/^url\\([\"']?(.+?)[\"']?\\)$/),n=new Image;n.src=e[1],this._originalState.aw=t.target.offsetWidth,this._originalState.ah=t.target.offsetHeight,this._originalState.w=n.width,this._originalState.h=n.height}}_convertBGSizeToPixels(t){const e=t.target;let n=e.style.backgroundSize;if(n.indexOf(\" \")>-1){const t=n.split(\" \");n=this._originalState.widthBound?t[0]:t[1]}if(\"cover\"===n)n=this._originalState.widthBound?this._originalState.ah*this._originalState.ar:this._originalState.aw;else if(n.indexOf(\"px\")>-1)n=n.substring(0,n.length-2);else if(n.indexOf(\"%\")>-1){const t=Number(n.substring(0,n.length-1))/100;n=this._originalState.widthBound?this._originalState.aw*t:this._originalState.ah*t*this._originalState.ar}else n=\"auto\"===n?this._originalState.w:this._originalState.widthBound?this._originalState.aw:this._originalState.ah*this._originalState.ar;e.style.backgroundSize=n+\"px auto\"}_convertBGPosToPixels(t){if(this._originalState.valid){const e=t.target,n=this._currentBGSize(t);let i=e.style.backgroundPositionX;if(-1===i.indexOf(\"px\")){if(i=this._convertLiteralPosToPercentage(i),i.indexOf(\"%\")>-1){let t=Number(i.substring(0,i.length-1))/100;i=t*(this._originalState.aw-n)}e.style.backgroundPositionX=i+\"px\"}let r=e.style.backgroundPositionY;if(-1===r.indexOf(\"px\")){if(r=this._convertLiteralPosToPercentage(r),r.indexOf(\"%\")>-1){let t=Number(r.substring(0,r.length-1))/100;r=t*(this._originalState.ah-n/this._originalState.ar)}e.style.backgroundPositionY=r+\"px\"}}}_pointerUp(t){for(let e=0;e<this._evCache.length;e++)if(this._evCache[e].pointerId===t.pointerId){this._evCache.splice(e,1);break}2!==this._evCache.length&&(this._previousDiagonal=-1),0===this._evCache.length&&null!==this._startEVCache&&(this._checkClickOrSwipe(t),this._startEVCache=null,this._originalState=new f)}_checkClickOrSwipe(t){if(!this._targetIsASlide(t))return;const e=t.timeStamp-this._startEVCache.timeStamp,n=t.pageX-this._startEVCache.pageX,i=t.pageY-this._startEVCache.pageY;!this._enablePan&&Math.abs(n)<15&&Math.abs(i)<15?this._clickEvent.emit():e<1e3&&Math.abs(i)<=100&&Math.abs(n)>=30&&!this._disableSwiping&&this._cannotPanMoreTest(t,n)&&this._slideEvent.emit(n<0?1:-1)}_targetIsASlide(t){return t.target.classList.contains(\"slides\")}_cannotPanMoreTest(t,e){if(!this._enablePan)return!0;const n=this._currentBGPosX(t),i=this._currentBGSize(t);return!(e<0&&i>this._originalState.aw&&Math.round(this._originalState.aw-i-n)<0||e>0&&i>this._originalState.aw&&n<0)}_pointerMove(t){t.preventDefault(),1===this._evCache.length&&this._enablePan&&this._1pointMoveAction(t);for(let e=0;e<this._evCache.length;e++)if(t.pointerId===this._evCache[e].pointerId){this._evCache[e]=t;break}2===this._evCache.length&&this._enableZoom&&this._2pointMoveAction(t)}_1pointMoveAction(t){if(this._evCache[0].pointerId===t.pointerId){const e=this._evCache[0].pageX-t.pageX,n=this._evCache[0].pageY-t.pageY;!this._originalState.valid||0===e&&0===n||this._transformBGPosition(t,e,n)}}_2pointMoveAction(t){const e=Math.abs(this._evCache[0].pageX-this._evCache[1].pageX),n=Math.abs(this._evCache[0].pageY-this._evCache[1].pageY);let i=Math.sqrt(e*e+n*n);this._previousDiagonal>0&&this._originalState.valid&&this._transformBGSize(t,i-this._previousDiagonal),this._previousDiagonal=i}_transformBGPosition(t,e,n){const i=t.target,r=this._currentBGPosX(t),s=this._currentBGPosY(t),a=this._newBGPosXConstraint(r-e,t),o=this._newBGPosYConstraint(s-n,t);a===r&&o===s||this._setBGPos(i,a,o)}_setBGPos(t,e,n){t.style.backgroundPositionX=e+\"px\",t.style.backgroundPositionY=n+\"px\"}_currentBGPosX(t){let e=t.target.style.backgroundPositionX;return e.indexOf(\"px\")>-1&&(e=e.substring(0,e.length-2)),Number(e)}_currentBGPosY(t){let e=t.target.style.backgroundPositionY;return e.indexOf(\"px\")>-1&&(e=e.substring(0,e.length-2)),Number(e)}_convertLiteralPosToPercentage(t){return\"center\"===t?\"50%\":\"top\"===t||\"left\"===t?\"0%\":\"bottom\"===t||\"right\"===t?\"100%\":void 0}_transformBGSize(t,e){const n=t.target,i=this._currentBGSize(t),r=this._newBGSizeConstraint(i+e);r!==i&&this._setBGSize(n,r)}_setBGSize(t,e){t.style.backgroundSize=e+\"px auto\",t.style.touchAction=\"none\"}_currentBGSize(t){const e=t.target.style.backgroundSize;if(e.indexOf(\" \")>-1){const t=e.split(\" \"),n=this._originalState.widthBound?t[0].substring(0,t[0].length-2):t[1].substring(0,t[1].length-2);return Number(n)}if(e.indexOf(\"px\")>-1){const t=e.substring(0,e.length-2);return Number(t)}}_newBGSizeConstraint(t){return this._originalState.widthBound?t<this._originalState.aw?this._originalState.aw:t:t/this._originalState.ar<this._originalState.ah?this._originalState.ah*this._originalState.ar:t}_newBGPosXConstraint(t,e){const n=this._currentBGSize(e);if(n>=this._originalState.aw){if(t>0)return 0;if(t<this._originalState.aw-n)return this._originalState.aw-n}else{if(t<0)return 0;if(t>this._originalState.aw-n)return this._originalState.aw-n}return t}_newBGPosYConstraint(t,e){const n=this._currentBGSize(e);if(n/this._originalState.ar>=this._originalState.ah){if(t>0)return 0;if(t<this._originalState.ah-n/this._originalState.ar)return this._originalState.ah-n/this._originalState.ar}else{if(t<0)return 0;if(t>this._originalState.ah-n/this._originalState.ar)return this._originalState.ah-n/this._originalState.ar}return t}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.C))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const b=Object(s.f)(\"firstSlide\");let _=(()=>{class t{constructor(t,e,n,r,s,a,o,l){this._pointerService=t,this._renderer=e,this._transferState=n,this._ngZone=r,this._cdRef=s,this.sanitizer=a,this.platform_id=o,this.document=l,this.slideIndex=-1,this.slides=[],this.hideLeftArrow=!1,this.hideRightArrow=!1,this._initial=!0,this._isHidden=!1,this.imageUrls=[],this.height=\"100%\",this.showArrows=!0,this.disableSwiping=!1,this.autoPlay=!1,this.autoPlayInterval=3333,this.stopAutoPlayOnSlide=!0,this.autoPlayWaitForLazyLoad=!0,this.backgroundSize=\"cover\",this.backgroundPosition=\"center center\",this.backgroundRepeat=\"no-repeat\",this.showDots=!1,this.dotColor=\"#FFF\",this.showCaptions=!0,this.captionColor=\"#FFF\",this.captionBackground=\"rgba(0, 0, 0, .35)\",this.lazyLoad=!1,this.hideOnNoSlides=!1,this.fullscreen=!1,this.enableZoom=!1,this.enablePan=!1,this.noLoop=!1,this.onSlideLeft=new i.o,this.onSlideRight=new i.o,this.onSwipeLeft=new i.o,this.onSwipeRight=new i.o,this.onFullscreenExit=new i.o,this.onIndexChanged=new i.o,this.onImageLazyLoad=new i.o,this.onClick=new i.o}get safeStyleDotColor(){return this.sanitizer.bypassSecurityTrustStyle(`--dot-color: ${this.dotColor}`)}ngOnInit(){void 0!==this.debug&&console.warn(\"[Deprecation Warning]: The debug input will be removed from ng-simple-slideshow in 1.3.0\"),this._pointerService.bind(this.container),this._slideSub=this._pointerService.slideEvent.subscribe(t=>{this.onSlide(t,!0)}),this._clickSub=this._pointerService.clickEvent.subscribe(()=>{this._onClick()}),this.noLoop&&(this.hideLeftArrow=!0)}ngOnDestroy(){try{this._slideSub&&!this._slideSub.closed&&this._slideSub.unsubscribe()}catch(t){console.warn(\"Slide Subscription error caught in ng-simple-slideshow OnDestroy:\",t)}try{this._clickSub&&!this._clickSub.closed&&this._clickSub.unsubscribe()}catch(t){console.warn(\"Click Subscription error caught in ng-simple-slideshow OnDestroy:\",t)}try{this._pointerService.unbind(this.container)}catch(t){console.warn(\"Pointer Service unbind error caught in ng-simple-slideshow OnDestroy:\",t)}try{this._autoplayIntervalId&&(this._ngZone.runOutsideAngular(()=>clearInterval(this._autoplayIntervalId)),this._autoplayIntervalId=null)}catch(t){console.warn(\"Autoplay cancel error caught in ng-simple-slideshow OnDestroy:\",t)}}ngOnChanges(t){t.noLoop&&(t.noLoop.currentValue?(this.hideLeftArrow=this.slideIndex<=0,this.hideRightArrow=this.slideIndex===this.slides.length-1):(this.hideLeftArrow=!1,this.hideRightArrow=!1),this._cdRef.detectChanges())}ngDoCheck(){this.imageUrls&&this.imageUrls.length>0?(!0===this._initial&&(this._urlCache=Array.from(this.imageUrls)),!0===this._isHidden&&(this._renderer.removeStyle(this.container.nativeElement,\"display\"),this._isHidden=!1),this.setSlides()):!0===this.hideOnNoSlides&&(this._renderer.setStyle(this.container.nativeElement,\"display\",\"none\"),this._isHidden=!0),this.setStyles(),this.handleAutoPlay(),this._pointerService.disableSwiping=this.disableSwiping,this._pointerService.enableZoom=this.enableZoom,this._pointerService.enablePan=this.enablePan}onSlide(t,e){this.handleAutoPlay(this.stopAutoPlayOnSlide),this.slide(t,e)}_onClick(){const t=this.slides.length>0&&this.slides[this.slideIndex];this.onClick.emit({slide:t,index:this.slideIndex}),t&&t.image.clickAction?t.image.clickAction():t&&t.image.href&&(this.document.location.href=t.image.href)}goToSlide(t){const e=this.slideIndex;this.slideIndex=t-1,this.setSlideIndex(1),this.slides[this.slideIndex]&&!this.slides[this.slideIndex].loaded&&this.loadRemainingSlides(),this.handleAutoPlay(this.stopAutoPlayOnSlide),this.slideRight(e),this.slides[e].selected=!1,this.slides[this.slideIndex].selected=!0,this._cdRef.detectChanges()}getSlideStyle(t){const e=this.slides[t];return e&&e.loaded?{\"background-image\":\"url(\"+e.image.url+\")\",\"background-size\":e.image.backgroundSize||this.backgroundSize,\"background-position\":e.image.backgroundPosition||this.backgroundPosition,\"background-repeat\":e.image.backgroundRepeat||this.backgroundRepeat}:{\"background-image\":void 0,\"background-size\":void 0,\"background-position\":void 0,\"background-repeat\":void 0}}exitFullScreen(t){t.preventDefault(),this.fullscreen=!1,this.onFullscreenExit.emit(!0)}slide(t,e){const n=this.slideIndex;this.setSlideIndex(t)&&(this.slides[this.slideIndex]&&!this.slides[this.slideIndex].loaded&&this.loadRemainingSlides(),1===t?this.slideRight(n,e):this.slideLeft(n,e),this.slides[n].selected=!1,this.slides[this.slideIndex].selected=!0),this._cdRef.detectChanges()}setSlideIndex(t){let e=!0;return this.slideIndex+=t,this.noLoop&&(this.hideRightArrow=this.slideIndex===this.slides.length-1,this.hideLeftArrow=!1),this.slideIndex<0?this.noLoop?(this.slideIndex-=t,e=!1,this.hideLeftArrow=!0):this.slideIndex=this.slides.length-1:this.slideIndex>=this.slides.length&&(this.noLoop?(this.slideIndex-=t,e=!1,this.hideRightArrow=!0):this.slideIndex=0),e&&this.onIndexChanged.emit(this.slideIndex),e}slideLeft(t,e){!0===e?this.onSwipeLeft.emit(this.slideIndex):this.onSlideLeft.emit(this.slideIndex),this.slides[this.getLeftSideIndex(t)].leftSide=!1,this.slides[t].leftSide=!0,this.slides[t].action=\"slideOutLeft\",this.slides[this.slideIndex].rightSide=!1,this.slides[this.getRightSideIndex()].rightSide=!0,this.slides[this.slideIndex].action=\"slideInRight\"}slideRight(t,e){!0===e?this.onSwipeRight.emit(this.slideIndex):this.onSlideRight.emit(this.slideIndex),this.slides[this.getRightSideIndex(t)].rightSide=!1,this.slides[t].rightSide=!0,this.slides[t].action=\"slideOutRight\",this.slides[this.slideIndex].leftSide=!1,this.slides[this.getLeftSideIndex()].leftSide=!0,this.slides[this.slideIndex].action=\"slideInLeft\"}setSlides(){this.imageUrls&&(this.checkCache()||!0===this._initial)&&(this._initial=!1,this._urlCache=Array.from(this.imageUrls),this.slides=[],!0===this.lazyLoad?this.buildLazyLoadSlideArray():this.buildSlideArray(),this._cdRef.detectChanges())}buildLazyLoadSlideArray(){for(let t of this.imageUrls)this.slides.push({image:\"string\"==typeof t?{url:null}:{url:null,href:t.href||\"\"},action:\"\",leftSide:!1,rightSide:!1,selected:!1,loaded:!1});-1===this.slideIndex&&(this.slideIndex=0),this.slides[this.slideIndex].selected=!0,this.loadFirstSlide(),this.onIndexChanged.emit(this.slideIndex)}buildSlideArray(){for(let t of this.imageUrls)this.slides.push({image:\"string\"==typeof t?{url:t}:t,action:\"\",leftSide:!1,rightSide:!1,selected:!1,loaded:!0});-1===this.slideIndex&&(this.slideIndex=0),this.slides[this.slideIndex].selected=!0,this.onIndexChanged.emit(this.slideIndex)}loadFirstSlide(){const t=this.slideIndex,e=this.imageUrls[t];if(Object(r.u)(this.platform_id))this.slides[t].image=\"string\"==typeof e?{url:e}:e,this.slides[t].loaded=!0,this._transferState.set(b,this.slides[t]);else{const n=this._transferState.get(b,null);if(null===n){let n=new Image;n.src=\"string\"==typeof e?e:e.url,n.addEventListener(\"load\",()=>{this.slides[t].image=\"string\"==typeof e?{url:e}:e,this.slides[t].loaded=!0,this.onImageLazyLoad.emit(this.slides[t]),this._cdRef.detectChanges()})}else this.slides[t]=n,this._transferState.remove(b)}}loadRemainingSlides(){for(let t=0;t<this.slides.length;t++)this.slides[t].loaded||new Promise(e=>{const n=this.imageUrls[t];let i=new Image;i.addEventListener(\"load\",()=>{this.slides[t].image=\"string\"==typeof n?{url:n}:n,this.slides[t].loaded=!0,this._cdRef.detectChanges(),this.onImageLazyLoad.emit(this.slides[t]),e()}),i.src=\"string\"==typeof n?n:n.url})}handleAutoPlay(t){Object(r.u)(this.platform_id)||(!0===t||!1===this.autoPlay?this._autoplayIntervalId&&(this._ngZone.runOutsideAngular(()=>clearInterval(this._autoplayIntervalId)),this._autoplayIntervalId=null):this._autoplayIntervalId||this._ngZone.runOutsideAngular(()=>{this._autoplayIntervalId=setInterval(()=>{(!this.autoPlayWaitForLazyLoad||this.autoPlayWaitForLazyLoad&&this.slides[this.slideIndex]&&this.slides[this.slideIndex].loaded)&&this._ngZone.run(()=>this.slide(1))},this.autoPlayInterval)}))}setStyles(){this.fullscreen?(this._renderer.setStyle(this.container.nativeElement,\"height\",\"100%\"),this._renderer.setStyle(this.container.nativeElement,\"background-color\",\"white\")):(this._renderer.removeStyle(this.container.nativeElement,\"background-color\"),this.height&&this._renderer.setStyle(this.container.nativeElement,\"height\",this.height),this.minHeight&&this._renderer.setStyle(this.container.nativeElement,\"min-height\",this.minHeight)),this.arrowSize&&(this._renderer.setStyle(this.prevArrow.nativeElement,\"height\",this.arrowSize),this._renderer.setStyle(this.prevArrow.nativeElement,\"width\",this.arrowSize),this._renderer.setStyle(this.nextArrow.nativeElement,\"height\",this.arrowSize),this._renderer.setStyle(this.nextArrow.nativeElement,\"width\",this.arrowSize))}checkCache(){return!(this._urlCache.length===this.imageUrls.length&&this._urlCache.every((t,e)=>t===this.imageUrls[e]))}getLeftSideIndex(t){return void 0===t&&(t=this.slideIndex),--t<0&&(t=this.slides.length-1),t}getRightSideIndex(t){return void 0===t&&(t=this.slideIndex),++t>=this.slides.length&&(t=0),t}trackByFn(t,e){return e.image}handleClick(t){t.preventDefault()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(g),i.Qb(i.F),i.Qb(s.e),i.Qb(i.A),i.Qb(i.h),i.Qb(s.c),i.Qb(i.C),i.Qb(r.d))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"slideshow\"]],viewQuery:function(t,e){var n;1&t&&(i.Pc(a,!0),i.Pc(o,!0),i.Pc(l,!0)),2&t&&(i.vc(n=i.fc())&&(e.container=n.first),i.vc(n=i.fc())&&(e.prevArrow=n.first),i.vc(n=i.fc())&&(e.nextArrow=n.first))},inputs:{imageUrls:\"imageUrls\",height:\"height\",showArrows:\"showArrows\",disableSwiping:\"disableSwiping\",autoPlay:\"autoPlay\",autoPlayInterval:\"autoPlayInterval\",stopAutoPlayOnSlide:\"stopAutoPlayOnSlide\",autoPlayWaitForLazyLoad:\"autoPlayWaitForLazyLoad\",backgroundSize:\"backgroundSize\",backgroundPosition:\"backgroundPosition\",backgroundRepeat:\"backgroundRepeat\",showDots:\"showDots\",dotColor:\"dotColor\",showCaptions:\"showCaptions\",captionColor:\"captionColor\",captionBackground:\"captionBackground\",lazyLoad:\"lazyLoad\",hideOnNoSlides:\"hideOnNoSlides\",fullscreen:\"fullscreen\",enableZoom:\"enableZoom\",enablePan:\"enablePan\",noLoop:\"noLoop\",minHeight:\"minHeight\",arrowSize:\"arrowSize\",debug:\"debug\"},outputs:{onSlideLeft:\"onSlideLeft\",onSlideRight:\"onSlideRight\",onSwipeLeft:\"onSwipeLeft\",onSwipeRight:\"onSwipeRight\",onFullscreenExit:\"onFullscreenExit\",onIndexChanged:\"onIndexChanged\",onImageLazyLoad:\"onImageLazyLoad\",onClick:\"onClick\"},features:[i.Cb([g]),i.Bb()],decls:12,vars:11,consts:[[1,\"fs-container\",3,\"click\"],[\"title\",\"Back\",1,\"arrow-exitfs\",\"prev\"],[1,\"slideshow-container\"],[\"container\",\"\"],[\"class\",\"slides\",\"href\",\"#!\",\"tabindex\",\"-1\",3,\"title\",\"ngStyle\",\"selected\",\"hide-slide\",\"left-side\",\"right-side\",\"slide-in-left\",\"slide-in-right\",\"slide-out-left\",\"slide-out-right\",\"link\",\"click\",4,\"ngFor\",\"ngForOf\",\"ngForTrackBy\"],[1,\"arrow-container\",\"prev\",3,\"click\"],[\"title\",\"Previous\",1,\"arrow\",\"prev\"],[\"prevArrow\",\"\"],[1,\"arrow-container\",\"next\",3,\"click\"],[\"title\",\"Next\",1,\"arrow\",\"next\"],[\"nextArrow\",\"\"],[\"class\",\"slick-dots\",4,\"ngIf\"],[\"href\",\"#!\",\"tabindex\",\"-1\",1,\"slides\",3,\"title\",\"ngStyle\",\"click\"],[\"class\",\"loader\",4,\"ngIf\"],[\"class\",\"caption\",3,\"ngStyle\",\"innerHTML\",4,\"ngIf\"],[1,\"loader\"],[1,\"caption\",3,\"ngStyle\",\"innerHTML\"],[1,\"slick-dots\"],[3,\"slick-active\",\"click\",4,\"ngFor\",\"ngForOf\",\"ngForTrackBy\"],[3,\"click\"],[\"type\",\"button\"]],template:function(t,e){1&t&&(i.Wb(0,\"div\",0),i.ec(\"click\",(function(t){return e.exitFullScreen(t)})),i.Rb(1,\"i\",1),i.Vb(),i.Wb(2,\"div\",2,3),i.Hc(4,u,3,22,\"a\",4),i.Wb(5,\"div\",5),i.ec(\"click\",(function(){return e.onSlide(-1)})),i.Rb(6,\"i\",6,7),i.Vb(),i.Wb(8,\"div\",8),i.ec(\"click\",(function(){return e.onSlide(1)})),i.Rb(9,\"i\",9,10),i.Vb(),i.Hc(11,m,2,2,\"ul\",11),i.Vb()),2&t&&(i.Hb(\"display-none\",!e.fullscreen),i.Db(2),i.Hb(\"slideshow-container-fs\",e.fullscreen),i.Db(2),i.oc(\"ngForOf\",e.slides)(\"ngForTrackBy\",e.trackByFn),i.Db(1),i.Hb(\"display-none\",!e.showArrows||e.hideLeftArrow),i.Db(3),i.Hb(\"display-none\",!e.showArrows||e.hideRightArrow),i.Db(3),i.oc(\"ngIf\",e.showDots))},directives:[r.k,r.l,r.m],styles:[\".display-none[_ngcontent-%COMP%] {\\n      display: none !important; }\\n\\n    .fs-container[_ngcontent-%COMP%] {\\n      display: block;\\n      cursor: pointer;\\n      position: fixed;\\n      z-index: 1;\\n      top: 16px;\\n      left: 16px;\\n      width: 46px;\\n      height: 46px;\\n      text-align: center;\\n      padding: 0;\\n      background-color: rgba(0, 0, 0, 0.2);\\n      -webkit-transition: all .2s ease-in-out;\\n      transition: all .2s ease-in-out; }\\n      .fs-container[_ngcontent-%COMP%]:hover {\\n        background-color: rgba(0, 0, 0, 0.33); }\\n      .fs-container[_ngcontent-%COMP%]   .arrow-exitfs[_ngcontent-%COMP%] {\\n        display: block;\\n        width: 30px;\\n        height: 30px;\\n        background: transparent;\\n        border-top: 2px solid #f2f2f2;\\n        -webkit-transition: all .2s ease-in-out;\\n        transition: all .2s ease-in-out; }\\n        .fs-container[_ngcontent-%COMP%]   .arrow-exitfs.prev[_ngcontent-%COMP%] {\\n          -webkit-transform: rotate(-45deg);\\n                  transform: rotate(-45deg);\\n          position: relative;\\n          left: 18px;\\n          top: 18px; }\\n        .fs-container[_ngcontent-%COMP%]   .arrow-exitfs[_ngcontent-%COMP%]:after {\\n          content: '';\\n          width: 30px;\\n          height: 30px;\\n          background: transparent;\\n          border-top: 2px solid #f2f2f2;\\n          -webkit-transform: rotate(90deg);\\n                  transform: rotate(90deg);\\n          position: absolute;\\n          left: -15px;\\n          top: -17px; }\\n\\n    .slideshow-container.slideshow-container-fs[_ngcontent-%COMP%] {\\n      position: fixed;\\n      left: 0;\\n      top: 0;\\n      width: 100%;\\n      height: 100%; }\\n\\n    .slideshow-container[_ngcontent-%COMP%] {\\n      position: relative;\\n      display: block;\\n      margin: auto;\\n      height: 100%;\\n      width: 100%;\\n      overflow: hidden; }\\n      .slideshow-container[_ngcontent-%COMP%]   .hide-slide[_ngcontent-%COMP%] {\\n        visibility: hidden;\\n        position: absolute;\\n        top: -100vw;\\n        left: -100vw;\\n        opacity: 0; }\\n      .slideshow-container[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%] {\\n        -ms-touch-action: pan-y;\\n            touch-action: pan-y;\\n        position: absolute;\\n        top: 0;\\n        height: 100%;\\n        width: 100%;\\n        visibility: visible;\\n        opacity: 1;\\n        display: block; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.selected[_ngcontent-%COMP%] {\\n          left: 0; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.left-slide[_ngcontent-%COMP%] {\\n          left: -100%; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.right-slide[_ngcontent-%COMP%] {\\n          left: 100%; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-in-left[_ngcontent-%COMP%] {\\n          left: 0;\\n          -webkit-animation: slideInLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideInLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-in-right[_ngcontent-%COMP%] {\\n          left: 0;\\n          -webkit-animation: slideInRight 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideInRight 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-out-left[_ngcontent-%COMP%] {\\n          left: -100%;\\n          -webkit-animation: slideOutLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideOutLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-out-right[_ngcontent-%COMP%] {\\n          left: 100%;\\n          -webkit-animation: slideOutRight 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideOutRight 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.link[_ngcontent-%COMP%] {\\n          cursor: pointer; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]:not(.link) {\\n          cursor: default; }\\n      .slideshow-container[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%] {\\n        position: absolute;\\n        bottom: 0;\\n        padding: 10px;\\n        width: 100%; }\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%] {\\n        display: -webkit-box;\\n        display: -ms-flexbox;\\n        display: flex;\\n        -webkit-box-align: center;\\n            -ms-flex-align: center;\\n                align-items: center;\\n        -webkit-box-pack: center;\\n            -ms-flex-pack: center;\\n                justify-content: center;\\n        position: absolute;\\n        top: 0;\\n        height: 100%;\\n        width: auto;\\n        cursor: pointer;\\n        background-size: 100%;\\n        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));\\n        background-image: linear-gradient(transparent, transparent);\\n        z-index: 100;\\n        -webkit-user-select: none;\\n           -moz-user-select: none;\\n            -ms-user-select: none;\\n                user-select: none; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]:before {\\n          display: block;\\n          height: 100%;\\n          position: absolute;\\n          top: 0;\\n          left: 0;\\n          opacity: 0;\\n          width: 100%;\\n          z-index: -100;\\n          -webkit-transition: opacity 0.45s;\\n          transition: opacity 0.45s; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container.prev[_ngcontent-%COMP%] {\\n          left: 0; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container.prev[_ngcontent-%COMP%]:before {\\n            background-image: -webkit-gradient(linear, right top, left top, from(transparent), to(rgba(0, 0, 0, 0.75)));\\n            background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.75));\\n            content: ''; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container.next[_ngcontent-%COMP%] {\\n          right: 0; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container.next[_ngcontent-%COMP%]:before {\\n            background-image: -webkit-gradient(linear, left top, right top, from(transparent), to(rgba(0, 0, 0, 0.75)));\\n            background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.75));\\n            content: ''; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n          display: block;\\n          margin: auto;\\n          width: 30px;\\n          height: 30px;\\n          background: transparent;\\n          border-top: 2px solid #f2f2f2;\\n          border-left: 2px solid #f2f2f2;\\n          -webkit-transition: all .2s ease-in-out;\\n          transition: all .2s ease-in-out;\\n          -webkit-user-select: none;\\n             -moz-user-select: none;\\n              -ms-user-select: none;\\n                  user-select: none; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before {\\n            display: block;\\n            height: 200%;\\n            width: 200%;\\n            margin-left: -50%;\\n            margin-top: -50%;\\n            content: \\\"\\\";\\n            -webkit-transform: rotate(45deg);\\n                    transform: rotate(45deg); }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow.prev[_ngcontent-%COMP%] {\\n            -webkit-transform: rotate(-45deg);\\n                    transform: rotate(-45deg);\\n            position: relative;\\n            left: 20px;\\n            margin-right: 10px; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow.next[_ngcontent-%COMP%] {\\n            -webkit-transform: rotate(135deg);\\n                    transform: rotate(135deg);\\n            position: relative;\\n            right: 20px;\\n            margin-left: 10px; }\\n      .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%] {\\n        display: block;\\n        bottom: 15px;\\n        z-index: 1;\\n        text-align: center;\\n        position: absolute;\\n        padding: 0;\\n        left: 0;\\n        right: 0;\\n        margin: 0 auto; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] {\\n          display: inline;\\n          margin: 0;\\n          padding: 0; }\\n          .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\\n            border: none;\\n            background: none;\\n            text-indent: -9999px;\\n            font-size: 0;\\n            width: 20px;\\n            height: 20px;\\n            outline: none;\\n            position: relative;\\n            z-index: 1;\\n            cursor: pointer; }\\n            .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:before {\\n              content: '';\\n              width: 4px;\\n              height: 4px;\\n              background: var(--dot-color, #FFF);\\n              border-radius: 4px;\\n              display: block;\\n              position: absolute;\\n              top: 50%;\\n              left: 50%;\\n              -webkit-transform: translate(-50%, -50%);\\n                      transform: translate(-50%, -50%);\\n              opacity: .7;\\n              -webkit-transition: all .5s ease-out;\\n              transition: all .5s ease-out; }\\n          .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li.slick-active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:before {\\n            -webkit-transform: translate(-50%, -50%) scale(1.4);\\n                    transform: translate(-50%, -50%) scale(1.4);\\n            opacity: 1; }\\n\\n    @media screen and (min-width: 768px) {\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]:hover:before {\\n        opacity: 1; }\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]:hover   .arrow[_ngcontent-%COMP%] {\\n        border-width: 4px; }\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:hover {\\n        border-width: 4px; } }\\n\\n    @-webkit-keyframes slideInRight {\\n      0% {\\n        left: -100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @keyframes slideInRight {\\n      0% {\\n        left: -100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @-webkit-keyframes slideInLeft {\\n      0% {\\n        left: 100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @keyframes slideInLeft {\\n      0% {\\n        left: 100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @-webkit-keyframes slideOutRight {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: -100%; } }\\n\\n    @keyframes slideOutRight {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: -100%; } }\\n\\n    @-webkit-keyframes slideOutLeft {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: 100%; } }\\n\\n    @keyframes slideOutLeft {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: 100%; } }\\n\\n    .loader[_ngcontent-%COMP%] {\\n      position: absolute;\\n      left: 50%;\\n      margin-left: -20px;\\n      top: 50%;\\n      margin-top: -20px;\\n      border: 5px solid #f3f3f3;\\n      border-top: 5px solid #555;\\n      border-radius: 50%;\\n      width: 50px;\\n      height: 50px;\\n      -webkit-animation: spin 1s linear infinite;\\n              animation: spin 1s linear infinite; }\\n\\n    @-webkit-keyframes spin {\\n      0% {\\n        -webkit-transform: rotate(0deg);\\n                transform: rotate(0deg); }\\n      100% {\\n        -webkit-transform: rotate(360deg);\\n                transform: rotate(360deg); } }\\n\\n    @keyframes spin {\\n      0% {\\n        -webkit-transform: rotate(0deg);\\n                transform: rotate(0deg); }\\n      100% {\\n        -webkit-transform: rotate(360deg);\\n                transform: rotate(360deg); } }\"],changeDetection:0}),t})(),y=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c,s.b]]}),t})()},Qu3c:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return O})),n.d(e,\"b\",(function(){return M}));var i=n(\"rDax\"),r=n(\"u47x\"),s=n(\"ofXK\"),a=n(\"fXoL\"),o=n(\"FKr1\"),l=n(\"8LU1\"),c=n(\"FtGj\"),h=n(\"0MNC\"),d=n(\"nLfN\"),u=n(\"+rOU\"),p=n(\"XNiG\"),m=n(\"1G5W\"),f=n(\"IzEk\"),g=n(\"R0Ic\"),b=n(\"vxfF\"),_=n(\"cH1L\");const y={tooltipState:Object(g.p)(\"state\",[Object(g.m)(\"initial, void, hidden\",Object(g.n)({opacity:0,transform:\"scale(0)\"})),Object(g.m)(\"visible\",Object(g.n)({transform:\"scale(1)\"})),Object(g.o)(\"* => visible\",Object(g.e)(\"200ms cubic-bezier(0, 0, 0.2, 1)\",Object(g.i)([Object(g.n)({opacity:0,transform:\"scale(0)\",offset:0}),Object(g.n)({opacity:.5,transform:\"scale(0.99)\",offset:.5}),Object(g.n)({opacity:1,transform:\"scale(1)\",offset:1})]))),Object(g.o)(\"* => hidden\",Object(g.e)(\"100ms cubic-bezier(0, 0, 0.2, 1)\",Object(g.n)({opacity:0})))])},v=Object(d.f)({passive:!0});function w(t){return Error(`Tooltip position \"${t}\" is invalid.`)}const x=new a.r(\"mat-tooltip-scroll-strategy\"),C={provide:x,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},k=new a.r(\"mat-tooltip-default-options\",{providedIn:\"root\",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let O=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l,h,d,u){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=h,this._defaultOptions=d,this._position=\"below\",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures=\"auto\",this._message=\"\",this._passiveListeners=new Map,this._destroyed=new p.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===c.e&&!Object(c.q)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.monitor(e).pipe(Object(m.a)(this._destroyed)).subscribe(t=>{t?\"keyboard\"===t&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),r.runOutsideAngular(()=>{e.nativeElement.addEventListener(\"keydown\",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?`${t}`.trim():\"\",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener(\"keydown\",this._handleKeydown),this._passiveListeners.forEach((e,n)=>{t.removeEventListener(n,e,v)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new u.c(S,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(\".mat-tooltip\").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(m.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:\"mat-tooltip-panel\",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||\"ltr\"==this._dir.value,e=this.position;let n;if(\"above\"==e||\"below\"==e)n={originX:\"center\",originY:\"above\"==e?\"top\":\"bottom\"};else if(\"before\"==e||\"left\"==e&&t||\"right\"==e&&!t)n={originX:\"start\",originY:\"center\"};else{if(!(\"after\"==e||\"right\"==e&&t||\"left\"==e&&!t))throw w(e);n={originX:\"end\",originY:\"center\"}}const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||\"ltr\"==this._dir.value,e=this.position;let n;if(\"above\"==e)n={overlayX:\"center\",overlayY:\"bottom\"};else if(\"below\"==e)n={overlayX:\"center\",overlayY:\"top\"};else if(\"before\"==e||\"left\"==e&&t||\"right\"==e&&!t)n={overlayX:\"end\",overlayY:\"center\"};else{if(!(\"after\"==e||\"right\"==e&&t||\"left\"==e&&!t))throw w(e);n={overlayX:\"start\",overlayY:\"center\"}}const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(f.a)(1),Object(m.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return\"above\"===this.position||\"below\"===this.position?\"top\"===e?e=\"bottom\":\"bottom\"===e&&(e=\"top\"):\"end\"===t?t=\"start\":\"start\"===t&&(t=\"end\"),{x:t,y:e}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if(\"off\"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set(\"touchend\",t).set(\"touchcancel\",t).set(\"touchstart\",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set(\"mouseenter\",()=>this.show()).set(\"mouseleave\",()=>this.hide());this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,v)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,n=this.touchGestures;\"off\"!==n&&((\"on\"===n||\"INPUT\"!==t.nodeName&&\"TEXTAREA\"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect=\"none\"),\"on\"!==n&&t.draggable||(e.webkitUserDrag=\"none\"),e.touchAction=\"none\",e.webkitTapHighlightColor=\"transparent\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(i.c),a.Qb(a.l),a.Qb(b.b),a.Qb(a.P),a.Qb(a.A),a.Qb(d.a),a.Qb(r.c),a.Qb(r.h),a.Qb(x),a.Qb(_.b,8),a.Qb(k,8),a.Qb(a.l))},t.\\u0275dir=a.Lb({type:t,selectors:[[\"\",\"matTooltip\",\"\"]],inputs:{showDelay:[\"matTooltipShowDelay\",\"showDelay\"],hideDelay:[\"matTooltipHideDelay\",\"hideDelay\"],touchGestures:[\"matTooltipTouchGestures\",\"touchGestures\"],position:[\"matTooltipPosition\",\"position\"],disabled:[\"matTooltipDisabled\",\"disabled\"],message:[\"matTooltip\",\"message\"],tooltipClass:[\"matTooltipClass\",\"tooltipClass\"]},exportAs:[\"matTooltip\"]}),t})(),S=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility=\"initial\",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility=\"visible\",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility=\"hidden\",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return\"visible\"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;\"hidden\"!==e||this.isVisible()||this._onHide.next(),\"visible\"!==e&&\"hidden\"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.h),a.Qb(h.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-tooltip-component\"]],hostAttrs:[\"aria-hidden\",\"true\"],hostVars:2,hostBindings:function(t,e){1&t&&a.ec(\"click\",(function(){return e._handleBodyInteraction()}),!1,a.xc),2&t&&a.Gc(\"zoom\",\"visible\"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,\"mat-tooltip\",3,\"ngClass\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.ec(\"@state.start\",(function(){return e._animationStart()}))(\"@state.done\",(function(t){return e._animationDone(t)})),a.jc(1,\"async\"),a.Jc(2),a.Vb()),2&t){var n;const t=null==(n=a.kc(1,5,e._isHandset))?null:n.matches;a.Hb(\"mat-tooltip-handset\",t),a.oc(\"ngClass\",e.tooltipClass)(\"@state\",e._visibility),a.Db(2),a.Kc(e.message)}},directives:[s.j],pipes:[s.b],styles:[\".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\\n\"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t})(),M=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},providers:[C],imports:[[r.a,s.c,i.f,o.f],o.f]}),t})()},R0Ic:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s})),n.d(e,\"b\",(function(){return i})),n.d(e,\"c\",(function(){return r})),n.d(e,\"d\",(function(){return v})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return f})),n.d(e,\"g\",(function(){return m})),n.d(e,\"h\",(function(){return l})),n.d(e,\"i\",(function(){return u})),n.d(e,\"j\",(function(){return b})),n.d(e,\"k\",(function(){return c})),n.d(e,\"l\",(function(){return _})),n.d(e,\"m\",(function(){return d})),n.d(e,\"n\",(function(){return h})),n.d(e,\"o\",(function(){return p})),n.d(e,\"p\",(function(){return a})),n.d(e,\"q\",(function(){return g})),n.d(e,\"r\",(function(){return w})),n.d(e,\"s\",(function(){return x}));class i{}class r{}const s=\"*\";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function o(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:3,steps:t,options:e}}function c(t,e=null){return{type:2,steps:t,options:e}}function h(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function u(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function m(t,e=null){return{type:8,animation:t,options:e}}function f(t=null){return{type:9,options:t}}function g(t,e=null){return{type:10,animation:t,options:e}}function b(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function _(t,e){return{type:12,timings:t,animation:e}}function y(t){Promise.resolve(null).then(t)}class v{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){y(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class w{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?y(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const x=\"!\"},R1ws:function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"jhN1\"),s=n(\"R0Ic\");function a(){return\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process)}function o(t){switch(t.length){case 0:return new s.d;case 1:return t[0];default:return new s.r(t)}}function l(t,e,n,i,r={},a={}){const o=[],l=[];let c=-1,h=null;if(i.forEach(t=>{const n=t.offset,i=n==c,d=i&&h||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if(\"offset\"!==n)switch(i=e.normalizePropertyName(i,o),l){case s.s:l=r[n];break;case s.a:l=a[n];break;default:l=e.normalizeStyleValue(n,i,l,o)}d[i]=l}),i||l.push(d),h=d,c=n}),o.length){const t=\"\\n - \";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return l}function c(t,e,n,i){switch(e){case\"start\":t.onStart(()=>i(n&&h(n,\"start\",t)));break;case\"done\":t.onDone(()=>i(n&&h(n,\"done\",t)));break;case\"destroy\":t.onDestroy(()=>i(n&&h(n,\"destroy\",t)))}}function h(t,e,n){const i=n.totalTime,r=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function d(t,e,n,i,r=\"\",s=0,a){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!a}}function u(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(\":\");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,f=(t,e)=>!1,g=(t,e,n)=>[];const b=a();(b||\"undefined\"!=typeof Element)&&(m=(t,e)=>t.contains(e),f=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):f}})(),g=(t,e,n)=>{let i=[];if(n)i.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&i.push(n)}return i});let _=null,y=!1;function v(t){_||(_=(\"undefined\"!=typeof document?document.body:null)||{},y=!!_.style&&\"WebkitAppearance\"in _.style);let e=!0;return _.style&&!function(t){return\"ebkit\"==t.substring(1,6)}(t)&&(e=t in _.style,!e&&y)&&(e=\"Webkit\"+t.charAt(0).toUpperCase()+t.substr(1)in _.style),e}const w=f,x=m,C=g;function k(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,\"$1-$2\");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return n||\"\"}animate(t,e,n,i,r,a=[],o){return new s.d(n,i)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),S=(()=>{class t{}return t.NOOP=new O,t})();function M(t){if(\"number\"==typeof t)return t;const e=t.match(/^(-?[\\.\\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){switch(e){case\"s\":return 1e3*t;default:return t}}function E(t,e,n){return t.hasOwnProperty(\"duration\")?t:function(t,e,n){let i,r=0,s=\"\";if(\"string\"==typeof t){const n=t.match(/^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i);if(null===n)return e.push(`The provided timing value \"${t}\" is invalid.`),{duration:0,delay:0,easing:\"\"};i=P(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(r=P(parseFloat(a),n[4]));const o=n[5];o&&(s=o)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push(\"Duration values below 0 are not allowed for this animation step.\"),n=!0),r<0&&(e.push(\"Delay values below 0 are not allowed for this animation step.\"),n=!0),n&&e.splice(s,0,`The provided timing value \"${t}\" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function A(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function D(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else A(t,n);return n}function R(t,e,n){return n?e+\":\"+n+\";\":\"\"}function T(t){let e=\"\";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=R(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith(\"_\")&&(e+=R(0,n.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),t.style[n]));t.setAttribute(\"style\",e)}function I(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const r=H(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),a()&&T(t))}function j(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=H(e);t.style[n]=\"\"}),a()&&T(t))}function L(t){return Array.isArray(t)?1==t.length?t[0]:Object(s.k)(t):t}const F=new RegExp(\"{{\\\\s*(.+?)\\\\s*}}\",\"g\");function N(t){let e=[];if(\"string\"==typeof t){let n;for(;n=F.exec(t);)e.push(n[1]);F.lastIndex=0}return e}function V(t,e,n){const i=t.toString(),r=i.replace(F,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=\"\"),r.toString()});return r==i?t:r}function z(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const B=/-+([a-z0-9])/g;function H(t){return t.replace(B,(...t)=>t[1].toUpperCase())}function U(t,e){return 0===t||0===e}function q(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],a=[];if(i.forEach(t=>{s.hasOwnProperty(t)||a.push(t),s[t]=n[t]}),a.length)for(var r=1;r<e.length;r++){let n=e[r];a.forEach((function(e){n[e]=W(t,e)}))}}return e}function Q(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function W(t,e){return window.getComputedStyle(t)[e]}function Y(t,e){const n=[];return\"string\"==typeof t?t.split(/\\s*,\\s*/).forEach(t=>function(t,e,n){if(\":\"==t[0]){const i=function(t,e){switch(t){case\":enter\":return\"void => *\";case\":leave\":return\"* => void\";case\":increment\":return(t,e)=>parseFloat(e)>parseFloat(t);case\":decrement\":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value \"${t}\" is not supported`),\"* => *\"}}(t,n);if(\"function\"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression \"${t}\" is not supported`),e;const r=i[1],s=i[2],a=i[3];e.push(X(r,a)),\"<\"!=s[0]||\"*\"==r&&\"*\"==a||e.push(X(a,r))}(t,n,e)):n.push(t),n}const $=new Set([\"true\",\"1\"]),G=new Set([\"false\",\"0\"]);function X(t,e){const n=$.has(t)||G.has(t),i=$.has(e)||G.has(e);return(r,s)=>{let a=\"*\"==t||t==r,o=\"*\"==e||e==s;return!a&&n&&\"boolean\"==typeof r&&(a=r?$.has(t):G.has(t)),!o&&i&&\"boolean\"==typeof s&&(o=s?$.has(e):G.has(e)),a&&o}}const K=new RegExp(\"s*:selfs*,?\",\"g\");function Z(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),Q(this,L(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=\"\",t.collectedStyles={},t.collectedStyles[\"\"]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return\"@\"==t.name.charAt(0)&&e.errors.push(\"animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))\"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\\s*,\\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push(\"only state() and transition() definitions can sit inside of a trigger()\")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{N(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=z(r.values());e.errors.push(`state(\"${t.name}\", ...) must define default values for all the following style substitutions: ${n.join(\", \")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Q(this,L(t.animation),e);return{type:1,matchers:Y(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Q(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Q(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty(\"duration\"))n=t;else if(\"number\"==typeof t)return it(E(t,e).duration,0,\"\");const i=t;if(i.split(/\\s+/).some(t=>\"{\"==t.charAt(0)&&\"{\"==t.charAt(1))){const t=it(0,0,\"\");return t.dynamic=!0,t.strValue=i,t}return n=n||E(i,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(s.n)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,a=!1;if(!r){a=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(s.n)(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,e);o.isEmptyStep=a,i=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{\"string\"==typeof t?t==s.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf(\"{{\")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{\"string\"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property \"${n}\" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],a=s[n];let o=!0;a&&(r!=i&&r>=a.startTime&&i<=a.endTime&&(e.errors.push(`The CSS property \"${n}\" that exists between the times of \"${a.startTime}ms\" and \"${a.endTime}ms\" is also being animated in a parallel animation between the times of \"${r}ms\" and \"${i}ms\"`),o=!1),r=a.startTime),o&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=N(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(\"keyframes() must be placed inside of a call to animate()\"),n;let i=0;const r=[];let s=!1,a=!1,o=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if(\"string\"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty(\"offset\")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty(\"offset\")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),a=a||c<0||c>1,s=s||c<o,o=c,r.push(c),n});a&&e.errors.push(\"Please ensure that all keyframe offsets are between 0 and 1\"),s&&e.errors.push(\"Please ensure that all keyframe offsets are in order\");const c=t.steps.length;let h=0;i>0&&i<c?e.errors.push(\"Not all style() steps within the declared keyframes() contain offsets\"):0==i&&(h=1/(c-1));const d=c-1,u=e.currentTime,p=e.currentAnimateTimings,m=p.duration;return l.forEach((t,i)=>{const s=h>0?i==d?1:h*i:r[i],a=s*m;e.currentTime=u+p.delay+a,p.duration=a,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Q(this,L(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\\s*,\\s*/).find(t=>\":self\"==t);return e&&(t=t.replace(K,\"\")),[t=t.replace(/@\\*/g,\".ng-trigger\").replace(/@\\w+/g,t=>\".ng-trigger-\"+t.substr(1)).replace(/:animating/g,\".ng-animating\"),e]}(t.selector);e.currentQuerySelector=n.length?n+\" \"+r:r,u(e.collectedStyles,e.currentQuerySelector,{});const a=Q(this,L(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(\"stagger() can only be used inside of query()\");const n=\"full\"===t.timings?{duration:0,delay:0,easing:\"full\"}:E(t.timings,e.errors,!0);return{type:12,animation:Q(this,L(t.animation),e),timings:n,options:null}}}class tt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function et(t){return!Array.isArray(t)&&\"object\"==typeof t}function nt(t){var e;return t?(t=A(t)).params&&(t.params=(e=t.params)?A(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,i,r,s,a=null,o=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:a,subTimeline:o}}class st{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(\":enter\",\"g\"),ot=new RegExp(\":leave\",\"g\");function lt(t,e,n,i,r,s={},a={},o,l,c=[]){return(new ct).buildKeyframes(t,e,n,i,r,s,a,o,l,c)}class ct{buildKeyframes(t,e,n,i,r,s,a,o,l,c=[]){l=l||new st;const h=new dt(t,e,l,i,r,c,[]);h.options=o,h.currentTimeline.setStyles([s],null,h.errors,o),Q(this,n,h);const d=h.timelines.filter(t=>t.containsAnimation());if(d.length&&Object.keys(a).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([a],null,h.errors,o)}return d.length?d.map(t=>t.buildKeyframes()):[rt(e,[],[],[],0,0,\"\",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?M(n.duration):null,s=null!=n.delay?M(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Q(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ht);const t=M(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Q(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?M(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);r&&a.delayNextStep(r),Q(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return E(e.params?V(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?M(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let s=n;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let o=null;a.forEach((n,i)=>{e.currentQueryIndex=i;const a=e.createSubContext(t.options,n);r&&a.delayNextStep(r),n===e.element&&(o=a.currentTimeline),Q(this,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),o&&(e.currentTimeline.mergeTimelineCollectedStyles(o),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let o=s*e.currentQueryIndex;switch(r.duration<0?\"reverse\":r.easing){case\"reverse\":o=a-o;break;case\"full\":o=n.currentStaggerTime}const l=e.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;Q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,n,i,r,s,a,o){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new ut(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=M(n.duration)),null!=n.delay&&(i.delay=M(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=V(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new dt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:\"\"},r=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(at,\".\"+this._enterClassName)).replace(ot,\".\"+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),a.push(...e)}return r||0!=a.length||s.push(`\\`query(\"${e}\")\\` returned zero elements. (Use \\`query(\"${e}\", { optional: true })\\` if you wish to allow this.)`),a}}class ut{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ut(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||s.a,this._currentKeyframe[t]=s.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},a=function(t,e){const n={};let i;return t.forEach(t=>{\"*\"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=s.a})):D(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(a).forEach(t=>{const e=V(a[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:s.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,a)=>{const o=D(r,!0);Object.keys(o).forEach(n=>{const i=o[n];i==s.s?t.add(n):i==s.a&&e.add(n)}),n||(o.offset=a/this.duration),i.push(o)});const r=t.size?z(t.values()):[],a=e.size?z(e.values()):[];if(n){const t=i[0],e=A(t);t.offset=0,e.offset=1,i=[t,e]}return rt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}}class pt extends ut{constructor(t,e,n,i,r,s,a=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,a=e/s,o=D(t[0],!1);o.offset=0,r.push(o);const l=D(t[0],!1);l.offset=mt(a),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let a=D(t[i],!1);a.offset=mt((e+a.offset*n)/s),r.push(a)}n=s,e=0,i=\"\",t=r}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function mt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}class gt extends ft{normalizePropertyName(t,e){return H(t)}normalizeStyleValue(t,e,n,i){let r=\"\";const s=n.toString().trim();if(bt[e]&&0!==n&&\"0\"!==n)if(\"number\"==typeof n)r=\"px\";else{const e=n.match(/^[+-]?[\\d\\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}(\"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective\".split(\",\")))();function _t(t,e,n,i,r,s,a,o,l,c,h,d,u){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:d,errors:u}}const yt={};class vt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles[\"*\"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,a,o,l,c){const h=[],d=this.ast.options&&this.ast.options.params||yt,p=this.buildStyles(n,a&&a.params||yt,h),m=o&&o.params||yt,f=this.buildStyles(i,m,h),g=new Set,b=new Map,_=new Map,y=\"void\"===i,v={params:Object.assign(Object.assign({},d),m)},w=c?[]:lt(t,e,this.ast.animation,r,s,p,f,v,l,h);let x=0;if(w.forEach(t=>{x=Math.max(t.duration+t.delay,x)}),h.length)return _t(e,this._triggerName,n,i,y,p,f,[],[],b,_,x,h);w.forEach(t=>{const n=t.element,i=u(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=u(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const C=z(g.values());return _t(e,this._triggerName,n,i,y,p,f,w,C,b,_,x)}}class wt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=A(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if(\"string\"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=V(s,i,e)),n[t]=s})}}),n}}class xt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new wt(t.style,t.options&&t.options.params||{})}),Ct(this.states,\"true\",\"1\"),Ct(this.states,\"false\",\"0\"),e.transitions.forEach(e=>{this.transitionFactories.push(new vt(t,e,this.states))}),this.fallbackTransition=new vt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const kt=new st;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Z(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join(\"\\n\")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let a;const l=new Map;if(r?(a=lt(this._driver,e,r,\"ng-enter\",\"ng-leave\",{},{},n,kt,i),a.forEach(t=>{const e=u(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push(\"The requested animation doesn't exist or has already been destroyed\"),a=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join(\"\\n\")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,s.a)})});const c=o(a.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=d(e,\"\",\"\",\"\");return c(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if(\"register\"==n)return void this.register(t,i[0]);if(\"create\"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case\"play\":r.play();break;case\"pause\":r.pause();break;case\"reset\":r.reset();break;case\"restart\":r.restart();break;case\"finish\":r.finish();break;case\"init\":r.init();break;case\"setPosition\":r.setPosition(parseFloat(i[0]));break;case\"destroy\":this.destroy(t)}}}const St=[],Mt={namespaceId:\"\",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pt={namespaceId:\"\",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Et{constructor(t,e=\"\"){this.namespaceId=e;const n=t&&t.hasOwnProperty(\"value\");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=A(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const At=new Et(\"void\");class Dt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName=\"ng-tns-\"+t,Nt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event \"${n}\" because the animation trigger \"${e}\" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger \"${e}\" because the provided event is undefined!`);if(\"start\"!=(r=n)&&\"done\"!=r)throw new Error(`The provided animation trigger event \"${n}\" for the animation trigger \"${e}\" is not supported!`);var r;const s=u(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const o=u(this._engine.statesByElement,t,{});return o.hasOwnProperty(e)||(Nt(t,\"ng-trigger\"),Nt(t,\"ng-trigger-\"+e),o[e]=At),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers[e]||delete o[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger \"${t}\" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new Tt(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Nt(t,\"ng-trigger\"),Nt(t,\"ng-trigger-\"+e),this._engine.statesByElement.set(t,a={}));let o=a[e];const l=new Et(n,this.id);if(!(n&&n.hasOwnProperty(\"value\"))&&o&&l.absorbOptions(o.options),a[e]=l,o||(o=At),\"void\"!==l.value&&o.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(o.params,l.params)){const e=[],n=r.matchStyles(o.value,o.params,e),i=r.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{j(t,n),I(t,i)})}return}const c=u(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=r.matchTransition(o.value,l.value,t,l.params),d=!1;if(!h){if(!i)return;h=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:o,toState:l,player:s,isFallbackTransition:d}),d||(Nt(t,\"ng-animate-queued\"),s.onStart(()=>{Vt(t,\"ng-animate-queued\")})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,\".ng-trigger\",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,\"void\",i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&o(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(t)[i]||At,a=new Et(\"void\"),o=new Tt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Mt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Nt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=d(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Rt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Dt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=n[t[i]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(It(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!It(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Nt(t,\"ng-animate-disabled\")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Vt(t,\"ng-animate-disabled\"))}removeNode(t,e,n,i){if(It(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return It(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,\".ng-trigger\",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,\".ng-animating\",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return o(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Mt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,\".ng-animate-disabled\")&&this.markElementAsDisabled(t,!1),this.driver.query(t,\".ng-animate-disabled\",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Nt(this.collectedEnterElements[n],\"ng-star-inserted\");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?o(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\\n ${t.join(\"\\n\")}`)}_flushAnimations(t,e){const n=new st,i=[],r=new Map,a=[],l=new Map,c=new Map,h=new Map,d=new Set;this.disabledNodes.forEach(t=>{d.add(t);const e=this.driver.query(t,\".ng-animate-queued\",!0);for(let n=0;n<e.length;n++)d.add(e[n])});const p=this.bodyNode,m=Array.from(this.statesByElement.keys()),f=Ft(m,this.collectedEnterElements),g=new Map;let b=0;f.forEach((t,e)=>{const n=\"ng-enter\"+b++;g.set(e,n),t.forEach(t=>Nt(t,n))});const _=[],y=new Set,v=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const t=this.collectedLeaveElements[s],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,\".ng-star-inserted\",!0).forEach(t=>y.add(t)):v.add(t))}const w=new Map,x=Ft(m,Array.from(y));x.forEach((t,e)=>{const n=\"ng-leave\"+b++;w.set(e,n),t.forEach(t=>Nt(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Vt(t,n))}),x.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Vt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const C=[],k=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(C.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const s=!p||!this.driver.containsElement(p,r),o=w.get(r),d=g.get(r),m=this._buildInstruction(t,n,d,o,s);if(!m.errors||!m.errors.length)return s?(e.onStart(()=>j(r,m.fromStyles)),e.onDestroy(()=>I(r,m.toStyles)),void i.push(e)):t.isFallbackTransition?(e.onStart(()=>j(r,m.fromStyles)),e.onDestroy(()=>I(r,m.toStyles)),void i.push(e)):(m.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,m.timelines),a.push({instruction:m,player:e,element:r}),m.queriedElements.forEach(t=>u(l,t,[]).push(e)),m.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void m.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=h.get(e);i||h.set(e,i=new Set),n.forEach(t=>i.add(t))}));k.push(m)});if(k.length){const t=[];k.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\\n`),e.errors.forEach(e=>t.push(`- ${e}\\n`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,S=new Map;a.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{u(O,e,[]).push(t),t.destroy()})});const M=_.filter(t=>Bt(t,c,h)),P=new Map;Lt(P,this.driver,v,h,s.a).forEach(t=>{Bt(t,c,h)&&M.push(t)});const E=new Map;f.forEach((t,e)=>{Lt(E,this.driver,new Set(t),c,s.s)}),M.forEach(t=>{const e=P.get(t),n=E.get(t);P.set(t,Object.assign(Object.assign({},e),n))});const A=[],D=[],R={};a.forEach(t=>{const{element:e,player:s,instruction:a}=t;if(n.has(e)){if(d.has(e))return s.onDestroy(()=>I(e,a.toStyles)),s.disabled=!0,s.overrideTotalTime(a.totalTime),void i.push(s);let t=R;if(S.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>S.set(e,t))}const n=this._buildAnimation(s.namespaceId,a,O,r,E,P);if(s.setRealPlayer(n),t===R)A.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=o(e)),i.push(s)}}else j(e,a.fromStyles),s.onDestroy(()=>I(e,a.toStyles)),D.push(s),d.has(e)&&i.push(s)}),D.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=o(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let s=0;s<_.length;s++){const t=_[s],e=t.__ng_removed;if(Vt(t,\"ng-leave\"),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,\".ng-animating\",!0);for(let t=0;t<i.length;t++){let e=l.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?zt(this,t,i):this.processLeaveNode(t)}return _.length=0,A.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),A}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||\"void\"==r;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const a of e.timelines){const t=a.element,o=t!==i,l=u(n,t,[]);this._getPreviousPlayers(t,o,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}j(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,a){const c=e.triggerName,h=e.element,d=[],p=new Set,m=new Set,f=e.timelines.map(e=>{const o=e.element;p.add(o);const u=o.__ng_removed;if(u&&u.removedBeforeQueried)return new s.d(e.duration,e.delay);const f=o!==h,g=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const r=e[i];r instanceof s.r?t(r.players,n):n.push(r)}}(t,e),e}((n.get(o)||St).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===o),b=r.get(o),_=a.get(o),y=l(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,g);if(e.subTimeline&&i&&m.add(o),f){const e=new Tt(t,c,o);e.setRealPlayer(v),d.push(e)}return v});d.forEach(t=>{u(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Nt(t,\"ng-animating\"));const g=o(f);return g.onDestroy(()=>{p.forEach(t=>Vt(t,\"ng-animating\")),I(h,e.toStyles)}),m.forEach(t=>{u(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new s.d(t.duration,t.delay)}}class Tt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new s.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback(\"start\")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){u(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent(\"done\",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent(\"start\",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent(\"destroy\",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function It(t){return t&&1===t.nodeType}function jt(t,e){const n=t.style.display;return t.style.display=null!=e?e:\"none\",n}function Lt(t,e,n,i,r){const s=[];n.forEach(t=>s.push(jt(t)));const a=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Pt,a.push(i))}),t.set(i,s)});let o=0;return n.forEach(t=>jt(t,s[o++])),a}function Ft(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=r.get(e);if(s)return s;const a=e.parentNode;return s=n.has(a)?a:i.has(a)?1:t(a),r.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}function Nt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Vt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function zt(t,e,n){o(n).onDone(()=>t.processLeaveNode(e))}function Bt(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class Ht{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Rt(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+\"-\"+i;let a=this._triggerCache[s];if(!a){const t=[],e=Z(this._driver,r,t);if(t.length)throw new Error(`The animation trigger \"${i}\" has failed to build due to the following errors:\\n - ${t.join(\"\\n - \")}`);a=function(t,e){return new xt(t,e)}(i,e),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if(\"@\"==n.charAt(0)){const[t,r]=p(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if(\"@\"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ut(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Qt(e[0]),e.length>1&&(i=Qt(e[e.length-1]))):e&&(n=Qt(e)),n||i?new qt(t,n,i):null}let qt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&I(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(I(this._element,this._initialStyles),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),I(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Qt(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const r=n[i];Wt(r)&&(e=e||{},e[r]=t[r])}return e}function Wt(t){return\"display\"===t||\"position\"===t}class Yt{constructor(t,e,n,i,r,s,a){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,this._fillMode=s,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,\"\").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)\",\"===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Zt(t,\"\",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Kt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){$t(this._element,this._name,\"paused\")}resume(){$t(this._element,this._name,\"running\")}setPosition(t){const e=Gt(this._element,this._name);this._position=t*this._duration,Zt(this._element,\"Delay\",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Kt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,\"\").split(\",\"),i=Xt(n,e);i>=0&&(n.splice(i,1),Zt(t,\"\",n.join(\",\")))}(this._element,this._name))}}function $t(t,e,n){Zt(t,\"PlayState\",n,Gt(t,e))}function Gt(t,e){const n=Jt(t,\"\");return n.indexOf(\",\")>0?Xt(n.split(\",\"),e):Xt([n],e)}function Xt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Kt(t,e,n){n?t.removeEventListener(\"animationend\",e):t.addEventListener(\"animationend\",e)}function Zt(t,e,n,i){const r=\"animation\"+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(\",\");t[i]=n,n=t.join(\",\")}}t.style[r]=n}function Jt(t,e){return t.style[\"animation\"+e]}class te{constructor(t,e,n,i,r,s,a,o){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||\"linear\",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Yt(this.element,this.animationName,this._duration,this._delay,this.easing,\"forwards\",()=>this.finish())}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{\"offset\"!=n&&(t[n]=e?this._finalStyles[n]:W(this.element,n))})}this.currentSnapshot=t}}class ee extends s.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=k(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ne{constructor(){this._count=0,this._head=document.querySelector(\"head\"),this._warningIssued=!1}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>k(t));let i=`@keyframes ${e} {\\n`,r=\"\";n.forEach(t=>{r=\" \";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\\n`,r+=\" \",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case\"offset\":return;case\"easing\":return void(n&&(i+=`${r}animation-timing-function: ${n};\\n`));default:return void(i+=`${r}${e}: ${n};\\n`)}}),i+=`${r}}\\n`}),i+=\"}\\n\";const s=document.createElement(\"style\");return s.innerHTML=i,s}animate(t,e,n,i,r,s=[],a){a&&this._notifyFaultyScrubber();const o=s.filter(t=>t instanceof te),l={};U(n,i)&&o.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{\"offset\"!=n&&\"easing\"!=n&&(e[n]=t[n])})}),e}(e=q(t,e,l));if(0==n)return new ee(t,c);const h=`gen_css_kf_${this._count++}`,d=this.buildKeyframeElement(t,h,e);document.querySelector(\"head\").appendChild(d);const u=Ut(t,e),p=new te(t,e,h,n,i,r,c,u);return p.onDestroy(()=>{var t;(t=d).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn(\"@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\\n\",\"  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill.\"),this._warningIssued=!0)}}class ie{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener(\"finish\",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{\"offset\"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:W(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\\{\\s*\\[native\\s+code\\]\\s*\\}/.test(se().toString()),this._cssKeyframesDriver=new ne}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const o={duration:n,delay:i,fill:0==i?\"both\":\"forwards\"};r&&(o.easing=r);const l={},c=s.filter(t=>t instanceof ie);U(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const h=Ut(t,e=q(t,e=e.map(t=>D(t,!1)),l));return new ie(t,e,o,h)}}function se(){return\"undefined\"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ae=n(\"ofXK\");n.d(e,\"a\",(function(){return fe})),n.d(e,\"b\",(function(){return be}));let oe=(()=>{class t extends s.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:\"0\",encapsulation:i.Q.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(s.k)(t):t;return he(this._renderer,null,e,\"register\",[n]),new le(e,this._renderer)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.G),i.ac(ae.d))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();class le extends s.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ce(this._id,t,e||{},this._renderer)}}class ce{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command(\"create\",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return he(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen(\"done\",t)}onStart(t){this._listen(\"start\",t)}onDestroy(t){this._listen(\"destroy\",t)}init(){this._command(\"init\")}hasStarted(){return this._started}play(){this._command(\"play\"),this._started=!0}pause(){this._command(\"pause\")}restart(){this._command(\"restart\")}finish(){this._command(\"finish\")}destroy(){this._command(\"destroy\")}reset(){this._command(\"reset\")}setPosition(t){this._command(\"setPosition\",t)}getPosition(){return 0}}function he(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}let de=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new ue(\"\",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+\"-\"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new pe(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.G),i.ac(Ht),i.ac(i.A))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();class ue{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){\"@\"==e.charAt(0)&&\"@.disabled\"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class pe extends ue{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){\"@\"==e.charAt(0)?\".\"==e.charAt(1)&&\"@.disabled\"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(\"@\"==e.charAt(0)){const i=function(t){switch(t){case\"body\":return document.body;case\"document\":return document;case\"window\":return window;default:return t}}(t);let r=e.substr(1),s=\"\";return\"@\"!=r.charAt(0)&&([r,s]=function(t){const e=t.indexOf(\".\");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let me=(()=>{class t extends Ht{constructor(t,e,n){super(t.body,e,n)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(ae.d),i.ac(S),i.ac(ft))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const fe=new i.r(\"AnimationModuleType\"),ge=[{provide:S,useFactory:function(){return\"function\"==typeof se()?new re:new ne}},{provide:fe,useValue:\"BrowserAnimations\"},{provide:s.b,useClass:oe},{provide:ft,useFactory:function(){return new gt}},{provide:Ht,useClass:me},{provide:i.G,useFactory:function(t,e,n){return new de(t,e,n)},deps:[r.h,Ht,i.A]}];let be=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:ge,imports:[r.a]}),t})()},Rw1y:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return U})),n.d(e,\"b\",(function(){return Q})),n.d(e,\"c\",(function(){return Y}));var i=n(\"fXoL\"),r=n(\"3Pt+\"),s=n(\"R0Ic\"),a=n(\"ofXK\"),o=n(\"bv9b\"),l=n(\"FKr1\"),c=n(\"Wp6s\"),h=n(\"NFeN\");function d(t,e){1&t&&i.Rb(0,\"div\"),2&t&&i.oc(\"@flipY\",void 0)}function u(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function p(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function m(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,d,1,1,\"div\",2),i.Hc(2,u,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,p,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneLowerCaseLetter)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.lowerCaseCriteriaMsg)}}function f(t,e){1&t&&i.Rb(0,\"div\")}function g(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function b(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function _(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,f,1,0,\"div\",2),i.Hc(2,g,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,b,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneUpperCaseLetter)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.upperCaseCriteriaMsg)}}function y(t,e){1&t&&i.Rb(0,\"div\")}function v(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function w(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function x(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,y,1,0,\"div\",2),i.Hc(2,v,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,w,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneDigit)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.digitsCriteriaMsg)}}function C(t,e){1&t&&i.Rb(0,\"div\")}function k(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function O(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function S(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,C,1,0,\"div\",2),i.Hc(2,k,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,O,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneSpecialChar)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.specialCharsCriteriaMsg)}}function M(t,e){1&t&&i.Rb(0,\"div\")}function P(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function E(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function A(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,M,1,0,\"div\",2),i.Hc(2,P,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,E,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastMinChars)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.minCharsCriteriaMsg)}}function D(t,e){1&t&&i.Rb(0,\"div\")}function R(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function T(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function I(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,D,1,0,\"div\",2),i.Hc(2,R,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,T,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtCustomChars)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.customCharsCriteriaMsg)}}function j(t,e){1&t&&i.Rb(0,\"div\")}function L(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function F(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function N(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,j,1,0,\"div\",2),i.Hc(2,L,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,F,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",100===n.passwordComponent.strength)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Lc(\"Password's strength = \",n.passwordComponent.strength,\" %100\")}}var V=function(t){return t.primary=\"primary\",t.accent=\"accent\",t.warn=\"warn\",t}({}),z=function(t){return t.at_least_eight_chars=\"minChar\",t.at_least_one_lower_case_char=\"lowerCase\",t.at_least_one_upper_case_char=\"upperCase\",t.at_least_one_digit_char=\"digit\",t.at_least_one_special_char=\" specialChar\",t.at_custom_chars=\"customChars\",t}({});class B{isUndefinedOrEmpty(t){}validate(t,e){return n=>{if(this.isUndefinedOrEmpty(n),!e.test(n.value)){const i={};return i[t]={actualValue:n.value,requiredPattern:e},i}}}confirm(t){return e=>{if(this.isUndefinedOrEmpty(e),e.value!==t)return{notConfirmed:{password:t,passwordConfirmation:e.value}}}}}const H={lowerCase:RegExp(/^(?=.*?[a-z])/),upperCase:RegExp(/^(?=.*?[A-Z])/),digit:RegExp(/^(?=.*?[0-9])/),specialChar:RegExp(/^(?=.*?[\" !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\"])/)};let U=(()=>{let t=class{constructor(){this.enableLengthRule=!0,this.enableLowerCaseLetterRule=!0,this.enableUpperCaseLetterRule=!0,this.enableDigitRule=!0,this.enableSpecialCharRule=!0,this.min=8,this.max=30,this.warnThreshold=21,this.accentThreshold=81,this.onStrengthChanged=new i.o,this.criteriaMap=new Map,this.passwordFormControl=new r.c,this.passwordConfirmationFormControl=new r.c,this.validatorsArray=[],this._strength=0,this.matPasswordStrengthValidator=new B}ngOnInit(){this.setRulesAndValidators(),this.password&&this.calculatePasswordStrength()}ngOnChanges(t){t.externalError&&t.externalError.firstChange||t.password.isFirstChange()||(t.externalError&&t.externalError.currentValue?this._color=V.warn:t.password.previousValue!==t.password.currentValue||t.password.firstChange?this.password&&this.password.length>0?this.calculatePasswordStrength():this.reset():this.calculatePasswordStrength())}get strength(){return this._strength?this._strength:0}get color(){return this._strength<this.warnThreshold?V.warn:this._strength<this.accentThreshold?V.accent:V.primary}_containAtLeastMinChars(){return this.containAtLeastMinChars=this.password.length>=this.min,this.containAtLeastMinChars}_containAtLeastOneLowerCaseLetter(){return this.containAtLeastOneLowerCaseLetter=this.criteriaMap.get(z.at_least_one_lower_case_char).test(this.password),this.containAtLeastOneLowerCaseLetter}_containAtLeastOneUpperCaseLetter(){return this.containAtLeastOneUpperCaseLetter=this.criteriaMap.get(z.at_least_one_upper_case_char).test(this.password),this.containAtLeastOneUpperCaseLetter}_containAtLeastOneDigit(){return this.containAtLeastOneDigit=this.criteriaMap.get(z.at_least_one_digit_char).test(this.password),this.containAtLeastOneDigit}_containAtLeastOneSpecialChar(){return this.containAtLeastOneSpecialChar=this.criteriaMap.get(z.at_least_one_special_char).test(this.password),this.containAtLeastOneSpecialChar}_containCustomChars(){return this.containAtCustomChars=this.criteriaMap.get(z.at_custom_chars).test(this.password),this.containAtCustomChars}parseCustomValidatorsRegex(t=this.customValidator){return this.customValidator instanceof RegExp?this.customValidator:\"string\"==typeof this.customValidator?RegExp(this.customValidator):void 0}setRulesAndValidators(){this.validatorsArray=[],this.criteriaMap=new Map,this.passwordConfirmationFormControl.setValidators(r.x.compose([r.x.required,this.matPasswordStrengthValidator.confirm(this.password)])),this.validatorsArray.push(r.x.required),this.enableLengthRule&&(this.criteriaMap.set(z.at_least_eight_chars,RegExp(`^.{${this.min},${this.max}}$`)),this.validatorsArray.push(r.x.minLength(this.min)),this.validatorsArray.push(r.x.maxLength(this.max))),this.enableLowerCaseLetterRule&&(this.criteriaMap.set(z.at_least_one_lower_case_char,H.lowerCase),this.validatorsArray.push(r.x.pattern(H.lowerCase))),this.enableUpperCaseLetterRule&&(this.criteriaMap.set(z.at_least_one_upper_case_char,H.upperCase),this.validatorsArray.push(r.x.pattern(H.upperCase))),this.enableDigitRule&&(this.criteriaMap.set(z.at_least_one_digit_char,H.digit),this.validatorsArray.push(r.x.pattern(H.digit))),this.enableSpecialCharRule&&(this.criteriaMap.set(z.at_least_one_special_char,H.specialChar),this.validatorsArray.push(r.x.pattern(H.specialChar))),this.customValidator&&(this.criteriaMap.set(z.at_custom_chars,this.parseCustomValidatorsRegex()),this.validatorsArray.push(r.x.pattern(this.parseCustomValidatorsRegex()))),this.criteriaMap.forEach((t,e)=>{this.validatorsArray.push(this.matPasswordStrengthValidator.validate(e,t))}),this.passwordFormControl.setValidators(r.x.compose([...this.validatorsArray])),this.Validators=r.x.compose([...this.validatorsArray])}calculatePasswordStrength(){const t=[],e=100/this.criteriaMap.size;t.push(!!this.enableLengthRule&&this._containAtLeastMinChars(),!!this.enableLowerCaseLetterRule&&this._containAtLeastOneLowerCaseLetter(),!!this.enableUpperCaseLetterRule&&this._containAtLeastOneUpperCaseLetter(),!!this.enableDigitRule&&this._containAtLeastOneDigit(),!!this.enableSpecialCharRule&&this._containAtLeastOneSpecialChar(),!!this.customValidator&&this._containCustomChars()),this._strength=t.filter(t=>t).length*e,this.onStrengthChanged.emit(this.strength),this.setRulesAndValidators()}reset(){this._strength=0,this.containAtLeastMinChars=this.containAtLeastOneLowerCaseLetter=this.containAtLeastOneUpperCaseLetter=this.containAtLeastOneDigit=this.containAtCustomChars=this.containAtLeastOneSpecialChar=!1}};return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-password-strength\"]],inputs:{enableLengthRule:\"enableLengthRule\",enableLowerCaseLetterRule:\"enableLowerCaseLetterRule\",enableUpperCaseLetterRule:\"enableUpperCaseLetterRule\",enableDigitRule:\"enableDigitRule\",enableSpecialCharRule:\"enableSpecialCharRule\",min:\"min\",max:\"max\",warnThreshold:\"warnThreshold\",accentThreshold:\"accentThreshold\",password:\"password\",externalError:\"externalError\",customValidator:\"customValidator\"},outputs:{onStrengthChanged:\"onStrengthChanged\"},exportAs:[\"matPasswordStrength\"],features:[i.Bb()],decls:1,vars:2,consts:[[\"mode\",\"determinate\",3,\"color\",\"value\"]],template:function(t,e){1&t&&i.Rb(0,\"mat-progress-bar\",0),2&t&&i.oc(\"color\",e.color)(\"value\",e.strength)},directives:[o.a],styles:[\".green   [_nghost-%COMP%]  .mat-progress-bar.mat-primary .mat-progress-bar-fill::after{background-color:#43a047}\"],changeDetection:0}),t})();const q=Object(s.g)(Object(s.e)(\"{{ timing }}s {{ delay }}s\",Object(s.i)([Object(s.n)({transform:\"translate3d(0, 0, 0)\",offset:0}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.1}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.2}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.3}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.4}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.5}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.6}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.7}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.8}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.9}),Object(s.n)({transform:\"translate3d(0, 0, 0)\",offset:1})])),{params:{timing:1,delay:0}});let Q=(()=>{let t=class{constructor(){this.enableScoreInfo=!1,this.lowerCaseCriteriaMsg=\"contains at least one lower character\",this.upperCaseCriteriaMsg=\"contains at least one upper character\",this.digitsCriteriaMsg=\"contains at least one digit character\",this.specialCharsCriteriaMsg=\"contains at least one special character\",this.customCharsCriteriaMsg=\"contains at least one custom character\"}ngOnInit(){this.minCharsCriteriaMsg||(this.minCharsCriteriaMsg=`contains at least ${this.passwordComponent.min} characters`)}};return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-password-strength-info\"]],inputs:{enableScoreInfo:\"enableScoreInfo\",lowerCaseCriteriaMsg:\"lowerCaseCriteriaMsg\",upperCaseCriteriaMsg:\"upperCaseCriteriaMsg\",digitsCriteriaMsg:\"digitsCriteriaMsg\",specialCharsCriteriaMsg:\"specialCharsCriteriaMsg\",customCharsCriteriaMsg:\"customCharsCriteriaMsg\",minCharsCriteriaMsg:\"minCharsCriteriaMsg\",passwordComponent:\"passwordComponent\"},exportAs:[\"matPasswordStrengthInfo\"],decls:9,vars:8,consts:[[\"class\",\"info-row\",4,\"ngIf\"],[1,\"info-row\"],[4,\"ngIf\",\"ngIfThen\",\"ngIfElse\"],[\"done\",\"\"],[\"error\",\"\"],[\"color\",\"primary\"],[\"color\",\"warn\"]],template:function(t,e){1&t&&(i.Wb(0,\"mat-card\"),i.Wb(1,\"mat-card-content\"),i.Hc(2,m,8,5,\"div\",0),i.Hc(3,_,8,5,\"div\",0),i.Hc(4,x,8,5,\"div\",0),i.Hc(5,S,8,5,\"div\",0),i.Hc(6,A,8,5,\"div\",0),i.Hc(7,I,8,5,\"div\",0),i.Hc(8,N,8,5,\"div\",0),i.Vb(),i.Vb()),2&t&&(i.oc(\"@list\",void 0),i.Db(2),i.oc(\"ngIf\",e.passwordComponent.enableLowerCaseLetterRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableUpperCaseLetterRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableDigitRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableSpecialCharRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableLengthRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.customValidator),i.Db(1),i.oc(\"ngIf\",e.enableScoreInfo))},directives:[c.a,c.b,a.l,h.a],styles:[\"mat-card[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;box-sizing:border-box;display:-webkit-box;display:flex;place-content:stretch center;-webkit-box-align:stretch;align-items:stretch;-webkit-box-flex:1;flex:1 1 0}mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;display:-webkit-box;display:flex;max-width:100%;place-content:stretch flex-start;-webkit-box-align:stretch;align-items:stretch}mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:10px}mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]   .info-row[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;box-sizing:border-box;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}\"],data:{animation:[Object(s.p)(\"list\",[Object(s.o)(\":enter\",[Object(s.j)(\"@items\",Object(s.l)(300,Object(s.f)()))])]),Object(s.p)(\"items\",[Object(s.o)(\":enter\",[Object(s.n)({transform:\"scale(0.5)\",opacity:0}),Object(s.e)(\"1s cubic-bezier(.8,-0.6,0.2,1.5)\",Object(s.n)({transform:\"scale(1)\",opacity:1}))]),Object(s.o)(\":leave\",[Object(s.n)({transform:\"scale(1)\",opacity:1,height:\"*\"}),Object(s.e)(\"1s cubic-bezier(.8,-0.6,0.2,1.5)\",Object(s.n)({transform:\"scale(0.5)\",opacity:0,height:\"0px\",margin:\"0px\"}))])]),Object(s.p)(\"positiveState\",[Object(s.o)(\":enter\",[Object(s.n)({\"backface-visibility\":\"visible\"}),Object(s.e)(\"{{ timing }}s {{ delay }}s ease-in\",Object(s.i)([Object(s.n)({opacity:0,transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)\",offset:0}),Object(s.n)({opacity:1,transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)\",offset:.4}),Object(s.n)({transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)\",offset:.6}),Object(s.n)({transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)\",offset:.8}),Object(s.n)({transform:\"perspective(400px) rotate3d(0, 0, 0, 0)\",offset:1})]))],{params:{timing:1,delay:0,rotateX:1,rotateY:0}})]),Object(s.p)(\"negativeState\",[Object(s.o)(\":enter\",Object(s.q)(q))])]}}),t})();var W;let Y=(()=>{let t=W=class{static forRoot(){return{ngModule:W,providers:[]}}};return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[a.c,o.b,c.e,h.b,l.q]]}),t})()},STbY:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return T})),n.d(e,\"b\",(function(){return Q})),n.d(e,\"c\",(function(){return U})),n.d(e,\"d\",(function(){return V}));var i=n(\"u47x\"),r=n(\"8LU1\"),s=n(\"FtGj\"),a=n(\"fXoL\"),o=n(\"XNiG\"),l=n(\"quSY\"),c=n(\"VRyK\"),h=n(\"LRne\"),d=n(\"7Hc7\"),u=n(\"JX91\"),p=n(\"eIep\"),m=n(\"IzEk\"),f=n(\"pLZG\"),g=n(\"1G5W\"),b=n(\"3E0/\"),_=n(\"R0Ic\"),y=n(\"+rOU\"),v=n(\"ofXK\"),w=n(\"FKr1\"),x=n(\"rDax\"),C=n(\"nLfN\"),k=n(\"cH1L\");const O=[\"mat-menu-item\",\"\"],S=[\"*\"];function M(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",0),a.ec(\"keydown\",(function(e){return a.zc(t),a.ic()._handleKeydown(e)}))(\"click\",(function(){return a.zc(t),a.ic().closed.emit(\"click\")}))(\"@transformMenu.start\",(function(e){return a.zc(t),a.ic()._onAnimationStart(e)}))(\"@transformMenu.done\",(function(e){return a.zc(t),a.ic()._onAnimationDone(e)})),a.Wb(1,\"div\",1),a.mc(2),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"id\",t.panelId)(\"ngClass\",t._classList)(\"@transformMenu\",t._panelAnimationState),a.Eb(\"aria-label\",t.ariaLabel||null)(\"aria-labelledby\",t.ariaLabelledby||null)(\"aria-describedby\",t.ariaDescribedby||null)}}const P={transformMenu:Object(_.p)(\"transformMenu\",[Object(_.m)(\"void\",Object(_.n)({opacity:0,transform:\"scale(0.8)\"})),Object(_.o)(\"void => enter\",Object(_.h)([Object(_.j)(\".mat-menu-content, .mat-mdc-menu-content\",Object(_.e)(\"100ms linear\",Object(_.n)({opacity:1}))),Object(_.e)(\"120ms cubic-bezier(0, 0, 0.2, 1)\",Object(_.n)({transform:\"scale(1)\"}))])),Object(_.o)(\"* => void\",Object(_.e)(\"100ms 25ms linear\",Object(_.n)({opacity:0})))]),fadeInItems:Object(_.p)(\"fadeInItems\",[Object(_.m)(\"showing\",Object(_.n)({opacity:1})),Object(_.o)(\"void => *\",[Object(_.n)({opacity:0}),Object(_.e)(\"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\")])])};let E=(()=>{class t{constructor(t,e,n,i,r,s,a){this._template=t,this._componentFactoryResolver=e,this._appRef=n,this._injector=i,this._viewContainerRef=r,this._document=s,this._changeDetectorRef=a,this._attached=new o.a}attach(t={}){this._portal||(this._portal=new y.g(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new y.d(this._document.createElement(\"div\"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.M),a.Qb(a.j),a.Qb(a.g),a.Qb(a.s),a.Qb(a.P),a.Qb(v.d),a.Qb(a.h))},t.\\u0275dir=a.Lb({type:t,selectors:[[\"ng-template\",\"matMenuContent\",\"\"]]}),t})();const A=new a.r(\"MAT_MENU_PANEL\");class D{}const R=Object(w.u)(Object(w.v)(D));let T=(()=>{class t extends R{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role=\"menuitem\",this._hovered=new o.a,this._focused=new o.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),i&&i.addItem&&i.addItem(this),this._document=e}focus(t=\"program\",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?\"-1\":\"0\"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n=\"\";if(t.childNodes){const i=t.childNodes.length;for(let r=0;r<i;r++)t.childNodes[r].nodeType===e&&(n+=t.childNodes[r].textContent)}return n.trim()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(v.d),a.Qb(i.h),a.Qb(A,8))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"\",\"mat-menu-item\",\"\"]],hostAttrs:[1,\"mat-focus-indicator\"],hostVars:10,hostBindings:function(t,e){1&t&&a.ec(\"click\",(function(t){return e._checkDisabled(t)}))(\"mouseenter\",(function(){return e._handleMouseEnter()})),2&t&&(a.Eb(\"role\",e.role)(\"tabindex\",e._getTabIndex())(\"aria-disabled\",e.disabled.toString())(\"disabled\",e.disabled||null),a.Hb(\"mat-menu-item\",!0)(\"mat-menu-item-highlighted\",e._highlighted)(\"mat-menu-item-submenu-trigger\",e._triggersSubmenu))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",role:\"role\"},exportAs:[\"matMenuItem\"],features:[a.Ab],attrs:O,ngContentSelectors:S,decls:2,vars:2,consts:[[\"matRipple\",\"\",1,\"mat-menu-ripple\",3,\"matRippleDisabled\",\"matRippleTrigger\"]],template:function(t,e){1&t&&(a.nc(),a.mc(0),a.Rb(1,\"div\",0)),2&t&&(a.Db(1),a.oc(\"matRippleDisabled\",e.disableRipple||e.disabled)(\"matRippleTrigger\",e._getHostElement()))},directives:[w.p],encapsulation:2,changeDetection:0}),t})();const I=new a.r(\"mat-menu-default-options\",{providedIn:\"root\",factory:function(){return{overlapTrigger:!1,xPosition:\"after\",yPosition:\"below\",backdropClass:\"cdk-overlay-transparent-backdrop\"}}});let j=0,L=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new a.E,this._tabSubscription=l.a.EMPTY,this._classList={},this._panelAnimationState=\"void\",this._animationDone=new o.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new a.o,this.close=this.closed,this.panelId=`mat-menu-panel-${j++}`}get xPosition(){return this._xPosition}set xPosition(t){\"before\"!==t&&\"after\"!==t&&function(){throw Error('xPosition value must be either \\'before\\' or after\\'.\\n      Example: <mat-menu xPosition=\"before\" #menu=\"matMenu\"><\/mat-menu>')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){\"above\"!==t&&\"below\"!==t&&function(){throw Error('yPosition value must be either \\'above\\' or below\\'.\\n      Example: <mat-menu yPosition=\"above\" #menu=\"matMenu\"><\/mat-menu>')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(r.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(r.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(\" \").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(\" \").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className=\"\")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit(\"tab\")),this._directDescendantItems.changes.pipe(Object(u.a)(this._directDescendantItems),Object(p.a)(t=>Object(c.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(u.a)(this._directDescendantItems),Object(p.a)(t=>Object(c.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case s.e:Object(s.q)(t)||(t.preventDefault(),this.closed.emit(\"keydown\"));break;case s.g:this.parentMenu&&\"ltr\"===this.direction&&this.closed.emit(\"keydown\");break;case s.k:this.parentMenu&&\"rtl\"===this.direction&&this.closed.emit(\"keydown\");break;case s.f:case s.c:Object(s.q)(t)||(e===s.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==s.n&&e!==s.b||n.setFocusOrigin(\"keyboard\"),n.onKeydown(t)}}focusFirstItem(t=\"program\"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if(\"menu\"===t.getAttribute(\"role\")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,n=Object.keys(this._classList).find(t=>t.startsWith(\"mat-elevation-z\"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n[\"mat-menu-before\"]=\"before\"===t,n[\"mat-menu-after\"]=\"after\"===t,n[\"mat-menu-above\"]=\"above\"===e,n[\"mat-menu-below\"]=\"below\"===e}_startAnimation(){this._panelAnimationState=\"enter\"}_resetAnimation(){this._panelAnimationState=\"void\"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,\"enter\"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(u.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(a.A),a.Qb(I))},t.\\u0275dir=a.Lb({type:t,contentQueries:function(t,e,n){var i;1&t&&(a.Jb(n,E,!0),a.Jb(n,T,!0),a.Jb(n,T,!1)),2&t&&(a.vc(i=a.fc())&&(e.lazyContent=i.first),a.vc(i=a.fc())&&(e._allItems=i),a.vc(i=a.fc())&&(e.items=i))},viewQuery:function(t,e){var n;1&t&&a.Pc(a.M,!0),2&t&&a.vc(n=a.fc())&&(e.templateRef=n.first)},inputs:{backdropClass:\"backdropClass\",xPosition:\"xPosition\",yPosition:\"yPosition\",overlapTrigger:\"overlapTrigger\",hasBackdrop:\"hasBackdrop\",panelClass:[\"class\",\"panelClass\"],classList:\"classList\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],ariaDescribedby:[\"aria-describedby\",\"ariaDescribedby\"]},outputs:{closed:\"closed\",close:\"close\"}}),t})(),F=(()=>{class t extends L{}return t.\\u0275fac=function(e){return N(e||t)},t.\\u0275dir=a.Lb({type:t,features:[a.Ab]}),t})();const N=a.Yb(F);let V=(()=>{class t extends F{constructor(t,e,n){super(t,e,n)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(a.A),a.Qb(I))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-menu\"]],exportAs:[\"matMenu\"],features:[a.Cb([{provide:A,useExisting:F},{provide:F,useExisting:t}]),a.Ab],ngContentSelectors:S,decls:1,vars:0,consts:[[\"tabindex\",\"-1\",\"role\",\"menu\",1,\"mat-menu-panel\",3,\"id\",\"ngClass\",\"keydown\",\"click\"],[1,\"mat-menu-content\"]],template:function(t,e){1&t&&(a.nc(),a.Hc(0,M,3,6,\"ng-template\"))},directives:[v.j],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:\"\";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\\n'],encapsulation:2,data:{animation:[P.transformMenu,P.fadeInItems]},changeDetection:0}),t})();const z=new a.r(\"mat-menu-scroll-strategy\"),B={provide:z,deps:[x.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},H=Object(C.f)({passive:!0});let U=(()=>{class t{constructor(t,e,n,i,r,s,o,c){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=s,this._dir=o,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.a.EMPTY,this._hoverSubscription=l.a.EMPTY,this._menuCloseSubscription=l.a.EMPTY,this._handleTouchStart=()=>this._openedBy=\"touch\",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new a.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new a.o,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener(\"touchstart\",this._handleTouchStart,H),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),\"click\"!==t&&\"tab\"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener(\"touchstart\",this._handleTouchStart,H),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&\"rtl\"===this._dir.value?\"rtl\":\"ltr\"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof F&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t=\"program\",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof F?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(f.a)(t=>\"void\"===t.toState),Object(m.a)(1),Object(g.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||\"program\")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\\n\\n    Example:\\n      <mat-menu #menu=\"matMenu\"><\/mat-menu>\\n      <button [matMenuTriggerFor]=\"menu\"><\/button>')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new x.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(\".mat-menu-panel, .mat-mdc-menu-panel\"),backdropClass:this.menu.backdropClass||\"cdk-overlay-transparent-backdrop\",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses(\"start\"===t.connectionPair.overlayX?\"after\":\"before\",\"top\"===t.connectionPair.overlayY?\"below\":\"above\")})}_setPosition(t){let[e,n]=\"before\"===this.menu.xPosition?[\"end\",\"start\"]:[\"start\",\"end\"],[i,r]=\"above\"===this.menu.yPosition?[\"bottom\",\"top\"]:[\"top\",\"bottom\"],[s,a]=[i,r],[o,l]=[e,n],c=0;this.triggersSubmenu()?(l=e=\"before\"===this.menu.xPosition?\"start\":\"end\",n=o=\"end\"===e?\"start\":\"end\",c=\"bottom\"===i?8:-8):this.menu.overlapTrigger||(s=\"top\"===i?\"bottom\":\"top\",a=\"top\"===r?\"bottom\":\"top\"),t.withPositions([{originX:e,originY:s,overlayX:o,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:a,overlayX:o,overlayY:r,offsetY:-c},{originX:n,originY:a,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(h.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(f.a)(t=>t!==this._menuItemInstance),Object(f.a)(()=>this._menuOpen)):Object(h.a)();return Object(c.a)(t,n,i,e)}_handleMousedown(t){Object(i.l)(t)||(this._openedBy=0===t.button?\"mouse\":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===s.k&&\"ltr\"===this.dir||e===s.g&&\"rtl\"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(f.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(b.a)(0,d.a)).subscribe(()=>{this._openedBy=\"mouse\",this.menu instanceof F&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(m.a)(1),Object(b.a)(0,d.a),Object(g.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new y.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(x.c),a.Qb(a.l),a.Qb(a.P),a.Qb(z),a.Qb(F,8),a.Qb(T,10),a.Qb(k.b,8),a.Qb(i.h))},t.\\u0275dir=a.Lb({type:t,selectors:[[\"\",\"mat-menu-trigger-for\",\"\"],[\"\",\"matMenuTriggerFor\",\"\"]],hostAttrs:[\"aria-haspopup\",\"true\",1,\"mat-menu-trigger\"],hostVars:2,hostBindings:function(t,e){1&t&&a.ec(\"mousedown\",(function(t){return e._handleMousedown(t)}))(\"keydown\",(function(t){return e._handleKeydown(t)}))(\"click\",(function(t){return e._handleClick(t)})),2&t&&a.Eb(\"aria-expanded\",e.menuOpen||null)(\"aria-controls\",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:[\"matMenuTriggerRestoreFocus\",\"restoreFocus\"],_deprecatedMatMenuTriggerFor:[\"mat-menu-trigger-for\",\"_deprecatedMatMenuTriggerFor\"],menu:[\"matMenuTriggerFor\",\"menu\"],menuData:[\"matMenuTriggerData\",\"menuData\"]},outputs:{menuOpened:\"menuOpened\",onMenuOpen:\"onMenuOpen\",menuClosed:\"menuClosed\",onMenuClose:\"onMenuClose\"},exportAs:[\"matMenuTrigger\"]}),t})(),q=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},providers:[B],imports:[w.f]}),t})(),Q=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},providers:[B],imports:[[v.c,w.f,w.q,x.f,q],q]}),t})()},SeVD:function(t,e,n){\"use strict\";var i=n(\"ngJS\"),r=n(\"NJ4a\"),s=n(\"Lhse\"),a=n(\"kJWO\"),o=n(\"I55L\"),l=n(\"c2HN\"),c=n(\"XoHu\");n.d(e,\"a\",(function(){return h}));const h=t=>{if(t&&\"function\"==typeof t[a.a])return h=t,t=>{const e=h[a.a]();if(\"function\"!=typeof e.subscribe)throw new TypeError(\"Provided object does not correctly implement Symbol.observable\");return e.subscribe(t)};if(Object(o.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&\"function\"==typeof t[s.a])return e=t,t=>{const n=e[s.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return\"function\"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?\"an invalid object\":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+\" You can provide an Observable, Promise, Array, or Iterable.\")}var e,n,h}},SpAZ:function(t,e,n){\"use strict\";function i(t){return t}n.d(e,\"a\",(function(){return i}))},TU8p:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"u47x\");n(\"8LU1\"),n(\"R1ws\");let a=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[s.a,r.f]]}),t})()},TypT:function(t,e){e.encode=function(t){var e=\"\";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+=\"&\"),e+=encodeURIComponent(n)+\"=\"+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split(\"&\"),i=0,r=n.length;i<r;i++){var s=n[i].split(\"=\");e[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return e}},UXun:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"jtHE\");function r(t,e,n){let r;return r=t&&\"object\"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,a,o=0,l=!1,c=!1;return function(h){o++,s&&!l||(l=!1,s=new i.a(t,e,r),a=h.subscribe({next(t){s.next(t)},error(t){l=!0,s.error(t)},complete(){c=!0,a=void 0,s.complete()}}));const d=s.subscribe(this);this.add(()=>{o--,d.unsubscribe(),a&&!c&&n&&0===o&&(a.unsubscribe(),a=void 0,s=void 0)})}}(r))}},Uxeu:function(t,e){var n=/^(?:(?![^:@]+:[^:@\\/]*@)(http|https|ws|wss):\\/\\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\\/?#]*)(?::(\\d*))?)(((\\/(?:[^?#](?![^?#\\/]*\\.[^?#\\/.]+(?:[?#]|$)))*\\/?)?([^?#\\/]*))(?:\\?([^#]*))?(?:#(.*))?)/,i=[\"source\",\"protocol\",\"authority\",\"userInfo\",\"user\",\"password\",\"host\",\"port\",\"relative\",\"path\",\"directory\",\"file\",\"query\",\"anchor\"];t.exports=function(t){var e=t,r=t.indexOf(\"[\"),s=t.indexOf(\"]\");-1!=r&&-1!=s&&(t=t.substring(0,r)+t.substring(r,s).replace(/:/g,\";\")+t.substring(s,t.length));for(var a=n.exec(t||\"\"),o={},l=14;l--;)o[i[l]]=a[l]||\"\";return-1!=r&&-1!=s&&(o.source=e,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,\":\"),o.authority=o.authority.replace(\"[\",\"\").replace(\"]\",\"\").replace(/;/g,\":\"),o.ipv6uri=!0),o}},VRyK:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));var i=n(\"HDdC\"),r=n(\"z+Ro\"),s=n(\"bHdf\"),a=n(\"yCtX\");function o(...t){let e=Number.POSITIVE_INFINITY,n=null,o=t[t.length-1];return Object(r.a)(o)?(n=t.pop(),t.length>1&&\"number\"==typeof t[t.length-1]&&(e=t.pop())):\"number\"==typeof o&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(a.a)(t,n))}},Vo14:function(t,e,n){var i=n(\"5M3R\")(\"socket.io-parser\"),r=n(\"aKum\"),s=n(\"cD5x\"),a=n(\"ojuT\"),o=n(\"+SKG\");function l(){}e.protocol=4,e.types=[\"CONNECT\",\"DISCONNECT\",\"EVENT\",\"ACK\",\"ERROR\",\"BINARY_EVENT\",\"BINARY_ACK\"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=l,e.Decoder=d;var c=e.ERROR+'\"encode error\"';function h(t){var n=\"\"+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+\"-\"),t.nsp&&\"/\"!==t.nsp&&(n+=t.nsp+\",\"),null!=t.id&&(n+=t.id),null!=t.data){var r=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===r)return c;n+=r}return i(\"encoded %j as %s\",t,n),n}function d(){this.reconstructor=null}function u(t){this.reconPack=t,this.buffers=[]}function p(t){return{type:e.ERROR,data:\"parser error: \"+t}}l.prototype.encode=function(t,n){i(\"encoding packet %j\",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){s.removeBlobs(t,(function(t){var n=s.deconstructPacket(t),i=h(n.packet),r=n.buffers;r.unshift(i),e(r)}))}(t,n):n([h(t)])},r(d.prototype),d.prototype.add=function(t){var n;if(\"string\"==typeof t)n=function(t){var n=0,r={type:Number(t.charAt(0))};if(null==e.types[r.type])return p(\"unknown packet type \"+r.type);if(e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type){for(var s=\"\";\"-\"!==t.charAt(++n)&&(s+=t.charAt(n),n!=t.length););if(s!=Number(s)||\"-\"!==t.charAt(n))throw new Error(\"Illegal attachments\");r.attachments=Number(s)}if(\"/\"===t.charAt(n+1))for(r.nsp=\"\";++n&&\",\"!==(l=t.charAt(n))&&(r.nsp+=l,n!==t.length););else r.nsp=\"/\";var o=t.charAt(n+1);if(\"\"!==o&&Number(o)==o){for(r.id=\"\";++n;){var l;if(null==(l=t.charAt(n))||Number(l)!=l){--n;break}if(r.id+=t.charAt(n),n===t.length)break}r.id=Number(r.id)}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||r.type!==e.ERROR&&!a(c))return p(\"invalid payload\");r.data=c}return i(\"decoded %s as %j\",t,r),r}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new u(n),0===this.reconstructor.reconPack.attachments&&this.emit(\"decoded\",n)):this.emit(\"decoded\",n);else{if(!o(t)&&!t.base64)throw new Error(\"Unknown type: \"+t);if(!this.reconstructor)throw new Error(\"got binary data when not reconstructing a packet\");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit(\"decoded\",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},u.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=s.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},u.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},WLGk:function(t,e,n){var i=n(\"6C75\"),r=Object.prototype.toString,s=\"function\"==typeof Blob||\"undefined\"!=typeof Blob&&\"[object BlobConstructor]\"===r.call(Blob),a=\"function\"==typeof File||\"undefined\"!=typeof File&&\"[object FileConstructor]\"===r.call(File);t.exports=function t(e){if(!e||\"object\"!=typeof e)return!1;if(i(e)){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return!0;return!1}if(\"function\"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e)||\"function\"==typeof ArrayBuffer&&e instanceof ArrayBuffer||s&&e instanceof Blob||a&&e instanceof File)return!0;if(e.toJSON&&\"function\"==typeof e.toJSON&&1===arguments.length)return t(e.toJSON(),!0);for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return!0;return!1}},WMd4:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"EY2u\"),r=n(\"LRne\"),s=n(\"z6cu\");let a=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue=\"N\"===t}observe(t){switch(this.kind){case\"N\":return t.next&&t.next(this.value);case\"E\":return t.error&&t.error(this.error);case\"C\":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case\"N\":return t&&t(this.value);case\"E\":return e&&e(this.error);case\"C\":return n&&n()}}accept(t,e,n){return t&&\"function\"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case\"N\":return Object(r.a)(this.value);case\"E\":return Object(s.a)(this.error);case\"C\":return Object(i.b)()}throw new Error(\"unexpected notification kind value\")}static createNext(e){return void 0!==e?new t(\"N\",e):t.undefinedValueNotification}static createError(e){return new t(\"E\",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t(\"C\"),t.undefinedValueNotification=new t(\"N\",void 0),t})()},Wm4p:function(t,e,n){var i,r=n(\"dkv/\"),s=n(\"WLGk\"),a=n(\"ypnn\"),o=n(\"zMFY\"),l=n(\"oIG/\");\"undefined\"!=typeof ArrayBuffer&&(i=n(\"g5Dd\"));var c=\"undefined\"!=typeof navigator&&/Android/i.test(navigator.userAgent),h=\"undefined\"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||h;e.protocol=3;var u=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=r(u),m={type:\"error\",data:\"parser error\"},f=n(\"14A5\");function g(t,e,n){for(var i=new Array(t.length),r=o(t.length,n),s=function(t,n,r){e(n,(function(e,n){i[t]=n,r(e,i)}))},a=0;a<t.length;a++)s(a,t[a],r)}e.encodePacket=function(t,n,i,r){\"function\"==typeof n&&(r=n,n=!1),\"function\"==typeof i&&(r=i,i=null);var s=void 0===t.data?void 0:t.data.buffer||t.data;if(\"undefined\"!=typeof ArrayBuffer&&s instanceof ArrayBuffer)return function(t,n,i){if(!n)return e.encodeBase64Packet(t,i);var r=t.data,s=new Uint8Array(r),a=new Uint8Array(1+r.byteLength);a[0]=u[t.type];for(var o=0;o<s.length;o++)a[o+1]=s[o];return i(a.buffer)}(t,n,r);if(void 0!==f&&s instanceof f)return function(t,n,i){if(!n)return e.encodeBase64Packet(t,i);if(d)return function(t,n,i){if(!n)return e.encodeBase64Packet(t,i);var r=new FileReader;return r.onload=function(){e.encodePacket({type:t.type,data:r.result},n,!0,i)},r.readAsArrayBuffer(t.data)}(t,n,i);var r=new Uint8Array(1);return r[0]=u[t.type],i(new f([r.buffer,t.data]))}(t,n,r);if(s&&s.base64)return function(t,n){return n(\"b\"+e.packets[t.type]+t.data.data)}(t,r);var a=u[t.type];return void 0!==t.data&&(a+=i?l.encode(String(t.data),{strict:!1}):String(t.data)),r(\"\"+a)},e.encodeBase64Packet=function(t,n){var i,r=\"b\"+e.packets[t.type];if(void 0!==f&&t.data instanceof f){var s=new FileReader;return s.onload=function(){var t=s.result.split(\",\")[1];n(r+t)},s.readAsDataURL(t.data)}try{i=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(c){for(var a=new Uint8Array(t.data),o=new Array(a.length),l=0;l<a.length;l++)o[l]=a[l];i=String.fromCharCode.apply(null,o)}return r+=btoa(i),n(r)},e.decodePacket=function(t,n,i){if(void 0===t)return m;if(\"string\"==typeof t){if(\"b\"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(i&&!1===(t=function(t){try{t=l.decode(t,{strict:!1})}catch(e){return!1}return t}(t)))return m;var r=t.charAt(0);return Number(r)==r&&p[r]?t.length>1?{type:p[r],data:t.substring(1)}:{type:p[r]}:m}r=new Uint8Array(t)[0];var s=a(t,1);return f&&\"blob\"===n&&(s=new f([s])),{type:p[r],data:s}},e.decodeBase64Packet=function(t,e){var n=p[t.charAt(0)];if(!i)return{type:n,data:{base64:!0,data:t.substr(1)}};var r=i.decode(t.substr(1));return\"blob\"===e&&f&&(r=new f([r])),{type:n,data:r}},e.encodePayload=function(t,n,i){\"function\"==typeof n&&(i=n,n=null);var r=s(t);return n&&r?f&&!d?e.encodePayloadAsBlob(t,i):e.encodePayloadAsArrayBuffer(t,i):t.length?void g(t,(function(t,i){e.encodePacket(t,!!r&&n,!1,(function(t){i(null,function(t){return t.length+\":\"+t}(t))}))}),(function(t,e){return i(e.join(\"\"))})):i(\"0:\")},e.decodePayload=function(t,n,i){if(\"string\"!=typeof t)return e.decodePayloadAsBinary(t,n,i);var r;if(\"function\"==typeof n&&(i=n,n=null),\"\"===t)return i(m,0,1);for(var s,a,o=\"\",l=0,c=t.length;l<c;l++){var h=t.charAt(l);if(\":\"===h){if(\"\"===o||o!=(s=Number(o)))return i(m,0,1);if(o!=(a=t.substr(l+1,s)).length)return i(m,0,1);if(a.length){if(r=e.decodePacket(a,n,!1),m.type===r.type&&m.data===r.data)return i(m,0,1);if(!1===i(r,l+s,c))return}l+=s,o=\"\"}else o+=h}return\"\"!==o?i(m,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){if(!t.length)return n(new ArrayBuffer(0));g(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){return n(null,t)}))}),(function(t,e){var i=e.reduce((function(t,e){var n;return t+(n=\"string\"==typeof e?e.length:e.byteLength).toString().length+n+2}),0),r=new Uint8Array(i),s=0;return e.forEach((function(t){var e=\"string\"==typeof t,n=t;if(e){for(var i=new Uint8Array(t.length),a=0;a<t.length;a++)i[a]=t.charCodeAt(a);n=i.buffer}r[s++]=e?0:1;var o=n.byteLength.toString();for(a=0;a<o.length;a++)r[s++]=parseInt(o[a]);for(r[s++]=255,i=new Uint8Array(n),a=0;a<i.length;a++)r[s++]=i[a]})),n(r.buffer)}))},e.encodePayloadAsBlob=function(t,n){g(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){var e=new Uint8Array(1);if(e[0]=1,\"string\"==typeof t){for(var i=new Uint8Array(t.length),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);t=i.buffer,e[0]=0}var s=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),a=new Uint8Array(s.length+1);for(r=0;r<s.length;r++)a[r]=parseInt(s[r]);if(a[s.length]=255,f){var o=new f([e.buffer,a.buffer,t]);n(null,o)}}))}),(function(t,e){return n(new f(e))}))},e.decodePayloadAsBinary=function(t,n,i){\"function\"==typeof n&&(i=n,n=null);for(var r=t,s=[];r.byteLength>0;){for(var o=new Uint8Array(r),l=0===o[0],c=\"\",h=1;255!==o[h];h++){if(c.length>310)return i(m,0,1);c+=o[h]}r=a(r,2+c.length),c=parseInt(c);var d=a(r,0,c);if(l)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(f){var u=new Uint8Array(d);for(d=\"\",h=0;h<u.length;h++)d+=String.fromCharCode(u[h])}s.push(d),r=a(r,c)}var p=s.length;s.forEach((function(t,r){i(e.decodePacket(t,n,!0),r,p)}))}},Wp6s:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return p})),n.d(e,\"b\",(function(){return h})),n.d(e,\"c\",(function(){return m})),n.d(e,\"d\",(function(){return u})),n.d(e,\"e\",(function(){return f})),n.d(e,\"f\",(function(){return d}));var i=n(\"R1ws\"),r=n(\"FKr1\"),s=n(\"fXoL\");const a=[\"*\",[[\"mat-card-footer\"]]],o=[\"*\",\"mat-card-footer\"],l=[[[\"\",\"mat-card-avatar\",\"\"],[\"\",\"matCardAvatar\",\"\"]],[[\"mat-card-title\"],[\"mat-card-subtitle\"],[\"\",\"mat-card-title\",\"\"],[\"\",\"mat-card-subtitle\",\"\"],[\"\",\"matCardTitle\",\"\"],[\"\",\"matCardSubtitle\",\"\"]],\"*\"],c=[\"[mat-card-avatar], [matCardAvatar]\",\"mat-card-title, mat-card-subtitle,\\n      [mat-card-title], [mat-card-subtitle],\\n      [matCardTitle], [matCardSubtitle]\",\"*\"];let h=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-card-content\"],[\"\",\"mat-card-content\",\"\"],[\"\",\"matCardContent\",\"\"]],hostAttrs:[1,\"mat-card-content\"]}),t})(),d=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-card-title\"],[\"\",\"mat-card-title\",\"\"],[\"\",\"matCardTitle\",\"\"]],hostAttrs:[1,\"mat-card-title\"]}),t})(),u=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-card-image\",\"\"],[\"\",\"matCardImage\",\"\"]],hostAttrs:[1,\"mat-card-image\"]}),t})(),p=(()=>{class t{constructor(t){this._animationMode=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(i.a,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-card\"]],hostAttrs:[1,\"mat-card\",\"mat-focus-indicator\"],hostVars:2,hostBindings:function(t,e){2&t&&s.Hb(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)},exportAs:[\"matCard\"],ngContentSelectors:o,decls:2,vars:0,template:function(t,e){1&t&&(s.nc(a),s.mc(0),s.mc(1,1))},styles:[\".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\\n\"],encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-card-header\"]],hostAttrs:[1,\"mat-card-header\"],ngContentSelectors:c,decls:4,vars:0,consts:[[1,\"mat-card-header-text\"]],template:function(t,e){1&t&&(s.nc(l),s.mc(0),s.Wb(1,\"div\",0),s.mc(2,1),s.Vb(),s.mc(3,2))},encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},XNiG:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return c})),n.d(e,\"a\",(function(){return h}));var i=n(\"HDdC\"),r=n(\"7o/Q\"),s=n(\"quSY\"),a=n(\"9ppp\"),o=n(\"Ylt2\"),l=n(\"2QA8\");class c extends r.a{constructor(t){super(t),this.destination=t}}let h=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new d(this,this);return e.operator=t,e}next(t){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].next(t)}}error(t){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new a.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new a.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new a.a;return this.hasError?(t.error(this.thrownError),s.a.EMPTY):this.isStopped?(t.complete(),s.a.EMPTY):(this.observers.push(t),new o.a(this,t))}asObservable(){const t=new i.a;return t.source=this,t}}return t.create=(t,e)=>new d(t,e),t})();class d extends h{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.a.EMPTY}}},XhcP:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return B})),n.d(e,\"b\",(function(){return U})),n.d(e,\"c\",(function(){return z})),n.d(e,\"d\",(function(){return Q}));var i=n(\"nLfN\"),r=n(\"vxfF\"),s=n(\"ofXK\"),a=n(\"fXoL\"),o=n(\"FKr1\"),l=n(\"8LU1\"),c=n(\"FtGj\"),h=n(\"XNiG\"),d=n(\"xgIS\"),u=n(\"VRyK\"),p=n(\"pLZG\"),m=n(\"1G5W\"),f=n(\"/uUt\"),g=n(\"lJxs\"),b=n(\"IzEk\"),_=n(\"JX91\"),y=n(\"Kj3r\"),v=n(\"R0Ic\"),w=n(\"R1ws\"),x=n(\"u47x\"),C=n(\"cH1L\");const k=[\"*\"];function O(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",2),a.ec(\"click\",(function(){return a.zc(t),a.ic()._onBackdropClicked()})),a.Vb()}if(2&t){const t=a.ic();a.Hb(\"mat-drawer-shown\",t._isShowingBackdrop())}}function S(t,e){1&t&&(a.Wb(0,\"mat-drawer-content\"),a.mc(1,2),a.Vb())}const M=[[[\"mat-drawer\"]],[[\"mat-drawer-content\"]],\"*\"],P=[\"mat-drawer\",\"mat-drawer-content\",\"*\"];function E(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",2),a.ec(\"click\",(function(){return a.zc(t),a.ic()._onBackdropClicked()})),a.Vb()}if(2&t){const t=a.ic();a.Hb(\"mat-drawer-shown\",t._isShowingBackdrop())}}function A(t,e){1&t&&(a.Wb(0,\"mat-sidenav-content\",3),a.mc(1,2),a.Vb())}const D=[[[\"mat-sidenav\"]],[[\"mat-sidenav-content\"]],\"*\"],R=[\"mat-sidenav\",\"mat-sidenav-content\",\"*\"],T={transformDrawer:Object(v.p)(\"transform\",[Object(v.m)(\"open, open-instant\",Object(v.n)({transform:\"none\",visibility:\"visible\"})),Object(v.m)(\"void\",Object(v.n)({\"box-shadow\":\"none\",visibility:\"hidden\"})),Object(v.o)(\"void => open-instant\",Object(v.e)(\"0ms\")),Object(v.o)(\"void <=> open, open-instant => void\",Object(v.e)(\"400ms cubic-bezier(0.25, 0.8, 0.25, 1)\"))])};function I(t){throw Error(`A drawer was already declared for 'position=\"${t}\"'`)}const j=new a.r(\"MAT_DRAWER_DEFAULT_AUTOSIZE\",{providedIn:\"root\",factory:function(){return!1}}),L=new a.r(\"MAT_DRAWER_CONTAINER\");let F=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(n,i,r),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.h),a.Qb(Object(a.V)(()=>V)),a.Qb(a.l),a.Qb(r.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-drawer-content\"]],hostAttrs:[1,\"mat-drawer-content\"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gc(\"margin-left\",e._container._contentMargins.left,\"px\")(\"margin-right\",e._container._contentMargins.right,\"px\")},features:[a.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(a.nc(),a.mc(0))},encapsulation:2,changeDetection:0}),t})(),N=(()=>{class t{constructor(t,e,n,i,r,s,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=s,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position=\"start\",this._mode=\"over\",this._disableClose=!1,this._opened=!1,this._animationStarted=new h.a,this._animationEnd=new h.a,this._animationState=\"void\",this.openedChange=new a.o(!0),this._destroyed=new h.a,this.onPositionChanged=new a.o,this._modeChanged=new h.a,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Object(d.a)(this._elementRef.nativeElement,\"keydown\").pipe(Object(p.a)(t=>t.keyCode===c.e&&!this.disableClose&&!Object(c.q)(t)),Object(m.a)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Object(f.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf(\"open\")&&\"void\"===e||\"void\"===n&&0===e.indexOf(\"open\"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t=\"end\"===t?\"end\":\"start\")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Object(l.c)(t)}get autoFocus(){const t=this._autoFocus;return null==t?\"side\"!==this.mode:t}set autoFocus(t){this._autoFocus=Object(l.c)(t)}get opened(){return this._opened}set opened(t){this.toggle(Object(l.c)(t))}get _openedStream(){return this.openedChange.pipe(Object(p.a)(t=>t),Object(g.a)(()=>{}))}get openedStart(){return this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&0===t.toState.indexOf(\"open\")),Object(g.a)(()=>{}))}get _closedStream(){return this.openedChange.pipe(Object(p.a)(t=>!t),Object(g.a)(()=>{}))}get closedStart(){return this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&\"void\"===t.toState),Object(g.a)(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||\"function\"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}toggle(t=!this.opened,e=\"program\"){return this._opened=t,t?(this._animationState=this._enableAnimations?\"open\":\"open-instant\",this._openedVia=e):(this._animationState=\"void\",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Object(b.a)(1)).subscribe(e=>t(e?\"open\":\"close\"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&\"side\"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(x.i),a.Qb(x.h),a.Qb(i.a),a.Qb(a.A),a.Qb(s.d,8),a.Qb(L,8))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-drawer\"]],hostAttrs:[\"tabIndex\",\"-1\",1,\"mat-drawer\"],hostVars:12,hostBindings:function(t,e){1&t&&a.Ib(\"@transform.start\",(function(t){return e._animationStartListener(t)}))(\"@transform.done\",(function(t){return e._animationDoneListener(t)})),2&t&&(a.Eb(\"align\",null),a.Oc(\"@transform\",e._animationState),a.Hb(\"mat-drawer-end\",\"end\"===e.position)(\"mat-drawer-over\",\"over\"===e.mode)(\"mat-drawer-push\",\"push\"===e.mode)(\"mat-drawer-side\",\"side\"===e.mode)(\"mat-drawer-opened\",e.opened))},inputs:{position:\"position\",mode:\"mode\",disableClose:\"disableClose\",autoFocus:\"autoFocus\",opened:\"opened\"},outputs:{openedChange:\"openedChange\",onPositionChanged:\"positionChanged\",_openedStream:\"opened\",openedStart:\"openedStart\",_closedStream:\"closed\",closedStart:\"closedStart\"},exportAs:[\"matDrawer\"],ngContentSelectors:k,decls:2,vars:0,consts:[[1,\"mat-drawer-inner-container\"]],template:function(t,e){1&t&&(a.nc(),a.Wb(0,\"div\",0),a.mc(1),a.Vb())},encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),t})(),V=(()=>{class t{constructor(t,e,n,i,r,s=!1,o){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=o,this._drawers=new a.E,this.backdropClick=new a.o,this._destroyed=new h.a,this._doCheckSubject=new h.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new h.a,t&&t.change.pipe(Object(m.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Object(l.c)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||\"side\"!==this._start.mode||!this._end||\"side\"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Object(l.c)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Object(_.a)(this._allDrawers),Object(m.a)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(_.a)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Object(y.a)(10),Object(m.a)(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if(\"side\"==this._left.mode)t+=this._left._width;else if(\"push\"==this._left.mode){const n=this._left._width;t+=n,e-=n}if(this._right&&this._right.opened)if(\"side\"==this._right.mode)e+=this._right._width;else if(\"push\"==this._right.mode){const n=this._right._width;e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState),Object(m.a)(this._drawers.changes)).subscribe(t=>{\"open-instant\"!==t.toState&&\"NoopAnimations\"!==this._animationMode&&this._element.nativeElement.classList.add(\"mat-drawer-transition\"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),\"side\"!==t.mode&&t.openedChange.pipe(Object(m.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Object(m.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(b.a)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Object(m.a)(Object(u.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n=\"mat-drawer-container-has-open\";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{\"end\"==t.position?(null!=this._end&&I(\"end\"),this._end=t):(null!=this._start&&I(\"start\"),this._start=t)}),this._right=this._left=null,this._dir&&\"rtl\"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&\"over\"!=this._start.mode||this._isDrawerOpen(this._end)&&\"over\"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return\"side\"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(C.b,8),a.Qb(a.l),a.Qb(a.A),a.Qb(a.h),a.Qb(r.d),a.Qb(j),a.Qb(w.a,8))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-drawer-container\"]],contentQueries:function(t,e,n){var i;1&t&&(a.Jb(n,F,!0),a.Jb(n,N,!0)),2&t&&(a.vc(i=a.fc())&&(e._content=i.first),a.vc(i=a.fc())&&(e._allDrawers=i))},viewQuery:function(t,e){var n;1&t&&a.Pc(F,!0),2&t&&a.vc(n=a.fc())&&(e._userContent=n.first)},hostAttrs:[1,\"mat-drawer-container\"],hostVars:2,hostBindings:function(t,e){2&t&&a.Hb(\"mat-drawer-container-explicit-backdrop\",e._backdropOverride)},inputs:{autosize:\"autosize\",hasBackdrop:\"hasBackdrop\"},outputs:{backdropClick:\"backdropClick\"},exportAs:[\"matDrawerContainer\"],features:[a.Cb([{provide:L,useExisting:t}])],ngContentSelectors:P,decls:4,vars:2,consts:[[\"class\",\"mat-drawer-backdrop\",3,\"mat-drawer-shown\",\"click\",4,\"ngIf\"],[4,\"ngIf\"],[1,\"mat-drawer-backdrop\",3,\"click\"]],template:function(t,e){1&t&&(a.nc(M),a.Hc(0,O,1,2,\"div\",0),a.mc(1),a.mc(2,1),a.Hc(3,S,2,0,\"mat-drawer-content\",1)),2&t&&(a.oc(\"ngIf\",e.hasBackdrop),a.Db(3),a.oc(\"ngIf\",!e._content))},directives:[s.l,F],styles:[\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\\n\"],encapsulation:2,changeDetection:0}),t})(),z=(()=>{class t extends F{constructor(t,e,n,i,r){super(t,e,n,i,r)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.h),a.Qb(Object(a.V)(()=>U)),a.Qb(a.l),a.Qb(r.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-sidenav-content\"]],hostAttrs:[1,\"mat-drawer-content\",\"mat-sidenav-content\"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gc(\"margin-left\",e._container._contentMargins.left,\"px\")(\"margin-right\",e._container._contentMargins.right,\"px\")},features:[a.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(a.nc(),a.mc(0))},encapsulation:2,changeDetection:0}),t})(),B=(()=>{class t extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Object(l.c)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Object(l.f)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Object(l.f)(t)}}return t.\\u0275fac=function(e){return H(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-sidenav\"]],hostAttrs:[\"tabIndex\",\"-1\",1,\"mat-drawer\",\"mat-sidenav\"],hostVars:17,hostBindings:function(t,e){2&t&&(a.Eb(\"align\",null),a.Gc(\"top\",e.fixedInViewport?e.fixedTopGap:null,\"px\")(\"bottom\",e.fixedInViewport?e.fixedBottomGap:null,\"px\"),a.Hb(\"mat-drawer-end\",\"end\"===e.position)(\"mat-drawer-over\",\"over\"===e.mode)(\"mat-drawer-push\",\"push\"===e.mode)(\"mat-drawer-side\",\"side\"===e.mode)(\"mat-drawer-opened\",e.opened)(\"mat-sidenav-fixed\",e.fixedInViewport))},inputs:{fixedInViewport:\"fixedInViewport\",fixedTopGap:\"fixedTopGap\",fixedBottomGap:\"fixedBottomGap\"},exportAs:[\"matSidenav\"],features:[a.Ab],ngContentSelectors:k,decls:2,vars:0,consts:[[1,\"mat-drawer-inner-container\"]],template:function(t,e){1&t&&(a.nc(),a.Wb(0,\"div\",0),a.mc(1),a.Vb())},encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),t})();const H=a.Yb(B);let U=(()=>{class t extends V{}return t.\\u0275fac=function(e){return q(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-sidenav-container\"]],contentQueries:function(t,e,n){var i;1&t&&(a.Jb(n,z,!0),a.Jb(n,B,!0)),2&t&&(a.vc(i=a.fc())&&(e._content=i.first),a.vc(i=a.fc())&&(e._allDrawers=i))},hostAttrs:[1,\"mat-drawer-container\",\"mat-sidenav-container\"],hostVars:2,hostBindings:function(t,e){2&t&&a.Hb(\"mat-drawer-container-explicit-backdrop\",e._backdropOverride)},exportAs:[\"matSidenavContainer\"],features:[a.Cb([{provide:L,useExisting:t}]),a.Ab],ngContentSelectors:R,decls:4,vars:2,consts:[[\"class\",\"mat-drawer-backdrop\",3,\"mat-drawer-shown\",\"click\",4,\"ngIf\"],[\"cdkScrollable\",\"\",4,\"ngIf\"],[1,\"mat-drawer-backdrop\",3,\"click\"],[\"cdkScrollable\",\"\"]],template:function(t,e){1&t&&(a.nc(D),a.Hc(0,E,1,2,\"div\",0),a.mc(1),a.mc(2,1),a.Hc(3,A,2,0,\"mat-sidenav-content\",1)),2&t&&(a.oc(\"ngIf\",e.hasBackdrop),a.Db(3),a.oc(\"ngIf\",!e._content))},directives:[s.l,z,r.a],styles:[\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\\n\"],encapsulation:2,changeDetection:0}),t})();const q=a.Yb(U);let Q=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},imports:[[s.c,o.f,r.c,i.b],o.f]}),t})()},XiUz:function(t,e,n){\"use strict\";n.d(e,\"f\",(function(){return lt})),n.d(e,\"b\",(function(){return j})),n.d(e,\"a\",(function(){return W})),n.d(e,\"d\",(function(){return g})),n.d(e,\"c\",(function(){return Z})),n.d(e,\"e\",(function(){return C}));var i=n(\"fXoL\"),r=n(\"pD6V\"),s=n(\"cH1L\"),a=n(\"XNiG\"),o=n(\"1G5W\");const l=[\"row\",\"column\",\"row-reverse\",\"column-reverse\"];function c(t){t=t?t.toLowerCase():\"\";let[e,n,i]=t.split(\" \");return l.find(t=>t===e)||(e=l[0]),\"inline\"===n&&(n=\"inline\"!==i?i:\"\",i=\"inline\"),[e,d(n),!!i]}function h(t){let[e]=c(t);return e.indexOf(\"row\")>-1}function d(t){if(t)switch(t.toLowerCase()){case\"reverse\":case\"wrap-reverse\":case\"reverse-wrap\":t=\"wrap-reverse\";break;case\"no\":case\"none\":case\"nowrap\":t=\"nowrap\";break;default:t=\"wrap\"}return t}let u=(()=>{class t extends r.h{buildStyles(t){return function(t){let[e,n,i]=c(t);return function(t,e=null,n=!1){return{display:n?\"inline-flex\":\"flex\",\"box-sizing\":\"border-box\",\"flex-direction\":t,\"flex-wrap\":e||null}}(e,n,i)}(t)}}return t.\\u0275fac=function(e){return p(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const p=i.Yb(u),m=[\"fxLayout\",\"fxLayout.xs\",\"fxLayout.sm\",\"fxLayout.md\",\"fxLayout.lg\",\"fxLayout.xl\",\"fxLayout.lt-sm\",\"fxLayout.lt-md\",\"fxLayout.lt-lg\",\"fxLayout.lt-xl\",\"fxLayout.gt-xs\",\"fxLayout.gt-sm\",\"fxLayout.gt-md\",\"fxLayout.gt-lg\"];let f=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY=\"layout\",this.styleCache=_,this.init()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb(u),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})(),g=(()=>{class t extends f{constructor(){super(...arguments),this.inputs=m}}return t.\\u0275fac=function(e){return b(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxLayout\",\"\"],[\"\",\"fxLayout.xs\",\"\"],[\"\",\"fxLayout.sm\",\"\"],[\"\",\"fxLayout.md\",\"\"],[\"\",\"fxLayout.lg\",\"\"],[\"\",\"fxLayout.xl\",\"\"],[\"\",\"fxLayout.lt-sm\",\"\"],[\"\",\"fxLayout.lt-md\",\"\"],[\"\",\"fxLayout.lt-lg\",\"\"],[\"\",\"fxLayout.lt-xl\",\"\"],[\"\",\"fxLayout.gt-xs\",\"\"],[\"\",\"fxLayout.gt-sm\",\"\"],[\"\",\"fxLayout.gt-md\",\"\"],[\"\",\"fxLayout.gt-lg\",\"\"]],inputs:{fxLayout:\"fxLayout\",\"fxLayout.xs\":\"fxLayout.xs\",\"fxLayout.sm\":\"fxLayout.sm\",\"fxLayout.md\":\"fxLayout.md\",\"fxLayout.lg\":\"fxLayout.lg\",\"fxLayout.xl\":\"fxLayout.xl\",\"fxLayout.lt-sm\":\"fxLayout.lt-sm\",\"fxLayout.lt-md\":\"fxLayout.lt-md\",\"fxLayout.lt-lg\":\"fxLayout.lt-lg\",\"fxLayout.lt-xl\":\"fxLayout.lt-xl\",\"fxLayout.gt-xs\":\"fxLayout.gt-xs\",\"fxLayout.gt-sm\":\"fxLayout.gt-sm\",\"fxLayout.gt-md\":\"fxLayout.gt-md\",\"fxLayout.gt-lg\":\"fxLayout.gt-lg\"},features:[i.Ab]}),t})();const b=i.Yb(g),_=new Map,y={\"margin-left\":null,\"margin-right\":null,\"margin-top\":null,\"margin-bottom\":null};let v=(()=>{class t extends r.h{constructor(t){super(),this._styler=t}buildStyles(t,e){return t.endsWith(E)?function(t,e){let n=\"0px\",i=\"0px\";return\"rtl\"===e?i=\"-\"+t:n=\"-\"+t,{margin:`0px ${n} ${\"-\"+t} ${i}`}}(t=t.slice(0,t.indexOf(E)),e.directionality):{}}sideEffect(t,e,n){const i=n.items;if(t.endsWith(E)){const e=function(t,e){let n=\"0px\",i=\"0px\";return\"rtl\"===e?i=t:n=t,{padding:`0px ${n} ${t} ${i}`}}(t=t.slice(0,t.indexOf(E)),n.directionality);this._styler.applyStyleToElements(e,n.items)}else{const e=i.pop(),r=function(t,e){const n=A(e.directionality,e.layout),i=Object.assign({},y);return i[n]=t,i}(t,n);this._styler.applyStyleToElements(r,i),this._styler.applyStyleToElements(y,[e])}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(r.i))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(r.i))},token:t,providedIn:\"root\"}),t})();const w=[\"fxLayoutGap\",\"fxLayoutGap.xs\",\"fxLayoutGap.sm\",\"fxLayoutGap.md\",\"fxLayoutGap.lg\",\"fxLayoutGap.xl\",\"fxLayoutGap.lt-sm\",\"fxLayoutGap.lt-md\",\"fxLayoutGap.lt-lg\",\"fxLayoutGap.lt-xl\",\"fxLayoutGap.gt-xs\",\"fxLayoutGap.gt-sm\",\"fxLayoutGap.gt-md\",\"fxLayoutGap.gt-lg\"];let x=(()=>{class t extends r.b{constructor(t,e,n,i,r,s){super(t,r,i,s),this.zone=e,this.directionality=n,this.styleUtils=i,this.layout=\"row\",this.DIRECTIVE_KEY=\"layout-gap\",this.observerSubject=new a.a;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,\"layout\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const t=this.nativeElement.children,e=[];for(let n=t.length;n--;)e[n]=t[n];return e}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(t){const e=t.value.split(\" \");this.layout=e[0],l.find(t=>t===this.layout)||(this.layout=\"row\"),this.triggerUpdate()}updateWithValue(t){const e=this.childrenNodes.filter(t=>1===t.nodeType&&this.willDisplay(t)).sort((t,e)=>{const n=+this.styler.lookupStyle(t,\"order\"),i=+this.styler.lookupStyle(e,\"order\");return isNaN(n)||isNaN(i)||n===i?0:n>i?1:-1});if(e.length>0){const n=this.directionality.value,i=this.layout;\"row\"===i&&\"rtl\"===n?this.styleCache=O:\"row\"===i&&\"rtl\"!==n?this.styleCache=M:\"column\"===i&&\"rtl\"===n?this.styleCache=S:\"column\"===i&&\"rtl\"!==n&&(this.styleCache=P),this.addStyles(t,{directionality:n,items:e,layout:i})}}clearStyles(){const t=Object.keys(this.mru).length>0,e=t?\"padding\":A(this.directionality.value,this.layout);t&&super.clearStyles(),this.styleUtils.applyStyleToElements({[e]:\"\"},this.childrenNodes)}willDisplay(t){const e=this.marshal.getValue(t,\"show-hide\");return!0===e||void 0===e&&\"none\"!==this.styleUtils.lookupStyle(t,\"display\")}buildChildObservable(){this.zone.runOutsideAngular(()=>{\"undefined\"!=typeof MutationObserver&&(this.observer=new MutationObserver(t=>{t.some(t=>t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.A),i.Qb(s.b),i.Qb(r.i),i.Qb(v),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})(),C=(()=>{class t extends x{constructor(){super(...arguments),this.inputs=w}}return t.\\u0275fac=function(e){return k(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxLayoutGap\",\"\"],[\"\",\"fxLayoutGap.xs\",\"\"],[\"\",\"fxLayoutGap.sm\",\"\"],[\"\",\"fxLayoutGap.md\",\"\"],[\"\",\"fxLayoutGap.lg\",\"\"],[\"\",\"fxLayoutGap.xl\",\"\"],[\"\",\"fxLayoutGap.lt-sm\",\"\"],[\"\",\"fxLayoutGap.lt-md\",\"\"],[\"\",\"fxLayoutGap.lt-lg\",\"\"],[\"\",\"fxLayoutGap.lt-xl\",\"\"],[\"\",\"fxLayoutGap.gt-xs\",\"\"],[\"\",\"fxLayoutGap.gt-sm\",\"\"],[\"\",\"fxLayoutGap.gt-md\",\"\"],[\"\",\"fxLayoutGap.gt-lg\",\"\"]],inputs:{fxLayoutGap:\"fxLayoutGap\",\"fxLayoutGap.xs\":\"fxLayoutGap.xs\",\"fxLayoutGap.sm\":\"fxLayoutGap.sm\",\"fxLayoutGap.md\":\"fxLayoutGap.md\",\"fxLayoutGap.lg\":\"fxLayoutGap.lg\",\"fxLayoutGap.xl\":\"fxLayoutGap.xl\",\"fxLayoutGap.lt-sm\":\"fxLayoutGap.lt-sm\",\"fxLayoutGap.lt-md\":\"fxLayoutGap.lt-md\",\"fxLayoutGap.lt-lg\":\"fxLayoutGap.lt-lg\",\"fxLayoutGap.lt-xl\":\"fxLayoutGap.lt-xl\",\"fxLayoutGap.gt-xs\":\"fxLayoutGap.gt-xs\",\"fxLayoutGap.gt-sm\":\"fxLayoutGap.gt-sm\",\"fxLayoutGap.gt-md\":\"fxLayoutGap.gt-md\",\"fxLayoutGap.gt-lg\":\"fxLayoutGap.gt-lg\"},features:[i.Ab]}),t})();const k=i.Yb(C),O=new Map,S=new Map,M=new Map,P=new Map,E=\" grid\";function A(t,e){switch(e){case\"column\":return\"margin-bottom\";case\"column-reverse\":return\"margin-top\";case\"row\":return\"rtl\"===t?\"margin-left\":\"margin-right\";case\"row-reverse\":return\"rtl\"===t?\"margin-right\":\"margin-left\";default:return\"rtl\"===t?\"margin-left\":\"margin-right\"}}function D(t,...e){if(null==t)throw TypeError(\"Cannot convert undefined or null to object\");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}let R=(()=>{class t extends r.h{constructor(t){super(),this.layoutConfig=t}buildStyles(t,e){let[n,i,...r]=t.split(\" \"),s=r.join(\" \");const a=e.direction.indexOf(\"column\")>-1?\"column\":\"row\",o=h(a)?\"max-width\":\"max-height\",l=h(a)?\"min-width\":\"min-height\",c=String(s).indexOf(\"calc\")>-1,d=c||\"auto\"===s,u=String(s).indexOf(\"%\")>-1&&!c,p=String(s).indexOf(\"px\")>-1||String(s).indexOf(\"rem\")>-1||String(s).indexOf(\"em\")>-1||String(s).indexOf(\"vw\")>-1||String(s).indexOf(\"vh\")>-1;let m=c||p;n=\"0\"==n?0:n,i=\"0\"==i?0:i;const f=!n&&!i;let g={};const b={\"max-width\":null,\"max-height\":null,\"min-width\":null,\"min-height\":null};switch(s||\"\"){case\"\":const t=!1!==this.layoutConfig.useColumnBasisZero;s=\"row\"===a?\"0%\":t?\"0.000000001px\":\"auto\";break;case\"initial\":case\"nogrow\":n=0,s=\"auto\";break;case\"grow\":s=\"100%\";break;case\"noshrink\":i=0,s=\"auto\";break;case\"auto\":break;case\"none\":n=0,i=0,s=\"auto\";break;default:m||u||isNaN(s)||(s+=\"%\"),\"0%\"===s&&(m=!0),\"0px\"===s&&(s=\"0%\"),g=D(b,c?{\"flex-grow\":n,\"flex-shrink\":i,\"flex-basis\":m?s:\"100%\"}:{flex:`${n} ${i} ${m?s:\"100%\"}`})}return g.flex||g[\"flex-grow\"]||(g=D(b,c?{\"flex-grow\":n,\"flex-shrink\":i,\"flex-basis\":s}:{flex:`${n} ${i} ${s}`})),\"0%\"!==s&&\"0px\"!==s&&\"0.000000001px\"!==s&&\"auto\"!==s&&(g[l]=f||m&&n?s:null,g[o]=f||!d&&i?s:null),g[l]||g[o]?e.hasWrap&&(g[c?\"flex-basis\":\"flex\"]=g[o]?c?g[o]:`${n} ${i} ${g[o]}`:c?g[l]:`${n} ${i} ${g[l]}`):g=D(b,c?{\"flex-grow\":n,\"flex-shrink\":i,\"flex-basis\":s}:{flex:`${n} ${i} ${s}`}),D(g,{\"box-sizing\":\"border-box\"})}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(r.e))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(r.e))},token:t,providedIn:\"root\"}),t})();const T=[\"fxFlex\",\"fxFlex.xs\",\"fxFlex.sm\",\"fxFlex.md\",\"fxFlex.lg\",\"fxFlex.xl\",\"fxFlex.lt-sm\",\"fxFlex.lt-md\",\"fxFlex.lt-lg\",\"fxFlex.lt-xl\",\"fxFlex.gt-xs\",\"fxFlex.gt-sm\",\"fxFlex.gt-md\",\"fxFlex.gt-lg\"];let I=(()=>{class t extends r.b{constructor(t,e,n,i,r){super(t,i,e,r),this.layoutConfig=n,this.DIRECTIVE_KEY=\"flex\",this.direction=\"\",this.wrap=!1,this.flexGrow=\"1\",this.flexShrink=\"1\",this.init(),this.parentElement&&(this.marshal.trackValue(this.parentElement,\"layout\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,\"layout-align\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||\"1\",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||\"1\",this.triggerReflow()}onLayoutChange(t){const e=t.value.split(\" \");this.direction=e[0],this.wrap=void 0!==e[1]&&\"wrap\"===e[1],this.triggerUpdate()}updateWithValue(t){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));const e=this.direction,n=e.startsWith(\"row\"),i=this.wrap;n&&i?this.styleCache=V:n&&!i?this.styleCache=F:!n&&i?this.styleCache=z:n||i||(this.styleCache=N);const s=String(t).replace(\";\",\"\"),a=Object(r.j)(s,this.flexGrow,this.flexShrink);this.addStyles(a.join(\" \"),{direction:e,hasWrap:i})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const e=Object(r.j)(t+\"\",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(\" \"))}}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb(r.e),i.Qb(R),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,inputs:{shrink:[\"fxShrink\",\"shrink\"],grow:[\"fxGrow\",\"grow\"]},features:[i.Ab]}),t})(),j=(()=>{class t extends I{constructor(){super(...arguments),this.inputs=T}}return t.\\u0275fac=function(e){return L(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxFlex\",\"\"],[\"\",\"fxFlex.xs\",\"\"],[\"\",\"fxFlex.sm\",\"\"],[\"\",\"fxFlex.md\",\"\"],[\"\",\"fxFlex.lg\",\"\"],[\"\",\"fxFlex.xl\",\"\"],[\"\",\"fxFlex.lt-sm\",\"\"],[\"\",\"fxFlex.lt-md\",\"\"],[\"\",\"fxFlex.lt-lg\",\"\"],[\"\",\"fxFlex.lt-xl\",\"\"],[\"\",\"fxFlex.gt-xs\",\"\"],[\"\",\"fxFlex.gt-sm\",\"\"],[\"\",\"fxFlex.gt-md\",\"\"],[\"\",\"fxFlex.gt-lg\",\"\"]],inputs:{fxFlex:\"fxFlex\",\"fxFlex.xs\":\"fxFlex.xs\",\"fxFlex.sm\":\"fxFlex.sm\",\"fxFlex.md\":\"fxFlex.md\",\"fxFlex.lg\":\"fxFlex.lg\",\"fxFlex.xl\":\"fxFlex.xl\",\"fxFlex.lt-sm\":\"fxFlex.lt-sm\",\"fxFlex.lt-md\":\"fxFlex.lt-md\",\"fxFlex.lt-lg\":\"fxFlex.lt-lg\",\"fxFlex.lt-xl\":\"fxFlex.lt-xl\",\"fxFlex.gt-xs\":\"fxFlex.gt-xs\",\"fxFlex.gt-sm\":\"fxFlex.gt-sm\",\"fxFlex.gt-md\":\"fxFlex.gt-md\",\"fxFlex.gt-lg\":\"fxFlex.gt-lg\"},features:[i.Ab]}),t})();const L=i.Yb(j),F=new Map,N=new Map,V=new Map,z=new Map;let B=(()=>{class t extends r.h{buildStyles(t){const e={};switch(t=t||\"stretch\"){case\"start\":e[\"align-self\"]=\"flex-start\";break;case\"end\":e[\"align-self\"]=\"flex-end\";break;default:e[\"align-self\"]=t}return e}}return t.\\u0275fac=function(e){return H(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const H=i.Yb(B),U=[\"fxFlexAlign\",\"fxFlexAlign.xs\",\"fxFlexAlign.sm\",\"fxFlexAlign.md\",\"fxFlexAlign.lg\",\"fxFlexAlign.xl\",\"fxFlexAlign.lt-sm\",\"fxFlexAlign.lt-md\",\"fxFlexAlign.lt-lg\",\"fxFlexAlign.lt-xl\",\"fxFlexAlign.gt-xs\",\"fxFlexAlign.gt-sm\",\"fxFlexAlign.gt-md\",\"fxFlexAlign.gt-lg\"];let q=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY=\"flex-align\",this.styleCache=Q,this.init()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb(B),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})();const Q=new Map;let W=(()=>{class t extends q{constructor(){super(...arguments),this.inputs=U}}return t.\\u0275fac=function(e){return Y(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxFlexAlign\",\"\"],[\"\",\"fxFlexAlign.xs\",\"\"],[\"\",\"fxFlexAlign.sm\",\"\"],[\"\",\"fxFlexAlign.md\",\"\"],[\"\",\"fxFlexAlign.lg\",\"\"],[\"\",\"fxFlexAlign.xl\",\"\"],[\"\",\"fxFlexAlign.lt-sm\",\"\"],[\"\",\"fxFlexAlign.lt-md\",\"\"],[\"\",\"fxFlexAlign.lt-lg\",\"\"],[\"\",\"fxFlexAlign.lt-xl\",\"\"],[\"\",\"fxFlexAlign.gt-xs\",\"\"],[\"\",\"fxFlexAlign.gt-sm\",\"\"],[\"\",\"fxFlexAlign.gt-md\",\"\"],[\"\",\"fxFlexAlign.gt-lg\",\"\"]],inputs:{fxFlexAlign:\"fxFlexAlign\",\"fxFlexAlign.xs\":\"fxFlexAlign.xs\",\"fxFlexAlign.sm\":\"fxFlexAlign.sm\",\"fxFlexAlign.md\":\"fxFlexAlign.md\",\"fxFlexAlign.lg\":\"fxFlexAlign.lg\",\"fxFlexAlign.xl\":\"fxFlexAlign.xl\",\"fxFlexAlign.lt-sm\":\"fxFlexAlign.lt-sm\",\"fxFlexAlign.lt-md\":\"fxFlexAlign.lt-md\",\"fxFlexAlign.lt-lg\":\"fxFlexAlign.lt-lg\",\"fxFlexAlign.lt-xl\":\"fxFlexAlign.lt-xl\",\"fxFlexAlign.gt-xs\":\"fxFlexAlign.gt-xs\",\"fxFlexAlign.gt-sm\":\"fxFlexAlign.gt-sm\",\"fxFlexAlign.gt-md\":\"fxFlexAlign.gt-md\",\"fxFlexAlign.gt-lg\":\"fxFlexAlign.gt-lg\"},features:[i.Ab]}),t})();const Y=i.Yb(W);let $=(()=>{class t extends r.h{buildStyles(t,e){const n={},[i,r]=t.split(\" \");switch(i){case\"center\":n[\"justify-content\"]=\"center\";break;case\"space-around\":n[\"justify-content\"]=\"space-around\";break;case\"space-between\":n[\"justify-content\"]=\"space-between\";break;case\"space-evenly\":n[\"justify-content\"]=\"space-evenly\";break;case\"end\":case\"flex-end\":n[\"justify-content\"]=\"flex-end\";break;case\"start\":case\"flex-start\":default:n[\"justify-content\"]=\"flex-start\"}switch(r){case\"start\":case\"flex-start\":n[\"align-items\"]=n[\"align-content\"]=\"flex-start\";break;case\"center\":n[\"align-items\"]=n[\"align-content\"]=\"center\";break;case\"end\":case\"flex-end\":n[\"align-items\"]=n[\"align-content\"]=\"flex-end\";break;case\"space-between\":n[\"align-content\"]=\"space-between\",n[\"align-items\"]=\"stretch\";break;case\"space-around\":n[\"align-content\"]=\"space-around\",n[\"align-items\"]=\"stretch\";break;case\"baseline\":n[\"align-content\"]=\"stretch\",n[\"align-items\"]=\"baseline\";break;case\"stretch\":default:n[\"align-items\"]=n[\"align-content\"]=\"stretch\"}return D(n,{display:e.inline?\"inline-flex\":\"flex\",\"flex-direction\":e.layout,\"box-sizing\":\"border-box\",\"max-width\":\"stretch\"===r?h(e.layout)?null:\"100%\":null,\"max-height\":\"stretch\"===r&&h(e.layout)?\"100%\":null})}}return t.\\u0275fac=function(e){return G(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const G=i.Yb($),X=[\"fxLayoutAlign\",\"fxLayoutAlign.xs\",\"fxLayoutAlign.sm\",\"fxLayoutAlign.md\",\"fxLayoutAlign.lg\",\"fxLayoutAlign.xl\",\"fxLayoutAlign.lt-sm\",\"fxLayoutAlign.lt-md\",\"fxLayoutAlign.lt-lg\",\"fxLayoutAlign.lt-xl\",\"fxLayoutAlign.gt-xs\",\"fxLayoutAlign.gt-sm\",\"fxLayoutAlign.gt-md\",\"fxLayoutAlign.gt-lg\"];let K=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY=\"layout-align\",this.layout=\"row\",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,\"layout\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||\"row\",n=this.inline;\"row\"===e&&n?this.styleCache=rt:\"row\"!==e||n?\"row-reverse\"===e&&n?this.styleCache=at:\"row-reverse\"!==e||n?\"column\"===e&&n?this.styleCache=st:\"column\"!==e||n?\"column-reverse\"===e&&n?this.styleCache=ot:\"column-reverse\"!==e||n||(this.styleCache=it):this.styleCache=et:this.styleCache=nt:this.styleCache=tt,this.addStyles(t,{layout:e,inline:n})}onLayoutChange(t){const e=t.value.split(\" \");this.layout=e[0],this.inline=t.value.includes(\"inline\"),l.find(t=>t===this.layout)||(this.layout=\"row\"),this.triggerUpdate()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb($),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})(),Z=(()=>{class t extends K{constructor(){super(...arguments),this.inputs=X}}return t.\\u0275fac=function(e){return J(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxLayoutAlign\",\"\"],[\"\",\"fxLayoutAlign.xs\",\"\"],[\"\",\"fxLayoutAlign.sm\",\"\"],[\"\",\"fxLayoutAlign.md\",\"\"],[\"\",\"fxLayoutAlign.lg\",\"\"],[\"\",\"fxLayoutAlign.xl\",\"\"],[\"\",\"fxLayoutAlign.lt-sm\",\"\"],[\"\",\"fxLayoutAlign.lt-md\",\"\"],[\"\",\"fxLayoutAlign.lt-lg\",\"\"],[\"\",\"fxLayoutAlign.lt-xl\",\"\"],[\"\",\"fxLayoutAlign.gt-xs\",\"\"],[\"\",\"fxLayoutAlign.gt-sm\",\"\"],[\"\",\"fxLayoutAlign.gt-md\",\"\"],[\"\",\"fxLayoutAlign.gt-lg\",\"\"]],inputs:{fxLayoutAlign:\"fxLayoutAlign\",\"fxLayoutAlign.xs\":\"fxLayoutAlign.xs\",\"fxLayoutAlign.sm\":\"fxLayoutAlign.sm\",\"fxLayoutAlign.md\":\"fxLayoutAlign.md\",\"fxLayoutAlign.lg\":\"fxLayoutAlign.lg\",\"fxLayoutAlign.xl\":\"fxLayoutAlign.xl\",\"fxLayoutAlign.lt-sm\":\"fxLayoutAlign.lt-sm\",\"fxLayoutAlign.lt-md\":\"fxLayoutAlign.lt-md\",\"fxLayoutAlign.lt-lg\":\"fxLayoutAlign.lt-lg\",\"fxLayoutAlign.lt-xl\":\"fxLayoutAlign.lt-xl\",\"fxLayoutAlign.gt-xs\":\"fxLayoutAlign.gt-xs\",\"fxLayoutAlign.gt-sm\":\"fxLayoutAlign.gt-sm\",\"fxLayoutAlign.gt-md\":\"fxLayoutAlign.gt-md\",\"fxLayoutAlign.gt-lg\":\"fxLayoutAlign.gt-lg\"},features:[i.Ab]}),t})();const J=i.Yb(Z),tt=new Map,et=new Map,nt=new Map,it=new Map,rt=new Map,st=new Map,at=new Map,ot=new Map;let lt=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c,s.a]]}),t})()},XoHu:function(t,e,n){\"use strict\";function i(t){return null!==t&&\"object\"==typeof t}n.d(e,\"a\",(function(){return i}))},YUcS:function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"pD6V\"),a=n(\"znSr\"),o=n(\"XiUz\");n(\"8LU1\");let l=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[s.c]]}),t})();n.d(e,\"a\",(function(){return c}));let c=(()=>{class t{constructor(t,e){Object(r.u)(e)&&!t&&console.warn(\"Warning: Flex Layout loaded on the server without FlexLayoutServerModule\")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:s.e,useValue:Object.assign(Object.assign({},s.d),e)},{provide:s.a,useValue:n,multi:!0},{provide:s.g,useValue:!0}]:[{provide:s.e,useValue:Object.assign(Object.assign({},s.d),e)},{provide:s.a,useValue:n,multi:!0}]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)(i.ac(s.g),i.ac(i.C))},imports:[[o.f,a.c,l],o.f,a.c,l]}),t})()},Ylt2:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"quSY\");class r extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},Yvos:function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},ZUHj:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"51Dv\"),r=n(\"SeVD\"),s=n(\"HDdC\");function a(t,e,n,a,o=new i.a(t,n,a)){if(!o.closed)return e instanceof s.a?e.subscribe(o):Object(r.a)(e)(o)}},aKum:function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[\"$\"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[\"$\"+t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[\"$\"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},akSB:function(t,e,n){var i=n(\"AdPF\"),r=n(\"0z79\"),s=n(\"Cl5A\"),a=n(\"CIKq\");e.polling=function(t){var e=!1,n=!1,a=!1!==t.jsonp;if(\"undefined\"!=typeof location){var o=\"https:\"===location.protocol,l=location.port;l||(l=o?443:80),e=t.hostname!==location.hostname||l!==t.port,n=t.secure!==o}if(t.xdomain=e,t.xscheme=n,\"open\"in new i(t)&&!t.forceJSONP)return new r(t);if(!a)throw new Error(\"JSONP disabled\");return new s(t)},e.websocket=a},bHdf:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"5+tZ\"),r=n(\"SpAZ\");function s(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOdf:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"5+tZ\");function r(t,e){return Object(i.a)(t,e,1)}},bSwM:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return x}));var i=n(\"8LU1\"),r=n(\"fXoL\"),s=n(\"3Pt+\"),a=n(\"FKr1\"),o=n(\"R1ws\"),l=n(\"GU7r\"),c=n(\"u47x\");const h=[\"input\"],d=function(){return{enterDuration:150}},u=[\"*\"],p=new r.r(\"mat-checkbox-default-options\",{providedIn:\"root\",factory:function(){return{color:\"accent\",clickAction:\"check-indeterminate\"}}}),m=new r.r(\"mat-checkbox-click-action\");let f=0;const g={provide:s.l,useExisting:Object(r.V)(()=>v),multi:!0};class b{}class _{constructor(t){this._elementRef=t}}const y=Object(a.y)(Object(a.t)(Object(a.u)(Object(a.v)(_))));let v=(()=>{class t extends y{constructor(t,e,n,i,s,a,o,l){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._clickAction=a,this._animationMode=o,this._options=l,this.ariaLabel=\"\",this.ariaLabelledby=null,this._uniqueId=`mat-checkbox-${++f}`,this.id=this._uniqueId,this.labelPosition=\"after\",this.name=null,this.change=new r.o,this.indeterminateChange=new r.o,this._onTouched=()=>{},this._currentAnimationClass=\"\",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(s)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?\"true\":this.indeterminate?\"mixed\":\"false\"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new b;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||\"noop\"===this._clickAction?this.disabled||\"noop\"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&\"check\"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t=\"keyboard\",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if(\"NoopAnimations\"===this._animationMode)return\"\";let n=\"\";switch(t){case 0:if(1===e)n=\"unchecked-checked\";else{if(3!=e)return\"\";n=\"unchecked-indeterminate\"}break;case 2:n=1===e?\"unchecked-checked\":\"unchecked-indeterminate\";break;case 1:n=2===e?\"checked-unchecked\":\"checked-indeterminate\";break;case 3:n=1===e?\"indeterminate-checked\":\"indeterminate-unchecked\"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(r.h),r.Qb(c.h),r.Qb(r.A),r.bc(\"tabindex\"),r.Qb(m,8),r.Qb(o.a,8),r.Qb(p,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-checkbox\"]],viewQuery:function(t,e){var n;1&t&&(r.Pc(h,!0),r.Pc(a.p,!0)),2&t&&(r.vc(n=r.fc())&&(e._inputElement=n.first),r.vc(n=r.fc())&&(e.ripple=n.first))},hostAttrs:[1,\"mat-checkbox\"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Zb(\"id\",e.id),r.Eb(\"tabindex\",null),r.Hb(\"mat-checkbox-indeterminate\",e.indeterminate)(\"mat-checkbox-checked\",e.checked)(\"mat-checkbox-disabled\",e.disabled)(\"mat-checkbox-label-before\",\"before\"==e.labelPosition)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode))},inputs:{disableRipple:\"disableRipple\",color:\"color\",tabIndex:\"tabIndex\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],id:\"id\",labelPosition:\"labelPosition\",name:\"name\",required:\"required\",checked:\"checked\",disabled:\"disabled\",indeterminate:\"indeterminate\",value:\"value\"},outputs:{change:\"change\",indeterminateChange:\"indeterminateChange\"},exportAs:[\"matCheckbox\"],features:[r.Cb([g]),r.Ab],ngContentSelectors:u,decls:17,vars:19,consts:[[1,\"mat-checkbox-layout\"],[\"label\",\"\"],[1,\"mat-checkbox-inner-container\"],[\"type\",\"checkbox\",1,\"mat-checkbox-input\",\"cdk-visually-hidden\",3,\"id\",\"required\",\"checked\",\"disabled\",\"tabIndex\",\"change\",\"click\"],[\"input\",\"\"],[\"matRipple\",\"\",1,\"mat-checkbox-ripple\",\"mat-focus-indicator\",3,\"matRippleTrigger\",\"matRippleDisabled\",\"matRippleRadius\",\"matRippleCentered\",\"matRippleAnimation\"],[1,\"mat-ripple-element\",\"mat-checkbox-persistent-ripple\"],[1,\"mat-checkbox-frame\"],[1,\"mat-checkbox-background\"],[\"version\",\"1.1\",\"focusable\",\"false\",\"viewBox\",\"0 0 24 24\",0,\"xml\",\"space\",\"preserve\",1,\"mat-checkbox-checkmark\"],[\"fill\",\"none\",\"stroke\",\"white\",\"d\",\"M4.1,12.7 9,17.6 20.3,6.3\",1,\"mat-checkbox-checkmark-path\"],[1,\"mat-checkbox-mixedmark\"],[1,\"mat-checkbox-label\",3,\"cdkObserveContent\"],[\"checkboxLabel\",\"\"],[2,\"display\",\"none\"]],template:function(t,e){if(1&t&&(r.nc(),r.Wb(0,\"label\",0,1),r.Wb(2,\"div\",2),r.Wb(3,\"input\",3,4),r.ec(\"change\",(function(t){return e._onInteractionEvent(t)}))(\"click\",(function(t){return e._onInputClick(t)})),r.Vb(),r.Wb(5,\"div\",5),r.Rb(6,\"div\",6),r.Vb(),r.Rb(7,\"div\",7),r.Wb(8,\"div\",8),r.hc(),r.Wb(9,\"svg\",9),r.Rb(10,\"path\",10),r.Vb(),r.gc(),r.Rb(11,\"div\",11),r.Vb(),r.Vb(),r.Wb(12,\"span\",12,13),r.ec(\"cdkObserveContent\",(function(){return e._onLabelTextChange()})),r.Wb(14,\"span\",14),r.Jc(15,\"\\xa0\"),r.Vb(),r.mc(16),r.Vb(),r.Vb()),2&t){const t=r.wc(1),n=r.wc(13);r.Eb(\"for\",e.inputId),r.Db(2),r.Hb(\"mat-checkbox-inner-container-no-side-margin\",!n.textContent||!n.textContent.trim()),r.Db(1),r.oc(\"id\",e.inputId)(\"required\",e.required)(\"checked\",e.checked)(\"disabled\",e.disabled)(\"tabIndex\",e.tabIndex),r.Eb(\"value\",e.value)(\"name\",e.name)(\"aria-label\",e.ariaLabel||null)(\"aria-labelledby\",e.ariaLabelledby)(\"aria-checked\",e._getAriaChecked()),r.Db(2),r.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e._isRippleDisabled())(\"matRippleRadius\",20)(\"matRippleCentered\",!0)(\"matRippleAnimation\",r.sc(18,d))}},directives:[a.p,l.a],styles:[\"@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\\n\"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[a.q,a.f,l.c,w],a.f,w]}),t})()},bTqV:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u})),n.d(e,\"b\",(function(){return p}));var i=n(\"FKr1\"),r=n(\"R1ws\"),s=n(\"fXoL\"),a=n(\"u47x\");const o=[\"mat-button\",\"\"],l=[\"*\"],c=[\"mat-button\",\"mat-flat-button\",\"mat-icon-button\",\"mat-raised-button\",\"mat-stroked-button\",\"mat-mini-fab\",\"mat-fab\"];class h{constructor(t){this._elementRef=t}}const d=Object(i.t)(Object(i.v)(Object(i.u)(h)));let u=(()=>{class t extends d{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes(\"mat-fab\",\"mat-mini-fab\"),this.isIconButton=this._hasHostAttributes(\"mat-icon-button\");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add(\"mat-button-base\"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color=\"accent\")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t=\"program\",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(a.h),s.Qb(r.a,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"button\",\"mat-button\",\"\"],[\"button\",\"mat-raised-button\",\"\"],[\"button\",\"mat-icon-button\",\"\"],[\"button\",\"mat-fab\",\"\"],[\"button\",\"mat-mini-fab\",\"\"],[\"button\",\"mat-stroked-button\",\"\"],[\"button\",\"mat-flat-button\",\"\"]],viewQuery:function(t,e){var n;1&t&&s.Pc(i.p,!0),2&t&&s.vc(n=s.fc())&&(e.ripple=n.first)},hostAttrs:[1,\"mat-focus-indicator\"],hostVars:3,hostBindings:function(t,e){2&t&&(s.Eb(\"disabled\",e.disabled||null),s.Hb(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",color:\"color\"},exportAs:[\"matButton\"],features:[s.Ab],attrs:o,ngContentSelectors:l,decls:4,vars:5,consts:[[1,\"mat-button-wrapper\"],[\"matRipple\",\"\",1,\"mat-button-ripple\",3,\"matRippleDisabled\",\"matRippleCentered\",\"matRippleTrigger\"],[1,\"mat-button-focus-overlay\"]],template:function(t,e){1&t&&(s.nc(),s.Wb(0,\"span\",0),s.mc(1),s.Vb(),s.Rb(2,\"div\",1),s.Rb(3,\"div\",2)),2&t&&(s.Db(2),s.Hb(\"mat-button-ripple-round\",e.isRoundButton||e.isIconButton),s.oc(\"matRippleDisabled\",e._isRippleDisabled())(\"matRippleCentered\",e.isIconButton)(\"matRippleTrigger\",e._getHostElement()))},directives:[i.p],styles:[\".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\\n\"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[i.q,i.f],i.f]}),t})()},bv9b:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return g})),n.d(e,\"b\",(function(){return _}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"FKr1\"),a=n(\"8LU1\"),o=n(\"R1ws\"),l=n(\"quSY\"),c=n(\"xgIS\"),h=n(\"pLZG\");const d=[\"primaryValueBar\"];class u{constructor(t){this._elementRef=t}}const p=Object(s.t)(u,\"primary\"),m=new i.r(\"mat-progress-bar-location\",{providedIn:\"root\",factory:function(){const t=Object(i.W)(r.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:\"\"}}});let f=0,g=(()=>{class t extends p{constructor(t,e,n,r){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.o,this._animationEndSubscription=l.a.EMPTY,this.mode=\"determinate\",this.progressbarId=`mat-progress-bar-${f++}`;const s=r?r.getPathname().split(\"#\")[0]:\"\";this._rectangleFillValue=`url('${s}#${this.progressbarId}')`,this._isNoopAnimation=\"NoopAnimations\"===n}get value(){return this._value}set value(t){this._value=b(Object(a.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=b(t||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return\"buffer\"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(c.a)(t,\"transitionend\").pipe(Object(h.a)(e=>e.target===t)).subscribe(()=>{\"determinate\"!==this.mode&&\"buffer\"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.A),i.Qb(o.a,8),i.Qb(m,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-progress-bar\"]],viewQuery:function(t,e){var n;1&t&&i.Pc(d,!0),2&t&&i.vc(n=i.fc())&&(e._primaryValueBar=n.first)},hostAttrs:[\"role\",\"progressbar\",\"aria-valuemin\",\"0\",\"aria-valuemax\",\"100\",1,\"mat-progress-bar\"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Eb(\"aria-valuenow\",\"indeterminate\"===e.mode||\"query\"===e.mode?null:e.value)(\"mode\",e.mode),i.Hb(\"_mat-animation-noopable\",e._isNoopAnimation))},inputs:{color:\"color\",mode:\"mode\",value:\"value\",bufferValue:\"bufferValue\"},outputs:{animationEnd:\"animationEnd\"},exportAs:[\"matProgressBar\"],features:[i.Ab],decls:9,vars:4,consts:[[\"width\",\"100%\",\"height\",\"4\",\"focusable\",\"false\",1,\"mat-progress-bar-background\",\"mat-progress-bar-element\"],[\"x\",\"4\",\"y\",\"0\",\"width\",\"8\",\"height\",\"4\",\"patternUnits\",\"userSpaceOnUse\",3,\"id\"],[\"cx\",\"2\",\"cy\",\"2\",\"r\",\"2\"],[\"width\",\"100%\",\"height\",\"100%\"],[1,\"mat-progress-bar-buffer\",\"mat-progress-bar-element\",3,\"ngStyle\"],[1,\"mat-progress-bar-primary\",\"mat-progress-bar-fill\",\"mat-progress-bar-element\",3,\"ngStyle\"],[\"primaryValueBar\",\"\"],[1,\"mat-progress-bar-secondary\",\"mat-progress-bar-fill\",\"mat-progress-bar-element\"]],template:function(t,e){1&t&&(i.hc(),i.Wb(0,\"svg\",0),i.Wb(1,\"defs\"),i.Wb(2,\"pattern\",1),i.Rb(3,\"circle\",2),i.Vb(),i.Vb(),i.Rb(4,\"rect\",3),i.Vb(),i.gc(),i.Rb(5,\"div\",4),i.Rb(6,\"div\",5,6),i.Rb(8,\"div\",7)),2&t&&(i.Db(2),i.oc(\"id\",e.progressbarId),i.Db(2),i.Eb(\"fill\",e._rectangleFillValue),i.Db(1),i.oc(\"ngStyle\",e._bufferTransform()),i.Db(1),i.oc(\"ngStyle\",e._primaryTransform()))},directives:[r.m],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:\"\";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\\n'],encapsulation:2,changeDetection:0}),t})();function b(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let _=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c,s.f],s.f]}),t})()},c2HN:function(t,e,n){\"use strict\";function i(t){return!!t&&\"function\"!=typeof t.subscribe&&\"function\"==typeof t.then}n.d(e,\"a\",(function(){return i}))},cD5x:function(t,e,n){var i=n(\"ojuT\"),r=n(\"+SKG\"),s=Object.prototype.toString,a=\"function\"==typeof Blob||\"undefined\"!=typeof Blob&&\"[object BlobConstructor]\"===s.call(Blob),o=\"function\"==typeof File||\"undefined\"!=typeof File&&\"[object FileConstructor]\"===s.call(File);e.deconstructPacket=function(t){var e=[],n=t;return n.data=function t(e,n){if(!e)return e;if(r(e)){var s={_placeholder:!0,num:n.length};return n.push(e),s}if(i(e)){for(var a=new Array(e.length),o=0;o<e.length;o++)a[o]=t(e[o],n);return a}if(\"object\"==typeof e&&!(e instanceof Date)){for(var l in a={},e)a[l]=t(e[l],n);return a}return e}(t.data,e),n.attachments=e.length,{packet:n,buffers:e}},e.reconstructPacket=function(t,e){return t.data=function t(e,n){if(!e)return e;if(e&&e._placeholder)return n[e.num];if(i(e))for(var r=0;r<e.length;r++)e[r]=t(e[r],n);else if(\"object\"==typeof e)for(var s in e)e[s]=t(e[s],n);return e}(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){var n=0,s=t;!function t(l,c,h){if(!l)return l;if(a&&l instanceof Blob||o&&l instanceof File){n++;var d=new FileReader;d.onload=function(){h?h[c]=this.result:s=this.result,--n||e(s)},d.readAsArrayBuffer(l)}else if(i(l))for(var u=0;u<l.length;u++)t(l[u],u,l);else if(\"object\"==typeof l&&!r(l))for(var p in l)t(l[p],p,l)}(s),n||e(s)}},cH1L:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o})),n.d(e,\"b\",(function(){return a}));var i=n(\"fXoL\"),r=n(\"ofXK\");const s=new i.r(\"cdk-dir-doc\",{providedIn:\"root\",factory:function(){return Object(i.W)(r.d)}});let a=(()=>{class t{constructor(t){if(this.value=\"ltr\",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value=\"ltr\"===n||\"rtl\"===n?n:\"ltr\"}}ngOnDestroy(){this.change.complete()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(s,8))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(s,8))},token:t,providedIn:\"root\"}),t})(),o=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})()},cp0P:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"HDdC\"),r=n(\"DH7j\"),s=n(\"lJxs\"),a=n(\"XoHu\"),o=n(\"Cfvw\");function l(...t){if(1===t.length){const e=t[0];if(Object(r.a)(e))return c(e,null);if(Object(a.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if(\"function\"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(r.a)(t[0])?t[0]:t,null).pipe(Object(s.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,a=0;for(let l=0;l<i;l++){const c=Object(o.a)(t[l]);let h=!1;n.add(c.subscribe({next:t=>{h||(h=!0,a++),r[l]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&h||(a===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}},d3UM:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return q})),n.d(e,\"b\",(function(){return Q}));var i=n(\"rDax\"),r=n(\"ofXK\"),s=n(\"fXoL\"),a=n(\"FKr1\"),o=n(\"kmnG\"),l=n(\"u47x\"),c=n(\"8LU1\"),h=n(\"0EQZ\"),d=n(\"FtGj\"),u=n(\"XNiG\"),p=n(\"NXyV\"),m=n(\"VRyK\"),f=n(\"JX91\"),g=n(\"eIep\"),b=n(\"IzEk\"),_=n(\"pLZG\"),y=n(\"lJxs\"),v=n(\"/uUt\"),w=n(\"1G5W\"),x=n(\"R0Ic\"),C=n(\"vxfF\"),k=n(\"cH1L\"),O=n(\"3Pt+\");const S=[\"trigger\"],M=[\"panel\"];function P(t,e){if(1&t&&(s.Wb(0,\"span\",8),s.Jc(1),s.Vb()),2&t){const t=s.ic();s.Db(1),s.Kc(t.placeholder||\"\\xa0\")}}function E(t,e){if(1&t&&(s.Wb(0,\"span\"),s.Jc(1),s.Vb()),2&t){const t=s.ic(2);s.Db(1),s.Kc(t.triggerValue||\"\\xa0\")}}function A(t,e){1&t&&s.mc(0,0,[\"*ngSwitchCase\",\"true\"])}function D(t,e){if(1&t&&(s.Wb(0,\"span\",9),s.Hc(1,E,2,1,\"span\",10),s.Hc(2,A,1,0,void 0,11),s.Vb()),2&t){const t=s.ic();s.oc(\"ngSwitch\",!!t.customTrigger),s.Db(2),s.oc(\"ngSwitchCase\",!0)}}function R(t,e){if(1&t){const t=s.Xb();s.Wb(0,\"div\",12),s.Wb(1,\"div\",13,14),s.ec(\"@transformPanel.done\",(function(e){return s.zc(t),s.ic()._panelDoneAnimatingStream.next(e.toState)}))(\"keydown\",(function(e){return s.zc(t),s.ic()._handleKeydown(e)})),s.mc(3,1),s.Vb(),s.Vb()}if(2&t){const t=s.ic();s.oc(\"@transformPanelWrap\",void 0),s.Db(1),s.Gb(\"mat-select-panel \",t._getPanelTheme(),\"\"),s.Gc(\"transform-origin\",t._transformOrigin)(\"font-size\",t._triggerFontSize,\"px\"),s.oc(\"ngClass\",t.panelClass)(\"@transformPanel\",t.multiple?\"showing-multiple\":\"showing\")}}const T=[[[\"mat-select-trigger\"]],\"*\"],I=[\"mat-select-trigger\",\"*\"],j={transformPanelWrap:Object(x.p)(\"transformPanelWrap\",[Object(x.o)(\"* => void\",Object(x.j)(\"@transformPanel\",[Object(x.f)()],{optional:!0}))]),transformPanel:Object(x.p)(\"transformPanel\",[Object(x.m)(\"void\",Object(x.n)({transform:\"scaleY(0.8)\",minWidth:\"100%\",opacity:0})),Object(x.m)(\"showing\",Object(x.n)({opacity:1,minWidth:\"calc(100% + 32px)\",transform:\"scaleY(1)\"})),Object(x.m)(\"showing-multiple\",Object(x.n)({opacity:1,minWidth:\"calc(100% + 64px)\",transform:\"scaleY(1)\"})),Object(x.o)(\"void => *\",Object(x.e)(\"120ms cubic-bezier(0, 0, 0.2, 1)\")),Object(x.o)(\"* => void\",Object(x.e)(\"100ms 25ms linear\",Object(x.n)({opacity:0})))])};let L=0;const F=new s.r(\"mat-select-scroll-strategy\"),N=new s.r(\"MAT_SELECT_CONFIG\"),V={provide:F,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class z{constructor(t,e){this.source=t,this.value=e}}class B{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const H=Object(a.u)(Object(a.y)(Object(a.v)(Object(a.w)(B))));let U=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-select-trigger\"]]}),t})(),q=(()=>{class t extends H{constructor(t,e,n,i,r,a,o,l,c,h,d,v,w,x){super(r,i,o,l,h),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=a,this._parentFormField=c,this.ngControl=h,this._liveAnnouncer=w,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid=`mat-select-${L++}`,this._destroy=new u.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds=\"\",this._transformOrigin=\"top\",this._panelDoneAnimatingStream=new u.a,this._offsetY=0,this._positions=[{originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"top\"},{originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"bottom\"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType=\"mat-select\",this.ariaLabel=\"\",this.optionSelectionChanges=Object(p.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(f.a)(t),Object(g.a)(()=>Object(m.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(b.a)(1),Object(g.a)(()=>this.optionSelectionChanges))}),this.openedChange=new s.o,this._openedStream=this.openedChange.pipe(Object(_.a)(t=>t),Object(y.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(_.a)(t=>!t),Object(y.a)(()=>{})),this.selectionChange=new s.o,this.valueChange=new s.o,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,x&&(null!=x.disableOptionCentering&&(this.disableOptionCentering=x.disableOptionCentering),null!=x.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=x.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(c.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error(\"Cannot change `multiple` mode of select after initialization.\");this._multiple=Object(c.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(c.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if(\"function\"!=typeof t)throw Error(\"`compareWith` must be a function.\");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(c.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(v.a)(),Object(w.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(w.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(w.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(f.a)(null),Object(w.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||\"0\"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(b.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?\"rtl\":\"ltr\"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return\"\";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(\", \")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&\"rtl\"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.b||e===d.n||e===d.g||e===d.k,i=e===d.d||e===d.l,r=this._keyManager;if(!r.isTyping()&&i&&!Object(d.q)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===d.f||e===d.c?(e===d.f?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);const i=this.selected;i&&n!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.b||n===d.n,r=e.isTyping();if(n===d.f||n===d.c)t.preventDefault(),n===d.f?e.setFirstItemActive():e.setLastItemActive();else if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==d.d&&n!==d.l||!e.activeItem||Object(d.q)(t))if(!r&&this._multiple&&n===d.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(b.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:\"\"}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error(\"Value must be an array in multiple-selection mode.\");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(s.X)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?\"rtl\":\"ltr\").withAllowedModifierKeys([\"shiftKey\"]),this._keyManager.tabOut.pipe(Object(w.a)(this._destroy)).subscribe(()=>{!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close()}),this._keyManager.change.pipe(Object(w.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(w.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(m.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(w.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new z(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(\" \")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(a.r)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(a.s)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,i)=>void 0!==e?e:t===n?i:void 0,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(a.r)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),a=t.right+r-e.width+(n?0:i);s>0?r+=s+8:a>0&&(r-=a+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(256/i);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*a-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-s-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin=\"50% bottom 0px\")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin=\"50% top 0px\")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(\" \")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(C.d),s.Qb(s.h),s.Qb(s.A),s.Qb(a.b),s.Qb(s.l),s.Qb(k.b,8),s.Qb(O.p,8),s.Qb(O.g,8),s.Qb(o.b,8),s.Qb(O.m,10),s.bc(\"tabindex\"),s.Qb(F),s.Qb(l.k),s.Qb(N,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-select\"]],contentQueries:function(t,e,n){var i;1&t&&(s.Jb(n,U,!0),s.Jb(n,a.k,!0),s.Jb(n,a.j,!0)),2&t&&(s.vc(i=s.fc())&&(e.customTrigger=i.first),s.vc(i=s.fc())&&(e.options=i),s.vc(i=s.fc())&&(e.optionGroups=i))},viewQuery:function(t,e){var n;1&t&&(s.Pc(S,!0),s.Pc(M,!0),s.Pc(i.a,!0)),2&t&&(s.vc(n=s.fc())&&(e.trigger=n.first),s.vc(n=s.fc())&&(e.panel=n.first),s.vc(n=s.fc())&&(e.overlayDir=n.first))},hostAttrs:[\"role\",\"listbox\",1,\"mat-select\"],hostVars:19,hostBindings:function(t,e){1&t&&s.ec(\"keydown\",(function(t){return e._handleKeydown(t)}))(\"focus\",(function(){return e._onFocus()}))(\"blur\",(function(){return e._onBlur()})),2&t&&(s.Eb(\"id\",e.id)(\"tabindex\",e.tabIndex)(\"aria-label\",e._getAriaLabel())(\"aria-labelledby\",e._getAriaLabelledby())(\"aria-required\",e.required.toString())(\"aria-disabled\",e.disabled.toString())(\"aria-invalid\",e.errorState)(\"aria-owns\",e.panelOpen?e._optionIds:null)(\"aria-multiselectable\",e.multiple)(\"aria-describedby\",e._ariaDescribedby||null)(\"aria-activedescendant\",e._getAriaActiveDescendant()),s.Hb(\"mat-select-disabled\",e.disabled)(\"mat-select-invalid\",e.errorState)(\"mat-select-required\",e.required)(\"mat-select-empty\",e.empty))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",tabIndex:\"tabIndex\",ariaLabel:[\"aria-label\",\"ariaLabel\"],id:\"id\",disableOptionCentering:\"disableOptionCentering\",typeaheadDebounceInterval:\"typeaheadDebounceInterval\",placeholder:\"placeholder\",required:\"required\",multiple:\"multiple\",compareWith:\"compareWith\",value:\"value\",panelClass:\"panelClass\",ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],errorStateMatcher:\"errorStateMatcher\",sortComparator:\"sortComparator\"},outputs:{openedChange:\"openedChange\",_openedStream:\"opened\",_closedStream:\"closed\",selectionChange:\"selectionChange\",valueChange:\"valueChange\"},exportAs:[\"matSelect\"],features:[s.Cb([{provide:o.c,useExisting:t},{provide:a.e,useExisting:t}]),s.Ab,s.Bb()],ngContentSelectors:I,decls:9,vars:9,consts:[[\"cdk-overlay-origin\",\"\",\"aria-hidden\",\"true\",1,\"mat-select-trigger\",3,\"click\"],[\"origin\",\"cdkOverlayOrigin\",\"trigger\",\"\"],[1,\"mat-select-value\",3,\"ngSwitch\"],[\"class\",\"mat-select-placeholder\",4,\"ngSwitchCase\"],[\"class\",\"mat-select-value-text\",3,\"ngSwitch\",4,\"ngSwitchCase\"],[1,\"mat-select-arrow-wrapper\"],[1,\"mat-select-arrow\"],[\"cdk-connected-overlay\",\"\",\"cdkConnectedOverlayLockPosition\",\"\",\"cdkConnectedOverlayHasBackdrop\",\"\",\"cdkConnectedOverlayBackdropClass\",\"cdk-overlay-transparent-backdrop\",3,\"cdkConnectedOverlayScrollStrategy\",\"cdkConnectedOverlayOrigin\",\"cdkConnectedOverlayOpen\",\"cdkConnectedOverlayPositions\",\"cdkConnectedOverlayMinWidth\",\"cdkConnectedOverlayOffsetY\",\"backdropClick\",\"attach\",\"detach\"],[1,\"mat-select-placeholder\"],[1,\"mat-select-value-text\",3,\"ngSwitch\"],[4,\"ngSwitchDefault\"],[4,\"ngSwitchCase\"],[1,\"mat-select-panel-wrap\"],[3,\"ngClass\",\"keydown\"],[\"panel\",\"\"]],template:function(t,e){if(1&t&&(s.nc(T),s.Wb(0,\"div\",0,1),s.ec(\"click\",(function(){return e.toggle()})),s.Wb(3,\"div\",2),s.Hc(4,P,2,1,\"span\",3),s.Hc(5,D,3,2,\"span\",4),s.Vb(),s.Wb(6,\"div\",5),s.Rb(7,\"div\",6),s.Vb(),s.Vb(),s.Hc(8,R,4,10,\"ng-template\",7),s.ec(\"backdropClick\",(function(){return e.close()}))(\"attach\",(function(){return e._onAttached()}))(\"detach\",(function(){return e.close()}))),2&t){const t=s.wc(1);s.Db(3),s.oc(\"ngSwitch\",e.empty),s.Db(1),s.oc(\"ngSwitchCase\",!0),s.Db(1),s.oc(\"ngSwitchCase\",!1),s.Db(3),s.oc(\"cdkConnectedOverlayScrollStrategy\",e._scrollStrategy)(\"cdkConnectedOverlayOrigin\",t)(\"cdkConnectedOverlayOpen\",e.panelOpen)(\"cdkConnectedOverlayPositions\",e._positions)(\"cdkConnectedOverlayMinWidth\",null==e._triggerRect?null:e._triggerRect.width)(\"cdkConnectedOverlayOffsetY\",e._offsetY)}},directives:[i.b,r.n,r.o,i.a,r.p,r.j],styles:[\".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\\n\"],encapsulation:2,data:{animation:[j.transformPanelWrap,j.transformPanel]},changeDetection:0}),t})(),Q=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[V],imports:[[r.c,i.f,a.l,a.f],o.d,a.l,a.f]}),t})()},dNgK:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return S})),n.d(e,\"b\",(function(){return k}));var i=n(\"rDax\"),r=n(\"+rOU\"),s=n(\"ofXK\"),a=n(\"fXoL\"),o=n(\"FKr1\"),l=n(\"bTqV\"),c=n(\"XNiG\"),h=n(\"IzEk\"),d=n(\"1G5W\"),u=n(\"R0Ic\"),p=n(\"u47x\"),m=n(\"0MNC\");function f(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",1),a.Wb(1,\"button\",2),a.ec(\"click\",(function(){return a.zc(t),a.ic().action()})),a.Jc(2),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(2),a.Kc(t.data.action)}}function g(t,e){}const b=Math.pow(2,31)-1;class _{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.a,this._afterOpened=new c.a,this._onAction=new c.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,b))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const y=new a.r(\"MatSnackBarData\");class v{constructor(){this.politeness=\"assertive\",this.announcementMessage=\"\",this.duration=0,this.data=null,this.horizontalPosition=\"center\",this.verticalPosition=\"bottom\"}}let w=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(_),a.Qb(y))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"simple-snack-bar\"]],hostAttrs:[1,\"mat-simple-snackbar\"],decls:3,vars:2,consts:[[\"class\",\"mat-simple-snackbar-action\",4,\"ngIf\"],[1,\"mat-simple-snackbar-action\"],[\"mat-button\",\"\",3,\"click\"]],template:function(t,e){1&t&&(a.Wb(0,\"span\"),a.Jc(1),a.Vb(),a.Hc(2,f,3,1,\"div\",0)),2&t&&(a.Db(1),a.Kc(e.data.message),a.Db(1),a.oc(\"ngIf\",e.hasAction))},directives:[s.l,l.a],styles:[\".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\\n\"],encapsulation:2,changeDetection:0}),t})();const x={snackBarState:Object(u.p)(\"state\",[Object(u.m)(\"void, hidden\",Object(u.n)({transform:\"scale(0.8)\",opacity:0})),Object(u.m)(\"visible\",Object(u.n)({transform:\"scale(1)\",opacity:1})),Object(u.o)(\"* => visible\",Object(u.e)(\"150ms cubic-bezier(0, 0, 0.2, 1)\")),Object(u.o)(\"* => void, * => hidden\",Object(u.e)(\"75ms cubic-bezier(0.4, 0.0, 1, 1)\",Object(u.n)({opacity:0})))])};let C=(()=>{class t extends r.a{constructor(t,e,n,i){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=i,this._destroyed=!1,this._onExit=new c.a,this._onEnter=new c.a,this._animationState=\"void\",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._role=\"assertive\"!==i.politeness||i.announcementMessage?\"off\"===i.politeness?null:\"status\":\"alert\"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if((\"void\"===n&&\"void\"!==e||\"hidden\"===n)&&this._completeExit(),\"visible\"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState=\"visible\",this._changeDetectorRef.detectChanges())}exit(){return this._animationState=\"hidden\",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(h.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),\"center\"===this.snackBarConfig.horizontalPosition&&t.classList.add(\"mat-snack-bar-center\"),\"top\"===this.snackBarConfig.verticalPosition&&t.classList.add(\"mat-snack-bar-top\")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error(\"Attempting to attach snack bar content after content is already attached\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.A),a.Qb(a.l),a.Qb(a.h),a.Qb(v))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"snack-bar-container\"]],viewQuery:function(t,e){var n;1&t&&a.Fc(r.b,!0),2&t&&a.vc(n=a.fc())&&(e._portalOutlet=n.first)},hostAttrs:[1,\"mat-snack-bar-container\"],hostVars:2,hostBindings:function(t,e){1&t&&a.Ib(\"@state.done\",(function(t){return e.onAnimationEnd(t)})),2&t&&(a.Eb(\"role\",e._role),a.Oc(\"@state\",e._animationState))},features:[a.Ab],decls:1,vars:0,consts:[[\"cdkPortalOutlet\",\"\"]],template:function(t,e){1&t&&a.Hc(0,g,0,0,\"ng-template\",0)},directives:[r.b],styles:[\".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\\n\"],encapsulation:2,data:{animation:[x.snackBarState]}}),t})(),k=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},imports:[[i.f,r.f,s.c,l.b,o.f],o.f]}),t})();const O=new a.r(\"mat-snack-bar-default-options\",{providedIn:\"root\",factory:function(){return new v}});let S=(()=>{class t{constructor(t,e,n,i,r,s){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e=\"\",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage||(i.announcementMessage=t),this.openFromComponent(w,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new r.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[v,e]])),i=new r.c(C,e.viewContainerRef,n),s=t.attach(i);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new v),this._defaultConfig),e),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),o=new _(s,i);if(t instanceof a.M){const e=new r.g(t,null,{$implicit:n.data,snackBarRef:o});o.instance=s.attachTemplatePortal(e)}else{const e=this._createInjector(n,o),i=new r.c(t,void 0,e),a=s.attachComponentPortal(i);o.instance=a.instance}return this._breakpointObserver.observe(m.b.HandsetPortrait).pipe(Object(d.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(\"mat-snack-bar-handset\"):e.remove(\"mat-snack-bar-handset\")}),this._animateSnackBar(o,n),this._openedSnackBarRef=o,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new i.d;e.direction=t.direction;let n=this._overlay.position().global();const r=\"rtl\"===t.direction,s=\"left\"===t.horizontalPosition||\"start\"===t.horizontalPosition&&!r||\"end\"===t.horizontalPosition&&r,a=!s&&\"center\"!==t.horizontalPosition;return s?n.left(\"0\"):a?n.right(\"0\"):n.centerHorizontally(),\"top\"===t.verticalPosition?n.top(\"0\"):n.bottom(\"0\"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new r.e(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[_,e],[y,t.data]]))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(i.c),a.ac(p.k),a.ac(a.s),a.ac(m.a),a.ac(t,12),a.ac(O))},t.\\u0275prov=Object(a.Mb)({factory:function(){return new t(Object(a.ac)(i.c),Object(a.ac)(p.k),Object(a.ac)(a.p),Object(a.ac)(m.a),Object(a.ac)(t,12),Object(a.ac)(O))},token:t,providedIn:k}),t})()},\"dkv/\":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var i in t)n.call(t,i)&&e.push(i);return e}},eIep:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"l7GE\"),r=n(\"51Dv\"),s=n(\"ZUHj\"),a=n(\"lJxs\"),o=n(\"Cfvw\");function l(t,e){return\"function\"==typeof e?n=>n.pipe(l((n,i)=>Object(o.a)(t(n,i)).pipe(Object(a.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new c(t))}class c{constructor(t){this.project=t}call(t,e){return e.subscribe(new h(t,this.project))}}class h extends i.a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)}_innerSub(t,e,n){const i=this.innerSubscription;i&&i.unsubscribe();const a=new r.a(this,e,n),o=this.destination;o.add(a),this.innerSubscription=Object(s.a)(this,t,void 0,void 0,a),this.innerSubscription!==a&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,i,r){this.destination.next(e)}}},eOtv:function(t,e,n){var i=n(\"lKxJ\"),r=n(\"KFGy\"),s=n(\"2xqC\"),a=n(\"Vo14\"),o=n(\"2Dig\"),l=n(\"QN7Q\"),c=n(\"NOtv\")(\"socket.io-client:manager\"),h=n(\"7jRU\"),d=n(\"C2QD\"),u=Object.prototype.hasOwnProperty;function p(t,e){if(!(this instanceof p))return new p(t,e);t&&\"object\"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||\"/socket.io\",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState=\"closed\",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=p,p.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)u.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},p.prototype.updateSocketIds=function(){for(var t in this.nsps)u.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},p.prototype.generateId=function(t){return(\"/\"===t?\"\":t+\"#\")+this.engine.id},s(p.prototype),p.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},p.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},p.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(t,e){if(c(\"readyState %s\",this.readyState),~this.readyState.indexOf(\"open\"))return this;c(\"opening %s\",this.uri),this.engine=i(this.uri,this.opts);var n=this.engine,r=this;this.readyState=\"opening\",this.skipReconnect=!1;var s=o(n,\"open\",(function(){r.onopen(),t&&t()})),a=o(n,\"error\",(function(e){if(c(\"connect_error\"),r.cleanup(),r.readyState=\"closed\",r.emitAll(\"connect_error\",e),t){var n=new Error(\"Connection error\");n.data=e,t(n)}else r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var l=this._timeout;c(\"connect attempt will timeout after %d\",l);var h=setTimeout((function(){c(\"connect attempt timed out after %d\",l),s.destroy(),n.close(),n.emit(\"error\",\"timeout\"),r.emitAll(\"connect_timeout\",l)}),l);this.subs.push({destroy:function(){clearTimeout(h)}})}return this.subs.push(s),this.subs.push(a),this},p.prototype.onopen=function(){c(\"open\"),this.cleanup(),this.readyState=\"open\",this.emit(\"open\");var t=this.engine;this.subs.push(o(t,\"data\",l(this,\"ondata\"))),this.subs.push(o(t,\"ping\",l(this,\"onping\"))),this.subs.push(o(t,\"pong\",l(this,\"onpong\"))),this.subs.push(o(t,\"error\",l(this,\"onerror\"))),this.subs.push(o(t,\"close\",l(this,\"onclose\"))),this.subs.push(o(this.decoder,\"decoded\",l(this,\"ondecoded\")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll(\"ping\")},p.prototype.onpong=function(){this.emitAll(\"pong\",new Date-this.lastPing)},p.prototype.ondata=function(t){this.decoder.add(t)},p.prototype.ondecoded=function(t){this.emit(\"packet\",t)},p.prototype.onerror=function(t){c(\"error\",t),this.emitAll(\"error\",t)},p.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new r(this,t,e),this.nsps[t]=n;var i=this;n.on(\"connecting\",s),n.on(\"connect\",(function(){n.id=i.generateId(t)})),this.autoConnect&&s()}function s(){~h(i.connecting,n)||i.connecting.push(n)}return n},p.prototype.destroy=function(t){var e=h(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},p.prototype.packet=function(t){c(\"writing packet %j\",t);var e=this;t.query&&0===t.type&&(t.nsp+=\"?\"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var i=0;i<n.length;i++)e.engine.write(n[i],t.options);e.encoding=!1,e.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},p.prototype.cleanup=function(){c(\"cleanup\");for(var t=this.subs.length,e=0;e<t;e++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){c(\"disconnect\"),this.skipReconnect=!0,this.reconnecting=!1,\"opening\"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState=\"closed\",this.engine&&this.engine.close()},p.prototype.onclose=function(t){c(\"onclose\"),this.cleanup(),this.backoff.reset(),this.readyState=\"closed\",this.emit(\"close\",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)c(\"reconnect failed\"),this.backoff.reset(),this.emitAll(\"reconnect_failed\"),this.reconnecting=!1;else{var e=this.backoff.duration();c(\"will wait %dms before reconnect attempt\",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(c(\"attempting reconnect\"),t.emitAll(\"reconnect_attempt\",t.backoff.attempts),t.emitAll(\"reconnecting\",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(c(\"reconnect attempt error\"),t.reconnecting=!1,t.reconnect(),t.emitAll(\"reconnect_error\",e.data)):(c(\"reconnect success\"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll(\"reconnect\",t)}},evrj:function(t,e,n){var i=n(\"m4GZ\");t.exports=function(t){var e=t.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(e.length%4){case 0:break;case 2:e+=\"==\";break;case 3:e+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(t){return decodeURIComponent(i(t).replace(/(.)/g,(function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n=\"0\"+n),\"%\"+n})))}(e)}catch(n){return i(e)}}},f0Cb:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a})),n.d(e,\"b\",(function(){return o}));var i=n(\"8LU1\"),r=n(\"FKr1\"),s=n(\"fXoL\");let a=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-divider\"]],hostAttrs:[\"role\",\"separator\",1,\"mat-divider\"],hostVars:7,hostBindings:function(t,e){2&t&&(s.Eb(\"aria-orientation\",e.vertical?\"vertical\":\"horizontal\"),s.Hb(\"mat-divider-vertical\",e.vertical)(\"mat-divider-horizontal\",!e.vertical)(\"mat-divider-inset\",e.inset))},inputs:{vertical:\"vertical\",inset:\"inset\"},decls:0,vars:0,template:function(t,e){},styles:[\".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\\n\"],encapsulation:2,changeDetection:0}),t})(),o=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},fXoL:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return xs})),n.d(e,\"b\",(function(){return Yl})),n.d(e,\"c\",(function(){return Hl})),n.d(e,\"d\",(function(){return zl})),n.d(e,\"e\",(function(){return Bl})),n.d(e,\"f\",(function(){return Bc})),n.d(e,\"g\",(function(){return Ec})),n.d(e,\"h\",(function(){return ss})),n.d(e,\"i\",(function(){return rc})),n.d(e,\"j\",(function(){return ho})),n.d(e,\"k\",(function(){return Xl})),n.d(e,\"l\",(function(){return uo})),n.d(e,\"m\",(function(){return Fc})),n.d(e,\"n\",(function(){return cn})),n.d(e,\"o\",(function(){return gl})),n.d(e,\"p\",(function(){return W})),n.d(e,\"q\",(function(){return c})),n.d(e,\"r\",(function(){return Q})),n.d(e,\"s\",(function(){return ws})),n.d(e,\"t\",(function(){return Do})),n.d(e,\"u\",(function(){return Ro})),n.d(e,\"v\",(function(){return Gl})),n.d(e,\"w\",(function(){return ot})),n.d(e,\"x\",(function(){return Dc})),n.d(e,\"y\",(function(){return at})),n.d(e,\"z\",(function(){return kc})),n.d(e,\"A\",(function(){return lc})),n.d(e,\"B\",(function(){return h})),n.d(e,\"C\",(function(){return Wl})),n.d(e,\"D\",(function(){return Ql})),n.d(e,\"E\",(function(){return _l})),n.d(e,\"F\",(function(){return go})),n.d(e,\"G\",(function(){return mo})),n.d(e,\"H\",(function(){return fo})),n.d(e,\"I\",(function(){return _o})),n.d(e,\"J\",(function(){return Xn})),n.d(e,\"K\",(function(){return u})),n.d(e,\"L\",(function(){return Ic})),n.d(e,\"M\",(function(){return Lo})),n.d(e,\"N\",(function(){return gc})),n.d(e,\"O\",(function(){return yo})),n.d(e,\"P\",(function(){return No})),n.d(e,\"Q\",(function(){return gt})),n.d(e,\"R\",(function(){return As})),n.d(e,\"S\",(function(){return Oc})),n.d(e,\"T\",(function(){return b})),n.d(e,\"U\",(function(){return Mn})),n.d(e,\"V\",(function(){return A})),n.d(e,\"W\",(function(){return nt})),n.d(e,\"X\",(function(){return Sn})),n.d(e,\"Y\",(function(){return Vc})),n.d(e,\"Z\",(function(){return yc})),n.d(e,\"ab\",(function(){return $l})),n.d(e,\"bb\",(function(){return os})),n.d(e,\"cb\",(function(){return tl})),n.d(e,\"db\",(function(){return $n})),n.d(e,\"eb\",(function(){return Jn})),n.d(e,\"fb\",(function(){return Dn})),n.d(e,\"gb\",(function(){return bn})),n.d(e,\"hb\",(function(){return yn})),n.d(e,\"ib\",(function(){return Cn})),n.d(e,\"jb\",(function(){return wn})),n.d(e,\"kb\",(function(){return vn})),n.d(e,\"lb\",(function(){return xn})),n.d(e,\"mb\",(function(){return Xo})),n.d(e,\"nb\",(function(){return Nc})),n.d(e,\"ob\",(function(){return Ko})),n.d(e,\"pb\",(function(){return Zo})),n.d(e,\"qb\",(function(){return _n})),n.d(e,\"rb\",(function(){return F})),n.d(e,\"sb\",(function(){return Ds})),n.d(e,\"tb\",(function(){return ea})),n.d(e,\"ub\",(function(){return ta})),n.d(e,\"vb\",(function(){return Es})),n.d(e,\"wb\",(function(){return Go})),n.d(e,\"xb\",(function(){return Ce})),n.d(e,\"yb\",(function(){return M})),n.d(e,\"zb\",(function(){return gn})),n.d(e,\"Ab\",(function(){return qa})),n.d(e,\"Bb\",(function(){return Xa})),n.d(e,\"Cb\",(function(){return oo})),n.d(e,\"Db\",(function(){return Ai})),n.d(e,\"Eb\",(function(){return Fs})),n.d(e,\"Fb\",(function(){return Ca})),n.d(e,\"Gb\",(function(){return za})),n.d(e,\"Hb\",(function(){return xa})),n.d(e,\"Ib\",(function(){return ia})),n.d(e,\"Jb\",(function(){return Dl})),n.d(e,\"Kb\",(function(){return wt})),n.d(e,\"Lb\",(function(){return Pt})),n.d(e,\"Mb\",(function(){return g})),n.d(e,\"Nb\",(function(){return _})),n.d(e,\"Ob\",(function(){return Ot})),n.d(e,\"Pb\",(function(){return Et})),n.d(e,\"Qb\",(function(){return Hs})),n.d(e,\"Rb\",(function(){return Gs})),n.d(e,\"Sb\",(function(){return Zs})),n.d(e,\"Tb\",(function(){return Ks})),n.d(e,\"Ub\",(function(){return Xs})),n.d(e,\"Vb\",(function(){return $s})),n.d(e,\"Wb\",(function(){return Ys})),n.d(e,\"Xb\",(function(){return Js})),n.d(e,\"Yb\",(function(){return sn})),n.d(e,\"Zb\",(function(){return Ba})),n.d(e,\"ac\",(function(){return et})),n.d(e,\"bc\",(function(){return Us})),n.d(e,\"cc\",(function(){return Vl})),n.d(e,\"dc\",(function(){return qs})),n.d(e,\"ec\",(function(){return na})),n.d(e,\"fc\",(function(){return Il})),n.d(e,\"gc\",(function(){return me})),n.d(e,\"hc\",(function(){return pe})),n.d(e,\"ic\",(function(){return oa})),n.d(e,\"jc\",(function(){return dl})),n.d(e,\"kc\",(function(){return ul})),n.d(e,\"lc\",(function(){return pl})),n.d(e,\"mc\",(function(){return ha})),n.d(e,\"nc\",(function(){return ca})),n.d(e,\"oc\",(function(){return Qs})),n.d(e,\"pc\",(function(){return da})),n.d(e,\"qc\",(function(){return ua})),n.d(e,\"rc\",(function(){return pa})),n.d(e,\"sc\",(function(){return al})),n.d(e,\"tc\",(function(){return ol})),n.d(e,\"uc\",(function(){return ll})),n.d(e,\"vc\",(function(){return Ml})),n.d(e,\"wc\",(function(){return Bs})),n.d(e,\"xc\",(function(){return ze})),n.d(e,\"yc\",(function(){return Ve})),n.d(e,\"zc\",(function(){return qt})),n.d(e,\"Ac\",(function(){return ti})),n.d(e,\"Bc\",(function(){return ei})),n.d(e,\"Cc\",(function(){return ni})),n.d(e,\"Dc\",(function(){return St})),n.d(e,\"Ec\",(function(){return Rl})),n.d(e,\"Fc\",(function(){return Pl})),n.d(e,\"Gc\",(function(){return wa})),n.d(e,\"Hc\",(function(){return zs})),n.d(e,\"Ic\",(function(){return Nl})),n.d(e,\"Jc\",(function(){return ja})),n.d(e,\"Kc\",(function(){return La})),n.d(e,\"Lc\",(function(){return Fa})),n.d(e,\"Mc\",(function(){return Na})),n.d(e,\"Nc\",(function(){return Va})),n.d(e,\"Oc\",(function(){return Ha})),n.d(e,\"Pc\",(function(){return El}));var i=n(\"XNiG\"),r=n(\"quSY\"),s=n(\"HDdC\"),a=n(\"VRyK\"),o=n(\"w1tV\");function l(t,e,n){const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(\"__parameters__\")?t.__parameters__:Object.defineProperty(t,\"__parameters__\",{value:[]}).__parameters__;for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const c=l(\"Inject\",t=>({token:t})),h=l(\"Optional\"),d=l(\"Self\"),u=l(\"SkipSelf\");var p=function(t){return t[t.Default=0]=\"Default\",t[t.Host=1]=\"Host\",t[t.Self=2]=\"Self\",t[t.SkipSelf=4]=\"SkipSelf\",t[t.Optional=8]=\"Optional\",t}({});function m(t){for(let e in t)if(t[e]===m)return e;throw Error(\"Could not find renamed property on target object.\")}function f(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const b=g;function _(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return v(t,t[x])||v(t,t[O])}function v(t,e){return e&&e.token===t?e:null}function w(t){return t&&(t.hasOwnProperty(C)||t.hasOwnProperty(S))?t[C]:null}const x=m({\"\\u0275prov\":m}),C=m({\"\\u0275inj\":m}),k=m({\"\\u0275provFallback\":m}),O=m({ngInjectableDef:m}),S=m({ngInjectorDef:m});function M(t){if(\"string\"==typeof t)return t;if(Array.isArray(t))return\"[\"+t.map(M).join(\", \")+\"]\";if(null==t)return\"\"+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return\"\"+e;const n=e.indexOf(\"\\n\");return-1===n?e:e.substring(0,n)}function P(t,e){return null==t||\"\"===t?null===e?\"\":e:null==e||\"\"===e?t:t+\" \"+e}const E=m({__forward_ref__:m});function A(t){return t.__forward_ref__=A,t.toString=function(){return M(this())},t}function D(t){return R(t)?t():t}function R(t){return\"function\"==typeof t&&t.hasOwnProperty(E)&&t.__forward_ref__===A}const T=\"undefined\"!=typeof globalThis&&globalThis,I=\"undefined\"!=typeof window&&window,j=\"undefined\"!=typeof self&&\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,L=\"undefined\"!=typeof global&&global,F=T||L||I||j,N=m({\"\\u0275cmp\":m}),V=m({\"\\u0275dir\":m}),z=m({\"\\u0275pipe\":m}),B=m({\"\\u0275mod\":m}),H=m({\"\\u0275loc\":m}),U=m({\"\\u0275fac\":m}),q=m({__NG_ELEMENT_ID__:m});class Q{constructor(t,e){this._desc=t,this.ngMetadataName=\"InjectionToken\",this.\\u0275prov=void 0,\"number\"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\\u0275prov=g({token:this,providedIn:e.providedIn||\"root\",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const W=new Q(\"INJECTOR\",-1),Y={},$=/\\n/gm,G=m({provide:String,useValue:m});let X,K=void 0;function Z(t){const e=K;return K=t,e}function J(t){const e=X;return X=t,e}function tt(t,e=p.Default){if(void 0===K)throw new Error(\"inject() must be called from an injection context\");return null===K?it(t,void 0,e):K.get(t,e&p.Optional?null:void 0,e)}function et(t,e=p.Default){return(X||tt)(D(t),e)}const nt=et;function it(t,e,n){const i=y(t);if(i&&\"root\"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&p.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${M(t)}]`)}function rt(t){const e=[];for(let n=0;n<t.length;n++){const i=D(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error(\"Arguments array must have arguments.\");let t=void 0,n=p.Default;for(let e=0;e<i.length;e++){const r=i[e];r instanceof h||\"Optional\"===r.ngMetadataName||r===h?n|=p.Optional:r instanceof u||\"SkipSelf\"===r.ngMetadataName||r===u?n|=p.SkipSelf:r instanceof d||\"Self\"===r.ngMetadataName||r===d?n|=p.Self:t=r instanceof c||r===c?r.token:r}e.push(et(t,n))}else e.push(et(i))}return e}class st{get(t,e=Y){if(e===Y){const e=new Error(`NullInjectorError: No provider for ${M(t)}!`);throw e.name=\"NullInjectorError\",e}return e}}class at{}class ot{}function lt(t,e){t.forEach(t=>Array.isArray(t)?lt(t,e):e(t))}function ct(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ht(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dt(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function ut(t,e,n){let i=mt(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function pt(t,e){const n=mt(t,e);if(n>=0)return t[1|n]}function mt(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ft=function(){var t={OnPush:0,Default:1};return t[t.OnPush]=\"OnPush\",t[t.Default]=\"Default\",t}(),gt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]=\"Emulated\",t[t.Native]=\"Native\",t[t.None]=\"None\",t[t.ShadowDom]=\"ShadowDom\",t}();function bt(t){return\"\"+{toString:t}}const _t={},yt=[];let vt=0;function wt(t){const e=t.type,n=e.prototype,i={},r={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===ft.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||yt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||gt.Emulated,id:\"c\",styles:t.styles||yt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return r._=bt(()=>{const e=t.directives,n=t.features,s=t.pipes;r.id+=vt++,r.inputs=Mt(t.inputs,i),r.outputs=Mt(t.outputs),n&&n.forEach(t=>t(r)),r.directiveDefs=e?()=>(\"function\"==typeof e?e():e).map(xt):null,r.pipeDefs=s?()=>(\"function\"==typeof s?s():s).map(Ct):null}),r}function xt(t){return At(t)||function(t){return t[V]||null}(t)}function Ct(t){return function(t){return t[z]||null}(t)}const kt={};function Ot(t){const e={type:t.type,bootstrap:t.bootstrap||yt,declarations:t.declarations||yt,imports:t.imports||yt,exports:t.exports||yt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&bt(()=>{kt[t.id]=t.type}),e}function St(t,e){return bt(()=>{const n=Rt(t,!0);n.declarations=e.declarations||yt,n.imports=e.imports||yt,n.exports=e.exports||yt})}function Mt(t,e){if(null==t)return _t;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const Pt=wt;function Et(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function At(t){return t[N]||null}function Dt(t,e){return t.hasOwnProperty(U)?t[U]:null}function Rt(t,e){const n=t[B]||null;if(!n&&!0===e)throw new Error(`Type ${M(t)} does not have '\\u0275mod' property.`);return n}function Tt(t){return Array.isArray(t)&&\"object\"==typeof t[1]}function It(t){return Array.isArray(t)&&!0===t[1]}function jt(t){return 0!=(8&t.flags)}function Lt(t){return 2==(2&t.flags)}function Ft(t){return 1==(1&t.flags)}function Nt(t){return null!==t.template}function Vt(t){return 0!=(512&t[2])}const zt={lFrame:oe(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Bt(){return zt.bindingsEnabled}function Ht(){return zt.lFrame.lView}function Ut(){return zt.lFrame.tView}function qt(t){zt.lFrame.contextLView=t}function Qt(){return zt.lFrame.previousOrParentTNode}function Wt(t,e){zt.lFrame.previousOrParentTNode=t,zt.lFrame.isParent=e}function Yt(){return zt.lFrame.isParent}function $t(){zt.lFrame.isParent=!1}function Gt(){return zt.checkNoChangesMode}function Xt(t){zt.checkNoChangesMode=t}function Kt(){const t=zt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Zt(){return zt.lFrame.bindingIndex}function Jt(){return zt.lFrame.bindingIndex++}function te(t){const e=zt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ee(t,e){const n=zt.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function ne(){return zt.lFrame.currentQueryIndex}function ie(t){zt.lFrame.currentQueryIndex=t}function re(t,e){const n=ae();zt.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function se(t,e){const n=ae(),i=t[1];zt.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex}function ae(){const t=zt.lFrame,e=null===t?null:t.child;return null===e?oe(t):e}function oe(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function le(){const t=zt.lFrame;return zt.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const ce=le;function he(){const t=le();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function de(){return zt.lFrame.selectedIndex}function ue(t){zt.lFrame.selectedIndex=t}function pe(){zt.lFrame.currentNamespace=\"http://www.w3.org/2000/svg\"}function me(){zt.lFrame.currentNamespace=null}function fe(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function ge(t,e,n){ye(t,e,3,n)}function be(t,e,n,i){(3&t[2])===n&&ye(t,e,n,i)}function _e(t,e){let n=t[2];(3&n)===e&&(n&=1023,n+=1,t[2]=n)}function ye(t,e,n,i){const r=null!=i?i:-1;let s=0;for(let a=void 0!==i?65535&t[18]:0;a<e.length;a++)if(\"number\"==typeof e[a+1]){if(s=e[a],null!=i&&s>=i)break}else e[a]<0&&(t[18]+=65536),(s<r||-1==r)&&(ve(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function ve(t,e,n,i){const r=n[i]<0,s=n[i+1],a=t[r?-n[i]:n[i]];r?t[2]>>10<t[18]>>16&&(3&t[2])===e&&(t[2]+=1024,s.call(a)):s.call(a)}class we{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}let xe=void 0;function Ce(t){xe=t}function ke(){return void 0!==xe?xe:\"undefined\"!=typeof document?document:void 0}function Oe(t){return!!t.listen}const Se={createRenderer:(t,e)=>ke()};function Me(t,e,n){const i=Oe(t);let r=0;for(;r<n.length;){const s=n[r];if(\"number\"==typeof s){if(0!==s)break;r++;const a=n[r++],o=n[r++],l=n[r++];i?t.setAttribute(e,o,l,a):e.setAttributeNS(a,o,l)}else{const a=s,o=n[++r];Ee(a)?i&&t.setProperty(e,a,o):i?t.setAttribute(e,a,o):e.setAttribute(a,o),r++}}return r}function Pe(t){return 3===t||4===t||6===t}function Ee(t){return 64===t.charCodeAt(0)}function Ae(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const r=e[i];\"number\"==typeof r?n=r:0===n||De(t,n,r,null,-1===n||2===n?e[++i]:null)}}return t}function De(t,e,n,i,r){let s=0,a=t.length;if(-1===e)a=-1;else for(;s<t.length;){const n=t[s++];if(\"number\"==typeof n){if(n===e){a=-1;break}if(n>e){a=s-1;break}}}for(;s<t.length;){const e=t[s];if(\"number\"==typeof e)break;if(e===n){if(null===i)return void(null!==r&&(t[s+1]=r));if(i===t[s+1])return void(t[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==a&&(t.splice(a,0,e),s=a+1),t.splice(s++,0,n),null!==i&&t.splice(s++,0,i),null!==r&&t.splice(s++,0,r)}function Re(t){return-1!==t}function Te(t){return 32767&t}function Ie(t){return t>>16}function je(t,e){let n=Ie(t),i=e;for(;n>0;)i=i[15],n--;return i}function Le(t){return\"string\"==typeof t?t:null==t?\"\":\"\"+t}function Fe(t){return\"function\"==typeof t?t.name||t.toString():\"object\"==typeof t&&null!=t&&\"function\"==typeof t.type?t.type.name||t.type.toString():Le(t)}const Ne=(()=>(\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(F))();function Ve(t){return{name:\"window\",target:t.ownerDocument.defaultView}}function ze(t){return{name:\"body\",target:t.ownerDocument.body}}function Be(t){return t instanceof Function?t():t}let He=!0;function Ue(t){const e=He;return He=t,e}let qe=0;function Qe(t,e){const n=Ye(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,We(i.data,t),We(e,null),We(i.blueprint,null));const r=$e(t,e),s=t.injectorIndex;if(Re(r)){const t=Te(r),n=je(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function We(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ye(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function $e(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],i=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function Ge(t,e,n){!function(t,e,n){let i=\"string\"!=typeof n?n[q]:n.charCodeAt(0)||0;null==i&&(i=n[q]=qe++);const r=255&i,s=1<<r,a=64&r,o=32&r,l=e.data;128&r?a?o?l[t+7]|=s:l[t+6]|=s:o?l[t+5]|=s:l[t+4]|=s:a?o?l[t+3]|=s:l[t+2]|=s:o?l[t+1]|=s:l[t]|=s}(t,e,n)}function Xe(t,e,n,i=p.Default,r){if(null!==t){const r=function(t){if(\"string\"==typeof t)return t.charCodeAt(0)||0;const e=t[q];return\"number\"==typeof e&&e>0?255&e:e}(n);if(\"function\"==typeof r){re(e,t);try{const t=r();if(null!=t||i&p.Optional)return t;throw new Error(`No provider for ${Fe(n)}!`)}finally{ce()}}else if(\"number\"==typeof r){if(-1===r)return new rn(t,e);let s=null,a=Ye(t,e),o=-1,l=i&p.Host?e[16][6]:null;for((-1===a||i&p.SkipSelf)&&(o=-1===a?$e(t,e):e[a+8],nn(i,!1)?(s=e[1],a=Te(o),e=je(o,e)):a=-1);-1!==a;){o=e[a+8];const t=e[1];if(en(r,a,t.data)){const t=Ze(a,e,n,s,i,l);if(t!==Ke)return t}nn(i,e[1].data[a+8]===l)&&en(r,a,e)?(s=t,a=Te(o),e=je(o,e)):a=-1}}}if(i&p.Optional&&void 0===r&&(r=null),0==(i&(p.Self|p.Host))){const t=e[9],s=J(void 0);try{return t?t.get(n,r,i&p.Optional):it(n,r,i&p.Optional)}finally{J(s)}}if(i&p.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Fe(n)}]`)}const Ke={};function Ze(t,e,n,i,r,s){const a=e[1],o=a.data[t+8],l=Je(o,a,n,null==i?Lt(o)&&He:i!=a&&3===o.type,r&p.Host&&s===o);return null!==l?tn(e,a,l,o):Ke}function Je(t,e,n,i,r){const s=t.providerIndexes,a=e.data,o=65535&s,l=t.directiveStart,c=s>>16,h=r?o+c:t.directiveEnd;for(let d=i?o:o+c;d<h;d++){const t=a[d];if(d<l&&n===t||d>=l&&t.type===n)return d}if(r){const t=a[l];if(t&&Nt(t)&&t.type===n)return l}return null}function tn(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof we){const a=r;if(a.resolving)throw new Error(`Circular dep for ${Fe(s[n])}`);const o=Ue(a.canSeeViewProviders);let l;a.resolving=!0,a.injectImpl&&(l=J(a.injectImpl)),re(t,i);try{r=t[n]=a.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{onChanges:i,onInit:r,doCheck:s}=e;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{a.injectImpl&&J(l),Ue(o),a.resolving=!1,ce()}}return r}function en(t,e,n){const i=64&t,r=32&t;let s;return s=128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e],!!(s&1<<t)}function nn(t,e){return!(t&p.Self||t&p.Host&&e)}class rn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Xe(this._tNode,this._lView,t,void 0,e)}}function sn(t){const e=Object.getPrototypeOf(t.prototype).constructor,n=e[U]||function t(e){const n=e;if(R(e))return()=>{const e=t(D(n));return e?e():null};let i=Dt(n);if(null===i){const t=w(n);i=t&&t.factory}return i||null}(e);return null!==n?n:t=>new t}function an(t){return t.ngDebugContext}function on(t){return t.ngOriginalError}function ln(t,...e){t.error(...e)}class cn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||ln}(t);i(this._console,\"ERROR\",t),e&&i(this._console,\"ORIGINAL ERROR\",e),n&&i(this._console,\"ERROR CONTEXT\",n)}_findContext(t){return t?an(t)?an(t):this._findContext(on(t)):null}_findOriginalError(t){let e=on(t);for(;e&&on(e);)e=on(e);return e}}class hn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+\" (see http://g.co/ng/security#xss)\"}}class dn extends hn{getTypeName(){return\"HTML\"}}class un extends hn{getTypeName(){return\"Style\"}}class pn extends hn{getTypeName(){return\"Script\"}}class mn extends hn{getTypeName(){return\"URL\"}}class fn extends hn{getTypeName(){return\"ResourceURL\"}}function gn(t){return t instanceof hn?t.changingThisBreaksApplicationSecurity:t}function bn(t,e){const n=_n(t);if(null!=n&&n!==e){if(\"ResourceURL\"===n&&\"URL\"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function _n(t){return t instanceof hn&&t.getTypeName()||null}function yn(t){return new dn(t)}function vn(t){return new un(t)}function wn(t){return new pn(t)}function xn(t){return new mn(t)}function Cn(t){return new fn(t)}let kn=!0,On=!1;function Sn(){return On=!0,kn}function Mn(){if(On)throw new Error(\"Cannot enable prod mode after platform setup.\");kn=!1}class Pn{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(\"sanitization-inert\");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement(\"html\");this.inertDocument.appendChild(t),e=this.inertDocument.createElement(\"body\"),t.appendChild(e)}e.innerHTML='<svg><g onload=\"this.parentNode.remove()\"><\/g><\/svg>',!e.querySelector||e.querySelector(\"svg\")?(e.innerHTML='<svg><p><style><img src=\"<\/style><img src=x onerror=alert(1)//\">',this.getInertBodyElement=e.querySelector&&e.querySelector(\"svg img\")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t=\"<body><remove><\/remove>\"+t+\"<\/body>\";try{t=encodeURI(t)}catch(i){return null}const e=new XMLHttpRequest;e.responseType=\"document\",e.open(\"GET\",\"data:text/html;charset=utf-8,\"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t=\"<body><remove><\/remove>\"+t+\"<\/body>\";try{const e=(new window.DOMParser).parseFromString(t,\"text/html\").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement(\"template\");if(\"content\"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement(\"body\");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;\"xmlns:ns1\"!==n&&0!==n.indexOf(\"ns1:\")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const En=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,An=/^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\\/]+=*$/i;function Dn(t){return(t=String(t)).match(En)||t.match(An)?t:(Sn()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),\"unsafe:\"+t)}function Rn(t){const e={};for(const n of t.split(\",\"))e[n]=!0;return e}function Tn(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const In=Rn(\"area,br,col,hr,img,wbr\"),jn=Rn(\"colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr\"),Ln=Rn(\"rp,rt\"),Fn=Tn(Ln,jn),Nn=Tn(In,Tn(jn,Rn(\"address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul\")),Tn(Ln,Rn(\"a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video\")),Fn),Vn=Rn(\"background,cite,href,itemtype,longdesc,poster,src,xlink:href\"),zn=Rn(\"srcset\"),Bn=Tn(Vn,zn,Rn(\"abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width\"),Rn(\"aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext\")),Hn=Rn(\"script,style,template\");class Un{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join(\"\")}startElement(t){const e=t.nodeName.toLowerCase();if(!Nn.hasOwnProperty(e))return this.sanitizedSomething=!0,!Hn.hasOwnProperty(e);this.buf.push(\"<\"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const t=n.item(r),e=t.name,s=e.toLowerCase();if(!Bn.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=t.value;Vn[s]&&(a=Dn(a)),zn[s]&&(i=a,a=(i=String(i)).split(\",\").map(t=>Dn(t.trim())).join(\", \")),this.buf.push(\" \",e,'=\"',Wn(a),'\"')}var i;return this.buf.push(\">\"),!0}endElement(t){const e=t.nodeName.toLowerCase();Nn.hasOwnProperty(e)&&!In.hasOwnProperty(e)&&(this.buf.push(\"<\/\"),this.buf.push(e),this.buf.push(\">\"))}chars(t){this.buf.push(Wn(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const qn=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,Qn=/([^\\#-~ |!])/g;function Wn(t){return t.replace(/&/g,\"&amp;\").replace(qn,(function(t){return\"&#\"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+\";\"})).replace(Qn,(function(t){return\"&#\"+t.charCodeAt(0)+\";\"})).replace(/<\/g,\"&lt;\").replace(/>/g,\"&gt;\")}let Yn;function $n(t,e){let n=null;try{Yn=Yn||new Pn(t);let i=e?String(e):\"\";n=Yn.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error(\"Failed to sanitize html because the input is unstable\");r--,i=s,s=n.innerHTML,n=Yn.getInertBodyElement(i)}while(i!==s);const a=new Un,o=a.sanitizeChildren(Gn(n)||n);return Sn()&&a.sanitizedSomething&&console.warn(\"WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss\"),o}finally{if(n){const t=Gn(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Gn(t){return\"content\"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&\"TEMPLATE\"===t.nodeName}(t)?t.content:null}const Xn=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]=\"NONE\",t[t.HTML]=\"HTML\",t[t.STYLE]=\"STYLE\",t[t.SCRIPT]=\"SCRIPT\",t[t.URL]=\"URL\",t[t.RESOURCE_URL]=\"RESOURCE_URL\",t}(),Kn=new RegExp(\"^([-,.\\\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\\\([-0-9.%, #a-zA-Z]+\\\\))$\",\"g\"),Zn=/^url\\(([^)]+)\\)$/;function Jn(t){if(!(t=String(t).trim()))return\"\";const e=t.match(Zn);return e&&Dn(e[1])===e[1]||t.match(Kn)&&function(t){let e=!0,n=!0;for(let i=0;i<t.length;i++){const r=t.charAt(i);\"'\"===r&&n?e=!e:'\"'===r&&e&&(n=!n)}return e&&n}(t)?t:(Sn()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),\"unsafe\")}function ti(t){const e=ii();return e?e.sanitize(Xn.HTML,t)||\"\":bn(t,\"HTML\")?gn(t):$n(ke(),Le(t))}function ei(t){const e=ii();return e?e.sanitize(Xn.STYLE,t)||\"\":bn(t,\"Style\")?gn(t):Jn(Le(t))}function ni(t){const e=ii();return e?e.sanitize(Xn.URL,t)||\"\":bn(t,\"URL\")?gn(t):Dn(Le(t))}function ii(){const t=Ht();return t&&t[12]}function ri(t){for(;Array.isArray(t);)t=t[0];return t}function si(t,e){return ri(e[t+19])}function ai(t,e){return ri(e[t.index])}function oi(t,e){return t.data[e+19]}function li(t,e){return t[e+19]}function ci(t,e){const n=e[t];return Tt(n)?n:n[0]}function hi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function di(t){return 4==(4&t[2])}function ui(t){return 128==(128&t[2])}function pi(t,e){return null===t||null==e?null:t[e]}function mi(t){t[18]=0}function fi(t,e){t.__ngContext__=e}function gi(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function bi(){throw new Error(\"Cannot mix multi providers and regular providers\")}function _i(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}function yi(t,e,n){let i=0;for(;i<t.length;){let r=t[i++];if(n&&\"class\"===r){if(r=t[i],-1!==_i(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&\"string\"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function vi(t,e,n){return e===(0!==t.type||n?t.tagName:\"ng-template\")}function wi(t,e,n){let i=4;const r=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(Pe(t[e]))return e;return t.length}(r);let a=!1;for(let o=0;o<e.length;o++){const l=e[o];if(\"number\"!=typeof l){if(!a)if(4&i){if(i=2|1&i,\"\"!==l&&!vi(t,l,n)||\"\"===l&&1===e.length){if(xi(i))return!1;a=!0}}else{const c=8&i?l:e[++o];if(8&i&&null!==t.attrs){if(!yi(t.attrs,c,n)){if(xi(i))return!1;a=!0}continue}const h=Ci(8&i?\"class\":l,r,0==t.type&&\"ng-template\"!==t.tagName,n);if(-1===h){if(xi(i))return!1;a=!0;continue}if(\"\"!==c){let t;t=h>s?\"\":r[h+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==_i(e,c,0)||2&i&&c!==t){if(xi(i))return!1;a=!0}}}}else{if(!a&&!xi(i)&&!xi(l))return!1;if(a&&xi(l))continue;a=!1,i=l|1&i}}return xi(i)||a}function xi(t){return 0==(1&t)}function Ci(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r<e.length;){const i=e[r];if(i===t)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++r];for(;\"string\"==typeof t;)t=e[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){if(t[n]===e)return n;n++}return-1}(e,t)}function ki(t,e,n=!1){for(let i=0;i<e.length;i++)if(wi(t,e[i],n))return!0;return!1}function Oi(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Si(t,e){return t?\":not(\"+e.trim()+\")\":e}function Mi(t){let e=t[0],n=1,i=2,r=\"\",s=!1;for(;n<t.length;){let a=t[n];if(\"string\"==typeof a)if(2&i){const e=t[++n];r+=\"[\"+a+(e.length>0?'=\"'+e+'\"':\"\")+\"]\"}else 8&i?r+=\".\"+a:4&i&&(r+=\" \"+a);else\"\"===r||xi(a)||(e+=Si(s,r),r=\"\"),i=a,s=s||!xi(i);n++}return\"\"!==r&&(e+=Si(s,r)),e}const Pi={};function Ei(t){const e=t[3];return It(e)?e[3]:e}function Ai(t){Di(Ut(),Ht(),de()+t,Gt())}function Di(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ge(e,i,n)}else{const i=t.preOrderHooks;null!==i&&be(e,i,0,n)}ue(n)}function Ri(t,e){return t<<17|e<<2}function Ti(t){return t>>17&32767}function Ii(t){return 2|t}function ji(t){return(131068&t)>>2}function Li(t,e){return-131069&t|e<<2}function Fi(t){return 1|t}function Ni(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=t.data[s];ie(r),n.contentQueries(2,e[s],s)}}}function Vi(t,e,n){return Oe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function zi(t,e,n,i,r,s,a,o,l,c){const h=e.blueprint.slice();return h[0]=r,h[2]=140|i,mi(h),h[3]=h[15]=t,h[8]=n,h[10]=a||t&&t[10],h[11]=o||t&&t[11],h[12]=l||t&&t[12]||null,h[9]=c||t&&t[9]||null,h[6]=s,h[16]=2==e.type?t[16]:h,h}function Bi(t,e,n,i,r,s){const a=n+19,o=t.data[a]||function(t,e,n,i,r,s){const a=Qt(),o=Yt(),l=o?a:a&&a.parent,c=t.data[n]=Ki(0,l&&l!==e?l:null,i,n,r,s);return null===t.firstChild&&(t.firstChild=c),a&&(!o||null!=a.child||null===c.parent&&2!==a.type?o||(a.next=c):a.child=c),c}(t,e,a,i,r,s);return Wt(o,!0),o}function Hi(t,e,n){se(e,e[6]);try{const i=t.viewQuery;null!==i&&vr(1,i,n);const r=t.template;null!==r&&Qi(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Ni(t,e),t.staticViewQueries&&vr(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)fr(t,e[n])}(e,s)}finally{e[2]&=-5,he()}}function Ui(t,e,n,i){const r=e[2];if(256==(256&r))return;se(e,e[6]);const s=Gt();try{mi(e),zt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Qi(t,e,n,2,i);const a=3==(3&r);if(!s)if(a){const n=t.preOrderCheckHooks;null!==n&&ge(e,n,null)}else{const n=t.preOrderHooks;null!==n&&be(e,n,0,null),_e(e,0)}if(function(t){let e=t[13];for(;null!==e;){let n;if(It(e)&&(n=e[2])>>1==-1){for(let t=9;t<e.length;t++){const n=e[t],i=n[1];ui(n)&&Ui(i,n,i.template,n[8])}0!=(1&n)&&pr(e,t[16])}e=e[4]}}(e),null!==t.contentQueries&&Ni(t,e),!s)if(a){const n=t.contentCheckHooks;null!==n&&ge(e,n)}else{const n=t.contentHooks;null!==n&&be(e,n,1),_e(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let i=t.expandoStartIndex,r=-1,s=-1;for(let t=0;t<n.length;t++){const a=n[t];\"number\"==typeof a?a<=0?(s=0-a,ue(s),i+=9+n[++t],r=i):i+=a:(null!==a&&(ee(i,r),a(2,e[r])),r++)}}}finally{ue(-1)}}(t,e);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)mr(t,e[n])}(e,o);const l=t.viewQuery;if(null!==l&&vr(2,l,i),!s)if(a){const n=t.viewCheckHooks;null!==n&&ge(e,n)}else{const n=t.viewHooks;null!==n&&be(e,n,2),_e(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73)}finally{he()}}function qi(t,e,n,i){const r=e[10],s=!Gt(),a=di(e);try{s&&!a&&r.begin&&r.begin(),a&&Hi(t,e,i),Ui(t,e,n,i)}finally{s&&!a&&r.end&&r.end()}}function Qi(t,e,n,i,r){const s=de();try{ue(-1),2&i&&e.length>19&&Di(t,e,0,Gt()),n(i,r)}finally{ue(s)}}function Wi(t,e,n){if(jt(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r<i;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}function Yi(t,e,n){Bt()&&(function(t,e,n,i){const r=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Qe(n,e),fi(i,e);const a=n.initialInputs;for(let o=r;o<s;o++){const i=t.data[o],s=Nt(i);s&&cr(e,n,i);const l=tn(e,t,o,n);fi(l,e),null!==a&&hr(0,o-r,l,i,0,a),s&&(ci(n.index,e)[8]=l)}}(t,e,n,ai(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,r=n.directiveEnd,s=t.expandoInstructions,a=t.firstCreatePass,o=n.index-19;try{ue(o);for(let n=i;n<r;n++){const i=t.data[n],r=e[n];null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs?ir(i,r):a&&s.push(null)}}finally{ue(-1)}}(t,e,n))}function $i(t,e,n=ai){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const a=i[s+1],o=-1===a?n(e,t):t[a];t[r++]=o}}}function Gi(t){return t.tView||(t.tView=Xi(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts))}function Xi(t,e,n,i,r,s,a,o,l,c){const h=19+i,d=h+r,u=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Pi);return n}(h,d);return u[1]={type:t,id:e,blueprint:u,template:n,queries:null,viewQuery:o,node:null,data:u.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:\"function\"==typeof s?s():s,pipeRegistry:\"function\"==typeof a?a():a,firstChild:null,schemas:l,consts:c}}function Ki(t,e,n,i,r,s){return{type:n,index:i,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,residualStyles:void 0,classes:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Zi(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function Ji(t,e,n,i,r,s,a,o){const l=si(n,e),c=oi(t,n);let h,d=c.inputs;if(!a&&null!=d&&(h=d[i]))Sr(t,e,h,i,r),Lt(c)&&function(t,e){const n=ci(e,t);16&n[2]||(n[2]|=64)}(e,n+19);else if(3===c.type){i=\"class\"===(u=i)?\"className\":\"for\"===u?\"htmlFor\":\"formaction\"===u?\"formAction\":\"innerHtml\"===u?\"innerHTML\":\"readonly\"===u?\"readOnly\":\"tabindex\"===u?\"tabIndex\":u;const t=o?o(c,e):e[11];r=null!=s?s(r,c.tagName||\"\",i):r,Oe(t)?t.setProperty(l,i,r):Ee(i)||(l.setProperty?l.setProperty(i,r):l[i]=r)}var u}function tr(t,e,n,i){let r=!1;if(Bt()){const s=function(t,e,n){const i=t.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const a=i[s];ki(n,a.selectors,!1)&&(r||(r=[]),Ge(Qe(n,e),t,a.type),Nt(a)?(2&n.flags&&gi(n),sr(t,n),r.unshift(a)):r.push(a))}return r}(t,e,n),a=null===i?null:{\"\":-1};if(null!==s){let i=0;r=!0,or(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}rr(t,n,s.length);let o=!1,l=!1;for(let r=0;r<s.length;r++){const c=s[r];n.mergedAttrs=Ae(n.mergedAttrs,c.hostAttrs),lr(t,e,c),ar(t.data.length-1,c,a),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!o&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-19),o=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-19),l=!0),er(t,c),i+=c.hostVars}!function(t,e){const n=e.directiveEnd,i=t.data,r=e.attrs,s=[];let a=null,o=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],e=t.inputs;s.push(null!==r?dr(e,r):null),a=Zi(e,l,a),o=Zi(t.outputs,l,o)}null!==a&&((a.hasOwnProperty(\"class\")||a.hasOwnProperty(\"className\"))&&(e.flags|=16),a.hasOwnProperty(\"style\")&&(e.flags|=32)),e.initialInputs=s,e.inputs=a,e.outputs=o}(t,n),nr(t,e,i)}a&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new Error(`Export of name '${e[t+1]}' not found!`);i.push(e[t],r)}}}(n,i,a)}return n.mergedAttrs=Ae(n.mergedAttrs,n.attrs),r}function er(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function nr(t,e,n){for(let i=0;i<n;i++)e.push(Pi),t.blueprint.push(Pi),t.data.push(null)}function ir(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function rr(t,e,n){const i=19-e.index,r=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(i,r,n)}function sr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function ar(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;Nt(e)&&(n[\"\"]=t)}}function or(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function lr(t,e,n){t.data.push(n);const i=n.factory||(n.factory=Dt(n.type)),r=new we(i,Nt(n),null);t.blueprint.push(r),e.push(r)}function cr(t,e,n){const i=ai(e,t),r=Gi(n),s=t[10],a=gr(t,zi(t,r,null,n.onPush?64:16,i,e,s,s.createRenderer(i,n)));t[e.index]=a}function hr(t,e,n,i,r,s){const a=s[e];if(null!==a){const t=i.setInput;for(let e=0;e<a.length;){const r=a[e++],s=a[e++],o=a[e++];null!==t?i.setInput(n,o,r,s):n[s]=o}}}function dr(t,e){let n=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if(\"number\"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function ur(t,e,n,i){return new Array(t,!0,-2,e,null,null,i,n,null)}function pr(t,e){const n=t[5];for(let i=0;i<n.length;i++){const t=n[i],r=t[3][3][16];if(r!==e&&0==(16&r[2])){const e=t[1];Ui(e,t,e.template,t[8])}}}function mr(t,e){const n=ci(e,t);if(ui(n)&&80&n[2]){const t=n[1];Ui(t,n,t.template,n[8])}}function fr(t,e){const n=ci(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Hi(i,n,n[8])}function gr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function br(t){for(;t;){t[2]|=64;const e=Ei(t);if(Vt(t)&&!e)return t;t=e}return null}function _r(t,e,n){const i=e[10];i.begin&&i.begin();try{Ui(t,e,t.template,n)}catch(r){throw Or(e,r),r}finally{i.end&&i.end()}}function yr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=hi(n),r=i[1];qi(r,i,r.template,n)}}(t[8])}function vr(t,e,n){ie(0),e(t,n)}const wr=(()=>Promise.resolve(null))();function xr(t){return t[7]||(t[7]=[])}function Cr(t){return t.cleanup||(t.cleanup=[])}function kr(t,e){return function(t){for(;Array.isArray(t);){if(\"object\"==typeof t[1])return t;t=t[0]}return null}(e[t.index])[11]}function Or(t,e){const n=t[9],i=n?n.get(cn,null):null;i&&i.handleError(e)}function Sr(t,e,n,i,r){for(let s=0;s<n.length;){const a=n[s++],o=n[s++],l=e[a],c=t.data[a];null!==c.setInput?c.setInput(l,r,i,o):l[o]=r}}function Mr(t,e,n){const i=si(e,t),r=t[11];Oe(r)?r.setValue(i,n):i.textContent=n}function Pr(t,e){const n=e[3];return-1===t.index?It(n)?n:null:n}function Er(t,e){const n=Pr(t,e);return n?Br(e[11],n[7]):null}function Ar(t,e,n,i,r){if(null!=i){let s,a=!1;It(i)?s=i:Tt(i)&&(a=!0,i=i[0]);const o=ri(i);0===t&&null!==n?null==r?Vr(e,n,o):Nr(e,n,o,r||null):1===t&&null!==n?Nr(e,n,o,r||null):2===t?function(t,e,n){const i=Br(t,e);i&&function(t,e,n,i){Oe(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,o,a):3===t&&e.destroyNode(o),null!=s&&function(t,e,n,i,r){const s=n[7];s!==ri(n)&&Ar(e,t,i,s,r);for(let a=9;a<n.length;a++){const r=n[a];Wr(r[1],r,t,e,i,s)}}(e,t,s,n,r)}}function Dr(t,e,n,i){const r=Er(t.node,e);r&&Wr(t,e,e[11],n?1:2,r,i)}function Rr(t,e){const n=t[5],i=n.indexOf(e);n.splice(i,1)}function Tr(t,e){if(t.length<=9)return;const n=9+e,i=t[n];if(i){const r=i[17];null!==r&&r!==t&&Rr(r,i),e>0&&(t[n-1][4]=i[4]);const s=ht(t,9+e);Dr(i[1],i,!1,null);const a=s[5];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Ir(t,e){if(!(256&e[2])){const n=e[11];Oe(n)&&n.destroyNode&&Wr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Lr(t[1],t);for(;e;){let n=null;if(Tt(e))n=e[13];else{const t=e[9];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Tt(e)&&Lr(e[1],e),e=jr(e,t);null===e&&(e=t),Tt(e)&&Lr(e[1],e),n=e&&e[4]}e=n}}(e)}}function jr(t,e){let n;return Tt(t)&&(n=t[6])&&2===n.type?Pr(n,t):t[3]===e?null:t[3]}function Lr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];t instanceof we||n[i+1].call(t)}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let i=0;i<n.length-1;i+=2)if(\"string\"==typeof n[i]){const r=n[i+1],s=\"function\"==typeof r?r(e):ri(e[r]),a=t[n[i+2]],o=n[i+3];\"boolean\"==typeof o?s.removeEventListener(n[i],a,o):o>=0?t[o]():t[-o].unsubscribe(),i+=2}else n[i].call(t[n[i+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Oe(e[11])&&e[11].destroy();const i=e[17];if(null!==i&&It(e[3])){i!==e[3]&&Rr(i,e);const n=e[5];null!==n&&n.detachView(t)}}}function Fr(t,e,n){let i=e.parent;for(;null!=i&&(4===i.type||5===i.type);)i=(e=i).parent;if(null==i){const t=n[6];return 2===t.type?Er(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return ai(e,n).parentNode;if(2&i.flags){const e=t.data,n=e[e[i.index].directiveStart].encapsulation;if(n!==gt.ShadowDom&&n!==gt.Native)return null}return ai(i,n)}function Nr(t,e,n,i){Oe(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function Vr(t,e,n){Oe(t)?t.appendChild(e,n):e.appendChild(n)}function zr(t,e,n,i){null!==i?Nr(t,e,n,i):Vr(t,e,n)}function Br(t,e){return Oe(t)?t.parentNode(e):e.parentNode}function Hr(t,e){if(2===t.type){const n=Pr(t,e);return null===n?null:qr(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?ai(t,e):null}function Ur(t,e,n,i){const r=Fr(t,i,e);if(null!=r){const t=e[11],s=Hr(i.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)zr(t,r,n[e],s);else zr(t,r,n,s)}}function qr(t,e){const n=9+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return function t(e,n){if(null!==n){const i=n.type;if(3===i)return ai(n,e);if(0===i)return qr(-1,e[n.index]);if(4===i||5===i){const i=n.child;if(null!==i)return t(e,i);{const t=e[n.index];return It(t)?qr(-1,t):ri(t)}}{const i=e[16],r=i[6],s=Ei(i),a=r.projection[n.projection];return null!=a?t(s,a):t(e,n.next)}}return null}(t,i)}return e[7]}function Qr(t,e,n,i,r,s,a){for(;null!=n;){const o=i[n.index],l=n.type;a&&0===e&&(o&&fi(ri(o),i),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Qr(t,e,n.child,i,r,s,!1),Ar(e,t,r,o,s)):1===l?Yr(t,e,i,n,r,s):Ar(e,t,r,o,s)),n=a?n.projectionNext:n.next}}function Wr(t,e,n,i,r,s){Qr(n,i,t.node.child,e,r,s,!1)}function Yr(t,e,n,i,r,s){const a=n[16],o=a[6].projection[i.projection];if(Array.isArray(o))for(let l=0;l<o.length;l++)Ar(e,t,r,o[l],s);else Qr(t,e,o,a[3],r,s,!0)}function $r(t,e,n){Oe(t)?t.setAttribute(e,\"style\",n):e.style.cssText=n}function Gr(t,e,n){Oe(t)?\"\"===n?t.removeAttribute(e,\"class\"):t.setAttribute(e,\"class\",n):e.className=n}class Xr{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,i,r,s=!1){for(;null!==i;){const a=n[i.index];if(null!==a&&r.push(ri(a)),It(a))for(let e=9;e<a.length;e++){const n=a[e],i=n[1].firstChild;null!==i&&t(n[1],n,i,r)}const o=i.type;if(4===o||5===o)t(e,n,i.child,r);else if(1===o){const e=n[16],s=e[6],a=Ei(e);let o=s.projection[i.projection];null!==o&&null!==a&&t(a[1],a,o,r,!0)}i=s?i.projectionNext:i.next}return r}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ir(this._lView[1],this._lView)}onDestroy(t){var e,n,i;e=this._lView[1],i=t,xr(n=this._lView).push(i),e.firstCreatePass&&Cr(e).push(n[7].length-1,null)}markForCheck(){br(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){_r(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Xt(!0);try{_r(t,e,n)}finally{Xt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error(\"This view is already attached directly to the ApplicationRef!\");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Wr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error(\"This view is already attached to a ViewContainer!\");this._appRef=t}}class Kr extends Xr{constructor(t){super(t),this._view=t}detectChanges(){yr(this._view)}checkNoChanges(){!function(t){Xt(!0);try{yr(t)}finally{Xt(!1)}}(this._view)}get context(){return null}}let Zr,Jr,ts;function es(t,e,n){return Zr||(Zr=class extends t{}),new Zr(ai(e,n))}function ns(t,e,n,i){return Jr||(Jr=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=zi(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[5];null!==i&&(n[5]=i.createEmbeddedView(e)),Hi(e,n,t);const r=new Xr(n);return r._tViewNode=n[6],r}}),0===n.type?new Jr(i,n,es(e,n,i)):null}function is(t,e,n,i){let r;ts||(ts=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return es(e,this._hostTNode,this._hostView)}get injector(){return new rn(this._hostTNode,this._hostView)}get parentInjector(){const t=$e(this._hostTNode,this._hostView),e=je(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let i=Ie(t),r=e,s=e[6];for(;i>1;)r=r[15],s=r[6],i--;return s}(t,this._hostView,this._hostTNode);return Re(t)&&null!=n?new rn(n,e):new rn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-9}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(at,null);t&&(r=t)}const a=t.create(s,i,void 0,r);return this.insert(a.hostView,e),a}insert(t,e){const n=t._lView,i=n[1];if(t.destroyed)throw new Error(\"Cannot insert a destroyed View in a ViewContainer!\");if(this.allocateContainerIfNeeded(),It(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new ts(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e);return function(t,e,n,i){const r=9+i,s=n.length;i>0&&(n[r-1][4]=e),i<s-9?(e[4]=n[r],ct(n,9+i,e)):(n.push(e),e[4]=null),e[3]=n;const a=e[17];null!==a&&n!==a&&function(t,e){const n=t[5],i=e[3][3][16];16!=(16&i[2])&&e[16]!==i&&(t[2]|=1),null===n?t[5]=[e]:n.push(e)}(a,e);const o=e[5];null!==o&&o.insertView(t),e[2]|=128}(i,n,this._lContainer,r),Dr(i,n,!0,qr(r,this._lContainer)),t.attachToViewContainerRef(this),ct(this._lContainer[8],r,t),t}move(t,e){if(t.destroyed)throw new Error(\"Cannot move a destroyed View in a ViewContainer!\");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);(function(t,e){const n=Tr(t,e);n&&Ir(n[1],n)})(this._lContainer,e),ht(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Tr(this._lContainer,e);return n&&null!=ht(this._lContainer[8],e)?new Xr(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=i[n.index];if(It(s))r=s,function(t,e){t[2]=-2}(r);else{let t;if(4===n.type)t=ri(s);else if(t=i[11].createComment(\"\"),Vt(i)){const e=i[11],r=ai(n,i);Nr(e,Br(e,r),t,function(t,e){return Oe(t)?t.nextSibling(e):e.nextSibling}(e,r))}else Ur(i[1],i,t,n);i[n.index]=r=ur(s,i,t,n),gr(i,r)}return new ts(r,n,i)}function rs(t=!1){return function(t,e,n){if(!n&&Lt(t)){const n=ci(t.index,e);return new Xr(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new Xr(e[16],e):null}(Qt(),Ht(),t)}let ss=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>as(),t})();const as=rs,os=new Q(\"Set Injector scope.\"),ls={},cs={},hs=[];let ds=void 0;function us(){return void 0===ds&&(ds=new st),ds}function ps(t,e=null,n=null,i){return e=e||us(),new ms(t,n,e,i)}class ms{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&lt(e,n=>this.processProvider(n,t,e)),lt([t],t=>this.processInjectorType(t,[],r)),this.records.set(W,bs(void 0,this));const s=this.records.get(os);this.scope=null!=s?s.value:null,this.injectorDefTypes.forEach(t=>this.get(t)),this.source=i||(\"object\"==typeof t?null:M(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Y,n=p.Default){this.assertNotDestroyed();const i=Z(this);try{if(!(n&p.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=(\"function\"==typeof(r=t)||\"object\"==typeof r&&r instanceof Q)&&y(t);e=n&&this.injectableDefInScope(n)?bs(fs(t),ls):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&p.Self?us():this.parent).get(t,e=n&p.Optional&&e===Y?null:e)}catch(s){if(\"NullInjectorError\"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&\"\\n\"===t.charAt(0)&&\"\\u0275\"==t.charAt(1)?t.substr(2):t;let r=M(e);if(Array.isArray(e))r=e.map(M).join(\" -> \");else if(\"object\"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+\":\"+(\"string\"==typeof i?JSON.stringify(i):M(i)))}r=`{${t.join(\", \")}}`}return`${n}${i?\"(\"+i+\")\":\"\"}[${r}]: ${t.replace($,\"\\n  \")}`}(\"\\n\"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,\"R3InjectorError\",this.source)}throw s}finally{Z(i)}var r}toString(){const t=[];return this.records.forEach((e,n)=>t.push(M(n))),`R3Injector[${t.join(\", \")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error(\"Injector has already been destroyed.\")}processInjectorType(t,e,n){if(!(t=D(t)))return!1;let i=w(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,a=-1!==n.indexOf(s);if(void 0!==r&&(i=w(r)),null==i)return!1;if(null!=i.imports&&!a){let t;n.push(s);try{lt(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];lt(i,t=>this.processProvider(t,n,i||hs))}}this.injectorDefTypes.add(s),this.records.set(s,bs(i.factory,ls));const o=i.providers;if(null!=o&&!a){const e=t;lt(o,t=>this.processProvider(t,e,o))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=ys(t=D(t))?t:D(t&&t.provide);const r=function(t,e,n){return _s(t)?bs(void 0,t.useValue):bs(gs(t,e,n),ls)}(t,e,n);if(ys(t)||!0!==t.multi){const t=this.records.get(i);t&&void 0!==t.multi&&bi()}else{let e=this.records.get(i);e?void 0===e.multi&&bi():(e=bs(void 0,ls,!0),e.factory=()=>rt(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===cs?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(M(t)):e.value===ls&&(e.value=cs,e.value=e.factory()),\"object\"==typeof e.value&&e.value&&null!==(n=e.value)&&\"object\"==typeof n&&\"function\"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&(\"string\"==typeof t.providedIn?\"any\"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function fs(t){const e=y(t),n=null!==e?e.factory:Dt(t);if(null!==n)return n;const i=w(t);if(null!==i)return i.factory;if(t instanceof Q)throw new Error(`Token ${M(t)} is missing a \\u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=dt(e,\"?\");throw new Error(`Can't resolve all parameters for ${M(t)}: (${n.join(\", \")}).`)}const n=function(t){const e=t&&(t[x]||t[O]||t[k]&&t[k]());if(e){const n=function(t){if(t.hasOwnProperty(\"name\"))return t.name;const e=(\"\"+t).match(/^function\\s*([^\\s(]+)/);return null===e?\"\":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token \"${n}\" that inherits its @Injectable decorator but does not provide one itself.\\n`+`This will become an error in v10. Please add @Injectable() to the \"${n}\" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error(\"unreachable\")}function gs(t,e,n){let i=void 0;if(ys(t)){const e=D(t);return Dt(e)||fs(e)}if(_s(t))i=()=>D(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...rt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>et(D(t.useExisting));else{const r=D(t&&(t.useClass||t.provide));if(r||function(t,e,n){let i=\"\";throw t&&e&&(i=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?\"?\"+n+\"?\":\"...\").join(\", \")}]`),new Error(`Invalid provider for the NgModule '${M(t)}'`+i)}(e,n,t),!function(t){return!!t.deps}(t))return Dt(r)||fs(r);i=()=>new r(...rt(t.deps))}var r;return i}function bs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function _s(t){return null!==t&&\"object\"==typeof t&&G in t}function ys(t){return\"function\"==typeof t}const vs=function(t,e,n){return ps({name:n},e,t,n)};let ws=(()=>{class t{static create(t,e){return Array.isArray(t)?vs(t,e,\"\"):vs(t.providers,t.parent,t.name||\"\")}}return t.THROW_IF_NOT_FOUND=Y,t.NULL=new st,t.\\u0275prov=g({token:t,providedIn:\"any\",factory:()=>et(W)}),t.__NG_ELEMENT_ID__=-1,t})();const xs=new Q(\"AnalyzeForEntryComponents\");let Cs=new Map;const ks=new Set;function Os(t){return\"string\"==typeof t?t:t.text()}function Ss(t,e){let n=t.styles,i=t.classes,r=0;for(let s=0;s<e.length;s++){const t=e[s];\"number\"==typeof t?r=t:1==r?i=P(i,t):2==r&&(n=P(n,t+\": \"+e[++s]+\";\"))}null!==n&&(t.styles=n),null!==i&&(t.classes=i)}let Ms=null;function Ps(){if(!Ms){const t=F.Symbol;if(t&&t.iterator)Ms=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];\"entries\"!==n&&\"size\"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ms=n)}}}return Ms}function Es(t,e){return t===e||\"number\"==typeof t&&\"number\"==typeof e&&isNaN(t)&&isNaN(e)}class As{constructor(t){this.wrapped=t}static wrap(t){return new As(t)}static unwrap(t){return As.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof As}}function Ds(t){return!!Rs(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ps()in t)}function Rs(t){return null!==t&&(\"function\"==typeof t||\"object\"==typeof t)}function Ts(t,e,n){return t[e]=n}function Is(t,e){return t[e]}function js(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Ls(t,e,n,i){const r=js(t,e,n);return js(t,e+1,i)||r}function Fs(t,e,n,i){const r=Ht();return js(r,Jt(),e)&&function(t,e,n,i,r,s,a){const o=si(t,r),l=r[11];if(null==n)Oe(l)?l.removeAttribute(o,e,a):o.removeAttribute(e);else{const r=oi(i,t),c=null==s?Le(n):s(n,r.tagName||\"\",e);Oe(l)?l.setAttribute(o,e,c,a):a?o.setAttributeNS(a,e,c):o.setAttribute(e,c)}}(de(),t,e,Ut(),r,n,i),Fs}function Ns(t,e,n,i){return js(t,Jt(),n)?e+Le(n)+i:Pi}function Vs(t,e,n,i,r,s){const a=Ls(t,Zt(),n,r);return te(2),a?e+Le(n)+i+Le(r)+s:Pi}function zs(t,e,n,i,r,s,a,o){const l=Ht(),c=Ut(),h=t+19,d=c.firstCreatePass?function(t,e,n,i,r,s,a,o,l){const c=e.consts,h=Bi(e,n[6],t,0,a||null,pi(c,o));tr(e,n,h,pi(c,l)),fe(e,h);const d=h.tViews=Xi(2,-1,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),u=Ki(0,null,2,-1,null,null);return u.injectorIndex=h.injectorIndex,d.node=u,null!==e.queries&&(e.queries.template(e,h),d.queries=e.queries.embeddedTView(h)),h}(t,c,l,e,n,i,r,s,a):c.data[h];Wt(d,!1);const u=l[11].createComment(\"\");Ur(c,l,u,d),fi(u,l),gr(l,l[h]=ur(u,l,u,d)),Ft(d)&&Yi(c,l,d),null!=a&&$i(l,d,o)}function Bs(t){return li(zt.lFrame.contextLView,t)}function Hs(t,e=p.Default){const n=Ht();return null==n?et(t,e):Xe(Qt(),n,D(t),e)}function Us(t){return function(t,e){if(\"class\"===e)return t.classes;if(\"style\"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const r=n[i];if(Pe(r))break;if(0===r)i+=2;else if(\"number\"==typeof r)for(i++;i<t&&\"string\"==typeof n[i];)i++;else{if(r===e)return n[i+1];i+=2}}}return null}(Qt(),t)}function qs(){throw new Error(\"invalid\")}function Qs(t,e,n){const i=Ht();if(js(i,Jt(),e)){const r=de();Ji(Ut(),i,r,t,e,n)}return Qs}function Ws(t,e,n,i,r){const s=e.inputs,a=r?\"class\":\"style\";Sr(t,n,s[a]||r&&s.className,a,i)}function Ys(t,e,n,i){const r=Ht(),s=Ut(),a=19+t,o=r[11],l=r[a]=Vi(e,o,zt.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,i,r,s,a){const o=e.consts,l=pi(o,s),c=Bi(e,n[6],t,3,r,l);return tr(e,n,c,pi(o,a)),null!==c.mergedAttrs&&Ss(c,c.mergedAttrs),null!==e.queries&&e.queries.elementStart(e,c),c}(t,s,r,0,e,n,i):s.data[a];Wt(c,!0);const h=c.mergedAttrs;null!==h&&Me(o,l,h);const d=c.classes;null!==d&&Gr(o,l,d);const u=c.styles;null!==u&&$r(o,l,u),Ur(s,r,l,c),0===zt.lFrame.elementDepthCount&&fi(l,r),zt.lFrame.elementDepthCount++,Ft(c)&&(Yi(s,r,c),Wi(s,c,r)),null!==i&&$i(r,c)}function $s(){let t=Qt();Yt()?$t():(t=t.parent,Wt(t,!1));const e=t;zt.lFrame.elementDepthCount--;const n=Ut();n.firstCreatePass&&(fe(n,t),jt(t)&&n.queries.elementEnd(t)),null!==e.classes&&function(t){return 0!=(16&t.flags)}(e)&&Ws(n,e,Ht(),e.classes,!0),null!==e.styles&&function(t){return 0!=(32&t.flags)}(e)&&Ws(n,e,Ht(),e.styles,!1)}function Gs(t,e,n,i){Ys(t,e,n,i),$s()}function Xs(t,e,n){const i=Ht(),r=Ut(),s=t+19,a=r.firstCreatePass?function(t,e,n,i,r){const s=e.consts,a=pi(s,i),o=Bi(e,n[6],t,4,\"ng-container\",a);return null!==a&&Ss(o,a),tr(e,n,o,pi(s,r)),null!==e.queries&&e.queries.elementStart(e,o),o}(t,r,i,e,n):r.data[s];Wt(a,!0);const o=i[s]=i[11].createComment(\"\");Ur(r,i,o,a),fi(o,i),Ft(a)&&(Yi(r,i,a),Wi(r,a,i)),null!=n&&$i(i,a)}function Ks(){let t=Qt();const e=Ut();Yt()?$t():(t=t.parent,Wt(t,!1)),e.firstCreatePass&&(fe(e,t),jt(t)&&e.queries.elementEnd(t))}function Zs(t,e,n){Xs(t,e,n),Ks()}function Js(){return Ht()}function ta(t){return!!t&&\"function\"==typeof t.then}function ea(t){return!!t&&\"function\"==typeof t.subscribe}function na(t,e,n=!1,i){const r=Ht(),s=Ut(),a=Qt();return ra(s,r,r[11],a,t,e,n,i),na}function ia(t,e,n=!1,i){const r=Qt(),s=Ht(),a=kr(r,s);return ra(Ut(),s,a,r,t,e,n,i),ia}function ra(t,e,n,i,r,s,a=!1,o){const l=Ft(i),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),h=xr(e);let d=!0;if(3===i.type){const u=ai(i,e),p=o?o(u):_t,m=p.target||u,f=h.length,g=o?t=>o(ri(t[i.index])).target:i.index;if(Oe(n)){let a=null;if(!o&&l&&(a=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const t=r[s];if(t===n&&r[s+1]===i){const t=e[7],n=r[s+2];return t.length>n?t[n]:null}\"string\"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,d=!1;else{s=aa(i,e,s,!1);const t=n.listen(p.name||m,r,s);h.push(s,t),c&&c.push(r,g,f,f+1)}}else s=aa(i,e,s,!0),m.addEventListener(r,s,a),h.push(s),c&&c.push(r,g,f,a)}const u=i.outputs;let p;if(d&&null!==u&&(p=u[r])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),a=h.length;h.push(s,t),c&&c.push(r,i.index,a,-(a+1))}}}function sa(t,e,n){try{return!1!==e(n)}catch(i){return Or(t,i),!1}}function aa(t,e,n,i){return function r(s){if(s===Function)return n;const a=2&t.flags?ci(t.index,e):e;0==(32&e[2])&&br(a);let o=sa(e,n,s),l=r.__ngNextListenerFn__;for(;l;)o=sa(e,l,s)&&o,l=l.__ngNextListenerFn__;return i&&!1===o&&(s.preventDefault(),s.returnValue=!1),o}}function oa(t=1){return function(t){return(zt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,zt.lFrame.contextLView))[8]}(t)}function la(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r<e.length;r++){const s=e[r];if(\"*\"!==s){if(null===i?ki(t,s,!0):Oi(i,s))return r}else n=r}return n}function ca(t){const e=Ht()[16][6];if(!e.projection){const n=e.projection=dt(t?t.length:1,null),i=n.slice();let r=e.child;for(;null!==r;){const e=t?la(r,t):0;null!==e&&(i[e]?i[e].projectionNext=r:n[e]=r,i[e]=r),r=r.next}}}function ha(t,e=0,n){const i=Ht(),r=Ut(),s=Bi(r,i[6],t,1,null,n||null);null===s.projection&&(s.projection=e),$t(),function(t,e,n){Yr(e[11],0,e,n,Fr(t,n,e),Hr(n.parent||e[6],e))}(r,i,s)}function da(t,e,n){return ua(t,\"\",e,\"\",n),da}function ua(t,e,n,i,r){const s=Ht(),a=Ns(s,e,n,i);if(a!==Pi){const e=de();Ji(Ut(),s,e,t,a,r)}return ua}function pa(t,e,n,i,r,s,a){const o=Ht(),l=Vs(o,e,n,i,r,s);if(l!==Pi){const e=de();Ji(Ut(),o,e,t,l,a)}return pa}const ma=[];function fa(t,e,n,i,r){const s=t[n+1],a=null===e;let o=i?Ti(s):ji(s),l=!1;for(;0!==o&&(!1===l||a);){const n=t[o+1];ga(t[o],e)&&(l=!0,t[o+1]=i?Fi(n):Ii(n)),o=i?Ti(n):ji(n)}l&&(t[n+1]=i?Ii(s):Fi(s))}function ga(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||\"string\"!=typeof e)&&mt(t,e)>=0}const ba={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _a(t){return t.substring(ba.key,ba.keyEnd)}function ya(t,e){const n=ba.textEnd;return n===e?-1:(e=ba.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,ba.key=e,n),va(t,e,n))}function va(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function wa(t,e,n){return Oa(t,e,n,!1),wa}function xa(t,e){return Oa(t,e,null,!0),xa}function Ca(t){Sa(ut,ka,t,!0)}function ka(t,e){for(let n=function(t){return function(t){ba.key=0,ba.keyEnd=0,ba.value=0,ba.valueEnd=0,ba.textEnd=t.length}(t),ya(t,va(t,0,ba.textEnd))}(e);n>=0;n=ya(e,n))ut(t,_a(e),!0)}function Oa(t,e,n,i){const r=Ht(),s=Ut(),a=te(2);if(s.firstUpdatePass&&Pa(s,t,a,i),e!==Pi&&js(r,a,e)){let o;null==n&&(o=function(){const t=zt.lFrame;return null===t?null:t.currentSanitizer}())&&(n=o),Da(s,s.data[de()+19],r,r[11],t,r[a+1]=function(t,e){return null==t||(\"function\"==typeof e?t=e(t):\"string\"==typeof e?t+=e:\"object\"==typeof t&&(t=M(gn(t)))),t}(e,n),i,a)}}function Sa(t,e,n,i){const r=Ut(),s=te(2);r.firstUpdatePass&&Pa(r,null,s,i);const a=Ht();if(n!==Pi&&js(a,s,n)){const o=r.data[de()+19];if(Ia(o,i)&&!Ma(r,s)){let t=i?o.classes:o.styles;null!==t&&(n=P(t,n||\"\")),Ws(r,o,a,n,i)}else!function(t,e,n,i,r,s,a,o){r===Pi&&(r=ma);let l=0,c=0,h=0<r.length?r[0]:null,d=0<s.length?s[0]:null;for(;null!==h||null!==d;){const u=l<r.length?r[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let m=null,f=void 0;h===d?(l+=2,c+=2,u!==p&&(m=d,f=p)):null===d||null!==h&&h<d?(l+=2,m=h):(c+=2,m=d,f=p),null!==m&&Da(t,e,n,i,m,f,a,o),h=l<r.length?r[l]:null,d=c<s.length?s[c]:null}}(r,o,a,a[11],a[s+1],a[s+1]=function(t,e,n){if(null==n||\"\"===n)return ma;const i=[],r=gn(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)t(i,r[s],!0);else if(\"object\"==typeof r)for(const s in r)r.hasOwnProperty(s)&&t(i,s,r[s]);else\"string\"==typeof r&&e(i,r);return i}(t,e,n),i,s)}}function Ma(t,e){return e>=t.expandoStartIndex}function Pa(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[de()+19],a=Ma(t,n);Ia(s,i)&&null===e&&!a&&(e=!1),e=function(t,e,n,i){const r=function(t){const e=zt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Aa(n=Ea(null,t,e,n,i),e.attrs,i),s=null);else{const a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(n=Ea(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ji(i))return t[Ti(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Ea(null,t,e,n[1],i),n=Aa(n,e.attrs,i),function(t,e,n,i){t[Ti(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i=void 0;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=Aa(i,t[s].hostAttrs,n);return Aa(i,e.attrs,n)}(t,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),n}(r,s,e,i),function(t,e,n,i,r,s){let a=s?e.classBindings:e.styleBindings,o=Ti(a),l=ji(a);t[i]=n;let c,h=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||mt(t,c)>0)&&(h=!0)}else c=n;if(r)if(0!==l){const e=Ti(t[o+1]);t[i+1]=Ri(e,o),0!==e&&(t[e+1]=Li(t[e+1],i)),t[o+1]=131071&t[o+1]|i<<17}else t[i+1]=Ri(o,0),0!==o&&(t[o+1]=Li(t[o+1],i)),o=i;else t[i+1]=Ri(l,0),0===o?o=i:t[l+1]=Li(t[l+1],i),l=i;h&&(t[i+1]=Ii(t[i+1])),fa(t,c,i,!0),fa(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&\"string\"==typeof e&&mt(s,e)>=0&&(n[i+1]=Fi(n[i+1]))}(e,c,t,i,s),a=Ri(o,l),s?e.classBindings=a:e.styleBindings=a}(r,s,e,n,a,i)}}function Ea(t,e,n,i,r){let s=null;const a=n.directiveEnd;let o=n.directiveStylingLast;for(-1===o?o=n.directiveStart:o++;o<a&&(s=e[o],i=Aa(i,s.hostAttrs,r),s!==t);)o++;return null!==t&&(n.directiveStylingLast=o),i}function Aa(t,e,n){const i=n?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];\"number\"==typeof a?r=a:r===i&&(Array.isArray(t)||(t=void 0===t?[]:[\"\",t]),ut(t,a,!!n||e[++s]))}return void 0===t?null:t}function Da(t,e,n,i,r,s,a,o){if(3!==e.type)return;const l=t.data,c=l[o+1];Ta(1==(1&c)?Ra(l,e,n,r,ji(c),a):void 0)||(Ta(s)||function(t){return 2==(2&t)}(c)&&(s=Ra(l,null,n,r,o,a)),function(t,e,n,i,r){const s=Oe(t);if(e)r?s?t.addClass(n,i):n.classList.add(i):s?t.removeClass(n,i):n.classList.remove(i);else{const e=-1==i.indexOf(\"-\")?void 0:2;null==r?s?t.removeStyle(n,i,e):n.style.removeProperty(i):s?t.setStyle(n,i,r,e):n.style.setProperty(i,r)}}(i,a,si(de(),n),r,s))}function Ra(t,e,n,i,r,s){const a=null===e;let o=void 0;for(;r>0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let h=n[r+1];h===Pi&&(h=c?ma:void 0);let d=c?pt(h,i):l===i?h:void 0;if(s&&!Ta(d)&&(d=pt(e,i)),Ta(d)&&(o=d,a))return o;const u=t[r+1];r=a?Ti(u):ji(u)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(o=pt(t,i))}return o}function Ta(t){return void 0!==t}function Ia(t,e){return 0!=(t.flags&(e?16:32))}function ja(t,e=\"\"){const n=Ht(),i=Ut(),r=t+19,s=i.firstCreatePass?Bi(i,n[6],t,3,null,null):i.data[r],a=n[r]=function(t,e){return Oe(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Ur(i,n,a,s),Wt(s,!1)}function La(t){return Fa(\"\",t,\"\"),La}function Fa(t,e,n){const i=Ht(),r=Ns(i,t,e,n);return r!==Pi&&Mr(i,de(),r),Fa}function Na(t,e,n,i,r){const s=Ht(),a=Vs(s,t,e,n,i,r);return a!==Pi&&Mr(s,de(),a),Na}function Va(t,e,n,i,r,s,a,o,l){const c=Ht(),h=function(t,e,n,i,r,s,a,o,l,c){const h=function(t,e,n,i,r,s){const a=Ls(t,e,n,i);return Ls(t,e+2,r,s)||a}(t,Zt(),n,r,a,l);return te(4),h?e+Le(n)+i+Le(r)+s+Le(a)+o+Le(l)+c:Pi}(c,t,e,n,i,r,s,a,o,l);return h!==Pi&&Mr(c,de(),h),Va}function za(t,e,n){Sa(ut,ka,Ns(Ht(),t,e,n),!0)}function Ba(t,e,n){const i=Ht();if(js(i,Jt(),e)){const r=de();Ji(Ut(),i,r,t,e,n,!0)}return Ba}function Ha(t,e,n){const i=Ht();if(js(i,Jt(),e)){const r=de();Ji(Ut(),i,r,t,e,n,!0,kr)}return Ha}function Ua(t,e){const n=hi(t)[1],i=n.data.length-1;fe(n,{directiveStart:i,directiveEnd:i+1})}function qa(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let r=void 0;if(Nt(t))r=e.\\u0275cmp||e.\\u0275dir;else{if(e.\\u0275cmp)throw new Error(\"Directives cannot inherit Components\");r=e.\\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=Qa(t.inputs),e.declaredInputs=Qa(t.declaredInputs),e.outputs=Qa(t.outputs);const n=r.hostBindings;n&&$a(t,n);const s=r.viewQuery,a=r.contentQueries;if(s&&Wa(t,s),a&&Ya(t,a),f(t.inputs,r.inputs),f(t.declaredInputs,r.declaredInputs),f(t.outputs,r.outputs),Nt(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}e.afterContentChecked=e.afterContentChecked||r.afterContentChecked,e.afterContentInit=t.afterContentInit||r.afterContentInit,e.afterViewChecked=t.afterViewChecked||r.afterViewChecked,e.afterViewInit=t.afterViewInit||r.afterViewInit,e.doCheck=t.doCheck||r.doCheck,e.onDestroy=t.onDestroy||r.onDestroy,e.onInit=t.onInit||r.onInit}const e=r.features;if(e)for(let i=0;i<e.length;i++){const r=e[i];r&&r.ngInherit&&r(t),r===qa&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Ae(r.hostAttrs,n=Ae(n,r.hostAttrs))}}(i)}function Qa(t){return t===_t?{}:t===yt?[]:t}function Wa(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ya(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function $a(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}class Ga{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Xa(){return Ka.ngInherit=!0,Ka}function Ka(t){t.type.prototype.ngOnChanges&&(t.setInput=Za,t.onChanges=function(){const t=Ja(this),e=t&&t.current;if(e){const n=t.previous;if(n===_t)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Za(t,e,n,i){const r=Ja(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:_t,current:null}),s=r.current||(r.current={}),a=r.previous,o=this.declaredInputs[n],l=a[o];s[o]=new Ga(l&&l.currentValue,e,a===_t),t[i]=e}function Ja(t){return t.__ngSimpleChanges__||null}function to(t,e,n,i,r){if(t=D(t),Array.isArray(t))for(let s=0;s<t.length;s++)to(t[s],e,n,i,r);else{const s=Ut(),a=Ht();let o=ys(t)?t:D(t.provide),l=gs(t);const c=Qt(),h=65535&c.providerIndexes,d=c.directiveStart,u=c.providerIndexes>>16;if(ys(t)||!t.multi){const i=new we(l,r,Hs),p=io(o,e,r?h:h+u,d);-1===p?(Ge(Qe(c,a),s,o),eo(s,t,e.length),e.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=65536),n.push(i),a.push(i)):(n[p]=i,a[p]=i)}else{const p=io(o,e,h+u,d),m=io(o,e,h,h+u),f=p>=0&&n[p],g=m>=0&&n[m];if(r&&!g||!r&&!f){Ge(Qe(c,a),s,o);const h=function(t,e,n,i,r){const s=new we(t,n,Hs);return s.multi=[],s.index=e,s.componentProviders=0,no(s,r,i&&!n),s}(r?so:ro,n.length,r,i,l);!r&&g&&(n[m].providerFactory=h),eo(s,t,e.length),e.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=65536),n.push(h),a.push(h)}else eo(s,t,p>-1?p:m),no(n[r?m:p],l,!r&&i);!r&&i&&g&&n[m].componentProviders++}}}function eo(t,e,n){if(ys(e)||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;i&&(t.destroyHooks||(t.destroyHooks=[])).push(n,i)}}function no(t,e,n){t.multi.push(e),n&&t.componentProviders++}function io(t,e,n,i){for(let r=n;r<i;r++)if(e[r]===t)return r;return-1}function ro(t,e,n,i){return ao(this.multi,[])}function so(t,e,n,i){const r=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=tn(n,n[1],this.providerFactory.index,i);s=e.slice(0,t),ao(r,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],ao(r,s);return s}function ao(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function oo(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=Ut();if(i.firstCreatePass){const r=Nt(t);to(n,i.data,i.blueprint,r,!0),to(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class lo{}class co{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${M(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ho=(()=>{class t{}return t.NULL=new co,t})(),uo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>po(t),t})();const po=function(t){return es(t,Qt(),Ht())};class mo{}const fo=function(){var t={Important:1,DashCase:2};return t[t.Important]=\"Important\",t[t.DashCase]=\"DashCase\",t}();let go=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>bo(),t})();const bo=function(){const t=Ht(),e=ci(Qt().index,t);return function(t){const e=t[11];if(Oe(e))return e;throw new Error(\"Cannot inject Renderer2 when the application uses Renderer3!\")}(Tt(e)?e:t)};let _o=(()=>{class t{}return t.\\u0275prov=g({token:t,providedIn:\"root\",factory:()=>null}),t})();class yo{constructor(t){this.full=t,this.major=t.split(\".\")[0],this.minor=t.split(\".\")[1],this.patch=t.split(\".\").slice(2).join(\".\")}}const vo=new yo(\"9.0.4\");class wo{constructor(){}supports(t){return Ds(t)}create(t){return new Co(t)}}const xo=(t,e)=>e;class Co{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||xo}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex<Mo(n,i,r)?e:n,a=Mo(s,i,r),o=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{r||(r=[]);const t=a-i,e=o-i;if(t!=e){for(let n=0;n<t;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;e<=s&&s<t&&(r[n]=i+1)}r[s.previousIndex]=e-t}}a!==o&&t(s,a,o)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ds(t))throw new Error(`Error trying to diff '${M(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,r=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==r&&Es(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,e)),Es(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,e),s=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ps()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==r&&Es(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Es(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Es(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Es(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new ko(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new So),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new So),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ko{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Oo{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Es(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class So{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Oo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Mo(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+e+r}class Po{constructor(){}supports(t){return t instanceof Map||Rs(t)}create(){return new Eo}}class Eo{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Rs(t)))throw new Error(`Error trying to diff '${M(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Ao(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Es(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Ao{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Do=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error(\"Cannot extend IterableDiffers without a parent injector\");return t.create(e,n)},deps:[[t,new u,new h]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\\u0275prov=g({token:t,providedIn:\"root\",factory:()=>new t([new wo])}),t})(),Ro=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error(\"Cannot extend KeyValueDiffers without a parent injector\");return t.create(e,n)},deps:[[t,new u,new h]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\\u0275prov=g({token:t,providedIn:\"root\",factory:()=>new t([new Po])}),t})();const To=[new Po],Io=new Do([new wo]),jo=new Ro(To);let Lo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Fo(t,uo),t})();const Fo=function(t,e){return ns(t,e,Qt(),Ht())};let No=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Vo(t,uo),t})();const Vo=function(t,e){return is(t,e,Qt(),Ht())},zo={};class Bo extends ho{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=At(t);return new qo(e,this.ngModule)}}function Ho(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Uo=new Q(\"SCHEDULER_TOKEN\",{providedIn:\"root\",factory:()=>Ne});class qo extends lo{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Mi).join(\",\"),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ho(this.componentDef.inputs)}get outputs(){return Ho(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,zo,r);return s!==zo||i===zo?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(mo,Se),a=r.get(_o,null),o=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||\"div\",c=n?function(t,e,n){if(Oe(t))return t.selectRootElement(e,n===gt.ShadowDom);let i=\"string\"==typeof e?t.querySelector(e):e;return i.textContent=\"\",i}(o,n,this.componentDef.encapsulation):Vi(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return\"svg\"===e?\"http://www.w3.org/2000/svg\":\"math\"===e?\"http://www.w3.org/1998/MathML/\":null}(l)),h=this.componentDef.onPush?576:528,d=\"string\"==typeof n&&/^#root-ng-internal-isolated-\\d+/.test(n),u={components:[],scheduler:Ne,clean:wr,playerHandler:null,flags:0},p=Xi(0,-1,null,1,0,null,null,null,null,null),m=zi(null,p,u,h,null,null,s,o,a,r);let f,g;se(m,null);try{const t=function(t,e,n,i,r,s){const a=n[1];n[19]=t;const o=Bi(a,null,0,3,null,null),l=o.mergedAttrs=e.hostAttrs;null!==l&&(Ss(o,l),null!==t&&(Me(r,t,l),null!==o.classes&&Gr(r,t,o.classes),null!==o.styles&&$r(r,t,o.styles)));const c=i.createRenderer(t,e),h=zi(n,Gi(e),null,e.onPush?64:16,n[19],o,i,c,void 0);return a.firstCreatePass&&(Ge(Qe(o,n),a,e.type),sr(a,o),or(o,n.length,1)),gr(n,h),n[19]=h}(c,this.componentDef,m,s,o);if(c)if(n)Me(o,c,[\"ng-version\",vo.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i<t.length;){let s=t[i];if(\"string\"==typeof s)2===r?\"\"!==s&&e.push(s,t[++i]):8===r&&n.push(s);else{if(!xi(r))break;r=s}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Me(o,c,t),e&&e.length>0&&Gr(o,c,e.join(\" \"))}g=oi(m[1],0),e&&(g.projection=e.map(t=>Array.from(t))),f=function(t,e,n,i,r){const s=n[1],a=function(t,e,n){const i=Qt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),rr(t,i,1),lr(t,e,n));const r=tn(e,t,e.length-1,i);fi(r,e);const s=ai(i,e);return s&&fi(s,e),r}(s,n,e);i.components.push(a),t[8]=a,r&&r.forEach(t=>t(a,e)),e.contentQueries&&e.contentQueries(1,a,n.length-1);const o=Qt();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){ue(o.index-19);const t=n[1];er(t,e),nr(t,n,e.hostVars),ir(e,a)}return a}(t,this.componentDef,m,u,[Ua]),Hi(p,m,null)}finally{he()}const b=new Qo(this.componentType,f,es(uo,g,m),m,g);return n&&!d||(b.hostView._tViewNode.child=g),b}}class Qo extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Kr(i),this.hostView._tViewNode=function(t,e,n,i){let r=t.node;return null==r&&(t.node=r=Ki(0,null,2,-1,null,null)),i[6]=r}(i[1],0,0,i),this.componentType=t}get injector(){return new rn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Wo=void 0;var Yo=[\"en\",[[\"a\",\"p\"],[\"AM\",\"PM\"],Wo],[[\"AM\",\"PM\"],Wo,Wo],[[\"S\",\"M\",\"T\",\"W\",\"T\",\"F\",\"S\"],[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]],Wo,[[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"],[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]],Wo,[[\"B\",\"A\"],[\"BC\",\"AD\"],[\"Before Christ\",\"Anno Domini\"]],0,[6,0],[\"M/d/yy\",\"MMM d, y\",\"MMMM d, y\",\"EEEE, MMMM d, y\"],[\"h:mm a\",\"h:mm:ss a\",\"h:mm:ss a z\",\"h:mm:ss a zzzz\"],[\"{1}, {0}\",Wo,\"{1} 'at' {0}\",Wo],[\".\",\",\",\";\",\"%\",\"+\",\"-\",\"E\",\"\\xd7\",\"\\u2030\",\"\\u221e\",\"NaN\",\":\"],[\"#,##0.###\",\"#,##0%\",\"\\xa4#,##0.00\",\"#E0\"],\"USD\",\"$\",\"US Dollar\",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\\.?/,\"\").length;return 1===e&&0===n?1:5}];let $o={};function Go(t,e,n){\"string\"!=typeof e&&(n=e,e=t[tl.LocaleId]),e=e.toLowerCase().replace(/_/g,\"-\"),$o[e]=t,n&&($o[e][tl.ExtraData]=n)}function Xo(t){const e=function(t){return t.toLowerCase().replace(/_/g,\"-\")}(t);let n=Jo(e);if(n)return n;const i=e.split(\"-\")[0];if(n=Jo(i),n)return n;if(\"en\"===i)return Yo;throw new Error(`Missing locale data for the locale \"${t}\".`)}function Ko(t){return Xo(t)[tl.CurrencyCode]||null}function Zo(t){return Xo(t)[tl.PluralCase]}function Jo(t){return t in $o||($o[t]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[t]),$o[t]}const tl=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return t[t.LocaleId]=\"LocaleId\",t[t.DayPeriodsFormat]=\"DayPeriodsFormat\",t[t.DayPeriodsStandalone]=\"DayPeriodsStandalone\",t[t.DaysFormat]=\"DaysFormat\",t[t.DaysStandalone]=\"DaysStandalone\",t[t.MonthsFormat]=\"MonthsFormat\",t[t.MonthsStandalone]=\"MonthsStandalone\",t[t.Eras]=\"Eras\",t[t.FirstDayOfWeek]=\"FirstDayOfWeek\",t[t.WeekendRange]=\"WeekendRange\",t[t.DateFormat]=\"DateFormat\",t[t.TimeFormat]=\"TimeFormat\",t[t.DateTimeFormat]=\"DateTimeFormat\",t[t.NumberSymbols]=\"NumberSymbols\",t[t.NumberFormats]=\"NumberFormats\",t[t.CurrencyCode]=\"CurrencyCode\",t[t.CurrencySymbol]=\"CurrencySymbol\",t[t.CurrencyName]=\"CurrencyName\",t[t.Currencies]=\"Currencies\",t[t.PluralCase]=\"PluralCase\",t[t.ExtraData]=\"ExtraData\",t}();let el=\"en-US\";function nl(t){var e,n;n=\"Expected localeId to be defined\",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+` [Expected=> null != ${e} <=Actual]`)}(n,e),\"string\"==typeof t&&(el=t.toLowerCase().replace(/_/g,\"-\"))}const il=new Map;class rl extends at{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Bo(this);const n=Rt(t),i=t[H]||null;i&&nl(i),this._bootstrapComponents=Be(n.bootstrap),this._r3Injector=ps(t,e,[{provide:at,useValue:this},{provide:ho,useValue:this.componentFactoryResolver}],M(t)),this.instance=this.get(t)}get(t,e=ws.THROW_IF_NOT_FOUND,n=p.Default){return t===ws||t===at||t===W?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sl extends ot{constructor(t){super(),this.moduleType=t,null!==Rt(t)&&function t(e){if(null!==e.\\u0275mod.id){const t=e.\\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${M(e)} vs ${M(e.name)}`)})(t,il.get(t),e),il.set(t,e)}let n=e.\\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new rl(this.moduleType,t)}}function al(t,e,n){const i=Kt()+t,r=Ht();return r[i]===Pi?Ts(r,i,n?e.call(n):e()):Is(r,i)}function ol(t,e,n,i){return cl(Ht(),Kt(),t,e,n,i)}function ll(t,e,n,i,r){return hl(Ht(),Kt(),t,e,n,i,r)}function cl(t,e,n,i,r,s){const a=e+n;return js(t,a,r)?Ts(t,a+1,s?i.call(s,r):i(r)):Is(t,a+1)}function hl(t,e,n,i,r,s,a){const o=e+n;return Ls(t,o,r,s)?Ts(t,o+2,a?i.call(a,r,s):i(r,s)):Is(t,o+2)}function dl(t,e){const n=Ut();let i;const r=t+19;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=Dt(i.type)),a=J(Hs),o=s();return J(a),function(t,e,n,i){const r=n+19;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=i}(n,Ht(),t,o),o}function ul(t,e,n){const i=Ht(),r=li(i,t);return fl(i,ml(i,t)?cl(i,Kt(),e,r.transform,n,r):r.transform(n))}function pl(t,e,n,i){const r=Ht(),s=li(r,t);return fl(r,ml(r,t)?hl(r,Kt(),e,s.transform,n,i,s):s.transform(n,i))}function ml(t,e){return t[1].data[e+19].pure}function fl(t,e){return As.isWrapped(e)&&(e=As.unwrap(e),t[Zt()]=Pi),e}class gl extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,a=()=>null;t&&\"object\"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(a=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(a=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(i,s,a);return t instanceof r.a&&t.add(o),o}}function bl(){return this._results[Ps()]()}class _l{constructor(){this.dirty=!0,this._results=[],this.changes=new gl,this.length=0;const t=Ps(),e=_l.prototype;e[t]||(e[t]=bl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?(n===e&&(n=e.slice(0,i)),t(r,n)):n!==e&&n.push(r)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class yl{constructor(t){this.queryList=t,this.matches=null}clone(){return new yl(this.queryList)}setDirty(){this.queryList.setDirty()}}class vl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new vl(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Fl(t,e).matches&&this.queries[e].setDirty()}}class wl{constructor(t,e,n,i=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=i}}class xl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new xl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Cl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Cl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let i=0;i<n.length;i++)this.matchTNodeWithReadOption(t,e,kl(e,n[i]))}else{const n=this.metadata.predicate;n===Lo?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Je(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===uo||i===No||i===Lo&&0===e.type)this.addMatch(e.index,-2);else{const n=Je(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function kl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Ol(t,e,n,i){return-1===n?function(t,e){return 3===t.type||4===t.type?es(uo,t,e):0===t.type?ns(Lo,uo,t,e):null}(e,t):-2===n?function(t,e,n){return n===uo?es(uo,e,t):n===Lo?ns(Lo,uo,e,t):n===No?is(No,uo,e,t):void 0}(t,e,i):tn(t,t[1],n,e)}function Sl(t,e,n,i){const r=e[5].queries[i];if(null===r.matches){const i=t.data,s=n.matches,a=[];for(let t=0;t<s.length;t+=2){const r=s[t];a.push(r<0?null:Ol(e,i[r],s[t+1],n.metadata.read))}r.matches=a}return r.matches}function Ml(t){const e=Ht(),n=Ut(),i=ne();ie(i+1);const r=Fl(n,i);if(t.dirty&&di(e)===r.metadata.isStatic){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?function t(e,n,i,r){const s=e.queries.getByIndex(i),a=s.matches;if(null!==a){const o=Sl(e,n,s,i);for(let e=0;e<a.length;e+=2){const i=a[e];if(i>0)r.push(o[e/2]);else{const s=a[e+1],o=n[-i];for(let e=9;e<o.length;e++){const n=o[e];n[17]===n[3]&&t(n[1],n,s,r)}if(null!==o[5]){const e=o[5];for(let n=0;n<e.length;n++){const i=e[n];t(i[1],i,s,r)}}}}}return r}(n,e,i,[]):Sl(n,e,r,i);t.reset(s),t.notifyOnChanges()}return!0}return!1}function Pl(t,e,n){Al(Ut(),Ht(),t,e,n,!0)}function El(t,e,n){Al(Ut(),Ht(),t,e,n,!1)}function Al(t,e,n,i,r,s){t.firstCreatePass&&(Ll(t,new wl(n,i,s,r),-1),s&&(t.staticViewQueries=!0)),jl(t,e)}function Dl(t,e,n,i){Tl(Ut(),Ht(),e,n,i,!1,Qt(),t)}function Rl(t,e,n,i){Tl(Ut(),Ht(),e,n,i,!0,Qt(),t)}function Tl(t,e,n,i,r,s,a,o){t.firstCreatePass&&(Ll(t,new wl(n,i,s,r),a.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,o),s&&(t.staticContentQueries=!0)),jl(t,e)}function Il(){return t=Ht(),e=ne(),t[5].queries[e].queryList;var t,e}function jl(t,e){const n=new _l;!function(t,e,n,i){const r=xr(e);r.push(n),t.firstCreatePass&&Cr(t).push(i,r.length-1)}(t,e,n,n.destroy),null===e[5]&&(e[5]=new vl),e[5].queries.push(new yl(n))}function Ll(t,e,n){null===t.queries&&(t.queries=new xl),t.queries.track(new Cl(e,n))}function Fl(t,e){return t.queries.getByIndex(e)}function Nl(t,e){return ns(Lo,uo,t,e)}function Vl(t=p.Default){const e=rs(!0);if(null!=e||t&p.Optional)return e;throw new Error(\"No provider for ChangeDetectorRef!\")}const zl=new Q(\"Application Initializer\");let Bl=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();ta(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\\u0275fac=function(e){return new(e||t)(et(zl,8))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();const Hl=new Q(\"AppId\"),Ul={provide:Hl,useFactory:function(){return`${ql()}${ql()}${ql()}`},deps:[]};function ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ql=new Q(\"Platform Initializer\"),Wl=new Q(\"Platform ID\"),Yl=new Q(\"appBootstrapListener\");let $l=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();const Gl=new Q(\"LocaleId\"),Xl=new Q(\"DefaultCurrencyCode\");class Kl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Zl=function(t){return new sl(t)},Jl=Zl,tc=function(t){return Promise.resolve(Zl(t))},ec=function(t){const e=Zl(t),n=Be(Rt(t).declarations).reduce((t,e)=>{const n=At(e);return n&&t.push(new qo(n)),t},[]);return new Kl(e,n)},nc=ec,ic=function(t){return Promise.resolve(ec(t))};let rc=(()=>{class t{constructor(){this.compileModuleSync=Jl,this.compileModuleAsync=tc,this.compileModuleAndAllComponentsSync=nc,this.compileModuleAndAllComponentsAsync=ic}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();const sc=new Q(\"compilerOptions\"),ac=(()=>Promise.resolve(0))();function oc(t){\"undefined\"==typeof Zone?ac.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask(\"scheduleMicrotask\",t)}class lc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gl(!1),this.onMicrotaskEmpty=new gl(!1),this.onStable=new gl(!1),this.onError=new gl(!1),\"undefined\"==typeof Zone)throw new Error(\"In this configuration Angular requires Zone.js\");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=F.requestAnimationFrame,e=F.cancelAnimationFrame;if(\"undefined\"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__(\"OriginalDelegate\")];n&&(t=n);const i=e[Zone.__symbol__(\"OriginalDelegate\")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(F,()=>{t.lastRequestAnimationFrameId=-1,uc(t),dc(t)}),uc(t))}(t)});t._inner=t._inner.fork({name:\"angular\",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,i,r,s,a,o)=>{try{return pc(t),n.invokeTask(r,s,a,o)}finally{e&&\"eventTask\"===s.type&&e(),mc(t)}},onInvoke:(e,n,i,r,s,a,o)=>{try{return pc(t),e.invoke(i,r,s,a,o)}finally{mc(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&(\"microTask\"==r.change?(t._hasPendingMicrotasks=r.microTask,uc(t),dc(t)):\"macroTask\"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get(\"isAngularZone\")}static assertInAngularZone(){if(!lc.isInAngularZone())throw new Error(\"Expected to be in Angular Zone, but it is not!\")}static assertNotInAngularZone(){if(lc.isInAngularZone())throw new Error(\"Expected to not be in Angular Zone, but it is!\")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,s=r.scheduleEventTask(\"NgZoneEvent: \"+i,t,hc,cc,cc);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function cc(){}const hc={};function dc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function uc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function pc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function mc(t){t._nesting--,dc(t)}class fc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gl,this.onMicrotaskEmpty=new gl,this.onStable=new gl,this.onError=new gl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let gc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=\"undefined\"==typeof Zone?null:Zone.current.get(\"TaskTrackingZone\")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{lc.assertNotInAngularZone(),oc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error(\"pending async requests below zero\");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())oc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is \"zone.js/dist/task-tracking.js\" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\\u0275fac=function(e){return new(e||t)(et(lc))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})(),bc=(()=>{class t{constructor(){this._applications=new Map,wc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return wc.findTestabilityInTree(this,t,e)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();class _c{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function yc(t){wc=t}let vc,wc=new _c,xc=function(t,e,n){const i=new sl(n);if(0===Cs.size)return Promise.resolve(i);const r=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(sc,[]).concat(e).map(t=>t.providers));if(0===r.length)return Promise.resolve(i);const s=function(){const t=F.ng;if(!t||!t.\\u0275compilerFacade)throw new Error(\"Angular JIT compilation failed: '@angular/compiler' not loaded!\\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\\n  - Alternatively provide the compiler with 'import \\\"@angular/compiler\\\";' before bootstrapping.\");return t.\\u0275compilerFacade}(),a=ws.create({providers:r}).get(s.ResourceLoader);return function(t){const e=[],n=new Map;function i(t){let e=n.get(t);if(!e){const i=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=i.then(Os))}return e}return Cs.forEach((t,n)=>{const r=[];t.templateUrl&&r.push(i(t.templateUrl).then(e=>{t.template=e}));const s=t.styleUrls,a=t.styles||(t.styles=[]),o=t.styles.length;s&&s.forEach((e,n)=>{a.push(\"\"),r.push(i(e).then(i=>{a[o+n]=i,s.splice(s.indexOf(e),1),0==s.length&&(t.styleUrls=void 0)}))});const l=Promise.all(r).then(()=>function(t){ks.delete(t)}(n));e.push(l)}),Cs=new Map,Promise.all(e).then(()=>{})}().then(()=>i)};const Cc=new Q(\"AllowMultipleToken\");class kc{constructor(t,e){this.name=t,this.token=e}}function Oc(t,e,n=[]){const i=`Platform: ${e}`,r=new Q(i);return(e=[])=>{let s=Sc();if(!s||s.injector.get(Cc,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:os,useValue:\"platform\"});!function(t){if(vc&&!vc.destroyed&&!vc.injector.get(Cc,!1))throw new Error(\"There can be only one platform. Destroy the previous one to create a new one.\");vc=t.get(Mc);const e=t.get(Ql,null);e&&e.forEach(t=>t())}(ws.create({providers:t,name:i}))}return function(t){const e=Sc();if(!e)throw new Error(\"No platform exists!\");if(!e.injector.get(t,null))throw new Error(\"A platform with a different configuration has been created. Please destroy it first.\");return e}(r)}}function Sc(){return vc&&!vc.destroyed?vc:null}let Mc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n=\"noop\"===t?new fc:(\"zone.js\"===t?void 0:t)||new lc({enableLongStackTrace:Sn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),i=[{provide:lc,useValue:n}];return n.run(()=>{const e=ws.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(cn,null);if(!s)throw new Error(\"No ErrorHandler. Is platform module (BrowserModule) included?\");return r.onDestroy(()=>Ac(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const i=n();return ta(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(Bl);return t.runInitializers(),t.donePromise.then(()=>(nl(r.injector.get(Gl,\"en-US\")||\"en-US\"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Pc({},e);return xc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Ec);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${M(t.instance.constructor)} was bootstrapped, but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. `+\"Please define one of these.\");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error(\"The platform has already been destroyed!\");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\\u0275fac=function(e){return new(e||t)(et(ws))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();function Pc(t,e){return Array.isArray(e)?e.reduce(Pc,t):Object.assign(Object.assign({},t),e)}let Ec=(()=>{class t{constructor(t,e,n,i,r,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Sn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{lc.assertNotInAngularZone(),oc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{lc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(c,h.pipe(Object(o.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error(\"Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.\");let n;n=t instanceof lo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(at),r=n.create(ws.NULL,[],e||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(gc,null);return s&&r.injector.get(bc).registerApplication(r.location.nativeElement,s),this._loadComponent(r),Sn()&&this._console.log(\"Angular is running in the development mode. Call enableProdMode() to enable the production mode.\"),r}tick(){if(this._runningTick)throw new Error(\"ApplicationRef.tick is called recursively\");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ac(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Ac(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\\u0275fac=function(e){return new(e||t)(et(lc),et($l),et(ws),et(cn),et(ho),et(Bl))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();function Ac(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Dc{}class Rc{}const Tc={factoryPathPrefix:\"\",factoryPathSuffix:\".ngfactory\"};let Ic=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Tc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split(\"#\");return void 0===i&&(i=\"default\"),n(\"crnd\")(e).then(t=>t[i]).then(t=>jc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split(\"#\"),r=\"NgFactory\";return void 0===i&&(i=\"default\",r=\"\"),n(\"crnd\")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>jc(t,e,i))}}return t.\\u0275fac=function(e){return new(e||t)(et(rc),et(Rc,8))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();function jc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Lc extends ss{}class Fc extends Lc{}const Nc=function(t){return null},Vc=Oc(null,\"core\",[{provide:Wl,useValue:\"unknown\"},{provide:Mc,deps:[ws]},{provide:bc,deps:[]},{provide:$l,deps:[]}]),zc=[{provide:Ec,useClass:Ec,deps:[lc,$l,ws,cn,ho,Bl]},{provide:Uo,deps:[lc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Bl,useClass:Bl,deps:[[new h,zl]]},{provide:rc,useClass:rc,deps:[]},Ul,{provide:Do,useFactory:function(){return Io},deps:[]},{provide:Ro,useFactory:function(){return jo},deps:[]},{provide:Gl,useFactory:function(t){return nl(t=t||\"undefined\"!=typeof $localize&&$localize.locale||\"en-US\"),t},deps:[[new c(Gl),new h,new u]]},{provide:Xl,useValue:\"USD\"}];let Bc=(()=>{class t{constructor(t){}}return t.\\u0275mod=Ot({type:t}),t.\\u0275inj=_({factory:function(e){return new(e||t)(et(Ec))},providers:zc}),t})()},g5Dd:function(t,e){!function(){\"use strict\";for(var t=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",n=new Uint8Array(256),i=0;i<t.length;i++)n[t.charCodeAt(i)]=i;e.encode=function(e){var n,i=new Uint8Array(e),r=i.length,s=\"\";for(n=0;n<r;n+=3)s+=t[i[n]>>2],s+=t[(3&i[n])<<4|i[n+1]>>4],s+=t[(15&i[n+1])<<2|i[n+2]>>6],s+=t[63&i[n+2]];return r%3==2?s=s.substring(0,s.length-1)+\"=\":r%3==1&&(s=s.substring(0,s.length-2)+\"==\"),s},e.decode=function(t){var e,i,r,s,a,o=.75*t.length,l=t.length,c=0;\"=\"===t[t.length-1]&&(o--,\"=\"===t[t.length-2]&&o--);var h=new ArrayBuffer(o),d=new Uint8Array(h);for(e=0;e<l;e+=4)i=n[t.charCodeAt(e)],r=n[t.charCodeAt(e+1)],s=n[t.charCodeAt(e+2)],a=n[t.charCodeAt(e+3)],d[c++]=i<<2|r>>4,d[c++]=(15&r)<<4|s>>2,d[c++]=(3&s)<<6|63&a;return h}}()},gFX4:function(t,e,n){var i=n(\"zJ60\"),r=n(\"Vo14\"),s=n(\"eOtv\"),a=n(\"NOtv\")(\"socket.io-client\");t.exports=e=l;var o=e.managers={};function l(t,e){\"object\"==typeof t&&(e=t,t=void 0),e=e||{};var n,r=i(t),l=r.source,c=r.id;return e.forceNew||e[\"force new connection\"]||!1===e.multiplex||o[c]&&r.path in o[c].nsps?(a(\"ignoring socket cache for %s\",l),n=s(l,e)):(o[c]||(a(\"new io instance for %s\",l),o[c]=s(l,e)),n=o[c]),r.query&&!e.query&&(e.query=r.query),n.socket(r.path,e)}e.protocol=r.protocol,e.connect=l,e.Manager=n(\"eOtv\"),e.Socket=n(\"KFGy\")},gRHU:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"2fFW\"),r=n(\"NJ4a\");const s={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},iadO:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return st})),n.d(e,\"b\",(function(){return ct})),n.d(e,\"c\",(function(){return ut})),n.d(e,\"d\",(function(){return dt}));var i=n(\"u47x\"),r=n(\"rDax\"),s=n(\"+rOU\"),a=n(\"ofXK\"),o=n(\"fXoL\"),l=n(\"bTqV\"),c=n(\"0IaG\"),h=n(\"FKr1\"),d=n(\"XNiG\"),u=n(\"quSY\"),p=n(\"VRyK\"),m=n(\"LRne\"),f=n(\"FtGj\"),g=n(\"IzEk\"),b=n(\"JX91\"),_=n(\"pLZG\"),y=n(\"8LU1\"),v=n(\"R0Ic\"),w=n(\"3Pt+\"),x=n(\"qFsG\"),C=n(\"cH1L\"),k=n(\"kmnG\");const O=[\"mat-calendar-body\",\"\"];function S(t,e){if(1&t&&(o.Wb(0,\"tr\",2),o.Wb(1,\"td\",3),o.Jc(2),o.Vb(),o.Vb()),2&t){const t=o.ic();o.Db(1),o.Gc(\"padding-top\",t._cellPadding)(\"padding-bottom\",t._cellPadding),o.Eb(\"colspan\",t.numCols),o.Db(1),o.Lc(\" \",t.label,\" \")}}function M(t,e){if(1&t&&(o.Wb(0,\"td\",7),o.Jc(1),o.Vb()),2&t){const t=o.ic(2);o.Gc(\"padding-top\",t._cellPadding)(\"padding-bottom\",t._cellPadding),o.Eb(\"colspan\",t._firstRowOffset),o.Db(1),o.Lc(\" \",t._firstRowOffset>=t.labelMinRequiredCells?t.label:\"\",\" \")}}function P(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"td\",8),o.ec(\"click\",(function(){o.zc(t);const n=e.$implicit;return o.ic(2)._cellClicked(n)})),o.Wb(1,\"div\",9),o.Jc(2),o.Vb(),o.Vb()}if(2&t){const t=e.$implicit,n=e.index,i=o.ic().index,r=o.ic();o.Gc(\"width\",r._cellWidth)(\"padding-top\",r._cellPadding)(\"padding-bottom\",r._cellPadding),o.Hb(\"mat-calendar-body-disabled\",!t.enabled)(\"mat-calendar-body-active\",r._isActiveCell(i,n)),o.oc(\"ngClass\",t.cssClasses)(\"tabindex\",r._isActiveCell(i,n)?0:-1),o.Eb(\"aria-label\",t.ariaLabel)(\"aria-disabled\",!t.enabled||null)(\"aria-selected\",r.selectedValue===t.value),o.Db(1),o.Hb(\"mat-calendar-body-selected\",r.selectedValue===t.value)(\"mat-calendar-body-today\",r.todayValue===t.value),o.Db(1),o.Lc(\" \",t.displayValue,\" \")}}function E(t,e){if(1&t&&(o.Wb(0,\"tr\",4),o.Hc(1,M,2,6,\"td\",5),o.Hc(2,P,3,20,\"td\",6),o.Vb()),2&t){const t=e.$implicit,n=e.index,i=o.ic();o.Db(1),o.oc(\"ngIf\",0===n&&i._firstRowOffset),o.Db(1),o.oc(\"ngForOf\",t)}}function A(t,e){if(1&t&&(o.Wb(0,\"th\",5),o.Jc(1),o.Vb()),2&t){const t=e.$implicit;o.Eb(\"aria-label\",t.long),o.Db(1),o.Kc(t.narrow)}}const D=[\"*\"];function R(t,e){}function T(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"mat-month-view\",5),o.ec(\"activeDateChange\",(function(e){return o.zc(t),o.ic().activeDate=e}))(\"selectedChange\",(function(e){return o.zc(t),o.ic()._dateSelected(e)}))(\"_userSelection\",(function(){return o.zc(t),o.ic()._userSelected()})),o.Vb()}if(2&t){const t=o.ic();o.oc(\"activeDate\",t.activeDate)(\"selected\",t.selected)(\"dateFilter\",t.dateFilter)(\"maxDate\",t.maxDate)(\"minDate\",t.minDate)(\"dateClass\",t.dateClass)}}function I(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"mat-year-view\",6),o.ec(\"activeDateChange\",(function(e){return o.zc(t),o.ic().activeDate=e}))(\"monthSelected\",(function(e){return o.zc(t),o.ic()._monthSelectedInYearView(e)}))(\"selectedChange\",(function(e){return o.zc(t),o.ic()._goToDateInView(e,\"month\")})),o.Vb()}if(2&t){const t=o.ic();o.oc(\"activeDate\",t.activeDate)(\"selected\",t.selected)(\"dateFilter\",t.dateFilter)(\"maxDate\",t.maxDate)(\"minDate\",t.minDate)}}function j(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"mat-multi-year-view\",7),o.ec(\"activeDateChange\",(function(e){return o.zc(t),o.ic().activeDate=e}))(\"yearSelected\",(function(e){return o.zc(t),o.ic()._yearSelectedInMultiYearView(e)}))(\"selectedChange\",(function(e){return o.zc(t),o.ic()._goToDateInView(e,\"year\")})),o.Vb()}if(2&t){const t=o.ic();o.oc(\"activeDate\",t.activeDate)(\"selected\",t.selected)(\"dateFilter\",t.dateFilter)(\"maxDate\",t.maxDate)(\"minDate\",t.minDate)}}const L=[\"button\"];function F(t,e){1&t&&(o.hc(),o.Wb(0,\"svg\",3),o.Rb(1,\"path\",4),o.Vb())}const N=[[[\"\",\"matDatepickerToggleIcon\",\"\"]]],V=[\"[matDatepickerToggleIcon]\"];function z(t){return Error(`MatDatepicker: No provider found for ${t}. You must import one of the following `+\"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.\")}let B=(()=>{class t{constructor(){this.changes=new d.a,this.calendarLabel=\"Calendar\",this.openCalendarLabel=\"Open calendar\",this.prevMonthLabel=\"Previous month\",this.nextMonthLabel=\"Next month\",this.prevYearLabel=\"Previous year\",this.nextYearLabel=\"Next year\",this.prevMultiYearLabel=\"Previous 20 years\",this.nextMultiYearLabel=\"Next 20 years\",this.switchToMonthViewLabel=\"Choose date\",this.switchToMultiYearViewLabel=\"Choose month and year\"}formatYearRange(t,e){return`${t} \\u2013 ${e}`}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(o.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();class H{constructor(t,e,n,i,r={}){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=r}}let U=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new o.o}_cellClicked(t){t.enabled&&this.selectedValueChange.emit(t.value)}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),!e&&this._cellWidth||(this._cellWidth=`${100/i}%`)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(g.a)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(\".mat-calendar-body-active\");t&&t.focus()})})}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(o.A))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"\",\"mat-calendar-body\",\"\"]],hostAttrs:[\"role\",\"grid\",\"aria-readonly\",\"true\",1,\"mat-calendar-body\"],inputs:{numCols:\"numCols\",activeCell:\"activeCell\",cellAspectRatio:\"cellAspectRatio\",label:\"label\",rows:\"rows\",todayValue:\"todayValue\",selectedValue:\"selectedValue\",labelMinRequiredCells:\"labelMinRequiredCells\"},outputs:{selectedValueChange:\"selectedValueChange\"},exportAs:[\"matCalendarBody\"],features:[o.Bb()],attrs:O,decls:2,vars:2,consts:[[\"aria-hidden\",\"true\",4,\"ngIf\"],[\"role\",\"row\",4,\"ngFor\",\"ngForOf\"],[\"aria-hidden\",\"true\"],[1,\"mat-calendar-body-label\"],[\"role\",\"row\"],[\"aria-hidden\",\"true\",\"class\",\"mat-calendar-body-label\",3,\"paddingTop\",\"paddingBottom\",4,\"ngIf\"],[\"role\",\"gridcell\",\"class\",\"mat-calendar-body-cell mat-focus-indicator\",\"role\",\"button\",3,\"ngClass\",\"tabindex\",\"mat-calendar-body-disabled\",\"mat-calendar-body-active\",\"width\",\"paddingTop\",\"paddingBottom\",\"click\",4,\"ngFor\",\"ngForOf\"],[\"aria-hidden\",\"true\",1,\"mat-calendar-body-label\"],[\"role\",\"gridcell\",\"role\",\"button\",1,\"mat-calendar-body-cell\",\"mat-focus-indicator\",3,\"ngClass\",\"tabindex\",\"click\"],[1,\"mat-calendar-body-cell-content\"]],template:function(t,e){1&t&&(o.Hc(0,S,3,6,\"tr\",0),o.Hc(1,E,3,2,\"tr\",1)),2&t&&(o.oc(\"ngIf\",e._firstRowOffset<e.labelMinRequiredCells),o.Db(1),o.oc(\"ngForOf\",e.rows))},directives:[a.l,a.k,a.j],styles:[\".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}\\n\"],encapsulation:2,changeDetection:0}),t})(),q=(()=>{class t{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.o,this._userSelection=new o.o,this.activeDateChange=new o.o,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(b.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){if(this._selectedDate!=t){const e=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(e,n,t);this.selectedChange.emit(i)}this._userSelection.emit()}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case f.g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case f.k:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case f.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case f.b:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case f.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case f.c:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case f.j:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case f.i:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case f.d:case f.l:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames(\"short\")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames(\"narrow\");let n=this._dateAdapter.getDayOfWeekNames(\"long\").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),r=this._shouldEnableDate(t),s=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),a=this.dateClass?this.dateClass(t):void 0;this._weeks[this._weeks.length-1].push(new H(n+1,e[n],s,r,a))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&\"rtl\"===this._dir.value}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.h),o.Qb(h.c,8),o.Qb(h.a,8),o.Qb(C.b,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-month-view\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(U,!0),2&t&&o.vc(n=o.fc())&&(e._matCalendarBody=n.first)},inputs:{activeDate:\"activeDate\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",dateFilter:\"dateFilter\",dateClass:\"dateClass\"},outputs:{selectedChange:\"selectedChange\",_userSelection:\"_userSelection\",activeDateChange:\"activeDateChange\"},exportAs:[\"matMonthView\"],decls:7,vars:7,consts:[[\"role\",\"presentation\",1,\"mat-calendar-table\"],[1,\"mat-calendar-table-header\"],[\"scope\",\"col\",4,\"ngFor\",\"ngForOf\"],[\"colspan\",\"7\",\"aria-hidden\",\"true\",1,\"mat-calendar-table-header-divider\"],[\"mat-calendar-body\",\"\",3,\"label\",\"rows\",\"todayValue\",\"selectedValue\",\"labelMinRequiredCells\",\"activeCell\",\"selectedValueChange\",\"keydown\"],[\"scope\",\"col\"]],template:function(t,e){1&t&&(o.Wb(0,\"table\",0),o.Wb(1,\"thead\",1),o.Wb(2,\"tr\"),o.Hc(3,A,2,2,\"th\",2),o.Vb(),o.Wb(4,\"tr\"),o.Rb(5,\"th\",3),o.Vb(),o.Vb(),o.Wb(6,\"tbody\",4),o.ec(\"selectedValueChange\",(function(t){return e._dateSelected(t)}))(\"keydown\",(function(t){return e._handleCalendarBodyKeydown(t)})),o.Vb(),o.Vb()),2&t&&(o.Db(3),o.oc(\"ngForOf\",e._weekdays),o.Db(3),o.oc(\"label\",e._monthLabel)(\"rows\",e._weeks)(\"todayValue\",e._todayDate)(\"selectedValue\",e._selectedDate)(\"labelMinRequiredCells\",3)(\"activeCell\",e._dateAdapter.getDate(e.activeDate)-1))},directives:[a.k,U],encapsulation:2,changeDetection:0}),t})(),Q=(()=>{class t{constructor(t,e,n){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.o,this.yearSelected=new o.o,this.activeDateChange=new o.o,!this._dateAdapter)throw z(\"DateAdapter\");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),W(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(b.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case f.g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case f.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case f.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case f.b:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case f.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case f.c:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case f.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case f.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case f.d:case f.l:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new H(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&\"rtl\"===this._dir.value}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.h),o.Qb(h.a,8),o.Qb(C.b,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-multi-year-view\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(U,!0),2&t&&o.vc(n=o.fc())&&(e._matCalendarBody=n.first)},inputs:{activeDate:\"activeDate\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",dateFilter:\"dateFilter\"},outputs:{selectedChange:\"selectedChange\",yearSelected:\"yearSelected\",activeDateChange:\"activeDateChange\"},exportAs:[\"matMultiYearView\"],decls:5,vars:6,consts:[[\"role\",\"presentation\",1,\"mat-calendar-table\"],[1,\"mat-calendar-table-header\"],[\"colspan\",\"4\",1,\"mat-calendar-table-header-divider\"],[\"mat-calendar-body\",\"\",3,\"rows\",\"todayValue\",\"selectedValue\",\"numCols\",\"cellAspectRatio\",\"activeCell\",\"selectedValueChange\",\"keydown\"]],template:function(t,e){1&t&&(o.Wb(0,\"table\",0),o.Wb(1,\"thead\",1),o.Wb(2,\"tr\"),o.Rb(3,\"th\",2),o.Vb(),o.Vb(),o.Wb(4,\"tbody\",3),o.ec(\"selectedValueChange\",(function(t){return e._yearSelected(t)}))(\"keydown\",(function(t){return e._handleCalendarBodyKeydown(t)})),o.Vb(),o.Vb()),2&t&&(o.Db(4),o.oc(\"rows\",e._years)(\"todayValue\",e._todayYear)(\"selectedValue\",e._selectedYear)(\"numCols\",4)(\"cellAspectRatio\",4/7)(\"activeCell\",e._getActiveCell()))},directives:[U],encapsulation:2,changeDetection:0}),t})();function W(t,e,n,i,r){const s=t.getYear(e),a=t.getYear(n),o=$(t,i,r);return Math.floor((s-o)/24)===Math.floor((a-o)/24)}function Y(t,e,n,i){return((t.getYear(e)-$(t,n,i))%24+24)%24}function $(t,e,n){let i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}let G=(()=>{class t{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.o,this.monthSelected=new o.o,this.activeDateChange=new o.o,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(b.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);const n=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case f.g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case f.k:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case f.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case f.b:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case f.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case f.c:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case f.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case f.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case f.d:case f.l:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames(\"short\");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){let n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new H(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&\"rtl\"===this._dir.value}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.h),o.Qb(h.c,8),o.Qb(h.a,8),o.Qb(C.b,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-year-view\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(U,!0),2&t&&o.vc(n=o.fc())&&(e._matCalendarBody=n.first)},inputs:{activeDate:\"activeDate\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",dateFilter:\"dateFilter\"},outputs:{selectedChange:\"selectedChange\",monthSelected:\"monthSelected\",activeDateChange:\"activeDateChange\"},exportAs:[\"matYearView\"],decls:5,vars:8,consts:[[\"role\",\"presentation\",1,\"mat-calendar-table\"],[1,\"mat-calendar-table-header\"],[\"colspan\",\"4\",1,\"mat-calendar-table-header-divider\"],[\"mat-calendar-body\",\"\",3,\"label\",\"rows\",\"todayValue\",\"selectedValue\",\"labelMinRequiredCells\",\"numCols\",\"cellAspectRatio\",\"activeCell\",\"selectedValueChange\",\"keydown\"]],template:function(t,e){1&t&&(o.Wb(0,\"table\",0),o.Wb(1,\"thead\",1),o.Wb(2,\"tr\"),o.Rb(3,\"th\",2),o.Vb(),o.Vb(),o.Wb(4,\"tbody\",3),o.ec(\"selectedValueChange\",(function(t){return e._monthSelected(t)}))(\"keydown\",(function(t){return e._handleCalendarBodyKeydown(t)})),o.Vb(),o.Vb()),2&t&&(o.Db(4),o.oc(\"label\",e._yearLabel)(\"rows\",e._months)(\"todayValue\",e._todayMonth)(\"selectedValue\",e._selectedMonth)(\"labelMinRequiredCells\",2)(\"numCols\",4)(\"cellAspectRatio\",4/7)(\"activeCell\",e._dateAdapter.getMonth(e.activeDate)))},directives:[U],encapsulation:2,changeDetection:0}),t})(),X=(()=>{class t{constructor(t,e,n,i,r){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if(\"month\"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if(\"year\"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-Y(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return\"month\"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,\"multi-year\":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,\"multi-year\":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=\"month\"==this.calendar.currentView?\"multi-year\":\"month\"}previousClicked(){this.calendar.activeDate=\"month\"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,\"year\"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate=\"month\"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,\"year\"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return\"month\"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):\"year\"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):W(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(B),o.Qb(Object(o.V)(()=>K)),o.Qb(h.a,8),o.Qb(h.c,8),o.Qb(o.h))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-calendar-header\"]],exportAs:[\"matCalendarHeader\"],ngContentSelectors:D,decls:9,vars:8,consts:[[1,\"mat-calendar-header\"],[1,\"mat-calendar-controls\"],[\"mat-button\",\"\",\"type\",\"button\",\"cdkAriaLive\",\"polite\",1,\"mat-calendar-period-button\",3,\"click\"],[1,\"mat-calendar-arrow\"],[1,\"mat-calendar-spacer\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-calendar-previous-button\",3,\"disabled\",\"click\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-calendar-next-button\",3,\"disabled\",\"click\"]],template:function(t,e){1&t&&(o.nc(),o.Wb(0,\"div\",0),o.Wb(1,\"div\",1),o.Wb(2,\"button\",2),o.ec(\"click\",(function(){return e.currentPeriodClicked()})),o.Jc(3),o.Rb(4,\"div\",3),o.Vb(),o.Rb(5,\"div\",4),o.mc(6),o.Wb(7,\"button\",5),o.ec(\"click\",(function(){return e.previousClicked()})),o.Vb(),o.Wb(8,\"button\",6),o.ec(\"click\",(function(){return e.nextClicked()})),o.Vb(),o.Vb(),o.Vb()),2&t&&(o.Db(2),o.Eb(\"aria-label\",e.periodButtonLabel),o.Db(1),o.Lc(\" \",e.periodButtonText,\" \"),o.Db(1),o.Hb(\"mat-calendar-invert\",\"month\"!=e.calendar.currentView),o.Db(3),o.oc(\"disabled\",!e.previousEnabled()),o.Eb(\"aria-label\",e.prevButtonLabel),o.Db(1),o.oc(\"disabled\",!e.nextEnabled()),o.Eb(\"aria-label\",e.nextButtonLabel))},directives:[l.a,i.d],encapsulation:2,changeDetection:0}),t})(),K=(()=>{class t{constructor(t,e,n,i){if(this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView=\"month\",this.selectedChange=new o.o,this.yearSelected=new o.o,this.monthSelected=new o.o,this._userSelection=new o.o,this.stateChanges=new d.a,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new s.c(this.headerComponent||X),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){const t=this.currentView;let e;e=\"month\"===t?this.monthView:\"year\"===t?this.yearView:this.multiYearView,e.ngAfterContentInit()}_dateSelected(t){t&&!this._dateAdapter.sameDate(t,this.selected)&&this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(B),o.Qb(h.a,8),o.Qb(h.c,8),o.Qb(o.h))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-calendar\"]],viewQuery:function(t,e){var n;1&t&&(o.Pc(q,!0),o.Pc(G,!0),o.Pc(Q,!0)),2&t&&(o.vc(n=o.fc())&&(e.monthView=n.first),o.vc(n=o.fc())&&(e.yearView=n.first),o.vc(n=o.fc())&&(e.multiYearView=n.first))},hostAttrs:[1,\"mat-calendar\"],inputs:{startView:\"startView\",startAt:\"startAt\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",headerComponent:\"headerComponent\",dateFilter:\"dateFilter\",dateClass:\"dateClass\"},outputs:{selectedChange:\"selectedChange\",yearSelected:\"yearSelected\",monthSelected:\"monthSelected\",_userSelection:\"_userSelection\"},exportAs:[\"matCalendar\"],features:[o.Bb()],decls:5,vars:5,consts:[[3,\"cdkPortalOutlet\"],[\"cdkMonitorSubtreeFocus\",\"\",\"tabindex\",\"-1\",1,\"mat-calendar-content\",3,\"ngSwitch\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"dateClass\",\"activeDateChange\",\"selectedChange\",\"_userSelection\",4,\"ngSwitchCase\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"monthSelected\",\"selectedChange\",4,\"ngSwitchCase\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"yearSelected\",\"selectedChange\",4,\"ngSwitchCase\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"dateClass\",\"activeDateChange\",\"selectedChange\",\"_userSelection\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"monthSelected\",\"selectedChange\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"yearSelected\",\"selectedChange\"]],template:function(t,e){1&t&&(o.Hc(0,R,0,0,\"ng-template\",0),o.Wb(1,\"div\",1),o.Hc(2,T,1,6,\"mat-month-view\",2),o.Hc(3,I,1,5,\"mat-year-view\",3),o.Hc(4,j,1,5,\"mat-multi-year-view\",4),o.Vb()),2&t&&(o.oc(\"cdkPortalOutlet\",e._calendarHeaderPortal),o.Db(1),o.oc(\"ngSwitch\",e.currentView),o.Db(1),o.oc(\"ngSwitchCase\",\"month\"),o.Db(1),o.oc(\"ngSwitchCase\",\"year\"),o.Db(1),o.oc(\"ngSwitchCase\",\"multi-year\"))},directives:[s.b,i.e,a.n,a.o,q,G,Q],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\"\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\"\";position:absolute;top:0;left:-8px;right:-8px;height:1px}\\n'],encapsulation:2,changeDetection:0}),t})();const Z={transformPanel:Object(v.p)(\"transformPanel\",[Object(v.m)(\"void\",Object(v.n)({opacity:0,transform:\"scale(1, 0.8)\"})),Object(v.o)(\"void => enter\",Object(v.e)(\"120ms cubic-bezier(0, 0, 0.2, 1)\",Object(v.n)({opacity:1,transform:\"scale(1, 1)\"}))),Object(v.o)(\"* => void\",Object(v.e)(\"100ms linear\",Object(v.n)({opacity:0})))]),fadeInCalendar:Object(v.p)(\"fadeInCalendar\",[Object(v.m)(\"void\",Object(v.n)({opacity:0})),Object(v.m)(\"enter\",Object(v.n)({opacity:1})),Object(v.o)(\"void => *\",Object(v.e)(\"120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\"))])};let J=0;const tt=new o.r(\"mat-datepicker-scroll-strategy\"),et={provide:tt,deps:[r.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class nt{constructor(t){this._elementRef=t}}const it=Object(h.t)(nt);let rt=(()=>{class t extends it{constructor(t,e){super(t),this._changeDetectorRef=e,this._animationState=\"enter\",this._animationDone=new d.a}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState=\"void\",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(o.h))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-datepicker-content\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(K,!0),2&t&&o.vc(n=o.fc())&&(e._calendar=n.first)},hostAttrs:[1,\"mat-datepicker-content\"],hostVars:3,hostBindings:function(t,e){1&t&&o.Ib(\"@transformPanel.done\",(function(){return e._animationDone.next()})),2&t&&(o.Oc(\"@transformPanel\",e._animationState),o.Hb(\"mat-datepicker-content-touch\",e.datepicker.touchUi))},inputs:{color:\"color\"},exportAs:[\"matDatepickerContent\"],features:[o.Ab],decls:1,vars:11,consts:[[\"cdkTrapFocus\",\"\",3,\"id\",\"ngClass\",\"startAt\",\"startView\",\"minDate\",\"maxDate\",\"dateFilter\",\"headerComponent\",\"selected\",\"dateClass\",\"selectedChange\",\"yearSelected\",\"monthSelected\",\"_userSelection\"]],template:function(t,e){1&t&&(o.Wb(0,\"mat-calendar\",0),o.ec(\"selectedChange\",(function(t){return e.datepicker.select(t)}))(\"yearSelected\",(function(t){return e.datepicker._selectYear(t)}))(\"monthSelected\",(function(t){return e.datepicker._selectMonth(t)}))(\"_userSelection\",(function(){return e.datepicker.close()})),o.Vb()),2&t&&o.oc(\"id\",e.datepicker.id)(\"ngClass\",e.datepicker.panelClass)(\"startAt\",e.datepicker.startAt)(\"startView\",e.datepicker.startView)(\"minDate\",e.datepicker._minDate)(\"maxDate\",e.datepicker._maxDate)(\"dateFilter\",e.datepicker._dateFilter)(\"headerComponent\",e.datepicker.calendarHeaderComponent)(\"selected\",e.datepicker._selected)(\"dateClass\",e.datepicker.dateClass)(\"@fadeInCalendar\",\"enter\")},directives:[K,i.f,a.j],styles:[\".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\\n\"],encapsulation:2,data:{animation:[Z.transformPanel,Z.fadeInCalendar]},changeDetection:0}),t})(),st=(()=>{class t{constructor(t,e,n,i,r,s,a,l){if(this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=a,this._document=l,this.startView=\"month\",this._touchUi=!1,this.yearSelected=new o.o,this.monthSelected=new o.o,this.openedStream=new o.o,this.closedStream=new o.o,this._opened=!1,this.id=`mat-datepicker-${J++}`,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=u.a.EMPTY,this._disabledChange=new d.a,this._selectedChanged=new d.a,!this._dateAdapter)throw z(\"DateAdapter\");this._scrollStrategy=r}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(y.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(y.c)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(t){let e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_registerInput(t){if(this._datepickerInput)throw Error(\"A MatDatepicker can only be associated with a single input.\");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error(\"Attempted to open an MatDatepicker with no associated input.\");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(g.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&\"function\"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(rt,{direction:this._dir?this._dir.value:\"ltr\",viewContainerRef:this._viewContainerRef,panelClass:\"mat-datepicker-dialog\"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const t=new s.c(rt,this._viewContainerRef);this._destroyPopup(),this._createPopup();const e=this._popupComponentRef=this._popupRef.attach(t);e.instance.datepicker=this,e.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Object(g.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const t=new r.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:\"mat-overlay-transparent-backdrop\",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:\"mat-datepicker-popup\"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute(\"role\",\"dialog\"),Object(p.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(_.a)(t=>t.keyCode===f.e||this._datepickerInput&&t.altKey&&t.keyCode===f.n))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(\".mat-datepicker-content\").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"top\"},{originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"bottom\"},{originX:\"end\",originY:\"bottom\",overlayX:\"end\",overlayY:\"top\"},{originX:\"end\",originY:\"top\",overlayX:\"end\",overlayY:\"bottom\"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(c.b),o.Qb(r.c),o.Qb(o.A),o.Qb(o.P),o.Qb(tt),o.Qb(h.a,8),o.Qb(C.b,8),o.Qb(a.d,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-datepicker\"]],inputs:{startView:\"startView\",startAt:\"startAt\",color:\"color\",touchUi:\"touchUi\",disabled:\"disabled\",opened:\"opened\",calendarHeaderComponent:\"calendarHeaderComponent\",panelClass:\"panelClass\",dateClass:\"dateClass\"},outputs:{yearSelected:\"yearSelected\",monthSelected:\"monthSelected\",openedStream:\"opened\",closedStream:\"closed\"},exportAs:[\"matDatepicker\"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const at={provide:w.l,useExisting:Object(o.V)(()=>ct),multi:!0},ot={provide:w.k,useExisting:Object(o.V)(()=>ct),multi:!0};class lt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let ct=(()=>{class t{constructor(t,e,n,i){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this._formField=i,this.dateChange=new o.o,this.dateInput=new o.o,this._valueChange=new o.o,this._disabledChange=new o.o,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=u.a.EMPTY,this._localeSubscription=u.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDate(this.min,e)<=0?null:{matDatepickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDate(this.max,e)>=0?null:{matDatepickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=w.x.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new lt(this,this._elementRef.nativeElement)),this.dateChange.emit(new lt(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=Object(y.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&n.blur&&n.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===f.b&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n),this._dateAdapter.sameDate(n,this._value)?e!==this._lastValueValid&&this._validatorOnChange():(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new lt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new lt(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):\"\"}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(h.a,8),o.Qb(h.c,8),o.Qb(k.b,8))},t.\\u0275dir=o.Lb({type:t,selectors:[[\"input\",\"matDatepicker\",\"\"]],hostVars:5,hostBindings:function(t,e){1&t&&o.ec(\"input\",(function(t){return e._onInput(t.target.value)}))(\"change\",(function(){return e._onChange()}))(\"blur\",(function(){return e._onBlur()}))(\"keydown\",(function(t){return e._onKeydown(t)})),2&t&&(o.Zb(\"disabled\",e.disabled),o.Eb(\"aria-haspopup\",e._datepicker?\"dialog\":null)(\"aria-owns\",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)(\"min\",e.min?e._dateAdapter.toIso8601(e.min):null)(\"max\",e.max?e._dateAdapter.toIso8601(e.max):null))},inputs:{value:\"value\",matDatepicker:\"matDatepicker\",matDatepickerFilter:\"matDatepickerFilter\",min:\"min\",max:\"max\",disabled:\"disabled\"},outputs:{dateChange:\"dateChange\",dateInput:\"dateInput\"},exportAs:[\"matDatepickerInput\"],features:[o.Cb([at,ot,{provide:x.a,useExisting:t}])]}),t})(),ht=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=o.Lb({type:t,selectors:[[\"\",\"matDatepickerToggleIcon\",\"\"]]}),t})(),dt=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=u.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(y.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._disabledChange:Object(m.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(m.a)(),n=this.datepicker?Object(p.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(m.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(p.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(B),o.Qb(o.h),o.bc(\"tabindex\"))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-datepicker-toggle\"]],contentQueries:function(t,e,n){var i;1&t&&o.Jb(n,ht,!0),2&t&&o.vc(i=o.fc())&&(e._customIcon=i.first)},viewQuery:function(t,e){var n;1&t&&o.Pc(L,!0),2&t&&o.vc(n=o.fc())&&(e._button=n.first)},hostAttrs:[1,\"mat-datepicker-toggle\"],hostVars:7,hostBindings:function(t,e){1&t&&o.ec(\"focus\",(function(){return e._button.focus()})),2&t&&(o.Eb(\"tabindex\",e.disabled?null:-1),o.Hb(\"mat-datepicker-toggle-active\",e.datepicker&&e.datepicker.opened)(\"mat-accent\",e.datepicker&&\"accent\"===e.datepicker.color)(\"mat-warn\",e.datepicker&&\"warn\"===e.datepicker.color))},inputs:{tabIndex:\"tabIndex\",disabled:\"disabled\",datepicker:[\"for\",\"datepicker\"],disableRipple:\"disableRipple\"},exportAs:[\"matDatepickerToggle\"],features:[o.Bb()],ngContentSelectors:V,decls:4,vars:6,consts:[[\"mat-icon-button\",\"\",\"type\",\"button\",3,\"disabled\",\"disableRipple\",\"click\"],[\"button\",\"\"],[\"class\",\"mat-datepicker-toggle-default-icon\",\"viewBox\",\"0 0 24 24\",\"width\",\"24px\",\"height\",\"24px\",\"fill\",\"currentColor\",\"focusable\",\"false\",4,\"ngIf\"],[\"viewBox\",\"0 0 24 24\",\"width\",\"24px\",\"height\",\"24px\",\"fill\",\"currentColor\",\"focusable\",\"false\",1,\"mat-datepicker-toggle-default-icon\"],[\"d\",\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\"]],template:function(t,e){1&t&&(o.nc(N),o.Wb(0,\"button\",0,1),o.ec(\"click\",(function(t){return e._open(t)})),o.Hc(2,F,2,0,\"svg\",2),o.mc(3),o.Vb()),2&t&&(o.oc(\"disabled\",e.disabled)(\"disableRipple\",e.disableRipple),o.Eb(\"aria-haspopup\",e.datepicker?\"dialog\":null)(\"aria-label\",e._intl.openCalendarLabel)(\"tabindex\",e.disabled?-1:e.tabIndex),o.Db(2),o.oc(\"ngIf\",!e._customIcon))},directives:[l.a,a.l],styles:[\".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\\n\"],encapsulation:2,changeDetection:0}),t})(),ut=(()=>{class t{}return t.\\u0275mod=o.Ob({type:t}),t.\\u0275inj=o.Nb({factory:function(e){return new(e||t)},providers:[B,et],imports:[[a.c,l.b,c.f,r.f,i.a,s.f]]}),t})()},itXk:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"z+Ro\"),r=n(\"DH7j\"),s=n(\"l7GE\"),a=n(\"ZUHj\"),o=n(\"yCtX\");const l={};function c(...t){let e=null,n=null;return Object(i.a)(t[t.length-1])&&(n=t.pop()),\"function\"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(o.a)(t,n).lift(new h(e))}class h{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new d(t,this.resultSelector))}}class d extends s.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(l),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(Object(a.a)(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,i,r){const s=this.values,a=this.toRespond?s[n]===l?--this.toRespond:this.toRespond:0;s[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},jZKg:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"HDdC\"),r=n(\"quSY\");function s(t,e){return new i.a(n=>{const i=new r.a;let s=0;return i.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},jaxi:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return v}));var i=n(\"8LU1\"),r=n(\"0EQZ\"),s=n(\"fXoL\"),a=n(\"3Pt+\"),o=n(\"FKr1\"),l=n(\"u47x\");const c=[\"button\"],h=[\"*\"],d=new s.r(\"MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS\"),u={provide:a.l,useExisting:Object(s.V)(()=>g),multi:!0};class p{}let m=0;class f{constructor(t,e){this.source=t,this.value=e}}let g=(()=>{class t{constructor(t,e){this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${m++}`,this.valueChange=new s.o,this.change=new s.o,this.appearance=e&&e.appearance?e.appearance:\"standard\"}get name(){return this._name}set name(t){this._name=t,this._buttonToggles&&this._buttonToggles.forEach(t=>{t.name=this._name,t._markForCheck()})}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get value(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(t=>t.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(i.c)(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._buttonToggles&&this._buttonToggles.forEach(t=>t._markForCheck())}ngOnInit(){this._selectionModel=new r.c(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked))}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_emitChangeEvent(){const t=this.selected,e=Array.isArray(t)?t[t.length-1]:t,n=new f(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(t,e,n=!1,i=!1){this.multiple||!this.selected||t.checked||(this.selected.checked=!1),this._selectionModel?e?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve(()=>this._updateModelValue(n)):this._updateModelValue(n)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(e=>null!=t.value&&e===t.value):t.value===this._rawValue)}_setSelectionByValue(t){if(this._rawValue=t,this._buttonToggles)if(this.multiple&&t){if(!Array.isArray(t))throw Error(\"Value must be an array in multiple-selection mode.\");this._clearSelection(),t.forEach(t=>this._selectValue(t))}else this._clearSelection(),this._selectValue(t)}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>t.checked=!1)}_selectValue(t){const e=this._buttonToggles.find(e=>null!=e.value&&e.value===t);e&&(e.checked=!0,this._selectionModel.select(e))}_updateModelValue(t){t&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.h),s.Qb(d,8))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-button-toggle-group\"]],contentQueries:function(t,e,n){var i;1&t&&s.Jb(n,y,!0),2&t&&s.vc(i=s.fc())&&(e._buttonToggles=i)},hostAttrs:[\"role\",\"group\",1,\"mat-button-toggle-group\"],hostVars:5,hostBindings:function(t,e){2&t&&(s.Eb(\"aria-disabled\",e.disabled),s.Hb(\"mat-button-toggle-vertical\",e.vertical)(\"mat-button-toggle-group-appearance-standard\",\"standard\"===e.appearance))},inputs:{appearance:\"appearance\",name:\"name\",vertical:\"vertical\",value:\"value\",multiple:\"multiple\",disabled:\"disabled\"},outputs:{valueChange:\"valueChange\",change:\"change\"},exportAs:[\"matButtonToggleGroup\"],features:[s.Cb([u,{provide:p,useExisting:t}])]}),t})();class b{}const _=Object(o.u)(b);let y=(()=>{class t extends _{constructor(t,e,n,i,r,a){super(),this._changeDetectorRef=e,this._elementRef=n,this._focusMonitor=i,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new s.o;const o=Number(r);this.tabIndex=o||0===o?o:null,this.buttonToggleGroup=t,this.appearance=a&&a.appearance?a.appearance:\"standard\"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){const e=Object(i.c)(t);e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=Object(i.c)(t)}ngOnInit(){this._isSingleSelector=this.buttonToggleGroup&&!this.buttonToggleGroup.multiple,this._type=this._isSingleSelector?\"radio\":\"checkbox\",this.id=this.id||`mat-button-toggle-${m++}`,this._isSingleSelector&&(this.name=this.buttonToggleGroup.name),this.buttonToggleGroup&&this.buttonToggleGroup._isPrechecked(this)&&(this.checked=!0),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){const t=!!this._isSingleSelector||!this._checked;t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new f(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(g,8),s.Qb(s.h),s.Qb(s.l),s.Qb(l.h),s.bc(\"tabindex\"),s.Qb(d,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-button-toggle\"]],viewQuery:function(t,e){var n;1&t&&s.Pc(c,!0),2&t&&s.vc(n=s.fc())&&(e._buttonElement=n.first)},hostAttrs:[1,\"mat-button-toggle\",\"mat-focus-indicator\"],hostVars:11,hostBindings:function(t,e){1&t&&s.ec(\"focus\",(function(){return e.focus()})),2&t&&(s.Eb(\"tabindex\",-1)(\"id\",e.id)(\"name\",null),s.Hb(\"mat-button-toggle-standalone\",!e.buttonToggleGroup)(\"mat-button-toggle-checked\",e.checked)(\"mat-button-toggle-disabled\",e.disabled)(\"mat-button-toggle-appearance-standard\",\"standard\"===e.appearance))},inputs:{disableRipple:\"disableRipple\",ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],tabIndex:\"tabIndex\",appearance:\"appearance\",checked:\"checked\",disabled:\"disabled\",id:\"id\",name:\"name\",ariaLabel:[\"aria-label\",\"ariaLabel\"],value:\"value\"},outputs:{change:\"change\"},exportAs:[\"matButtonToggle\"],features:[s.Ab],ngContentSelectors:h,decls:6,vars:9,consts:[[\"type\",\"button\",1,\"mat-button-toggle-button\",\"mat-focus-indicator\",3,\"id\",\"disabled\",\"click\"],[\"button\",\"\"],[1,\"mat-button-toggle-label-content\"],[1,\"mat-button-toggle-focus-overlay\"],[\"matRipple\",\"\",1,\"mat-button-toggle-ripple\",3,\"matRippleTrigger\",\"matRippleDisabled\"]],template:function(t,e){if(1&t&&(s.nc(),s.Wb(0,\"button\",0,1),s.ec(\"click\",(function(){return e._onButtonClick()})),s.Wb(2,\"div\",2),s.mc(3),s.Vb(),s.Vb(),s.Rb(4,\"div\",3),s.Rb(5,\"div\",4)),2&t){const t=s.wc(1);s.oc(\"id\",e.buttonId)(\"disabled\",e.disabled||null),s.Eb(\"tabindex\",e.disabled?-1:e.tabIndex)(\"aria-pressed\",e.checked)(\"name\",e.name||null)(\"aria-label\",e.ariaLabel)(\"aria-labelledby\",e.ariaLabelledby),s.Db(5),s.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e.disableRipple||e.disabled)}},directives:[o.p],styles:[\".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px;padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 48px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\\n\"],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[o.f,o.q],o.f]}),t})()},jhN1:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return N})),n.d(e,\"b\",(function(){return H})),n.d(e,\"c\",(function(){return R})),n.d(e,\"d\",(function(){return S})),n.d(e,\"e\",(function(){return z})),n.d(e,\"f\",(function(){return V})),n.d(e,\"g\",(function(){return L})),n.d(e,\"h\",(function(){return w}));var i=n(\"ofXK\"),r=n(\"fXoL\");class s extends i.v{constructor(){super()}supportsDOMEvents(){return!0}}class a extends s{static makeCurrent(){Object(i.z)(new a)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(\"fakeTitle\")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return\"window\"===e?window:\"document\"===e?t:\"body\"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector(\"base\"),l)?l.getAttribute(\"href\"):null;return null==e?null:(n=e,o||(o=document.createElement(\"a\")),o.setAttribute(\"href\",n),\"/\"===o.pathname.charAt(0)?o.pathname:\"/\"+o.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.y)(document.cookie,t)}}let o,l=null;const c=new r.r(\"TRANSITION_ID\"),h=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.x)();Array.prototype.slice.apply(e.querySelectorAll(\"style[ng-transition]\")).filter(e=>e.getAttribute(\"ng-transition\")===t).forEach(t=>n.remove(t))})}},deps:[c,i.d,r.s],multi:!0}];class d{static init(){Object(r.Z)(new d)}addToWindow(t){r.rb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error(\"Could not find testability for element.\");return i},r.rb.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.rb.getAllAngularRootElements=()=>t.getAllRootElements(),r.rb.frameworkStabilizers||(r.rb.frameworkStabilizers=[]),r.rb.frameworkStabilizers.push(t=>{const e=r.rb.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,n--,0==n&&t(i)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(i.x)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const u=new r.r(\"EventManagerPlugins\");let p=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(u),r.ac(r.A))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Object(i.x)().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let f=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),g=(()=>{class t extends f{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement(\"style\");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.x)().remove(t))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();const b={svg:\"http://www.w3.org/2000/svg\",xhtml:\"http://www.w3.org/1999/xhtml\",xlink:\"http://www.w3.org/1999/xlink\",xml:\"http://www.w3.org/XML/1998/namespace\",xmlns:\"http://www.w3.org/2000/xmlns/\"},_=/%COMP%/g;function y(t,e,n){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?y(t,r,n):(r=r.replace(_,t),n.push(r))}return n}function v(t){return e=>{if(\"__ngUnwrap__\"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new x(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.Q.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new C(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.Q.Native:case r.Q.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=y(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(p),r.ac(g),r.ac(r.c))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();class x{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n=\"string\"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector \"${t}\" did not match any elements`);return e||(n.textContent=\"\"),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+\":\"+e;const r=b[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&r.H.DashCase?t.style.setProperty(e,n,i&r.H.Important?\"important\":\"\"):t.style[e]=n}removeStyle(t,e,n){n&r.H.DashCase?t.style.removeProperty(e):t.style[e]=\"\"}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return\"string\"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class C extends x{constructor(t,e,n,i){super(t),this.component=n;const r=y(i+\"-\"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr=\"_ngcontent-%COMP%\".replace(_,i+\"-\"+n.id),this.hostAttr=function(t){return\"_nghost-%COMP%\".replace(_,t)}(i+\"-\"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,\"\")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,\"\"),n}}class k extends x{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.Q.ShadowDom?n.attachShadow({mode:\"open\"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=y(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement(\"style\");t.textContent=s[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let O=(()=>{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),S=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get(\"pinch\").set({enable:!0}),e.get(\"rotate\").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();const M=[\"alt\",\"control\",\"meta\",\"shift\"],P={\"\\b\":\"Backspace\",\"\\t\":\"Tab\",\"\\x7f\":\"Delete\",\"\\x1b\":\"Escape\",Del:\"Delete\",Esc:\"Escape\",Left:\"ArrowLeft\",Right:\"ArrowRight\",Up:\"ArrowUp\",Down:\"ArrowDown\",Menu:\"ContextMenu\",Scroll:\"ScrollLock\",Win:\"OS\"},E={A:\"1\",B:\"2\",C:\"3\",D:\"4\",E:\"5\",F:\"6\",G:\"7\",H:\"8\",I:\"9\",J:\"*\",K:\"+\",M:\"-\",N:\".\",O:\"/\",\"`\":\"0\",\"\\x90\":\"NumLock\"},A={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let D=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.x)().onAndCancel(e,s.domEventName,a))}static parseEventName(e){const n=e.toLowerCase().split(\".\"),i=n.shift();if(0===n.length||\"keydown\"!==i&&\"keyup\"!==i)return null;const r=t._normalizeKey(n.pop());let s=\"\";if(M.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+\".\")}),s+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(t){let e=\"\",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return\"Unidentified\";e.startsWith(\"U+\")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&E.hasOwnProperty(e)&&(e=E[e]))}return P[e]||e}(t);return n=n.toLowerCase(),\" \"===n?n=\"space\":\".\"===n&&(n=\"dot\"),M.forEach(i=>{i!=n&&(0,A[i])(t)&&(e+=i+\".\")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case\"esc\":return\"escape\";default:return t}}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),R=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(r.Mb)({factory:function(){return Object(r.ac)(I)},token:t,providedIn:\"root\"}),t})();function T(t){return new I(t.get(i.d))}let I=(()=>{class t extends R{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.J.NONE:return e;case r.J.HTML:return Object(r.gb)(e,\"HTML\")?Object(r.zb)(e):Object(r.db)(this._doc,String(e));case r.J.STYLE:return Object(r.gb)(e,\"Style\")?Object(r.zb)(e):Object(r.eb)(e);case r.J.SCRIPT:if(Object(r.gb)(e,\"Script\"))return Object(r.zb)(e);throw new Error(\"unsafe value used in a script context\");case r.J.URL:return Object(r.qb)(e),Object(r.gb)(e,\"URL\")?Object(r.zb)(e):Object(r.fb)(String(e));case r.J.RESOURCE_URL:if(Object(r.gb)(e,\"ResourceURL\"))return Object(r.zb)(e);throw new Error(\"unsafe value used in a resource URL context (see http://g.co/ng/security#xss)\");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(r.hb)(t)}bypassSecurityTrustStyle(t){return Object(r.kb)(t)}bypassSecurityTrustScript(t){return Object(r.jb)(t)}bypassSecurityTrustUrl(t){return Object(r.lb)(t)}bypassSecurityTrustResourceUrl(t){return Object(r.ib)(t)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return T(Object(r.ac)(r.p))},token:t,providedIn:\"root\"}),t})();const j=[{provide:r.C,useValue:i.w},{provide:r.D,useValue:function(){a.makeCurrent(),d.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(r.xb)(document),document},deps:[]}],L=Object(r.S)(r.Y,\"browser\",j),F=[[],{provide:r.bb,useValue:\"root\"},{provide:r.n,useFactory:function(){return new r.n},deps:[]},{provide:u,useClass:O,multi:!0,deps:[i.d,r.A,r.C]},{provide:u,useClass:D,multi:!0,deps:[i.d]},[],{provide:w,useClass:w,deps:[p,g,r.c]},{provide:r.G,useExisting:w},{provide:f,useExisting:g},{provide:g,useClass:g,deps:[i.d]},{provide:r.N,useClass:r.N,deps:[r.A]},{provide:p,useClass:p,deps:[u,r.A]},[]];let N=(()=>{class t{constructor(t){if(t)throw new Error(\"BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.\")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.c,useValue:e.appId},{provide:c,useExisting:r.c},h]}}}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.ac(t,12))},providers:F,imports:[i.c,r.f]}),t})();function V(t){return t}\"undefined\"!=typeof window&&window;let z=(()=>{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const n=new t;return n.store=e,n}get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn(\"Exception in onSerialize callback: \",t)}return JSON.stringify(this.store)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();function B(t,e){const n=t.getElementById(e+\"-state\");let i={};if(n&&n.textContent)try{i=JSON.parse(function(t){const e={\"&a;\":\"&\",\"&q;\":'\"',\"&s;\":\"'\",\"&l;\":\"<\",\"&g;\":\">\"};return t.replace(/&[^;]+;/g,t=>e[t])}(n.textContent))}catch(r){console.warn(\"Exception while restoring TransferState for app \"+e,r)}return z.init(i)}let H=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[{provide:z,useFactory:B,deps:[i.d,r.c]}]}),t})()},jtHE:function(t,e,n){\"use strict\";var i=n(\"XNiG\"),r=n(\"3N8a\");class s extends r.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var a=n(\"IjjT\");class o extends a.a{}const l=new o(s);var c=n(\"quSY\"),h=n(\"7o/Q\"),d=n(\"WMd4\");class u extends h.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new p(t,this.destination)))}_next(t){this.scheduleMessage(d.a.createNext(t))}_error(t){this.scheduleMessage(d.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(d.a.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var m=n(\"9ppp\"),f=n(\"Ylt2\");n.d(e,\"a\",(function(){return g}));class g extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new m.a;if(this.isStopped||this.hasError?s=c.a.EMPTY:(this.observers.push(t),s=new f.a(this,t)),i&&t.add(t=new u(t,i)),e)for(let a=0;a<r&&!t.closed;a++)t.next(n[a]);else for(let a=0;a<r&&!t.closed;a++)t.next(n[a].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||l).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let s=0;for(;s<r&&!(t-i[s].time<n);)s++;return r>e&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i}}class b{constructor(t,e){this.time=t,this.value=e}}},kJWO:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>\"function\"==typeof Symbol&&Symbol.observable||\"@@observable\")()},kSER:function(t,e){t.exports=function(t,e){for(var n=[],i=(e=e||0)||0;i<t.length;i++)n[i-e]=t[i];return n}},kmnG:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return L})),n.d(e,\"b\",(function(){return X})),n.d(e,\"c\",(function(){return N})),n.d(e,\"d\",(function(){return K})),n.d(e,\"e\",(function(){return B})),n.d(e,\"f\",(function(){return H})),n.d(e,\"g\",(function(){return Q}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"GU7r\"),a=n(\"8LU1\"),o=n(\"FKr1\"),l=n(\"XNiG\"),c=n(\"VRyK\"),h=n(\"xgIS\"),d=n(\"JX91\"),u=n(\"1G5W\"),p=n(\"IzEk\"),m=n(\"R0Ic\"),f=n(\"R1ws\"),g=n(\"cH1L\"),b=n(\"nLfN\");const _=[\"underline\"],y=[\"connectionContainer\"],v=[\"inputContainer\"],w=[\"label\"];function x(t,e){1&t&&(r.Ub(0),r.Wb(1,\"div\",14),r.Rb(2,\"div\",15),r.Rb(3,\"div\",16),r.Rb(4,\"div\",17),r.Vb(),r.Wb(5,\"div\",18),r.Rb(6,\"div\",15),r.Rb(7,\"div\",16),r.Rb(8,\"div\",17),r.Vb(),r.Tb())}function C(t,e){1&t&&(r.Wb(0,\"div\",19),r.mc(1,1),r.Vb())}function k(t,e){if(1&t&&(r.Ub(0),r.mc(1,2),r.Wb(2,\"span\"),r.Jc(3),r.Vb(),r.Tb()),2&t){const t=r.ic(2);r.Db(3),r.Kc(t._control.placeholder)}}function O(t,e){1&t&&r.mc(0,3,[\"*ngSwitchCase\",\"true\"])}function S(t,e){1&t&&(r.Wb(0,\"span\",23),r.Jc(1,\" *\"),r.Vb())}function M(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"label\",20,21),r.ec(\"cdkObserveContent\",(function(){return r.zc(t),r.ic().updateOutlineGap()})),r.Hc(2,k,4,1,\"ng-container\",12),r.Hc(3,O,1,0,void 0,12),r.Hc(4,S,2,0,\"span\",22),r.Vb()}if(2&t){const t=r.ic();r.Hb(\"mat-empty\",t._control.empty&&!t._shouldAlwaysFloat)(\"mat-form-field-empty\",t._control.empty&&!t._shouldAlwaysFloat)(\"mat-accent\",\"accent\"==t.color)(\"mat-warn\",\"warn\"==t.color),r.oc(\"cdkObserveContentDisabled\",\"outline\"!=t.appearance)(\"id\",t._labelId)(\"ngSwitch\",t._hasLabel()),r.Eb(\"for\",t._control.id)(\"aria-owns\",t._control.id),r.Db(2),r.oc(\"ngSwitchCase\",!1),r.Db(1),r.oc(\"ngSwitchCase\",!0),r.Db(1),r.oc(\"ngIf\",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function P(t,e){1&t&&(r.Wb(0,\"div\",24),r.mc(1,4),r.Vb())}function E(t,e){if(1&t&&(r.Wb(0,\"div\",25,26),r.Rb(2,\"span\",27),r.Vb()),2&t){const t=r.ic();r.Db(2),r.Hb(\"mat-accent\",\"accent\"==t.color)(\"mat-warn\",\"warn\"==t.color)}}function A(t,e){if(1&t&&(r.Wb(0,\"div\"),r.mc(1,5),r.Vb()),2&t){const t=r.ic();r.oc(\"@transitionMessages\",t._subscriptAnimationState)}}function D(t,e){if(1&t&&(r.Wb(0,\"div\",31),r.Jc(1),r.Vb()),2&t){const t=r.ic(2);r.oc(\"id\",t._hintLabelId),r.Db(1),r.Kc(t.hintLabel)}}function R(t,e){if(1&t&&(r.Wb(0,\"div\",28),r.Hc(1,D,2,2,\"div\",29),r.mc(2,6),r.Rb(3,\"div\",30),r.mc(4,7),r.Vb()),2&t){const t=r.ic();r.oc(\"@transitionMessages\",t._subscriptAnimationState),r.Db(1),r.oc(\"ngIf\",t.hintLabel)}}const T=[\"*\",[[\"\",\"matPrefix\",\"\"]],[[\"mat-placeholder\"]],[[\"mat-label\"]],[[\"\",\"matSuffix\",\"\"]],[[\"mat-error\"]],[[\"mat-hint\",3,\"align\",\"end\"]],[[\"mat-hint\",\"align\",\"end\"]]],I=[\"*\",\"[matPrefix]\",\"mat-placeholder\",\"mat-label\",\"[matSuffix]\",\"mat-error\",\"mat-hint:not([align='end'])\",\"mat-hint[align='end']\"];let j=0,L=(()=>{class t{constructor(){this.id=`mat-error-${j++}`}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-error\"]],hostAttrs:[\"role\",\"alert\",1,\"mat-error\"],hostVars:1,hostBindings:function(t,e){2&t&&r.Eb(\"id\",e.id)},inputs:{id:\"id\"}}),t})();const F={transitionMessages:Object(m.p)(\"transitionMessages\",[Object(m.m)(\"enter\",Object(m.n)({opacity:1,transform:\"translateY(0%)\"})),Object(m.o)(\"void => enter\",[Object(m.n)({opacity:0,transform:\"translateY(-100%)\"}),Object(m.e)(\"300ms cubic-bezier(0.55, 0, 0.55, 0.2)\")])])};let N=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t}),t})();function V(t){return Error(`A hint was already declared for 'align=\"${t}\"'.`)}let z=0,B=(()=>{class t{constructor(){this.align=\"start\",this.id=`mat-hint-${z++}`}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-hint\"]],hostAttrs:[1,\"mat-hint\"],hostVars:4,hostBindings:function(t,e){2&t&&(r.Eb(\"id\",e.id)(\"align\",null),r.Hb(\"mat-right\",\"end\"==e.align))},inputs:{align:\"align\",id:\"id\"}}),t})(),H=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-label\"]]}),t})(),U=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-placeholder\"]]}),t})(),q=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"matPrefix\",\"\"]]}),t})(),Q=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"matSuffix\",\"\"]]}),t})(),W=0;class Y{constructor(t){this._elementRef=t}}const $=Object(o.t)(Y,\"primary\"),G=new r.r(\"MAT_FORM_FIELD_DEFAULT_OPTIONS\");let X=(()=>{class t extends ${constructor(t,e,n,i,r,s,a,o){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState=\"\",this._hintLabel=\"\",this._hintLabelId=`mat-hint-${W++}`,this._labelId=`mat-form-field-label-${W++}`,this._labelOptions=n||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=\"NoopAnimations\"!==o,this.appearance=r&&r.appearance?r.appearance:\"legacy\",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||\"legacy\",\"outline\"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(a.c)(t)}get _shouldAlwaysFloat(){return\"always\"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return\"never\"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return\"legacy\"!==this.appearance&&\"never\"===this._floatLabel?\"auto\":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(d.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(u.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(u.a)(this._destroyed)).subscribe(()=>{\"function\"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState=\"enter\",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return\"legacy\"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||\"legacy\"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?\"error\":\"hint\"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(h.a)(this._label.nativeElement,\"transitionend\").pipe(Object(p.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel=\"always\",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error(\"Placeholder attribute and child element were both specified.\")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if(\"start\"===n.align){if(t||this.hintLabel)throw V(\"start\");t=n}else if(\"end\"===n.align){if(e)throw V(\"end\");e=n}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||\"auto\"}_syncDescribedByIds(){if(this._control){let t=[];if(\"hint\"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>\"start\"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>\"end\"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error(\"mat-form-field must contain a MatFormFieldControl.\")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if(\"outline\"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(\".mat-form-field-outline-start\"),s=i.querySelectorAll(\".mat-form-field-outline-gap\");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),a=this._getStartEnd(t.children[0].getBoundingClientRect());let o=0;for(const e of t.children)o+=e.offsetWidth;e=a-s-5,n=o>0?.75*o+10:0}for(let a=0;a<r.length;a++)r[a].style.width=`${e}px`;for(let a=0;a<s.length;a++)s[a].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&\"rtl\"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(r.h),r.Qb(o.d,8),r.Qb(g.b,8),r.Qb(G,8),r.Qb(b.a),r.Qb(r.A),r.Qb(f.a,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-form-field\"]],contentQueries:function(t,e,n){var i;1&t&&(r.Jb(n,N,!0),r.Ec(n,N,!0),r.Jb(n,H,!0),r.Ec(n,H,!0),r.Jb(n,U,!0),r.Jb(n,L,!0),r.Jb(n,B,!0),r.Jb(n,q,!0),r.Jb(n,Q,!0)),2&t&&(r.vc(i=r.fc())&&(e._controlNonStatic=i.first),r.vc(i=r.fc())&&(e._controlStatic=i.first),r.vc(i=r.fc())&&(e._labelChildNonStatic=i.first),r.vc(i=r.fc())&&(e._labelChildStatic=i.first),r.vc(i=r.fc())&&(e._placeholderChild=i.first),r.vc(i=r.fc())&&(e._errorChildren=i),r.vc(i=r.fc())&&(e._hintChildren=i),r.vc(i=r.fc())&&(e._prefixChildren=i),r.vc(i=r.fc())&&(e._suffixChildren=i))},viewQuery:function(t,e){var n;1&t&&(r.Pc(_,!0),r.Fc(y,!0),r.Pc(v,!0),r.Pc(w,!0)),2&t&&(r.vc(n=r.fc())&&(e.underlineRef=n.first),r.vc(n=r.fc())&&(e._connectionContainerRef=n.first),r.vc(n=r.fc())&&(e._inputContainerRef=n.first),r.vc(n=r.fc())&&(e._label=n.first))},hostAttrs:[1,\"mat-form-field\"],hostVars:44,hostBindings:function(t,e){2&t&&r.Hb(\"mat-form-field-appearance-standard\",\"standard\"==e.appearance)(\"mat-form-field-appearance-fill\",\"fill\"==e.appearance)(\"mat-form-field-appearance-outline\",\"outline\"==e.appearance)(\"mat-form-field-appearance-legacy\",\"legacy\"==e.appearance)(\"mat-form-field-invalid\",e._control.errorState)(\"mat-form-field-can-float\",e._canLabelFloat)(\"mat-form-field-should-float\",e._shouldLabelFloat())(\"mat-form-field-has-label\",e._hasFloatingLabel())(\"mat-form-field-hide-placeholder\",e._hideControlPlaceholder())(\"mat-form-field-disabled\",e._control.disabled)(\"mat-form-field-autofilled\",e._control.autofilled)(\"mat-focused\",e._control.focused)(\"mat-accent\",\"accent\"==e.color)(\"mat-warn\",\"warn\"==e.color)(\"ng-untouched\",e._shouldForward(\"untouched\"))(\"ng-touched\",e._shouldForward(\"touched\"))(\"ng-pristine\",e._shouldForward(\"pristine\"))(\"ng-dirty\",e._shouldForward(\"dirty\"))(\"ng-valid\",e._shouldForward(\"valid\"))(\"ng-invalid\",e._shouldForward(\"invalid\"))(\"ng-pending\",e._shouldForward(\"pending\"))(\"_mat-animation-noopable\",!e._animationsEnabled)},inputs:{color:\"color\",floatLabel:\"floatLabel\",appearance:\"appearance\",hideRequiredMarker:\"hideRequiredMarker\",hintLabel:\"hintLabel\"},exportAs:[\"matFormField\"],features:[r.Ab],ngContentSelectors:I,decls:15,vars:8,consts:[[1,\"mat-form-field-wrapper\"],[1,\"mat-form-field-flex\",3,\"click\"],[\"connectionContainer\",\"\"],[4,\"ngIf\"],[\"class\",\"mat-form-field-prefix\",4,\"ngIf\"],[1,\"mat-form-field-infix\"],[\"inputContainer\",\"\"],[1,\"mat-form-field-label-wrapper\"],[\"class\",\"mat-form-field-label\",3,\"cdkObserveContentDisabled\",\"id\",\"mat-empty\",\"mat-form-field-empty\",\"mat-accent\",\"mat-warn\",\"ngSwitch\",\"cdkObserveContent\",4,\"ngIf\"],[\"class\",\"mat-form-field-suffix\",4,\"ngIf\"],[\"class\",\"mat-form-field-underline\",4,\"ngIf\"],[1,\"mat-form-field-subscript-wrapper\",3,\"ngSwitch\"],[4,\"ngSwitchCase\"],[\"class\",\"mat-form-field-hint-wrapper\",4,\"ngSwitchCase\"],[1,\"mat-form-field-outline\"],[1,\"mat-form-field-outline-start\"],[1,\"mat-form-field-outline-gap\"],[1,\"mat-form-field-outline-end\"],[1,\"mat-form-field-outline\",\"mat-form-field-outline-thick\"],[1,\"mat-form-field-prefix\"],[1,\"mat-form-field-label\",3,\"cdkObserveContentDisabled\",\"id\",\"ngSwitch\",\"cdkObserveContent\"],[\"label\",\"\"],[\"class\",\"mat-placeholder-required mat-form-field-required-marker\",\"aria-hidden\",\"true\",4,\"ngIf\"],[\"aria-hidden\",\"true\",1,\"mat-placeholder-required\",\"mat-form-field-required-marker\"],[1,\"mat-form-field-suffix\"],[1,\"mat-form-field-underline\"],[\"underline\",\"\"],[1,\"mat-form-field-ripple\"],[1,\"mat-form-field-hint-wrapper\"],[\"class\",\"mat-hint\",3,\"id\",4,\"ngIf\"],[1,\"mat-form-field-hint-spacer\"],[1,\"mat-hint\",3,\"id\"]],template:function(t,e){1&t&&(r.nc(T),r.Wb(0,\"div\",0),r.Wb(1,\"div\",1,2),r.ec(\"click\",(function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)})),r.Hc(3,x,9,0,\"ng-container\",3),r.Hc(4,C,2,0,\"div\",4),r.Wb(5,\"div\",5,6),r.mc(7),r.Wb(8,\"span\",7),r.Hc(9,M,5,16,\"label\",8),r.Vb(),r.Vb(),r.Hc(10,P,2,0,\"div\",9),r.Vb(),r.Hc(11,E,3,4,\"div\",10),r.Wb(12,\"div\",11),r.Hc(13,A,2,1,\"div\",12),r.Hc(14,R,5,2,\"div\",13),r.Vb(),r.Vb()),2&t&&(r.Db(3),r.oc(\"ngIf\",\"outline\"==e.appearance),r.Db(1),r.oc(\"ngIf\",e._prefixChildren.length),r.Db(5),r.oc(\"ngIf\",e._hasFloatingLabel()),r.Db(1),r.oc(\"ngIf\",e._suffixChildren.length),r.Db(1),r.oc(\"ngIf\",\"outline\"!=e.appearance),r.Db(1),r.oc(\"ngSwitch\",e._getDisplayedMessages()),r.Db(1),r.oc(\"ngSwitchCase\",\"error\"),r.Db(1),r.oc(\"ngSwitchCase\",\"hint\"))},directives:[i.l,i.n,i.o,s.a],styles:[\".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\\n\",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\"\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\" \";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\\n',\".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\\n\",\".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\\n\",\".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\\n\"],encapsulation:2,data:{animation:[F.transitionMessages]},changeDetection:0}),t})(),K=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[i.c,s.c]]}),t})()},l7GE:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");class r extends i.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");function r(t,e){return function(n){if(\"function\"!=typeof t)throw new TypeError(\"argument is not a function. Are you looking for `mapTo()`?\");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.project,this.thisArg))}}class a extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lKxJ:function(t,e,n){t.exports=n(\"2pII\"),t.exports.parser=n(\"Wm4p\")},m4GZ:function(t,e){function n(t){this.message=t}(n.prototype=new Error).name=\"InvalidCharacterError\",t.exports=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,\"\");if(e.length%4==1)throw new n(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var i,r,s=0,a=0,o=\"\";r=e.charAt(a++);~r&&(i=s%4?64*i+r:r,s++%4)?o+=String.fromCharCode(255&i>>(-2*s&6)):0)r=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(r);return o}},mCNh:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r})),n.d(e,\"b\",(function(){return s}));var i=n(\"KqfI\");function r(...t){return s(t)}function s(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:i.a}},mqiu:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));class i{constructor(t,e=\"/assets/i18n/\",n=\".json\"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}},n6bG:function(t,e,n){\"use strict\";function i(t){return\"function\"==typeof t}n.d(e,\"a\",(function(){return i}))},nLfN:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o})),n.d(e,\"b\",(function(){return l})),n.d(e,\"c\",(function(){return b})),n.d(e,\"d\",(function(){return g})),n.d(e,\"e\",(function(){return h})),n.d(e,\"f\",(function(){return m})),n.d(e,\"g\",(function(){return f}));var i=n(\"fXoL\"),r=n(\"ofXK\");let s;try{s=\"undefined\"!=typeof Intl&&Intl.v8BreakIterator}catch(_){s=!1}let a,o=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.t)(this._platformId):\"object\"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&\"undefined\"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!(\"MSStream\"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.C,8))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(i.C,8))},token:t,providedIn:\"root\"}),t})(),l=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();const c=[\"color\",\"button\",\"checkbox\",\"date\",\"datetime-local\",\"email\",\"file\",\"hidden\",\"image\",\"month\",\"number\",\"password\",\"radio\",\"range\",\"reset\",\"search\",\"submit\",\"tel\",\"text\",\"time\",\"url\",\"week\"];function h(){if(a)return a;if(\"object\"!=typeof document||!document)return a=new Set(c),a;let t=document.createElement(\"input\");return a=new Set(c.filter(e=>(t.setAttribute(\"type\",e),t.type===e))),a}let d,u,p;function m(t){return function(){if(null==d&&\"undefined\"!=typeof window)try{window.addEventListener(\"test\",null,Object.defineProperty({},\"passive\",{get:()=>d=!0}))}finally{d=d||!1}return d}()?t:!!t.capture}function f(){return!!(\"object\"==typeof document&&\"scrollBehavior\"in document.documentElement.style)}function g(){if(\"object\"!=typeof document||!document)return 0;if(null==u){const t=document.createElement(\"div\"),e=t.style;t.dir=\"rtl\",e.height=\"1px\",e.width=\"1px\",e.overflow=\"auto\",e.visibility=\"hidden\",e.pointerEvents=\"none\",e.position=\"absolute\";const n=document.createElement(\"div\"),i=n.style;i.width=\"2px\",i.height=\"1px\",t.appendChild(n),document.body.appendChild(t),u=0,0===t.scrollLeft&&(t.scrollLeft=1,u=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return u}function b(){if(null==p){const t=\"undefined\"!=typeof document?document.head:null;p=!(!t||!t.createShadowRoot&&!t.attachShadow)}return p}},nYR2:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"7o/Q\"),r=n(\"quSY\");function s(t){return e=>e.lift(new a(t))}class a{constructor(t){this.callback=t}call(t,e){return e.subscribe(new o(t,this.callback))}}class o extends i.a{constructor(t,e){super(t),this.add(new r.a(e))}}},ngJS:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},\"oIG/\":function(t,e){var n,i,r,s=String.fromCharCode;function a(t){for(var e,n,i=[],r=0,s=t.length;r<s;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<s?56320==(64512&(n=t.charCodeAt(r++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--):i.push(e);return i}function o(t,e){if(t>=55296&&t<=57343){if(e)throw Error(\"Lone surrogate U+\"+t.toString(16).toUpperCase()+\" is not a scalar value\");return!1}return!0}function l(t,e){return s(t>>e&63|128)}function c(t,e){if(0==(4294967168&t))return s(t);var n=\"\";return 0==(4294965248&t)?n=s(t>>6&31|192):0==(4294901760&t)?(o(t,e)||(t=65533),n=s(t>>12&15|224),n+=l(t,6)):0==(4292870144&t)&&(n=s(t>>18&7|240),n+=l(t,12),n+=l(t,6)),n+s(63&t|128)}function h(){if(r>=i)throw Error(\"Invalid byte index\");var t=255&n[r];if(r++,128==(192&t))return 63&t;throw Error(\"Invalid continuation byte\")}function d(t){var e,s;if(r>i)throw Error(\"Invalid byte index\");if(r==i)return!1;if(e=255&n[r],r++,0==(128&e))return e;if(192==(224&e)){if((s=(31&e)<<6|h())>=128)return s;throw Error(\"Invalid continuation byte\")}if(224==(240&e)){if((s=(15&e)<<12|h()<<6|h())>=2048)return o(s,t)?s:65533;throw Error(\"Invalid continuation byte\")}if(240==(248&e)&&(s=(7&e)<<18|h()<<12|h()<<6|h())>=65536&&s<=1114111)return s;throw Error(\"Invalid UTF-8 detected\")}t.exports={version:\"2.1.2\",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,i=a(t),r=i.length,s=-1,o=\"\";++s<r;)o+=c(i[s],n);return o},decode:function(t,e){var o=!1!==(e=e||{}).strict;n=a(t),i=n.length,r=0;for(var l,c=[];!1!==(l=d(o));)c.push(l);return function(t){for(var e,n=t.length,i=-1,r=\"\";++i<n;)(e=t[i])>65535&&(r+=s((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=s(e);return r}(c)}}},\"oWl+\":function(t,e,n){\"use strict\";n(\"u47x\");var i=n(\"8LU1\"),r=n(\"fXoL\"),s=n(\"FKr1\"),a=n(\"quSY\"),o=n(\"XNiG\"),l=n(\"NXyV\"),c=n(\"VRyK\"),h=n(\"LRne\"),d=n(\"xgIS\"),u=n(\"ofXK\"),p=n(\"rDax\"),m=n(\"FtGj\"),f=n(\"nLfN\"),g=n(\"+rOU\"),b=n(\"3Pt+\"),_=n(\"IzEk\"),y=n(\"eIep\"),v=n(\"pLZG\"),w=n(\"lJxs\"),x=n(\"vkgz\"),C=n(\"3E0/\"),k=n(\"cH1L\"),O=n(\"kmnG\"),S=n(\"vxfF\");const M=new r.r(\"mat-autocomplete-scroll-strategy\"),P={provide:M,deps:[p.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},E={provide:b.l,useExisting:Object(r.V)(()=>A),multi:!0};let A=(()=>{class t{constructor(t,e,n,i,r,s,h,d,u,p){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=r,this._dir=h,this._formField=d,this._document=u,this._viewportRuler=p,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=a.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new o.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position=\"auto\",this.autocompleteAttribute=\"off\",this._overlayAttached=!1,this.optionSelections=Object(l.a)(()=>this.autocomplete&&this.autocomplete.options?Object(c.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.asObservable().pipe(Object(_.a)(1),Object(y.a)(()=>this.optionSelections))),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(i.c)(t)}ngAfterViewInit(){if(\"undefined\"!=typeof window&&(this._zone.runOutsideAngular(()=>{window.addEventListener(\"blur\",this._windowBlurHandler)}),Object(f.c)())){const t=this._element.nativeElement,e=t.getRootNode?t.getRootNode():null;this._isInsideShadowRoot=e instanceof window.ShadowRoot}}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){\"undefined\"!=typeof window&&window.removeEventListener(\"blur\",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(c.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(v.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(v.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(w.a)(t=>t instanceof s.m?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(c.a)(Object(d.a)(this._document,\"click\"),Object(d.a)(this._document,\"touchend\")).pipe(Object(v.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e===m.e&&t.preventDefault(),this.activeOption&&e===m.d&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=e===m.n||e===m.b;this.panelOpen||e===m.m?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}}_handleInput(t){let e=t.target,n=e.value;\"number\"===e.type&&(n=\"\"==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&\"auto\"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel=\"always\",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel=\"auto\",this._manuallyFloatingLabel=!1)}_scrollToOption(){const t=this.autocomplete._keyManager.activeItemIndex||0,e=Object(s.r)(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{const n=Object(s.s)(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)}}_subscribeToClosingActions(){const t=this._zone.onStable.asObservable().pipe(Object(_.a)(1)),e=this.autocomplete.options.changes.pipe(Object(x.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(C.a)(0));return Object(c.a)(t,e).pipe(Object(y.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(_.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:\"\";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!=t&&e.selected&&e.deselect()})}_attachOverlay(){if(!this.autocomplete)throw Error(\"Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.\");let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new g.g(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(t=>{(t.keyCode===m.e||t.keyCode===m.n&&t.altKey)&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new p.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e={originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"top\"},n={originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"bottom\",panelClass:\"mat-autocomplete-panel-above\"};let i;i=\"above\"===this.position?[n]:\"below\"===this.position?[e]:[e,n],t.withPositions(i)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(p.c),r.Qb(r.P),r.Qb(r.A),r.Qb(r.h),r.Qb(M),r.Qb(k.b,8),r.Qb(O.b,9),r.Qb(u.d,8),r.Qb(S.d))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"input\",\"matAutocomplete\",\"\"],[\"textarea\",\"matAutocomplete\",\"\"]],hostAttrs:[1,\"mat-autocomplete-trigger\"],hostVars:7,hostBindings:function(t,e){1&t&&r.ec(\"focusin\",(function(){return e._handleFocus()}))(\"blur\",(function(){return e._onTouched()}))(\"input\",(function(t){return e._handleInput(t)}))(\"keydown\",(function(t){return e._handleKeydown(t)})),2&t&&r.Eb(\"autocomplete\",e.autocompleteAttribute)(\"role\",e.autocompleteDisabled?null:\"combobox\")(\"aria-autocomplete\",e.autocompleteDisabled?null:\"list\")(\"aria-activedescendant\",e.panelOpen&&e.activeOption?e.activeOption.id:null)(\"aria-expanded\",e.autocompleteDisabled?null:e.panelOpen.toString())(\"aria-owns\",e.autocompleteDisabled||!e.panelOpen?null:null==e.autocomplete?null:e.autocomplete.id)(\"aria-haspopup\",!e.autocompleteDisabled)},inputs:{position:[\"matAutocompletePosition\",\"position\"],autocompleteAttribute:[\"autocomplete\",\"autocompleteAttribute\"],autocompleteDisabled:[\"matAutocompleteDisabled\",\"autocompleteDisabled\"],autocomplete:[\"matAutocomplete\",\"autocomplete\"],connectedTo:[\"matAutocompleteConnectedTo\",\"connectedTo\"]},exportAs:[\"matAutocompleteTrigger\"],features:[r.Cb([E]),r.Bb()]}),t})(),D=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[P],imports:[[s.l,p.f,s.f,u.c],s.l,s.f]}),t})();var R=n(\"NFeN\"),T=n(\"qFsG\"),I=n(\"R0Ic\");n.d(e,\"a\",(function(){return q})),n.d(e,\"b\",(function(){return U}));const j=[\"input\"];function L(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",7,8),r.ec(\"ngModelChange\",(function(e){return r.zc(t),r.ic().value=e}))(\"ngModelChange\",(function(){return r.zc(t),r.ic().updateChanges()}))(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"ngModel\",t.value)(\"matAutocomplete\",t.matAutocomplete)(\"placeholder\",t.placeholder)}}function F(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",9,8),r.ec(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"placeholder\",t.placeholder)(\"formControl\",t.formControl)}}function N(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",10,8),r.ec(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"matAutocomplete\",t.matAutocomplete)(\"placeholder\",t.placeholder)(\"formControl\",t.formControl)}}function V(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",11,8),r.ec(\"ngModelChange\",(function(e){return r.zc(t),r.ic().value=e}))(\"ngModelChange\",(function(){return r.zc(t),r.ic().updateChanges()}))(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"ngModel\",t.value)(\"placeholder\",t.placeholder)}}let z=(()=>{class t{constructor(){this.onChange=t=>{},this.onTouched=()=>{}}updateChanges(){this.onChange(this.value)}writeValue(t){this.value=t,this.updateChanges()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t}),t})();var B,H=function(t){return t[t.SIMPLE=0]=\"SIMPLE\",t[t.FORMCONTROL=1]=\"FORMCONTROL\",t[t.AUTOCOMPLETE=2]=\"AUTOCOMPLETE\",t[t.FORMCONTROLANDAUTOCOMPLETE=3]=\"FORMCONTROLANDAUTOCOMPLETE\",t}({});let U=(()=>{let t=B=class extends z{constructor(){super(...arguments),this.DISPLAY_TYPE=H,this.placeholder=\"\",this.onBlur=new r.o,this.onClose=new r.o,this.onEnter=new r.o,this.onFocus=new r.o,this.onOpen=new r.o,this.searchVisible=!1}ngOnInit(){this.formControl||this.matAutocomplete?this.formControl&&this.matAutocomplete?this.mode=H.FORMCONTROLANDAUTOCOMPLETE:this.formControl?this.mode=H.FORMCONTROL:this.matAutocomplete&&(this.mode=H.AUTOCOMPLETE):this.mode=H.SIMPLE}close(){this.searchVisible=!1,this.value=\"\",this.updateChanges(),this.onClose.emit()}open(){this.searchVisible=!0,this.inputElement.nativeElement.focus(),this.onOpen.emit()}onBlurring(t){t||(this.searchVisible=!1),this.onBlur.emit(t)}onEnterring(t){this.onEnter.emit(t)}onFocussing(t){this.onFocus.emit(t)}};return t.\\u0275fac=function(e){return Q(e||t)},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-search-bar\"]],viewQuery:function(t,e){var n;1&t&&r.Pc(j,!0),2&t&&r.vc(n=r.fc())&&(e.inputElement=n.first)},inputs:{placeholder:\"placeholder\",formControl:\"formControl\",matAutocomplete:\"matAutocomplete\"},outputs:{onBlur:\"onBlur\",onClose:\"onClose\",onEnter:\"onEnter\",onFocus:\"onFocus\",onOpen:\"onOpen\"},features:[r.Cb([{provide:b.l,useExisting:Object(r.V)(()=>B),multi:!0}]),r.Ab],decls:10,vars:6,consts:[[3,\"ngSwitch\"],[\"class\",\"mat-search_field\",4,\"ngSwitchCase\"],[\"class\",\"mat-search_field\",4,\"ngSwitchDefault\"],[1,\"mat-search_icons\"],[\"matRipple\",\"\",1,\"mat-search_icon-close\",3,\"click\"],[\"matRipple\",\"\",1,\"mat-search_icon-search\",3,\"click\"],[1,\"mat-search_field\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"ngModel\",\"matAutocomplete\",\"placeholder\",\"ngModelChange\",\"blur\",\"keyup.enter\",\"focus\"],[\"input\",\"\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"placeholder\",\"formControl\",\"blur\",\"keyup.enter\",\"focus\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"matAutocomplete\",\"placeholder\",\"formControl\",\"blur\",\"keyup.enter\",\"focus\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"ngModel\",\"placeholder\",\"ngModelChange\",\"blur\",\"keyup.enter\",\"focus\"]],template:function(t,e){1&t&&(r.Ub(0,0),r.Hc(1,L,3,4,\"mat-form-field\",1),r.Hc(2,F,3,3,\"mat-form-field\",1),r.Hc(3,N,3,4,\"mat-form-field\",1),r.Hc(4,V,3,3,\"mat-form-field\",2),r.Tb(),r.Wb(5,\"span\",3),r.Wb(6,\"mat-icon\",4),r.ec(\"click\",(function(){return e.close()})),r.Jc(7,\" close \"),r.Vb(),r.Wb(8,\"mat-icon\",5),r.ec(\"click\",(function(){return e.open()})),r.Jc(9,\" search \"),r.Vb(),r.Vb()),2&t&&(r.oc(\"ngSwitch\",e.mode),r.Db(1),r.oc(\"ngSwitchCase\",e.DISPLAY_TYPE.AUTOCOMPLETE),r.Db(1),r.oc(\"ngSwitchCase\",e.DISPLAY_TYPE.FORMCONTROL),r.Db(1),r.oc(\"ngSwitchCase\",e.DISPLAY_TYPE.FORMCONTROLANDAUTOCOMPLETE),r.Db(2),r.Hb(\"mat-search_icons--active\",e.searchVisible))},directives:[u.n,u.o,u.p,R.a,s.p,O.b,T.b,b.b,A,b.n,b.q,b.d],styles:[\"[_nghost-%COMP%]{position:relative;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:24px;height:24px}.mat-search_field[_ngcontent-%COMP%]{position:absolute;z-index:1;padding:0 24px 0 0}.mat-search_icons[_ngcontent-%COMP%]{display:block;margin:0;padding:0;position:absolute;top:0;left:0}.mat-search_icons[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-search_icons[_ngcontent-%COMP%]   .mat-search_icon-close[_ngcontent-%COMP%], .mat-search_icons[_ngcontent-%COMP%]   .mat-search_icon-search[_ngcontent-%COMP%]{-webkit-transition:.2s cubic-bezier(.4,0,.2,1);transition:.2s cubic-bezier(.4,0,.2,1);position:absolute;top:0;left:0;z-index:2;border-radius:50%}.mat-search_icons[_ngcontent-%COMP%]   .mat-search_icon-close[_ngcontent-%COMP%], .mat-search_icons.mat-search_icons--active[_ngcontent-%COMP%]   .mat-search_icon-search[_ngcontent-%COMP%]{opacity:0;-webkit-transform:rotate(225deg);transform:rotate(225deg)}.mat-search_icons.mat-search_icons--active[_ngcontent-%COMP%]   .mat-search_icon-close[_ngcontent-%COMP%]{opacity:1;z-index:3;visibility:visible;-webkit-transform:rotate(360deg);transform:rotate(360deg)}\"],data:{animation:[Object(I.p)(\"slideInOut\",[Object(I.m)(\"true\",Object(I.n)({width:\"*\"})),Object(I.m)(\"false\",Object(I.n)({width:\"0\"})),Object(I.o)(\"true => false\",Object(I.e)(\"300ms ease-in\")),Object(I.o)(\"false => true\",Object(I.e)(\"300ms ease-out\"))])]}}),t})(),q=(()=>{let t=class{};return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[u.c,b.h,D,R.b,T.c,s.q,b.u]]}),t})();const Q=r.Yb(U)},ofXK:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return $})),n.d(e,\"c\",(function(){return X})),n.d(e,\"d\",(function(){return l})),n.d(e,\"e\",(function(){return x})),n.d(e,\"f\",(function(){return d})),n.d(e,\"g\",(function(){return C})),n.d(e,\"h\",(function(){return _})),n.d(e,\"i\",(function(){return G})),n.d(e,\"j\",(function(){return D})),n.d(e,\"k\",(function(){return T})),n.d(e,\"l\",(function(){return j})),n.d(e,\"m\",(function(){return H})),n.d(e,\"n\",(function(){return V})),n.d(e,\"o\",(function(){return z})),n.d(e,\"p\",(function(){return B})),n.d(e,\"q\",(function(){return w})),n.d(e,\"r\",(function(){return c})),n.d(e,\"s\",(function(){return tt})),n.d(e,\"t\",(function(){return Z})),n.d(e,\"u\",(function(){return J})),n.d(e,\"v\",(function(){return o})),n.d(e,\"w\",(function(){return K})),n.d(e,\"x\",(function(){return s})),n.d(e,\"y\",(function(){return A})),n.d(e,\"z\",(function(){return a}));var i=n(\"fXoL\");let r=null;function s(){return r}function a(t){r||(r=t)}class o{}const l=new i.r(\"DocumentToken\");let c=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:h,token:t,providedIn:\"platform\"}),t})();function h(){return Object(i.ac)(u)}const d=new i.r(\"Location Initialized\");let u=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(t){s().getGlobalEventTarget(this._doc,\"window\").addEventListener(\"popstate\",t,!1)}onHashChange(t){s().getGlobalEventTarget(this._doc,\"window\").addEventListener(\"hashchange\",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(l))},t.\\u0275prov=Object(i.Mb)({factory:m,token:t,providedIn:\"platform\"}),t})();function p(){return!!window.history.pushState}function m(){return new u(Object(i.ac)(l))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith(\"/\")&&n++,e.startsWith(\"/\")&&n++,2==n?t+e.substring(1):1==n?t+e:t+\"/\"+e}function g(t){const e=t.match(/#|\\?|$/),n=e&&e.index||t.length;return t.slice(0,n-(\"/\"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&\"?\"!==t[0]?\"?\"+t:t}let _=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:y,token:t,providedIn:\"root\"}),t})();function y(t){const e=Object(i.ac)(l).location;return new w(Object(i.ac)(c),e&&e.origin||\"\")}const v=new i.r(\"appBaseHref\");let w=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error(\"No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.\");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c),i.ac(v,8))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),x=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref=\"\",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e=\"#\"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?\"#\"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c),i.ac(v,8))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),C=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=\"\"){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&\"/\"!==t[0]&&(t=\"/\"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e=\"\",n=null){this._platformStrategy.pushState(n,\"\",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e=\"\",n=null){this._platformStrategy.replaceState(n,\"\",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t=\"\",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(_),i.ac(c))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=g,t.\\u0275prov=Object(i.Mb)({factory:k,token:t,providedIn:\"root\"}),t})();function k(){return new C(Object(i.ac)(_),Object(i.ac)(c))}function O(t){return t.replace(/\\/index.html$/,\"\")}const S=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]=\"Zero\",t[t.One]=\"One\",t[t.Two]=\"Two\",t[t.Few]=\"Few\",t[t.Many]=\"Many\",t[t.Other]=\"Other\",t}(),M=i.pb;class P{}let E=(()=>{class t extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(M(e||this.locale)(t)){case S.Zero:return\"zero\";case S.One:return\"one\";case S.Two:return\"two\";case S.Few:return\"few\";case S.Many:return\"many\";default:return\"other\"}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.v))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();function A(t,e){e=encodeURIComponent(e);for(const n of t.split(\";\")){const t=n.indexOf(\"=\"),[i,r]=-1==t?[n,\"\"]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let D=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses=\"string\"==typeof t?t.split(/\\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass=\"string\"==typeof t?t.split(/\\s+/):t,this._rawClass&&(Object(i.sb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if(\"string\"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.yb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.t),i.Qb(i.u),i.Qb(i.l),i.Qb(i.F))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngClass\",\"\"]],inputs:{klass:[\"class\",\"klass\"],ngClass:\"ngClass\"}}),t})();class R{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let T=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(i.X)()&&null!=t&&\"function\"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+\"See https://angular.io/api/common/NgForOf#change-propagation for more information.\"),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new R(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new I(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new I(t,r);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M),i.Qb(i.t))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngFor\",\"\",\"ngForOf\",\"\"]],inputs:{ngForOf:\"ngForOf\",ngForTrackBy:\"ngForTrackBy\",ngForTemplate:\"ngForTemplate\"}}),t})();class I{constructor(t,e){this.record=t,this.view=e}}let j=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new L,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){F(\"ngIfThen\",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){F(\"ngIfElse\",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngIf\",\"\"]],inputs:{ngIf:\"ngIf\",ngIfThen:\"ngIfThen\",ngIfElse:\"ngIfElse\"}}),t})();class L{constructor(){this.$implicit=null,this.ngIf=null}}function F(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.yb)(e)}'.`)}class N{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let V=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngSwitch\",\"\"]],inputs:{ngSwitch:\"ngSwitch\"}}),t})(),z=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new N(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M),i.Qb(V,1))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngSwitchCase\",\"\"]],inputs:{ngSwitchCase:\"ngSwitchCase\"}}),t})(),B=(()=>{class t{constructor(t,e,n){n._addDefault(new N(t,e))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M),i.Qb(V,1))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngSwitchDefault\",\"\"]]}),t})(),H=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(\".\");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.u),i.Qb(i.F))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngStyle\",\"\"]],inputs:{ngStyle:\"ngStyle\"}}),t})();function U(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.yb)(t)}'`)}class q{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Q{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const W=new Q,Y=new q;let $=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(i.vb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.R.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.ub)(e))return W;if(Object(i.tb)(e))return Y;throw U(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\\u0275fac=function(e){return new(e||t)(i.cc())},t.\\u0275pipe=i.Pb({name:\"async\",type:t,pure:!1}),t})(),G=(()=>{class t{transform(e){if(!e)return e;if(\"string\"!=typeof e)throw U(t,e);return e.toLowerCase()}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275pipe=i.Pb({name:\"lowercase\",type:t,pure:!0}),t})(),X=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[{provide:P,useClass:E}]}),t})();const K=\"browser\";function Z(t){return t===K}function J(t){return\"server\"===t}let tt=(()=>{class t{}return t.\\u0275prov=Object(i.Mb)({token:t,providedIn:\"root\",factory:()=>new et(Object(i.ac)(l),window,Object(i.ac)(i.n))}),t})();class et{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\\\"|\\'\\ |:|\\.|\\[|\\]|,|=)/g,\"\\\\$1\");try{const e=this.document.querySelector(`#${t}`);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},ojuT:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==n.call(t)}},pD6V:function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return p})),n.d(e,\"d\",(function(){return g})),n.d(e,\"e\",(function(){return b})),n.d(e,\"g\",(function(){return _})),n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return C})),n.d(e,\"i\",(function(){return U})),n.d(e,\"h\",(function(){return q})),n.d(e,\"j\",(function(){return Q})),n.d(e,\"f\",(function(){return Y}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"XNiG\"),a=n(\"2Vo4\"),o=n(\"HDdC\"),l=n(\"VRyK\"),c=(n(\"7Hc7\"),n(\"LRne\"),n(\"xgIS\"),n(\"pLZG\")),h=(n(\"lJxs\"),n(\"Kj3r\"),n(\"eIep\"),n(\"1G5W\"),n(\"IzEk\"),n(\"vkgz\"));const d={provide:i.b,useFactory:function(t,e){return()=>{if(Object(r.t)(e)){const e=Array.from(t.querySelectorAll(`[class*=${u}]`)),n=/\\bflex-layout-.+?\\b/g;e.forEach(t=>{t.classList.contains(`${u}ssr`)&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,\"\")})}}},deps:[r.d,i.C],multi:!0},u=\"flex-layout-\";let p=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[d]}),t})();class m{constructor(t=!1,e=\"all\",n=\"\",i=\"\",r=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=i,this.priority=r,this.property=\"\"}clone(){return new m(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let f=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const i=this.stylesheet.get(t);i?i.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let i=\"\";if(n){const t=n.get(e);\"number\"!=typeof t&&\"string\"!=typeof t||(i=t+\"\")}return i}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const g={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},b=new i.r(\"Flex Layout token, config options for the library\",{providedIn:\"root\",factory:()=>g}),_=new i.r(\"FlexLayoutServerLoaded\",{providedIn:\"root\",factory:()=>!1}),y=new i.r(\"Flex Layout token, collect all breakpoints into one provider\",{providedIn:\"root\",factory:()=>null});function v(t,e){return t=t?t.clone():new m,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const w=[\"row\",\"column\",\"row-reverse\",\"column-reverse\"];function x(t){if(t)switch(t.toLowerCase()){case\"reverse\":case\"wrap-reverse\":case\"reverse-wrap\":t=\"wrap-reverse\";break;case\"no\":case\"none\":case\"nowrap\":t=\"nowrap\";break;default:t=\"wrap\"}return t}let C=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY=\"\",this.inputs=[],this.mru={},this.destroySubject=new s.a,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(\".\").slice(1).join(\".\");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,i=n.shouldCache;let r=this.styleCache.get(t);r&&i||(r=n.buildStyles(t,e),i&&this.styleCache.set(t,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(t,r,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=\"\"}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,i]=this.styler.getFlowDirection(t);if(!i&&e){const e=function(t){let[e,n,i]=function(t){t=t?t.toLowerCase():\"\";let[e,n,i]=t.split(\" \");return w.find(t=>t===e)||(e=w[0]),\"inline\"===n&&(n=\"inline\"!==i?i:\"\",i=\"inline\"),[e,x(n),!!i]}(t);return function(t,e=null,n=!1){return{display:n?\"inline-flex\":\"flex\",\"box-sizing\":\"border-box\",\"flex-direction\":t,\"flex-wrap\":e||null}}(e,n,i)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return\"row\"}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.addStyles(t)}}return t.\\u0275fac=function(t){i.dc()},t.\\u0275dir=i.Lb({type:t,features:[i.Bb()]}),t})();const k=[{alias:\"xs\",mediaQuery:\"screen and (min-width: 0px) and (max-width: 599.9px)\",priority:1e3},{alias:\"sm\",mediaQuery:\"screen and (min-width: 600px) and (max-width: 959.9px)\",priority:900},{alias:\"md\",mediaQuery:\"screen and (min-width: 960px) and (max-width: 1279.9px)\",priority:800},{alias:\"lg\",mediaQuery:\"screen and (min-width: 1280px) and (max-width: 1919.9px)\",priority:700},{alias:\"xl\",mediaQuery:\"screen and (min-width: 1920px) and (max-width: 4999.9px)\",priority:600},{alias:\"lt-sm\",overlapping:!0,mediaQuery:\"screen and (max-width: 599.9px)\",priority:950},{alias:\"lt-md\",overlapping:!0,mediaQuery:\"screen and (max-width: 959.9px)\",priority:850},{alias:\"lt-lg\",overlapping:!0,mediaQuery:\"screen and (max-width: 1279.9px)\",priority:750},{alias:\"lt-xl\",overlapping:!0,priority:650,mediaQuery:\"screen and (max-width: 1919.9px)\"},{alias:\"gt-xs\",overlapping:!0,mediaQuery:\"screen and (min-width: 600px)\",priority:-950},{alias:\"gt-sm\",overlapping:!0,mediaQuery:\"screen and (min-width: 960px)\",priority:-850},{alias:\"gt-md\",overlapping:!0,mediaQuery:\"screen and (min-width: 1280px)\",priority:-750},{alias:\"gt-lg\",overlapping:!0,mediaQuery:\"screen and (min-width: 1920px)\",priority:-650}],O=\"(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)\",S=\"(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)\",M=\"(orientation: portrait) and (min-width: 840px)\",P=\"(orientation: landscape) and (min-width: 1280px)\",E={HANDSET:\"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)\",TABLET:`${O} , ${S}`,WEB:`${M}, ${P} `,HANDSET_PORTRAIT:\"(orientation: portrait) and (max-width: 599.9px)\",TABLET_PORTRAIT:`${O} `,WEB_PORTRAIT:`${M}`,HANDSET_LANDSCAPE:\"(orientation: landscape) and (max-width: 959.9px)]\",TABLET_LANDSCAPE:`${S}`,WEB_LANDSCAPE:`${P}`},A=[{alias:\"handset\",priority:2e3,mediaQuery:E.HANDSET},{alias:\"handset.landscape\",priority:2e3,mediaQuery:E.HANDSET_LANDSCAPE},{alias:\"handset.portrait\",priority:2e3,mediaQuery:E.HANDSET_PORTRAIT},{alias:\"tablet\",priority:2100,mediaQuery:E.TABLET},{alias:\"tablet.landscape\",priority:2100,mediaQuery:E.TABLET},{alias:\"tablet.portrait\",priority:2100,mediaQuery:E.TABLET_PORTRAIT},{alias:\"web\",priority:2200,mediaQuery:E.WEB,overlapping:!0},{alias:\"web.landscape\",priority:2200,mediaQuery:E.WEB_LANDSCAPE,overlapping:!0},{alias:\"web.portrait\",priority:2200,mediaQuery:E.WEB_PORTRAIT,overlapping:!0}],D=/(\\.|-|_)/g;function R(t){let e=t.length>0?t.charAt(0):\"\",n=t.length>1?t.slice(1):\"\";return e.toUpperCase()+n}const T=new i.r(\"Token (@angular/flex-layout) Breakpoints\",{providedIn:\"root\",factory:()=>{const t=Object(i.W)(y),e=Object(i.W)(b),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError(\"Cannot convert undefined or null to object\");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(i=Object.keys(n).map(t=>n[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(D,\"|\").split(\"|\").map(R).join(\"\"),t.overlapping=!!t.overlapping)}),i;var i}((e.disableDefaultBps?[]:k).concat(e.addOrientationBps?A:[]),n)}});function I(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function j(t,e){return(t.priority||0)-(e.priority||0)}let L=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(j)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:\"\")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(T))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(T))},token:t,providedIn:\"root\"}),t})(),F=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new a.a(new m(!0)),this.registry=new Map,this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return!!e&&e.matches}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(Object(c.a)(n=>!e||t.indexOf(n.mediaQuery)>-1)),i=new o.a(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()});return Object(l.a)(i,n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!N[t]);if(n.length>0){const t=n.join(\", \");try{const i=e.createElement(\"style\");i.setAttribute(\"type\",\"text/css\"),i.styleSheet||i.appendChild(e.createTextNode(`\\n/*\\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\\n  see http://bit.ly/2sd4HMP\\n*/\\n@media ${t} {.fx-query-test{ }}\\n`)),e.head.appendChild(i),n.forEach(t=>N[t]=i)}catch(i){console.error(i)}}}(e,this._document),e.forEach(t=>{let e=this.registry.get(t);e||(e=this.buildMQL(t),e.addListener(e=>{this._zone.run(()=>this.source.next(new m(e.matches,t)))}),this.registry.set(t,e)),e.matches&&n.push(new m(!0,t))}),n}buildMQL(t){return function(t,e){return e&&window.matchMedia(\"all\").addListener?window.matchMedia(t):{matches:\"all\"===t||\"\"===t,media:t,addListener:()=>{},removeListener:()=>{}}}(t,Object(r.t)(this._platformId))}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.A),i.ac(i.C),i.ac(r.d))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(i.A),Object(i.ac)(i.C),Object(i.ac)(r.d))},token:t,providedIn:\"root\"}),t})();const N={},V={alias:\"print\",mediaQuery:\"print\",priority:1e3};let z=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.isPrinting=!1,this.queue=new B,this.deactivations=[]}withPrintQuery(t){return[...t,\"print\"]}isPrintEvent(t){return t.mediaQuery.startsWith(\"print\")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(I)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:\"\"),v(t,e)}registerBeforeAfterPrintHooks(t){this._document.defaultView&&!this.registeredBeforeAfterPrintHooks&&(this.registeredBeforeAfterPrintHooks=!0,this._document.defaultView.addEventListener(\"beforeprint\",()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new m(!0,\"print\"))),t.updateStyles())}),this._document.defaultView.addEventListener(\"afterprint\",()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())}))}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(I))}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(L),i.ac(b),i.ac(r.d))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(L),Object(i.ac)(b),Object(i.ac)(r.d))},token:t,providedIn:\"root\"}),t})();class B{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(V),t.sort(I),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith(\"print\")}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function H(t){for(let e in t){let n=t[e]||\"\";switch(e){case\"display\":t.display=\"flex\"===n?[\"-webkit-flex\",\"flex\"]:\"inline-flex\"===n?[\"-webkit-inline-flex\",\"inline-flex\"]:n;break;case\"align-items\":case\"align-self\":case\"align-content\":case\"flex\":case\"flex-basis\":case\"flex-flow\":case\"flex-grow\":case\"flex-shrink\":case\"flex-wrap\":case\"justify-content\":t[\"-webkit-\"+e]=n;break;case\"flex-direction\":n=n||\"row\",t[\"-webkit-flex-direction\"]=n,t[\"flex-direction\"]=n;break;case\"order\":t.order=t[\"-webkit-\"+e]=isNaN(+n)?\"0\":n}}return t}let U=(()=>{class t{constructor(t,e,n,i){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=i}applyStyleToElement(t,e,n=null){let i={};\"string\"==typeof e&&(i[e]=n,e=i),i=this.layoutConfig.disableVendorPrefixes?e:H(e),this._applyMultiValueStyleToElement(i,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:H(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){let e=this.lookupStyle(t,\"flex-direction\");return[e||\"row\",this.lookupInlineStyle(t,\"flex-direction\")||Object(r.u)(this._platformId)&&this._serverModuleLoaded?e:\"\"]}lookupAttributeValue(t,e){return t.getAttribute(e)||\"\"}lookupInlineStyle(t,e){return Object(r.t)(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let i=\"\";return t&&((i=this.lookupInlineStyle(t,e))||(Object(r.t)(this._platformId)?n||(i=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(t,e)))),i?i.trim():\"\"}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const i=t[n],s=Array.isArray(i)?i:[i];s.sort();for(let t of s)t=t?t+\"\":\"\",Object(r.t)(this._platformId)||!this._serverModuleLoaded?Object(r.t)(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase();const i=this._readStyleAttribute(t);i[e]=n||\"\",this._writeStyleAttribute(t,i)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||\"\"}_readStyleAttribute(t){const e={},n=t.getAttribute(\"style\");if(n){const t=n.split(/;+/g);for(let n=0;n<t.length;n++){const i=t[n].trim();if(i.length>0){const t=i.indexOf(\":\");if(-1===t)throw new Error(`Invalid CSS style: ${i}`);e[i.substr(0,t).trim()]=i.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n=\"\";for(const i in e)e[i]&&(n+=i+\":\"+e[i]+\";\");t.setAttribute(\"style\",n)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(f),i.ac(_),i.ac(i.C),i.ac(b))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(f),Object(i.ac)(_),Object(i.ac)(i.C),Object(i.ac)(b))},token:t,providedIn:\"root\"}),t})();class q{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}function Q(t,e=\"1\",n=\"1\"){let i=[e,n,t],r=t.indexOf(\"calc\");if(r>0){i[2]=W(t.substring(r).trim());let e=t.substr(0,r).trim().split(\" \");2==e.length&&(i[0]=e[0],i[1]=e[1])}else if(0==r)i[2]=W(t.trim());else{let r=t.split(\" \");i=3===r.length?r:[e,n,t]}return i}function W(t){return t.replace(/[\\s]/g,\"\").replace(/[\\/\\*\\+\\-]/g,\" $& \")}let Y=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new s.a,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:\"\"}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=v(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(I),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(I),this.updateStyles()))}init(t,e,n,i,r=[]){$(this.updateMap,t,e,n),$(this.clearMap,t,e,i),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,r)}getValue(t,e,n){const i=this.elementMap.get(t);if(i){const t=void 0!==n?i.get(n):this.getActivatedValues(i,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,i){let r=this.elementMap.get(t);if(r){const s=(r.get(i)||new Map).set(e,n);r.set(i,s),this.elementMap.set(t,r)}else r=(new Map).set(i,(new Map).set(e,n)),this.elementMap.set(t,r);const s=this.getValue(t,e);void 0!==s&&this.updateElement(t,e,s)}trackValue(t,e){return this.subject.asObservable().pipe(Object(c.a)(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let i=this.getActivatedValues(t);i&&i.forEach((t,i)=>{this.updateElement(e,i,t),n.delete(i)}),n.forEach(n=>{if(i=this.getActivatedValues(t,n),i){const t=i.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const i=n.get(e);i&&(i(),this.subject.next({element:t,key:e,value:\"\"}))}}updateElement(t,e,n){const i=this.updateMap.get(t);if(i){const r=i.get(e);r&&(r(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const i=this.getActivatedValues(n,e);i&&(e?this.updateElement(t,e,i.get(e)):i.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let i=this.watcherMap.get(t);if(i||(i=new Map,this.watcherMap.set(t,i)),!i.get(e)){const r=Object(l.a)(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});i.set(e,r)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let i=0;i<this.activatedBreakpoints.length;i++){const n=t.get(this.activatedBreakpoints[i].alias);if(n&&(void 0===e||n.has(e)))return n}const n=t.get(\"\");return void 0===e||n&&n.has(e)?n:void 0}observeActivations(){const t=this.breakpoints.items.map(t=>t.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(Object(h.a)(this.hook.interceptEvents(this)),Object(c.a)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(F),i.ac(L),i.ac(z))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(F),Object(i.ac)(L),Object(i.ac)(z))},token:t,providedIn:\"root\"}),t})();function $(t,e,n,i){if(void 0!==i){let r=t.get(e);r||(r=new Map,t.set(e,r)),r.set(n,i)}}},pLZG:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))}}class a extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},qFsG:function(t,e,n){\"use strict\";var i=n(\"nLfN\"),r=n(\"fXoL\"),s=n(\"8LU1\"),a=n(\"EY2u\"),o=n(\"XNiG\"),l=n(\"xgIS\"),c=n(\"3UWI\"),h=n(\"1G5W\");const d=Object(i.f)({passive:!0});let u=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return a.a;const e=Object(s.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const i=new o.a,r=\"cdk-text-field-autofilled\",l=t=>{\"cdk-text-field-autofill-start\"!==t.animationName||e.classList.contains(r)?\"cdk-text-field-autofill-end\"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener(\"animationstart\",l,d),e.classList.add(\"cdk-text-field-autofill-monitored\")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener(\"animationstart\",l,d)}}),i.asObservable()}stopMonitoring(t){const e=Object(s.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove(\"cdk-text-field-autofill-monitored\"),e.classList.remove(\"cdk-text-field-autofilled\"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.a),r.ac(r.A))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.a),Object(r.ac)(r.A))},token:t,providedIn:\"root\"}),t})(),p=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new o.a,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(t){this._minRows=Object(s.f)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Object(s.f)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(s.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Object(l.a)(window,\"resize\").pipe(Object(c.a)(16),Object(h.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position=\"absolute\",t.style.visibility=\"hidden\",t.style.border=\"none\",t.style.padding=\"0\",t.style.height=\"\",t.style.minHeight=\"\",t.style.maxHeight=\"\",t.style.overflow=\"hidden\",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,n=e.value;if(!t&&this._minRows===this._previousMinRows&&n===this._previousValue)return;const i=e.placeholder;e.classList.add(\"cdk-textarea-autosize-measuring\"),e.placeholder=\"\",e.style.height=`${e.scrollHeight-4}px`,e.classList.remove(\"cdk-textarea-autosize-measuring\"),e.placeholder=i,this._ngZone.runOutsideAngular(()=>{\"undefined\"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(t){const{selectionStart:e,selectionEnd:n}=t;this._destroyed.isStopped||document.activeElement!==t||t.setSelectionRange(e,n)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(i.a),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"textarea\",\"cdkTextareaAutosize\",\"\"]],hostAttrs:[\"rows\",\"1\",1,\"cdk-textarea-autosize\"],hostBindings:function(t,e){1&t&&r.ec(\"input\",(function(){return e._noopInputHandler()}))},inputs:{minRows:[\"cdkAutosizeMinRows\",\"minRows\"],maxRows:[\"cdkAutosizeMaxRows\",\"maxRows\"],enabled:[\"cdkTextareaAutosize\",\"enabled\"]},exportAs:[\"cdkTextareaAutosize\"]}),t})(),m=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})();var f=n(\"FKr1\"),g=n(\"kmnG\"),b=n(\"3Pt+\");n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return O})),n.d(e,\"c\",(function(){return S})),n.d(e,\"d\",(function(){return _}));let _=(()=>{class t extends p{get matAutosizeMinRows(){return this.minRows}set matAutosizeMinRows(t){this.minRows=t}get matAutosizeMaxRows(){return this.maxRows}set matAutosizeMaxRows(t){this.maxRows=t}get matAutosize(){return this.enabled}set matAutosize(t){this.enabled=t}get matTextareaAutosize(){return this.enabled}set matTextareaAutosize(t){this.enabled=t}}return t.\\u0275fac=function(e){return y(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"textarea\",\"mat-autosize\",\"\"],[\"textarea\",\"matTextareaAutosize\",\"\"]],hostAttrs:[\"rows\",\"1\",1,\"cdk-textarea-autosize\",\"mat-autosize\"],inputs:{cdkAutosizeMinRows:\"cdkAutosizeMinRows\",cdkAutosizeMaxRows:\"cdkAutosizeMaxRows\",matAutosizeMinRows:\"matAutosizeMinRows\",matAutosizeMaxRows:\"matAutosizeMaxRows\",matAutosize:[\"mat-autosize\",\"matAutosize\"],matTextareaAutosize:\"matTextareaAutosize\"},exportAs:[\"matTextareaAutosize\"],features:[r.Ab]}),t})();const y=r.Yb(_),v=new r.r(\"MAT_INPUT_VALUE_ACCESSOR\"),w=[\"button\",\"checkbox\",\"file\",\"hidden\",\"image\",\"radio\",\"range\",\"reset\",\"submit\"];let x=0;class C{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const k=Object(f.w)(C);let O=(()=>{class t extends k{constructor(t,e,n,r,s,a,l,c,h){super(a,r,s,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._uid=`mat-input-${x++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new o.a,this.controlType=\"mat-input\",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type=\"text\",this._readonly=!1,this._neverEmptyInputTypes=[\"date\",\"datetime\",\"datetime-local\",\"month\",\"time\",\"week\"].filter(t=>Object(i.e)().has(t));const d=this._elementRef.nativeElement;this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&h.runOutsideAngular(()=>{t.nativeElement.addEventListener(\"keyup\",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=\"select\"===d.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=d.multiple?\"mat-native-select-multiple\":\"mat-native-select\")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(s.c)(t)}get type(){return this._type}set type(t){this._type=t||\"text\",this._validateType(),!this._isTextarea()&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(s.c)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_isTextarea(){return\"textarea\"===this._elementRef.nativeElement.nodeName.toLowerCase()}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(w.indexOf(this._type)>-1)throw Error(`Input type \"${this._type}\" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(\" \")}onContainerClick(){this.focused||this.focus()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(i.a),r.Qb(b.m,10),r.Qb(b.p,8),r.Qb(b.g,8),r.Qb(f.b),r.Qb(v,10),r.Qb(u),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"input\",\"matInput\",\"\"],[\"textarea\",\"matInput\",\"\"],[\"select\",\"matNativeControl\",\"\"],[\"input\",\"matNativeControl\",\"\"],[\"textarea\",\"matNativeControl\",\"\"]],hostAttrs:[1,\"mat-input-element\",\"mat-form-field-autofill-control\"],hostVars:10,hostBindings:function(t,e){1&t&&r.ec(\"blur\",(function(){return e._focusChanged(!1)}))(\"focus\",(function(){return e._focusChanged(!0)}))(\"input\",(function(){return e._onInput()})),2&t&&(r.Zb(\"disabled\",e.disabled)(\"required\",e.required),r.Eb(\"id\",e.id)(\"placeholder\",e.placeholder)(\"readonly\",e.readonly&&!e._isNativeSelect||null)(\"aria-describedby\",e._ariaDescribedby||null)(\"aria-invalid\",e.errorState)(\"aria-required\",e.required.toString()),r.Hb(\"mat-input-server\",e._isServer))},inputs:{id:\"id\",disabled:\"disabled\",required:\"required\",type:\"type\",value:\"value\",readonly:\"readonly\",placeholder:\"placeholder\",errorStateMatcher:\"errorStateMatcher\"},exportAs:[\"matInput\"],features:[r.Cb([{provide:g.c,useExisting:t}]),r.Ab,r.Bb()]}),t})(),S=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[f.b],imports:[[m,g.d],m,g.d]}),t})()},quSY:function(t,e,n){\"use strict\";var i=n(\"DH7j\"),r=n(\"XoHu\"),s=n(\"n6bG\");const a=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join(\"\\n  \")}`:\"\",this.name=\"UnsubscriptionError\",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,\"a\",(function(){return o}));let o=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:o,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(s.a)(o))try{o.call(this)}catch(h){e=h instanceof a?l(h.errors):[h]}if(Object(i.a)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if(Object(r.a)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof a?e=e.concat(l(h.errors)):e.push(h)}}}if(e)throw new a(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case\"function\":n=new t(e);case\"object\":if(n===this||n.closed||\"function\"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error(\"unrecognized teardown \"+e+\" added to Subscription.\")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof a?e.errors:e),[])}},rDax:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return W})),n.d(e,\"b\",(function(){return Q})),n.d(e,\"c\",(function(){return H})),n.d(e,\"d\",(function(){return O})),n.d(e,\"e\",(function(){return R})),n.d(e,\"f\",(function(){return $}));var i=n(\"vxfF\"),r=n(\"fXoL\"),s=n(\"nLfN\"),a=n(\"cH1L\"),o=n(\"ofXK\"),l=n(\"8LU1\"),c=n(\"+rOU\"),h=n(\"XNiG\"),d=n(\"quSY\"),u=n(\"HDdC\"),p=n(\"VRyK\"),m=n(\"IzEk\"),f=n(\"1G5W\"),g=n(\"FtGj\");class b{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:\"\",left:\"\"},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||\"\",this._previousHTMLStyles.top=t.style.top||\"\",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add(\"cdk-global-scrollblock\"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||\"\",r=n.scrollBehavior||\"\";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove(\"cdk-global-scrollblock\"),e.scrollBehavior=n.scrollBehavior=\"auto\",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains(\"cdk-global-scrollblock\")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function _(){return Error(\"Scroll strategy has already been attached.\")}class y{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw _();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function w(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function x(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw _();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();w(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new v,this.close=t=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.b),r.ac(i.d),r.ac(r.A),r.ac(o.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.b),Object(r.ac)(i.d),Object(r.ac)(r.A),Object(r.ac)(o.d))},token:t,providedIn:\"root\"}),t})();class O{constructor(t){if(this.scrollStrategy=new v,this.panelClass=\"\",this.hasBackdrop=!1,this.backdropClass=\"cdk-overlay-dark-backdrop\",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class S{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class M{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function P(t,e){if(\"top\"!==e&&\"bottom\"!==e&&\"center\"!==e)throw Error(`ConnectedPosition: Invalid ${t} \"${e}\". `+'Expected \"top\", \"bottom\" or \"center\".')}function E(t,e){if(\"start\"!==e&&\"end\"!==e&&\"center\"!==e)throw Error(`ConnectedPosition: Invalid ${t} \"${e}\". `+'Expected \"start\", \"end\" or \"center\".')}let A=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener(\"keydown\",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener(\"keydown\",this._keydownListener),this._isAttached=!1)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(o.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(o.d))},token:t,providedIn:\"root\"}),t})();const D=!(\"undefined\"==typeof window||!window||!window.__karma__&&!window.jasmine);let R=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._platform?this._platform.isBrowser:\"undefined\"!=typeof window;if(t||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform=\"server\"], .cdk-overlay-container[platform=\"test\"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const e=this._document.createElement(\"div\");e.classList.add(\"cdk-overlay-container\"),D?e.setAttribute(\"platform\",\"test\"):t||e.setAttribute(\"platform\",\"server\"),this._document.body.appendChild(e),this._containerElement=e}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(o.d),r.ac(s.a))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(o.d),Object(r.ac)(s.a))},token:t,providedIn:\"root\"}),t})();class T{constructor(t,e,n,i,r,s,a,o){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=o,this._backdropElement=null,this._backdropClick=new h.a,this._attachments=new h.a,this._detachments=new h.a,this._locationChanges=d.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEventsObservable=new u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new h.a,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?\"string\"==typeof t?t:t.value:\"ltr\"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute(\"dir\",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?\"auto\":\"none\"}_attachBackdrop(){this._backdropElement=this._document.createElement(\"div\"),this._backdropElement.classList.add(\"cdk-overlay-backdrop\"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener(\"click\",this._backdropClickHandler),\"undefined\"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(\"cdk-overlay-backdrop-showing\")})}):this._backdropElement.classList.add(\"cdk-overlay-backdrop-showing\")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener(\"click\",this._backdropClickHandler),e.removeEventListener(\"transitionend\",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove(\"cdk-overlay-backdrop-showing\"),this._ngZone.runOutsideAngular(()=>{e.addEventListener(\"transitionend\",n)}),e.style.pointerEvents=\"none\",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(f.a)(Object(p.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const I=/([A-Za-z%]+)$/;class j{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new h.a,this._resizeSubscription=d.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error(\"This position strategy is already attached to an overlay\");this._validatePositions(),t.hostElement.classList.add(\"cdk-overlay-connected-position-bounding-box\"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let a=this._getOriginPoint(t,s),o=this._getOverlayPoint(a,e,s),l=this._getOverlayFit(o,e,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(l,o,n)?i.push({position:s,origin:a,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!r||r.overlayFit.visibleArea<l.visibleArea)&&(r={overlayFit:l,overlayPoint:o,originPoint:a,position:s,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&L(this._boundingBox.style,{top:\"\",left:\"\",right:\"\",bottom:\"\",height:\"\",width:\"\",alignItems:\"\",justifyContent:\"\"}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(\"cdk-overlay-connected-position-bounding-box\"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if(\"center\"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n=\"start\"==e.originX?i:r}return i=\"center\"==e.originY?t.top+t.height/2:\"top\"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i=\"center\"==n.overlayX?-e.width/2:\"start\"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r=\"center\"==n.overlayY?-e.height/2:\"top\"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){let{x:r,y:s}=t,a=this._getOffset(i,\"x\"),o=this._getOffset(i,\"y\");a&&(r+=a),o&&(s+=o);let l=0-s,c=s+e.height-n.height,h=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,l,c),u=h*d;return{visibleArea:u,isCompletelyWithinViewport:e.width*e.height===u,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:h==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=F(this._overlayRef.getConfig().minHeight),a=F(this._overlayRef.getConfig().minWidth),o=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&o}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,r=Math.max(t.x+e.width-i.right,0),s=Math.max(t.y+e.height-i.bottom,0),a=Math.max(i.top-n.top-t.y,0),o=Math.max(i.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=i.width?o||-r:t.x<this._viewportMargin?i.left-n.left-t.x:0,c=e.height<=i.height?a||-s:t.y<this._viewportMargin?i.top-n.top-t.y:0,this._previousPushAmount={x:l,y:c},{x:t.x+l,y:t.y+c}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new M(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n=\"center\"===t.overlayX?\"center\":this._isRtl()?\"start\"===t.overlayX?\"right\":\"left\":\"start\"===t.overlayX?\"left\":\"right\";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let r,s,a,o,l,c;if(\"top\"===e.overlayY)s=t.y,r=n.height-s+this._viewportMargin;else if(\"bottom\"===e.overlayY)a=n.height-t.y+2*this._viewportMargin,r=n.height-a+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;r=2*e,s=t.y-e,r>i&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if(\"end\"===e.overlayX&&!i||\"start\"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if(\"start\"===e.overlayX&&!i||\"end\"===e.overlayX&&i)l=t.x,o=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;o=2*e,l=t.x-e,o>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:s,left:l,bottom:a,right:c,width:o,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left=\"0\",i.bottom=i.right=i.maxHeight=i.maxWidth=\"\",i.width=i.height=\"100%\";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems=\"center\"===e.overlayX?\"center\":\"end\"===e.overlayX?\"flex-end\":\"flex-start\",i.justifyContent=\"center\"===e.overlayY?\"center\":\"bottom\"===e.overlayY?\"flex-end\":\"flex-start\",t&&(i.maxHeight=Object(l.d)(t)),r&&(i.maxWidth=Object(l.d)(r))}this._lastBoundingBoxSize=n,L(this._boundingBox.style,i)}_resetBoundingBoxStyles(){L(this._boundingBox.style,{top:\"0\",left:\"0\",right:\"0\",bottom:\"0\",height:\"\",width:\"\",alignItems:\"\",justifyContent:\"\"})}_resetOverlayElementStyles(){L(this._pane.style,{top:\"\",left:\"\",bottom:\"\",right:\"\",position:\"\",transform:\"\"})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();L(n,this._getExactOverlayY(e,t,i)),L(n,this._getExactOverlayX(e,t,i))}else n.position=\"static\";let a=\"\",o=this._getOffset(e,\"x\"),c=this._getOffset(e,\"y\");o&&(a+=`translateX(${o}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(i?n.maxHeight=Object(l.d)(s.maxHeight):r&&(n.maxHeight=\"\")),s.maxWidth&&(i?n.maxWidth=Object(l.d)(s.maxWidth):r&&(n.maxWidth=\"\")),L(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:\"\",bottom:\"\"},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,\"bottom\"===t.overlayY?i.bottom=`${this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)}px`:i.top=Object(l.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:\"\",right:\"\"},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?\"end\"===t.overlayX?\"left\":\"right\":\"end\"===t.overlayX?\"right\":\"left\",\"right\"===i?r.right=`${this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)}px`:r.left=Object(l.d)(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:x(t,n),isOriginOutsideView:w(t,n),isOverlayClipped:x(e,n),isOverlayOutsideView:w(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return\"rtl\"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return\"x\"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error(\"FlexibleConnectedPositionStrategy: At least one position is required.\");this._preferredPositions.forEach(t=>{E(\"originX\",t.originX),P(\"originY\",t.originY),E(\"overlayX\",t.overlayX),P(\"overlayY\",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{\"\"!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function L(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function F(t){if(\"number\"!=typeof t&&null!=t){const[e,n]=t.split(I);return n&&\"px\"!==n?null:parseFloat(e)}return t||null}class N{constructor(t,e,n,i,r,s,a){this._preferredPositions=[],this._positionStrategy=new j(n,i,r,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return\"rtl\"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new S(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class V{constructor(){this._cssPosition=\"static\",this._topOffset=\"\",this._bottomOffset=\"\",this._leftOffset=\"\",this._rightOffset=\"\",this._alignItems=\"\",this._justifyContent=\"\",this._width=\"\",this._height=\"\"}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(\"cdk-global-overlay-wrapper\"),this._isDisposed=!1}top(t=\"\"){return this._bottomOffset=\"\",this._topOffset=t,this._alignItems=\"flex-start\",this}left(t=\"\"){return this._rightOffset=\"\",this._leftOffset=t,this._justifyContent=\"flex-start\",this}bottom(t=\"\"){return this._topOffset=\"\",this._bottomOffset=t,this._alignItems=\"flex-end\",this}right(t=\"\"){return this._leftOffset=\"\",this._rightOffset=t,this._justifyContent=\"flex-end\",this}width(t=\"\"){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=\"\"){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=\"\"){return this.left(t),this._justifyContent=\"center\",this}centerVertically(t=\"\"){return this.top(t),this._alignItems=\"center\",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:a}=n,o=!(\"100%\"!==i&&\"100vw\"!==i||s&&\"100%\"!==s&&\"100vw\"!==s),l=!(\"100%\"!==r&&\"100vh\"!==r||a&&\"100%\"!==a&&\"100vh\"!==a);t.position=this._cssPosition,t.marginLeft=o?\"0\":this._leftOffset,t.marginTop=l?\"0\":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,o?e.justifyContent=\"flex-start\":\"center\"===this._justifyContent?e.justifyContent=\"center\":\"rtl\"===this._overlayRef.getConfig().direction?\"flex-start\"===this._justifyContent?e.justifyContent=\"flex-end\":\"flex-end\"===this._justifyContent&&(e.justifyContent=\"flex-start\"):e.justifyContent=this._justifyContent,e.alignItems=l?\"flex-start\":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(\"cdk-global-overlay-wrapper\"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position=\"\",this._overlayRef=null,this._isDisposed=!0}}let z=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new V}connectedTo(t,e,n){return new N(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new j(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d),r.ac(o.d),r.ac(s.a),r.ac(R))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.d),Object(r.ac)(o.d),Object(r.ac)(s.a),Object(r.ac)(R))},token:t,providedIn:\"root\"}),t})(),B=0,H=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=a,this._document=o,this._directionality=l,this._location=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new O(t);return r.direction=r.direction||this._directionality.value,new T(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement(\"div\");return e.id=`cdk-overlay-${B++}`,e.classList.add(\"cdk-overlay-pane\"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement(\"div\");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new c.d(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(k),r.ac(R),r.ac(r.j),r.ac(z),r.ac(A),r.ac(r.s),r.ac(r.A),r.ac(o.d),r.ac(a.b),r.ac(o.g,8))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();const U=[{originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"top\"},{originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"bottom\"},{originX:\"end\",originY:\"top\",overlayX:\"end\",overlayY:\"bottom\"},{originX:\"end\",originY:\"bottom\",overlayX:\"end\",overlayY:\"top\"}],q=new r.r(\"cdk-connected-overlay-scroll-strategy\");let Q=(()=>{class t{constructor(t){this.elementRef=t}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdk-overlay-origin\",\"\"],[\"\",\"overlay-origin\",\"\"],[\"\",\"cdkOverlayOrigin\",\"\"]],exportAs:[\"cdkOverlayOrigin\"]}),t})(),W=(()=>{class t{constructor(t,e,n,i,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new r.o,this.positionChange=new r.o,this.attach=new r.o,this.detach=new r.o,this.overlayKeydown=new r.o,this._templatePortal=new c.g(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:\"ltr\"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=U),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==g.e||Object(g.q)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new O({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(H),r.Qb(r.M),r.Qb(r.P),r.Qb(q),r.Qb(a.b,8))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdk-connected-overlay\",\"\"],[\"\",\"connected-overlay\",\"\"],[\"\",\"cdkConnectedOverlay\",\"\"]],inputs:{viewportMargin:[\"cdkConnectedOverlayViewportMargin\",\"viewportMargin\"],open:[\"cdkConnectedOverlayOpen\",\"open\"],scrollStrategy:[\"cdkConnectedOverlayScrollStrategy\",\"scrollStrategy\"],offsetX:[\"cdkConnectedOverlayOffsetX\",\"offsetX\"],offsetY:[\"cdkConnectedOverlayOffsetY\",\"offsetY\"],hasBackdrop:[\"cdkConnectedOverlayHasBackdrop\",\"hasBackdrop\"],lockPosition:[\"cdkConnectedOverlayLockPosition\",\"lockPosition\"],flexibleDimensions:[\"cdkConnectedOverlayFlexibleDimensions\",\"flexibleDimensions\"],growAfterOpen:[\"cdkConnectedOverlayGrowAfterOpen\",\"growAfterOpen\"],push:[\"cdkConnectedOverlayPush\",\"push\"],positions:[\"cdkConnectedOverlayPositions\",\"positions\"],origin:[\"cdkConnectedOverlayOrigin\",\"origin\"],positionStrategy:[\"cdkConnectedOverlayPositionStrategy\",\"positionStrategy\"],width:[\"cdkConnectedOverlayWidth\",\"width\"],height:[\"cdkConnectedOverlayHeight\",\"height\"],minWidth:[\"cdkConnectedOverlayMinWidth\",\"minWidth\"],minHeight:[\"cdkConnectedOverlayMinHeight\",\"minHeight\"],backdropClass:[\"cdkConnectedOverlayBackdropClass\",\"backdropClass\"],panelClass:[\"cdkConnectedOverlayPanelClass\",\"panelClass\"],transformOriginSelector:[\"cdkConnectedOverlayTransformOriginOn\",\"transformOriginSelector\"]},outputs:{backdropClick:\"backdropClick\",positionChange:\"positionChange\",attach:\"attach\",detach:\"detach\",overlayKeydown:\"overlayKeydown\"},exportAs:[\"cdkConnectedOverlay\"],features:[r.Bb()]}),t})();const Y={provide:q,deps:[H],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let $=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[H,Y],imports:[[a.a,c.f,i.c],i.c]}),t})()},sYmb:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return I})),n.d(e,\"b\",(function(){return m})),n.d(e,\"c\",(function(){return L})),n.d(e,\"d\",(function(){return j})),n.d(e,\"e\",(function(){return T}));var i=n(\"fXoL\"),r=n(\"LRne\"),s=n(\"7+OI\"),a=n(\"cp0P\"),o=n(\"GyhO\"),l=n(\"NXyV\"),c=n(\"IzEk\"),h=n(\"UXun\"),d=n(\"lJxs\"),u=n(\"bOdf\"),p=n(\"eIep\");class m{}let f=(()=>{class t extends m{getTranslation(t){return Object(r.a)({})}}return t.\\u0275fac=function(e){return g(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const g=i.Yb(f);class b{}let _=(()=>{class t{handle(t){return t.key}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();function y(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,r,s=typeof t;if(s==typeof e&&\"object\"==s){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in r=Object.create(null),t){if(!y(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i<n;i++)if(!y(t[i],e[i]))return!1;return!0}}return!1}function v(t){return null!=t}function w(t){return t&&\"object\"==typeof t&&!Array.isArray(t)}class x{}let C=(()=>{class t extends x{constructor(){super(...arguments),this.templateMatcher=/{{\\s?([^{}\\s]*)\\s?}}/g}interpolate(t,e){let n;return n=\"string\"==typeof t?this.interpolateString(t,e):\"function\"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n=\"string\"==typeof e?e.split(\".\"):[e];e=\"\";do{e+=n.shift(),!v(t)||!v(t[e])||\"object\"!=typeof t[e]&&n.length?n.length?e+=\".\":t=void 0:(t=t[e],e=\"\")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return v(i)?i:t}):t}}return t.\\u0275fac=function(e){return k(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const k=i.Yb(C);class O{}let S=(()=>{class t extends O{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\\u0275fac=function(e){return M(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const M=i.Yb(S);class P{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.o,this.onLangChange=new i.o,this.onDefaultLangChange=new i.o}}const E=new i.r(\"USE_STORE\"),A=new i.r(\"USE_DEFAULT_LANG\"),D=new i.r(\"DEFAULT_LANGUAGE\"),R=new i.r(\"USE_EXTEND\");let T=(()=>{class t{constructor(t,e,n,r,s,a=!0,o=!1,l=!1,c){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=o,this.extend=l,this.pending=!1,this._onTranslationChange=new i.o,this._onLangChange=new i.o,this._onDefaultLangChange=new i.o,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(r.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Object(r.a)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Object(h.a)(1),Object(c.a)(1));return this.loadingTranslations=e.pipe(Object(d.a)(e=>this.compiler.compileTranslations(e,t)),Object(h.a)(1),Object(c.a)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?function t(e,n){let i=Object.assign({},e);return w(e)&&w(n)&&Object.keys(n).forEach(r=>{w(n[r])&&r in e?i[r]=t(e[r],n[r]):Object.assign(i,{[r]:n[r]})}),i}(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},o=!1;for(let r of e)i[r]=this.getParsedResult(t,r,n),Object(s.a)(i[r])&&(o=!0);if(o){const t=e.map(t=>Object(s.a)(i[t])?i[t]:Object(r.a)(i[t]));return Object(a.a)(t).pipe(Object(d.a)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');if(this.pending)return this.loadingTranslations.pipe(Object(u.a)(n=>(n=this.getParsedResult(n,t,e),Object(s.a)(n)?n:Object(r.a)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(s.a)(n)?n:Object(r.a)(n)}}getStreamOnTranslationChange(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');return Object(o.a)(Object(l.a)(()=>this.get(t,e)),this.onTranslationChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return\"function\"==typeof i.subscribe?i:Object(r.a)(i)})))}stream(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');return Object(o.a)(Object(l.a)(()=>this.get(t,e)),this.onLangChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return Object(s.a)(i)?i:Object(r.a)(i)})))}instant(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(s.a)(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if(\"undefined\"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf(\"-\")&&(t=t.split(\"-\")[0]),-1!==t.indexOf(\"_\")&&(t=t.split(\"_\")[0]),t):void 0}getBrowserCultureLang(){if(\"undefined\"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(P),i.ac(m),i.ac(O),i.ac(x),i.ac(b),i.ac(A),i.ac(E),i.ac(R),i.ac(D))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),I=(()=>{class t{constructor(t,e,n){this.translateService=t,this.element=e,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(t=>{t.lang===this.translateService.currentLang&&this.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(t=>{this.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(t=>{this.checkNodes(!0)}))}set translate(t){t&&(this.key=t,this.checkNodes())}set translateParams(t){y(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(t=!1,e){let n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(let i=0;i<n.length;++i){let r=n[i];if(3===r.nodeType){let n;if(t&&(r.lastKey=null),v(r.lookupKey))n=r.lookupKey;else if(this.key)n=this.key;else{let t=this.getContent(r),e=t.trim();e.length&&(r.lookupKey=e,t!==r.currentValue?(n=e,r.originalContent=t||r.originalContent):r.originalContent?n=r.originalContent.trim():t!==r.currentValue&&(n=e,r.originalContent=t||r.originalContent))}this.updateValue(n,r,e)}}}updateValue(t,e,n){if(t){if(e.lastKey===t&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let i=n=>{n!==t&&(e.lastKey=t),e.originalContent||(e.originalContent=this.getContent(e)),e.currentValue=v(n)?n:e.originalContent||t,this.setContent(e,this.key?e.currentValue:e.originalContent.replace(t,e.currentValue)),this._ref.markForCheck()};if(v(n)){let e=this.translateService.getParsedResult(n,t,this.currentParams);Object(s.a)(e)?e.subscribe(i):i(e)}else this.translateService.get(t,this.currentParams).subscribe(i)}}getContent(t){return v(t.textContent)?t.textContent:t.data}setContent(t,e){v(t.textContent)?t.textContent=e:t.data=e}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(T),i.Qb(i.l),i.Qb(i.h))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"translate\",\"\"],[\"\",\"ngx-translate\",\"\"]],inputs:{translate:\"translate\",translateParams:\"translateParams\"}}),t})(),j=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=\"\"}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let r=this.translate.getParsedResult(n,t,e);Object(s.a)(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(y(t,this.lastKey)&&y(e,this.lastParams))return this.value;let n;if(v(e[0])&&e.length)if(\"string\"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\\')?([a-zA-Z0-9_]+)(\\')?(\\s)?:/g,'\"$2\":').replace(/:(\\s)?(\\')(.*?)(\\')/g,':\"$3\"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else\"object\"!=typeof e[0]||Array.isArray(e[0])||(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(T),i.cc())},t.\\u0275pipe=i.Pb({name:\"translate\",type:t,pure:!1}),t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),L=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:m,useClass:f},e.compiler||{provide:O,useClass:S},e.parser||{provide:x,useClass:C},e.missingTranslationHandler||{provide:b,useClass:_},P,{provide:E,useValue:e.isolate},{provide:A,useValue:e.useDefaultLang},{provide:R,useValue:e.extend},{provide:D,useValue:e.defaultLanguage},T]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:m,useClass:f},e.compiler||{provide:O,useClass:S},e.parser||{provide:x,useClass:C},e.missingTranslationHandler||{provide:b,useClass:_},{provide:E,useValue:e.isolate},{provide:A,useValue:e.useDefaultLang},{provide:R,useValue:e.extend},{provide:D,useValue:e.defaultLanguage},T]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})()},\"tk/3\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return P})),n.d(e,\"b\",(function(){return S})),n.d(e,\"c\",(function(){return B}));var i=n(\"fXoL\"),r=n(\"LRne\"),s=n(\"HDdC\"),a=n(\"bOdf\"),o=n(\"pLZG\"),l=n(\"lJxs\"),c=n(\"ofXK\");class h{}class d{}class u{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit=\"string\"==typeof t?()=>{this.headers=new Map,t.split(\"\\n\").forEach(t=>{const e=t.indexOf(\":\");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();\"string\"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:\"a\"})}set(t,e){return this.clone({name:t,value:e,op:\"s\"})}delete(t,e){return this.clone({name:t,value:e,op:\"d\"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof u?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new u;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof u?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case\"a\":case\"s\":let n=t.value;if(\"string\"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=(\"a\"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case\"d\":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function m(t){return encodeURIComponent(t).replace(/%40/gi,\"@\").replace(/%3A/gi,\":\").replace(/%24/gi,\"$\").replace(/%2C/gi,\",\").replace(/%3B/gi,\";\").replace(/%2B/gi,\"+\").replace(/%3D/gi,\"=\").replace(/%3F/gi,\"?\").replace(/%2F/gi,\"/\")}class f{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error(\"Cannot specify both fromString and fromObject.\");this.map=function(t,e){const n=new Map;return t.length>0&&t.split(\"&\").forEach(t=>{const i=t.indexOf(\"=\"),[r,s]=-1==i?[e.decodeKey(t),\"\"]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],a=n.get(r)||[];a.push(s),n.set(r,a)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:\"a\"})}set(t,e){return this.clone({param:t,value:e,op:\"s\"})}delete(t,e){return this.clone({param:t,value:e,op:\"d\"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+\"=\"+this.encoder.encodeValue(t)).join(\"&\")}).filter(t=>\"\"!==t).join(\"&\")}clone(t){const e=new f({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case\"a\":case\"s\":const e=(\"a\"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case\"d\":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function g(t){return\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return\"undefined\"!=typeof Blob&&t instanceof Blob}function _(t){return\"undefined\"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType=\"json\",this.method=t.toUpperCase(),function(t){switch(t){case\"DELETE\":case\"GET\":case\"HEAD\":case\"OPTIONS\":case\"JSONP\":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new u),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf(\"?\");this.urlWithParams=e+(-1===n?\"?\":n<e.length-1?\"&\":\"\")+t}}else this.params=new f,this.urlWithParams=e}serializeBody(){return null===this.body?null:g(this.body)||b(this.body)||_(this.body)||\"string\"==typeof this.body?this.body:this.body instanceof f?this.body.toString():\"object\"==typeof this.body||\"boolean\"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body?null:_(this.body)?null:b(this.body)?this.body.type||null:g(this.body)?null:\"string\"==typeof this.body?\"text/plain\":this.body instanceof f?\"application/x-www-form-urlencoded;charset=UTF-8\":\"object\"==typeof this.body||\"number\"==typeof this.body||Array.isArray(this.body)?\"application/json\":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let o=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(o=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),o)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new y(e,n,r,{params:l,headers:o,reportProgress:a,responseType:i,withCredentials:s})}}const v=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]=\"Sent\",t[t.UploadProgress]=\"UploadProgress\",t[t.ResponseHeader]=\"ResponseHeader\",t[t.DownloadProgress]=\"DownloadProgress\",t[t.Response]=\"Response\",t[t.User]=\"User\",t}();class w{constructor(t,e=200,n=\"OK\"){this.headers=t.headers||new u,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class x extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new x({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new C({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class k extends w{constructor(t){super(t,0,\"Unknown Error\"),this.name=\"HttpErrorResponse\",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||\"(unknown url)\"}`:`Http failure response for ${t.url||\"(unknown url)\"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let S=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof y)i=t;else{let r=void 0;r=n.headers instanceof u?n.headers:new u(n.headers);let s=void 0;n.params&&(s=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||\"json\",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(a.a)(t=>this.handler.handle(t)));if(t instanceof y||\"events\"===n.observe)return s;const c=s.pipe(Object(o.a)(t=>t instanceof C));switch(n.observe||\"body\"){case\"body\":switch(i.responseType){case\"arraybuffer\":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error(\"Response is not an ArrayBuffer.\");return t.body}));case\"blob\":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error(\"Response is not a Blob.\");return t.body}));case\"text\":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&\"string\"!=typeof t.body)throw new Error(\"Response is not a string.\");return t.body}));case\"json\":default:return c.pipe(Object(l.a)(t=>t.body))}case\"response\":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request(\"DELETE\",t,e)}get(t,e={}){return this.request(\"GET\",t,e)}head(t,e={}){return this.request(\"HEAD\",t,e)}jsonp(t,e){return this.request(\"JSONP\",t,{params:(new f).append(e,\"JSONP_CALLBACK\"),observe:\"body\",responseType:\"json\"})}options(t,e={}){return this.request(\"OPTIONS\",t,e)}patch(t,e,n={}){return this.request(\"PATCH\",t,O(n,e))}post(t,e,n={}){return this.request(\"POST\",t,O(n,e))}put(t,e,n={}){return this.request(\"PUT\",t,O(n,e))}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(h))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();class M{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const P=new i.r(\"HTTP_INTERCEPTORS\");let E=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const A=/^\\)\\]\\}',?\\n/;class D{}let R=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),T=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if(\"JSONP\"===t.method)throw new Error(\"Attempted to construct Jsonp request without JsonpClientModule installed.\");return new s.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(\",\"))),t.headers.has(\"Accept\")||n.setRequestHeader(\"Accept\",\"application/json, text/plain, */*\"),!t.headers.has(\"Content-Type\")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader(\"Content-Type\",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType=\"json\"!==e?e:\"text\"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||\"OK\",s=new u(n.getAllResponseHeaders()),a=function(t){return\"responseURL\"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader(\"X-Request-URL\"):null}(n)||t.url;return r=new x({headers:s,status:e,statusText:i,url:a}),r},a=()=>{let{headers:i,status:r,statusText:a,url:o}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if(\"json\"===t.responseType&&\"string\"==typeof l){const t=l;l=l.replace(A,\"\");try{l=\"\"!==l?JSON.parse(l):null}catch(h){l=t,c&&(c=!1,l={error:h,text:l})}}c?(e.next(new C({body:l,headers:i,status:r,statusText:a,url:o||void 0})),e.complete()):e.error(new k({error:l,headers:i,status:r,statusText:a,url:o||void 0}))},o=t=>{const{url:i}=s(),r=new k({error:t,status:n.status||0,statusText:n.statusText||\"Unknown Error\",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),\"text\"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},h=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener(\"load\",a),n.addEventListener(\"error\",o),t.reportProgress&&(n.addEventListener(\"progress\",c),null!==i&&n.upload&&n.upload.addEventListener(\"progress\",h)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener(\"error\",o),n.removeEventListener(\"load\",a),t.reportProgress&&(n.removeEventListener(\"progress\",c),null!==i&&n.upload&&n.upload.removeEventListener(\"progress\",h)),n.abort()}})}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(D))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const I=new i.r(\"XSRF_COOKIE_NAME\"),j=new i.r(\"XSRF_HEADER_NAME\");class L{}let F=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString=\"\",this.lastToken=null,this.parseCount=0}getToken(){if(\"server\"===this.platform)return null;const t=this.doc.cookie||\"\";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.y)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c.d),i.ac(i.C),i.ac(I))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),N=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if(\"GET\"===t.method||\"HEAD\"===t.method||n.startsWith(\"http://\")||n.startsWith(\"https://\"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(L),i.ac(j))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(P,[]);this.chain=t.reduceRight((t,e)=>new M(t,e),this.backend)}return this.chain.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(d),i.ac(i.s))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),z=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:N,useClass:E}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:I,useValue:e.cookieName}:[],e.headerName?{provide:j,useValue:e.headerName}:[]]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[N,{provide:P,useExisting:N,multi:!0},{provide:L,useClass:F},{provide:I,useValue:\"XSRF-TOKEN\"},{provide:j,useValue:\"X-XSRF-TOKEN\"}]}),t})(),B=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[S,{provide:h,useClass:V},T,{provide:d,useExisting:T},R,{provide:D,useExisting:R}],imports:[[z.withOptions({cookieName:\"XSRF-TOKEN\",headerName:\"X-XSRF-TOKEN\"})]]}),t})()},\"twK/\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"c\",(function(){return s})),n.d(e,\"d\",(function(){return a})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c}));var i={prefix:\"far\",iconName:\"comment-alt\",icon:[512,512,[],\"f27a\",\"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z\"]},r={prefix:\"far\",iconName:\"comments\",icon:[576,512,[],\"f086\",\"M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z\"]},s={prefix:\"far\",iconName:\"edit\",icon:[576,512,[],\"f044\",\"M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z\"]},a={prefix:\"far\",iconName:\"gem\",icon:[576,512,[],\"f3a5\",\"M464 0H112c-4 0-7.8 2-10 5.4L2 152.6c-2.9 4.4-2.6 10.2.7 14.2l276 340.8c4.8 5.9 13.8 5.9 18.6 0l276-340.8c3.3-4.1 3.6-9.8.7-14.2L474.1 5.4C471.8 2 468.1 0 464 0zm-19.3 48l63.3 96h-68.4l-51.7-96h56.8zm-202.1 0h90.7l51.7 96H191l51.6-96zm-111.3 0h56.8l-51.7 96H68l63.3-96zm-43 144h51.4L208 352 88.3 192zm102.9 0h193.6L288 435.3 191.2 192zM368 352l68.2-160h51.4L368 352z\"]},o={prefix:\"far\",iconName:\"newspaper\",icon:[576,512,[],\"f1ea\",\"M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z\"]},l={prefix:\"far\",iconName:\"star\",icon:[576,512,[],\"f005\",\"M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z\"]},c={prefix:\"far\",iconName:\"trash-alt\",icon:[448,512,[],\"f2ed\",\"M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z\"]}},tyNb:function(t,e,n){\"use strict\";var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"LRne\"),a=n(\"Cfvw\"),o=n(\"2Vo4\"),l=n(\"HDdC\");const c=(()=>{function t(){return Error.call(this),this.message=\"no elements in sequence\",this.name=\"EmptyError\",this}return t.prototype=Object.create(Error.prototype),t})();var h=n(\"itXk\"),d=n(\"NXyV\"),u=n(\"XNiG\"),p=n(\"EY2u\"),m=n(\"lJxs\"),f=n(\"0EUg\"),g=n(\"pLZG\"),b=n(\"7o/Q\"),_=n(\"4I5i\");function y(t){return function(e){return 0===t?Object(p.b)():e.lift(new v(t))}}class v{constructor(t){if(this.total=t,this.total<0)throw new _.a}call(t,e){return e.subscribe(new w(t,this.total))}}class w extends b.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=e++%n;t.next(i[r])}}t.complete()}}function x(t=O){return e=>e.lift(new C(t))}class C{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new k(t,this.errorFactory))}}class k extends b.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function O(){return new c}function S(t=null){return e=>e.lift(new M(t))}class M{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new P(t,this.defaultValue))}}class P extends b.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var E=n(\"SpAZ\");function A(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(g.a)((e,n)=>t(e,n,i)):E.a,y(1),n?S(e):x(()=>new c))}var D=n(\"JIr8\"),R=n(\"IzEk\");function T(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(g.a)((e,n)=>t(e,n,i)):E.a,Object(R.a)(1),n?S(e):x(()=>new c))}var I=n(\"5+tZ\");class j{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new L(t,this.predicate,this.thisArg,this.source))}}class L extends b.a{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var F=n(\"eIep\"),N=n(\"JX91\");function V(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new z(t,e,n))}}class z{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new B(t,this.accumulator,this.seed,this.hasSeed))}}class B extends b.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var H=n(\"bOdf\"),U=n(\"mCNh\"),q=n(\"vkgz\"),Q=n(\"nYR2\"),W=n(\"bHdf\");n.d(e,\"a\",(function(){return te})),n.d(e,\"b\",(function(){return cn})),n.d(e,\"c\",(function(){return hn})),n.d(e,\"d\",(function(){return dn})),n.d(e,\"e\",(function(){return On})),n.d(e,\"f\",(function(){return fn}));class Y{constructor(t,e){this.id=t,this.url=e}}class $ extends Y{constructor(t,e,n=\"imperative\",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class G extends Y{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends Y{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class K extends Y{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Z extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends Y{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class et extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class st{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class ot{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class lt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class ct{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let ht=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"ng-component\"]],decls:1,vars:0,template:function(t,e){1&t&&r.Rb(0,\"router-outlet\")},directives:function(){return[fn]},encapsulation:2}),t})();class dt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ut(t){return new dt(t)}function pt(t){const e=Error(\"NavigationCancelingError: \"+t);return e.ngNavigationCancelingError=!0,e}function mt(t,e,n){const i=n.path.split(\"/\");if(i.length>t.length)return null;if(\"full\"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const r={};for(let s=0;s<i.length;s++){const e=i[s],n=t[s];if(e.startsWith(\":\"))r[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}class ft{constructor(t,e){this.routes=t,this.module=e}}function gt(t,e=\"\"){for(let n=0;n<t.length;n++){const i=t[n];bt(i,_t(e,i))}}function bt(t,e){if(!t)throw new Error(`\\n      Invalid configuration of route '${e}': Encountered undefined route.\\n      The reason might be an extra comma.\\n\\n      Example:\\n      const routes: Routes = [\\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\\n        { path: 'detail/:id', component: HeroDetailComponent }\\n      ];\\n    `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&\"primary\"!==t.outlet)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if(\"string\"==typeof t.path&&\"/\"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(\"\"===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: \"${e}\", redirectTo: \"${t.redirectTo}\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&\"full\"!==t.pathMatch&&\"prefix\"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&gt(t.children,e)}function _t(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:\"\":t}function yt(t){const e=t.children&&t.children.map(yt),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&\"primary\"!==n.outlet&&(n.component=ht),n}function vt(t,e){const n=Object.keys(t),i=Object.keys(e);if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!wt(t[r],e[r]))return!1;return!0}function wt(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every(t=>e.indexOf(t)>-1):t===e}function xt(t){return Array.prototype.concat.apply([],t)}function Ct(t){return t.length>0?t[t.length-1]:null}function kt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ot(t){return Object(r.tb)(t)?t:Object(r.ub)(t)?Object(a.a)(Promise.resolve(t)):Object(s.a)(t)}function St(t,e,n){return n?function(t,e){return vt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!At(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>wt(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!At(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!At(n.segments,r))return!1;for(const e in i.children){if(!n.children[e])return!1;if(!t(n.children[e],i.children[e]))return!1}return!0}{const t=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!At(n.segments,t)&&!!n.children.primary&&e(n.children.primary,i,s)}}(e,n,n.segments)}(t.root,e.root)}class Mt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ut(this.queryParams)),this._queryParamMap}toString(){return It.serialize(this)}}class Pt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,kt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jt(this)}}class Et{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ut(this.parameters)),this._parameterMap}toString(){return Bt(this)}}function At(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Dt(t,e){let n=[];return kt(t.children,(t,i)=>{\"primary\"===i&&(n=n.concat(e(t,i)))}),kt(t.children,(t,i)=>{\"primary\"!==i&&(n=n.concat(e(t,i)))}),n}class Rt{}class Tt{parse(t){const e=new Wt(t);return new Mt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return jt(e);if(n){const n=e.children.primary?t(e.children.primary,!1):\"\",i=[];return kt(e.children,(e,n)=>{\"primary\"!==n&&i.push(`${n}:${t(e,!1)}`)}),i.length>0?`${n}(${i.join(\"//\")})`:n}{const n=Dt(e,(n,i)=>\"primary\"===i?[t(e.children.primary,!1)]:[`${i}:${t(n,!1)}`]);return`${jt(e)}/(${n.join(\"//\")})`}}(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ft(e)}=${Ft(t)}`).join(\"&\"):`${Ft(e)}=${Ft(n)}`});return e.length?`?${e.join(\"&\")}`:\"\"}(t.queryParams)}${\"string\"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:\"\"}`}}const It=new Tt;function jt(t){return t.segments.map(t=>Bt(t)).join(\"/\")}function Lt(t){return encodeURIComponent(t).replace(/%40/g,\"@\").replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\")}function Ft(t){return Lt(t).replace(/%3B/gi,\";\")}function Nt(t){return Lt(t).replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/%26/gi,\"&\")}function Vt(t){return decodeURIComponent(t)}function zt(t){return Vt(t.replace(/\\+/g,\"%20\"))}function Bt(t){return`${Nt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Nt(t)}=${Nt(e[t])}`).join(\"\")}`;var e}const Ht=/^[^\\/()?;=#]+/;function Ut(t){const e=t.match(Ht);return e?e[0]:\"\"}const qt=/^[^=?&#]+/,Qt=/^[^?&#]+/;class Wt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional(\"/\"),\"\"===this.remaining||this.peekStartsWith(\"?\")||this.peekStartsWith(\"#\")?new Pt([],{}):new Pt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional(\"?\"))do{this.parseQueryParam(t)}while(this.consumeOptional(\"&\"));return t}parseFragment(){return this.consumeOptional(\"#\")?decodeURIComponent(this.remaining):null}parseChildren(){if(\"\"===this.remaining)return{};this.consumeOptional(\"/\");const t=[];for(this.peekStartsWith(\"(\")||t.push(this.parseSegment());this.peekStartsWith(\"/\")&&!this.peekStartsWith(\"//\")&&!this.peekStartsWith(\"/(\");)this.capture(\"/\"),t.push(this.parseSegment());let e={};this.peekStartsWith(\"/(\")&&(this.capture(\"/\"),e=this.parseParens(!0));let n={};return this.peekStartsWith(\"(\")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Pt(t,e)),n}parseSegment(){const t=Ut(this.remaining);if(\"\"===t&&this.peekStartsWith(\";\"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Et(Vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(\";\");)this.parseParam(t);return t}parseParam(t){const e=Ut(this.remaining);if(!e)return;this.capture(e);let n=\"\";if(this.consumeOptional(\"=\")){const t=Ut(this.remaining);t&&(n=t,this.capture(n))}t[Vt(e)]=Vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(qt);return e?e[0]:\"\"}(this.remaining);if(!e)return;this.capture(e);let n=\"\";if(this.consumeOptional(\"=\")){const t=function(t){const e=t.match(Qt);return e?e[0]:\"\"}(this.remaining);t&&(n=t,this.capture(n))}const i=zt(e),r=zt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture(\"(\");!this.consumeOptional(\")\")&&this.remaining.length>0;){const n=Ut(this.remaining),i=this.remaining[n.length];if(\"/\"!==i&&\")\"!==i&&\";\"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(\":\")>-1?(r=n.substr(0,n.indexOf(\":\")),this.capture(r),this.capture(\":\")):t&&(r=\"primary\");const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new Pt([],s),this.consumeOptional(\"//\")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected \"${t}\".`)}}class Yt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=$t(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=$t(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Gt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Gt(t,this._root).map(t=>t.value)}}function $t(t,e){if(t===e.value)return e;for(const n of e.children){const e=$t(t,n);if(e)return e}return null}function Gt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Gt(t,n);if(i.length)return i.unshift(e),i}return[]}class Xt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Kt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Zt extends Yt{constructor(t,e){super(t),this.snapshot=e,re(this,t)}toString(){return this.snapshot.toString()}}function Jt(t,e){const n=function(t,e){const n=new ne([],{},{},\"\",{},\"primary\",e,null,t.root,-1,{});return new ie(\"\",new Xt(n,[]))}(t,e),i=new o.a([new Et(\"\",{})]),r=new o.a({}),s=new o.a({}),a=new o.a({}),l=new o.a(\"\"),c=new te(i,r,a,l,s,\"primary\",e,n.root);return c.snapshot=n.root,new Zt(new Xt(c,[]),n)}class te{constructor(t,e,n,i,r,s,a,o){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)(t=>ut(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(t=>ut(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ee(t,e=\"emptyOnly\"){const n=t.pathFromRoot;let i=0;if(\"always\"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&\"\"===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class ne{constructor(t,e,n,i,r,s,a,o,l,c,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ut(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ut(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join(\"/\")}', path:'${this.routeConfig?this.routeConfig.path:\"\"}')`}}class ie extends Yt{constructor(t,e){super(e),this.url=t,re(this,e)}toString(){return se(this._root)}}function re(t,e){e.value._routerState=t,e.children.forEach(e=>re(t,e))}function se(t){const e=t.children.length>0?` { ${t.children.map(se).join(\", \")} } `:\"\";return`${t.value}${e}`}function ae(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,vt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),vt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!vt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),vt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function oe(t,e){var n,i;return vt(t.params,e.params)&&At(n=t.url,i=e.url)&&n.every((t,e)=>vt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||oe(t.parent,e.parent))}function le(t){return\"object\"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ce(t,e,n,i,r){let s={};return i&&kt(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Mt(n.root===t?e:function t(e,n,i){const r={};return kt(e.children,(e,s)=>{r[s]=e===n?i:t(e,n,i)}),new Pt(e.segments,r)}(n.root,t,e),s,r)}class he{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&le(n[0]))throw new Error(\"Root segment cannot have matrix parameters\");const i=n.find(t=>\"object\"==typeof t&&null!=t&&t.outlets);if(i&&i!==Ct(n))throw new Error(\"{outlets:{}} has to be the last command\")}toRoot(){return this.isAbsolute&&1===this.commands.length&&\"/\"==this.commands[0]}}class de{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ue(t){return\"object\"==typeof t&&null!=t&&t.outlets?t.outlets.primary:`${t}`}function pe(t,e,n){if(t||(t=new Pt([],{})),0===t.segments.length&&t.hasChildren())return me(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=n.length)return s;const e=t.segments[r],a=ue(n[i]),o=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&o&&\"object\"==typeof o&&void 0===o.outlets){if(!_e(a,o,e))return s;i+=2}else{if(!_e(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Pt(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Pt(t.segments.slice(i.pathIndex),t.children),me(e,0,r)}return i.match&&0===r.length?new Pt(t.segments,{}):i.match&&!t.hasChildren()?fe(t,e,n):i.match?me(t,0,r):fe(t,e,n)}function me(t,e,n){if(0===n.length)return new Pt(t.segments,{});{const i=function(t){return\"object\"!=typeof t[0]?{primary:t}:void 0===t[0].outlets?{primary:t}:t[0].outlets}(n),r={};return kt(i,(n,i)=>{null!==n&&(r[i]=pe(t.children[i],e,n))}),kt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Pt(t.segments,r)}}function fe(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r<n.length;){if(\"object\"==typeof n[r]&&void 0!==n[r].outlets){const t=ge(n[r].outlets);return new Pt(i,t)}if(0===r&&le(n[0])){i.push(new Et(t.segments[e].path,n[0])),r++;continue}const s=ue(n[r]),a=r<n.length-1?n[r+1]:null;s&&a&&le(a)?(i.push(new Et(s,be(a))),r+=2):(i.push(new Et(s,{})),r++)}return new Pt(i,{})}function ge(t){const e={};return kt(t,(t,n)=>{null!==t&&(e[n]=fe(new Pt([],{}),0,t))}),e}function be(t){const e={};return kt(t,(t,n)=>e[n]=`${t}`),e}function _e(t,e,n){return t==n.path&&vt(e,n.parameters)}class ye{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ae(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Kt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),kt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=Kt(t),r=t.value.component?n.children:e;kt(i,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=Kt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new lt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new at(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(ae(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){ae(t.value),t.children.forEach(ve)}function we(t){return\"function\"==typeof t}function xe(t){return t instanceof Mt}class Ce{constructor(t){this.segmentGroup=t||null}}class ke{constructor(t){this.urlTree=t}}function Oe(t){return new l.a(e=>e.error(new Ce(t)))}function Se(t){return new l.a(e=>e.error(new ke(t)))}function Me(t){return new l.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Pe{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,\"primary\").pipe(Object(m.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(D.a)(t=>{if(t instanceof ke)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ce)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,\"primary\").pipe(Object(m.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(D.a)(t=>{if(t instanceof Ce)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Pt([],{primary:t}):t;return new Mt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)(t=>new Pt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(s.a)({});const n=[],i=[],r={};return kt(t,(t,s)=>{const a=e(s,t).pipe(Object(m.a)(t=>r[s]=t));\"primary\"===s?n.push(a):i.push(a)}),s.a.apply(null,n.concat(i)).pipe(Object(f.a)(),A(),Object(m.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,r,a){return Object(s.a)(...n).pipe(Object(m.a)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,a).pipe(Object(D.a)(t=>{if(t instanceof Ce)return Object(s.a)(null);throw t}))),Object(f.a)(),T(t=>!!t),Object(D.a)((t,n)=>{if(t instanceof c||\"EmptyError\"===t.name){if(this.noLeftoversInUrl(e,i,r))return Object(s.a)(new Pt([],{}));throw new Ce(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,r,s,a){return Re(i)!==s?Oe(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Oe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return\"**\"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith(\"/\")?Se(r):this.lineralizeSegments(n,r).pipe(Object(I.a)(n=>{const r=new Pt(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=Ee(e,i,r);if(!a)return Oe(e);const h=this.applyRedirectCommands(o,i.redirectTo,c);return i.redirectTo.startsWith(\"/\")?Se(h):this.lineralizeSegments(i,h).pipe(Object(I.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i){if(\"**\"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)(t=>(n._loadedConfig=t,new Pt(i,{})))):Object(s.a)(new Pt(i,{}));const{matched:r,consumedSegments:a,lastChild:o}=Ee(e,n,i);if(!r)return Oe(e);const l=i.slice(o);return this.getChildConfig(t,n,i).pipe(Object(I.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:r,slicedSegments:o}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>De(t,e,n)&&\"primary\"!==Re(n))}(t,n,i)?{segmentGroup:Ae(new Pt(e,function(t,e){const n={};n.primary=e;for(const i of t)\"\"===i.path&&\"primary\"!==Re(i)&&(n[Re(i)]=new Pt([],{}));return n}(i,new Pt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>De(t,e,n))}(t,n,i)?{segmentGroup:Ae(new Pt(t.segments,function(t,e,n,i){const r={};for(const s of n)De(t,e,s)&&!i[Re(s)]&&(r[Re(s)]=new Pt([],{}));return Object.assign(Object.assign({},i),r)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,l,i);return 0===o.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(m.a)(t=>new Pt(a,t))):0===i.length&&0===o.length?Object(s.a)(new Pt(a,{})):this.expandSegment(n,r,i,o,\"primary\",!0).pipe(Object(m.a)(t=>new Pt(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(s.a)(new ft(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(s.a)(e._loadedConfig):function(t,e,n){const i=e.canLoad;return i&&0!==i.length?Object(a.a)(i).pipe(Object(m.a)(i=>{const r=t.get(i);let s;if(function(t){return t&&we(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!we(r))throw new Error(\"Invalid CanLoad guard\");s=r(e,n)}return Ot(s)})).pipe(Object(f.a)(),(r=t=>!0===t,t=>t.lift(new j(r,void 0,t)))):Object(s.a)(!0);var r}(t.injector,e,n).pipe(Object(I.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(m.a)(t=>(e._loadedConfig=t,t))):function(t){return new l.a(e=>e.error(pt(`Cannot load children because the guard of the route \"path: '${t.path}'\" returned false`)))}(e))):Object(s.a)(new ft([],t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children.primary)return Me(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new Mt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return kt(t,(t,i)=>{if(\"string\"==typeof t&&t.startsWith(\":\")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return kt(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new Pt(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(\":\")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Ee(t,e,n){if(\"\"===e.path)return\"full\"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(e.matcher||mt)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ae(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Pt(t.segments.concat(e.segments),e.children)}return t}function De(t,e,n){return(!(t.hasChildren()||e.length>0)||\"full\"!==n.pathMatch)&&\"\"===n.path&&void 0!==n.redirectTo}function Re(t){return t.outlet||\"primary\"}class Te{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ie{constructor(t,e){this.component=t,this.route=e}}function je(t,e,n){const i=t._root;return function t(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Kt(n);return e.children.forEach(e=>{!function(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=e.value,o=n?n.value:null,l=i?i.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const c=function(t,e,n){if(\"function\"==typeof n)return n(t,e);switch(n){case\"pathParamsChange\":return!At(t.url,e.url);case\"pathParamsOrQueryParamsChange\":return!At(t.url,e.url)||!vt(t.queryParams,e.queryParams);case\"always\":return!0;case\"paramsOrQueryParamsChange\":return!oe(t,e)||!vt(t.queryParams,e.queryParams);case\"paramsChange\":default:return!oe(t,e)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Te(r)):(a.data=o.data,a._resolvedData=o._resolvedData),t(e,n,a.component?l?l.children:null:i,r,s),c&&s.canDeactivateChecks.push(new Ie(l&&l.outlet&&l.outlet.component||null,o))}else o&&Fe(n,l,s),s.canActivateChecks.push(new Te(r)),t(e,null,a.component?l?l.children:null:i,r,s)}(e,a[e.value.outlet],i,r.concat([e.value]),s),delete a[e.value.outlet]}),kt(a,(t,e)=>Fe(t,i.getContext(e),s)),s}(i,e?e._root:null,n,[i.value])}function Le(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Fe(t,e,n){const i=Kt(t),r=t.value;kt(i,(t,i)=>{Fe(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Ie(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}const Ne=Symbol(\"INITIAL_VALUE\");function Ve(){return Object(F.a)(t=>Object(h.a)(...t.map(t=>t.pipe(Object(R.a)(1),Object(N.a)(Ne)))).pipe(V((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==Ne)return t;if(i===Ne&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||xe(i))return i}return t},t)},Ne),Object(g.a)(t=>t!==Ne),Object(m.a)(t=>xe(t)?t:!0===t),Object(R.a)(1)))}function ze(t,e){return null!==t&&e&&e(new ot(t)),Object(s.a)(!0)}function Be(t,e){return null!==t&&e&&e(new st(t)),Object(s.a)(!0)}function He(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(d.a)(()=>{const r=Le(i,e,n);let s;if(function(t){return t&&we(t.canActivate)}(r))s=Ot(r.canActivate(e,t));else{if(!we(r))throw new Error(\"Invalid CanActivate guard\");s=Ot(r(e,t))}return s.pipe(T())}));return Object(s.a)(r).pipe(Ve())}function Ue(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(d.a)(()=>{const r=e.guards.map(r=>{const s=Le(r,e.node,n);let a;if(function(t){return t&&we(t.canActivateChild)}(s))a=Ot(s.canActivateChild(i,t));else{if(!we(s))throw new Error(\"Invalid CanActivateChild guard\");a=Ot(s(i,t))}return a.pipe(T())});return Object(s.a)(r).pipe(Ve())}));return Object(s.a)(r).pipe(Ve())}class qe{}class Qe{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const t=$e(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,\"primary\"),n=new ne([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},\"primary\",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Xt(n,e),r=new ie(this.url,i);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(t){return new l.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ee(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Dt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join(\"/\"),i=t.value.url.map(t=>t.toString()).join(\"/\");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>\"primary\"===t.value.outlet?-1:\"primary\"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,i)}catch(r){if(!(r instanceof qe))throw r}if(this.noLeftoversInUrl(e,n,i))return[];throw new qe}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new qe;if((t.outlet||\"primary\")!==i)throw new qe;let r,s=[],a=[];if(\"**\"===t.path){const s=n.length>0?Ct(n).parameters:{};r=new ne(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ke(t),i,t.component,t,We(e),Ye(e)+n.length,Ze(t))}else{const o=function(t,e,n){if(\"\"===e.path){if(\"full\"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new qe;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||mt)(n,t,e);if(!i)throw new qe;const r={};kt(i.posParams,(t,e)=>{r[e]=t.path});const s=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);s=o.consumedSegments,a=n.slice(o.lastChild),r=new ne(s,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ke(t),i,t.component,t,We(e),Ye(e)+s.length,Ze(t))}const o=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=$e(e,s,a,o,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(o,l);return[new Xt(r,t)]}if(0===o.length&&0===c.length)return[new Xt(r,[])];const h=this.processSegment(o,l,c,\"primary\");return[new Xt(r,h)]}}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ye(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function $e(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some(n=>Ge(t,e,n)&&\"primary\"!==Xe(n))}(t,n,i)){const r=new Pt(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(\"\"===s.path&&\"primary\"!==Xe(s)){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[Xe(s)]=n}return r}(t,e,i,new Pt(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ge(t,e,n))}(t,n,i)){const s=new Pt(t.segments,function(t,e,n,i,r,s){const a={};for(const o of i)if(Ge(t,n,o)&&!r[Xe(o)]){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift=\"legacy\"===s?t.segments.length:e.length,a[Xe(o)]=n}return Object.assign(Object.assign({},r),a)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Pt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Ge(t,e,n){return(!(t.hasChildren()||e.length>0)||\"full\"!==n.pathMatch)&&\"\"===n.path&&void 0===n.redirectTo}function Xe(t){return t.outlet||\"primary\"}function Ke(t){return t.data||{}}function Ze(t){return t.resolve||{}}function Je(t,e,n,i){const r=Le(t,e,i);return Ot(r.resolve?r.resolve(e,n):r(e,n))}function tn(t){return function(e){return e.pipe(Object(F.a)(e=>{const n=t(e);return n?Object(a.a)(n).pipe(Object(m.a)(()=>e)):Object(a.a)([e])}))}}class en{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const nn=new r.r(\"ROUTES\");class rn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ft(xt(i.injector.get(nn)).map(yt),i)}))}loadModuleFactory(t){return\"string\"==typeof t?Object(a.a)(this.loader.load(t)):Ot(t()).pipe(Object(I.a)(t=>t instanceof r.w?Object(s.a)(t):Object(a.a)(this.compiler.compileModuleAsync(t))))}}class sn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function an(t){throw t}function on(t,e,n){return e.parse(\"/\")}function ln(t,e){return Object(s.a)(null)}let cn=(()=>{class t{constructor(t,e,n,i,s,a,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new u.a,this.errorHandler=an,this.malformedUriErrorHandler=on,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ln,afterPreactivation:ln},this.urlHandlingStrategy=new sn,this.routeReuseStrategy=new en,this.onSameUrlNavigation=\"ignore\",this.paramsInheritanceStrategy=\"emptyOnly\",this.urlUpdateStrategy=\"deferred\",this.relativeLinkResolution=\"legacy\",this.ngModule=s.get(r.y),this.console=s.get(r.ab);const h=s.get(r.A);this.isNgZoneEnabled=h instanceof r.A,this.resetConfig(c),this.currentUrlTree=new Mt(new Pt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rn(a,l,t=>this.triggerEvent(new it(t)),t=>this.triggerEvent(new rt(t))),this.routerState=Jt(this.currentUrlTree,this.rootComponentType),this.transitions=new o.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:\"imperative\",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(g.a)(t=>0!==t.id),Object(m.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(F.a)(t=>{let n=!1,i=!1;return Object(s.a)(t).pipe(Object(q.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(F.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if((\"reload\"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(s.a)(t).pipe(Object(F.a)(t=>{const n=this.transitions.getValue();return e.next(new $(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.a:[t]}),Object(F.a)(t=>Promise.resolve(t)),(i=this.ngModule.injector,r=this.configLoader,a=this.urlSerializer,o=this.config,function(t){return t.pipe(Object(F.a)(t=>function(t,e,n,i,r){return new Pe(t,e,n,i,r).apply()}(i,r,a,t.extractedUrl,o).pipe(Object(m.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(q.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(s){return s.pipe(Object(I.a)(s=>function(t,e,n,i,r=\"emptyOnly\",s=\"legacy\"){return new Qe(t,e,n,i,r,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(m.a)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(q.a)(t=>{\"eager\"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(q.a)(t=>{const n=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,a,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:a,extras:o}=t,l=new $(n,this.serializeUrl(i),r,a);e.next(l);const c=Jt(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.a}),tn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(q.a)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(m.a)(t=>Object.assign(Object.assign({},t),{guards:je(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(I.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:l}}=n;return 0===l.length&&0===o.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(a.a)(t).pipe(Object(I.a)(t=>function(t,e,n,i,r){const a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(s.a)(!0);const o=a.map(s=>{const a=Le(s,e,r);let o;if(function(t){return t&&we(t.canDeactivate)}(a))o=Ot(a.canDeactivate(t,e,n,i));else{if(!we(a))throw new Error(\"Invalid CanDeactivate guard\");o=Ot(a(t,e,n,i))}return o.pipe(T())});return Object(s.a)(o).pipe(Ve())}(t.component,t.route,n,e,i)),T(t=>!0!==t,!0))}(l,i,r,t).pipe(Object(I.a)(n=>n&&\"boolean\"==typeof n?function(t,e,n,i){return Object(a.a)(e).pipe(Object(H.a)(e=>Object(a.a)([Be(e.route.parent,i),ze(e.route,i),Ue(t,e.path,n),He(t,e.route,n)]).pipe(Object(f.a)(),T(t=>!0!==t,!0))),T(t=>!0!==t,!0))}(i,o,t,e):Object(s.a)(n)),Object(m.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(q.a)(t=>{if(xe(t.guardsResult)){const e=pt(`Redirecting to \"${this.serializeUrl(t.guardsResult)}\"`);throw e.url=t.guardsResult,e}}),Object(q.a)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(g.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new X(t.id,this.serializeUrl(t.extractedUrl),\"\");return e.next(n),t.resolve(!1),!1}return!0}),tn(t=>{if(t.guards.canActivateChecks.length)return Object(s.a)(t).pipe(Object(q.a)(t=>{const e=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(Object(I.a)(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;return r.length?Object(a.a)(r).pipe(Object(H.a)(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(s.a)({});if(1===r.length){const s=r[0];return Je(t[s],e,n,i).pipe(Object(m.a)(t=>({[s]:t})))}const o={};return Object(a.a)(r).pipe(Object(I.a)(r=>Je(t[r],e,n,i).pipe(Object(m.a)(t=>(o[r]=t,t))))).pipe(A(),Object(m.a)(()=>o))}(t._resolve,t,e,i).pipe(Object(m.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ee(t,n).resolve),null)))}(t.route,i,e,n)),function(t,e){return arguments.length>=2?function(n){return Object(U.a)(V(t,e),y(1),S(e))(n)}:function(e){return Object(U.a)(V((e,n,i)=>t(e,n,i+1)),y(1))(e)}}((t,e)=>t),Object(m.a)(e=>t)):Object(s.a)(t)}))}),Object(q.a)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),tn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(m.a)(t=>{const e=function(t,e,n){const i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const s=function(e,n,i){return n.children.map(n=>{for(const r of i.children)if(e.shouldReuseRoute(r.value.snapshot,n.value))return t(e,n,r);return t(e,n)})}(e,n,i);return new Xt(r,s)}{const i=e.retrieve(n.value);if(i){const t=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error(\"Cannot reattach ActivatedRouteSnapshot created from a different route\");if(e.children.length!==n.children.length)throw new Error(\"Cannot reattach ActivatedRouteSnapshot with a different number of children\");n.value._futureSnapshot=e.value;for(let i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,t),t}{const i=new te(new o.a((r=n.value).url),new o.a(r.params),new o.a(r.queryParams),new o.a(r.fragment),new o.a(r.data),r.outlet,r.component,r),s=n.children.map(n=>t(e,n));return new Xt(i,s)}}var r}(t,e._root,n?n._root:void 0);return new Zt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(q.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,\"deferred\"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,l=this.routeReuseStrategy,c=t=>this.triggerEvent(t),Object(m.a)(t=>(new ye(l,t.targetRouterState,t.currentRouterState,c).activate(r),t))),Object(q.a)({next(){n=!0},complete(){n=!0}}),Object(Q.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new X(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(D.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=xe(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new X(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,\"imperative\",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:\"eager\"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new K(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return p.a}));var r,l,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n=\"popstate\"===t.type?\"popstate\":\"hashchange\",i=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){gt(t),this.config=t.map(yt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,preserveQueryParams:a,queryParamsHandling:o,preserveFragment:l}=e;Object(r.X)()&&a&&console&&console.warn&&console.warn(\"preserveQueryParams is deprecated, use queryParamsHandling instead.\");const c=n||this.routerState.root,h=l?this.currentUrlTree.fragment:s;let d=null;if(o)switch(o){case\"merge\":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case\"preserve\":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=a?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,i,r){if(0===n.length)return ce(e.root,e.root,e,i,r);const s=function(t){if(\"string\"==typeof t[0]&&1===t.length&&\"/\"===t[0])return new he(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if(\"object\"==typeof i&&null!=i){if(i.outlets){const e={};return kt(i.outlets,(t,n)=>{e[n]=\"string\"==typeof t?t.split(\"/\"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return\"string\"!=typeof i?[...t,i]:0===r?(i.split(\"/\").forEach((i,r)=>{0==r&&\".\"===i||(0==r&&\"\"===i?n=!0:\"..\"===i?e++:\"\"!=i&&t.push(i))}),t):[...t,i]},[]);return new he(n,e,i)}(n);if(s.toRoot())return ce(e.root,new Pt([],{}),e,i,r);const a=function(t,e,n){if(t.isAbsolute)return new de(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new de(n.snapshot._urlSegment,!0,0);const i=le(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error(\"Invalid number of '../'\");r=i.segments.length}return new de(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),o=a.processChildren?me(a.segmentGroup,a.index,s.commands):pe(a.segmentGroup,a.index,s.commands);return ce(a.segmentGroup,o,e,i,r)}(c,this.currentUrlTree,t,d,h)}navigateByUrl(t,e={skipLocationChange:!1}){Object(r.X)()&&this.isNgZoneEnabled&&!r.A.isInAngularZone()&&this.console.warn(\"Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?\");const n=xe(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,\"imperative\",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(xe(t))return St(this.currentUrlTree,t,e);const n=this.parseUrl(t);return St(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn(\"Unhandled Navigation Error: \")})}scheduleNavigation(t,e,n,i,r){const s=this.getTransition();if(s&&\"imperative\"!==e&&\"imperative\"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&\"hashchange\"==e&&\"popstate\"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&\"popstate\"==e&&\"hashchange\"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let a,o,l;r?(a=r.resolve,o=r.reject,l=r.promise):l=new Promise((t,e)=>{a=t,o=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:a,reject:o,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,\"\",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,\"\",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),\"\",{navigationId:this.lastSuccessfulId})}}return t.\\u0275fac=function(t){r.dc()},t.\\u0275dir=r.Lb({type:t}),t})(),hn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(r.nativeElement,\"tabindex\",\"0\")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.X)()&&console&&console.warn&&console.warn(\"preserveQueryParams is deprecated!, use queryParamsHandling instead.\"),this.preserve=t}onClick(){const t={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(cn),r.Qb(te),r.bc(\"tabindex\"),r.Qb(r.F),r.Qb(r.l))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"routerLink\",\"\",5,\"a\",5,\"area\"]],hostBindings:function(t,e){1&t&&r.ec(\"click\",(function(){return e.onClick()}))},inputs:{routerLink:\"routerLink\",preserveQueryParams:\"preserveQueryParams\",queryParams:\"queryParams\",fragment:\"fragment\",queryParamsHandling:\"queryParamsHandling\",preserveFragment:\"preserveFragment\",skipLocationChange:\"skipLocationChange\",replaceUrl:\"replaceUrl\",state:\"state\"}}),t})(),dn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof G&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.X)()&&console&&console.warn&&console.warn(\"preserveQueryParams is deprecated, use queryParamsHandling instead.\"),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i){if(0!==t||e||n||i)return!0;if(\"string\"==typeof this.target&&\"_self\"!=this.target)return!0;const r={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(cn),r.Qb(te),r.Qb(i.h))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"a\",\"routerLink\",\"\"],[\"area\",\"routerLink\",\"\"]],hostVars:2,hostBindings:function(t,e){1&t&&r.ec(\"click\",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(r.Zb(\"href\",e.href,r.Cc),r.Eb(\"target\",e.target))},inputs:{routerLink:\"routerLink\",preserveQueryParams:\"preserveQueryParams\",target:\"target\",queryParams:\"queryParams\",fragment:\"fragment\",queryParamsHandling:\"queryParamsHandling\",preserveFragment:\"preserveFragment\",skipLocationChange:\"skipLocationChange\",replaceUrl:\"replaceUrl\",state:\"state\"},features:[r.Bb()]}),t})();function un(t){return\"\"===t||!!t}class pn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new pn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let fn=(()=>{class t{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.o,this.deactivateEvents=new r.o,this.name=i||\"primary\",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error(\"Outlet is not activated\");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error(\"Outlet is not activated\");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error(\"Outlet is not activated\");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error(\"Cannot activate an already activated outlet\");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new gn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(mn),r.Qb(r.P),r.Qb(r.j),r.bc(\"name\"),r.Qb(r.h))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"router-outlet\"]],outputs:{activateEvents:\"activate\",deactivateEvents:\"deactivate\"},exportAs:[\"outlet\"]}),t})();class gn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===te?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class bn{}class _n{preload(t,e){return Object(s.a)(null)}}let yn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new rn(e,n,e=>t.triggerEvent(new it(e)),e=>t.triggerEvent(new rt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(g.a)(t=>t instanceof G),Object(H.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.y);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(a.a)(n).pipe(Object(W.a)(),Object(m.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(I.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(cn),r.ac(r.x),r.ac(r.i),r.ac(r.s),r.ac(bn))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),vn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource=\"imperative\",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||\"disabled\",n.anchorScrolling=n.anchorScrolling||\"disabled\"}init(){\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration(\"manual\"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof $?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof G&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ct&&(t.position?\"top\"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):\"enabled\"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&\"enabled\"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ct(t,\"popstate\"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\\u0275fac=function(t){r.dc()},t.\\u0275dir=r.Lb({type:t}),t})();const wn=new r.r(\"ROUTER_CONFIGURATION\"),xn=new r.r(\"ROUTER_FORROOT_GUARD\"),Cn=[i.g,{provide:Rt,useClass:Tt},{provide:cn,useFactory:function(t,e,n,r,s,a,o,l={},c,h){const d=new cn(null,t,e,n,r,s,a,xt(o));if(c&&(d.urlHandlingStrategy=c),h&&(d.routeReuseStrategy=h),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Object(i.x)();d.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d},deps:[Rt,mn,i.g,r.s,r.x,r.i,nn,wn,[class{},new r.B],[class{},new r.B]]},mn,{provide:te,useFactory:function(t){return t.routerState.root},deps:[cn]},{provide:r.x,useClass:r.L},yn,_n,class{preload(t,e){return e().pipe(Object(D.a)(()=>Object(s.a)(null)))}},{provide:wn,useValue:{enableTracing:!1}}];function kn(){return new r.z(\"Router\",cn)}let On=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Cn,En(e),{provide:xn,useFactory:Pn,deps:[[cn,new r.B,new r.K]]},{provide:wn,useValue:n||{}},{provide:i.h,useFactory:Mn,deps:[i.r,[new r.q(i.a),new r.B],wn]},{provide:vn,useFactory:Sn,deps:[cn,i.s,wn]},{provide:bn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:_n},{provide:r.z,multi:!0,useFactory:kn},[An,{provide:r.d,multi:!0,useFactory:Dn,deps:[An]},{provide:Tn,useFactory:Rn,deps:[An]},{provide:r.b,multi:!0,useExisting:Tn}]]}}static forChild(e){return{ngModule:t,providers:[En(e)]}}}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.ac(xn,8),r.ac(cn,8))}}),t})();function Sn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new vn(t,e,n)}function Mn(t,e,n={}){return n.useHash?new i.e(t,e):new i.q(t,e)}function Pn(t){if(t)throw new Error(\"RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.\");return\"guarded\"}function En(t){return[{provide:r.a,multi:!0,useValue:t},{provide:nn,multi:!0,useValue:t}]}let An=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new u.a}appInitializer(){return this.injector.get(i.f,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(cn),i=this.injector.get(wn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))t(!0);else if(\"disabled\"===i.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if(\"enabled\"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(wn),n=this.injector.get(yn),i=this.injector.get(vn),s=this.injector.get(cn),a=this.injector.get(r.g);t===a.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return\"legacy_enabled\"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return\"legacy_disabled\"===t.initialNavigation||!1===t.initialNavigation}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(r.s))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();function Dn(t){return t.appInitializer.bind(t)}function Rn(t){return t.bootstrapListener.bind(t)}const Tn=new r.r(\"Router Initializer\")},u47x:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return z})),n.d(e,\"b\",(function(){return C})),n.d(e,\"c\",(function(){return w})),n.d(e,\"d\",(function(){return I})),n.d(e,\"e\",(function(){return F})),n.d(e,\"f\",(function(){return A})),n.d(e,\"g\",(function(){return k})),n.d(e,\"h\",(function(){return L})),n.d(e,\"i\",(function(){return E})),n.d(e,\"j\",(function(){return V})),n.d(e,\"k\",(function(){return T})),n.d(e,\"l\",(function(){return N}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"XNiG\"),a=n(\"quSY\"),o=n(\"LRne\"),l=n(\"FtGj\"),c=n(\"vkgz\"),h=n(\"Kj3r\"),d=n(\"pLZG\"),u=n(\"lJxs\"),p=n(\"IzEk\"),m=n(\"8LU1\"),f=n(\"nLfN\"),g=n(\"GU7r\");function b(t,e){return(t.getAttribute(e)||\"\").match(/\\S+/g)||[]}let _=0;const y=new Map;let v=null,w=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&(\"string\"!=typeof e?(this._setMessageId(e),y.set(e,{messageElement:e,referenceCount:0})):y.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),\"string\"==typeof e){const t=y.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll(\"[cdk-describedby-host]\");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(\"cdk-describedby-host\");v&&this._deleteMessagesContainer(),y.clear()}_createMessageElement(t){const e=this._document.createElement(\"div\");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),v.appendChild(e),y.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id=`cdk-describedby-message-${_++}`)}_deleteMessageElement(t){const e=y.get(t),n=e&&e.messageElement;v&&n&&v.removeChild(n),y.delete(t)}_createMessagesContainer(){if(!v){const t=this._document.getElementById(\"cdk-describedby-message-container\");t&&t.parentNode.removeChild(t),v=this._document.createElement(\"div\"),v.id=\"cdk-describedby-message-container\",v.setAttribute(\"aria-hidden\",\"true\"),v.style.display=\"none\",this._document.body.appendChild(v)}}_deleteMessagesContainer(){v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)}_removeCdkDescribedByReferenceIds(t){const e=b(t,\"aria-describedby\").filter(t=>0!=t.indexOf(\"cdk-describedby-message\"));t.setAttribute(\"aria-describedby\",e.join(\" \"))}_addMessageReference(t,e){const n=y.get(e);!function(t,e,n){const i=b(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(\" \")))}(t,\"aria-describedby\",n.messageElement.id),t.setAttribute(\"cdk-describedby-host\",\"\"),n.referenceCount++}_removeMessageReference(t,e){const n=y.get(e);n.referenceCount--,function(t,e,n){const i=b(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(\" \")):t.removeAttribute(e)}(t,\"aria-describedby\",n.messageElement.id),t.removeAttribute(\"cdk-describedby-host\")}_isElementDescribedByMessage(t,e){const n=b(t,\"aria-describedby\"),i=y.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&\"object\"==typeof e)return!0;const n=null==e?\"\":`${e}`.trim(),i=t.getAttribute(\"aria-label\");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.d))},token:t,providedIn:\"root\"}),t})();class x{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.a,this.change=new s.a,t instanceof r.E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>\"function\"!=typeof t.getLabel))throw Error(\"ListKeyManager items in typeahead mode must implement the `getLabel` method.\");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(h.a)(t),Object(d.a)(()=>this._pressedLetters.length>0),Object(u.a)(()=>this._pressedLetters.join(\"\"))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,r=e[i];if(!this._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=[\"altKey\",\"ctrlKey\",\"metaKey\",\"shiftKey\"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.m:return void this.tabOut.next();case l.b:if(this._vertical&&n){this.setNextItemActive();break}return;case l.n:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.k:if(this._horizontal&&n){\"rtl\"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&n){\"rtl\"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(l.q)(t,\"shiftKey\"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.o||e>=l.p&&e<=l.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n=\"number\"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.E?this._items.toArray():this._items}}class C extends x{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class k extends x{constructor(){super(...arguments),this._origin=\"program\"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let O=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute(\"disabled\")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||\"function\"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&\"visible\"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===M(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&\"object\"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=M(t);if(t.hasAttribute(\"contenteditable\"))return-1!==r;if(\"iframe\"===i)return!1;if(\"audio\"===i){if(!t.hasAttribute(\"controls\"))return!1;if(this._platform.BLINK)return!0}if(\"video\"===i){if(!t.hasAttribute(\"controls\")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return(\"object\"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n=\"input\"===e&&t.type;return\"text\"===n||\"password\"===n||\"select\"===e||\"textarea\"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return\"input\"==t.nodeName.toLowerCase()}(t)&&\"hidden\"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return\"input\"===e||\"select\"===e||\"button\"===e||\"textarea\"===e}(t)||function(t){return function(t){return\"a\"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute(\"href\")}(t)||t.hasAttribute(\"contenteditable\")||S(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(f.a))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(f.a))},token:t,providedIn:\"root\"}),t})();function S(t){if(!t.hasAttribute(\"tabindex\")||void 0===t.tabIndex)return!1;let e=t.getAttribute(\"tabindex\");return\"-32768\"!=e&&!(!e||isNaN(parseInt(e,10)))}function M(t){if(!S(t))return null;const e=parseInt(t.getAttribute(\"tabindex\")||\"\",10);return isNaN(e)?-1:e}class P{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener(\"focus\",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener(\"focus\",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener(\"focus\",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener(\"focus\",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated `+\"attribute will be removed in 8.0.0.\",e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated attribute `+\"will be removed in 8.0.0.\",e[n]);return\"start\"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector(\"[cdk-focus-initial], [cdkFocusInitial]\");return t?(t.hasAttribute(\"cdk-focus-initial\")&&console.warn(\"Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0\",t),Object(r.X)()&&!this._checker.isFocusable(t)&&console.warn(\"Element matching '[cdkFocusInitial]' is not focusable.\",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary(\"start\");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary(\"end\");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement(\"div\");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add(\"cdk-visually-hidden\"),t.classList.add(\"cdk-focus-trap-anchor\"),t.setAttribute(\"aria-hidden\",\"true\"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute(\"tabindex\",\"0\"):e.removeAttribute(\"tabindex\")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let E=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new P(t,this._checker,this._ngZone,this._document,e)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(O),r.ac(r.A),r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(O),Object(r.ac)(r.A),Object(r.ac)(i.d))},token:t,providedIn:\"root\"}),t})(),A=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(m.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(m.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(E),r.Qb(i.d))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkTrapFocus\",\"\"]],inputs:{enabled:[\"cdkTrapFocus\",\"enabled\"],autoCapture:[\"cdkTrapFocusAutoCapture\",\"autoCapture\"]},exportAs:[\"cdkTrapFocus\"]}),t})();\"undefined\"!=typeof Element&&Element;const D=new r.r(\"liveAnnouncerElement\",{providedIn:\"root\",factory:function(){return null}}),R=new r.r(\"LIVE_ANNOUNCER_DEFAULT_OPTIONS\");let T=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&\"number\"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:\"polite\"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute(\"aria-live\",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),\"number\"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent=\"\")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName(\"cdk-live-announcer-element\"),e=this._document.createElement(\"div\");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add(\"cdk-live-announcer-element\"),e.classList.add(\"cdk-visually-hidden\"),e.setAttribute(\"aria-atomic\",\"true\"),e.setAttribute(\"aria-live\",\"polite\"),this._document.body.appendChild(e),e}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(D,8),r.ac(r.A),r.ac(i.d),r.ac(R,8))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(D,8),Object(r.ac)(r.A),Object(r.ac)(i.d),Object(r.ac)(R,8))},token:t,providedIn:\"root\"}),t})(),I=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness=\"off\"}get politeness(){return this._politeness}set politeness(t){this._politeness=\"polite\"===t||\"assertive\"===t?t:\"off\",\"off\"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(T),r.Qb(g.b),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkAriaLive\",\"\"]],inputs:{politeness:[\"cdkAriaLive\",\"politeness\"]},exportAs:[\"cdkAriaLive\"]}),t})();const j=Object(f.f)({passive:!0,capture:!0});let L=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue(\"keyboard\")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue(\"mouse\")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(o.a)(null);const n=Object(m.e)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let i={unlisten:()=>{},checkChildren:e,subject:new s.a};this._elementInfo.set(n,i),this._incrementMonitoredElementCount();let r=t=>this._onFocus(t,n),a=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener(\"focus\",r,!0),n.addEventListener(\"blur\",a,!0)}),i.unlisten=()=>{n.removeEventListener(\"focus\",r,!0),n.removeEventListener(\"blur\",a,!0)},i.subject.asObservable()}stopMonitoring(t){const e=Object(m.e)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const i=Object(m.e)(t);this._setOriginForCurrentEventQueue(e),\"function\"==typeof i.focus&&i.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,\"cdk-focused\",!!e),this._toggleClass(t,\"cdk-touch-focused\",\"touch\"===e),this._toggleClass(t,\"cdk-keyboard-focused\",\"keyboard\"===e),this._toggleClass(t,\"cdk-mouse-focused\",\"mouse\"===e),this._toggleClass(t,\"cdk-program-focused\",\"program\"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?\"touch\":\"program\"),this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener(\"keydown\",this._documentKeydownListener,j),document.addEventListener(\"mousedown\",this._documentMousedownListener,j),document.addEventListener(\"touchstart\",this._documentTouchstartListener,j),window.addEventListener(\"focus\",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener(\"keydown\",this._documentKeydownListener,j),document.removeEventListener(\"mousedown\",this._documentMousedownListener,j),document.removeEventListener(\"touchstart\",this._documentTouchstartListener,j),window.removeEventListener(\"focus\",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(r.A),r.ac(f.a))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(r.A),Object(r.ac)(f.a))},token:t,providedIn:\"root\"}),t})(),F=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new r.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute(\"cdkMonitorSubtreeFocus\")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(L))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkMonitorElementFocus\",\"\"],[\"\",\"cdkMonitorSubtreeFocus\",\"\"]],outputs:{cdkFocusChange:\"cdkFocusChange\"}}),t})();function N(t){return 0===t.buttons}let V=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement(\"div\");t.style.backgroundColor=\"rgb(1,2,3)\",t.style.position=\"absolute\",this._document.body.appendChild(t);const e=(this._document.defaultView.getComputedStyle(t).backgroundColor||\"\").replace(/ /g,\"\");switch(this._document.body.removeChild(t),e){case\"rgb(0,0,0)\":return 2;case\"rgb(255,255,255)\":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(\"cdk-high-contrast-active\"),t.remove(\"cdk-high-contrast-black-on-white\"),t.remove(\"cdk-high-contrast-white-on-black\");const e=this.getHighContrastMode();1===e?(t.add(\"cdk-high-contrast-active\"),t.add(\"cdk-high-contrast-black-on-white\")):2===e&&(t.add(\"cdk-high-contrast-active\"),t.add(\"cdk-high-contrast-white-on-black\"))}}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(f.a),r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(f.a),Object(r.ac)(i.d))},token:t,providedIn:\"root\"}),t})(),z=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.ac(V))},imports:[[f.b,g.c]]}),t})()},uDUn:function(t,e){var n=1e3,i=6e4,r=36e5,s=24*r;function a(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+\" \"+n:Math.ceil(t/e)+\" \"+n+\"s\"}t.exports=function(t,e){e=e||{};var o,l=typeof t;if(\"string\"===l&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*a;case\"days\":case\"day\":case\"d\":return a*s;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return a*r;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return a*i;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return a*n;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return a;default:return}}}}(t);if(\"number\"===l&&!1===isNaN(t))return e.long?a(o=t,s,\"day\")||a(o,r,\"hour\")||a(o,i,\"minute\")||a(o,n,\"second\")||o+\" ms\":function(t){return t>=s?Math.round(t/s)+\"d\":t>=r?Math.round(t/r)+\"h\":t>=i?Math.round(t/i)+\"m\":t>=n?Math.round(t/n)+\"s\":t+\"ms\"}(t);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(t))}},vkgz:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"7o/Q\"),r=n(\"KqfI\"),s=n(\"n6bG\");function a(t,e,n){return function(i){return i.lift(new o(t,e,n))}}class o{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vxfF:function(t,e,n){\"use strict\";n(\"8LU1\");var i=n(\"fXoL\"),r=n(\"XNiG\"),s=n(\"LRne\"),a=n(\"HDdC\"),o=n(\"xgIS\"),l=n(\"VRyK\");n(\"3N8a\"),n(\"IjjT\"),n(\"7Hc7\");var c=(n(\"quSY\"),n(\"7+OI\"),n(\"/uUt\"),n(\"3UWI\")),h=n(\"pLZG\"),d=n(\"1G5W\");n(\"JX91\"),n(\"7o/Q\"),n(\"eIep\"),n(\"UXun\");var u=n(\"nLfN\"),p=n(\"cH1L\");n(\"0EQZ\"),n.d(e,\"a\",(function(){return f})),n.d(e,\"b\",(function(){return m})),n.d(e,\"c\",(function(){return b})),n.d(e,\"d\",(function(){return g}));let m=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(h.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(o.a)(window.document,\"scroll\").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.A),i.ac(u.a))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(i.A),Object(i.ac)(u.a))},token:t,providedIn:\"root\"}),t})(),f=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.a,this._elementScrolled=new a.a(t=>this.ngZone.runOutsideAngular(()=>Object(o.a)(this.elementRef.nativeElement,\"scroll\").pipe(Object(d.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&\"rtl\"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(u.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(u.d)()?t.left=t.right:1==Object(u.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(u.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if(\"top\"==t)return e.scrollTop;if(\"bottom\"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&\"rtl\"==this.dir.value;return\"start\"==t?t=n?\"right\":\"left\":\"end\"==t&&(t=n?\"left\":\"right\"),n&&2==Object(u.d)()?\"left\"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(u.d)()?\"left\"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:\"left\"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(m),i.Qb(i.A),i.Qb(p.b,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"cdk-scrollable\",\"\"],[\"\",\"cdkScrollable\",\"\"]]}),t})(),g=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(l.a)(Object(o.a)(window,\"resize\"),Object(o.a)(window,\"orientationchange\")):Object(s.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(u.a),i.ac(i.A))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(u.a),Object(i.ac)(i.A))},token:t,providedIn:\"root\"}),t})(),b=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[p.a,u.b],p.a]}),t})()},w1tV:function(t,e,n){\"use strict\";var i=n(\"XNiG\"),r=n(\"HDdC\"),s=n(\"7o/Q\"),a=n(\"quSY\");function o(){return function(t){return t.lift(new l(t))}}class l{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new c(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends s.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class h extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new a.a,t.add(this.source.subscribe(new u(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t}refCount(){return o()(this)}}const d=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class u extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new i.a}function m(){return t=>{return o()((e=p,function(t){let n;n=\"function\"==typeof e?e:function(){return e};const i=Object.create(t,d);return i.source=t,i.subjectFactory=n,i})(t));var e}}n.d(e,\"a\",(function(){return m}))},wHSu:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"c\",(function(){return s})),n.d(e,\"d\",(function(){return a})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c})),n.d(e,\"h\",(function(){return h})),n.d(e,\"i\",(function(){return d})),n.d(e,\"j\",(function(){return u})),n.d(e,\"k\",(function(){return p})),n.d(e,\"l\",(function(){return m})),n.d(e,\"m\",(function(){return f})),n.d(e,\"n\",(function(){return g})),n.d(e,\"o\",(function(){return b})),n.d(e,\"p\",(function(){return _})),n.d(e,\"q\",(function(){return y})),n.d(e,\"r\",(function(){return v})),n.d(e,\"s\",(function(){return w})),n.d(e,\"t\",(function(){return x})),n.d(e,\"u\",(function(){return C})),n.d(e,\"v\",(function(){return k})),n.d(e,\"w\",(function(){return O})),n.d(e,\"x\",(function(){return S})),n.d(e,\"y\",(function(){return M})),n.d(e,\"z\",(function(){return P})),n.d(e,\"A\",(function(){return E})),n.d(e,\"B\",(function(){return A})),n.d(e,\"C\",(function(){return D})),n.d(e,\"D\",(function(){return R})),n.d(e,\"E\",(function(){return T})),n.d(e,\"F\",(function(){return I})),n.d(e,\"G\",(function(){return j})),n.d(e,\"H\",(function(){return L})),n.d(e,\"I\",(function(){return F})),n.d(e,\"J\",(function(){return N})),n.d(e,\"K\",(function(){return V})),n.d(e,\"L\",(function(){return z})),n.d(e,\"M\",(function(){return B})),n.d(e,\"N\",(function(){return H})),n.d(e,\"O\",(function(){return U})),n.d(e,\"P\",(function(){return q})),n.d(e,\"Q\",(function(){return Q})),n.d(e,\"R\",(function(){return W})),n.d(e,\"S\",(function(){return Y})),n.d(e,\"T\",(function(){return $})),n.d(e,\"U\",(function(){return G})),n.d(e,\"V\",(function(){return X})),n.d(e,\"W\",(function(){return K})),n.d(e,\"X\",(function(){return Z})),n.d(e,\"Y\",(function(){return J})),n.d(e,\"Z\",(function(){return tt})),n.d(e,\"ab\",(function(){return et})),n.d(e,\"bb\",(function(){return nt})),n.d(e,\"cb\",(function(){return it})),n.d(e,\"db\",(function(){return rt})),n.d(e,\"eb\",(function(){return st})),n.d(e,\"fb\",(function(){return at})),n.d(e,\"gb\",(function(){return ot})),n.d(e,\"hb\",(function(){return lt})),n.d(e,\"ib\",(function(){return ct})),n.d(e,\"jb\",(function(){return ht}));var i={prefix:\"fas\",iconName:\"archive\",icon:[512,512,[],\"f187\",\"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z\"]},r={prefix:\"fas\",iconName:\"arrow-circle-left\",icon:[512,512,[],\"f0a8\",\"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z\"]},s={prefix:\"fas\",iconName:\"bomb\",icon:[512,512,[],\"f1e2\",\"M440.5 88.5l-52 52L415 167c9.4 9.4 9.4 24.6 0 33.9l-17.4 17.4c11.8 26.1 18.4 55.1 18.4 85.6 0 114.9-93.1 208-208 208S0 418.9 0 304 93.1 96 208 96c30.5 0 59.5 6.6 85.6 18.4L311 97c9.4-9.4 24.6-9.4 33.9 0l26.5 26.5 52-52 17.1 17zM500 60h-24c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12zM440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm33.9 55l17-17c4.7-4.7 4.7-12.3 0-17-4.7-4.7-12.3-4.7-17 0l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0zm-67.8 0c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17zm67.8 34c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17zM112 272c0-35.3 28.7-64 64-64 8.8 0 16-7.2 16-16s-7.2-16-16-16c-52.9 0-96 43.1-96 96 0 8.8 7.2 16 16 16s16-7.2 16-16z\"]},a={prefix:\"fas\",iconName:\"cart-arrow-down\",icon:[576,512,[],\"f218\",\"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM403.029 192H360v-60c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v60h-43.029c-10.691 0-16.045 12.926-8.485 20.485l67.029 67.029c4.686 4.686 12.284 4.686 16.971 0l67.029-67.029c7.559-7.559 2.205-20.485-8.486-20.485z\"]},o={prefix:\"fas\",iconName:\"cart-plus\",icon:[576,512,[],\"f217\",\"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z\"]},l={prefix:\"fas\",iconName:\"check\",icon:[512,512,[],\"f00c\",\"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z\"]},c={prefix:\"fas\",iconName:\"clipboard\",icon:[384,512,[],\"f328\",\"M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z\"]},h={prefix:\"fas\",iconName:\"coffee\",icon:[640,512,[],\"f0f4\",\"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z\"]},d={prefix:\"fas\",iconName:\"comment\",icon:[512,512,[],\"f075\",\"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z\"]},u={prefix:\"fas\",iconName:\"comment-alt\",icon:[512,512,[],\"f27a\",\"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z\"]},p={prefix:\"fas\",iconName:\"comments\",icon:[576,512,[],\"f086\",\"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z\"]},m={prefix:\"fas\",iconName:\"crown\",icon:[640,512,[],\"f521\",\"M528 448H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h416c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm64-320c-26.5 0-48 21.5-48 48 0 7.1 1.6 13.7 4.4 19.8L476 239.2c-15.4 9.2-35.3 4-44.2-11.6L350.3 85C361 76.2 368 63 368 48c0-26.5-21.5-48-48-48s-48 21.5-48 48c0 15 7 28.2 17.7 37l-81.5 142.6c-8.9 15.6-28.9 20.8-44.2 11.6l-72.3-43.4c2.7-6 4.4-12.7 4.4-19.8 0-26.5-21.5-48-48-48S0 149.5 0 176s21.5 48 48 48c2.6 0 5.2-.4 7.7-.8L128 416h384l72.3-192.8c2.5.4 5.1.8 7.7.8 26.5 0 48-21.5 48-48s-21.5-48-48-48z\"]},f={prefix:\"fas\",iconName:\"exclamation-circle\",icon:[512,512,[],\"f06a\",\"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z\"]},g={prefix:\"fas\",iconName:\"exclamation-triangle\",icon:[576,512,[],\"f071\",\"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z\"]},b={prefix:\"fas\",iconName:\"eye\",icon:[576,512,[],\"f06e\",\"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z\"]},_={prefix:\"fas\",iconName:\"eye-slash\",icon:[640,512,[],\"f070\",\"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z\"]},y={prefix:\"fas\",iconName:\"flag-checkered\",icon:[512,512,[],\"f11e\",\"M243.2 189.9V258c26.1 5.9 49.3 15.6 73.6 22.3v-68.2c-26-5.8-49.4-15.5-73.6-22.2zm223.3-123c-34.3 15.9-76.5 31.9-117 31.9C296 98.8 251.7 64 184.3 64c-25 0-47.3 4.4-68 12 2.8-7.3 4.1-15.2 3.6-23.6C118.1 24 94.8 1.2 66.3 0 34.3-1.3 8 24.3 8 56c0 19 9.5 35.8 24 45.9V488c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24v-94.4c28.3-12.1 63.6-22.1 114.4-22.1 53.6 0 97.8 34.8 165.2 34.8 48.2 0 86.7-16.3 122.5-40.9 8.7-6 13.8-15.8 13.8-26.4V95.9c.1-23.3-24.2-38.8-45.4-29zM169.6 325.5c-25.8 2.7-50 8.2-73.6 16.6v-70.5c26.2-9.3 47.5-15 73.6-17.4zM464 191c-23.6 9.8-46.3 19.5-73.6 23.9V286c24.8-3.4 51.4-11.8 73.6-26v70.5c-25.1 16.1-48.5 24.7-73.6 27.1V286c-27 3.7-47.9 1.5-73.6-5.6v67.4c-23.9-7.4-47.3-16.7-73.6-21.3V258c-19.7-4.4-40.8-6.8-73.6-3.8v-70c-22.4 3.1-44.6 10.2-73.6 20.9v-70.5c33.2-12.2 50.1-19.8 73.6-22v71.6c27-3.7 48.4-1.3 73.6 5.7v-67.4c23.7 7.4 47.2 16.7 73.6 21.3v68.4c23.7 5.3 47.6 6.9 73.6 2.7V143c27-4.8 52.3-13.6 73.6-22.5z\"]},v={prefix:\"fas\",iconName:\"gift\",icon:[512,512,[],\"f06b\",\"M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z\"]},w={prefix:\"fas\",iconName:\"globe\",icon:[496,512,[],\"f0ac\",\"M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z\"]},x={prefix:\"fas\",iconName:\"graduation-cap\",icon:[640,512,[],\"f19d\",\"M622.34 153.2L343.4 67.5c-15.2-4.67-31.6-4.67-46.79 0L17.66 153.2c-23.54 7.23-23.54 38.36 0 45.59l48.63 14.94c-10.67 13.19-17.23 29.28-17.88 46.9C38.78 266.15 32 276.11 32 288c0 10.78 5.68 19.85 13.86 25.65L20.33 428.53C18.11 438.52 25.71 448 35.94 448h56.11c10.24 0 17.84-9.48 15.62-19.47L82.14 313.65C90.32 307.85 96 298.78 96 288c0-11.57-6.47-21.25-15.66-26.87.76-15.02 8.44-28.3 20.69-36.72L296.6 284.5c9.06 2.78 26.44 6.25 46.79 0l278.95-85.7c23.55-7.24 23.55-38.36 0-45.6zM352.79 315.09c-28.53 8.76-52.84 3.92-65.59 0l-145.02-44.55L128 384c0 35.35 85.96 64 192 64s192-28.65 192-64l-14.18-113.47-145.03 44.56z\"]},C={prefix:\"fas\",iconName:\"hand-holding-usd\",icon:[576,512,[],\"f4c0\",\"M271.06,144.3l54.27,14.3a8.59,8.59,0,0,1,6.63,8.1c0,4.6-4.09,8.4-9.12,8.4h-35.6a30,30,0,0,1-11.19-2.2c-5.24-2.2-11.28-1.7-15.3,2l-19,17.5a11.68,11.68,0,0,0-2.25,2.66,11.42,11.42,0,0,0,3.88,15.74,83.77,83.77,0,0,0,34.51,11.5V240c0,8.8,7.83,16,17.37,16h17.37c9.55,0,17.38-7.2,17.38-16V222.4c32.93-3.6,57.84-31,53.5-63-3.15-23-22.46-41.3-46.56-47.7L282.68,97.4a8.59,8.59,0,0,1-6.63-8.1c0-4.6,4.09-8.4,9.12-8.4h35.6A30,30,0,0,1,332,83.1c5.23,2.2,11.28,1.7,15.3-2l19-17.5A11.31,11.31,0,0,0,368.47,61a11.43,11.43,0,0,0-3.84-15.78,83.82,83.82,0,0,0-34.52-11.5V16c0-8.8-7.82-16-17.37-16H295.37C285.82,0,278,7.2,278,16V33.6c-32.89,3.6-57.85,31-53.51,63C227.63,119.6,247,137.9,271.06,144.3ZM565.27,328.1c-11.8-10.7-30.2-10-42.6,0L430.27,402a63.64,63.64,0,0,1-40,14H272a16,16,0,0,1,0-32h78.29c15.9,0,30.71-10.9,33.25-26.6a31.2,31.2,0,0,0,.46-5.46A32,32,0,0,0,352,320H192a117.66,117.66,0,0,0-74.1,26.29L71.4,384H16A16,16,0,0,0,0,400v96a16,16,0,0,0,16,16H372.77a64,64,0,0,0,40-14L564,377a32,32,0,0,0,1.28-48.9Z\"]},k={prefix:\"fas\",iconName:\"heart\",icon:[512,512,[],\"f004\",\"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z\"]},O={prefix:\"fas\",iconName:\"home\",icon:[576,512,[],\"f015\",\"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z\"]},S={prefix:\"fas\",iconName:\"info-circle\",icon:[512,512,[],\"f05a\",\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"]},M={prefix:\"fas\",iconName:\"key\",icon:[512,512,[],\"f084\",\"M512 176.001C512 273.203 433.202 352 336 352c-11.22 0-22.19-1.062-32.827-3.069l-24.012 27.014A23.999 23.999 0 0 1 261.223 384H224v40c0 13.255-10.745 24-24 24h-40v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-78.059c0-6.365 2.529-12.47 7.029-16.971l161.802-161.802C163.108 213.814 160 195.271 160 176 160 78.798 238.797.001 335.999 0 433.488-.001 512 78.511 512 176.001zM336 128c0 26.51 21.49 48 48 48s48-21.49 48-48-21.49-48-48-48-48 21.49-48 48z\"]},P={prefix:\"fas\",iconName:\"language\",icon:[640,512,[],\"f1ab\",\"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z\"]},E={prefix:\"fas\",iconName:\"map-marker\",icon:[384,512,[],\"f041\",\"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0z\"]},A={prefix:\"fas\",iconName:\"minus-square\",icon:[448,512,[],\"f146\",\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z\"]},D={prefix:\"fas\",iconName:\"paper-plane\",icon:[512,512,[],\"f1d8\",\"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z\"]},R={prefix:\"fas\",iconName:\"plus-square\",icon:[448,512,[],\"f0fe\",\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z\"]},T={prefix:\"fas\",iconName:\"poll-h\",icon:[448,512,[],\"f682\",\"M448 432V80c0-26.5-21.5-48-48-48H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48zM112 192c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h128c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16H112zm0 96c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h224c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16H112zm0 96c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-64z\"]},I={prefix:\"fas\",iconName:\"recycle\",icon:[512,512,[],\"f1b8\",\"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z\"]},j={prefix:\"fas\",iconName:\"save\",icon:[448,512,[],\"f0c7\",\"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z\"]},L={prefix:\"fas\",iconName:\"search\",icon:[512,512,[],\"f002\",\"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z\"]},F={prefix:\"fas\",iconName:\"shopping-cart\",icon:[576,512,[],\"f07a\",\"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z\"]},N={prefix:\"fas\",iconName:\"sign-in-alt\",icon:[512,512,[],\"f2f6\",\"M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z\"]},V={prefix:\"fas\",iconName:\"sign-out-alt\",icon:[512,512,[],\"f2f5\",\"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z\"]},z={prefix:\"fas\",iconName:\"star\",icon:[576,512,[],\"f005\",\"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z\"]},B={prefix:\"fas\",iconName:\"sticky-note\",icon:[448,512,[],\"f249\",\"M312 320h136V56c0-13.3-10.7-24-24-24H24C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h264V344c0-13.2 10.8-24 24-24zm129 55l-98 98c-4.5 4.5-10.6 7-17 7h-6V352h128v6.1c0 6.3-2.5 12.4-7 16.9z\"]},H={prefix:\"fas\",iconName:\"sync\",icon:[512,512,[],\"f021\",\"M440.65 12.57l4 82.77A247.16 247.16 0 0 0 255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0 0 24.09 224h49.05a12 12 0 0 0 11.67-9.26 175.91 175.91 0 0 1 317-56.94l-101.46-4.86a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12H500a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12h-47.37a12 12 0 0 0-11.98 12.57zM255.83 432a175.61 175.61 0 0 1-146-77.8l101.8 4.87a12 12 0 0 0 12.57-12v-47.4a12 12 0 0 0-12-12H12a12 12 0 0 0-12 12V500a12 12 0 0 0 12 12h47.35a12 12 0 0 0 12-12.6l-4.15-82.57A247.17 247.17 0 0 0 255.83 504c121.11 0 221.93-86.92 243.55-201.82a12 12 0 0 0-11.8-14.18h-49.05a12 12 0 0 0-11.67 9.26A175.86 175.86 0 0 1 255.83 432z\"]},U={prefix:\"fas\",iconName:\"thermometer-empty\",icon:[256,512,[],\"f2cb\",\"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-35.346 28.654-64 64-64s64 28.654 64 64zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},q={prefix:\"fas\",iconName:\"thermometer-full\",icon:[256,512,[],\"f2c7\",\"M224 96c0-53.019-42.981-96-96-96S32 42.981 32 96v203.347C12.225 321.756.166 351.136.002 383.333c-.359 70.303 56.787 128.176 127.089 128.664.299.002.61.003.909.003 70.698 0 128-57.304 128-128 0-32.459-12.088-62.09-32-84.653V96zm-96 368l-.576-.002c-43.86-.304-79.647-36.544-79.423-80.42.173-33.98 19.266-51.652 31.999-66.08V96c0-26.467 21.533-48 48-48s48 21.533 48 48v221.498c12.63 14.312 32 32.164 32 66.502 0 44.112-35.888 80-80 80zm64-80c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V96c0-17.673 14.327-32 32-32s32 14.327 32 32v232.583c19.124 11.068 32 31.732 32 55.417z\"]},Q={prefix:\"fas\",iconName:\"thermometer-half\",icon:[256,512,[],\"f2c9\",\"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V224c0-17.673 14.327-32 32-32s32 14.327 32 32v104.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},W={prefix:\"fas\",iconName:\"thermometer-quarter\",icon:[256,512,[],\"f2ca\",\"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V288c0-17.673 14.327-32 32-32s32 14.327 32 32v40.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},Y={prefix:\"fas\",iconName:\"thermometer-three-quarters\",icon:[256,512,[],\"f2c8\",\"M192 384c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64 0-23.685 12.876-44.349 32-55.417V160c0-17.673 14.327-32 32-32s32 14.327 32 32v168.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},$={prefix:\"fas\",iconName:\"thumbs-up\",icon:[512,512,[],\"f164\",\"M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z\"]},G={prefix:\"fas\",iconName:\"times\",icon:[352,512,[],\"f00d\",\"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z\"]},X={prefix:\"fas\",iconName:\"trash\",icon:[448,512,[],\"f1f8\",\"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z\"]},K={prefix:\"fas\",iconName:\"trash-alt\",icon:[448,512,[],\"f2ed\",\"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z\"]},Z={prefix:\"fas\",iconName:\"trophy\",icon:[576,512,[],\"f091\",\"M552 64H448V24c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24v40H24C10.7 64 0 74.7 0 88v56c0 35.7 22.5 72.4 61.9 100.7 31.5 22.7 69.8 37.1 110 41.7C203.3 338.5 240 360 240 360v72h-48c-35.3 0-64 20.7-64 56v12c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12v-12c0-35.3-28.7-56-64-56h-48v-72s36.7-21.5 68.1-73.6c40.3-4.6 78.6-19 110-41.7 39.3-28.3 61.9-65 61.9-100.7V88c0-13.3-10.7-24-24-24zM99.3 192.8C74.9 175.2 64 155.6 64 144v-16h64.2c1 32.6 5.8 61.2 12.8 86.2-15.1-5.2-29.2-12.4-41.7-21.4zM512 144c0 16.1-17.7 36.1-35.3 48.8-12.5 9-26.7 16.2-41.8 21.4 7-25 11.8-53.6 12.8-86.2H512v16z\"]},J={prefix:\"fas\",iconName:\"truck\",icon:[640,512,[],\"f0d1\",\"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z\"]},tt={prefix:\"fas\",iconName:\"truck-loading\",icon:[640,512,[],\"f4de\",\"M50.2 375.6c2.3 8.5 11.1 13.6 19.6 11.3l216.4-58c8.5-2.3 13.6-11.1 11.3-19.6l-49.7-185.5c-2.3-8.5-11.1-13.6-19.6-11.3L151 133.3l24.8 92.7-61.8 16.5-24.8-92.7-77.3 20.7C3.4 172.8-1.7 181.6.6 190.1l49.6 185.5zM384 0c-17.7 0-32 14.3-32 32v323.6L5.9 450c-4.3 1.2-6.8 5.6-5.6 9.8l12.6 46.3c1.2 4.3 5.6 6.8 9.8 5.6l393.7-107.4C418.8 464.1 467.6 512 528 512c61.9 0 112-50.1 112-112V0H384zm144 448c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z\"]},et={prefix:\"fas\",iconName:\"tshirt\",icon:[640,512,[],\"f553\",\"M631.2 96.5L436.5 0C416.4 27.8 371.9 47.2 320 47.2S223.6 27.8 203.5 0L8.8 96.5c-7.9 4-11.1 13.6-7.2 21.5l57.2 114.5c4 7.9 13.6 11.1 21.5 7.2l56.6-27.7c10.6-5.2 23 2.5 23 14.4V480c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V226.3c0-11.8 12.4-19.6 23-14.4l56.6 27.7c7.9 4 17.5.8 21.5-7.2L638.3 118c4-7.9.8-17.6-7.1-21.5z\"]},nt={prefix:\"fas\",iconName:\"university\",icon:[512,512,[],\"f19c\",\"M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z\"]},it={prefix:\"fas\",iconName:\"unlock-alt\",icon:[448,512,[],\"f13e\",\"M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zM264 408c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48z\"]},rt={prefix:\"fas\",iconName:\"user\",icon:[448,512,[],\"f007\",\"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z\"]},st={prefix:\"fas\",iconName:\"user-circle\",icon:[496,512,[],\"f2bd\",\"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z\"]},at={prefix:\"fas\",iconName:\"user-edit\",icon:[640,512,[],\"f4ff\",\"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h274.9c-2.4-6.8-3.4-14-2.6-21.3l6.8-60.9 1.2-11.1 7.9-7.9 77.3-77.3c-24.5-27.7-60-45.5-99.9-45.5zm45.3 145.3l-6.8 61c-1.1 10.2 7.5 18.8 17.6 17.6l60.9-6.8 137.9-137.9-71.7-71.7-137.9 137.8zM633 268.9L595.1 231c-9.3-9.3-24.5-9.3-33.8 0l-37.8 37.8-4.1 4.1 71.8 71.7 41.8-41.8c9.3-9.4 9.3-24.5 0-33.9z\"]},ot={prefix:\"fas\",iconName:\"user-plus\",icon:[640,512,[],\"f234\",\"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z\"]},lt={prefix:\"fas\",iconName:\"user-secret\",icon:[448,512,[],\"f21b\",\"M383.9 308.3l23.9-62.6c4-10.5-3.7-21.7-15-21.7h-58.5c11-18.9 17.8-40.6 17.8-64v-.3c39.2-7.8 64-19.1 64-31.7 0-13.3-27.3-25.1-70.1-33-9.2-32.8-27-65.8-40.6-82.8-9.5-11.9-25.9-15.6-39.5-8.8l-27.6 13.8c-9 4.5-19.6 4.5-28.6 0L182.1 3.4c-13.6-6.8-30-3.1-39.5 8.8-13.5 17-31.4 50-40.6 82.8-42.7 7.9-70 19.7-70 33 0 12.6 24.8 23.9 64 31.7v.3c0 23.4 6.8 45.1 17.8 64H56.3c-11.5 0-19.2 11.7-14.7 22.3l25.8 60.2C27.3 329.8 0 372.7 0 422.4v44.8C0 491.9 20.1 512 44.8 512h358.4c24.7 0 44.8-20.1 44.8-44.8v-44.8c0-48.4-25.8-90.4-64.1-114.1zM176 480l-41.6-192 49.6 32 24 40-32 120zm96 0l-32-120 24-40 49.6-32L272 480zm41.7-298.5c-3.9 11.9-7 24.6-16.5 33.4-10.1 9.3-48 22.4-64-25-2.8-8.4-15.4-8.4-18.3 0-17 50.2-56 32.4-64 25-9.5-8.8-12.7-21.5-16.5-33.4-.8-2.5-6.3-5.7-6.3-5.8v-10.8c28.3 3.6 61 5.8 96 5.8s67.7-2.1 96-5.8v10.8c-.1.1-5.6 3.2-6.4 5.8z\"]},ct={prefix:\"fas\",iconName:\"user-slash\",icon:[640,512,[],\"f506\",\"M633.8 458.1L362.3 248.3C412.1 230.7 448 183.8 448 128 448 57.3 390.7 0 320 0c-67.1 0-121.5 51.8-126.9 117.4L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3zM96 422.4V464c0 26.5 21.5 48 48 48h350.2L207.4 290.3C144.2 301.3 96 356 96 422.4z\"]},ht={prefix:\"fas\",iconName:\"warehouse\",icon:[640,512,[],\"f494\",\"M504 352H136.4c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8H504c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 96H136.1c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0-192H136.6c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8H504c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm106.5-139L338.4 3.7a48.15 48.15 0 0 0-36.9 0L29.5 117C11.7 124.5 0 141.9 0 161.3V504c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V256c0-17.6 14.6-32 32.6-32h382.8c18 0 32.6 14.4 32.6 32v248c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V161.3c0-19.4-11.7-36.8-29.5-44.3z\"]}},xKc1:function(t,e,n){t.exports=function(){\"use strict\";var t=function(){},e=Object.prototype.hasOwnProperty,n=Array.prototype.slice;function i(t,i,r){for(var s,a,o=0,l=(r=n.call(arguments,2)).length;o<l;o++)for(s in a=r[o])t&&!e.call(a,s)||(i[s]=a[s])}function r(){}r.class_=\"Nevis\",r.super_=Object,r.extend=function(e,n,r,s){var a=this;return\"string\"!=typeof e&&(s=r,r=n,n=e,e=null),\"function\"!=typeof n&&(s=r,r=n,n=function(){return a.apply(this,arguments)}),i(!1,n,a,s),n.prototype=function(e,n){var r;return\"function\"==typeof Object.create?r=Object.create(e):(t.prototype=e,r=new t,t.prototype=null),n&&i(!0,r,n),r}(a.prototype,r),n.prototype.constructor=n,n.class_=e||a.class_,n.super_=a,n};var s=r,a=s.extend((function(t,e,n){this.qrious=t,this.element=e,this.element.qrious=t,this.enabled=Boolean(n)}),{draw:function(t){},getElement:function(){return this.enabled||(this.enabled=!0,this.render()),this.element},getModuleSize:function(t){var e=this.qrious,n=Math.floor((e.size-2*(e.padding||0))/t.width);return Math.max(1,n)},getOffset:function(t){var e=this.qrious,n=e.padding;if(null!=n)return n;var i=this.getModuleSize(t),r=Math.floor((e.size-i*t.width)/2);return Math.max(0,r)},render:function(t){this.enabled&&(this.resize(),this.reset(),this.draw(t))},reset:function(){},resize:function(){}}),o=a.extend({draw:function(t){var e,n,i=this.qrious,r=this.getModuleSize(t),s=this.getOffset(t),a=this.element.getContext(\"2d\");for(a.fillStyle=i.foreground,a.globalAlpha=i.foregroundAlpha,e=0;e<t.width;e++)for(n=0;n<t.width;n++)t.buffer[n*t.width+e]&&a.fillRect(r*e+s,r*n+s,r,r)},reset:function(){var t=this.qrious,e=this.element.getContext(\"2d\"),n=t.size;e.lineWidth=1,e.clearRect(0,0,n,n),e.fillStyle=t.background,e.globalAlpha=t.backgroundAlpha,e.fillRect(0,0,n,n)},resize:function(){var t=this.element;t.width=t.height=this.qrious.size}}),l=s.extend(null,{BLOCK:[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28]}),c=s.extend(null,{BLOCKS:[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],FINAL_FORMAT:[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],LEVELS:{L:1,M:2,Q:3,H:4}}),h=s.extend(null,{EXPONENT:[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],LOG:[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175]}),d=s.extend(null,{BLOCK:[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177]}),u=s.extend((function(t){var e,n,i,r,s,a=t.value.length;for(this._badness=[],this._level=c.LEVELS[t.level],this._polynomial=[],this._value=t.value,this._version=0,this._stringBuffer=[];this._version<40&&(this._version++,i=4*(this._level-1)+16*(this._version-1),r=c.BLOCKS[i++],s=c.BLOCKS[i++],e=c.BLOCKS[i++],n=c.BLOCKS[i],!(a<=(i=e*(r+s)+s-3+(this._version<=9)))););this._dataBlock=e,this._eccBlock=n,this._neccBlock1=r,this._neccBlock2=s;var o=this.width=17+4*this._version;this.buffer=u._createArray(o*o),this._ecc=u._createArray(e+(e+n)*(r+s)+s),this._mask=u._createArray((o*(o+1)+1)/2),this._insertFinders(),this._insertAlignments(),this.buffer[8+o*(o-8)]=1,this._insertTimingGap(),this._reverseMask(),this._insertTimingRowAndColumn(),this._insertVersion(),this._syncMask(),this._convertBitStream(a),this._calculatePolynomial(),this._appendEccToData(),this._interleaveBlocks(),this._pack(),this._finish()}),{_addAlignment:function(t,e){var n,i=this.buffer,r=this.width;for(i[t+r*e]=1,n=-2;n<2;n++)i[t+n+r*(e-2)]=1,i[t-2+r*(e+n+1)]=1,i[t+2+r*(e+n)]=1,i[t+n+1+r*(e+2)]=1;for(n=0;n<2;n++)this._setMask(t-1,e+n),this._setMask(t+1,e-n),this._setMask(t-n,e-1),this._setMask(t+n,e+1)},_appendData:function(t,e,n,i){var r,s,a,o=this._polynomial,l=this._stringBuffer;for(s=0;s<i;s++)l[n+s]=0;for(s=0;s<e;s++){if(255!==(r=h.LOG[l[t+s]^l[n]]))for(a=1;a<i;a++)l[n+a-1]=l[n+a]^h.EXPONENT[u._modN(r+o[i-a])];else for(a=n;a<n+i;a++)l[a]=l[a+1];l[n+i-1]=255===r?0:h.EXPONENT[u._modN(r+o[0])]}},_appendEccToData:function(){var t,e=0,n=this._dataBlock,i=this._calculateMaxLength(),r=this._eccBlock;for(t=0;t<this._neccBlock1;t++)this._appendData(e,n,i,r),e+=n,i+=r;for(t=0;t<this._neccBlock2;t++)this._appendData(e,n+1,i,r),e+=n+1,i+=r},_applyMask:function(t){var e,n,i,r,s=this.buffer,a=this.width;switch(t){case 0:for(r=0;r<a;r++)for(i=0;i<a;i++)i+r&1||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 1:for(r=0;r<a;r++)for(i=0;i<a;i++)1&r||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 2:for(r=0;r<a;r++)for(e=0,i=0;i<a;i++,e++)3===e&&(e=0),e||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 3:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=n,i=0;i<a;i++,e++)3===e&&(e=0),e||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 4:for(r=0;r<a;r++)for(e=0,n=r>>1&1,i=0;i<a;i++,e++)3===e&&(e=0,n=!n),n||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 5:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=0,i=0;i<a;i++,e++)3===e&&(e=0),(i&r&1)+!(!e|!n)||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 6:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=0,i=0;i<a;i++,e++)3===e&&(e=0),(i&r&1)+(e&&e===n)&1||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 7:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=0,i=0;i<a;i++,e++)3===e&&(e=0),(e&&e===n)+(i+r&1)&1||this._isMasked(i,r)||(s[i+r*a]^=1)}},_calculateMaxLength:function(){return this._dataBlock*(this._neccBlock1+this._neccBlock2)+this._neccBlock2},_calculatePolynomial:function(){var t,e,n=this._eccBlock,i=this._polynomial;for(i[0]=1,t=0;t<n;t++){for(i[t+1]=1,e=t;e>0;e--)i[e]=i[e]?i[e-1]^h.EXPONENT[u._modN(h.LOG[i[e]]+t)]:i[e-1];i[0]=h.EXPONENT[u._modN(h.LOG[i[0]]+t)]}for(t=0;t<=n;t++)i[t]=h.LOG[i[t]]},_checkBadness:function(){var t,e,n,i,r,s=0,a=this._badness,o=this.buffer,l=this.width;for(r=0;r<l-1;r++)for(i=0;i<l-1;i++)(o[i+l*r]&&o[i+1+l*r]&&o[i+l*(r+1)]&&o[i+1+l*(r+1)]||!(o[i+l*r]||o[i+1+l*r]||o[i+l*(r+1)]||o[i+1+l*(r+1)]))&&(s+=u.N2);var c=0;for(r=0;r<l;r++){for(n=0,a[0]=0,t=0,i=0;i<l;i++)t===(e=o[i+l*r])?a[n]++:a[++n]=1,c+=(t=e)?1:-1;s+=this._getBadness(n)}c<0&&(c=-c);var h=0,d=c;for(d+=d<<2,d<<=1;d>l*l;)d-=l*l,h++;for(s+=h*u.N4,i=0;i<l;i++){for(n=0,a[0]=0,t=0,r=0;r<l;r++)t===(e=o[i+l*r])?a[n]++:a[++n]=1,t=e;s+=this._getBadness(n)}return s},_convertBitStream:function(t){var e,n,i=this._ecc,r=this._version;for(n=0;n<t;n++)i[n]=this._value.charCodeAt(n);var s=this._stringBuffer=i.slice(),a=this._calculateMaxLength();t>=a-2&&(t=a-2,r>9&&t--);var o=t;if(r>9){for(s[o+2]=0,s[o+3]=0;o--;)s[o+3]|=255&(e=s[o])<<4,s[o+2]=e>>4;s[2]|=255&t<<4,s[1]=t>>4,s[0]=64|t>>12}else{for(s[o+1]=0,s[o+2]=0;o--;)s[o+2]|=255&(e=s[o])<<4,s[o+1]=e>>4;s[1]|=255&t<<4,s[0]=64|t>>4}for(o=t+3-(r<10);o<a;)s[o++]=236,s[o++]=17},_getBadness:function(t){var e,n=0,i=this._badness;for(e=0;e<=t;e++)i[e]>=5&&(n+=u.N1+i[e]-5);for(e=3;e<t-1;e+=2)i[e-2]===i[e+2]&&i[e+2]===i[e-1]&&i[e-1]===i[e+1]&&3*i[e-1]===i[e]&&(0===i[e-3]||e+3>t||3*i[e-3]>=4*i[e]||3*i[e+3]>=4*i[e])&&(n+=u.N3);return n},_finish:function(){var t,e;this._stringBuffer=this.buffer.slice();var n=0,i=3e4;for(e=0;e<8&&(this._applyMask(e),(t=this._checkBadness())<i&&(i=t,n=e),7!==n);e++)this.buffer=this._stringBuffer.slice();n!==e&&this._applyMask(n),i=c.FINAL_FORMAT[n+(this._level-1<<3)];var r=this.buffer,s=this.width;for(e=0;e<8;e++,i>>=1)1&i&&(r[s-1-e+8*s]=1,e<6?r[8+s*e]=1:r[8+s*(e+1)]=1);for(e=0;e<7;e++,i>>=1)1&i&&(r[8+s*(s-7+e)]=1,e?r[6-e+8*s]=1:r[7+8*s]=1)},_interleaveBlocks:function(){var t,e,n=this._dataBlock,i=this._ecc,r=this._eccBlock,s=0,a=this._calculateMaxLength(),o=this._neccBlock1,l=this._neccBlock2,c=this._stringBuffer;for(t=0;t<n;t++){for(e=0;e<o;e++)i[s++]=c[t+e*n];for(e=0;e<l;e++)i[s++]=c[o*n+t+e*(n+1)]}for(e=0;e<l;e++)i[s++]=c[o*n+t+e*(n+1)];for(t=0;t<r;t++)for(e=0;e<o+l;e++)i[s++]=c[a+t+e*r];this._stringBuffer=i},_insertAlignments:function(){var t,e,n,i=this._version,r=this.width;if(i>1)for(t=l.BLOCK[i],n=r-7;;){for(e=r-7;e>t-3&&(this._addAlignment(e,n),!(e<t));)e-=t;if(n<=t+9)break;this._addAlignment(6,n-=t),this._addAlignment(n,6)}},_insertFinders:function(){var t,e,n,i,r=this.buffer,s=this.width;for(t=0;t<3;t++){for(e=0,i=0,1===t&&(e=s-7),2===t&&(i=s-7),r[i+3+s*(e+3)]=1,n=0;n<6;n++)r[i+n+s*e]=1,r[i+s*(e+n+1)]=1,r[i+6+s*(e+n)]=1,r[i+n+1+s*(e+6)]=1;for(n=1;n<5;n++)this._setMask(i+n,e+1),this._setMask(i+1,e+n+1),this._setMask(i+5,e+n),this._setMask(i+n+1,e+5);for(n=2;n<4;n++)r[i+n+s*(e+2)]=1,r[i+2+s*(e+n+1)]=1,r[i+4+s*(e+n)]=1,r[i+n+1+s*(e+4)]=1}},_insertTimingGap:function(){var t,e,n=this.width;for(e=0;e<7;e++)this._setMask(7,e),this._setMask(n-8,e),this._setMask(7,e+n-7);for(t=0;t<8;t++)this._setMask(t,7),this._setMask(t+n-8,7),this._setMask(t,n-8)},_insertTimingRowAndColumn:function(){var t,e=this.buffer,n=this.width;for(t=0;t<n-14;t++)1&t?(this._setMask(8+t,6),this._setMask(6,8+t)):(e[8+t+6*n]=1,e[6+n*(8+t)]=1)},_insertVersion:function(){var t,e,n,i,r=this.buffer,s=this._version,a=this.width;if(s>6)for(t=d.BLOCK[s-7],e=17,n=0;n<6;n++)for(i=0;i<3;i++,e--)1&(e>11?s>>e-12:t>>e)?(r[5-n+a*(2-i+a-11)]=1,r[2-i+a-11+a*(5-n)]=1):(this._setMask(5-n,2-i+a-11),this._setMask(2-i+a-11,5-n))},_isMasked:function(t,e){var n=u._getMaskBit(t,e);return 1===this._mask[n]},_pack:function(){var t,e,n,i=1,r=1,s=this.width,a=s-1,o=s-1,l=(this._dataBlock+this._eccBlock)*(this._neccBlock1+this._neccBlock2)+this._neccBlock2;for(e=0;e<l;e++)for(t=this._stringBuffer[e],n=0;n<8;n++,t<<=1){128&t&&(this.buffer[a+s*o]=1);do{r?a--:(a++,i?0!==o?o--:(i=!i,6==(a-=2)&&(a--,o=9)):o!==s-1?o++:(i=!i,6==(a-=2)&&(a--,o-=8))),r=!r}while(this._isMasked(a,o))}},_reverseMask:function(){var t,e,n=this.width;for(t=0;t<9;t++)this._setMask(t,8);for(t=0;t<8;t++)this._setMask(t+n-8,8),this._setMask(8,t);for(e=0;e<7;e++)this._setMask(8,e+n-7)},_setMask:function(t,e){var n=u._getMaskBit(t,e);this._mask[n]=1},_syncMask:function(){var t,e,n=this.width;for(e=0;e<n;e++)for(t=0;t<=e;t++)this.buffer[t+n*e]&&this._setMask(t,e)}},{_createArray:function(t){var e,n=[];for(e=0;e<t;e++)n[e]=0;return n},_getMaskBit:function(t,e){var n;return t>e&&(n=t,t=e,e=n),n=e,n+=e*e,(n>>=1)+t},_modN:function(t){for(;t>=255;)t=((t-=255)>>8)+(255&t);return t},N1:3,N2:3,N3:40,N4:10}),p=u,m=a.extend({draw:function(){this.element.src=this.qrious.toDataURL()},reset:function(){this.element.src=\"\"},resize:function(){var t=this.element;t.width=t.height=this.qrious.size}}),f=s.extend((function(t,e,n,i){this.name=t,this.modifiable=Boolean(e),this.defaultValue=n,this._valueTransformer=i}),{transform:function(t){var e=this._valueTransformer;return\"function\"==typeof e?e(t,this):t}}),g=s.extend(null,{abs:function(t){return null!=t?Math.abs(t):null},hasOwn:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},noop:function(){},toUpperCase:function(t){return null!=t?t.toUpperCase():null}}),b=s.extend((function(t){this.options={},t.forEach((function(t){this.options[t.name]=t}),this)}),{exists:function(t){return null!=this.options[t]},get:function(t,e){return b._get(this.options[t],e)},getAll:function(t){var e,n=this.options,i={};for(e in n)g.hasOwn(n,e)&&(i[e]=b._get(n[e],t));return i},init:function(t,e,n){var i,r;for(i in\"function\"!=typeof n&&(n=g.noop),this.options)g.hasOwn(this.options,i)&&(b._set(r=this.options[i],r.defaultValue,e),b._createAccessor(r,e,n));this._setAll(t,e,!0)},set:function(t,e,n){return this._set(t,e,n)},setAll:function(t,e){return this._setAll(t,e)},_set:function(t,e,n,i){var r=this.options[t];if(!r)throw new Error(\"Invalid option: \"+t);if(!r.modifiable&&!i)throw new Error(\"Option cannot be modified: \"+t);return b._set(r,e,n)},_setAll:function(t,e,n){if(!t)return!1;var i,r=!1;for(i in t)g.hasOwn(t,i)&&this._set(i,t[i],e,n)&&(r=!0);return r}},{_createAccessor:function(t,e,n){var i={get:function(){return b._get(t,e)}};t.modifiable&&(i.set=function(i){b._set(t,i,e)&&n(i,t)}),Object.defineProperty(e,t.name,i)},_get:function(t,e){return e[\"_\"+t.name]},_set:function(t,e,n){var i=\"_\"+t.name,r=n[i],s=t.transform(null!=e?e:t.defaultValue);return n[i]=s,s!==r}}),_=b,y=s.extend((function(){this._services={}}),{getService:function(t){var e=this._services[t];if(!e)throw new Error(\"Service is not being managed with name: \"+t);return e},setService:function(t,e){if(this._services[t])throw new Error(\"Service is already managed with name: \"+t);e&&(this._services[t]=e)}}),v=new _([new f(\"background\",!0,\"white\"),new f(\"backgroundAlpha\",!0,1,g.abs),new f(\"element\"),new f(\"foreground\",!0,\"black\"),new f(\"foregroundAlpha\",!0,1,g.abs),new f(\"level\",!0,\"L\",g.toUpperCase),new f(\"mime\",!0,\"image/png\"),new f(\"padding\",!0,null,g.abs),new f(\"size\",!0,100,g.abs),new f(\"value\",!0,\"\")]),w=new y,x=s.extend((function(t){v.init(t,this,this.update.bind(this));var e=v.get(\"element\",this),n=w.getService(\"element\"),i=e&&n.isCanvas(e)?e:n.createCanvas(),r=e&&n.isImage(e)?e:n.createImage();this._canvasRenderer=new o(this,i,!0),this._imageRenderer=new m(this,r,r===e),this.update()}),{get:function(){return v.getAll(this)},set:function(t){v.setAll(t,this)&&this.update()},toDataURL:function(t){return this.canvas.toDataURL(t||this.mime)},update:function(){var t=new p({level:this.level,value:this.value});this._canvasRenderer.render(t),this._imageRenderer.render(t)}},{use:function(t){w.setService(t.getName(),t)}});Object.defineProperties(x.prototype,{canvas:{get:function(){return this._canvasRenderer.getElement()}},image:{get:function(){return this._imageRenderer.getElement()}}});var C=x,k=s.extend({getName:function(){}}).extend({createCanvas:function(){},createImage:function(){},getName:function(){return\"element\"},isCanvas:function(t){},isImage:function(t){}}).extend({createCanvas:function(){return document.createElement(\"canvas\")},createImage:function(){return document.createElement(\"img\")},isCanvas:function(t){return t instanceof HTMLCanvasElement},isImage:function(t){return t instanceof HTMLImageElement}});return C.use(new k),C}()},xgIS:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));var i=n(\"HDdC\"),r=n(\"DH7j\"),s=n(\"n6bG\"),a=n(\"lJxs\");function o(t,e,n,l){return Object(s.a)(n)&&(l=n,n=void 0),l?o(t,e,n).pipe(Object(a.a)(t=>Object(r.a)(t)?l(...t):l(t))):new i.a(i=>{!function t(e,n,i,r,s){let a;if(function(t){return t&&\"function\"==typeof t.addEventListener&&\"function\"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,i,s),a=()=>t.removeEventListener(n,i,s)}else if(function(t){return t&&\"function\"==typeof t.on&&\"function\"==typeof t.off}(e)){const t=e;e.on(n,i),a=()=>t.off(n,i)}else if(function(t){return t&&\"function\"==typeof t.addListener&&\"function\"==typeof t.removeListener}(e)){const t=e;e.addListener(n,i),a=()=>t.removeListener(n,i)}else{if(!e||!e.length)throw new TypeError(\"Invalid event target\");for(let a=0,o=e.length;a<o;a++)t(e[a],n,i,r,s)}r.add(a)}(t,e,(function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),i,n)})}},yCtX:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"HDdC\"),r=n(\"ngJS\"),s=n(\"jZKg\");function a(t,e){return e?Object(s.a)(t,e):new i.a(Object(r.a)(t))}},yeub:function(t,e){try{t.exports=\"undefined\"!=typeof XMLHttpRequest&&\"withCredentials\"in new XMLHttpRequest}catch(n){t.exports=!1}},ypnn:function(t,e){t.exports=function(t,e,n){var i=t.byteLength;if(e=e||0,n=n||i,t.slice)return t.slice(e,n);if(e<0&&(e+=i),n<0&&(n+=i),n>i&&(n=i),e>=i||e>=n||0===i)return new ArrayBuffer(0);for(var r=new Uint8Array(t),s=new Uint8Array(n-e),a=e,o=0;a<n;a++,o++)s[o]=r[a];return s.buffer}},\"z+Ro\":function(t,e,n){\"use strict\";function i(t){return t&&\"function\"==typeof t.schedule}n.d(e,\"a\",(function(){return i}))},z6cu:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"HDdC\");function r(t,e){return new i.a(e?n=>e.schedule(s,0,{error:t,subscriber:n}):e=>e.error(t))}function s({error:t,subscriber:e}){e.error(t)}},zJ60:function(t,e,n){var i=n(\"Uxeu\"),r=n(\"NOtv\")(\"socket.io-client:url\");t.exports=function(t,e){var n=t;e=e||\"undefined\"!=typeof location&&location,null==t&&(t=e.protocol+\"//\"+e.host),\"string\"==typeof t&&(\"/\"===t.charAt(0)&&(t=\"/\"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\\/\\//.test(t)||(r(\"protocol-less url %s\",t),t=void 0!==e?e.protocol+\"//\"+t:\"https://\"+t),r(\"parse %s\",t),n=i(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port=\"80\":/^(http|ws)s$/.test(n.protocol)&&(n.port=\"443\")),n.path=n.path||\"/\";var s=-1!==n.host.indexOf(\":\")?\"[\"+n.host+\"]\":n.host;return n.id=n.protocol+\"://\"+s+\":\"+n.port,n.href=n.protocol+\"://\"+s+(e&&e.port===n.port?\"\":\":\"+n.port),n}},zMFY:function(t,e){function n(){}t.exports=function(t,e,i){var r=!1;return i=i||n,s.count=t,0===t?e():s;function s(t,n){if(s.count<=0)throw new Error(\"after called too many times\");--s.count,t?(r=!0,e(t),e=i):0!==s.count||r||e(null,n)}}},zkoq:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return v})),n.d(e,\"c\",(function(){return c}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"8LU1\"),a=n(\"cH1L\");const o=[\"*\"],l=new i.r(\"MAT_GRID_LIST\");let c=(()=>{class t{constructor(t,e){this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(Object(s.f)(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(Object(s.f)(t))}_setStyle(t,e){this._element.nativeElement.style[t]=e}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(l,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-grid-tile\"]],hostAttrs:[1,\"mat-grid-tile\"],hostVars:2,hostBindings:function(t,e){2&t&&i.Eb(\"rowspan\",e.rowspan)(\"colspan\",e.colspan)},inputs:{rowspan:\"rowspan\",colspan:\"colspan\"},exportAs:[\"matGridTile\"],ngContentSelectors:o,decls:2,vars:0,consts:[[1,\"mat-figure\"]],template:function(t,e){1&t&&(i.nc(),i.Wb(0,\"figure\",0),i.mc(1),i.Vb())},styles:[\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\\n\"],encapsulation:2,changeDetection:0}),t})();class h{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new d(this.rowIndex,e)}_findMatchingGap(t){if(t>this.tracker.length)throw Error(`mat-grid-list: tile with colspan ${t} is wider than `+`grid with cols=\"${this.tracker.length}\".`);let e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)))}while(n-e<t||0==n);return Math.max(e,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}_findGapEndIndex(t){for(let e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}_markTilePosition(t,e){for(let n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan}}class d{constructor(t,e){this.row=t,this.col=e}}const u=/^-?\\d+((\\.\\d+)?[A-Za-z%$]?)+$/;class p{constructor(){this._rows=0,this._rowspan=0}init(t,e,n,i){this._gutterSize=_(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=i}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?\"0\":b(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,n){let i=100/this._cols,r=(this._cols-1)/this._cols;this.setColStyles(t,n,i,r),this.setRowStyles(t,e,i,r)}setColStyles(t,e,n,i){let r=this.getBaseTileSize(n,i);t._setStyle(\"rtl\"===this._direction?\"right\":\"left\",this.getTilePosition(r,e)),t._setStyle(\"width\",b(this.getTileSize(r,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class m extends p{constructor(t){super(),this.fixedRowHeight=t}init(t,e,n,i){if(super.init(t,e,n,i),this.fixedRowHeight=_(this.fixedRowHeight),!u.test(this.fixedRowHeight))throw Error(`Invalid value \"${this.fixedRowHeight}\" set as rowHeight.`)}setRowStyles(t,e){t._setStyle(\"top\",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle(\"height\",b(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return[\"height\",b(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle([\"height\",null]),t._tiles&&t._tiles.forEach(t=>{t._setStyle(\"top\",null),t._setStyle(\"height\",null)})}}class f extends p{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),t._setStyle(\"marginTop\",this.getTilePosition(this.baseTileHeight,e)),t._setStyle(\"paddingTop\",b(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return[\"paddingBottom\",b(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle([\"paddingBottom\",null]),t._tiles.forEach(t=>{t._setStyle(\"marginTop\",null),t._setStyle(\"paddingTop\",null)})}_parseRatio(t){const e=t.split(\":\");if(2!==e.length)throw Error(`mat-grid-list: invalid ratio given for row-height: \"${t}\"`);this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class g extends p{setRowStyles(t,e){let n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle(\"top\",this.getTilePosition(n,e)),t._setStyle(\"height\",b(this.getTileSize(n,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(t=>{t._setStyle(\"top\",null),t._setStyle(\"height\",null)})}}function b(t){return`calc(${t})`}function _(t){return t.match(/([A-Za-z%]+)$/)?t:`${t}px`}let y=(()=>{class t{constructor(t,e){this._element=t,this._dir=e,this._gutter=\"1px\"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(Object(s.f)(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=`${null==t?\"\":t}`}get rowHeight(){return this._rowHeight}set rowHeight(t){const e=`${null==t?\"\":t}`;e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){if(!this.cols)throw Error('mat-grid-list: must pass in number of columns. Example: <mat-grid-list cols=\"3\">')}_checkRowHeight(){this._rowHeight||this._setTileStyler(\"1:1\")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler=\"fit\"===t?new g:t&&t.indexOf(\":\")>-1?new f(t):new m(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new h);const t=this._tileCoordinator,e=this._tiles.filter(t=>!t._gridList||t._gridList===this),n=this._dir?this._dir.value:\"ltr\";this._tileCoordinator.update(this.cols,e),this._tileStyler.init(this.gutterSize,t,this.cols,n),e.forEach((e,n)=>{const i=t.positions[n];this._tileStyler.setStyle(e,i.row,i.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(a.b,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-grid-list\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,c,!0),2&t&&i.vc(r=i.fc())&&(e._tiles=r)},hostAttrs:[1,\"mat-grid-list\"],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"cols\",e.cols)},inputs:{cols:\"cols\",gutterSize:\"gutterSize\",rowHeight:\"rowHeight\"},exportAs:[\"matGridList\"],features:[i.Cb([{provide:l,useExisting:t}])],ngContentSelectors:o,decls:2,vars:0,template:function(t,e){1&t&&(i.nc(),i.Wb(0,\"div\"),i.mc(1),i.Vb())},styles:[\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\\n\"],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.h,r.f],r.h,r.f]}),t})()},znSr:function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return y})),n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return b}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"pD6V\"),a=n(\"8LU1\"),o=n(\"1G5W\");n(\"jhN1\");let l=(()=>{class t extends s.b{constructor(t,e,n,i,s,a,o){super(t,null,e,n),this.ngClassInstance=o,this.DIRECTIVE_KEY=\"ngClass\",this.ngClassInstance||(this.ngClassInstance=new r.j(i,s,t,a)),this.init(),this.setValue(\"\",\"\")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,\"\")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(s.i),i.Qb(s.f),i.Qb(i.t),i.Qb(i.u),i.Qb(i.F),i.Qb(r.j,10))},t.\\u0275dir=i.Lb({type:t,inputs:{klass:[\"class\",\"klass\"]},features:[i.Ab]}),t})();const c=[\"ngClass\",\"ngClass.xs\",\"ngClass.sm\",\"ngClass.md\",\"ngClass.lg\",\"ngClass.xl\",\"ngClass.lt-sm\",\"ngClass.lt-md\",\"ngClass.lt-lg\",\"ngClass.lt-xl\",\"ngClass.gt-xs\",\"ngClass.gt-sm\",\"ngClass.gt-md\",\"ngClass.gt-lg\"];let h=(()=>{class t extends l{constructor(){super(...arguments),this.inputs=c}}return t.\\u0275fac=function(e){return d(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngClass\",\"\"],[\"\",\"ngClass.xs\",\"\"],[\"\",\"ngClass.sm\",\"\"],[\"\",\"ngClass.md\",\"\"],[\"\",\"ngClass.lg\",\"\"],[\"\",\"ngClass.xl\",\"\"],[\"\",\"ngClass.lt-sm\",\"\"],[\"\",\"ngClass.lt-md\",\"\"],[\"\",\"ngClass.lt-lg\",\"\"],[\"\",\"ngClass.lt-xl\",\"\"],[\"\",\"ngClass.gt-xs\",\"\"],[\"\",\"ngClass.gt-sm\",\"\"],[\"\",\"ngClass.gt-md\",\"\"],[\"\",\"ngClass.gt-lg\",\"\"]],inputs:{ngClass:\"ngClass\",\"ngClass.xs\":\"ngClass.xs\",\"ngClass.sm\":\"ngClass.sm\",\"ngClass.md\":\"ngClass.md\",\"ngClass.lg\":\"ngClass.lg\",\"ngClass.xl\":\"ngClass.xl\",\"ngClass.lt-sm\":\"ngClass.lt-sm\",\"ngClass.lt-md\":\"ngClass.lt-md\",\"ngClass.lt-lg\":\"ngClass.lt-lg\",\"ngClass.lt-xl\":\"ngClass.lt-xl\",\"ngClass.gt-xs\":\"ngClass.gt-xs\",\"ngClass.gt-sm\":\"ngClass.gt-sm\",\"ngClass.gt-md\":\"ngClass.gt-md\",\"ngClass.gt-lg\":\"ngClass.gt-lg\"},features:[i.Ab]}),t})();const d=i.Yb(h);let u=(()=>{class t extends s.h{buildStyles(t,e){return{display:\"true\"===t?e.display:\"none\"}}}return t.\\u0275fac=function(e){return p(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const p=i.Yb(u);let m=(()=>{class t extends s.b{constructor(t,e,n,i,r,s,a){super(t,e,n,i),this.layoutConfig=r,this.platformId=s,this.serverModuleLoaded=a,this.DIRECTIVE_KEY=\"show-hide\",this.display=\"\",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const t=Array.from(this.nativeElement.children);for(let n=0;n<t.length;n++)if(this.marshal.hasValue(t[n],\"flex\")){this.hasFlexChild=!0;break}f.has(this.nativeElement)?this.display=f.get(this.nativeElement):(this.display=this.getDisplayStyle(),f.set(this.nativeElement,this.display)),this.init();const e=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,\"\");void 0===e||\"\"===e?this.setValue(!0,\"\"):this.triggerUpdate()}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(\".\"),i=n.slice(1).join(\".\"),r=t[e].currentValue;let s=\"\"===r||0!==r&&Object(a.c)(r);\"fxHide\"===n[0]&&(s=!s),this.setValue(s,i)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,\"layout\"),[\"layout\",\"layout-align\"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe(Object(o.a)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?\"flex\":this.styler.lookupStyle(this.nativeElement,\"display\",!0)}updateWithValue(t=!0){\"\"!==t&&(this.addStyles(t?\"true\":\"false\",{display:this.display}),Object(r.u)(this.platformId)&&this.serverModuleLoaded&&this.nativeElement.style.setProperty(\"display\",\"\"),this.marshal.triggerUpdate(this.parentElement,\"layout-gap\"))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(u),i.Qb(s.i),i.Qb(s.f),i.Qb(s.e),i.Qb(i.C),i.Qb(s.g))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab,i.Bb()]}),t})();const f=new WeakMap,g=[\"fxShow\",\"fxShow.print\",\"fxShow.xs\",\"fxShow.sm\",\"fxShow.md\",\"fxShow.lg\",\"fxShow.xl\",\"fxShow.lt-sm\",\"fxShow.lt-md\",\"fxShow.lt-lg\",\"fxShow.lt-xl\",\"fxShow.gt-xs\",\"fxShow.gt-sm\",\"fxShow.gt-md\",\"fxShow.gt-lg\",\"fxHide\",\"fxHide.print\",\"fxHide.xs\",\"fxHide.sm\",\"fxHide.md\",\"fxHide.lg\",\"fxHide.xl\",\"fxHide.lt-sm\",\"fxHide.lt-md\",\"fxHide.lt-lg\",\"fxHide.lt-xl\",\"fxHide.gt-xs\",\"fxHide.gt-sm\",\"fxHide.gt-md\",\"fxHide.gt-lg\"];let b=(()=>{class t extends m{constructor(){super(...arguments),this.inputs=g}}return t.\\u0275fac=function(e){return _(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxShow\",\"\"],[\"\",\"fxShow.print\",\"\"],[\"\",\"fxShow.xs\",\"\"],[\"\",\"fxShow.sm\",\"\"],[\"\",\"fxShow.md\",\"\"],[\"\",\"fxShow.lg\",\"\"],[\"\",\"fxShow.xl\",\"\"],[\"\",\"fxShow.lt-sm\",\"\"],[\"\",\"fxShow.lt-md\",\"\"],[\"\",\"fxShow.lt-lg\",\"\"],[\"\",\"fxShow.lt-xl\",\"\"],[\"\",\"fxShow.gt-xs\",\"\"],[\"\",\"fxShow.gt-sm\",\"\"],[\"\",\"fxShow.gt-md\",\"\"],[\"\",\"fxShow.gt-lg\",\"\"],[\"\",\"fxHide\",\"\"],[\"\",\"fxHide.print\",\"\"],[\"\",\"fxHide.xs\",\"\"],[\"\",\"fxHide.sm\",\"\"],[\"\",\"fxHide.md\",\"\"],[\"\",\"fxHide.lg\",\"\"],[\"\",\"fxHide.xl\",\"\"],[\"\",\"fxHide.lt-sm\",\"\"],[\"\",\"fxHide.lt-md\",\"\"],[\"\",\"fxHide.lt-lg\",\"\"],[\"\",\"fxHide.lt-xl\",\"\"],[\"\",\"fxHide.gt-xs\",\"\"],[\"\",\"fxHide.gt-sm\",\"\"],[\"\",\"fxHide.gt-md\",\"\"],[\"\",\"fxHide.gt-lg\",\"\"]],inputs:{fxShow:\"fxShow\",\"fxShow.print\":\"fxShow.print\",\"fxShow.xs\":\"fxShow.xs\",\"fxShow.sm\":\"fxShow.sm\",\"fxShow.md\":\"fxShow.md\",\"fxShow.lg\":\"fxShow.lg\",\"fxShow.xl\":\"fxShow.xl\",\"fxShow.lt-sm\":\"fxShow.lt-sm\",\"fxShow.lt-md\":\"fxShow.lt-md\",\"fxShow.lt-lg\":\"fxShow.lt-lg\",\"fxShow.lt-xl\":\"fxShow.lt-xl\",\"fxShow.gt-xs\":\"fxShow.gt-xs\",\"fxShow.gt-sm\":\"fxShow.gt-sm\",\"fxShow.gt-md\":\"fxShow.gt-md\",\"fxShow.gt-lg\":\"fxShow.gt-lg\",fxHide:\"fxHide\",\"fxHide.print\":\"fxHide.print\",\"fxHide.xs\":\"fxHide.xs\",\"fxHide.sm\":\"fxHide.sm\",\"fxHide.md\":\"fxHide.md\",\"fxHide.lg\":\"fxHide.lg\",\"fxHide.xl\":\"fxHide.xl\",\"fxHide.lt-sm\":\"fxHide.lt-sm\",\"fxHide.lt-md\":\"fxHide.lt-md\",\"fxHide.lt-lg\":\"fxHide.lt-lg\",\"fxHide.lt-xl\":\"fxHide.lt-xl\",\"fxHide.gt-xs\":\"fxHide.gt-xs\",\"fxHide.gt-sm\":\"fxHide.gt-sm\",\"fxHide.gt-md\":\"fxHide.gt-md\",\"fxHide.gt-lg\":\"fxHide.gt-lg\"},features:[i.Ab]}),t})();const _=i.Yb(b);let y=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[s.c]]}),t})()}}]);<\/p><p><\/p>","reference":"<p><\/p>","cweid":"200","wascid":"13","sourceid":"3"},{"pluginid":"10099","alert":"Source Code Disclosure - Java","name":"Source Code Disclosure - Java","riskcode":"2","confidence":"2","riskdesc":"Medium (Medium)","desc":"<p>Application Source Code was disclosed by the web server - Java<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/main-es2015.js","method":"GET","evidence":"class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/admin\"}getApplicationConfiguration(){return this.configObservable?this.configObservable:(this.configObservable=this.http.get(this.host+\"/application-configuration\").pipe(Object(s.a)(t=>t.config,Object(l.a)(t=>{throw t}))),this.configObservable)}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var u=i(\"7O5W\"),d=i(\"8tEE\"),m=i(\"wHSu\"),p=i(\"twK/\"),h=i(\"XiUz\"),f=i(\"Wp6s\"),g=i(\"sYmb\"),v=i(\"bTqV\");const C=function(t){return{juicycoin:t}};u.b.add(d.a,m.bb,m.t,m.j,m.k,p.a,p.b),u.a.watch();let w=(()=>{class t{constructor(t){this.configurationService=t,this.altcoinName=\"Juicycoin\"}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.altcoinName&&(this.altcoinName=t.application.altcoinName)},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-token-sale\"]],decls:114,vars:26,consts:[[\"fxLayout\",\"row\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap\",\"20px\",1,\"container\"],[\"fxFlexAlign\",\"center\",1,\"whitepaper-container\",\"offer-container\"],[1,\"heading\"],[2,\"margin-left\",\"10px\",3,\"innerHtml\"],[2,\"margin-left\",\"10px\"],[\"translate\",\"\"],[\"href\",\"https://ponzico.win/ponzico.pdf\",\"target\",\"_blank\",\"rel\",\"noopener noreferrer\"],[\"mat-raised-button\",\"\",\"color\",\"accent\"],[1,\"fas\",\"fa-university\",\"fa-lg\"],[\"href\",\"https://www.sec.gov/investor/alerts/ia_virtualcurrencies.pdf\",\"target\",\"_blank\",\"rel\",\"noopener noreferrer\"],[1,\"fas\",\"fa-graduation-cap\",\"fa-lg\"],[1,\"offer-box\"],[1,\"text-justify\"],[1,\"fab\",\"fa-bitcoin\"],[1,\"badge\"],[\"fxFlexAlign.lt-md\",\"center\",1,\"faq-container\"],[1,\"fas\",\"fa-comments\",\"fa-2x\"],[1,\"far\",\"fa-comment-alt\",\"fa-2x\"],[1,\"far\",\"fa-comments\",\"fa-2x\"],[1,\"fas\",\"fa-comment-alt\",\"fa-2x\"],[\"translate\",\"\",1,\"text-justify\"],[\"src\",\"/assets/public/images/padding/56px.png\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Rb(6,\"small\",3),a.jc(7,\"translate\"),a.Vb(),a.Vb(),a.Wb(8,\"mat-card\"),a.Wb(9,\"h4\"),a.Jc(10),a.jc(11,\"translate\"),a.Wb(12,\"small\",4),a.Jc(13,\"(\"),a.Wb(14,\"span\",5),a.Jc(15,\"WHITEPAPER_REFERENCES\"),a.Vb(),a.Jc(16,\")\"),a.Vb(),a.Vb(),a.Wb(17,\"div\"),a.Wb(18,\"a\",6),a.Wb(19,\"button\",7),a.Rb(20,\"i\",8),a.Jc(21,\" PonzICO Whitepaper\"),a.Vb(),a.Vb(),a.Wb(22,\"a\",9),a.Wb(23,\"button\",7),a.Rb(24,\"i\",10),a.Jc(25,\" PonziCoin Whitepaper\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(26,\"div\",11),a.Wb(27,\"h3\",5),a.Jc(28,\"SECTION_SALES_PITCH\"),a.Vb(),a.Wb(29,\"p\",12),a.Jc(30,\" Lorem ipsum dolor sit amet \"),a.Wb(31,\"strong\"),a.Rb(32,\"i\",13),a.Jc(33),a.Vb(),a.Jc(34,\", consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \"),a.Wb(35,\"span\",5),a.Jc(36,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(37,\" Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. \"),a.Wb(38,\"span\",5),a.Jc(39,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(40,\" Ut wisi enim ad minim veniam, quis \"),a.Wb(41,\"strong\"),a.Rb(42,\"i\",13),a.Jc(43),a.Vb(),a.Jc(44,\" nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. \"),a.Wb(45,\"span\",5),a.Jc(46,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(47,\" Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. \"),a.Wb(48,\"span\",5),a.Jc(49,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(50,\" Duis autem vel eum \"),a.Wb(51,\"strong\"),a.Rb(52,\"i\",13),a.Jc(53),a.Vb(),a.Jc(54,\" iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. \"),a.Wb(55,\"span\",5),a.Jc(56,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(57,\" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. \"),a.Wb(58,\"span\",14),a.Rb(59,\"i\",13),a.Jc(60),a.Vb(),a.Jc(61,\" est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur. \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(62,\"div\",15),a.Wb(63,\"div\",2),a.Wb(64,\"span\",5),a.Jc(65,\"ICO_FAQ\"),a.Vb(),a.Vb(),a.Wb(66,\"mat-card\"),a.Wb(67,\"h5\"),a.Rb(68,\"i\",16),a.Jc(69,\" Stet \"),a.Wb(70,\"strong\"),a.Rb(71,\"i\",13),a.Jc(72),a.Vb(),a.Jc(73,\" clita kasd gubergren?\"),a.Vb(),a.Wb(74,\"small\",12),a.Jc(75,\" Stet clita kasd gubergren, no \"),a.Wb(76,\"strong\"),a.Rb(77,\"i\",13),a.Jc(78),a.Vb(),a.Jc(79,\" sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \"),a.Vb(),a.Vb(),a.Wb(80,\"mat-card\"),a.Wb(81,\"h5\"),a.Rb(82,\"i\",17),a.Jc(83,\" Consetetur sadipscing elitr?\"),a.Vb(),a.Wb(84,\"small\",12),a.Jc(85,\" Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed \"),a.Wb(86,\"strong\"),a.Rb(87,\"i\",13),a.Jc(88),a.Vb(),a.Jc(89,\" diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \"),a.Vb(),a.Vb(),a.Wb(90,\"mat-card\"),a.Wb(91,\"h5\"),a.Rb(92,\"i\",18),a.Jc(93,\" Hendrerit \"),a.Wb(94,\"strong\"),a.Rb(95,\"i\",13),a.Jc(96),a.Vb(),a.Jc(97,\" in vulputate velit?\"),a.Vb(),a.Wb(98,\"small\",12),a.Jc(99,\" Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. \"),a.Vb(),a.Vb(),a.Wb(100,\"mat-card\"),a.Wb(101,\"h5\"),a.Rb(102,\"i\",19),a.Jc(103,\" Justo duo dolores et ea rebum?\"),a.Vb(),a.Wb(104,\"small\",12),a.Jc(105,\" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \"),a.Vb(),a.Vb(),a.Wb(106,\"mat-card\"),a.Wb(107,\"h5\"),a.Rb(108,\"i\",16),a.Rb(109,\"span\",3),a.jc(110,\"translate\"),a.Vb(),a.Wb(111,\"small\",20),a.Jc(112,\"ICO_FAQ_ANSWER\"),a.Vb(),a.Vb(),a.Vb(),a.Rb(113,\"img\",21),a.Vb()),2&t&&(a.Db(4),a.Lc(\"\",a.kc(5,12,\"TITLE_TOKENSALE\"),\" \"),a.Db(2),a.oc(\"innerHtml\",a.lc(7,14,\"SECTION_ICO\",a.tc(22,C,e.altcoinName)),a.Ac),a.Db(4),a.Lc(\"\",a.kc(11,17,\"SECTION_WHITEPAPER\"),\" \"),a.Db(23),a.Lc(\" \",e.altcoinName,\"\"),a.Db(10),a.Lc(\" \",e.altcoinName,\"\"),a.Db(10),a.Lc(\" \",e.altcoinName,\"\"),a.Db(7),a.Lc(\" \",e.altcoinName,\"\"),a.Db(12),a.Lc(\" \",e.altcoinName,\"\"),a.Db(6),a.Lc(\" \",e.altcoinName,\"\"),a.Db(10),a.Lc(\" \",e.altcoinName,\"\"),a.Db(8),a.Lc(\" \",e.altcoinName,\"\"),a.Db(13),a.oc(\"innerHtml\",a.lc(110,19,\"ICO_FAQ_QUESTION\",a.tc(24,C,e.altcoinName)),a.Ac))},directives:[h.d,h.e,h.a,f.a,g.a,v.a],pipes:[g.d],styles:[\".container[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.13);margin-bottom:10px;padding:12px 20px}.whitepaper-container.offer-container[_ngcontent-%COMP%]{max-width:700px;min-width:400px;width:70%}.faq-container[_ngcontent-%COMP%]{max-width:500px;min-width:200px;width:70%}.text-justify[_ngcontent-%COMP%]{text-align:justify}mat-card[_ngcontent-%COMP%]{margin-bottom:10px}\"]}),t})();var y=i(\"XNiG\");let D=(()=>{class t{constructor(t){this.http=t,this.isLoggedIn=new y.a,this.hostServer=\".\",this.host=this.hostServer+\"/api/Users\"}find(t){return this.http.get(this.hostServer+\"/rest/user/authentication-details/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}login(t){return this.isLoggedIn.next(!0),this.http.post(this.hostServer+\"/rest/user/login\",t).pipe(Object(s.a)(t=>t.authentication),Object(l.a)(t=>{throw t}))}getLoggedInState(){return this.isLoggedIn.asObservable()}changePassword(t){return this.http.get(this.hostServer+\"/rest/user/change-password?current=\"+t.current+\"&new=\"+t.new+\"&repeat=\"+t.repeat).pipe(Object(s.a)(t=>t.user),Object(l.a)(t=>{throw t.error}))}resetPassword(t){return this.http.post(this.hostServer+\"/rest/user/reset-password\",t).pipe(Object(s.a)(t=>t.user),Object(l.a)(t=>{throw t}))}whoAmI(){return this.http.get(this.hostServer+\"/rest/user/whoami\").pipe(Object(s.a)(t=>t.user),Object(l.a)(t=>{throw t}))}oauthLogin(t){return this.http.get(\"https://www.googleapis.com/oauth2/v1/userinfo?alt=json&access_token=\"+t)}saveLastLoginIp(){return this.http.get(this.hostServer+\"/rest/saveLoginIp\").pipe(Object(s.a)(t=>t),Object(l.a)(t=>{throw t}))}deluxeStatus(){return this.http.get(this.hostServer+\"/rest/deluxe-membership\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}upgradeToDeluxe(t){return this.http.post(this.hostServer+\"/rest/deluxe-membership\",{payUsingWallet:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var S=i(\"tyNb\");let W=(()=>{class t{constructor(t,e,i,a,o){this.cookieService=t,this.userService=e,this.router=i,this.route=a,this.ngZone=o}ngOnInit(){this.userService.oauthLogin(this.parseRedirectUrlParams().access_token).subscribe(t=>{let e=btoa(t.email.split(\"\").reverse().join(\"\"));this.userService.save({email:t.email,password:e,passwordRepeat:e}).subscribe(()=>{this.login(t)},()=>this.login(t))},t=>{this.invalidateSession(t),this.ngZone.run(()=>this.router.navigate([\"/login\"]))})}login(t){this.userService.login({email:t.email,password:btoa(t.email.split(\"\").reverse().join(\"\")),oauth:!0}).subscribe(t=>{this.cookieService.put(\"token\",t.token),localStorage.setItem(\"token\",t.token),sessionStorage.setItem(\"bid\",t.bid),this.userService.isLoggedIn.next(!0),this.ngZone.run(()=>this.router.navigate([\"/\"]))},t=>{this.invalidateSession(t),this.ngZone.run(()=>this.router.navigate([\"/login\"]))})}invalidateSession(t){console.log(t),this.cookieService.remove(\"token\"),localStorage.removeItem(\"token\"),sessionStorage.removeItem(\"bid\")}parseRedirectUrlParams(){let t=this.route.snapshot.data.params.substr(1).split(\"&\"),e={};for(let i=0;i<t.length;i++){let a=t[i].split(\"=\");e[a[0]]=a[1]}return e}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(r.b),a.Qb(D),a.Qb(S.b),a.Qb(S.a),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-oauth\"]],decls:9,vars:6,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"primary-notification\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"div\"),a.Wb(3,\"h3\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"div\"),a.Jc(7),a.jc(8,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Kc(a.kc(5,2,\"TITLE_LOGIN\")),a.Db(3),a.Kc(a.kc(8,4,\"CONFIRM_LOGGED_IN_VIA_OAUTH2\")))},directives:[h.c,f.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:300px;width:35%}\"]}),t})(),x=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/BasketItems\"}find(t){return this.http.get(this.hostServer+\"/rest/basket/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}checkout(t,e,i){return this.http.post(this.hostServer+\"/rest/basket/\"+t+\"/checkout\",{couponData:e,orderDetails:i}).pipe(Object(s.a)(t=>t.orderConfirmation),Object(l.a)(t=>{throw t}))}applyCoupon(t,e){return this.http.put(this.hostServer+\"/rest/basket/\"+t+\"/coupon/\"+e,{}).pipe(Object(s.a)(t=>t.discount),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var V=i(\"BOF4\");let I=(()=>{class t{constructor(t,e){this.router=t,this.ngZone=e}canActivate(){return!!localStorage.getItem(\"token\")||(this.forbidRoute(\"UNAUTHORIZED_ACCESS_ERROR\"),!1)}forbidRoute(t=\"UNAUTHORIZED_PAGE_ACCESS_ERROR\"){this.ngZone.run(()=>this.router.navigate([\"403\"],{skipLocationChange:!0,queryParams:{error:t}}))}tokenDecode(){let t=null;const e=localStorage.getItem(\"token\");if(e)try{t=V(e)}catch(i){console.log(i)}return t}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(S.b),a.ac(a.A))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})(),_=(()=>{class t{constructor(t){this.loginGuard=t}canActivate(){let t=this.loginGuard.tokenDecode();return!(!t||!t.data||\"admin\"!==t.data.role)||(this.loginGuard.forbidRoute(),!1)}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(I))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})(),k=(()=>{class t{constructor(t,e){this.router=t,this.loginGuard=e}canActivate(){let t=this.loginGuard.tokenDecode();return!(!t||!t.data||\"accounting\"!==t.data.role)||(this.loginGuard.forbidRoute(),!1)}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(S.b),a.ac(I))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})(),O=(()=>{class t{constructor(t){this.loginGuard=t}isDeluxe(){let t=this.loginGuard.tokenDecode();return t&&t.data&&\"deluxe\"===t.data.role}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(I))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})();var L=i(\"dNgK\");let A=(()=>{class t{constructor(t,e){this.translateService=t,this.snackBar=e}open(t,e){this.translateService.get(t).subscribe(t=>{this.snackBar.open(t,\"X\",{duration:5e3,panelClass:e})},()=>{this.snackBar.open(t,\"X\",{duration:5e3,panelClass:e})})}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(g.e),a.ac(L.a))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var T=i(\"+0xr\"),P=i(\"ofXK\"),E=i(\"znSr\");function R(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function M(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Rb(1,\"img\",21),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.pc(\"alt\",t.name),a.oc(\"src\",\"assets/public/images/products/\"+t.image,a.Cc)}}function J(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",20)}function H(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function N(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",22),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\" \")}}function F(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",23)}function B(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function U(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().dec(e.BasketItem.id)})),a.Rb(1,\"i\",28),a.Vb()}}function j(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().inc(e.BasketItem.id)})),a.Rb(1,\"i\",29),a.Vb()}}function Q(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",24),a.Hc(1,U,2,0,\"button\",25),a.Wb(2,\"span\",26),a.Jc(3),a.Vb(),a.Hc(4,j,2,0,\"button\",25),a.Vb()),2&t){const t=e.$implicit,i=a.ic();a.Db(1),a.oc(\"ngIf\",i.allowEdit),a.Db(2),a.Lc(\" \",t.BasketItem.quantity,\"\"),a.Db(1),a.oc(\"ngIf\",i.allowEdit)}}function z(t,e){1&t&&(a.Wb(0,\"mat-footer-cell\",30),a.Jc(1,\"TOTAL\"),a.Vb())}function G(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function q(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",31),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.price,\"\\xa4\")}}function Y(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",32)}function K(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function X(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",36),a.Wb(1,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).delete(i.BasketItem.id)})),a.Rb(2,\"i\",37),a.Vb(),a.Vb()}}function $(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",36)}function Z(t,e){1&t&&(a.Ub(0,33),a.Hc(1,K,1,0,\"mat-header-cell\",2),a.Hc(2,X,3,0,\"mat-cell\",34),a.Hc(3,$,1,0,\"mat-footer-cell\",35),a.Tb())}function tt(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function et(t,e){1&t&&a.Rb(0,\"mat-row\")}function it(t,e){1&t&&a.Rb(0,\"mat-footer-row\",39)}function at(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Hc(1,it,1,0,\"mat-footer-row\",38),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"matFooterRowDef\",t.tableColumns)}}u.b.add(p.g,m.B,m.D),u.a.watch();let ot=(()=>{class t{constructor(t,e,i,o){this.deluxeGuard=t,this.basketService=e,this.userService=i,this.snackBarHelperService=o,this.allowEdit=!1,this.displayTotal=!1,this.emitTotal=new a.o,this.emitProductCount=new a.o,this.tableColumns=[\"image\",\"product\",\"quantity\",\"price\"],this.dataSource=[],this.bonus=0,this.itemTotal=0}ngOnInit(){this.allowEdit&&!this.tableColumns.includes(\"remove\")&&this.tableColumns.push(\"remove\"),this.load(),this.userService.whoAmI().subscribe(t=>{this.userEmail=t.email||\"anonymous\",this.userEmail=\"(\"+this.userEmail+\")\"},t=>console.log(t))}load(){this.basketService.find(parseInt(sessionStorage.getItem(\"bid\"),10)).subscribe(t=>{this.isDeluxe()&&t.Products.map(t=>{t.price=t.deluxePrice}),this.dataSource=t.Products,this.itemTotal=t.Products.reduce((t,e)=>t+e.price*e.BasketItem.quantity,0),this.bonus=t.Products.reduce((t,e)=>t+Math.round(e.price/10)*e.BasketItem.quantity,0),this.sendToParent(this.dataSource.length)},t=>console.log(t))}delete(t){this.basketService.del(t).subscribe(()=>{this.load()},t=>console.log(t))}inc(t){this.addToQuantity(t,1)}dec(t){this.addToQuantity(t,-1)}addToQuantity(t,e){this.basketService.get(t).subscribe(i=>{let a=i.quantity+e;this.basketService.put(t,{quantity:a<1?1:a}).subscribe(()=>{this.load()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})},t=>console.log(t))}sendToParent(t){this.emitTotal.emit([this.itemTotal,this.bonus]),this.emitProductCount.emit(t)}isDeluxe(){return this.deluxeGuard.isDeluxe()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(O),a.Qb(x),a.Qb(D),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-purchase-basket\"]],inputs:{allowEdit:\"allowEdit\",displayTotal:\"displayTotal\"},outputs:{emitTotal:\"emitTotal\",emitProductCount:\"emitProductCount\"},decls:29,vars:13,consts:[[3,\"dataSource\"],[\"matColumnDef\",\"image\"],[\"style\",\"display: none;\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"20%\",\"class\",\"content-align\",4,\"matCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"20%\",\"class\",\"content-align\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"product\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\",\"style\",\"font-size: initial;\",4,\"matCellDef\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"quantity\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",\"class\",\"content-align\",4,\"matCellDef\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",\"class\",\"header-align\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"price\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\",\"style\",\"font-size: initial;\",4,\"matCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"remove\",4,\"ngIf\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[4,\"ngIf\"],[\"id\",\"price\"],[2,\"display\",\"none\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"20%\",1,\"content-align\"],[1,\"img-responsive\",\"img-thumbnail\",3,\"src\",\"alt\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\",2,\"font-size\",\"initial\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",1,\"content-align\"],[\"mat-icon-button\",\"\",3,\"click\",4,\"ngIf\"],[2,\"font-size\",\"initial\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-minus-square\"],[1,\"fas\",\"fa-plus-square\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",1,\"header-align\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\",2,\"font-size\",\"initial\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\"],[\"matColumnDef\",\"remove\"],[\"fxFlex\",\"10%\",\"fxFlex.lt-md\",\"15%\",4,\"matCellDef\"],[\"fxFlex\",\"10%\",\"fxFlex.lt-md\",\"15%\",4,\"matFooterCellDef\"],[\"fxFlex\",\"10%\",\"fxFlex.lt-md\",\"15%\"],[1,\"far\",\"fa-trash-alt\"],[\"mat-footer-row\",\"\",4,\"matFooterRowDef\"],[\"mat-footer-row\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"h1\"),a.Jc(1),a.jc(2,\"translate\"),a.Wb(3,\"small\"),a.Jc(4),a.Vb(),a.Vb(),a.Wb(5,\"mat-table\",0),a.Ub(6,1),a.Hc(7,R,1,0,\"mat-header-cell\",2),a.Hc(8,M,2,2,\"mat-cell\",3),a.Hc(9,J,1,0,\"mat-footer-cell\",4),a.Tb(),a.Ub(10,5),a.Hc(11,H,1,0,\"mat-header-cell\",2),a.Hc(12,N,2,1,\"mat-cell\",6),a.Hc(13,F,1,0,\"mat-footer-cell\",7),a.Tb(),a.Ub(14,8),a.Hc(15,B,1,0,\"mat-header-cell\",2),a.Hc(16,Q,5,3,\"mat-cell\",9),a.Hc(17,z,2,0,\"mat-footer-cell\",10),a.Tb(),a.Ub(18,11),a.Hc(19,G,1,0,\"mat-header-cell\",2),a.Hc(20,q,2,1,\"mat-cell\",12),a.Hc(21,Y,1,0,\"mat-footer-cell\",13),a.Tb(),a.Hc(22,Z,4,0,\"ng-container\",14),a.Hc(23,tt,1,0,\"mat-header-row\",15),a.Hc(24,et,1,0,\"mat-row\",16),a.Hc(25,at,2,1,\"span\",17),a.Vb(),a.Wb(26,\"div\",18),a.Jc(27),a.jc(28,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\" \",a.kc(2,9,\"TITLE_BASKET\"),\" \"),a.Db(3),a.Kc(e.userEmail),a.Db(1),a.oc(\"dataSource\",e.dataSource),a.Db(17),a.oc(\"ngIf\",e.allowEdit),a.Db(1),a.oc(\"matHeaderRowDef\",e.tableColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.tableColumns),a.Db(1),a.oc(\"ngIf\",e.displayTotal),a.Db(2),a.Mc(\"\",a.kc(28,11,\"LABEL_TOTAL_PRICE\"),\": \",e.itemTotal,\"\\xa4\"))},directives:[T.n,T.c,T.i,T.b,T.e,P.l,T.k,T.m,T.h,T.a,E.b,h.b,T.d,v.a,T.j,T.l,T.g,T.f],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.img-thumbnail[_ngcontent-%COMP%]{height:auto;width:90px}mat-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;margin-top:15px;margin-bottom:15px}mat-header-row[_ngcontent-%COMP%]{min-height:0!important}mat-footer-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.mat-footer-cell[_ngcontent-%COMP%]{font-weight:700}.content-align[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}#price[_ngcontent-%COMP%]{margin-top:30px;width:100%;font-size:large;text-align:right}\"]}),t})();const nt=function(t){return{bonus:t}};u.b.add(m.d),u.a.watch();let rt=(()=>{class t{constructor(t,e){this.router=t,this.ngZone=e,this.productCount=0,this.bonus=0}checkout(){this.ngZone.run(()=>this.router.navigate([\"/address/select\"]))}getProductCount(t){this.productCount=t}getBonusPoints(t){sessionStorage.setItem(\"itemTotal\",t[0]),this.bonus=t[1]}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-basket\"]],decls:8,vars:8,consts:[[1,\"mat-elevation-z6\"],[3,\"allowEdit\",\"emitTotal\",\"emitProductCount\"],[\"id\",\"checkoutButton\",\"color\",\"primary\",\"mat-raised-button\",\"\",1,\"checkout-button\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-cart-arrow-down\"],[\"translate\",\"\",1,\"hint\",3,\"translateParams\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"app-purchase-basket\",1),a.ec(\"emitTotal\",(function(t){return e.getBonusPoints(t)}))(\"emitProductCount\",(function(t){return e.getProductCount(t)})),a.Vb(),a.Wb(2,\"button\",2),a.ec(\"click\",(function(){return e.checkout()})),a.Rb(3,\"i\",3),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"div\",4),a.Jc(7,\"CHECKOUT_FOR_BONUS_POINTS\"),a.Vb(),a.Vb()),2&t&&(a.Db(1),a.oc(\"allowEdit\",!0),a.Db(1),a.oc(\"disabled\",e.productCount<1),a.Db(2),a.Lc(\" \",a.kc(5,4,\"BTN_CHECKOUT\"),\" \"),a.Db(2),a.oc(\"translateParams\",a.tc(6,nt,e.bonus)))},directives:[f.a,ot,v.a,g.a],pipes:[g.d],styles:[\".container[_ngcontent-%COMP%]{min-width:420px;width:40%}mat-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.13);-webkit-box-pack:center;justify-content:center;padding:12px 20px}.mat-row[_ngcontent-%COMP%]{padding-bottom:10px}.mat-column-bonus[_ngcontent-%COMP%], .mat-column-description[_ngcontent-%COMP%], .mat-column-price[_ngcontent-%COMP%]{margin-left:20px}.mat-column-quantity[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-button-toggle[_ngcontent-%COMP%]{width:20px}.mat-column-quantity[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:22px}mat-form-field[_ngcontent-%COMP%]{margin-top:15px;width:100%}mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:20px}#checkoutButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.hint[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:13px;-webkit-box-pack:center;justify-content:center;margin-top:5px}.payment-label[_ngcontent-%COMP%]{padding-top:10px}\"]}),t})(),ct=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/track-order\"}save(t){return t=encodeURIComponent(t),this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function st(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",25),a.Vb())}function lt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",26),a.Vb())}function bt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",27),a.Vb())}function ut(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",28),a.Vb())}function dt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",29),a.Vb())}function mt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",30),a.Vb())}function pt(t,e){if(1&t&&(a.Wb(0,\"span\",31),a.Wb(1,\"span\"),a.Rb(2,\"i\",32),a.Vb(),a.Wb(3,\"span\",33),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Mc(\"\",t.results.eta,\" \",a.kc(5,2,\"LABEL_DAYS\"),\"\")}}function ht(t,e){if(1&t&&(a.Wb(0,\"span\",31),a.Wb(1,\"span\"),a.Rb(2,\"i\",34),a.Vb(),a.Wb(3,\"span\",33),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Mc(\"\",t.results.eta,\" \",a.kc(5,2,\"LABEL_DAYS\"),\"\")}}function ft(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",1),a.Jc(1,\"LABEL_PRODUCT\"),a.Vb())}function gt(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\"\")}}function vt(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_PRICE\"),a.Vb())}function Ct(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.price,\"\\xa4\")}}function wt(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",1),a.Jc(1,\"LABEL_QUANTITY\"),a.Vb())}function yt(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",38),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.quantity,\"\")}}function Dt(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",1),a.Jc(1,\"LABEL_TOTAL_PRICE\"),a.Vb())}function St(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",39),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.total,\"\\xa4\")}}function Wt(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function xt(t,e){1&t&&a.Rb(0,\"mat-row\")}const Vt=function(t){return{bonus:t}};u.b.add(m.jb,m.N,m.Z,m.Y,m.w),u.a.watch();var It=function(t){return t[t.New=0]=\"New\",t[t.Packing=1]=\"Packing\",t[t.Transit=2]=\"Transit\",t[t.Delivered=3]=\"Delivered\",t}({});let _t=(()=>{class t{constructor(t,e,i){this.route=t,this.trackOrderService=e,this.sanitizer=i,this.displayedColumns=[\"product\",\"price\",\"quantity\",\"total price\"],this.dataSource=new T.o,this.results={},this.status=It.New,this.Status=It}ngOnInit(){this.orderId=this.route.snapshot.queryParams.id,this.trackOrderService.save(this.orderId).subscribe(t=>{this.results.orderNo=this.sanitizer.bypassSecurityTrustHtml(`<code>${t.data[0].orderId}<\/code>`),this.results.email=t.data[0].email,this.results.totalPrice=t.data[0].totalPrice,this.results.products=t.data[0].products,this.results.eta=void 0!==t.data[0].eta?t.data[0].eta:\"?\",this.results.bonus=t.data[0].bonus,this.dataSource.data=this.results.products,this.status=t.data[0].delivered?It.Delivered:this.route.snapshot.data.type?It.New:this.results.eta>2?It.Packing:It.Transit})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.a),a.Qb(ct),a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-track-result\"]],decls:49,vars:18,consts:[[\"fxLayoutAlign\",\"center\"],[\"translate\",\"\"],[3,\"innerHtml\"],[1,\"container-fluid\",\"well\"],[1,\"row\",\"fa-4x\"],[4,\"ngIf\"],[\"class\",\"fa-layers fa-fw\",4,\"ngIf\"],[\"fxLayoutAlign\",\"center\",1,\"table-wrapper\"],[1,\"table-heading\"],[1,\"mat-elevation-z8\",3,\"dataSource\"],[\"table\",\"\"],[\"matColumnDef\",\"product\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[\"class\",\"product-name\",4,\"matCellDef\"],[\"matColumnDef\",\"price\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"class\",\"product-price\",\"fxShow\",\"\",\"fxHide.lt-md\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"quantity\"],[\"class\",\"product-quantity\",4,\"matCellDef\"],[\"matColumnDef\",\"total price\"],[\"class\",\"product-total\",4,\"matCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[1,\"bonus-container\"],[\"translate\",\"\",3,\"translateParams\"],[1,\"fas\",\"fa-warehouse\",\"confirmation\"],[1,\"fas\",\"fa-warehouse\"],[1,\"fas\",\"fa-truck-loading\",\"confirmation\"],[1,\"fas\",\"fa-truck-loading\"],[1,\"fas\",\"fa-truck\",\"confirmation\"],[1,\"fas\",\"fa-truck\"],[1,\"fa-layers\",\"fa-fw\"],[1,\"fas\",\"fa-home\",\"confirmation\"],[1,\"fa-layers-counter\",\"accent-notification\",2,\"width\",\"max-content\"],[1,\"fas\",\"fa-home\"],[1,\"product-name\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",1,\"product-price\"],[1,\"product-quantity\"],[1,\"product-total\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\"),a.Rb(2,\"mat-card-header\"),a.Wb(3,\"h3\"),a.Wb(4,\"span\",1),a.Jc(5,\"TITLE_SEARCH_RESULTS\"),a.Vb(),a.Jc(6,\" - \"),a.Rb(7,\"span\",2),a.Vb(),a.Wb(8,\"h4\",1),a.Jc(9,\"LABEL_EXPECTED_DELIVERY\"),a.Vb(),a.Wb(10,\"div\",3),a.Wb(11,\"div\",4),a.Hc(12,st,2,0,\"span\",5),a.Hc(13,lt,2,0,\"span\",5),a.Hc(14,bt,2,0,\"span\",5),a.Hc(15,ut,2,0,\"span\",5),a.Hc(16,dt,2,0,\"span\",5),a.Hc(17,mt,2,0,\"span\",5),a.Hc(18,pt,6,4,\"span\",6),a.Hc(19,ht,6,4,\"span\",6),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(20,\"div\",7),a.Wb(21,\"div\",8),a.Wb(22,\"h4\",1),a.Jc(23,\"LABEL_PRODUCT_ORDERED\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(24,\"div\",0),a.Wb(25,\"mat-table\",9,10),a.Ub(27,11),a.Hc(28,ft,2,0,\"mat-header-cell\",12),a.Hc(29,gt,2,1,\"mat-cell\",13),a.Tb(),a.Ub(30,14),a.Hc(31,vt,2,0,\"mat-header-cell\",15),a.Hc(32,Ct,2,1,\"mat-cell\",16),a.Tb(),a.Ub(33,17),a.Hc(34,wt,2,0,\"mat-header-cell\",12),a.Hc(35,yt,2,1,\"mat-cell\",18),a.Tb(),a.Ub(36,19),a.Hc(37,Dt,2,0,\"mat-header-cell\",12),a.Hc(38,St,2,1,\"mat-cell\",20),a.Tb(),a.Hc(39,Wt,1,0,\"mat-header-row\",21),a.Hc(40,xt,1,0,\"mat-row\",22),a.Vb(),a.Vb(),a.Wb(41,\"div\",23),a.Wb(42,\"h2\",24),a.Jc(43,\"BONUS_POINTS_EARNED\"),a.Vb(),a.Wb(44,\"p\"),a.Jc(45,\"(\"),a.Rb(46,\"span\",2),a.jc(47,\"translate\"),a.Jc(48,\")\"),a.Vb(),a.Vb()),2&t&&(a.Db(7),a.oc(\"innerHtml\",e.results.orderNo,a.Ac),a.Db(5),a.oc(\"ngIf\",e.status===e.Status.New),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.New),a.Db(1),a.oc(\"ngIf\",e.status===e.Status.Packing),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.Packing),a.Db(1),a.oc(\"ngIf\",e.status===e.Status.Transit),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.Transit),a.Db(1),a.oc(\"ngIf\",e.status===e.Status.Delivered),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.Delivered),a.Db(6),a.oc(\"dataSource\",e.dataSource),a.Db(14),a.oc(\"matHeaderRowDef\",e.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.displayedColumns),a.Db(2),a.oc(\"translateParams\",a.tc(16,Vt,e.results.bonus)),a.Db(4),a.oc(\"innerHtml\",a.kc(47,14,\"BONUS_FOR_FUTURE_PURCHASES\"),a.Ac))},directives:[h.c,f.a,f.c,g.a,P.l,T.n,T.c,T.i,T.b,T.k,T.m,T.h,T.a,E.b,T.j,T.l],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:380px;width:25%}.table-heading[_ngcontent-%COMP%], mat-table[_ngcontent-%COMP%]{min-width:420px;width:50%}.product-name[_ngcontent-%COMP%]{margin-right:25px}.table-wrapper[_ngcontent-%COMP%]{margin-top:30px}.table-heading[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-bottom:0}.row.fa-4x[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:10px}.bonus-container[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;box-sizing:border-box;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin-top:10px;place-content:stretch center}.bonus-container[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;padding:0}\"]}),t})(),kt=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Feedbacks\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ot=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/captcha\"}getCaptcha(){return this.http.get(this.host+\"/\").pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Lt=(()=>{class t{constructor(t){this._document=t}attachEnterKeyHandler(t,e,i){const a=this._document.getElementById(t),o=this._document.getElementById(e);a.addEventListener(\"keyup\",(function(t){t.preventDefault(),13!==t.keyCode||o.disabled||i()}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(P.d))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var At=i(\"kmnG\"),Tt=i(\"qFsG\"),Pt=i(\"2rR7\");function Et(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_COMMENT \"),a.Vb())}function Rt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CAPTCHA \"),a.Vb())}function Mt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_CAPTCHA \"),a.Vb())}const Jt=function(){return{length:\"160\"}};u.b.add(m.L,m.C),u.a.watch();let Ht=(()=>{class t{constructor(t,e,i,a,o,n){this.userService=t,this.captchaService=e,this.feedbackService=i,this.formSubmitService=a,this.translate=o,this.snackBarHelperService=n,this.authorControl=new c.c({value:\"\",disabled:!0},[]),this.feedbackControl=new c.c(\"\",[c.x.required,c.x.maxLength(160)]),this.captchaControl=new c.c(\"\",[c.x.required,c.x.pattern(\"-?[\\\\d]*\")]),this.userIdControl=new c.c(\"\",[]),this.rating=0,this.feedback=void 0}ngOnInit(){this.userService.whoAmI().subscribe(t=>{this.feedback={},this.userIdControl.setValue(t.id),this.feedback.UserId=t.id,this.authorControl.setValue(t.email?\"***\"+t.email.slice(3):\"anonymous\")},t=>{this.feedback=void 0,console.log(t)}),this.getNewCaptcha(),this.formSubmitService.attachEnterKeyHandler(\"feedback-form\",\"submitButton\",()=>this.save())}getNewCaptcha(){this.captchaService.getCaptcha().subscribe(t=>{this.captcha=t.captcha,this.captchaId=t.captchaId},t=>t)}save(){this.feedback.captchaId=this.captchaId,this.feedback.captcha=this.captchaControl.value,this.feedback.comment=`${this.feedbackControl.value} (${this.authorControl.value})`,this.feedback.rating=this.rating,this.feedback.UserId=this.userIdControl.value,this.feedbackService.save(this.feedback).subscribe(t=>{5===t.rating?this.translate.get(\"FEEDBACK_FIVE_STAR_THANK_YOU\").subscribe(t=>{this.snackBarHelperService.open(t)},t=>{this.snackBarHelperService.open(t)}):this.translate.get(\"FEEDBACK_THANK_YOU\").subscribe(t=>{this.snackBarHelperService.open(t)},t=>{this.snackBarHelperService.open(t)}),this.feedback={},this.ngOnInit(),this.resetForm()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.feedback={},this.resetCaptcha()})}resetForm(){this.authorControl.markAsUntouched(),this.authorControl.markAsPristine(),this.authorControl.setValue(\"\"),this.feedbackControl.markAsUntouched(),this.feedbackControl.markAsPristine(),this.feedbackControl.setValue(\"\"),this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\")}resetCaptcha(){this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(D),a.Qb(Ot),a.Qb(kt),a.Qb(Lt),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-contact\"]],decls:52,vars:26,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"id\",\"feedback-form\",1,\"form-container\"],[\"hidden\",\"\",\"type\",\"text\",\"id\",\"userId\",3,\"formControl\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"matInput\",\"\",\"type\",\"text\",\"aria-label\",\"Field with the name of the author\",3,\"formControl\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"id\",\"comment\",\"matInput\",\"\",\"matAutosizeMinRows\",\"4\",\"matAutosizeMaxRows\",\"4\",\"matTextareaAutosize\",\"\",\"cols\",\"50\",\"maxlength\",\"160\",\"aria-label\",\"Field for entering the comment or the feedback\",3,\"formControl\",\"placeholder\"],[\"comment\",\"\"],[\"align\",\"end\"],[\"translate\",\"\",4,\"ngIf\"],[1,\"rating-container\"],[\"translate\",\"\",2,\"font-weight\",\"500\",\"margin-right\",\"8px\",\"float\",\"left\"],[3,\"rate\",\"max\",\"rateChange\"],[2,\"margin-bottom\",\"10px\",\"margin-top\",\"10px\"],[2,\"font-weight\",\"500\"],[\"translate\",\"\",2,\"font-size\",\"small\"],[\"id\",\"captcha\",\"aria-label\",\"CAPTCHA code which must be solved\"],[2,\"font-size\",\"small\"],[\"id\",\"captchaControl\",\"matInput\",\"\",\"type\",\"text\",\"aria-label\",\"Field for the result of the CAPTCHA code\",\"pattern\",\"-?[\\\\d]*\",3,\"formControl\",\"placeholder\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to send the review\",3,\"disabled\",\"click\"],[1,\"material-icons\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"SECTION_CUSTOMER_FEEDBACK\"),a.Vb(),a.Wb(4,\"div\",3),a.Rb(5,\"input\",4),a.Wb(6,\"mat-form-field\",5),a.Wb(7,\"mat-label\",2),a.Jc(8,\"LABEL_AUTHOR\"),a.Vb(),a.Rb(9,\"input\",6),a.Vb(),a.Wb(10,\"mat-form-field\",5),a.Wb(11,\"mat-label\",2),a.Jc(12,\"LABEL_COMMENT\"),a.Vb(),a.Wb(13,\"mat-hint\",2),a.Rb(14,\"i\",7),a.Wb(15,\"em\",8),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Vb(),a.Rb(18,\"textarea\",9,10),a.jc(20,\"translate\"),a.Wb(21,\"mat-hint\",11),a.Jc(22),a.Vb(),a.Hc(23,Et,2,0,\"mat-error\",12),a.Vb(),a.Wb(24,\"div\",13),a.Wb(25,\"label\",14),a.Jc(26,\"LABEL_RATING\"),a.Vb(),a.Wb(27,\"bar-rating\",15),a.ec(\"rateChange\",(function(t){return e.rating=t})),a.Vb(),a.Vb(),a.Wb(28,\"div\",16),a.Wb(29,\"label\",17),a.Jc(30,\"CAPTCHA:\"),a.Vb(),a.Jc(31,\"\\xa0\\xa0\"),a.Wb(32,\"span\",18),a.Jc(33,\"LABEL_WHAT_IS\"),a.Vb(),a.Jc(34,\"\\xa0 \"),a.Wb(35,\"code\",19),a.Jc(36),a.Vb(),a.Jc(37,\"\\xa0\"),a.Wb(38,\"label\",20),a.Jc(39,\"?\"),a.Vb(),a.Vb(),a.Wb(40,\"mat-form-field\",5),a.Wb(41,\"mat-label\",2),a.Jc(42,\"LABEL_RESULT\"),a.Vb(),a.Rb(43,\"input\",21),a.jc(44,\"translate\"),a.Hc(45,Rt,2,0,\"mat-error\",12),a.Hc(46,Mt,2,0,\"mat-error\",12),a.Vb(),a.Vb(),a.Wb(47,\"button\",22),a.ec(\"click\",(function(){return e.save()})),a.Wb(48,\"i\",23),a.Jc(49,\" send \"),a.Vb(),a.Jc(50),a.jc(51,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(19);a.Db(5),a.oc(\"formControl\",e.userIdControl),a.Db(4),a.oc(\"formControl\",e.authorControl),a.Db(7),a.Kc(a.lc(17,16,\"MAX_TEXTAREA_LENGTH\",a.sc(25,Jt))),a.Db(2),a.pc(\"placeholder\",a.kc(20,19,\"WRITE_REVIEW_PLACEHOLDER\")),a.oc(\"formControl\",e.feedbackControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/160\"),a.Db(1),a.oc(\"ngIf\",e.feedbackControl.invalid&&e.feedbackControl.errors.required),a.Db(4),a.oc(\"rate\",e.rating)(\"max\",5),a.Db(9),a.Kc(e.captcha),a.Db(7),a.pc(\"placeholder\",a.kc(44,21,\"MANDATORY_CAPTCHA\")),a.oc(\"formControl\",e.captchaControl),a.Db(2),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.pattern),a.Db(1),a.oc(\"disabled\",e.authorControl.invalid||e.feedbackControl.invalid||e.captchaControl.invalid||!e.rating),a.Db(3),a.Lc(\" \",a.kc(51,23,\"BTN_SUBMIT\"),\" \")}},directives:[h.c,f.a,g.a,c.b,c.n,c.d,At.b,At.f,Tt.b,At.e,Tt.d,c.i,P.l,Pt.a,c.t,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:30%}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}.rating-container[_ngcontent-%COMP%]{margin-bottom:15px;margin-top:15px}.star[_ngcontent-%COMP%]{color:#c8c8c8}.active[_ngcontent-%COMP%], .select[_ngcontent-%COMP%]{color:gold}[_nghost-%COMP%]     .br{margin:0!important}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}\"]}),t})(),Nt=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/SecurityQuestions\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}findBy(t){return this.http.get(this.hostServer+\"/rest/user/security-question?email=\"+t).pipe(Object(s.a)(t=>t.question),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ft=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/user\"}erase(t){return this.http.post(this.host+\"/erasure-request\",t).pipe(Object(l.a)(t=>{throw t}))}dataExport(t){return this.http.post(this.host+\"/data-export\",t).pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function Bt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function Ut(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_EMAIL\"),a.Vb())}function jt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_SECURITY_ANSWER\"),a.Vb())}function Qt(t,e){if(1&t&&(a.Wb(0,\"div\",12),a.Wb(1,\"mat-form-field\",6),a.Wb(2,\"mat-label\"),a.Jc(3),a.Vb(),a.Rb(4,\"input\",13),a.Hc(5,jt,2,0,\"mat-error\",8),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(3),a.Kc(t.securityQuestion),a.Db(2),a.oc(\"ngIf\",t.securityQuestionForm)}}u.b.add(m.L,m.n),u.a.watch();let zt=(()=>{class t{constructor(t,e,i,a,o,n,r,s,l){this.securityQuestionService=t,this.dataSubjectService=e,this.ngZone=i,this.router=a,this.cookieService=o,this.userService=n,this.translateService=r,this.snackBar=s,this.snackBarHelperService=l,this.dataSubjectGroup=new c.f({emailControl:new c.c(\"\",[c.x.required,c.x.email]),securityQuestionControl:new c.c(\"\",[c.x.required])})}ngOnInit(){this.findSecurityQuestion()}get emailForm(){return this.dataSubjectGroup.get(\"emailControl\")}get securityQuestionForm(){return this.dataSubjectGroup.get(\"securityQuestionControl\")}findSecurityQuestion(){this.securityQuestion=void 0,this.emailForm.value&&this.securityQuestionService.findBy(this.emailForm.value).subscribe(t=>{t&&(this.securityQuestion=t.question)},t=>t)}save(){this.dataSubjectService.erase({email:this.emailForm.value,securityAnswer:this.securityQuestionForm.value}).subscribe(t=>{this.error=void 0,this.logout()},t=>{this.error=t.message,this.resetForm()})}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/\"])),this.snackBarHelperService.open(\"CONFIRM_ERASURE_REQUEST\")}noop(){}resetForm(){this.emailForm.markAsUntouched(),this.emailForm.markAsPristine(),this.emailForm.setValue(\"\"),this.securityQuestionForm.markAsUntouched(),this.securityQuestionForm.markAsPristine(),this.securityQuestionForm.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Nt),a.Qb(Ft),a.Qb(a.A),a.Qb(S.b),a.Qb(r.b),a.Qb(D),a.Qb(g.e),a.Qb(L.a),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-erasure-request\"]],decls:23,vars:10,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"data-subject-container\"],[1,\"error\",3,\"hidden\"],[\"id\",\"data-subject-form\",\"color\",\"warn\",1,\"form-container\",3,\"formGroup\",\"ngSubmit\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"email\",\"formControlName\",\"emailControl\",\"type\",\"text\",\"matInput\",\"\",\"placeholder\",\"Enter your email\",3,\"ngModelChange\"],[\"translate\",\"\",4,\"ngIf\"],[\"class\",\"form-container\",\"id\",\"forgot-form\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"deleteUserButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\"],[1,\"fas\",\"fa-exclamation-triangle\",\"fa-lg\"],[\"id\",\"forgot-form\",1,\"form-container\"],[\"id\",\"securityAnswer\",\"formControlName\",\"securityQuestionControl\",\"type\",\"password\",\"matInput\",\"\",\"placeholder\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"GDPR_HEADING\"),a.Vb(),a.Wb(4,\"p\",2),a.Jc(5,\"GDPR_MESSAGE\"),a.Vb(),a.Wb(6,\"h3\",2),a.Jc(7,\"DATA_SUBJECT_TITLE\"),a.Vb(),a.Wb(8,\"div\",3),a.Wb(9,\"div\",4),a.Jc(10),a.Vb(),a.Wb(11,\"form\",5),a.ec(\"ngSubmit\",(function(){return e.save()})),a.Wb(12,\"mat-form-field\",6),a.Wb(13,\"mat-label\",2),a.Jc(14,\"LABEL_EMAIL\"),a.Vb(),a.Wb(15,\"input\",7),a.ec(\"ngModelChange\",(function(){return e.findSecurityQuestion()})),a.Vb(),a.Hc(16,Bt,2,0,\"mat-error\",8),a.Hc(17,Ut,2,0,\"mat-error\",8),a.Vb(),a.Hc(18,Qt,6,2,\"div\",9),a.Wb(19,\"button\",10),a.Rb(20,\"i\",11),a.Jc(21),a.jc(22,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(9),a.oc(\"hidden\",!e.error),a.Db(1),a.Kc(e.error),a.Db(1),a.oc(\"formGroup\",e.dataSubjectGroup),a.Db(5),a.oc(\"ngIf\",e.emailForm.invalid&&e.emailForm.errors.required),a.Db(1),a.oc(\"ngIf\",e.emailForm.invalid&&e.emailForm.errors.email),a.Db(1),a.oc(\"ngIf\",e.securityQuestion),a.Db(1),a.oc(\"disabled\",e.emailForm.invalid||e.securityQuestionForm.invalid),a.Db(2),a.Lc(\" \",a.kc(22,8,\"DELETE_DATA_LABEL\"),\" \"))},directives:[h.c,f.a,g.a,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,P.l,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;margin-bottom:30px;min-width:320px;width:30%}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#deleteUserButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:1.2rem;width:60%}\"]}),t})();var Gt=i(\"QoAZ\");function qt(t,e){if(1&t&&(a.Wb(0,\"a\",14),a.Wb(1,\"button\",15),a.Rb(2,\"i\",16),a.Jc(3,\" Twitter\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.twitterUrl,a.Cc)}}function Yt(t,e){if(1&t&&(a.Wb(0,\"a\",17),a.Wb(1,\"button\",15),a.Rb(2,\"i\",18),a.Jc(3,\" Facebook\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.facebookUrl,a.Cc)}}function Kt(t,e){if(1&t&&(a.Wb(0,\"a\",19),a.Wb(1,\"button\",15),a.Rb(2,\"i\",20),a.Jc(3,\" Slack\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.slackUrl,a.Cc)}}function Xt(t,e){if(1&t&&(a.Wb(0,\"a\",21),a.Wb(1,\"button\",15),a.Rb(2,\"i\",22),a.Jc(3,\" Reddit\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.redditUrl,a.Cc)}}function $t(t,e){if(1&t&&(a.Wb(0,\"a\",23),a.Wb(1,\"button\",15),a.Rb(2,\"i\",24),a.Jc(3,\" Press Kit\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.pressKitUrl,a.Cc)}}function Zt(t,e){if(1&t&&(a.Wb(0,\"div\",8),a.Wb(1,\"h3\"),a.Wb(2,\"span\",3),a.Jc(3,\"SECTION_SOCIAL_MEDIA\"),a.Vb(),a.Vb(),a.Hc(4,qt,4,1,\"a\",9),a.Hc(5,Yt,4,1,\"a\",10),a.Hc(6,Kt,4,1,\"a\",11),a.Hc(7,Xt,4,1,\"a\",12),a.Hc(8,$t,4,1,\"a\",13),a.Vb()),2&t){const t=a.ic();a.Db(4),a.oc(\"ngIf\",t.twitterUrl),a.Db(1),a.oc(\"ngIf\",t.facebookUrl),a.Db(1),a.oc(\"ngIf\",t.slackUrl),a.Db(1),a.oc(\"ngIf\",t.redditUrl),a.Db(1),a.oc(\"ngIf\",t.pressKitUrl)}}u.b.add(d.c,d.k,d.i,d.h,p.e,p.f,m.L),u.a.watch();let te=(()=>{class t{constructor(t,e,i){this.configurationService=t,this.feedbackService=e,this.sanitizer=i,this.slideshowDataSource=[],this.images=[\"assets/public/images/carousel/1.jpg\",\"assets/public/images/carousel/2.jpg\",\"assets/public/images/carousel/3.jpg\",\"assets/public/images/carousel/4.jpg\",\"assets/public/images/carousel/5.png\",\"assets/public/images/carousel/6.jpg\",\"assets/public/images/carousel/7.jpg\"],this.stars=[null,'<i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i>']}ngOnInit(){this.populateSlideshowFromFeedbacks(),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&(t.application.social.twitterUrl&&(this.twitterUrl=t.application.social.twitterUrl),t.application.social.facebookUrl&&(this.facebookUrl=t.application.social.facebookUrl),t.application.social.slackUrl&&(this.slackUrl=t.application.social.slackUrl),t.application.social.redditUrl&&(this.redditUrl=t.application.social.redditUrl),t.application.social.pressKitUrl&&(this.pressKitUrl=t.application.social.pressKitUrl))},t=>console.log(t))}populateSlideshowFromFeedbacks(){this.feedbackService.find().subscribe(t=>{for(let e=0;e<t.length;e++)t[e].comment='<span style=\"width: 90%; display:block;\">'+t[e].comment+\"<br/> (\"+this.stars[t[e].rating]+\")<\/span>\",t[e].comment=this.sanitizer.bypassSecurityTrustHtml(t[e].comment),this.slideshowDataSource.push({url:this.images[e%this.images.length],caption:t[e].comment})},t=>{console.log(t)})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(kt),a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-about\"]],decls:17,vars:7,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[1,\"about-us\"],[\"translate\",\"\"],[1,\"text-justify\"],[\"href\",\"/ftp/legal.md\",\"aria-label\",\"Link to the Terms of Use\",\"translate\",\"\"],[3,\"height\",\"autoPlay\",\"arrowSize\",\"showArrows\",\"showDots\",\"imageUrls\"],[\"class\",\"social\",4,\"ngIf\"],[1,\"social\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"style\",\"margin-left: 0px;\",\"aria-label\",\"Button for the Twitter page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Facebook page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Slack page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Reddit page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the PressKit page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Twitter page of the shop\",2,\"margin-left\",\"0px\",3,\"href\"],[\"mat-raised-button\",\"\",\"color\",\"accent\"],[1,\"fab\",\"fa-twitter\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Facebook page of the shop\",3,\"href\"],[1,\"fab\",\"fa-facebook\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Slack page of the shop\",3,\"href\"],[1,\"fab\",\"fa-slack\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Reddit page of the shop\",3,\"href\"],[1,\"fab\",\"fa-reddit\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the PressKit page of the shop\",3,\"href\"],[1,\"far\",\"fa-newspaper\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"section\",2),a.Wb(3,\"h1\",3),a.Jc(4,\"TITLE_ABOUT\"),a.Vb(),a.Wb(5,\"h3\",3),a.Jc(6,\"SECTION_CORPORATE_HISTORY\"),a.Vb(),a.Wb(7,\"p\",4),a.Jc(8,\" Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. \"),a.Wb(9,\"a\",5),a.Jc(10,\"LINK_TERMS_OF_USE\"),a.Vb(),a.Jc(11,\" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. \"),a.Vb(),a.Wb(12,\"h3\"),a.Wb(13,\"span\",3),a.Jc(14,\"SECTION_CUSTOMER_FEEDBACK\"),a.Vb(),a.Vb(),a.Rb(15,\"slideshow\",6),a.Hc(16,Zt,9,5,\"div\",7),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(15),a.oc(\"height\",\"300px\")(\"autoPlay\",!0)(\"arrowSize\",\"10px\")(\"showArrows\",!0)(\"showDots\",!1)(\"imageUrls\",e.slideshowDataSource),a.Db(1),a.oc(\"ngIf\",e.twitterUrl||e.facebookUrl))},directives:[h.c,f.a,g.a,Gt.b,P.l,v.a],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-bottom:30px;margin-left:auto;margin-right:auto;width:80%}.about-us[_ngcontent-%COMP%]{margin-left:8.33333%;margin-right:8.33333%;width:83.3333%}.social[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin:5px}.text-justify[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}\"]}),t})(),ee=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/SecurityAnswers\"}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var ie=i(\"1jcm\"),ae=i(\"Rw1y\"),oe=i(\"d3UM\"),ne=i(\"FKr1\");function re(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function ce(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_EMAIL\"),a.Vb())}function se(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_PASSWORD \"),a.Vb())}const le=function(){return{length:\"5-20\"}};function be(t,e){1&t&&(a.Wb(0,\"mat-error\",30),a.Jc(1,\"INVALID_PASSWORD_LENGTH \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,le))}function ue(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_PASSWORD_REPEAT \"),a.Vb())}function de(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" PASSWORDS_NOT_MATCHING \"),a.Vb())}const me=function(){return{value:8}};function pe(t,e){if(1&t&&(a.Rb(0,\"mat-password-strength-info\",31),a.jc(1,\"translate\"),a.jc(2,\"translate\"),a.jc(3,\"translate\"),a.jc(4,\"translate\"),a.jc(5,\"translate\")),2&t){a.ic();const t=a.wc(41);a.oc(\"passwordComponent\",t)(\"lowerCaseCriteriaMsg\",a.kc(1,6,\"LOWER_CASE_CRITERIA_MSG\"))(\"upperCaseCriteriaMsg\",a.kc(2,8,\"UPPER_CASE_CRITERIA_MSG\"))(\"digitsCriteriaMsg\",a.kc(3,10,\"DIGITS_CRITERIA_MSG\"))(\"specialCharsCriteriaMsg\",a.kc(4,12,\"SPECIAL_CHARS_CRITERIA_MSG\"))(\"minCharsCriteriaMsg\",a.lc(5,14,\"MIN_CHARS_CRITERIA_MSG\",a.sc(17,me)))}}function he(t,e){if(1&t&&(a.Wb(0,\"mat-option\",32),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.oc(\"value\",t.id),a.Db(1),a.Lc(\" \",t.question,\" \")}}function fe(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_SECURITY_QUESTION \"),a.Vb())}function ge(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_SECURITY_ANSWER \"),a.Vb())}u.b.add(m.gb,m.m),u.a.watch();let ve=(()=>{class t{constructor(t,e,i,a,o,n,r,s,l){var b;this.securityQuestionService=t,this.userService=e,this.securityAnswerService=i,this.router=a,this.formSubmitService=o,this.translateService=n,this.snackBar=r,this.snackBarHelperService=s,this.ngZone=l,this.emailControl=new c.c(\"\",[c.x.required,c.x.email]),this.passwordControl=new c.c(\"\",[c.x.required,c.x.minLength(5),c.x.maxLength(20)]),this.repeatPasswordControl=new c.c(\"\",[c.x.required,(b=this.passwordControl,function(t){return b.value!==t.value?{notSame:!0}:null})]),this.securityQuestionControl=new c.c(\"\",[c.x.required]),this.securityAnswerControl=new c.c(\"\",[c.x.required]),this.error=null}ngOnInit(){this.securityQuestionService.find(null).subscribe(t=>{this.securityQuestions=t},t=>console.log(t)),this.formSubmitService.attachEnterKeyHandler(\"registration-form\",\"registerButton\",()=>this.save())}save(){const t={email:this.emailControl.value,password:this.passwordControl.value,passwordRepeat:this.repeatPasswordControl.value,securityQuestion:this.securityQuestions.find(t=>t.id===this.securityQuestionControl.value),securityAnswer:this.securityAnswerControl.value};this.userService.save(t).subscribe(t=>{this.securityAnswerService.save({UserId:t.id,answer:this.securityAnswerControl.value,SecurityQuestionId:this.securityQuestionControl.value}).subscribe(()=>{this.ngZone.run(()=>this.router.navigate([\"/login\"])),this.snackBarHelperService.open(\"CONFIRM_REGISTER\")})},t=>{if(console.log(t),t.error&&t.error.errors){const e=t.error.errors[0];this.error=e.message?e.message[0].toUpperCase()+e.message.slice(1):e}})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Nt),a.Qb(D),a.Qb(ee),a.Qb(S.b),a.Qb(Lt),a.Qb(g.e),a.Qb(L.a),a.Qb(A),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-register\"]],decls:69,vars:39,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"ng-if\",\"error\",1,\"error\"],[\"id\",\"registration-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"emailControl\",\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Email address field\",3,\"formControl\",\"focus\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"passwordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field for the password\",3,\"formControl\",\"focus\"],[\"password\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"align\",\"end\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[\"id\",\"repeatPasswordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to confirm the password\",3,\"formControl\",\"focus\"],[\"repeatPassword\",\"\"],[3,\"color\"],[\"passwordInfoToggle\",\"\"],[3,\"password\"],[\"passwordStrength\",\"\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\",4,\"ngIf\"],[1,\"security-container\"],[\"color\",\"accent\",\"appearance\",\"outline\"],[\"placeholder\",\"\",\"name\",\"securityQuestion\",\"aria-label\",\"Selection list for the security question\",3,\"formControl\",\"value\",\"valueChange\",\"focus\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[\"id\",\"securityAnswerControl\",\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Field for the answer to the security question\",3,\"formControl\",\"placeholder\",\"focus\"],[\"type\",\"submit\",\"id\",\"registerButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to complete the registration\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[\"id\",\"alreadyACustomerLink\"],[\"routerLink\",\"/login\",\"translate\",\"\",1,\"primary-link\"],[\"translate\",\"\",3,\"translateParams\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\"],[3,\"value\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_REGISTRATION\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Wb(6,\"div\",4),a.Wb(7,\"mat-form-field\",5),a.Wb(8,\"mat-label\",2),a.Jc(9,\"LABEL_EMAIL\"),a.Vb(),a.Wb(10,\"input\",6),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Hc(11,re,2,0,\"mat-error\",7),a.Hc(12,ce,2,0,\"mat-error\",7),a.Vb(),a.Wb(13,\"mat-form-field\",5),a.Wb(14,\"mat-label\",2),a.Jc(15,\"LABEL_PASSWORD\"),a.Vb(),a.Wb(16,\"input\",8,9),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Wb(18,\"mat-hint\",2),a.Rb(19,\"i\",10),a.Wb(20,\"em\",11),a.Jc(21),a.jc(22,\"translate\"),a.Vb(),a.Vb(),a.Wb(23,\"mat-hint\",12),a.Jc(24),a.Vb(),a.Hc(25,se,2,0,\"mat-error\",7),a.Hc(26,be,2,2,\"mat-error\",13),a.Vb(),a.Wb(27,\"mat-form-field\",5),a.Wb(28,\"mat-label\",2),a.Jc(29,\"LABEL_PASSWORD_REPEAT\"),a.Vb(),a.Wb(30,\"input\",14,15),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Wb(32,\"mat-hint\",12),a.Jc(33),a.Vb(),a.Hc(34,ue,2,0,\"mat-error\",7),a.Hc(35,de,2,0,\"mat-error\",7),a.Vb(),a.Wb(36,\"mat-slide-toggle\",16,17),a.Jc(38),a.jc(39,\"translate\"),a.Vb(),a.Rb(40,\"mat-password-strength\",18,19),a.Hc(42,pe,6,18,\"mat-password-strength-info\",20),a.Wb(43,\"div\",21),a.Wb(44,\"mat-form-field\",22),a.Wb(45,\"mat-label\"),a.Jc(46),a.jc(47,\"translate\"),a.Vb(),a.Wb(48,\"mat-select\",23),a.ec(\"valueChange\",(function(t){return e.selected=t}))(\"focus\",(function(){return e.error=null})),a.Hc(49,he,2,2,\"mat-option\",24),a.Vb(),a.Wb(50,\"mat-hint\",2),a.Rb(51,\"i\",10),a.Wb(52,\"em\",11),a.Jc(53,\"CANNOT_BE_CHANGED_LATER\"),a.Vb(),a.Vb(),a.Hc(54,fe,2,0,\"mat-error\",7),a.Vb(),a.Wb(55,\"mat-form-field\",5),a.Wb(56,\"mat-label\",2),a.Jc(57,\"SECURITY_ANSWER\"),a.Vb(),a.Wb(58,\"input\",25),a.ec(\"focus\",(function(){return e.error=null})),a.jc(59,\"translate\"),a.Vb(),a.Hc(60,ge,2,0,\"mat-error\",7),a.Vb(),a.Vb(),a.Wb(61,\"button\",26),a.ec(\"click\",(function(){return e.save()})),a.Wb(62,\"i\",27),a.Jc(63,\" person_add \"),a.Vb(),a.Jc(64),a.jc(65,\"translate\"),a.Vb(),a.Wb(66,\"div\",28),a.Wb(67,\"a\",29),a.Jc(68,\"ALREADY_A_CUSTOMER\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(17),i=a.wc(31),o=a.wc(37),n=a.wc(41);a.Db(5),a.Kc(e.error),a.Db(5),a.oc(\"formControl\",e.emailControl),a.Db(1),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.email),a.Db(4),a.oc(\"formControl\",e.passwordControl),a.Db(5),a.Kc(a.lc(22,27,\"INVALID_PASSWORD_LENGTH\",a.sc(38,le))),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid&&e.passwordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid&&(e.passwordControl.errors.minlength||e.passwordControl.errors.maxlength)),a.Db(4),a.oc(\"formControl\",e.repeatPasswordControl),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.notSame),a.Db(1),a.oc(\"color\",n.color),a.Db(2),a.Kc(a.kc(39,30,\"SHOW_PASSWORD_ADVICE\")),a.Db(2),a.oc(\"password\",t.value),a.Db(2),a.oc(\"ngIf\",o.checked),a.Db(4),a.Lc(\" \",a.kc(47,32,\"LABEL_SECURITY_QUESTION\"),\" \"),a.Db(2),a.oc(\"formControl\",e.securityQuestionControl)(\"value\",e.selected),a.Db(1),a.oc(\"ngForOf\",e.securityQuestions),a.Db(5),a.oc(\"ngIf\",e.securityQuestionControl.invalid&&e.securityQuestionControl.errors.required),a.Db(4),a.oc(\"formControl\",e.securityAnswerControl)(\"placeholder\",a.kc(59,34,\"SECURITY_ANSWER_PLACEHOLDER\")),a.Db(2),a.oc(\"ngIf\",e.securityAnswerControl.invalid&&e.securityAnswerControl.errors.required),a.Db(1),a.oc(\"disabled\",e.emailControl.invalid||e.passwordControl.invalid||e.repeatPasswordControl.invalid||e.securityQuestionControl.invalid||e.securityAnswerControl.invalid),a.Db(3),a.Lc(\" \",a.kc(65,36,\"BTN_REGISTER\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,P.l,At.e,ie.a,ae.a,oe.a,P.k,v.a,S.d,At.a,ae.b,ne.k],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#registerButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}#alreadyACustomerLink[_ngcontent-%COMP%]{align-self:center;font-size:12px;margin-top:40px}.security-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}  mat-option .mat-option-text{font-size:14px}\"]}),t})();var Ce=i(\"NFeN\"),we=i(\"Qu3c\");function ye(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function De(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_EMAIL\"),a.Vb())}function Se(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_SECURITY_ANSWER \"),a.Vb())}function We(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_NEW_PASSWORD \"),a.Vb())}function xe(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_PASSWORD_REPEAT \"),a.Vb())}function Ve(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" PASSWORDS_NOT_MATCHING \"),a.Vb())}const Ie=function(){return{length:\"5-20\"}};function _e(t,e){1&t&&(a.Wb(0,\"mat-error\",28),a.Jc(1,\"INVALID_PASSWORD_LENGTH \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Ie))}const ke=function(){return{value:8}};function Oe(t,e){if(1&t&&(a.Rb(0,\"mat-password-strength-info\",29),a.jc(1,\"translate\"),a.jc(2,\"translate\"),a.jc(3,\"translate\"),a.jc(4,\"translate\"),a.jc(5,\"translate\")),2&t){a.ic();const t=a.wc(55);a.oc(\"passwordComponent\",t)(\"lowerCaseCriteriaMsg\",a.kc(1,6,\"LOWER_CASE_CRITERIA_MSG\"))(\"upperCaseCriteriaMsg\",a.kc(2,8,\"UPPER_CASE_CRITERIA_MSG\"))(\"digitsCriteriaMsg\",a.kc(3,10,\"DIGITS_CRITERIA_MSG\"))(\"specialCharsCriteriaMsg\",a.kc(4,12,\"SPECIAL_CHARS_CRITERIA_MSG\"))(\"minCharsCriteriaMsg\",a.lc(5,14,\"MIN_CHARS_CRITERIA_MSG\",a.sc(17,ke)))}}u.b.add(m.G,p.c),u.a.watch();let Le=(()=>{class t{constructor(t,e,i){var a;this.securityQuestionService=t,this.userService=e,this.translate=i,this.emailControl=new c.c(\"\",[c.x.required,c.x.email]),this.securityQuestionControl=new c.c({disabled:!0,value:\"\"},[c.x.required]),this.passwordControl=new c.c({disabled:!0,value:\"\"},[c.x.required,c.x.minLength(5)]),this.repeatPasswordControl=new c.c({disabled:!0,value:\"\"},[c.x.required,(a=this.passwordControl,function(t){return a.value!==t.value?{notSame:!0}:null})])}findSecurityQuestion(){this.securityQuestion=void 0,this.emailControl.value?this.securityQuestionService.findBy(this.emailControl.value).subscribe(t=>{t?(this.securityQuestion=t.question,this.securityQuestionControl.enable(),this.passwordControl.enable(),this.repeatPasswordControl.enable()):(this.securityQuestionControl.disable(),this.passwordControl.disable(),this.repeatPasswordControl.disable())},t=>t):(this.securityQuestionControl.disable(),this.passwordControl.disable(),this.repeatPasswordControl.disable())}resetPassword(){this.userService.resetPassword({email:this.emailControl.value,answer:this.securityQuestionControl.value,new:this.passwordControl.value,repeat:this.repeatPasswordControl.value}).subscribe(()=>{this.error=void 0,this.translate.get(\"PASSWORD_SUCCESSFULLY_CHANGED\").subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}),this.resetForm()},t=>{this.error=t.error,this.confirmation=void 0,this.resetErrorForm()})}resetForm(){this.emailControl.setValue(\"\"),this.emailControl.markAsPristine(),this.emailControl.markAsUntouched(),this.securityQuestionControl.setValue(\"\"),this.securityQuestionControl.markAsPristine(),this.securityQuestionControl.markAsUntouched(),this.passwordControl.setValue(\"\"),this.passwordControl.markAsPristine(),this.passwordControl.markAsUntouched(),this.repeatPasswordControl.setValue(\"\"),this.repeatPasswordControl.markAsPristine(),this.repeatPasswordControl.markAsUntouched()}resetErrorForm(){this.emailControl.markAsPristine(),this.emailControl.markAsUntouched(),this.securityQuestionControl.setValue(\"\"),this.securityQuestionControl.markAsPristine(),this.securityQuestionControl.markAsUntouched(),this.passwordControl.setValue(\"\"),this.passwordControl.markAsPristine(),this.passwordControl.markAsUntouched(),this.repeatPasswordControl.setValue(\"\"),this.repeatPasswordControl.markAsPristine(),this.repeatPasswordControl.markAsUntouched()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Nt),a.Qb(D),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-forgot-password\"]],decls:61,vars:39,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"confirmation\",3,\"hidden\"],[1,\"error\",3,\"hidden\"],[1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"email\",\"type\",\"email\",\"matInput\",\"\",\"placeholder\",\"Enter your email\",\"aria-label\",\"Email address field\",3,\"formControl\",\"ngModelChange\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"Please enter your email address to proceed\",3,\"matTooltip\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"forgot-form\",1,\"form-container\"],[\"id\",\"securityAnswer\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field for the answer to the security question\",3,\"formControl\",\"placeholder\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"Please answer your selected security question\",3,\"matTooltip\"],[\"id\",\"newPassword\",\"type\",\"password\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Field for New Password\",3,\"formControl\"],[\"password\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"align\",\"end\"],[\"id\",\"newPasswordRepeat\",\"type\",\"password\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Field to confirm the new password\",3,\"formControl\"],[\"repeatPassword\",\"\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[3,\"color\"],[\"passwordInfoToggle\",\"\"],[3,\"password\"],[\"passwordStrength\",\"\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"resetButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to confirm the changes\",3,\"disabled\",\"click\"],[\"aria-hidden\",\"true\",1,\"far\",\"fa-edit\",\"fa-lg\"],[\"translate\",\"\",3,\"translateParams\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_FORGOT_PASSWORD\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Wb(6,\"div\",4),a.Jc(7),a.Vb(),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_EMAIL\"),a.Vb(),a.Wb(12,\"input\",7),a.ec(\"ngModelChange\",(function(){return e.findSecurityQuestion()})),a.Vb(),a.Wb(13,\"mat-icon\",8),a.jc(14,\"translate\"),a.Jc(15,\"help_outline \"),a.Vb(),a.Hc(16,ye,2,0,\"mat-error\",9),a.Hc(17,De,2,0,\"mat-error\",9),a.Vb(),a.Vb(),a.Wb(18,\"div\",10),a.Wb(19,\"mat-form-field\",6),a.Wb(20,\"mat-label\",2),a.Jc(21,\"LABEL_SECURITY_QUESTION\"),a.Vb(),a.Rb(22,\"input\",11),a.Wb(23,\"mat-icon\",12),a.jc(24,\"translate\"),a.Jc(25,\"help_outline \"),a.Vb(),a.Hc(26,Se,2,0,\"mat-error\",9),a.Vb(),a.Wb(27,\"mat-form-field\",6),a.Wb(28,\"mat-label\",2),a.Jc(29,\"LABEL_NEW_PASSWORD\"),a.Vb(),a.Rb(30,\"input\",13,14),a.Wb(32,\"mat-hint\",2),a.Rb(33,\"i\",15),a.Wb(34,\"em\",16),a.Jc(35),a.jc(36,\"translate\"),a.Vb(),a.Vb(),a.Wb(37,\"mat-hint\",17),a.Jc(38),a.Vb(),a.Hc(39,We,2,0,\"mat-error\",9),a.Vb(),a.Wb(40,\"mat-form-field\",6),a.Wb(41,\"mat-label\",2),a.Jc(42,\"LABEL_REPEAT_NEW_PASSWORD\"),a.Vb(),a.Rb(43,\"input\",18,19),a.Wb(45,\"mat-hint\",17),a.Jc(46),a.Vb(),a.Hc(47,xe,2,0,\"mat-error\",9),a.Hc(48,Ve,2,0,\"mat-error\",9),a.Hc(49,_e,2,2,\"mat-error\",20),a.Vb(),a.Wb(50,\"mat-slide-toggle\",21,22),a.Jc(52),a.jc(53,\"translate\"),a.Vb(),a.Rb(54,\"mat-password-strength\",23,24),a.Hc(56,Oe,6,18,\"mat-password-strength-info\",25),a.Vb(),a.Wb(57,\"button\",26),a.ec(\"click\",(function(){return e.resetPassword()})),a.Rb(58,\"i\",27),a.Jc(59),a.jc(60,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(31),i=a.wc(44),o=a.wc(51),n=a.wc(55);a.Db(4),a.oc(\"hidden\",!(e.confirmation&&!e.emailControl.dirty&&!e.securityQuestionControl.dirty&&!e.passwordControl.dirty&&!e.repeatPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.confirmation,\" \"),a.Db(1),a.oc(\"hidden\",!(e.error&&!e.emailControl.dirty&&!e.securityQuestionControl.dirty&&!e.passwordControl.dirty&&!e.repeatPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.error,\" \"),a.Db(5),a.oc(\"formControl\",e.emailControl),a.Db(1),a.pc(\"matTooltip\",a.kc(14,27,\"MANDATORY_EMAIL\")),a.Db(3),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.email),a.Db(5),a.pc(\"placeholder\",e.securityQuestion),a.oc(\"formControl\",e.securityQuestionControl),a.Db(1),a.pc(\"matTooltip\",a.kc(24,29,\"MANDATORY_SECURITY_ANSWER\")),a.Db(3),a.oc(\"ngIf\",e.securityQuestionControl.invalid&&e.securityQuestionControl.errors.required),a.Db(4),a.oc(\"formControl\",e.passwordControl),a.Db(5),a.Kc(a.lc(36,31,\"INVALID_PASSWORD_LENGTH\",a.sc(38,Ie))),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid&&e.passwordControl.errors.required),a.Db(4),a.oc(\"formControl\",e.repeatPasswordControl),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.notSame),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&((null==e.repeatPasswordControl?null:e.repeatPasswordControl.errors.minlength)||(null==e.repeatPasswordControl?null:e.repeatPasswordControl.errors.maxlength))),a.Db(1),a.oc(\"color\",n.color),a.Db(2),a.Kc(a.kc(53,34,\"SHOW_PASSWORD_ADVICE\")),a.Db(2),a.oc(\"password\",t.value),a.Db(2),a.oc(\"ngIf\",o.checked),a.Db(1),a.oc(\"disabled\",e.emailControl.invalid||e.securityQuestionControl.invalid||e.passwordControl.invalid||e.repeatPasswordControl.invalid||e.repeatPasswordControl.disabled),a.Db(2),a.Lc(\" \",a.kc(60,36,\"BTN_CHANGE\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,Ce.a,At.g,we.a,P.l,At.e,ie.a,ae.a,v.a,At.a,ae.b],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}button[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;margin-top:30px;width:60%}\"]}),t})();var Ae=i(\"0IaG\");let Te=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/products\"}get(t){return this.http.get(this.host+\"/\"+t+\"/reviews\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}create(t,e){return this.http.put(this.host+\"/\"+t+\"/reviews\",e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}patch(t){return this.http.patch(this.host+\"/reviews\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}like(t){return this.http.post(this.host+\"/reviews\",{id:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function Pe(t,e){1&t&&(a.Wb(0,\"mat-error\",1),a.Jc(1,\"MANDATORY_REVIEW\"),a.Vb())}u.b.add(m.C,m.b),u.a.watch();let Ee=(()=>{class t{constructor(t,e,i,a,o){this.data=t,this.productReviewService=e,this.dialogRef=i,this.snackBar=a,this.snackBarHelperService=o,this.editReviewControl=new c.c(\"\",[c.x.required,c.x.minLength(1),c.x.maxLength(160)]),this.error=null}ngOnInit(){this.editReviewControl.setValue(this.data.reviewData.message)}editReview(){this.productReviewService.patch({id:this.data.reviewData._id,message:this.editReviewControl.value}).subscribe(()=>{this.dialogRef.close()},t=>{console.log(t),this.error=t}),this.snackBarHelperService.open(\"CONFIRM_CHANGES_SAVED\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.a),a.Qb(Te),a.Qb(Ae.g),a.Qb(L.a),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-product-review-edit\"]],decls:27,vars:13,consts:[[\"fxLayout\",\"column\",1,\"container\",\"mat-typography\"],[\"translate\",\"\"],[\"appearance\",\"outline\",\"color\",\"accent\",\"hintLabel\",\"Max 160 characters\",\"floatLabel\",\"always\"],[\"matInput\",\"\",\"matTextareaAutosize\",\"\",\"matAutosizeMinRows\",\"2\",\"maxlength\",\"160\",\"matAutosizeMaxRows\",\"4\",\"aria-label\",\"Text field to edit a product review\",3,\"formControl\",\"placeholder\",\"focus\"],[\"textPut\",\"\"],[\"align\",\"end\"],[\"translate\",\"\",4,\"ngIf\"],[\"mat-stroked-button\",\"\",\"mat-dialog-close\",\"\",\"aria-label\",\"Close Dialog\",1,\"close-dialog\"],[1,\"material-icons\"],[\"type\",\"submit\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Send the review\",2,\"margin-left\",\"5px\",3,\"disabled\",\"click\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"mat-dialog-content\"),a.Wb(1,\"div\",0),a.Wb(2,\"h1\",1),a.Jc(3,\"LABEL_EDIT_REVIEW\"),a.Vb(),a.Wb(4,\"div\"),a.Wb(5,\"mat-form-field\",2),a.Wb(6,\"mat-label\",1),a.Jc(7,\"LABEL_REVIEW\"),a.Vb(),a.Wb(8,\"textarea\",3,4),a.ec(\"focus\",(function(){return e.error=null})),a.jc(10,\"translate\"),a.Vb(),a.Wb(11,\"mat-hint\",5),a.Jc(12),a.Vb(),a.Hc(13,Pe,2,0,\"mat-error\",6),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(14,\"mat-dialog-actions\",5),a.Wb(15,\"button\",7),a.Wb(16,\"i\",8),a.Jc(17,\" close \"),a.Vb(),a.Wb(18,\"span\"),a.Jc(19),a.jc(20,\"translate\"),a.Vb(),a.Vb(),a.Wb(21,\"button\",9),a.ec(\"click\",(function(){return e.editReview()})),a.Wb(22,\"i\",8),a.Jc(23,\" send \"),a.Vb(),a.Wb(24,\"span\"),a.Jc(25),a.jc(26,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(9);a.Db(8),a.pc(\"placeholder\",a.kc(10,7,\"WRITE_REVIEW_PLACEHOLDER\")),a.oc(\"formControl\",e.editReviewControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/160\"),a.Db(1),a.oc(\"ngIf\",e.editReviewControl.invalid),a.Db(6),a.Lc(\" \",a.kc(20,9,\"BTN_CLOSE\"),\"\"),a.Db(2),a.oc(\"disabled\",e.editReviewControl.invalid),a.Db(4),a.Lc(\" \",a.kc(26,11,\"BTN_SUBMIT\"),\"\")}},directives:[Ae.e,h.d,g.a,At.b,At.f,Tt.b,Tt.d,c.b,c.i,c.n,c.d,At.e,P.l,Ae.c,v.a,Ae.d,At.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{width:100%}\"]}),t})();var Re=i(\"f0Cb\"),Me=i(\"7EHt\");function Je(t,e){if(1&t&&(a.Wb(0,\"div\",24),a.jc(1,\"translate\"),a.Wb(2,\"span\",25),a.Rb(3,\"i\",26),a.Wb(4,\"span\",27),a.Jc(5),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.pc(\"matTooltip\",a.kc(1,2,\"LABEL_BONUS\")),a.Db(5),a.Kc(t.data.productData.points)}}function He(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",29),a.Wb(1,\"div\",30),a.Wb(2,\"div\",31),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit,o=a.ic(2);return\"Anonymous\"!==i.author&&i.author===o.author&&o.editReview(i)})),a.jc(3,\"translate\"),a.Wb(4,\"cite\"),a.Jc(5),a.Vb(),a.Wb(6,\"p\"),a.Jc(7),a.Vb(),a.Vb(),a.Wb(8,\"div\"),a.Wb(9,\"button\",32),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).likeReview(i)})),a.Wb(10,\"span\",25),a.Wb(11,\"mat-icon\"),a.Jc(12,\"thumb_up\"),a.Vb(),a.Wb(13,\"span\",33),a.Jc(14),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic(2);a.Db(2),a.pc(\"matTooltipDisabled\",t.author!==i.author),a.pc(\"matTooltip\",a.kc(3,6,\"LABEL_EDIT_REVIEW\")),a.Db(3),a.Kc(t.author),a.Db(2),a.Kc(t.message),a.Db(2),a.oc(\"disabled\",t.liked||!i.isLoggedIn()),a.Db(5),a.Kc(t.likesCount)}}function Ne(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Hc(1,He,15,8,\"div\",28),a.jc(2,\"async\"),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngForOf\",a.kc(2,1,t.reviews$))}}function Fe(t,e){1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"span\",34),a.Jc(2,\" EMPTY_REVIEW_LIST \"),a.Vb(),a.Vb())}const Be=function(){return{length:\"160\"}};u.b.add(m.C,m.b,m.fb,m.T,m.l),u.a.watch();let Ue=(()=>{class t{constructor(t,e,i,a,o,n){this.dialog=t,this.data=e,this.productReviewService=i,this.userService=a,this.snackBar=o,this.snackBarHelperService=n,this.author=\"Anonymous\",this.reviewControl=new c.c(\"\",[c.x.maxLength(160)])}ngOnInit(){this.data.productData.points=Math.round(this.data.productData.price/10),this.reviews$=this.productReviewService.get(this.data.productData.id),this.userSubscription=this.userService.whoAmI().subscribe(t=>{this.author=t&&t.email?t.email:\"Anonymous\"},t=>console.log(t))}ngOnDestroy(){this.userSubscription&&this.userSubscription.unsubscribe()}addReview(t){const e={message:t.value,author:this.author};t.value=\"\",this.productReviewService.create(this.data.productData.id,e).subscribe(()=>{this.reviews$=this.productReviewService.get(this.data.productData.id)},t=>console.log(t)),this.snackBarHelperService.open(\"CONFIRM_REVIEW_SAVED\")}editReview(t){this.dialog.open(Ee,{width:\"500px\",height:\"max-content\",data:{reviewData:t}}).afterClosed().subscribe(()=>this.reviews$=this.productReviewService.get(this.data.productData.id))}likeReview(t){this.productReviewService.like(t._id).subscribe(()=>{console.log(\"Liked \"+t._id)}),setTimeout(()=>this.reviews$=this.productReviewService.get(this.data.productData.id),200)}isLoggedIn(){return localStorage.getItem(\"token\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.b),a.Qb(Ae.a),a.Qb(Te),a.Qb(D),a.Qb(L.a),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-product-details\"]],decls:59,vars:36,consts:[[\"fxLayout\",\"column\",1,\"container\",\"mat-typography\"],[\"fxLayout\",\"row\",\"fxLayout.lt-sm\",\"column\",\"fxLayoutGap\",\"20px\"],[\"fxFlex\",\"noshrink\"],[1,\"img-thumbnail\",3,\"src\",\"alt\"],[3,\"innerHTML\"],[1,\"item-price\"],[\"aria-label\",\"Bonus points when buying the product\",3,\"matTooltip\",4,\"ngIf\"],[1,\"detail-divider\"],[\"mat-button\",\"\",2,\"height\",\"0\",\"position\",\"absolute\"],[\"aria-label\",\"Expand for Reviews\",1,\"mat-elevation-z0\"],[\"translate\",\"\",2,\"margin-right\",\"5px\"],[4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[\"translate\",\"\"],[\"appearance\",\"outline\",\"color\",\"accent\",\"floatLabel\",\"always\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"cols\",\"50\",\"matInput\",\"\",\"matTextareaAutosize\",\"\",\"matAutosizeMinRows\",\"2\",\"maxlength\",\"160\",\"matAutosizeMaxRows\",\"4\",\"aria-label\",\"Text field to review a product\",3,\"formControl\",\"placeholder\"],[\"textPut\",\"\"],[\"align\",\"end\"],[\"align\",\"end\",1,\"dialogAction\"],[\"mat-stroked-button\",\"\",\"mat-dialog-close\",\"\",\"aria-label\",\"Close Dialog\",1,\"close-dialog\",\"buttons\"],[1,\"material-icons\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Send the review\",1,\"buttons\",2,\"margin-bottom\",\"5px\",\"margin-top\",\"5px\",\"margin-left\",\"5px\",3,\"disabled\",\"click\"],[\"aria-label\",\"Bonus points when buying the product\",3,\"matTooltip\"],[1,\"fa-2x\",\"fa-layers\",\"fa-fw\"],[1,\"fas\",\"fa-crown\"],[1,\"fa-layers-counter\",\"fa-layers-bottom-left\",\"fa-2x\",\"warn-notification\",2,\"font-size\",\"47px\"],[\"class\",\"comment\",4,\"ngFor\",\"ngForOf\"],[1,\"comment\"],[\"fxLayout\",\"row\"],[\"matTooltipPosition\",\"right\",1,\"review-text\",3,\"matTooltipDisabled\",\"matTooltip\",\"click\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Rate a helpful review\",1,\"rw-button\",3,\"disabled\",\"click\"],[1,\"fa-layers-counter\",\"fa-layers-bottom-right\",\"accent-notification\",2,\"font-size\",\"32px\"],[\"translate\",\"\",1,\"noResultText\"]],template:function(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-dialog-content\"),a.Wb(1,\"div\",0),a.Wb(2,\"div\",1),a.Wb(3,\"div\",2),a.Rb(4,\"img\",3),a.Vb(),a.Wb(5,\"div\"),a.Wb(6,\"h1\"),a.Jc(7),a.Vb(),a.Rb(8,\"div\",4),a.Rb(9,\"br\"),a.Wb(10,\"div\"),a.Wb(11,\"p\",5),a.Jc(12),a.Vb(),a.Hc(13,Je,6,4,\"div\",6),a.Vb(),a.Vb(),a.Vb(),a.Rb(14,\"mat-divider\",7),a.Rb(15,\"button\",8),a.Wb(16,\"mat-expansion-panel\",9),a.Wb(17,\"mat-expansion-panel-header\"),a.Wb(18,\"mat-panel-title\"),a.Wb(19,\"span\",10),a.Jc(20,\"LABEL_REVIEWS\"),a.Vb(),a.Wb(21,\"span\"),a.Jc(22),a.jc(23,\"async\"),a.Vb(),a.Vb(),a.Vb(),a.Rb(24,\"button\",8),a.Hc(25,Ne,3,3,\"div\",11),a.jc(26,\"async\"),a.Hc(27,Fe,3,0,\"ng-template\",null,12,a.Ic),a.Vb(),a.Wb(29,\"div\"),a.Rb(30,\"mat-divider\",7),a.Wb(31,\"h4\",13),a.Jc(32,\"WRITE_REVIEW\"),a.Vb(),a.Wb(33,\"mat-form-field\",14),a.Wb(34,\"mat-label\",13),a.Jc(35,\"LABEL_REVIEW\"),a.Vb(),a.Wb(36,\"mat-hint\",13),a.Rb(37,\"i\",15),a.Wb(38,\"em\",16),a.Jc(39),a.jc(40,\"translate\"),a.Vb(),a.Vb(),a.Rb(41,\"textarea\",17,18),a.jc(43,\"translate\"),a.Wb(44,\"mat-hint\",19),a.Jc(45),a.Vb(),a.Vb(),a.Wb(46,\"mat-dialog-actions\",20),a.Wb(47,\"button\",21),a.Wb(48,\"i\",22),a.Jc(49,\" close \"),a.Vb(),a.Wb(50,\"span\"),a.Jc(51),a.jc(52,\"translate\"),a.Vb(),a.Vb(),a.Wb(53,\"button\",23),a.ec(\"click\",(function(){a.zc(t);const i=a.wc(42);return e.addReview(i)})),a.Wb(54,\"i\",22),a.Jc(55,\" send \"),a.Vb(),a.Wb(56,\"span\"),a.Jc(57),a.jc(58,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.wc(28),n=a.wc(42);var i,o;const r=(null==(o=a.kc(26,24,e.reviews$))?null:o.length)>=1;a.Db(4),a.pc(\"alt\",e.data.productData.name),a.oc(\"src\",\"assets/public/images/products/\"+e.data.productData.image,a.Cc),a.Db(3),a.Kc(e.data.productData.name),a.Db(1),a.oc(\"innerHTML\",e.data.productData.description,a.Ac),a.Db(4),a.Lc(\"\",e.data.productData.price,\"\\xa4\"),a.Db(1),a.oc(\"ngIf\",e.data.productData.points>0),a.Db(9),a.Lc(\"(\",null==(i=a.kc(23,22,e.reviews$))?null:i.length,\")\"),a.Db(3),a.oc(\"ngIf\",r)(\"ngIfElse\",t),a.Db(6),a.Gc(\"display\",e.isLoggedIn()?\"block\":\"none\"),a.Db(2),a.Gc(\"display\",e.isLoggedIn()?\"block\":\"none\"),a.Db(6),a.Kc(a.lc(40,26,\"MAX_TEXTAREA_LENGTH\",a.sc(35,Be))),a.Db(2),a.pc(\"placeholder\",a.kc(43,29,\"WRITE_REVIEW_PLACEHOLDER\")),a.oc(\"formControl\",e.reviewControl),a.Db(4),a.Lc(\"\",(null==n.value?null:n.value.length)||0,\"/160\"),a.Db(6),a.Lc(\" \",a.kc(52,31,\"BTN_CLOSE\"),\"\"),a.Db(2),a.Gc(\"display\",e.isLoggedIn()?\"block\":\"none\"),a.oc(\"disabled\",!n.value.trim()),a.Db(4),a.Lc(\" \",a.kc(58,33,\"BTN_SUBMIT\"),\" \")}},directives:[Ae.e,h.d,h.e,h.b,P.l,Re.a,v.a,Me.b,Me.d,Me.e,g.a,At.b,At.f,At.e,Tt.b,Tt.d,c.b,c.i,c.n,c.d,Ae.c,Ae.d,we.a,P.k,Ce.a],pipes:[P.b,g.d],styles:[\".img-thumbnail[_ngcontent-%COMP%]{height:auto;max-width:100%;padding:0;width:200px}mat-form-field[_ngcontent-%COMP%]{width:100%}p[_ngcontent-%COMP%]{word-break:break-all}.btn-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:nth-child(2){left:530px;width:50px}.detail-divider[_ngcontent-%COMP%]{margin-bottom:12px;margin-top:12px}.rw-button[_ngcontent-%COMP%]{margin-left:8px}.comment[_ngcontent-%COMP%]{margin-bottom:8px}.review-link[_ngcontent-%COMP%]{font-size:11px;margin-top:-10px;text-decoration:none}#submitButton[_ngcontent-%COMP%]{float:right}.item-price[_ngcontent-%COMP%]{float:left;margin-right:40px;margin-top:8px}.noResultText[_ngcontent-%COMP%]{display:block;font-size:small;margin-left:auto;margin-right:auto;text-align:center}.dialogAction[_ngcontent-%COMP%]{margin-bottom:0!important}.buttons[_ngcontent-%COMP%]{padding-left:13px;padding-right:13px}\"]}),t})(),je=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Products\"}search(t){return this.http.get(this.hostServer+\"/rest/products/search?q=\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(t){return this.http.get(this.host+\"/\"+t+\"?d=\"+encodeURIComponent((new Date).toDateString())).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Qe=i(\"M9IT\"),ze=i(\"cp0P\"),Ge=i(\"gFX4\");let qe=(()=>{class t{constructor(t){this.ngZone=t,this.io=Ge,this.ngZone.runOutsideAngular(()=>{this._socket=this.io.connect(window.location.href,{path:(\"/\"===window.location.pathname?\"/\":window.location.pathname+\"/\")+\"socket.io\"})})}socket(){return this._socket}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(a.A))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ye=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Quantitys\"}getAll(){return this.http.get(this.host+\"/\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Ke=i(\"zkoq\");function Xe(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"span\"),a.Jc(2),a.jc(3,\"translate\"),a.Vb(),a.Rb(4,\"span\",9),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Lc(\"\",a.kc(3,2,\"TITLE_SEARCH_RESULTS\"),\" - \"),a.Db(2),a.oc(\"innerHTML\",t.searchValue,a.Ac)}}function $e(t,e){1&t&&(a.Wb(0,\"div\"),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Kc(a.kc(2,1,\"TITLE_ALL_PRODUCTS\")))}const Ze=function(t){return{quantity:t}};function ti(t,e){if(1&t&&(a.Wb(0,\"div\",24),a.Wb(1,\"span\",25),a.Jc(2,\"LABEL_ONLY_QUANTITY_LEFT\"),a.Vb(),a.Vb()),2&t){const t=a.ic().$implicit;a.Db(1),a.oc(\"translateParams\",a.tc(1,Ze,t.quantity))}}function ei(t,e){1&t&&(a.Wb(0,\"div\",26),a.Wb(1,\"span\",27),a.Jc(2,\"LABEL_SOLD_OUT\"),a.Vb(),a.Vb())}function ii(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Jc(1),a.Vb()),2&t){const t=a.ic().$implicit;a.Db(1),a.Lc(\"\",t.price,\"\\xa4\")}}function ai(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Wb(1,\"s\"),a.Jc(2),a.Vb(),a.Jc(3),a.Vb()),2&t){const t=a.ic().$implicit;a.Db(2),a.Kc(t.price),a.Db(1),a.Lc(\" \",t.deluxePrice,\"\\xa4\")}}function oi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",28),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic(2).addToBasket(e.id)})),a.Wb(1,\"span\",27),a.Jc(2,\"ADD_BASKET\"),a.Vb(),a.Vb()}}function ni(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-grid-tile\"),a.Wb(1,\"mat-card\",13),a.Hc(2,ti,3,3,\"div\",14),a.Hc(3,ei,3,0,\"div\",15),a.Wb(4,\"div\",16),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).showDetail(i)})),a.Wb(5,\"div\",17),a.Rb(6,\"img\",18),a.Vb(),a.Wb(7,\"div\",19),a.Wb(8,\"div\",20),a.Jc(9),a.Vb(),a.Wb(10,\"div\",21),a.Hc(11,ii,2,1,\"span\",3),a.Hc(12,ai,4,2,\"span\",3),a.Vb(),a.Vb(),a.Vb(),a.Wb(13,\"div\",22),a.Hc(14,oi,3,0,\"button\",23),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic(2);a.Db(1),a.Gc(\"width\",\"100%\"),a.Db(1),a.oc(\"ngIf\",t.quantity<=5&&t.quantity>0),a.Db(1),a.oc(\"ngIf\",t.quantity<=0),a.Db(3),a.pc(\"alt\",t.name),a.oc(\"src\",\"assets/public/images/products/\"+t.image,a.Cc),a.Db(3),a.Lc(\" \",t.name,\" \"),a.Db(2),a.oc(\"ngIf\",!i.isDeluxe()||t.price===t.deluxePrice),a.Db(1),a.oc(\"ngIf\",i.isDeluxe()&&t.price!==t.deluxePrice),a.Db(2),a.oc(\"ngIf\",i.isLoggedIn())}}function ri(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"mat-grid-list\",10,11),a.ec(\"resize\",(function(e){return a.zc(t),a.ic().onResize(e)}),!1,a.yc),a.Hc(3,ni,15,10,\"mat-grid-tile\",12),a.jc(4,\"async\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(1),a.oc(\"cols\",t.breakpoint),a.Db(2),a.oc(\"ngForOf\",a.kc(4,2,t.gridDataSource))}}function ci(t,e){1&t&&(a.Wb(0,\"mat-card\",29),a.Rb(1,\"img\",30),a.Wb(2,\"mat-card-title\"),a.Wb(3,\"span\",31),a.Jc(4,\" NO_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Wb(5,\"mat-card-content\"),a.Wb(6,\"span\",31),a.Jc(7,\" EMPTY_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Vb())}const si=function(){return[12,24,36]};u.b.add(m.o,m.e),u.a.watch();let li=(()=>{class t{constructor(t,e,i,a,o,n,r,c,s,l,b,u){this.deluxeGuard=t,this.dialog=e,this.productService=i,this.quantityService=a,this.basketService=o,this.translateService=n,this.router=r,this.route=c,this.sanitizer=s,this.ngZone=l,this.io=b,this.snackBarHelperService=u,this.displayedColumns=[\"Image\",\"Product\",\"Description\",\"Price\",\"Select\"],this.paginator=null,this.breakpoint=6,this.emptyState=!1}ngAfterViewInit(){const t=this.productService.search(\"\"),e=this.quantityService.getAll();Object(ze.a)([e,t]).subscribe(([t,e])=>{let i=[];this.tableData=e,this.trustProductDescription(e);for(const a of e)i.push({name:a.name,price:a.price,deluxePrice:a.deluxePrice,id:a.id,image:a.image,description:a.description});for(const a of t){const t=i.find(t=>t.id===a.ProductId);void 0!==t&&(t.quantity=a.quantity)}this.dataSource=new T.o(i),this.dataSource.paginator=this.paginator,this.gridDataSource=this.dataSource.connect(),this.filterTable(),this.routerSubscription=this.router.events.subscribe(()=>{this.filterTable()}),window.innerWidth<2600?(this.breakpoint=4,window.innerWidth<1740&&(this.breakpoint=3,window.innerWidth<1280&&(this.breakpoint=2,window.innerWidth<850&&(this.breakpoint=1)))):this.breakpoint=6},t=>console.log(t))}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe(),this.productSubscription&&this.productSubscription.unsubscribe(),this.dataSource&&this.dataSource.disconnect()}filterTable(){let t=this.route.snapshot.queryParams.q;t&&t.includes(\"javascript:alert\")&&this.ngZone.runOutsideAngular(()=>{this.io.socket().emit(\"verifyLocalXssChallenge\",t)}),t?(t=t.trim(),this.dataSource.filter=t.toLowerCase(),this.searchValue=this.sanitizer.bypassSecurityTrustHtml(t),this.gridDataSource.subscribe(t=>{this.emptyState=0===t.length})):(this.dataSource.filter=\"\",this.searchValue=void 0,this.emptyState=!1)}showDetail(t){this.dialog.open(Ue,{width:\"500px\",height:\"max-content\",data:{productData:t}})}addToBasket(t){this.basketService.find(Number(sessionStorage.getItem(\"bid\"))).subscribe(e=>{let i=e.Products,a=!1;for(let o=0;o<i.length;o++)if(i[o].id===t){a=!0,this.basketService.get(i[o].BasketItem.id).subscribe(t=>{this.basketService.put(t.id,{quantity:t.quantity+1}).subscribe(t=>{this.productService.get(t.ProductId).subscribe(t=>{this.translateService.get(\"BASKET_ADD_SAME_PRODUCT\",{product:t.name}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>console.log(t))},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})},t=>console.log(t));break}a||this.basketService.save({ProductId:t,BasketId:sessionStorage.getItem(\"bid\"),quantity:1}).subscribe(t=>{this.productService.get(t.ProductId).subscribe(t=>{this.translateService.get(\"BASKET_ADD_PRODUCT\",{product:t.name}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>console.log(t))},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})},t=>console.log(t))}trustProductDescription(t){for(let e=0;e<t.length;e++)t[e].description=this.sanitizer.bypassSecurityTrustHtml(t[e].description)}isLoggedIn(){return localStorage.getItem(\"token\")}onResize(t){t.target.innerWidth<2600?(this.breakpoint=4,t.target.innerWidth<1740&&(this.breakpoint=3,t.target.innerWidth<1280&&(this.breakpoint=2,t.target.innerWidth<850&&(this.breakpoint=1)))):this.breakpoint=6}isDeluxe(){return this.deluxeGuard.isDeluxe()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(O),a.Qb(Ae.b),a.Qb(je),a.Qb(Ye),a.Qb(x),a.Qb(g.e),a.Qb(S.b),a.Qb(S.a),a.Qb(o.c),a.Qb(a.A),a.Qb(qe),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-search-result\"]],viewQuery:function(t,e){var i;1&t&&a.Fc(Qe.a,!0),2&t&&a.vc(i=a.fc())&&(e.paginator=i.first)},decls:12,vars:7,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"table-container\",\"custom-slate\"],[1,\"heading\",\"mat-elevation-z6\"],[4,\"ngIf\"],[\"id\",\"search-result-heading\"],[4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[\"color\",\"accent\",1,\"mat-elevation-z6\",3,\"pageSizeOptions\",\"pageSize\"],[\"paginator\",\"\"],[\"id\",\"searchValue\",3,\"innerHTML\"],[\"gutterSize\",\"30px\",3,\"cols\",\"resize\"],[\"table\",\"\"],[4,\"ngFor\",\"ngForOf\"],[1,\"mat-elevation-z6\",\"ribbon-card\"],[\"class\",\"ribbon ribbon-top-left\",4,\"ngIf\"],[\"class\",\"ribbon ribbon-top-left ribbon-sold\",4,\"ngIf\"],[\"aria-label\",\"Click for more information about the product\",\"matTooltip\",\"Click for more information\",\"matTooltipPosition\",\"above\",1,\"product\",3,\"click\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"60%\",1,\"img-container\"],[\"mat-card-image\",\"\",\"role\",\"button\",1,\"img-responsive\",\"img-thumbnail\",3,\"src\",\"alt\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"40%\"],[1,\"item-name\"],[1,\"item-price\"],[2,\"display\",\"flex\",\"justify-content\",\"center\"],[\"aria-label\",\"Add to Basket\",\"class\",\"btn-basket\",\"color\",\"primary\",\"mat-button\",\"\",\"mat-raised-button\",\"\",3,\"click\",4,\"ngIf\"],[1,\"ribbon\",\"ribbon-top-left\"],[\"translate\",\"\",3,\"translateParams\"],[1,\"ribbon\",\"ribbon-top-left\",\"ribbon-sold\"],[\"translate\",\"\"],[\"aria-label\",\"Add to Basket\",\"color\",\"primary\",\"mat-button\",\"\",\"mat-raised-button\",\"\",1,\"btn-basket\",3,\"click\"],[1,\"mat-elevation-z6\",\"emptyState\"],[\"alt\",\" No results found\",\"src\",\"assets/public/images/products/no-results.png\",1,\"img-responsive\",\"noResult\"],[\"translate\",\"\",1,\"noResultText\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Hc(3,Xe,5,4,\"div\",3),a.Hc(4,$e,3,3,\"div\",3),a.Rb(5,\"div\",4),a.Vb(),a.Hc(6,ri,5,4,\"div\",5),a.Hc(7,ci,8,0,\"ng-template\",null,6,a.Ic),a.Rb(9,\"mat-divider\"),a.Rb(10,\"mat-paginator\",7,8),a.Vb(),a.Vb()),2&t){const t=a.wc(8);a.Db(3),a.oc(\"ngIf\",e.searchValue),a.Db(1),a.oc(\"ngIf\",!e.searchValue),a.Db(2),a.oc(\"ngIf\",!e.emptyState)(\"ngIfElse\",t),a.Db(4),a.oc(\"pageSizeOptions\",a.sc(6,si))(\"pageSize\",12)}},directives:[h.c,P.l,Re.a,Qe.a,Ke.a,P.k,Ke.c,f.a,we.a,h.a,h.b,f.d,g.a,v.a,f.f,f.b],pipes:[g.d,P.b],styles:['.table-container[_ngcontent-%COMP%]{min-width:350px;width:80%}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.img-thumbnail[_ngcontent-%COMP%]{width:100%}.product[_ngcontent-%COMP%]{cursor:pointer}.btn-basket[_ngcontent-%COMP%]{bottom:10%}mat-card[_ngcontent-%COMP%]{height:calc(100% - 70px)}.item-price[_ngcontent-%COMP%]{font-size:medium;margin-top:12px;text-align:center}.item-name[_ngcontent-%COMP%]{font-size:large;text-align:center}.emptyState[_ngcontent-%COMP%]{display:block;height:auto!important;margin:20px auto;width:50%}.noResult[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:60%}.noResultText[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center}.ribbon-card[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{height:150px;overflow:hidden;position:absolute;width:150px}.ribbon[_ngcontent-%COMP%]:before{content:\"\";z-index:-1}.ribbon[_ngcontent-%COMP%]:before, .ribbon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;position:absolute}.ribbon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{box-shadow:0 5px 10px rgba(0,0,0,.1);color:#fff;font:700 18px/1 Lato,sans-serif;padding:15px 0;text-align:center;text-shadow:0 1px 1px rgba(0,0,0,.2);width:225px}.ribbon-top-left[_ngcontent-%COMP%]{left:-10px;top:-10px}.ribbon-top-left[_ngcontent-%COMP%]:before{border-left-color:transparent;border-top-color:transparent;right:0;top:0}.ribbon-top-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{right:-25px;top:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}']}),t})(),bi=(()=>{class t{get nativeWindow(){return window}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var ui=i(\"bSwM\");function di(t,e){if(1&t&&(a.Wb(0,\"div\",20),a.Jc(1),a.Vb()),2&t){const t=a.ic();a.Db(1),a.Kc(t.error)}}function mi(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function pi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",21),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.hide=!e.hide})),a.jc(1,\"translate\"),a.Rb(2,\"i\",22),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"SHOW_PWD_TOOLTIP\"))}function hi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",23),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.hide=!e.hide})),a.jc(1,\"translate\"),a.Rb(2,\"i\",24),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"HIDE_PWD_TOOLTIP\"))}function fi(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\"MANDATORY_PASSWORD\"),a.Vb())}function gi(t,e){1&t&&(a.Wb(0,\"div\",25),a.Wb(1,\"div\",26),a.Rb(2,\"div\"),a.Vb(),a.Wb(3,\"div\",27),a.Jc(4,\"LABEL_OR\"),a.Vb(),a.Wb(5,\"div\",26),a.Rb(6,\"div\"),a.Vb(),a.Vb())}function vi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",28),a.ec(\"click\",(function(){return a.zc(t),a.ic().googleLogin()})),a.Rb(1,\"i\",29),a.Jc(2),a.jc(3,\"translate\"),a.Vb()}2&t&&(a.Db(2),a.Lc(\" \",a.kc(3,1,\"BTN_GOOGLE_LOGIN\"),\" \"))}u.b.add(m.y,m.o,m.p,d.f),u.a.watch();let Ci=(()=>{class t{constructor(t,e,i,a,o,n,r){this.configurationService=t,this.userService=e,this.windowRefService=i,this.cookieService=a,this.router=o,this.formSubmitService=n,this.ngZone=r,this.emailControl=new c.c(\"\",[c.x.required]),this.passwordControl=new c.c(\"\",[c.x.required]),this.hide=!0,this.rememberMe=new c.c(!1),this.clientId=\"1005568560502-6hm16lef8oh46hr2d98vf2ohlnj4nfhq.apps.googleusercontent.com\",this.oauthUnavailable=!0,this.redirectUri=\"\"}ngOnInit(){const t=localStorage.getItem(\"email\");t?(this.user={},this.user.email=t,this.rememberMe.setValue(!0)):this.rememberMe.setValue(!1),this.redirectUri=this.windowRefService.nativeWindow.location.protocol+\"//\"+this.windowRefService.nativeWindow.location.host,this.configurationService.getApplicationConfiguration().subscribe(t=>{if(t&&t.application&&t.application.googleOauth){this.clientId=t.application.googleOauth.clientId;let e=t.application.googleOauth.authorizedRedirects.find(t=>t.uri===this.redirectUri);e?(this.oauthUnavailable=!1,this.redirectUri=e.proxy?e.proxy:e.uri):(this.oauthUnavailable=!0,console.log(this.redirectUri+\" is not an authorized redirect URI for this application.\"))}},t=>console.log(t)),this.formSubmitService.attachEnterKeyHandler(\"login-form\",\"loginButton\",()=>this.login())}login(){this.user={},this.user.email=this.emailControl.value,this.user.password=this.passwordControl.value,this.userService.login(this.user).subscribe(t=>{localStorage.setItem(\"token\",t.token),this.cookieService.put(\"token\",t.token),sessionStorage.setItem(\"bid\",t.bid),this.userService.isLoggedIn.next(!0),this.ngZone.run(()=>this.router.navigate([\"/search\"]))},({error:t})=>{if(t.status&&t.data&&\"totp_token_required\"===t.status)return localStorage.setItem(\"totp_tmp_token\",t.data.tmpToken),void this.ngZone.run(()=>this.router.navigate([\"/2fa/enter\"]));localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.error=t,this.userService.isLoggedIn.next(!1),this.emailControl.markAsPristine(),this.passwordControl.markAsPristine()}),this.rememberMe.value?localStorage.setItem(\"email\",this.user.email):localStorage.removeItem(\"email\"),this.error&&this.user.email&&this.user.email.match(/support@.*/)&&console.log(\"@echipa de suport: Secretul nostru comun este \\xeenc\\u0103 Caoimhe cu parola de master gol!\")}googleLogin(){this.windowRefService.nativeWindow.location.replace(`https://accounts.google.com/o/oauth2/v2/auth?client_id=${this.clientId}&response_type=token&scope=email&redirect_uri=${this.redirectUri}`)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(D),a.Qb(bi),a.Qb(r.b),a.Qb(S.b),a.Qb(Lt),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-login\"]],decls:35,vars:18,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"class\",\"error\",4,\"ngIf\"],[\"id\",\"login-form\",1,\"form-container\"],[\"color\",\"accent\",\"appearance\",\"outline\"],[\"translate\",\"\"],[\"id\",\"email\",\"name\",\"email\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Text field for the login email\",3,\"formControl\",\"focus\"],[\"email\",\"\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"password\",\"name\",\"password\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Text field for the login password\",3,\"formControl\",\"type\",\"focus\"],[\"password\",\"\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to display the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to hide the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"routerLink\",\"/forgot-password\",\"translate\",\"\",1,\"primary-link\",\"forgot-pw\"],[\"type\",\"submit\",\"id\",\"loginButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Login\",3,\"disabled\",\"click\"],[\"id\",\"rememberMe\",\"aria-label\",\"Checkbox to stay logged in or not logged in\",3,\"formControl\"],[\"class\",\"breakLine\",4,\"ngIf\"],[\"id\",\"loginButtonGoogle\",\"mat-raised-button\",\"\",\"color\",\"accent\",\"aria-label\",\"Login with Google\",\"class\",\"google-button\",3,\"click\",4,\"ngIf\"],[\"id\",\"newCustomerLink\"],[\"routerLink\",\"/register\",\"translate\",\"\",1,\"primary-link\"],[1,\"error\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to display the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\"],[\"aria-label\",\"Eye\",1,\"fas\",\"fa-eye\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to hide the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\"],[\"aria-label\",\"Eye Slash\",1,\"fas\",\"fa-eye-slash\"],[1,\"breakLine\"],[1,\"line\"],[\"translate\",\"\",1,\"textOnLine\"],[\"id\",\"loginButtonGoogle\",\"mat-raised-button\",\"\",\"color\",\"accent\",\"aria-label\",\"Login with Google\",1,\"google-button\",3,\"click\"],[1,\"fab\",\"fa-google\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\"),a.Jc(3,\"Login\"),a.Vb(),a.Hc(4,di,2,1,\"div\",2),a.Wb(5,\"div\",3),a.Wb(6,\"mat-form-field\",4),a.Wb(7,\"mat-label\",5),a.Jc(8,\"LABEL_EMAIL\"),a.Vb(),a.Wb(9,\"input\",6,7),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Hc(11,mi,2,0,\"mat-error\",8),a.Vb(),a.Wb(12,\"mat-form-field\",4),a.Wb(13,\"mat-label\",5),a.Jc(14,\"LABEL_PASSWORD\"),a.Vb(),a.Wb(15,\"input\",9,10),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Hc(17,pi,3,3,\"button\",11),a.Hc(18,hi,3,3,\"button\",12),a.Hc(19,fi,2,0,\"mat-error\",8),a.Vb(),a.Wb(20,\"a\",13),a.Jc(21,\"FORGOT_PASSWORD\"),a.Vb(),a.Wb(22,\"button\",14),a.ec(\"click\",(function(){return e.login()})),a.Wb(23,\"mat-icon\"),a.Jc(24,\" exit_to_app \"),a.Vb(),a.Jc(25),a.jc(26,\"translate\"),a.Vb(),a.Wb(27,\"mat-checkbox\",15),a.Jc(28),a.jc(29,\"translate\"),a.Vb(),a.Hc(30,gi,7,0,\"div\",16),a.Hc(31,vi,4,3,\"button\",17),a.Wb(32,\"div\",18),a.Wb(33,\"a\",19),a.Jc(34,\"NO_CUSTOMER\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.oc(\"ngIf\",e.error),a.Db(5),a.oc(\"formControl\",e.emailControl),a.Db(2),a.oc(\"ngIf\",e.emailControl.invalid),a.Db(4),a.oc(\"formControl\",e.passwordControl)(\"type\",e.hide?\"password\":\"text\"),a.Db(2),a.oc(\"ngIf\",e.hide),a.Db(1),a.oc(\"ngIf\",!e.hide),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid),a.Db(3),a.oc(\"disabled\",!e.emailControl.value||!e.passwordControl.value),a.Db(3),a.Lc(\" \",a.kc(26,14,\"BTN_LOGIN\"),\" \"),a.Db(2),a.oc(\"formControl\",e.rememberMe),a.Db(1),a.Lc(\" \",a.kc(29,16,\"REMEMBER_ME\"),\" \"),a.Db(2),a.oc(\"ngIf\",!e.oauthUnavailable),a.Db(1),a.oc(\"ngIf\",!e.oauthUnavailable))},directives:[h.c,f.a,P.l,At.b,At.f,g.a,Tt.b,c.b,c.n,c.d,S.d,v.a,Ce.a,ui.a,At.a,At.g,we.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}.forgot-pw[_ngcontent-%COMP%]{font-size:11px;margin-top:-15px}mat-checkbox[_ngcontent-%COMP%]{margin-bottom:20px;margin-left:20%;margin-top:5px}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}mat-form-field[_ngcontent-%COMP%]:nth-child(2){padding-bottom:20px}#loginButton[_ngcontent-%COMP%], #loginButtonGoogle[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.breakLine[_ngcontent-%COMP%]{display:table}.breakLine[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell;white-space:nowrap}.line[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-bottom:1px solid silver;height:1px}.textOnLine[_ngcontent-%COMP%]{padding:0 5px}.line[_ngcontent-%COMP%]{vertical-align:middle;width:50%}#newCustomerLink[_ngcontent-%COMP%]{align-self:center;font-size:12px;margin-top:40px}[_nghost-%COMP%]     .mat-form-field-suffix{margin-bottom:auto!important;margin-top:auto!important}[_nghost-%COMP%]     .mat-icon-button{height:40px!important;width:24px!important}\"]}),t})();u.b.add(m.b),u.a.watch();let wi=(()=>{class t{constructor(t,e){this.dialogData=t,this.userService=e}ngOnInit(){this.userService.get(this.dialogData.id).subscribe(t=>{this.user=t},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.a),a.Qb(D))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-user-details\"]],decls:28,vars:10,consts:[[1,\"mat-typography\"],[\"fxLayout\",\"column\",1,\"container\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\"],[\"translate\",\"LABEL_EMAIL\"],[\"translate\",\"LABEL_CREATED_AT\"],[\"translate\",\"LABEL_UPDATED_AT\"],[\"mat-raised-button\",\"\",\"mat-dialog-close\",\"\",1,\"close-dialog\"],[1,\"material-icons\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"header\"),a.Wb(2,\"h3\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Rb(5,\"mat-divider\"),a.Wb(6,\"div\",1),a.Wb(7,\"div\",2),a.Wb(8,\"div\"),a.Rb(9,\"strong\",3),a.Wb(10,\"p\"),a.Jc(11),a.Vb(),a.Vb(),a.Vb(),a.Wb(12,\"div\",2),a.Wb(13,\"div\"),a.Rb(14,\"strong\",4),a.Wb(15,\"p\"),a.Jc(16),a.Vb(),a.Vb(),a.Wb(17,\"div\"),a.Rb(18,\"strong\",5),a.Wb(19,\"p\"),a.Jc(20),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(21,\"footer\"),a.Wb(22,\"button\",6),a.Wb(23,\"i\",7),a.Jc(24,\" close \"),a.Vb(),a.Wb(25,\"span\"),a.Jc(26),a.jc(27,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Mc(\"\",a.kc(4,6,\"LABEL_USER\"),\" #\",null==e.user?null:e.user.id,\"\"),a.Db(8),a.Kc(null==e.user?null:e.user.email),a.Db(5),a.Kc(null==e.user?null:e.user.createdAt),a.Db(4),a.Kc(null==e.user?null:e.user.updatedAt),a.Db(6),a.Lc(\" \",a.kc(27,8,\"BTN_CLOSE\"),\"\"))},directives:[Re.a,h.d,h.e,g.a,v.a,Ae.d],pipes:[g.d],styles:[\"mat-divider[_ngcontent-%COMP%]{margin-bottom:10px}\"]}),t})();function yi(t,e){1&t&&a.Rb(0,\"mat-header-cell\")}function Di(t,e){1&t&&a.Rb(0,\"i\",23)}function Si(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Hc(1,Di,1,0,\"i\",22),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"ngIf\",t.token)}}function Wi(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_EMAIL\"),a.Vb())}function xi(t,e){1&t&&a.Rb(0,\"mat-cell\",24),2&t&&a.oc(\"innerHTML\",e.$implicit.email,a.Ac)}function Vi(t,e){1&t&&a.Rb(0,\"mat-header-cell\")}function Ii(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\"),a.Wb(1,\"button\",25),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().showUserDetail(i.id)})),a.Rb(2,\"i\",26),a.Vb(),a.Vb()}}function _i(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function ki(t,e){1&t&&a.Rb(0,\"mat-row\")}function Oi(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_USER\"),a.Vb())}function Li(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.UserId,\" \")}}function Ai(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_COMMENT\"),a.Vb())}function Ti(t,e){1&t&&a.Rb(0,\"mat-cell\",24),2&t&&a.oc(\"innerHTML\",e.$implicit.comment,a.Ac)}function Pi(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_RATING\"),a.Vb())}function Ei(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Rb(1,\"bar-rating\",27),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"rate\",t.rating)(\"max\",5)}}function Ri(t,e){1&t&&a.Rb(0,\"mat-header-cell\")}function Mi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\"),a.Wb(1,\"button\",25),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().deleteFeedback(i.id)})),a.Rb(2,\"i\",28),a.Vb(),a.Vb()}}function Ji(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function Hi(t,e){1&t&&a.Rb(0,\"mat-row\")}u.b.add(m.db,m.o,m.w,m.a,m.W),u.a.watch();let Ni=(()=>{class t{constructor(t,e,i,a){this.dialog=t,this.userService=e,this.feedbackService=i,this.sanitizer=a,this.userColumns=[\"user\",\"email\",\"user_detail\"],this.feedbackColumns=[\"user\",\"comment\",\"rating\",\"remove\"]}ngOnInit(){this.findAllUsers(),this.findAllFeedbacks()}findAllUsers(){this.userService.find().subscribe(t=>{this.userDataSource=t;for(let e of this.userDataSource)e.email=this.sanitizer.bypassSecurityTrustHtml(`<span class=\"${e.token?\"confirmation\":\"error\"}\">${e.email}<\/span>`)},t=>{this.error=t,console.log(this.error)})}findAllFeedbacks(){this.feedbackService.find().subscribe(t=>{this.feedbackDataSource=t;for(let e of this.feedbackDataSource)e.comment=this.sanitizer.bypassSecurityTrustHtml(e.comment)},t=>{this.error=t,console.log(this.error)})}deleteFeedback(t){this.feedbackService.del(t).subscribe(()=>{this.findAllFeedbacks()},t=>{this.error=t,console.log(this.error)})}showUserDetail(t){this.dialog.open(wi,{data:{id:t}})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.b),a.Qb(D),a.Qb(kt),a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-administration\"]],decls:41,vars:6,consts:[[\"fxLayout\",\"row\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap\",\"20px\",1,\"container\"],[\"fxFlexAlign\",\"center\",1,\"user-container\"],[1,\"user-table\",\"mat-elevation-z8\"],[1,\"heading\"],[\"translate\",\"\"],[\"translate\",\"\",2,\"margin-left\",\"10px\"],[3,\"dataSource\"],[\"matColumnDef\",\"user\"],[4,\"matHeaderCellDef\"],[4,\"matCellDef\"],[\"matColumnDef\",\"email\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[3,\"innerHTML\",4,\"matCellDef\"],[\"matColumnDef\",\"user_detail\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxFlexAlign.lt-md\",\"center\",1,\"customer-container\"],[1,\"customer-table\",\"mat-elevation-z8\"],[\"matColumnDef\",\"comment\"],[\"matColumnDef\",\"rating\"],[\"matColumnDef\",\"remove\"],[\"src\",\"assets/public/images/padding/19px.png\"],[\"class\",\"fas fa-user fa-lg confirmation\",4,\"ngIf\"],[1,\"fas\",\"fa-user\",\"fa-lg\",\"confirmation\"],[3,\"innerHTML\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-eye\"],[\"readOnly\",\"true\",3,\"rate\",\"max\"],[1,\"fas\",\"fa-trash-alt\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Wb(3,\"div\",3),a.Wb(4,\"span\",4),a.Jc(5,\"TITLE_ADMINISTRATION\"),a.Vb(),a.Wb(6,\"small\",5),a.Jc(7,\"SECTION_USER\"),a.Vb(),a.Vb(),a.Wb(8,\"mat-table\",6),a.Ub(9,7),a.Hc(10,yi,1,0,\"mat-header-cell\",8),a.Hc(11,Si,2,1,\"mat-cell\",9),a.Tb(),a.Ub(12,10),a.Hc(13,Wi,2,0,\"mat-header-cell\",11),a.Hc(14,xi,1,1,\"mat-cell\",12),a.Tb(),a.Ub(15,13),a.Hc(16,Vi,1,0,\"mat-header-cell\",8),a.Hc(17,Ii,3,0,\"mat-cell\",9),a.Tb(),a.Hc(18,_i,1,0,\"mat-header-row\",14),a.Hc(19,ki,1,0,\"mat-row\",15),a.Vb(),a.Vb(),a.Vb(),a.Wb(20,\"div\",16),a.Wb(21,\"div\",17),a.Wb(22,\"div\",3),a.Wb(23,\"span\",4),a.Jc(24,\"SECTION_CUSTOMER_FEEDBACK\"),a.Vb(),a.Vb(),a.Wb(25,\"mat-table\",6),a.Ub(26,7),a.Hc(27,Oi,2,0,\"mat-header-cell\",11),a.Hc(28,Li,2,1,\"mat-cell\",9),a.Tb(),a.Ub(29,18),a.Hc(30,Ai,2,0,\"mat-header-cell\",11),a.Hc(31,Ti,1,1,\"mat-cell\",12),a.Tb(),a.Ub(32,19),a.Hc(33,Pi,2,0,\"mat-header-cell\",11),a.Hc(34,Ei,2,2,\"mat-cell\",9),a.Tb(),a.Ub(35,20),a.Hc(36,Ri,1,0,\"mat-header-cell\",8),a.Hc(37,Mi,3,0,\"mat-cell\",9),a.Tb(),a.Hc(38,Ji,1,0,\"mat-header-row\",14),a.Hc(39,Hi,1,0,\"mat-row\",15),a.Vb(),a.Vb(),a.Vb(),a.Rb(40,\"img\",21),a.Vb()),2&t&&(a.Db(8),a.oc(\"dataSource\",e.userDataSource),a.Db(10),a.oc(\"matHeaderRowDef\",e.userColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.userColumns),a.Db(6),a.oc(\"dataSource\",e.feedbackDataSource),a.Db(13),a.oc(\"matHeaderRowDef\",e.feedbackColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.feedbackColumns))},directives:[h.d,h.e,h.a,g.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,T.a,P.l,v.a,T.j,T.l,Pt.a],styles:[\".container[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.13);margin-bottom:10px;padding:12px 20px}.customer-container[_ngcontent-%COMP%], .user-container[_ngcontent-%COMP%]{max-width:600px;min-width:300px;width:70%}.customer-table[_ngcontent-%COMP%], .user-table[_ngcontent-%COMP%]{margin-bottom:25px}.mat-column-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .mat-column-user_detail[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:38%}mat-cell[_ngcontent-%COMP%], mat-footer-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{-webkit-box-align:normal;align-items:normal;display:block}.mat-column-comment[_ngcontent-%COMP%]{padding:10px}mat-cell[_ngcontent-%COMP%]:last-child, mat-footer-cell[_ngcontent-%COMP%]:last-child, mat-header-cell[_ngcontent-%COMP%]:last-child{padding-right:50px}\"]}),t})();function Fi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CURRENT_PASSWORD\"),a.Vb())}function Bi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_NEW_PASSWORD \"),a.Vb())}const Ui=function(){return{length:\"5-20\"}};function ji(t,e){1&t&&(a.Wb(0,\"mat-error\",19),a.Jc(1,\"INVALID_PASSWORD_LENGTH \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Ui))}function Qi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_PASSWORD_REPEAT\"),a.Vb())}function zi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" PASSWORDS_NOT_MATCHING \"),a.Vb())}u.b.add(m.G,p.c),u.a.watch();let Gi=(()=>{class t{constructor(t,e,i){var a;this.userService=t,this.formSubmitService=e,this.translate=i,this.passwordControl=new c.c(\"\",[c.x.required]),this.newPasswordControl=new c.c(\"\",[c.x.required,c.x.minLength(5),c.x.maxLength(20)]),this.repeatNewPasswordControl=new c.c(\"\",[c.x.required,c.x.minLength(5),c.x.maxLength(20),(a=this.newPasswordControl,function(t){return a.value!==t.value?{notSame:!0}:null})])}ngOnInit(){this.formSubmitService.attachEnterKeyHandler(\"password-form\",\"changeButton\",()=>this.changePassword())}changePassword(){this.userService.changePassword({current:this.passwordControl.value,new:this.newPasswordControl.value,repeat:this.repeatNewPasswordControl.value}).subscribe(t=>{this.error=void 0,this.translate.get(\"PASSWORD_SUCCESSFULLY_CHANGED\").subscribe(t=>{this.confirmation=t},t=>{this.confirmation={error:t}}),this.resetForm()},t=>{console.log(t),this.error=t,this.confirmation=void 0,this.resetPasswords()})}resetForm(){this.passwordControl.setValue(\"\"),this.passwordControl.markAsPristine(),this.passwordControl.markAsUntouched(),this.newPasswordControl.setValue(\"\"),this.newPasswordControl.markAsPristine(),this.newPasswordControl.markAsUntouched(),this.repeatNewPasswordControl.setValue(\"\"),this.repeatNewPasswordControl.markAsPristine(),this.repeatNewPasswordControl.markAsUntouched()}resetPasswords(){this.newPasswordControl.setValue(\"\"),this.newPasswordControl.markAsPristine(),this.newPasswordControl.markAsUntouched(),this.repeatNewPasswordControl.setValue(\"\"),this.repeatNewPasswordControl.markAsPristine(),this.repeatNewPasswordControl.markAsUntouched()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(D),a.Qb(Lt),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-change-password\"]],decls:42,vars:26,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\",2,\"margin-bottom\",\"20px\"],[\"translate\",\"\"],[1,\"confirmation\",3,\"hidden\"],[1,\"error\",3,\"hidden\"],[\"id\",\"password-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"currentPassword\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to enter the current password\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"newPassword\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field for the new password\",3,\"formControl\"],[\"password\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"align\",\"end\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[\"id\",\"newPasswordRepeat\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to repeat the new password\",3,\"formControl\"],[\"passwordRepeat\",\"\"],[\"type\",\"submit\",\"id\",\"changeButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to confirm the change\",3,\"disabled\",\"click\"],[\"aria-hidden\",\"true\",1,\"far\",\"fa-edit\",\"fa-lg\"],[\"translate\",\"\",3,\"translateParams\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_CHANGE_PASSWORD\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Wb(6,\"div\",4),a.Jc(7),a.Vb(),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_CURRENT_PASSWORD\"),a.Vb(),a.Rb(12,\"input\",7),a.jc(13,\"translate\"),a.Hc(14,Fi,2,0,\"mat-error\",8),a.Vb(),a.Wb(15,\"mat-form-field\",6),a.Wb(16,\"mat-label\",2),a.Jc(17,\"LABEL_NEW_PASSWORD\"),a.Vb(),a.Rb(18,\"input\",9,10),a.Wb(20,\"mat-hint\",2),a.Rb(21,\"i\",11),a.Wb(22,\"em\",12),a.Jc(23),a.jc(24,\"translate\"),a.Vb(),a.Vb(),a.Wb(25,\"mat-hint\",13),a.Jc(26),a.Vb(),a.Hc(27,Bi,2,0,\"mat-error\",8),a.Hc(28,ji,2,2,\"mat-error\",14),a.Vb(),a.Wb(29,\"mat-form-field\",6),a.Wb(30,\"mat-label\",2),a.Jc(31,\"LABEL_REPEAT_NEW_PASSWORD\"),a.Vb(),a.Rb(32,\"input\",15,16),a.Wb(34,\"mat-hint\",13),a.Jc(35),a.Vb(),a.Hc(36,Qi,2,0,\"mat-error\",8),a.Hc(37,zi,2,0,\"mat-error\",8),a.Vb(),a.Vb(),a.Wb(38,\"button\",17),a.ec(\"click\",(function(){return e.changePassword()})),a.Rb(39,\"i\",18),a.Jc(40),a.jc(41,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(19),i=a.wc(33);a.Db(4),a.oc(\"hidden\",!(e.confirmation&&!e.passwordControl.dirty&&!e.newPasswordControl.dirty&&!e.repeatNewPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.confirmation,\" \"),a.Db(1),a.oc(\"hidden\",!(e.error&&!e.passwordControl.dirty&&!e.newPasswordControl.dirty&&!e.repeatNewPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.error,\" \"),a.Db(5),a.pc(\"placeholder\",a.kc(13,18,\"MANDATORY_CURRENT_PASSWORD\")),a.oc(\"formControl\",e.passwordControl),a.Db(2),a.oc(\"ngIf\",e.passwordControl.invalid),a.Db(4),a.oc(\"formControl\",e.newPasswordControl),a.Db(5),a.Kc(a.lc(24,20,\"INVALID_PASSWORD_LENGTH\",a.sc(25,Ui))),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",(null==e.newPasswordControl?null:e.newPasswordControl.invalid)&&(null==e.newPasswordControl?null:e.newPasswordControl.errors.required)),a.Db(1),a.oc(\"ngIf\",(null==e.newPasswordControl?null:e.newPasswordControl.invalid)&&((null==e.newPasswordControl?null:e.newPasswordControl.errors.minlength)||(null==e.newPasswordControl?null:e.newPasswordControl.errors.maxlength))),a.Db(4),a.oc(\"formControl\",e.repeatNewPasswordControl),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.repeatNewPasswordControl.invalid&&e.repeatNewPasswordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.repeatNewPasswordControl.invalid&&e.repeatNewPasswordControl.errors.notSame),a.Db(1),a.oc(\"disabled\",e.passwordControl.invalid||e.newPasswordControl.invalid||e.repeatNewPasswordControl.invalid),a.Db(2),a.Lc(\" \",a.kc(41,23,\"BTN_CHANGE\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,P.l,At.e,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}button[_ngcontent-%COMP%]{margin-top:5px}#changeButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}\"]}),t})(),qi=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Complaints\"}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Yi=i(\"7pIB\");const Ki=[\"fileControl\"],Xi=function(){return{type:\"PDF, ZIP\"}};function $i(t,e){1&t&&(a.Wb(0,\"div\",20),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\"\",a.lc(2,1,\"INVALID_FILE_TYPE\",a.sc(4,Xi)),\" \"))}const Zi=function(){return{size:\"100 KB\"}};function ta(t,e){1&t&&(a.Wb(0,\"div\",20),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\"\",a.lc(2,1,\"INVALID_FILE_SIZE\",a.sc(4,Zi)),\" \"))}function ea(t,e){1&t&&(a.Wb(0,\"mat-error\"),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\"\",a.kc(2,1,\"MANDATORY_MESSAGE\"),\" \"))}const ia=function(){return{length:\"160\"}};u.b.add(m.c),u.a.watch();let aa=(()=>{class t{constructor(t,e,i,a){this.userService=t,this.complaintService=e,this.formSubmitService=i,this.translate=a,this.customerControl=new c.c({value:\"\",disabled:!0},[]),this.messageControl=new c.c(\"\",[c.x.required,c.x.maxLength(160)]),this.fileUploadError=void 0,this.uploader=new Yi.c({url:\"./file-upload\",authToken:`Bearer ${localStorage.getItem(\"token\")}`,allowedMimeType:[\"application/pdf\",\"application/xml\",\"text/xml\",\"application/zip\",\"application/x-zip-compressed\",\"multipart/x-zip\"],maxFileSize:1e5}),this.userEmail=void 0,this.complaint=void 0}ngOnInit(){this.initComplaint(),this.uploader.onWhenAddingFileFailed=(t,e)=>{throw this.fileUploadError=e,new Error(`Error due to : ${e.name}`)},this.uploader.onAfterAddingFile=()=>{this.fileUploadError=void 0},this.uploader.onSuccessItem=()=>{this.saveComplaint(),this.uploader.clearQueue()},this.formSubmitService.attachEnterKeyHandler(\"complaint-form\",\"submitButton\",()=>this.save())}initComplaint(){this.userService.whoAmI().subscribe(t=>{this.complaint={},this.complaint.UserId=t.id,this.userEmail=t.email,this.customerControl.setValue(this.userEmail)},t=>{this.complaint=void 0,console.log(t)})}save(){this.uploader.queue[0]?(this.uploader.queue[0].upload(),this.fileControl.nativeElement.value=null):this.saveComplaint()}saveComplaint(){this.complaint.message=this.messageControl.value,this.complaintService.save(this.complaint).subscribe(t=>{this.translate.get(\"CUSTOMER_SUPPORT_COMPLAINT_REPLY\",{ref:t.id}).subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}),this.initComplaint(),this.resetForm(),this.fileUploadError=void 0},t=>t)}resetForm(){this.messageControl.setValue(\"\"),this.messageControl.markAsUntouched(),this.messageControl.markAsPristine(),this.fileControl.nativeElement.value=null}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(D),a.Qb(qi),a.Qb(Lt),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-complaint\"]],viewQuery:function(t,e){var i;1&t&&a.Fc(Ki,!0),2&t&&a.vc(i=a.fc())&&(e.fileControl=i.first)},decls:39,vars:21,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"confirmation\",3,\"hidden\"],[\"class\",\"error fileUploadError\",4,\"ngIf\"],[\"id\",\"complaint-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Text field for the mail address of the user\",3,\"formControl\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"id\",\"complaintMessage\",\"matAutosizeMinRows\",\"4\",\"matAutosizeMaxRows\",\"4\",\"matTextareaAutosize\",\"\",\"cols\",\"50\",\"maxlength\",\"160\",\"matInput\",\"\",\"aria-label\",\"Field for entering the complaint\",3,\"formControl\",\"placeholder\"],[\"complaintMessage\",\"\"],[4,\"ngIf\"],[\"align\",\"end\"],[2,\"margin-top\",\"15px\"],[\"for\",\"file\",\"translate\",\"\"],[\"ng2FileSelect\",\"\",\"id\",\"file\",\"type\",\"file\",\"accept\",\".pdf,.zip\",\"aria-label\",\"Input area for uploading a single invoice PDF or XML B2B order file or a ZIP archive containing multiple invoices or orders\\x3c!----\\x3e\",2,\"margin-left\",\"10px\",3,\"uploader\"],[\"fileControl\",\"\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to send the complaint\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[1,\"error\",\"fileUploadError\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"NAV_COMPLAIN\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Hc(6,$i,3,5,\"div\",4),a.Hc(7,ta,3,5,\"div\",4),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_CUSTOMER\"),a.Vb(),a.Rb(12,\"input\",7),a.Vb(),a.Wb(13,\"mat-form-field\",6),a.Wb(14,\"mat-label\",2),a.Jc(15,\"LABEL_MESSAGE\"),a.Vb(),a.Wb(16,\"mat-hint\",2),a.Rb(17,\"i\",8),a.Wb(18,\"em\",9),a.Jc(19),a.jc(20,\"translate\"),a.Vb(),a.Vb(),a.Rb(21,\"textarea\",10,11),a.jc(23,\"translate\"),a.Hc(24,ea,3,3,\"mat-error\",12),a.Wb(25,\"mat-hint\",13),a.Jc(26),a.Vb(),a.Vb(),a.Wb(27,\"div\",14),a.Wb(28,\"label\",15),a.Jc(29,\"LABEL_INVOICE\"),a.Wb(30,\"span\"),a.Jc(31,\":\"),a.Vb(),a.Vb(),a.Rb(32,\"input\",16,17),a.Vb(),a.Vb(),a.Wb(34,\"button\",18),a.ec(\"click\",(function(){return e.save()})),a.Wb(35,\"i\",19),a.Jc(36,\" send \"),a.Vb(),a.Jc(37),a.jc(38,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(22);a.Db(4),a.oc(\"hidden\",!(e.confirmation&&!e.messageControl.dirty)),a.Db(1),a.Kc(e.confirmation),a.Db(1),a.oc(\"ngIf\",e.fileUploadError&&\"mimeType\"==e.fileUploadError.name),a.Db(1),a.oc(\"ngIf\",e.fileUploadError&&\"fileSize\"==e.fileUploadError.name),a.Db(5),a.oc(\"formControl\",e.customerControl),a.Db(7),a.Kc(a.lc(20,13,\"MAX_TEXTAREA_LENGTH\",a.sc(20,ia))),a.Db(2),a.pc(\"placeholder\",a.kc(23,16,\"WRITE_MESSAGE_PLACEHOLDER\")),a.oc(\"formControl\",e.messageControl),a.Db(3),a.oc(\"ngIf\",e.messageControl.invalid&&(null==e.messageControl?null:e.messageControl.errors.required)),a.Db(2),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/160\"),a.Db(6),a.oc(\"uploader\",e.uploader),a.Db(2),a.oc(\"disabled\",e.messageControl.invalid||e.fileUploadError),a.Db(3),a.Lc(\" \",a.kc(38,18,\"BTN_SUBMIT\"),\" \")}},directives:[h.c,f.a,g.a,P.l,At.b,At.f,Tt.b,c.b,c.n,c.d,At.e,Tt.d,c.i,Yi.a,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:30%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}\"]}),t})(),oa=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Recycles\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),na=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Addresss\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getById(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var ra=i(\"QibW\");function ca(t,e){1&t&&(a.Wb(0,\"h1\",5),a.Jc(1,\"TITLE_SELECT_ADDRESS\"),a.Vb())}function sa(t,e){1&t&&(a.Wb(0,\"h1\",5),a.Jc(1,\"MY_SAVED_ADRESSES\"),a.Vb())}function la(t,e){1&t&&a.Rb(0,\"mat-header-cell\",20)}function ba(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",20),a.Wb(1,\"mat-radio-button\",21),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).emitSelectionToParent(i.id)})),a.Vb(),a.Vb()}}function ua(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function da(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",null==t?null:t.fullName,\" \")}}function ma(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function pa(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",23),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Nc(\" \",null==t?null:t.streetAddress,\", \",null==t?null:t.city,\", \",null==t?null:t.state,\", \",null==t?null:t.zipCode,\" \")}}function ha(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function fa(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Kc(null==t?null:t.country)}}function ga(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function va(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",24),a.Wb(1,\"button\",25),a.Rb(2,\"i\",26),a.Vb(),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.qc(\"routerLink\",\"/address/edit/\",t.id,\"\")}}function Ca(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function wa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",24),a.Wb(1,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).deleteAddress(i.id)})),a.Rb(2,\"i\",28),a.Vb(),a.Vb()}}function ya(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function Da(t,e){1&t&&a.Rb(0,\"mat-row\")}function Sa(t,e){if(1&t&&(a.Wb(0,\"mat-table\",6),a.Ub(1,7),a.Hc(2,la,1,0,\"mat-header-cell\",8),a.Hc(3,ba,2,0,\"mat-cell\",9),a.Tb(),a.Ub(4,10),a.Hc(5,ua,1,0,\"mat-header-cell\",11),a.Hc(6,da,2,1,\"mat-cell\",9),a.Tb(),a.Ub(7,12),a.Hc(8,ma,1,0,\"mat-header-cell\",11),a.Hc(9,pa,2,4,\"mat-cell\",13),a.Tb(),a.Ub(10,14),a.Hc(11,ha,1,0,\"mat-header-cell\",11),a.Hc(12,fa,2,1,\"mat-cell\",9),a.Tb(),a.Ub(13,15),a.Hc(14,ga,1,0,\"mat-header-cell\",11),a.Hc(15,va,3,1,\"mat-cell\",16),a.Tb(),a.Ub(16,17),a.Hc(17,Ca,1,0,\"mat-header-cell\",11),a.Hc(18,wa,3,0,\"mat-cell\",16),a.Tb(),a.Hc(19,ya,1,0,\"mat-header-row\",18),a.Hc(20,Da,1,0,\"mat-row\",19),a.Vb()),2&t){const t=a.ic();a.oc(\"dataSource\",t.dataSource),a.Db(19),a.oc(\"matHeaderRowDef\",t.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",t.displayedColumns)}}function Wa(t,e){1&t&&(a.Wb(0,\"div\",29),a.Wb(1,\"button\",30),a.Wb(2,\"mat-icon\"),a.Jc(3,\" add \"),a.Vb(),a.Wb(4,\"span\",5),a.Jc(5,\"ADD_NEW_ADDRESS\"),a.Vb(),a.Vb(),a.Vb())}function xa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",31),a.ec(\"click\",(function(){return a.zc(t),a.ic().chooseAddress()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" navigate_next \"),a.Vb(),a.Wb(3,\"span\",5),a.Jc(4,\"LABEL_CONTINUE\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"disabled\",void 0===t.addressId)}}u.b.add(p.c,p.g),u.a.watch();let Va=(()=>{class t{constructor(t,e,i,o,n){this.addressService=t,this.translate=e,this.router=i,this.ngZone=o,this.snackBarHelperService=n,this.emitSelection=new a.o,this.allowEdit=!1,this.addNewAddressDiv=!0,this.showNextButton=!1,this.addressId=void 0,this.displayedColumns=[\"Name\",\"Address\",\"Country\"],this.addressExist=!1}ngOnInit(){this.allowEdit?this.displayedColumns.push(\"Edit\",\"Remove\"):this.displayedColumns.unshift(\"Selection\"),this.load()}load(){this.addressService.get().subscribe(t=>{this.addressExist=t.length,this.storedAddresses=t,this.dataSource=new T.o(this.storedAddresses)},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})}emitSelectionToParent(t){this.emitSelection.emit(t),this.addressId=t}chooseAddress(){sessionStorage.setItem(\"addressId\",this.addressId),this.ngZone.run(()=>this.router.navigate([\"/delivery-method\"]))}deleteAddress(t){this.addressService.del(t).subscribe(()=>{this.error=null,this.translate.get(\"ADDRESS_REMOVED\").subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")}),this.load()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(na),a.Qb(g.e),a.Qb(S.b),a.Qb(a.A),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-address\"]],inputs:{allowEdit:\"allowEdit\",addNewAddressDiv:\"addNewAddressDiv\",showNextButton:\"showNextButton\"},outputs:{emitSelection:\"emitSelection\"},decls:6,vars:7,consts:[[1,\"mat-elevation-z6\"],[\"translate\",\"\",4,\"ngIf\"],[3,\"dataSource\",4,\"ngIf\"],[\"style\",\"margin-top: 20px;\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"class\",\"btn btn-next\",\"color\",\"primary\",\"aria-label\",\"Proceed to payment selection\",3,\"disabled\",\"click\",4,\"ngIf\"],[\"translate\",\"\"],[3,\"dataSource\"],[\"matColumnDef\",\"Selection\"],[\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"Name\"],[\"style\",\"display: none;\",4,\"matHeaderCellDef\"],[\"matColumnDef\",\"Address\"],[\"fxFlex\",\"40%\",4,\"matCellDef\"],[\"matColumnDef\",\"Country\"],[\"matColumnDef\",\"Edit\"],[\"fxflex\",\"10%\",4,\"matCellDef\"],[\"matColumnDef\",\"Remove\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxFlex\",\"20%\"],[3,\"click\"],[2,\"display\",\"none\"],[\"fxFlex\",\"40%\"],[\"fxflex\",\"10%\"],[\"mat-icon-button\",\"\",3,\"routerLink\"],[1,\"far\",\"fa-edit\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"far\",\"fa-trash-alt\"],[2,\"margin-top\",\"20px\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Add a new address\",\"routerLink\",\"/address/create\",1,\"btn\",\"btn-new-address\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Proceed to payment selection\",1,\"btn\",\"btn-next\",3,\"disabled\",\"click\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Hc(1,ca,2,0,\"h1\",1),a.Hc(2,sa,2,0,\"h1\",1),a.Hc(3,Sa,21,3,\"mat-table\",2),a.Hc(4,Wa,6,0,\"div\",3),a.Hc(5,xa,5,1,\"button\",4),a.Vb()),2&t&&(a.Hb(\"div-boundary\",!e.addNewAddressDiv),a.Db(1),a.oc(\"ngIf\",e.showNextButton),a.Db(1),a.oc(\"ngIf\",!e.showNextButton),a.Db(1),a.oc(\"ngIf\",e.addressExist),a.Db(1),a.oc(\"ngIf\",e.addNewAddressDiv),a.Db(1),a.oc(\"ngIf\",e.showNextButton))},directives:[f.a,P.l,g.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,h.b,T.a,ra.a,v.a,S.c,T.j,T.l,Ce.a],styles:[\".btn-new-address[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;display:block}.btn-next[_ngcontent-%COMP%]{margin-right:0;margin-left:auto;display:block;margin-top:-37px}mat-header-row[_ngcontent-%COMP%]{min-height:0!important}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large}.heading-text[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;padding:12px 20px}.div-boundary[_ngcontent-%COMP%]{border:1px solid hsla(0,0%,100%,.3);border-radius:5px}\"]}),t})();var Ia=i(\"iadO\");const _a=[\"addressComp\"];function ka(t,e){if(1&t&&(a.Wb(0,\"div\",22),a.Jc(1),a.Vb()),2&t){const t=a.ic();a.Db(1),a.Lc(\"\",t.confirmation,\" \")}}function Oa(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_QUANTITY \"),a.Vb())}const La=function(){return{range:\"10-1000\"}};function Aa(t,e){1&t&&(a.Wb(0,\"mat-error\",23),a.Jc(1,\"INVALID_QUANTITY \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,La))}function Ta(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_DATE\"),a.Vb())}function Pa(t,e){if(1&t&&(a.Wb(0,\"mat-form-field\",5),a.Wb(1,\"mat-label\",2),a.Jc(2,\"LABEL_PICKUP_DATE\"),a.Vb(),a.Rb(3,\"input\",24),a.Rb(4,\"mat-datepicker-toggle\",25),a.Rb(5,\"mat-datepicker\",null,26),a.Hc(7,Ta,2,0,\"mat-error\",8),a.Vb()),2&t){const t=a.wc(6),e=a.ic();a.Db(3),a.oc(\"formControl\",e.pickUpDateControl)(\"matDatepicker\",t),a.Db(1),a.oc(\"for\",t),a.Db(3),a.oc(\"ngIf\",e.pickUpDateControl.invalid)}}function Ea(t,e){if(1&t&&(a.Wb(0,\"mat-checkbox\",27),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t){const t=a.ic();a.oc(\"formControl\",t.pickup),a.Db(1),a.Lc(\"\",a.kc(2,2,\"REQUEST_PICKUP\"),\" \")}}u.b.add(m.C),u.a.watch();let Ra=(()=>{class t{constructor(t,e,i,a,o){this.recycleService=t,this.userService=e,this.configurationService=i,this.formSubmitService=a,this.translate=o,this.requestorControl=new c.c({value:\"\",disabled:!0},[]),this.recycleQuantityControl=new c.c(\"\",[c.x.required,c.x.min(10),c.x.max(1e3)]),this.pickUpDateControl=new c.c,this.pickup=new c.c(!1),this.recycle={},this.addressId=void 0}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.recyclePage&&(this.topImage=\"assets/public/images/products/\"+t.application.recyclePage.topProductImage,this.bottomImage=\"assets/public/images/products/\"+t.application.recyclePage.bottomProductImage)},t=>console.log(t)),this.initRecycle(),this.findAll(),this.formSubmitService.attachEnterKeyHandler(\"recycle-form\",\"recycleButton\",()=>this.save())}initRecycle(){this.userService.whoAmI().subscribe(t=>{this.recycle={},this.recycle.UserId=t.id,this.userEmail=t.email,this.requestorControl.setValue(this.userEmail)},t=>console.log(t))}save(){this.recycle.AddressId=this.addressId,this.recycle.quantity=this.recycleQuantityControl.value,this.pickup.value&&(this.recycle.isPickUp=this.pickup.value,this.recycle.date=this.pickUpDateControl.value),this.recycleService.save(this.recycle).subscribe(t=>{t.isPickup?this.translate.get(\"CONFIRM_RECYCLING_PICKUP\",{pickupdate:t.pickupDate}).subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}):this.translate.get(\"CONFIRM_RECYCLING_BOX\").subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}),this.addressComponent.load(),this.initRecycle(),this.resetForm()},t=>console.log(t))}findAll(){this.recycleService.find().subscribe(t=>{this.recycles=t},t=>{console.log(t)})}resetForm(){this.addressId=void 0,this.recycleQuantityControl.setValue(\"\"),this.recycleQuantityControl.markAsPristine(),this.recycleQuantityControl.markAsUntouched(),this.pickUpDateControl.setValue(\"\"),this.pickUpDateControl.markAsPristine(),this.pickUpDateControl.markAsUntouched(),this.pickup.setValue(!1)}getMessage(t){this.addressId=t}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(oa),a.Qb(D),a.Qb(b),a.Qb(Lt),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-recycle\"]],viewQuery:function(t,e){var i;1&t&&a.Fc(_a,!0),2&t&&a.vc(i=a.fc())&&(e.addressComponent=i.first)},decls:43,vars:17,consts:[[\"fxLayout\",\"row\",\"fxLayoutGap\",\"5%\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap.lt-md\",\"20px\",1,\"main-wrapper\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxFlex\",\"50%\"],[\"translate\",\"\"],[\"id\",\"recycle-form\",1,\"form-container\"],[\"class\",\"confirmation\",4,\"ngIf\"],[\"appearance\",\"outline\"],[\"type\",\"text\",\"matInput\",\"\",3,\"formControl\"],[\"type\",\"number\",\"matInput\",\"\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",4,\"ngIf\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[3,\"addNewAddressDiv\",\"emitSelection\"],[\"addressComp\",\"\"],[\"appearance\",\"outline\",4,\"ngIf\"],[3,\"formControl\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"recycleButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-paper-plane\",\"fa-lg\"],[\"fxFlex\",\"50%\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxLayoutAlign\",\"center\"],[\"translate\",\"\",1,\"responsibility-header\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"20px\"],[\"mat-card-image\",\"\",3,\"src\"],[1,\"fill-remaining-space\"],[1,\"confirmation\"],[\"translate\",\"\",3,\"translateParams\"],[\"matInput\",\"\",3,\"formControl\",\"matDatepicker\"],[\"matSuffix\",\"\",3,\"for\"],[\"picker\",\"\"],[3,\"formControl\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"mat-card\"),a.Wb(3,\"h3\",2),a.Jc(4,\"TITLE_RECYCLE\"),a.Vb(),a.Wb(5,\"div\",3),a.Hc(6,ka,2,1,\"div\",4),a.Wb(7,\"mat-form-field\",5),a.Wb(8,\"mat-label\",2),a.Jc(9,\"LABEL_REQUESTOR\"),a.Vb(),a.Rb(10,\"input\",6),a.Vb(),a.Wb(11,\"mat-form-field\",5),a.Wb(12,\"mat-label\",2),a.Jc(13,\"LABEL_QUANTITY\"),a.Vb(),a.Rb(14,\"input\",7),a.jc(15,\"translate\"),a.Hc(16,Oa,2,0,\"mat-error\",8),a.Hc(17,Aa,2,2,\"mat-error\",9),a.Vb(),a.Wb(18,\"app-address\",10,11),a.ec(\"emitSelection\",(function(t){return e.getMessage(t)})),a.Vb(),a.Hc(20,Pa,8,4,\"mat-form-field\",12),a.Hc(21,Ea,3,4,\"mat-checkbox\",13),a.Vb(),a.Wb(22,\"button\",14),a.ec(\"click\",(function(){return e.save()})),a.Rb(23,\"i\",15),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(26,\"div\",16),a.Wb(27,\"div\",17),a.Wb(28,\"h4\",18),a.Jc(29,\"SECTION_PRESS_JUICE_RESPONSIBLY\"),a.Vb(),a.Wb(30,\"mat-card\",19),a.Rb(31,\"img\",20),a.Wb(32,\"mat-card-content\"),a.Wb(33,\"div\"),a.Wb(34,\"small\"),a.Jc(35,\"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(36,\"mat-card\",19),a.Rb(37,\"img\",20),a.Wb(38,\"mat-card-content\"),a.Wb(39,\"div\"),a.Wb(40,\"small\"),a.Jc(41,\"Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Rb(42,\"span\",21),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(6),a.oc(\"ngIf\",e.confirmation&&!e.recycleQuantityControl.dirty),a.Db(4),a.oc(\"formControl\",e.requestorControl),a.Db(4),a.oc(\"formControl\",e.recycleQuantityControl)(\"placeholder\",a.kc(15,13,\"IN_LITERS_PLACEHOLDER\")),a.Db(2),a.oc(\"ngIf\",e.recycleQuantityControl.invalid&&e.recycleQuantityControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.recycleQuantityControl.invalid&&(e.recycleQuantityControl.errors.min||e.recycleQuantityControl.errors.max)),a.Db(1),a.oc(\"addNewAddressDiv\",!1),a.Db(2),a.oc(\"ngIf\",e.pickup.value&&e.recycleQuantityControl.value>100),a.Db(1),a.oc(\"ngIf\",e.recycleQuantityControl.value>100),a.Db(1),a.oc(\"disabled\",void 0===e.addressId||e.recycleQuantityControl.invalid||e.pickUpDateControl.invalid),a.Db(2),a.Lc(\" \",a.kc(25,15,\"BTN_SUBMIT\"),\" \"),a.Db(7),a.oc(\"src\",e.topImage,a.Cc),a.Db(6),a.oc(\"src\",e.bottomImage,a.Cc))},directives:[h.d,h.e,h.b,f.a,g.a,P.l,At.b,At.f,Tt.b,c.b,c.n,c.d,c.s,Va,v.a,h.c,f.d,f.b,At.a,Ia.b,Ia.d,At.g,Ia.a,ui.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}button[_ngcontent-%COMP%]{margin-top:5px}mat-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100px;width:auto}mat-checkbox[_ngcontent-%COMP%]{margin-bottom:20px}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}\"]}),t})(),Ma=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Challenges\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}repeatNotification(t){return this.http.get(this.hostServer+\"/rest/repeat-notification\",{params:{challenge:t}}).pipe(Object(l.a)(t=>{throw t}))}continueCode(){return this.http.get(this.hostServer+\"/rest/continue-code\").pipe(Object(s.a)(t=>t.continueCode),Object(l.a)(t=>{throw t}))}restoreProgress(t){return this.http.put(this.hostServer+\"/rest/continue-code/apply/\"+t,{}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Ja=i(\"JqCM\"),Ha=i(\"bv9b\"),Na=i(\"jaxi\");function Fa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",3),a.ec(\"click\",(function(){return a.zc(t),a.ic().repeatNotification()})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\",4),a.Jc(3,\"flag\"),a.Vb(),a.Wb(4,\"mat-icon\",4),a.Jc(5,\"check_box\"),a.Vb(),a.Wb(6,\"span\",5),a.Jc(7),a.jc(8,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"id\",t.challenge.name+\".solved\")(\"matTooltip\",t.allowRepeatNotifications?a.kc(1,5,\"NOTIFICATION_RESEND_INSTRUCTIONS\"):null),a.Db(2),a.oc(\"hidden\",!t.allowRepeatNotifications),a.Db(2),a.oc(\"hidden\",t.allowRepeatNotifications),a.Db(3),a.Kc(a.kc(8,7,\"STATUS_SOLVED\"))}}function Ba(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",6),a.ec(\"click\",(function(){return a.zc(t),a.ic().openHint()})),a.Wb(1,\"mat-icon\",4),a.Jc(2,\"book\"),a.Vb(),a.Wb(3,\"mat-icon\",4),a.Jc(4,\"check_box_outline_blank\"),a.Vb(),a.Wb(5,\"span\",5),a.Jc(6),a.jc(7,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"id\",t.challenge.name+\".notSolved\")(\"matTooltip\",t.showChallengeHints?t.challenge.hint:null),a.Db(1),a.oc(\"hidden\",!t.showChallengeHints||!t.challenge.hintUrl),a.Db(2),a.oc(\"hidden\",t.showChallengeHints&&t.challenge.hintUrl),a.Db(3),a.Kc(a.kc(7,5,\"STATUS_UNSOLVED\"))}}function Ua(t,e){if(1&t&&(a.Wb(0,\"button\",7),a.Wb(1,\"span\"),a.Rb(2,\"i\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb()),2&t){const t=a.ic();a.oc(\"id\",t.challenge.name+\".unavailable\")(\"matTooltip\",t.challenge.hint),a.Db(2),a.Fb(\"icon-\"+(null==t.challenge.disabledEnv?null:t.challenge.disabledEnv.toString().toLowerCase())),a.Db(1),a.Lc(\" \",a.kc(4,6,\"STATUS_UNAVAILABLE\"),\" \")}}let ja=(()=>{class t{constructor(t,e){this.challengeService=t,this.windowRefService=e,this.challenge={},this.allowRepeatNotifications=!1,this.showChallengeHints=!0}repeatNotification(){this.allowRepeatNotifications&&this.challengeService.repeatNotification(encodeURIComponent(this.challenge.name)).subscribe(()=>{this.windowRefService.nativeWindow.scrollTo(0,0)},t=>console.log(t))}openHint(){this.showChallengeHints&&this.challenge.hintUrl&&this.windowRefService.nativeWindow.open(this.challenge.hintUrl,\"_blank\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ma),a.Qb(bi))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-challenge-status-badge\"]],inputs:{challenge:\"challenge\",allowRepeatNotifications:\"allowRepeatNotifications\",showChallengeHints:\"showChallengeHints\"},decls:3,vars:3,consts:[[\"mat-raised-button\",\"\",\"color\",\"accent\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"accent\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\"],[3,\"hidden\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\"],[\"mat-raised-button\",\"\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\"]],template:function(t,e){1&t&&(a.Hc(0,Fa,9,9,\"button\",0),a.Hc(1,Ba,8,7,\"button\",1),a.Hc(2,Ua,5,8,\"button\",2)),2&t&&(a.oc(\"ngIf\",!e.challenge.disabledEnv&&e.challenge.solved),a.Db(1),a.oc(\"ngIf\",!e.challenge.disabledEnv&&!e.challenge.solved),a.Db(1),a.oc(\"ngIf\",e.challenge.disabledEnv))},directives:[P.l,v.a,we.a,Ce.a,E.b],pipes:[g.d],styles:[\"\"]}),t})();function Qa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-button-toggle\",6),a.ec(\"change\",(function(){a.zc(t);const i=e.$implicit;return a.ic().toggleDifficulty(i)})),a.Wb(1,\"label\"),a.Wb(2,\"span\",17),a.hc(),a.Wb(3,\"svg\",18),a.Wb(4,\"linearGradient\",19),a.Rb(5,\"stop\",20),a.Rb(6,\"stop\",21),a.Vb(),a.Rb(7,\"path\",22),a.Vb(),a.gc(),a.Wb(8,\"span\",23),a.Jc(9),a.Vb(),a.Wb(10,\"span\"),a.Jc(11),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.oc(\"checked\",i.displayedDifficulties.includes(t)),a.Db(3),a.Gc(\"fill\",\"url(#\"+t+\")\"),a.Db(1),a.oc(\"id\",t),a.Db(1),a.Eb(\"offset\",i.challenges?i.offsetValue[t-1]:\"100%\"),a.Db(1),a.Eb(\"offset\",i.challenges?i.offsetValue[t-1]:\"100%\"),a.Db(1),a.Eb(\"fill\",\"inherit\"),a.Db(2),a.Kc(t),a.Db(1),a.Fb(\"fa-layers-counter \"+(i.solvedChallengesOfDifficulty[t-1].length===i.totalChallengesOfDifficulty[t-1].length?\"accent-notification\":0===i.solvedChallengesOfDifficulty[t-1].length?\"warn-notification\":\"primary-notification\")),a.Db(1),a.Lc(\" \",i.solvedChallengesOfDifficulty[t-1].length+\"/\"+i.totalChallengesOfDifficulty[t-1].length,\" \")}}function za(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-button-toggle\",6),a.ec(\"change\",(function(){return a.zc(t),a.ic().toggleShowDisabledChallenges()})),a.Rb(1,\"i\",24),a.Jc(2),a.jc(3,\"translate\"),a.Vb()}if(2&t){const t=a.ic();a.oc(\"checked\",t.showDisabledChallenges),a.Db(2),a.Lc(\" \",a.kc(3,2,\"BTN_SHOW_UNAVAILABLE\"),\" \")}}const Ga=function(t,e){return{num:t,env:e}};function qa(t,e){if(1&t&&(a.Rb(0,\"div\",25),a.jc(1,\"translate\")),2&t){const t=a.ic();a.oc(\"innerHTML\",a.lc(1,1,\"INFO_DISABLED_CHALLENGES\",a.uc(4,Ga,t.numDisabledChallenges,t.disabledEnv)),a.Ac)}}function Ya(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-button-toggle\",26),a.ec(\"change\",(function(){a.zc(t);const i=e.$implicit;return a.ic().toggleShowChallengeCategory(i)})),a.Jc(1),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.oc(\"checked\",i.displayedChallengeCategories.includes(t)),a.Db(1),a.Lc(\" \",t,\" \")}}function Ka(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",45),a.Jc(1,\"LABEL_NAME\"),a.Vb())}function Xa(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",46),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\"\")}}function $a(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",47),a.Jc(1,\"LABEL_DIFFICULTY\"),a.Vb())}function Za(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",48),a.Rb(1,\"bar-rating\",49),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"rate\",t.difficulty)(\"max\",t.difficulty)}}function to(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",50),a.Jc(1,\"LABEL_DESCRIPTION \"),a.Vb())}function eo(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",51),a.Rb(1,\"div\",52),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"innerHTML\",t.description,a.Ac)}}function io(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",53),a.Jc(1,\"LABEL_CATEGORY\"),a.Vb())}function ao(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",54),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.category,\"\")}}function oo(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",55),a.Jc(1,\"LABEL_STATUS\"),a.Vb())}function no(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",58),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic(2).startHackingInstructor(e.name)})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" school \"),a.Vb(),a.Vb()}2&t&&a.oc(\"matTooltip\",a.kc(1,1,\"INFO_HACKING_INSTRUCTOR\"))}function ro(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Rb(1,\"app-challenge-status-badge\",56),a.Hc(2,no,4,3,\"button\",57),a.Vb()),2&t){const t=e.$implicit,i=a.ic(2);a.Db(1),a.oc(\"challenge\",t)(\"allowRepeatNotifications\",i.allowRepeatNotifications)(\"showChallengeHints\",i.showChallengeHints),a.Db(1),a.oc(\"ngIf\",i.showHackingInstructor&&!t.disabledEnv&&t.hasTutorial)}}function co(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function so(t,e){1&t&&a.Rb(0,\"mat-row\")}function lo(t,e){if(1&t&&(a.Wb(0,\"mat-table\",27),a.Ub(1,28),a.Hc(2,Ka,2,0,\"mat-header-cell\",29),a.Hc(3,Xa,2,1,\"mat-cell\",30),a.Tb(),a.Ub(4,31),a.Hc(5,$a,2,0,\"mat-header-cell\",32),a.Hc(6,Za,2,2,\"mat-cell\",33),a.Tb(),a.Ub(7,34),a.Hc(8,to,2,0,\"mat-header-cell\",35),a.Hc(9,eo,2,1,\"mat-cell\",36),a.Tb(),a.Ub(10,37),a.Hc(11,io,2,0,\"mat-header-cell\",38),a.Hc(12,ao,2,1,\"mat-cell\",39),a.Tb(),a.Ub(13,40),a.Hc(14,oo,2,0,\"mat-header-cell\",41),a.Hc(15,ro,3,4,\"mat-cell\",42),a.Tb(),a.Hc(16,co,1,0,\"mat-header-row\",43),a.Hc(17,so,1,0,\"mat-row\",44),a.Vb()),2&t){const t=a.ic();a.oc(\"dataSource\",t.filterToDataSource(t.challenges))(\"trackBy\",t.trackById),a.Db(16),a.oc(\"matHeaderRowDef\",t.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",t.displayedColumns)}}function bo(t,e){1&t&&(a.Rb(0,\"mat-card\",63),a.jc(1,\"translate\")),2&t&&a.oc(\"innerHTML\",a.kc(1,1,\"CALL_FOR_CONTRIBUTIONS\"),a.Ac)}const uo=function(t,e){return{appname:t,questionnaire:e}};function mo(t,e){if(1&t&&(a.Rb(0,\"mat-card\",64),a.jc(1,\"translate\")),2&t){const t=a.ic(2);a.oc(\"innerHTML\",a.lc(1,1,\"CALL_FOR_FEEDBACK\",a.uc(4,uo,t.appName,t.questionnaireUrl)),a.Ac)}}function po(t,e){if(1&t&&(a.Wb(0,\"div\",59),a.Hc(1,bo,2,3,\"mat-card\",60),a.Rb(2,\"span\",61),a.Hc(3,mo,2,7,\"mat-card\",62),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngIf\",t.showContributionInfoBox),a.Db(2),a.oc(\"ngIf\",t.questionnaireUrl)}}u.b.add(m.L,p.d,d.e,d.d,d.b,m.X,m.E),u.a.watch();let ho=(()=>{class t{constructor(t,e,i,a,o,n,r){this.configurationService=t,this.challengeService=e,this.sanitizer=i,this.ngZone=a,this.io=o,this.spinner=n,this.translate=r,this.availableDifficulties=[1,2,3,4,5,6],this.displayedDifficulties=[],this.availableChallengeCategories=[],this.displayedChallengeCategories=[],this.toggledMajorityOfDifficulties=!1,this.toggledMajorityOfCategories=!0,this.showSolvedChallenges=!0,this.numDisabledChallenges=0,this.showDisabledChallenges=!1,this.displayedColumns=[\"name\",\"difficulty\",\"description\",\"category\",\"status\"],this.offsetValue=[\"100%\",\"100%\",\"100%\",\"100%\",\"100%\",\"100%\"],this.allowRepeatNotifications=!1,this.showChallengeHints=!0,this.showHackingInstructor=!0,this.challenges=[],this.percentChallengesSolved=\"0\",this.solvedChallengesOfDifficulty=[[],[],[],[],[],[]],this.totalChallengesOfDifficulty=[[],[],[],[],[],[]],this.showContributionInfoBox=!0,this.questionnaireUrl=\"https://forms.gle/2Tr5m1pqnnesApxN8\",this.appName=\"OWASP Juice Shop\"}ngOnInit(){this.spinner.show(),this.displayedDifficulties=localStorage.getItem(\"displayedDifficulties\")?JSON.parse(String(localStorage.getItem(\"displayedDifficulties\"))):[1],this.showSolvedChallenges=!localStorage.getItem(\"showSolvedChallenges\")||JSON.parse(String(localStorage.getItem(\"showSolvedChallenges\"))),this.showDisabledChallenges=!!localStorage.getItem(\"showDisabledChallenges\")&&JSON.parse(String(localStorage.getItem(\"showDisabledChallenges\"))),this.configurationService.getApplicationConfiguration().subscribe(t=>{this.allowRepeatNotifications=t.challenges.showSolvedNotifications&&t.ctf.showFlagsInNotifications,this.showChallengeHints=t.challenges.showHints,this.showHackingInstructor=t.hackingInstructor&&t.hackingInstructor.isEnabled,this.showContributionInfoBox=t.application.showGitHubLinks,this.questionnaireUrl=t.application.social&&t.application.social.questionnaireUrl,this.appName=t.application.name},t=>console.log(t)),this.challengeService.find({sort:\"name\"}).subscribe(t=>{this.challenges=t;for(let e=0;e<this.challenges.length;e++)this.augmentHintText(this.challenges[e]),this.trustDescriptionHtml(this.challenges[e]),\"Score Board\"===this.challenges[e].name&&(this.challenges[e].solved=!0),this.availableChallengeCategories.includes(t[e].category)||this.availableChallengeCategories.push(t[e].category),this.showHackingInstructor&&i.e(5).then(i.bind(null,\"s2oO\")).then(i=>{t[e].hasTutorial=i.hasInstructions(t[e].name)});this.availableChallengeCategories.sort(),this.displayedChallengeCategories=localStorage.getItem(\"displayedChallengeCategories\")?JSON.parse(String(localStorage.getItem(\"displayedChallengeCategories\"))):this.availableChallengeCategories,this.calculateProgressPercentage(),this.populateFilteredChallengeLists(),this.calculateGradientOffsets(t),this.toggledMajorityOfDifficulties=this.determineToggledMajorityOfDifficulties(),this.toggledMajorityOfCategories=this.determineToggledMajorityOfCategories(),this.spinner.hide()},t=>{this.challenges=[],console.log(t)}),this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{if(t&&t.challenge){for(let e=0;e<this.challenges.length;e++)if(this.challenges[e].name===t.name){this.challenges[e].solved=!0;break}this.calculateProgressPercentage(),this.populateFilteredChallengeLists(),this.calculateGradientOffsets(this.challenges)}})})}augmentHintText(t){t.disabledEnv?(this.numDisabledChallenges++,this.disabledEnv=t.disabledEnv,this.translate.get(\"CHALLENGE_UNAVAILABLE\",{env:t.disabledEnv}).subscribe(e=>{t.hint=e},e=>{t.hint=e})):t.hintUrl&&(t.hint?this.translate.get(\"CLICK_FOR_MORE_HINTS\").subscribe(e=>{t.hint+=` ${e}`},e=>{t.hint+=` ${e}`}):this.translate.get(\"CLICK_TO_OPEN_HINTS\").subscribe(e=>{t.hint=e},e=>{t.hint=e}))}trustDescriptionHtml(t){t.description=this.sanitizer.bypassSecurityTrustHtml(t.description)}calculateProgressPercentage(){let t=0;for(let e=0;e<this.challenges.length;e++)t+=this.challenges[e].solved?1:0;this.percentChallengesSolved=(100*t/this.challenges.length).toFixed(0)}calculateGradientOffsets(t){for(let e=1;e<=6;e++){let i=0,a=0;for(let n=0;n<t.length;n++)t[n].difficulty===e&&(a++,t[n].solved&&i++);let o=Math.round(100*i/a);o=100-o,o=+o+\"%\",this.offsetValue[e-1]=o}}toggleDifficulty(t){this.displayedDifficulties.includes(t)?this.displayedDifficulties=this.displayedDifficulties.filter(e=>e!==t):this.displayedDifficulties.push(t),localStorage.setItem(\"displayedDifficulties\",JSON.stringify(this.displayedDifficulties)),this.toggledMajorityOfDifficulties=this.determineToggledMajorityOfDifficulties()}toggleAllDifficulty(){this.toggledMajorityOfDifficulties?(this.displayedDifficulties=[],this.toggledMajorityOfDifficulties=!1):(this.displayedDifficulties=this.availableDifficulties,this.toggledMajorityOfDifficulties=!0),localStorage.setItem(\"displayedDifficulties\",JSON.stringify(this.displayedDifficulties))}toggleShowSolvedChallenges(){this.showSolvedChallenges=!this.showSolvedChallenges,localStorage.setItem(\"showSolvedChallenges\",JSON.stringify(this.showSolvedChallenges))}toggleShowDisabledChallenges(){this.showDisabledChallenges=!this.showDisabledChallenges,localStorage.setItem(\"showDisabledChallenges\",JSON.stringify(this.showDisabledChallenges))}toggleShowChallengeCategory(t){this.displayedChallengeCategories.includes(t)?this.displayedChallengeCategories=this.displayedChallengeCategories.filter(e=>e!==t):this.displayedChallengeCategories.push(t),localStorage.setItem(\"displayedChallengeCategories\",JSON.stringify(this.displayedChallengeCategories)),this.toggledMajorityOfCategories=this.determineToggledMajorityOfCategories()}toggleAllChallengeCategory(){this.toggledMajorityOfCategories?(this.displayedChallengeCategories=[],this.toggledMajorityOfCategories=!1):(this.displayedChallengeCategories=this.availableChallengeCategories,this.toggledMajorityOfCategories=!0),localStorage.setItem(\"displayedChallengeCategories\",JSON.stringify(this.displayedChallengeCategories))}determineToggledMajorityOfDifficulties(){return this.displayedDifficulties.length>this.availableDifficulties.length/2}determineToggledMajorityOfCategories(){return this.displayedChallengeCategories.length>this.availableChallengeCategories.length/2}filterToDataSource(t){t=t.filter(t=>!(!this.displayedDifficulties.includes(t.difficulty)||!this.displayedChallengeCategories.includes(t.category)||!this.showSolvedChallenges&&t.solved||!this.showDisabledChallenges&&t.disabledEnv));let e=new T.o;return e.data=t,e}populateFilteredChallengeLists(){for(const t of this.availableDifficulties)0===this.challenges.length?(this.totalChallengesOfDifficulty[t-1]=[],this.solvedChallengesOfDifficulty[t-1]=[]):(this.totalChallengesOfDifficulty[t-1]=this.challenges.filter(e=>e.difficulty===t),this.solvedChallengesOfDifficulty[t-1]=this.challenges.filter(e=>e.difficulty===t&&!0===e.solved))}startHackingInstructor(t){console.log(`Starting instructions for challenge \"${t}\"`),i.e(5).then(i.bind(null,\"s2oO\")).then(e=>{e.startHackingInstructorFor(t)})}trackById(t,e){return e.id}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(Ma),a.Qb(o.c),a.Qb(a.A),a.Qb(qe),a.Qb(Ja.c),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-score-board\"]],decls:31,vars:22,consts:[[\"fxLayout\",\"column\"],[1,\"confirmation\"],[\"mode\",\"determinate\",3,\"color\",\"value\"],[\"fxLayout\",\"row wrap\",1,\"star-container\"],[3,\"checked\",\"change\",4,\"ngFor\",\"ngForOf\"],[\"id\",\"btnToggleAllDifficulties\",1,\"mat-button\",3,\"click\"],[3,\"checked\",\"change\"],[\"aria-hidden\",\"true\",1,\"fa-2x\",\"fas\",\"fa-trophy\"],[3,\"checked\",\"change\",4,\"ngIf\"],[\"class\",\"disabled-challenges-infoBox mat-button\",3,\"innerHTML\",4,\"ngIf\"],[\"fxLayout\",\"row wrap\",1,\"category-container\"],[\"class\",\"category-toggle\",\"appearance\",\"legacy\",3,\"checked\",\"change\",4,\"ngFor\",\"ngForOf\"],[1,\"mat-button\",3,\"click\"],[3,\"dataSource\",\"trackBy\",4,\"ngIf\"],[\"fxLayout\",\"row\",\"fxLayout.lt-lg\",\"column\",4,\"ngIf\"],[\"src\",\"assets/public/images/padding/1px.png\"],[\"type\",\"timer\",\"size\",\"large\",1,\"overlay-fullscreen\"],[1,\"fa-4x\",\"fa-layers\",\"fa-fw\",2,\"display\",\"block\",\"margin\",\"5px\"],[\"aria-hidden\",\"true\",\"data-prefix\",\"fa\",\"data-icon\",\"star\",\"role\",\"img\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"viewBox\",\"0 0 576 512\",\"data-fa-i2svg\",\"\",\"stroke-width\",\"10\",1,\"svg-inline--fa\",\"fa-star\",\"fa-w-18\",\"star-border\"],[\"x1\",\"0\",\"x2\",\"0\",\"y1\",\"0\",\"y2\",\"100%\",3,\"id\"],[1,\"empty-star\"],[1,\"filled-star\"],[\"d\",\"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z\"],[\"data-fa-transform\",\"shrink-9\",1,\"fa-layers-text\",\"fa-inverse\",2,\"font-weight\",\"900\"],[\"aria-hidden\",\"true\",1,\"fa-2x\",\"fas\",\"fa-exclamation-circle\"],[1,\"disabled-challenges-infoBox\",\"mat-button\",3,\"innerHTML\"],[\"appearance\",\"legacy\",1,\"category-toggle\",3,\"checked\",\"change\"],[3,\"dataSource\",\"trackBy\"],[\"matColumnDef\",\"name\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"difficulty\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"description\"],[\"fxFlex\",\"1 1 50%\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"1 1 50%\",4,\"matCellDef\"],[\"matColumnDef\",\"category\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"status\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[4,\"matCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\"],[\"readOnly\",\"true\",3,\"rate\",\"max\"],[\"fxFlex\",\"1 1 50%\",\"translate\",\"\"],[\"fxFlex\",\"1 1 50%\"],[3,\"innerHTML\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\"],[\"translate\",\"\"],[3,\"challenge\",\"allowRepeatNotifications\",\"showChallengeHints\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",\"class\",\"hacking-instructor-button\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",1,\"hacking-instructor-button\",3,\"matTooltip\",\"click\"],[\"fxLayout\",\"row\",\"fxLayout.lt-lg\",\"column\"],[\"fxFlex\",\"40%\",\"fxFlex.lt-lg\",\"100%\",\"class\",\"primary-notification\",3,\"innerHTML\",4,\"ngIf\"],[1,\"fill-remaining-space\"],[\"fxFlex\",\"20%\",\"fxFlex.lt-lg\",\"100%\",\"class\",\"warn-notification\",3,\"innerHTML\",4,\"ngIf\"],[\"fxFlex\",\"40%\",\"fxFlex.lt-lg\",\"100%\",1,\"primary-notification\",3,\"innerHTML\"],[\"fxFlex\",\"20%\",\"fxFlex.lt-lg\",\"100%\",1,\"warn-notification\",3,\"innerHTML\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\"),a.Wb(2,\"mat-card-title\"),a.Jc(3),a.jc(4,\"translate\"),a.Wb(5,\"small\",1),a.Jc(6),a.Vb(),a.Vb(),a.Rb(7,\"mat-progress-bar\",2),a.Vb(),a.Wb(8,\"mat-card\"),a.Wb(9,\"div\",3),a.Hc(10,Qa,12,11,\"mat-button-toggle\",4),a.Wb(11,\"button\",5),a.ec(\"click\",(function(){return e.toggleAllDifficulty()})),a.Jc(12),a.jc(13,\"translate\"),a.Vb(),a.Wb(14,\"mat-button-toggle\",6),a.ec(\"change\",(function(){return e.toggleShowSolvedChallenges()})),a.Rb(15,\"i\",7),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Hc(18,za,4,4,\"mat-button-toggle\",8),a.Hc(19,qa,2,7,\"div\",9),a.Vb(),a.Rb(20,\"mat-divider\"),a.Wb(21,\"div\",10),a.Hc(22,Ya,2,2,\"mat-button-toggle\",11),a.Wb(23,\"button\",12),a.ec(\"click\",(function(){return e.toggleAllChallengeCategory()})),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(26,\"mat-card\"),a.Hc(27,lo,18,4,\"mat-table\",13),a.Vb(),a.Hc(28,po,4,2,\"div\",14),a.Vb(),a.Rb(29,\"img\",15),a.Rb(30,\"ngx-spinner\",16)),2&t&&(a.Db(3),a.Lc(\"\",a.kc(4,14,\"TITLE_SCORE_BOARD\"),\" \"),a.Db(3),a.Lc(\"\",e.percentChallengesSolved,\"%\"),a.Db(1),a.oc(\"color\",\"accent\")(\"value\",e.percentChallengesSolved),a.Db(3),a.oc(\"ngForOf\",e.availableDifficulties),a.Db(2),a.Kc(a.kc(13,16,e.toggledMajorityOfDifficulties?\"BTN_HIDE_ALL\":\"BTN_SHOW_ALL\")),a.Db(2),a.oc(\"checked\",e.showSolvedChallenges),a.Db(2),a.Lc(\" \",a.kc(17,18,\"BTN_SHOW_SOLVED\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.numDisabledChallenges>0),a.Db(1),a.oc(\"ngIf\",e.numDisabledChallenges>0&&e.showDisabledChallenges),a.Db(3),a.oc(\"ngForOf\",e.availableChallengeCategories),a.Db(2),a.Kc(a.kc(25,20,e.toggledMajorityOfCategories?\"BTN_HIDE_ALL\":\"BTN_SHOW_ALL\")),a.Db(3),a.oc(\"ngIf\",e.challenges),a.Db(1),a.oc(\"ngIf\",e.showContributionInfoBox||e.questionnaireUrl))},directives:[h.d,f.a,f.f,Ha.a,P.k,Na.a,P.l,Re.a,Ja.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,E.b,g.a,T.a,Pt.a,h.b,ja,v.a,we.a,Ce.a,T.j,T.l],pipes:[g.d],styles:[\"footer[_ngcontent-%COMP%], mat-card[_ngcontent-%COMP%], mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:35px;margin-left:35px;margin-right:35px;min-width:300px}.category-container[_ngcontent-%COMP%], mat-table[_ngcontent-%COMP%]{margin-top:25px}.star-container[_ngcontent-%COMP%]{margin-bottom:10px;margin-top:25px}.star-container[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-column-status[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-button-toggle[_ngcontent-%COMP%]{cursor:auto}.mat-column-status[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   mat-button-toggle[_ngcontent-%COMP%]{cursor:pointer}.heading[_ngcontent-%COMP%]{padding-top:5px}.mat-raised-button[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.category-toggle[_ngcontent-%COMP%]{font-size:small}.overlay-fullscreen[_ngcontent-%COMP%]     .black-overlay{position:fixed}.hacking-instructor-button[_ngcontent-%COMP%]{margin-left:8px}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.disabled-challenges-infoBox[_ngcontent-%COMP%]{height:100%;margin:0;align-self:center;color:#e64a19;cursor:default}.disabled-challenges-infoBox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-style:normal;color:#546e7a}\"]}),t})(),fo=(()=>{class t{constructor(t){this.http=t}verify(t){return this.http.post(\"./rest/2fa/verify\",{tmpToken:localStorage.getItem(\"totp_tmp_token\"),totpToken:t}).pipe(Object(s.a)(t=>t.authentication),Object(l.a)(t=>{throw t}))}status(){return this.http.get(\"./rest/2fa/status\").pipe(Object(s.a)(t=>t),Object(l.a)(t=>{throw t}))}setup(t,e,i){return this.http.post(\"./rest/2fa/setup\",{password:t,setupToken:i,initialToken:e}).pipe(Object(s.a)(()=>{}),Object(l.a)(t=>{throw t}))}disable(t){return this.http.post(\"./rest/2fa/disable\",{password:t}).pipe(Object(s.a)(()=>{}),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function go(t,e){1&t&&(a.Wb(0,\"div\",13),a.Jc(1,\"INVALID_TWO_FACTOR_AUTH_TOKEN\"),a.Vb())}u.b.add(m.cb),u.a.watch();let vo=(()=>{class t{constructor(t,e,i,a,o){this.twoFactorAuthService=t,this.cookieService=e,this.userService=i,this.router=a,this.ngZone=o,this.twoFactorForm=new c.f({token:new c.c(\"\",[c.x.minLength(6),c.x.maxLength(6),c.x.required,c.x.pattern(\"^[\\\\d]{6}$\")])}),this.errored=!1}verify(){this.twoFactorAuthService.verify(this.twoFactorForm.value.token).subscribe(t=>{localStorage.setItem(\"token\",t.token),this.cookieService.put(\"token\",t.token),sessionStorage.setItem(\"bid\",t.bid.toString()),this.userService.isLoggedIn.next(!0),this.ngZone.run(()=>this.router.navigate([\"/search\"]))},t=>(this.errored=!0,setTimeout(()=>{this.errored=!1},5e3),t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(fo),a.Qb(r.b),a.Qb(D),a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-two-factor-auth-enter\"]],decls:27,vars:13,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"class\",\"error\",\"style\",\"margin-bottom: 10px;\",\"translate\",\"\",4,\"ngIf\"],[3,\"formGroup\",\"ngSubmit\"],[1,\"form-container\"],[\"id\",\"inputToken\",\"appearance\",\"outline\",\"color\",\"accent\"],[\"formControlName\",\"token\",\"type\",\"text\",\"minlength\",\"6\",\"maxlength\",\"6\",\"pattern\",\"^[\\\\d]{6}$\",\"matInput\",\"\",\"id\",\"totpToken\",\"aria-label\",\"Field for entering the Two Factor token\",3,\"placeholder\"],[\"tokenInput\",\"\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"The code to be entered from the authenticator must have 6 digits.\",3,\"matTooltip\"],[\"align\",\"end\"],[\"type\",\"submit\",\"color\",\"primary\",\"mat-raised-button\",\"\",\"id\",\"totpSubmitButton\",\"aria-label\",\"Button to confirm the input\",3,\"disabled\"],[1,\"material-icons\"],[\"translate\",\"\",1,\"error\",2,\"margin-bottom\",\"10px\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_TWO_FACTOR_AUTHENTICATION\"),a.Vb(),a.Wb(4,\"p\",2),a.Jc(5,\"TITLE_TWO_FACTOR_AUTH_ENTER\"),a.Vb(),a.Hc(6,go,2,0,\"div\",3),a.Wb(7,\"form\",4),a.ec(\"ngSubmit\",(function(){return e.verify()})),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_TWO_FACTOR_AUTH_TOKEN\"),a.Vb(),a.Rb(12,\"input\",7,8),a.jc(14,\"translate\"),a.Wb(15,\"mat-icon\",9),a.jc(16,\"translate\"),a.Jc(17,\" help_outline \"),a.Vb(),a.Wb(18,\"mat-hint\",10),a.Jc(19),a.Vb(),a.Wb(20,\"mat-error\",2),a.Jc(21,\"INVALID_TWO_FACTOR_AUTH_TOKEN\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(22,\"button\",11),a.Wb(23,\"i\",12),a.Jc(24,\" lock_open \"),a.Vb(),a.Jc(25),a.jc(26,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(13);a.Db(6),a.oc(\"ngIf\",e.errored),a.Db(1),a.oc(\"formGroup\",e.twoFactorForm),a.Db(5),a.pc(\"placeholder\",a.kc(14,7,\"2FA_ENTER_CODE_PLACEHOLDER\")),a.Db(3),a.pc(\"matTooltip\",a.kc(16,9,\"INITIAL_TOKEN_TOOLTIP\")),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/6\"),a.Db(3),a.oc(\"disabled\",e.twoFactorForm.invalid),a.Db(3),a.Lc(\" \",a.kc(26,11,\"BTN_LOGIN\"),\" \")}},directives:[h.c,f.a,g.a,P.l,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,c.j,c.i,c.t,Ce.a,At.g,we.a,At.e,At.a,v.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}#totpSubmitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}#inputToken[_ngcontent-%COMP%]{width:100%}\"]}),t})();u.b.add(m.ib),u.a.watch();let Co=(()=>{class t{constructor(t,e){this.route=t,this.translate=e,this.error=null}ngOnInit(){const t=this.route.snapshot.queryParams.error;t&&this.translate.get(t).subscribe(t=>{this.error=t},t=>{this.error=t})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.a),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-error-page\"]],decls:8,vars:1,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"warn-notification\",\"mat-elevation-z6\"],[1,\"mat-display-3\"],[1,\"fas\",\"fa-user-slash\"],[1,\"mat-subheading-2\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"div\"),a.Wb(3,\"div\",2),a.Rb(4,\"i\",3),a.Jc(5,\" 403\"),a.Vb(),a.Wb(6,\"span\",4),a.Jc(7),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(7),a.Kc(e.error))},directives:[h.c,f.a],styles:[\"mat-card[_ngcontent-%COMP%]{width:20%}\"]}),t})();var wo=i(\"0MNC\"),yo=i(\"XhcP\");let Do=(()=>{class t{constructor(t){this.breakpointObserver=t,this.windowWidth=window.innerWidth,this.isHandset$=this.breakpointObserver.observe(wo.b.Handset).pipe(Object(s.a)(t=>t.matches))}ngAfterViewInit(){this.windowWidth=window.innerWidth}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(wo.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-privacy-security\"]],decls:3,vars:0,consts:[[1,\"sidenav-container\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-sidenav-container\",0),a.Wb(1,\"mat-sidenav-content\"),a.Rb(2,\"router-outlet\"),a.Vb(),a.Vb())},directives:[yo.b,yo.c,S.f],styles:[\"\"]}),t})();var So=i(\"O0x4\");function Wo(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",5),a.Wb(1,\"p\",6),a.Jc(2,\"2FA_SUCCESSFUL_SETUP\"),a.Vb(),a.Wb(3,\"form\",7),a.ec(\"ngSubmit\",(function(){return a.zc(t),a.ic().disable()})),a.Wb(4,\"h2\",8),a.Jc(5,\"REMOVE_TWO_FACTOR_AUTH\"),a.Vb(),a.Wb(6,\"div\",9),a.Jc(7,\"2FA_SETUP_ERROR\"),a.Vb(),a.Wb(8,\"mat-form-field\",10),a.Wb(9,\"mat-label\",6),a.Jc(10,\"LABEL_CURRENT_PASSWORD\"),a.Vb(),a.Rb(11,\"input\",11),a.jc(12,\"translate\"),a.Vb(),a.Wb(13,\"button\",12),a.Wb(14,\"i\",13),a.Jc(15,\" remove_circle_outline \"),a.Vb(),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(3),a.oc(\"formGroup\",t.twoFactorDisableForm),a.Db(3),a.oc(\"hidden\",!(t.errored&&!t.twoFactorDisableForm.dirty)),a.Db(5),a.pc(\"placeholder\",a.kc(12,5,\"MANDATORY_CURRENT_PASSWORD\")),a.Db(2),a.oc(\"disabled\",t.twoFactorDisableForm.invalid),a.Db(3),a.Lc(\" \",a.kc(17,7,\"BTN_REMOVE\"),\" \")}}function xo(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"form\",14),a.ec(\"ngSubmit\",(function(){return a.zc(t),a.ic().setup()})),a.Wb(1,\"span\",15),a.Jc(2,\"2FA_AUTH_SETUP_INSTRUCTIONS\"),a.Vb(),a.Wb(3,\"div\",16),a.Rb(4,\"qr-code\",17),a.Vb(),a.Wb(5,\"div\",9),a.Jc(6,\"2FA_SETUP_ERROR\"),a.Vb(),a.Wb(7,\"mat-form-field\",10),a.Wb(8,\"mat-label\",6),a.Jc(9,\"LABEL_CURRENT_PASSWORD\"),a.Vb(),a.Rb(10,\"input\",18),a.jc(11,\"translate\"),a.Vb(),a.Wb(12,\"mat-form-field\",10),a.Wb(13,\"mat-label\",6),a.Jc(14,\"INITIAL_CODE\"),a.Vb(),a.Rb(15,\"input\",19,20),a.jc(17,\"translate\"),a.Wb(18,\"mat-error\",6),a.Jc(19,\"INVALID_TWO_FACTOR_AUTH_TOKEN\"),a.Vb(),a.Wb(20,\"mat-icon\",21),a.jc(21,\"translate\"),a.Jc(22,\" help_outline \"),a.Vb(),a.Wb(23,\"mat-hint\",22),a.Jc(24),a.Vb(),a.Vb(),a.Wb(25,\"button\",23),a.Wb(26,\"i\",13),a.Jc(27,\" save \"),a.Vb(),a.Jc(28),a.jc(29,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.wc(16),e=a.ic();a.oc(\"formGroup\",e.twoFactorSetupForm),a.Db(4),a.oc(\"value\",e.totpUrl)(\"size\",300)(\"level\",\"L\"),a.Db(1),a.oc(\"hidden\",!(e.errored&&!e.twoFactorSetupForm.dirty)),a.Db(5),a.pc(\"placeholder\",a.kc(11,12,\"MANDATORY_CURRENT_PASSWORD\")),a.Db(5),a.pc(\"placeholder\",a.kc(17,14,\"INITIAL_CODE_PLACEHOLDER\")),a.Eb(\"data-test-totp-secret\",e.totpSecret),a.Db(5),a.pc(\"matTooltip\",a.kc(21,16,\"INITIAL_TOKEN_TOOLTIP\")),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/6\"),a.Db(1),a.oc(\"disabled\",e.twoFactorSetupForm.invalid),a.Db(3),a.Lc(\" \",a.kc(29,18,\"BTN_SAVE\"),\" \")}}u.b.add(m.cb,m.G),u.a.watch();let Vo=(()=>{class t{constructor(t,e,i,a,o){this.twoFactorAuthService=t,this.configurationService=e,this.snackBar=i,this.translateService=a,this.snackBarHelperService=o,this.twoFactorSetupForm=new c.f({passwordControl:new c.c(\"\",[c.x.required]),initalTokenControl:new c.c(\"\",[c.x.required,c.x.pattern(\"^[\\\\d]{6}$\")])}),this.twoFactorDisableForm=new c.f({passwordControl:new c.c(\"\",[c.x.required])}),this.setupStatus=null,this.errored=null,this.appName=\"OWASP Juice Shop\"}ngOnInit(){this.updateStatus()}updateStatus(){const t=this.twoFactorAuthService.status(),e=this.configurationService.getApplicationConfiguration();return Object(ze.a)([t,e]).subscribe(([{setup:t,email:e,secret:i,setupToken:a},o])=>{if(this.setupStatus=t,this.appName=o.application.name,!1===t){const t=encodeURIComponent(this.appName);this.totpUrl=`otpauth://totp/${t}:${e}?secret=${i}&issuer=${t}`,this.totpSecret=i,this.setupToken=a}},()=>{console.log(\"Failed to fetch 2fa status\")}),t}setup(){this.twoFactorAuthService.setup(this.twoFactorSetupForm.get(\"passwordControl\").value,this.twoFactorSetupForm.get(\"initalTokenControl\").value,this.setupToken).subscribe(()=>{this.setupStatus=!0,this.snackBarHelperService.open(\"CONFIRM_2FA_SETUP\")},()=>{this.twoFactorSetupForm.get(\"passwordControl\").markAsPristine(),this.twoFactorSetupForm.get(\"initalTokenControl\").markAsPristine(),this.errored=!0})}disable(){this.twoFactorAuthService.disable(this.twoFactorDisableForm.get(\"passwordControl\").value).subscribe(()=>{this.updateStatus().subscribe(()=>{this.setupStatus=!1}),this.snackBarHelperService.open(\"CONFIRM_2FA_DISABLE\")},()=>{this.twoFactorDisableForm.get(\"passwordControl\").markAsPristine(),this.errored=!0})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(fo),a.Qb(b),a.Qb(L.a),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-two-factor-auth\"]],decls:6,vars:2,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"id\",\"2fa-setup-title\",\"translate\",\"\"],[\"id\",\"2fa-setup-successfully\",4,\"ngIf\"],[\"class\",\"form-container\",\"id\",\"two-factor-auth-setup\",3,\"formGroup\",\"ngSubmit\",4,\"ngIf\"],[\"id\",\"2fa-setup-successfully\"],[\"translate\",\"\"],[\"id\",\"two-factor-auth-disable\",1,\"form-container\",3,\"formGroup\",\"ngSubmit\"],[\"id\",\"two-factor-auth-disable-title\",\"translate\",\"\"],[\"translate\",\"\",1,\"error\",3,\"hidden\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"currentPasswordDisable\",\"formControlName\",\"passwordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to enter the current password\",\"autocomplete\",\"off\",3,\"placeholder\"],[\"type\",\"submit\",\"id\",\"disableTwoFactorAuth\",\"mat-raised-button\",\"\",\"color\",\"warn\",\"aria-label\",\"Button to remove the two-factor authentication\",3,\"disabled\"],[1,\"material-icons\"],[\"id\",\"two-factor-auth-setup\",1,\"form-container\",3,\"formGroup\",\"ngSubmit\"],[\"id\",\"2fa-setup-instructions\",\"translate\",\"\"],[\"fxLayoutAlign\",\"center\",1,\"two-factor-qr-code\"],[3,\"value\",\"size\",\"level\"],[\"id\",\"currentPasswordSetup\",\"formControlName\",\"passwordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to enter the current password\",\"autocomplete\",\"off\",3,\"placeholder\"],[\"id\",\"initalToken\",\"formControlName\",\"initalTokenControl\",\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Field to enter the initial token. This must have 6 digits.\",\"minlength\",\"6\",\"maxlength\",\"6\",\"pattern\",\"^[\\\\d]{6}$\",3,\"placeholder\"],[\"initToken\",\"\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"The token to be entered from the authenticator must have 6 digits.\",3,\"matTooltip\"],[\"align\",\"end\"],[\"type\",\"submit\",\"id\",\"setupTwoFactorAuth\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to complete the two-factor configuration\",3,\"disabled\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_TWO_FACTOR_AUTH_CONFIG\"),a.Vb(),a.Hc(4,Wo,18,9,\"div\",3),a.Hc(5,xo,30,20,\"form\",4),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.oc(\"ngIf\",!0===e.setupStatus),a.Db(1),a.oc(\"ngIf\",!1===e.setupStatus))},directives:[h.c,f.a,g.a,P.l,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,v.a,So.a,c.j,c.i,c.t,At.a,Ce.a,At.g,we.a,At.e],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-bottom:50px;margin-left:auto;margin-right:auto;min-width:320px;width:30%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#disableTwoFactorAuth[_ngcontent-%COMP%], #setupTwoFactorAuth[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.two-factor-qr-code[_ngcontent-%COMP%]{margin:16px 0}#two-factor-auth-disable[_ngcontent-%COMP%]{margin-top:32px}#two-factor-auth-disable-title[_ngcontent-%COMP%]{margin-bottom:0}button[_ngcontent-%COMP%]{margin-top:5px}\"]}),t})(),Io=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\"}getCaptcha(){return this.http.get(this.hostServer+\"/rest/image-captcha/\").pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function _o(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"p\",13),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Kc(t.error)}}function ko(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CAPTCHA \"),a.Vb())}function Oo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CAPTCHA \"),a.Vb())}const Lo=function(){return{length:\"5\"}};function Ao(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"div\"),a.Wb(2,\"span\",14),a.Jc(3,\"CAPTCHA \"),a.Wb(4,\"span\"),a.Jc(5,\":\"),a.Vb(),a.Vb(),a.Rb(6,\"div\",15),a.Vb(),a.Wb(7,\"mat-form-field\",16),a.Wb(8,\"mat-label\",2),a.Jc(9,\"ENTER_CAPTCHA\"),a.Vb(),a.Rb(10,\"input\",17,18),a.jc(12,\"translate\"),a.Wb(13,\"mat-hint\",19),a.Jc(14),a.Vb(),a.Hc(15,ko,2,0,\"mat-error\",20),a.Hc(16,Oo,2,0,\"mat-error\",20),a.Vb(),a.Vb()),2&t){const t=a.wc(11),e=a.ic();a.Db(6),a.oc(\"innerHTML\",e.captcha,a.Ac),a.Db(4),a.pc(\"placeholder\",a.lc(12,6,\"TYPE_THESE_LETTERS\",a.sc(9,Lo))),a.oc(\"formControl\",e.captchaControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/5\"),a.Db(1),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.minlength)}}let To=(()=>{class t{constructor(t,e,i){this.sanitizer=t,this.imageCaptchaService=e,this.dataSubjectService=i,this.captchaControl=new c.c(\"\",[c.x.required,c.x.minLength(5)]),this.formatControl=new c.c(\"\",[c.x.required]),this.dataRequest=void 0,this.presenceOfCaptcha=!1}ngOnInit(){this.needCaptcha(),this.dataRequest={}}needCaptcha(){let t=new Date,e=localStorage.getItem(\"lstdtxprt\")?new Date(JSON.parse(String(localStorage.getItem(\"lstdtxprt\")))):new Date(0);t.getTime()-e.getTime()<3e5&&(this.getNewCaptcha(),this.presenceOfCaptcha=!0)}getNewCaptcha(){this.imageCaptchaService.getCaptcha().subscribe(t=>{this.captcha=this.sanitizer.bypassSecurityTrustHtml(t.image)})}save(){this.presenceOfCaptcha&&(this.dataRequest.answer=this.captchaControl.value),this.dataRequest.format=this.formatControl.value,this.dataSubjectService.dataExport(this.dataRequest).subscribe(t=>{this.error=null,this.confirmation=t.confirmation,this.userData=t.userData,window.open(\"\",\"_blank\",\"width=500\").document.write(this.userData),this.lastSuccessfulTry=new Date,localStorage.setItem(\"lstdtxprt\",JSON.stringify(this.lastSuccessfulTry)),this.ngOnInit(),this.resetForm()},t=>{this.error=t.error,this.confirmation=null,this.resetFormError()})}resetForm(){this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\"),this.formatControl.markAsUntouched(),this.formatControl.markAsPristine(),this.formatControl.setValue(\"\")}resetFormError(){this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(o.c),a.Qb(Io),a.Qb(Ft))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-data-export\"]],decls:26,vars:7,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[4,\"ngIf\"],[\"id\",\"data-export-form\",1,\"form-container\"],[\"id\",\"formatControl\",\"aria-label\",\"Select an option\",3,\"formControl\"],[\"translate\",\"\",1,\"radio-label\"],[\"value\",\"1\",\"aria-label\",\"Export Option JSON\"],[\"value\",\"2\",\"aria-label\",\"Export Option PDF\",\"disabled\",\"\"],[\"value\",\"3\",\"aria-label\",\"Export Option Excel\",\"disabled\",\"\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"color\",\"primary\",\"mat-raised-button\",\"\",\"aria-label\",\"Button to send the request\",2,\"margin-top\",\"15px\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[1,\"hint\"],[1,\"error\"],[\"translate\",\"\",2,\"float\",\"left\",\"margin-top\",\"40px\",\"font-weight\",\"500\",\"margin-bottom\",\"20px\"],[1,\"captcha-image\",2,\"margin-left\",\"10px\",3,\"innerHTML\"],[\"appearance\",\"outline\",\"color\",\"accent\",2,\"margin-top\",\"10px\",\"width\",\"100%\"],[\"type\",\"text\",\"matInput\",\"\",\"maxlength\",\"5\",\"aria-label\",\"Input for the CAPTCHA\",3,\"formControl\",\"placeholder\"],[\"captchaInput\",\"\"],[\"align\",\"end\"],[\"translate\",\"\",4,\"ngIf\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_REQUEST_DATA_EXPORT\"),a.Vb(),a.Hc(4,_o,3,1,\"div\",3),a.Wb(5,\"div\",4),a.Wb(6,\"mat-radio-group\",5),a.Wb(7,\"mat-label\",6),a.Jc(8,\"EXPORT_LABEL \"),a.Wb(9,\"span\"),a.Jc(10,\":\"),a.Vb(),a.Vb(),a.Wb(11,\"mat-radio-button\",7),a.Jc(12,\"JSON\"),a.Vb(),a.Wb(13,\"mat-radio-button\",8),a.Jc(14,\"PDF\"),a.Vb(),a.Wb(15,\"mat-radio-button\",9),a.Jc(16,\"Excel\"),a.Vb(),a.Vb(),a.Hc(17,Ao,17,10,\"div\",3),a.Vb(),a.Wb(18,\"button\",10),a.ec(\"click\",(function(){return e.save()})),a.Wb(19,\"i\",11),a.Jc(20,\" save_alt \"),a.Vb(),a.Jc(21),a.jc(22,\"translate\"),a.Vb(),a.Wb(23,\"div\",12),a.Wb(24,\"span\",2),a.Jc(25,\"DATA_EXPORT_HINT\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.oc(\"ngIf\",e.error),a.Db(2),a.oc(\"formControl\",e.formatControl),a.Db(11),a.oc(\"ngIf\",e.presenceOfCaptcha),a.Db(1),a.oc(\"disabled\",e.formatControl.invalid||e.captchaControl.invalid&&e.presenceOfCaptcha),a.Db(3),a.Lc(\" \",a.kc(22,5,\"BTN_REQUEST\"),\" \"))},directives:[h.c,f.a,g.a,P.l,ra.b,c.n,c.d,At.f,ra.a,v.a,At.b,Tt.b,c.b,c.i,At.e,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;height:auto;margin-bottom:50px;margin-left:auto;margin-right:auto;min-width:320px;width:25%}#submitButton[_ngcontent-%COMP%]{margin-left:20%;width:60%}.hint[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:10px;-webkit-box-pack:center;justify-content:center;margin-top:5px}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-bottom:16px;margin-left:16px}.radio-label[_ngcontent-%COMP%]{font-weight:500;margin-right:8px}.captcha-image[_ngcontent-%COMP%]{float:left;margin-bottom:10px;margin-top:20px}\"]}),t})(),Po=(()=>{class t{constructor(t){this.sanitizer=t,this.lastLoginIp=\"?\"}ngOnInit(){try{this.parseAuthToken()}catch(t){console.log(t)}}parseAuthToken(){let t={};const e=localStorage.getItem(\"token\");e&&(t=V(e),t.data.lastLoginIp&&(this.lastLoginIp=this.sanitizer.bypassSecurityTrustHtml(`<small>${t.data.lastLoginIp}<\/small>`)))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-last-login-ip\"]],decls:8,vars:1,consts:[[1,\"ipCard\",\"mat-elevation-z6\"],[\"translate\",\"\"],[2,\"margin-bottom\",\"15px\"],[3,\"innerHTML\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"h1\",1),a.Jc(2,\"LAST_LOGIN_IP\"),a.Vb(),a.Wb(3,\"p\",2),a.Wb(4,\"span\",1),a.Jc(5,\"IP_ADDRESS\"),a.Vb(),a.Jc(6,\"\\xa0\\xa0\"),a.Rb(7,\"span\",3),a.Vb(),a.Vb()),2&t&&(a.Db(7),a.oc(\"innerHTML\",e.lastLoginIp,a.Ac))},directives:[f.a,g.a],styles:[\".ipCard[_ngcontent-%COMP%]{display:block;margin:0 auto 5%;min-width:320px;width:25%}\"]}),t})(),Eo=(()=>{class t{constructor(t,e){this._document=t,this.configurationService=e,this.applicationName=\"OWASP Juice Shop\"}ngOnInit(){this.applicationUrl=this._document.location.protocol+\"//\"+this._document.location.hostname,this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.name&&(this.applicationName=t.application.name),this.privacyContactEmail=t&&t.application&&t.application.privacyContactEmail?t.application.privacyContactEmail:`donotreply@${this._document.location.hostname}`},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.d),a.Qb(b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-privacy-policy\"]],decls:169,vars:9,consts:[[1,\"mat-elevation-z6\"],[1,\"privacy-policy\"],[\"translate\",\"\"],[1,\"hot\"],[\"href\",\"https://www.freeprivacypolicy.com/\",\"aria-label\",\"Link to the page where the privacy policy was created\"],[1,\"divider\"],[\"src\",\"assets/public/images/padding/81px.png\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"section\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_PRIVACY_POLICY\"),a.Vb(),a.Wb(4,\"p\"),a.Jc(5,\"Effective date: March 15, 2019\"),a.Vb(),a.Wb(6,\"p\"),a.Jc(7),a.Wb(8,\"span\",3),a.Jc(9),a.Vb(),a.Jc(10,' website (the \"Service\").'),a.Vb(),a.Wb(11,\"p\"),a.Jc(12),a.Wb(13,\"a\",4),a.Jc(14,\"Free Privacy Policy website\"),a.Vb(),a.Jc(15,\".\"),a.Vb(),a.Wb(16,\"p\"),a.Jc(17),a.Vb(),a.Rb(18,\"mat-divider\",5),a.Wb(19,\"h2\"),a.Jc(20,\"A. Information Collection And Use\"),a.Vb(),a.Wb(21,\"p\"),a.Jc(22,\"We collect several different types of information for various purposes to provide and improve our Service to you.\"),a.Vb(),a.Wb(23,\"h3\"),a.Jc(24,\"A1. Types of Data Collected\"),a.Vb(),a.Wb(25,\"h4\"),a.Jc(26,\"A1.1 Personal Data\"),a.Vb(),a.Wb(27,\"p\"),a.Jc(28,'While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you (\"Personal Data\"). Personally identifiable information may include, but is not limited to:'),a.Vb(),a.Wb(29,\"ul\"),a.Wb(30,\"li\"),a.Jc(31,\"Email address\"),a.Vb(),a.Wb(32,\"li\"),a.Jc(33,\"Address, State, Province, ZIP/Postal code, City\"),a.Vb(),a.Wb(34,\"li\"),a.Jc(35,\"Cookies and Usage Data\"),a.Vb(),a.Vb(),a.Wb(36,\"h4\"),a.Jc(37,\"A1.2 Usage Data\"),a.Vb(),a.Wb(38,\"p\"),a.Wb(39,\"span\",3),a.Jc(40,\"We may also\"),a.Vb(),a.Jc(41,' collect information how the Service is accessed and used (\"Usage Data\"). This Usage Data may include information such as your computer\\'s Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that you visit, the time and date of your visit, the time spent on those pages, unique device identifiers and other diagnostic data.'),a.Vb(),a.Wb(42,\"h4\"),a.Jc(43,\"A1.3 Tracking & Cookies Data\"),a.Vb(),a.Wb(44,\"p\"),a.Jc(45,\"We use cookies and similar tracking technologies to track the activity on our Service and hold certain information.\"),a.Vb(),a.Wb(46,\"p\"),a.Jc(47,\"Cookies are files with small amount of data which may include an anonymous unique identifier. Cookies are sent to your browser from a website and stored on your device. Tracking technologies also used are beacons, tags, and scripts to collect and track information and to improve and analyze our Service.\"),a.Vb(),a.Wb(48,\"p\"),a.Jc(49,\"You can \"),a.Wb(50,\"span\",3),a.Jc(51,\"instruct you\"),a.Vb(),a.Jc(52,\"r browser \"),a.Wb(53,\"span\",3),a.Jc(54,\"to refuse all\"),a.Vb(),a.Jc(55,\" cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our Service.\"),a.Vb(),a.Wb(56,\"p\"),a.Jc(57,\"Examples of Cookies we use:\"),a.Vb(),a.Wb(58,\"ul\"),a.Wb(59,\"li\"),a.Wb(60,\"strong\"),a.Jc(61,\"Session Cookies:\"),a.Vb(),a.Jc(62,\" \\xa0We use Session Cookies to operate our Service.\"),a.Vb(),a.Wb(63,\"li\"),a.Wb(64,\"strong\"),a.Jc(65,\"Preference Cookies:\"),a.Vb(),a.Jc(66,\"\\xa0We use Preference Cookies to remember your preferences and various settings. \"),a.Vb(),a.Wb(67,\"li\"),a.Wb(68,\"strong\"),a.Jc(69,\"Security Cookies:\"),a.Vb(),a.Jc(70,\"\\xa0We use Security Cookies for security purposes.\"),a.Vb(),a.Vb(),a.Wb(71,\"h3\"),a.Jc(72,\"A2. Use of Data\"),a.Vb(),a.Wb(73,\"p\"),a.Jc(74),a.Vb(),a.Wb(75,\"ul\"),a.Wb(76,\"li\"),a.Jc(77,\"To provide and maintain the Service\"),a.Vb(),a.Wb(78,\"li\"),a.Jc(79,\"To notify you about changes to our Service\"),a.Vb(),a.Wb(80,\"li\"),a.Jc(81,\"To allow you to participate in interactive features of our Service when you choose to do so\"),a.Vb(),a.Wb(82,\"li\"),a.Jc(83,\"To provide customer care and support\"),a.Vb(),a.Wb(84,\"li\"),a.Jc(85,\"To provide analysis or valuable information so that we can improve the Service\"),a.Vb(),a.Wb(86,\"li\"),a.Jc(87,\"To monitor the usage of the Service\"),a.Vb(),a.Wb(88,\"li\"),a.Jc(89,\"To detect, prevent and address technical issues\"),a.Vb(),a.Vb(),a.Rb(90,\"mat-divider\",5),a.Wb(91,\"h2\"),a.Jc(92,\"B. Transfer Of Data\"),a.Vb(),a.Wb(93,\"p\"),a.Jc(94,\"Your information, including Personal Data, may be transferred to \\u2014 and maintained on \\u2014 computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from your jurisdiction.\"),a.Vb(),a.Wb(95,\"p\"),a.Jc(96,\"If you are located outside Germany and choose to provide information to us, please note that we transfer the data, including Personal Data, to Germany and process it there.\"),a.Vb(),a.Wb(97,\"p\"),a.Jc(98,\"Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.\"),a.Vb(),a.Wb(99,\"p\"),a.Jc(100),a.Wb(101,\"span\",3),a.Jc(102,\"reasonably necessary\"),a.Vb(),a.Jc(103,\" to ensure that your data is treated securely and in accordance with this Privacy Policy and no transfer of your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of your data and other personal information.\"),a.Vb(),a.Rb(104,\"mat-divider\",5),a.Wb(105,\"h2\"),a.Jc(106,\"C. Disclosure Of Data\"),a.Vb(),a.Wb(107,\"h3\"),a.Jc(108,\"C1. Legal Requirements\"),a.Vb(),a.Wb(109,\"p\"),a.Jc(110),a.Vb(),a.Wb(111,\"ul\"),a.Wb(112,\"li\"),a.Jc(113,\"To comply with a legal obligation\"),a.Vb(),a.Wb(114,\"li\"),a.Jc(115),a.Vb(),a.Wb(116,\"li\"),a.Jc(117,\"To prevent or investigate possible wrongdoing in connection with the Service\"),a.Vb(),a.Wb(118,\"li\"),a.Jc(119,\"To protect the personal safety of users of the Service or the public\"),a.Vb(),a.Wb(120,\"li\"),a.Jc(121,\"To protect against legal liability\"),a.Vb(),a.Vb(),a.Rb(122,\"mat-divider\",5),a.Wb(123,\"h2\"),a.Jc(124,\"D. Security Of Data\"),a.Vb(),a.Wb(125,\"p\"),a.Jc(126,\"The security of your data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.\"),a.Vb(),a.Rb(127,\"mat-divider\",5),a.Wb(128,\"h2\"),a.Jc(129,\"E. Service Providers\"),a.Vb(),a.Wb(130,\"p\"),a.Jc(131,'We may employ third party companies and individuals to facilitate our Service (\"Service Providers\"), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used.'),a.Vb(),a.Wb(132,\"p\"),a.Jc(133,\"These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.\"),a.Vb(),a.Rb(134,\"mat-divider\",5),a.Wb(135,\"h2\"),a.Jc(136,\"F. Links To Other Sites\"),a.Vb(),a.Wb(137,\"p\"),a.Jc(138,\"Our Service may contain links to other sites that are not operated by us. If you click on a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit.\"),a.Vb(),a.Wb(139,\"p\"),a.Jc(140,\"We have no control over and assume no \"),a.Wb(141,\"span\",3),a.Jc(142,\"responsibility\"),a.Vb(),a.Jc(143,\" for the content, privacy policies or practices of any third party sites or services.\"),a.Vb(),a.Rb(144,\"mat-divider\",5),a.Wb(145,\"h2\"),a.Jc(146,\"G. Children's Privacy\"),a.Vb(),a.Wb(147,\"p\"),a.Jc(148,'Our Service does not address anyone under the age of 18 (\"Children\").'),a.Vb(),a.Wb(149,\"p\"),a.Jc(150,\"We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Children has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.\"),a.Vb(),a.Rb(151,\"mat-divider\",5),a.Wb(152,\"h2\"),a.Jc(153,\"H. Changes To This Privacy Policy\"),a.Vb(),a.Wb(154,\"p\"),a.Jc(155,\"We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.\"),a.Vb(),a.Wb(156,\"p\"),a.Jc(157,'We will let you know via email and/or a prominent notice on our Service, prior to the change becoming effective and update the \"effective date\" at the top of this Privacy Policy.'),a.Vb(),a.Wb(158,\"p\"),a.Jc(159,\"You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.\"),a.Vb(),a.Rb(160,\"mat-divider\",5),a.Wb(161,\"h2\"),a.Jc(162,\"Contact Us\"),a.Vb(),a.Wb(163,\"p\"),a.Jc(164,\"If you have any questions about this Privacy Policy, please contact us:\"),a.Vb(),a.Wb(165,\"ul\"),a.Wb(166,\"li\"),a.Jc(167),a.Vb(),a.Vb(),a.Vb(),a.Rb(168,\"img\",6),a.Vb()),2&t&&(a.Db(7),a.Lc(\"\",e.applicationName,' (\"us\", \"we\", or \"our\") operates the '),a.Db(2),a.Kc(e.applicationUrl),a.Db(3),a.Lc(\"This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for \",e.applicationName,\" is created with the help of the \"),a.Db(5),a.Lc(\"We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, accessible from \",e.applicationUrl,\" .\"),a.Db(57),a.Lc(\"\",e.applicationName,\" uses the collected data for various purposes:\"),a.Db(26),a.Lc(\"\",e.applicationName,\" will take all steps \"),a.Db(10),a.Lc(\"\",e.applicationName,\" may disclose your Personal Data in the good faith belief that such action is necessary to:\"),a.Db(5),a.Lc(\"To protect and defend the rights or property of \",e.applicationName,\"\"),a.Db(52),a.Lc(\"By email: \",e.privacyContactEmail,\"\"))},directives:[f.a,g.a,Re.a],styles:[\".privacy-policy[_ngcontent-%COMP%]{margin-left:8.33333%;width:83.3333%}.privacy-policy[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin-bottom:15px}p[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}mat-card[_ngcontent-%COMP%]{display:block;margin-bottom:50px;margin-left:auto;margin-right:auto;width:90%}h2[_ngcontent-%COMP%]{padding-top:10px}h3[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:550}strong[_ngcontent-%COMP%]{font-style:italic}h4[_ngcontent-%COMP%]{text-decoration:underline}.hot[_ngcontent-%COMP%]:hover{text-shadow:0 0 20px #fefcc9,10px -10px 30px #feec85,-20px -20px 40px #ffae34,20px -40px 50px #ec760c,-20px -60px 60px #cd4606,0 -80px 70px #973716,10px -90px 80px #451b0e}.divider[_ngcontent-%COMP%]{border-top-width:4px!important;margin-left:9%!important;width:82%!important}\"]}),t})();function Ro(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_COUNTRY \"),a.Vb())}function Mo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_NAME \"),a.Vb())}function Jo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_NUMBER \"),a.Vb())}const Ho=function(){return{range:\"1000000-9999999999\"}};function No(t,e){1&t&&(a.Wb(0,\"mat-error\",18),a.Jc(1,\"INVALID_MOBILE_NUMBER \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Ho))}function Fo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_ZIP \"),a.Vb())}function Bo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_ADDRESS\"),a.Vb())}function Uo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_CITY \"),a.Vb())}const jo=function(){return{length:\"160\"}};let Qo=(()=>{class t{constructor(t,e,i,a,o,n,r){this.location=t,this.formSubmitService=e,this.addressService=i,this.router=a,this.activatedRoute=o,this.translate=n,this.snackBarHelperService=r,this.countryControl=new c.c(\"\",[c.x.required]),this.nameControl=new c.c(\"\",[c.x.required]),this.numberControl=new c.c(\"\",[c.x.required,c.x.min(1111111),c.x.max(9999999999)]),this.pinControl=new c.c(\"\",[c.x.required,c.x.maxLength(8)]),this.addressControl=new c.c(\"\",[c.x.required,c.x.maxLength(160)]),this.cityControl=new c.c(\"\",[c.x.required]),this.stateControl=new c.c,this.address=void 0,this.mode=\"create\",this.addressId=void 0}ngOnInit(){this.address={},this.activatedRoute.paramMap.subscribe(t=>{t.has(\"addressId\")?(this.mode=\"edit\",this.addressId=t.get(\"addressId\"),this.addressService.getById(this.addressId).subscribe(t=>{this.initializeForm(t)})):(this.mode=\"create\",this.addressId=null)}),this.formSubmitService.attachEnterKeyHandler(\"address-form\",\"submitButton\",()=>this.save())}save(){this.address.country=this.countryControl.value,this.address.fullName=this.nameControl.value,this.address.mobileNum=this.numberControl.value,this.address.zipCode=this.pinControl.value,this.address.streetAddress=this.addressControl.value,this.address.city=this.cityControl.value,this.address.state=this.stateControl.value,\"edit\"===this.mode?this.addressService.put(this.addressId,this.address).subscribe(t=>{this.address={},this.ngOnInit(),this.resetForm(),this.routeToPreviousUrl(),this.translate.get(\"ADDRESS_UPDATED\",{city:t.city}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.address={},this.resetForm()}):this.addressService.save(this.address).subscribe(t=>{this.address={},this.ngOnInit(),this.resetForm(),this.routeToPreviousUrl(),this.translate.get(\"ADDRESS_ADDED\",{city:t.city}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.address={},this.resetForm()})}initializeForm(t){this.countryControl.setValue(t.country),this.nameControl.setValue(t.fullName),this.numberControl.setValue(t.mobileNum),this.pinControl.setValue(t.zipCode),this.addressControl.setValue(t.streetAddress),this.cityControl.setValue(t.city),this.stateControl.setValue(t.state)}routeToPreviousUrl(){this.location.back()}resetForm(){this.countryControl.markAsUntouched(),this.countryControl.markAsPristine(),this.countryControl.setValue(\"\"),this.nameControl.markAsUntouched(),this.nameControl.markAsPristine(),this.nameControl.setValue(\"\"),this.numberControl.markAsUntouched(),this.numberControl.markAsPristine(),this.numberControl.setValue(\"\"),this.pinControl.markAsUntouched(),this.pinControl.markAsPristine(),this.pinControl.setValue(\"\"),this.addressControl.markAsUntouched(),this.addressControl.markAsPristine(),this.addressControl.setValue(\"\"),this.cityControl.markAsUntouched(),this.cityControl.markAsPristine(),this.cityControl.setValue(\"\"),this.stateControl.markAsUntouched(),this.stateControl.markAsPristine(),this.stateControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.g),a.Qb(Lt),a.Qb(na),a.Qb(S.b),a.Qb(S.a),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-address-create\"]],decls:69,vars:49,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"id\",\"address-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"type\",\"text\",\"matInput\",\"\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",4,\"ngIf\"],[\"type\",\"number\",\"matInput\",\"\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[\"pin\",\"\"],[\"align\",\"end\"],[\"id\",\"address\",\"matInput\",\"\",\"matAutosizeMinRows\",\"4\",\"matAutosizeMaxRows\",\"4\",\"matTextareaAutosize\",\"\",\"cols\",\"50\",\"maxlength\",\"160\",3,\"formControl\",\"placeholder\"],[\"adress\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"mat-stroked-button\",\"\",1,\"btn-return\",3,\"click\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[\"translate\",\"\",3,\"translateParams\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"ADD_NEW_ADDRESS\"),a.Vb(),a.Wb(4,\"div\",3),a.Wb(5,\"mat-form-field\",4),a.Wb(6,\"mat-label\",2),a.Jc(7,\"LABEL_COUNTRY\"),a.Vb(),a.Rb(8,\"input\",5),a.jc(9,\"translate\"),a.Hc(10,Ro,2,0,\"mat-error\",6),a.Vb(),a.Wb(11,\"mat-form-field\",4),a.Wb(12,\"mat-label\",2),a.Jc(13,\"LABEL_NAME\"),a.Vb(),a.Rb(14,\"input\",5),a.jc(15,\"translate\"),a.Hc(16,Mo,2,0,\"mat-error\",6),a.Vb(),a.Wb(17,\"mat-form-field\",4),a.Wb(18,\"mat-label\",2),a.Jc(19,\"LABEL_MOBILE_NUMBER\"),a.Vb(),a.Rb(20,\"input\",7),a.jc(21,\"translate\"),a.Hc(22,Jo,2,0,\"mat-error\",6),a.Hc(23,No,2,2,\"mat-error\",8),a.Vb(),a.Wb(24,\"mat-form-field\",4),a.Wb(25,\"mat-label\",2),a.Jc(26,\"LABEL_ZIP_CODE\"),a.Vb(),a.Rb(27,\"input\",5,9),a.jc(29,\"translate\"),a.Wb(30,\"mat-hint\",10),a.Jc(31),a.Vb(),a.Hc(32,Fo,2,0,\"mat-error\",6),a.Vb(),a.Wb(33,\"mat-form-field\",4),a.Wb(34,\"mat-label\",2),a.Jc(35,\"LABEL_ADDRESS\"),a.Vb(),a.Rb(36,\"textarea\",11,12),a.jc(38,\"translate\"),a.Wb(39,\"mat-hint\",2),a.Rb(40,\"i\",13),a.Wb(41,\"em\",14),a.Jc(42),a.jc(43,\"translate\"),a.Vb(),a.Vb(),a.Wb(44,\"mat-hint\",10),a.Jc(45),a.Vb(),a.Hc(46,Bo,2,0,\"mat-error\",6),a.Vb(),a.Wb(47,\"mat-form-field\",4),a.Wb(48,\"mat-label\",2),a.Jc(49,\"LABEL_CITY\"),a.Vb(),a.Rb(50,\"input\",5),a.jc(51,\"translate\"),a.Hc(52,Uo,2,0,\"mat-error\",6),a.Vb(),a.Wb(53,\"mat-form-field\",4),a.Wb(54,\"mat-label\",2),a.Jc(55,\"LABEL_STATE\"),a.Vb(),a.Rb(56,\"input\",5),a.jc(57,\"translate\"),a.Vb(),a.Vb(),a.Wb(58,\"div\"),a.Wb(59,\"button\",15),a.ec(\"click\",(function(){return e.routeToPreviousUrl()})),a.Wb(60,\"mat-icon\"),a.Jc(61,\" navigate_before \"),a.Vb(),a.Jc(62),a.jc(63,\"translate\"),a.Vb(),a.Wb(64,\"button\",16),a.ec(\"click\",(function(){return e.save()})),a.Wb(65,\"i\",17),a.Jc(66,\" send \"),a.Vb(),a.Jc(67),a.jc(68,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(28),i=a.wc(37);a.Db(8),a.oc(\"formControl\",e.countryControl)(\"placeholder\",a.kc(9,27,\"MANDATORY_COUNTRY\")),a.Db(2),a.oc(\"ngIf\",e.countryControl.invalid&&e.countryControl.errors.required),a.Db(4),a.oc(\"formControl\",e.nameControl)(\"placeholder\",a.kc(15,29,\"MANDATORY_NAME\")),a.Db(2),a.oc(\"ngIf\",e.nameControl.invalid&&e.nameControl.errors.required),a.Db(4),a.oc(\"formControl\",e.numberControl)(\"placeholder\",a.kc(21,31,\"MANDATORY_NUMBER\")),a.Db(2),a.oc(\"ngIf\",e.numberControl.invalid&&e.numberControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.numberControl.invalid&&(e.numberControl.errors.min||e.numberControl.errors.max)),a.Db(4),a.oc(\"formControl\",e.pinControl)(\"placeholder\",a.kc(29,33,\"MANDATORY_ZIP\")),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/8\"),a.Db(1),a.oc(\"ngIf\",e.pinControl.invalid&&e.pinControl.errors.required),a.Db(4),a.oc(\"formControl\",e.addressControl)(\"placeholder\",a.kc(38,35,\"MANDATORY_ADDRESS\")),a.Db(6),a.Kc(a.lc(43,37,\"MAX_TEXTAREA_LENGTH\",a.sc(48,jo))),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/160\"),a.Db(1),a.oc(\"ngIf\",e.addressControl.invalid&&e.addressControl.errors.required),a.Db(4),a.oc(\"formControl\",e.cityControl)(\"placeholder\",a.kc(51,40,\"MANDATORY_CITY\")),a.Db(2),a.oc(\"ngIf\",e.cityControl.invalid&&e.cityControl.errors.required),a.Db(4),a.oc(\"formControl\",e.stateControl)(\"placeholder\",a.kc(57,42,\"STATE_PLACEHOLDER\")),a.Db(6),a.Lc(\" \",a.kc(63,44,\"LABEL_BACK\"),\" \"),a.Db(2),a.oc(\"disabled\",e.countryControl.invalid||e.nameControl.invalid||e.numberControl.invalid||e.pinControl.invalid||e.addressControl.invalid||e.cityControl.invalid),a.Db(3),a.Lc(\" \",a.kc(68,46,\"BTN_SUBMIT\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,P.l,c.s,At.e,Tt.d,c.i,v.a,Ce.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:30%}#submitButton[_ngcontent-%COMP%]{float:right}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}.btn-return[_ngcontent-%COMP%]{float:left}input[_ngcontent-%COMP%]::-webkit-inner-spin-button, input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;margin:0}\"]}),t})(),zo=(()=>{class t{constructor(t,e){this.router=t,this.ngZone=e,this.addressId=void 0,this.showNextButton=!0}getMessage(t){this.addressId=t}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-address-select\"]],decls:2,vars:1,consts:[[\"id\",\"card\"],[3,\"showNextButton\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Rb(1,\"app-address\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"showNextButton\",e.showNextButton))},directives:[Va],styles:[\".btn-pay[_ngcontent-%COMP%]{display:block;width:100%}.mat-raised-button[_ngcontent-%COMP%]{margin-right:3px;margin-top:3px}#card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}\"]}),t})(),Go=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-saved-address\"]],decls:2,vars:1,consts:[[1,\"main-wrapper\"],[3,\"allowEdit\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Rb(1,\"app-address\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"allowEdit\",!0))},directives:[Va],styles:[\".main-wrapper[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}\"]}),t})();u.b.add(m.b),u.a.watch();let qo=(()=>{class t{constructor(t){this.dialogData=t}ngOnInit(){this.title=this.dialogData.title,this.url=this.dialogData.url,this.address=this.dialogData.address,this.data=this.dialogData.data}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-qr-code\"]],decls:17,vars:11,consts:[[1,\"qr-code\",\"mat-typography\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"10px\"],[1,\"container\"],[3,\"href\"],[3,\"value\",\"size\",\"level\"],[\"mat-raised-button\",\"\",\"mat-dialog-close\",\"\",1,\"close-dialog\"],[1,\"fas\",\"fa-arrow-circle-left\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"header\"),a.Wb(2,\"h3\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Wb(5,\"div\",1),a.Rb(6,\"mat-divider\"),a.Wb(7,\"div\",2),a.Wb(8,\"a\",3),a.Rb(9,\"qr-code\",4),a.Vb(),a.Vb(),a.Wb(10,\"small\"),a.Jc(11),a.Vb(),a.Vb(),a.Wb(12,\"footer\"),a.Wb(13,\"button\",5),a.Rb(14,\"i\",6),a.Jc(15),a.jc(16,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Kc(a.kc(4,7,e.title)),a.Db(5),a.oc(\"href\",e.url,a.Cc),a.Db(1),a.oc(\"value\",e.data)(\"size\",300)(\"level\",\"M\"),a.Db(2),a.Kc(e.address),a.Db(4),a.Lc(\" \",a.kc(16,9,\"BTN_CLOSE\"),\"\"))},directives:[h.d,h.e,Re.a,So.a,v.a,Ae.d],pipes:[g.d],styles:[\"\"]}),t})(),Yo=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/wallet/balance\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t){return this.http.put(this.host,t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ko=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Deliverys\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getById(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Xo=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Cards\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getById(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function $o(t,e){1&t&&a.Rb(0,\"mat-header-cell\",33)}function Zo(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",33),a.Wb(1,\"mat-radio-button\",34),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).emitSelectionToParent(i.id)})),a.Vb(),a.Vb()}}function tn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",35)}function en(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.cardNum,\" \")}}function an(t,e){1&t&&a.Rb(0,\"mat-header-cell\",36)}function on(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",36),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Kc(t.fullName)}}function nn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",37)}function rn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Mc(\"\",t.expMonth,\"/\",t.expYear,\"\")}}function cn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",33)}function sn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",33),a.Wb(1,\"button\",38),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).delete(i.id)})),a.Rb(2,\"i\",39),a.Vb(),a.Vb()}}function ln(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function bn(t,e){1&t&&a.Rb(0,\"mat-row\")}function un(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"mat-table\",17),a.Ub(2,18),a.Hc(3,$o,1,0,\"mat-header-cell\",19),a.Hc(4,Zo,2,0,\"mat-cell\",20),a.Tb(),a.Ub(5,21),a.Hc(6,tn,1,0,\"mat-header-cell\",22),a.Hc(7,en,2,1,\"mat-cell\",23),a.Tb(),a.Ub(8,24),a.Hc(9,an,1,0,\"mat-header-cell\",25),a.Hc(10,on,2,1,\"mat-cell\",26),a.Tb(),a.Ub(11,27),a.Hc(12,nn,1,0,\"mat-header-cell\",28),a.Hc(13,rn,2,2,\"mat-cell\",29),a.Tb(),a.Ub(14,30),a.Hc(15,cn,1,0,\"mat-header-cell\",19),a.Hc(16,sn,3,0,\"mat-cell\",20),a.Tb(),a.Hc(17,ln,1,0,\"mat-header-row\",31),a.Hc(18,bn,1,0,\"mat-row\",32),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"dataSource\",t.dataSource),a.Db(16),a.oc(\"matHeaderRowDef\",t.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",t.displayedColumns)}}function dn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_NAME \"),a.Vb())}function mn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_CARD_NUMBER \"),a.Vb())}function pn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" VALID_CARD_NUMBER \"),a.Vb())}function hn(t,e){if(1&t&&(a.Wb(0,\"option\",40),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.pc(\"value\",t),a.Db(1),a.Kc(t)}}function fn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_EXPIRY_MONTH \"),a.Vb())}function gn(t,e){if(1&t&&(a.Wb(0,\"option\",40),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.pc(\"value\",t),a.Db(1),a.Kc(t)}}function vn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_EXPIRY_YEAR \"),a.Vb())}u.b.add(m.C,p.g),u.a.watch();let Cn=(()=>{class t{constructor(t,e,i){this.paymentService=t,this.translate=e,this.snackBarHelperService=i,this.emitSelection=new a.o,this.allowDelete=!1,this.displayedColumns=[\"Number\",\"Name\",\"Expiry\"],this.nameControl=new c.c(\"\",[c.x.required]),this.numberControl=new c.c(\"\",[c.x.required,c.x.min(1e15),c.x.max(1e16)]),this.monthControl=new c.c(\"\",[c.x.required]),this.yearControl=new c.c(\"\",[c.x.required]),this.card={},this.cardsExist=!1,this.paymentId=void 0}ngOnInit(){this.monthRange=Array.from(Array(12).keys()).map(t=>t+1),this.yearRange=Array.from(Array(20).keys()).map(t=>t+2080),this.allowDelete?this.displayedColumns.push(\"Remove\"):this.displayedColumns.unshift(\"Selection\"),this.load()}load(){this.paymentService.get().subscribe(t=>{t.map(t=>{t.cardNum=\"************\"+String(t.cardNum).substring(String(t.cardNum).length-4)}),this.cardsExist=t.length,this.storedCards=t,this.dataSource=new T.o(this.storedCards)},t=>console.log(t))}save(){this.card.fullName=this.nameControl.value,this.card.cardNum=this.numberControl.value,this.card.expMonth=this.monthControl.value,this.card.expYear=this.yearControl.value,this.paymentService.save(this.card).subscribe(t=>{this.error=null,this.translate.get(\"CREDIT_CARD_SAVED\",{cardnumber:String(t.cardNum).substring(String(t.cardNum).length-4)}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")}),this.load(),this.resetForm()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.resetForm()})}delete(t){this.paymentService.del(t).subscribe(()=>{this.load()},t=>console.log(t))}emitSelectionToParent(t){this.emitSelection.emit(t)}resetForm(){this.nameControl.markAsUntouched(),this.nameControl.markAsPristine(),this.nameControl.setValue(\"\"),this.numberControl.markAsUntouched(),this.numberControl.markAsPristine(),this.numberControl.setValue(\"\"),this.monthControl.markAsUntouched(),this.monthControl.markAsPristine(),this.monthControl.setValue(\"\"),this.yearControl.markAsUntouched(),this.yearControl.markAsPristine(),this.yearControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Xo),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-payment-method\"]],inputs:{allowDelete:\"allowDelete\"},outputs:{emitSelection:\"emitSelection\"},decls:46,vars:26,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\"],[4,\"ngIf\"],[1,\"mat-elevation-z0\"],[2,\"margin-bottom\",\"12px\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"translate\",\"\"],[\"type\",\"text\",\"matInput\",\"\",3,\"formControl\"],[\"translate\",\"\",4,\"ngIf\"],[\"type\",\"number\",\"matInput\",\"\",3,\"formControl\"],[\"cardIn\",\"\"],[\"align\",\"end\"],[\"appearance\",\"outline\",\"color\",\"accent\",2,\"width\",\"45%\",\"margin-right\",\"10%\"],[\"matNativeControl\",\"\",\"required\",\"\",3,\"formControl\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[\"appearance\",\"outline\",\"color\",\"accent\",2,\"width\",\"45%\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"margin-top\",\"5px\",\"float\",\"right\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[3,\"dataSource\"],[\"matColumnDef\",\"Selection\"],[\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"Number\"],[\"fxFlex\",\"35%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"35%\",4,\"matCellDef\"],[\"matColumnDef\",\"Name\"],[\"fxFlex\",\"30%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"30%\",4,\"matCellDef\"],[\"matColumnDef\",\"Expiry\"],[\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"Remove\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxFlex\",\"15%\"],[3,\"click\"],[\"fxFlex\",\"35%\"],[\"fxFlex\",\"30%\"],[\"fxFlex\",\"20%\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"far\",\"fa-trash-alt\"],[3,\"value\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"h1\"),a.Jc(2),a.jc(3,\"translate\"),a.Vb(),a.Hc(4,un,19,3,\"div\",1),a.Wb(5,\"div\"),a.Wb(6,\"mat-expansion-panel\",2),a.Wb(7,\"mat-expansion-panel-header\",3),a.Wb(8,\"mat-panel-title\"),a.Jc(9),a.jc(10,\"translate\"),a.Vb(),a.Wb(11,\"mat-panel-description\"),a.Jc(12),a.jc(13,\"translate\"),a.Vb(),a.Vb(),a.Wb(14,\"div\"),a.Wb(15,\"mat-form-field\",4),a.Wb(16,\"mat-label\",5),a.Jc(17,\"LABEL_NAME\"),a.Vb(),a.Rb(18,\"input\",6),a.Hc(19,dn,2,0,\"mat-error\",7),a.Vb(),a.Wb(20,\"mat-form-field\",4),a.Wb(21,\"mat-label\",5),a.Jc(22,\"LABEL_CARD_NUMBER\"),a.Vb(),a.Rb(23,\"input\",8,9),a.Wb(25,\"mat-hint\",10),a.Jc(26),a.Vb(),a.Hc(27,mn,2,0,\"mat-error\",7),a.Hc(28,pn,2,0,\"mat-error\",7),a.Vb(),a.Wb(29,\"mat-form-field\",11),a.Wb(30,\"mat-label\",5),a.Jc(31,\"LABEL_EXPIRY_MONTH\"),a.Vb(),a.Wb(32,\"select\",12),a.Hc(33,hn,2,2,\"option\",13),a.Vb(),a.Hc(34,fn,2,0,\"mat-error\",7),a.Vb(),a.Wb(35,\"mat-form-field\",14),a.Wb(36,\"mat-label\",5),a.Jc(37,\"LABEL_EXPIRY_YEAR\"),a.Vb(),a.Wb(38,\"select\",12),a.Hc(39,gn,2,2,\"option\",13),a.Vb(),a.Hc(40,vn,2,0,\"mat-error\",7),a.Vb(),a.Vb(),a.Wb(41,\"button\",15),a.ec(\"click\",(function(){return e.save()})),a.Wb(42,\"i\",16),a.Jc(43,\" send \"),a.Vb(),a.Jc(44),a.jc(45,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(24);a.Db(2),a.Kc(a.kc(3,18,\"MY_PAYMENT_OPTIONS\")),a.Db(2),a.oc(\"ngIf\",e.cardsExist),a.Db(5),a.Lc(\" \",a.kc(10,20,\"ADD_NEW_CARD\"),\" \"),a.Db(3),a.Lc(\" \",a.kc(13,22,\"ADD_NEW_CARD_DESCRIPTION\"),\" \"),a.Db(6),a.oc(\"formControl\",e.nameControl),a.Db(1),a.oc(\"ngIf\",e.nameControl.invalid&&e.nameControl.errors.required),a.Db(4),a.oc(\"formControl\",e.numberControl),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/16\"),a.Db(1),a.oc(\"ngIf\",e.numberControl.invalid&&e.numberControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.numberControl.invalid&&(e.numberControl.errors.min||e.numberControl.errors.max)),a.Db(4),a.oc(\"formControl\",e.monthControl),a.Db(1),a.oc(\"ngForOf\",e.monthRange),a.Db(1),a.oc(\"ngIf\",e.monthControl.invalid&&e.monthControl.errors.required),a.Db(4),a.oc(\"formControl\",e.yearControl),a.Db(1),a.oc(\"ngForOf\",e.yearRange),a.Db(1),a.oc(\"ngIf\",e.yearControl.invalid&&e.yearControl.errors.required),a.Db(1),a.oc(\"disabled\",e.nameControl.invalid||e.numberControl.invalid||e.monthControl.invalid||e.yearControl.invalid),a.Db(3),a.Lc(\" \",a.kc(45,24,\"BTN_SUBMIT\"),\" \")}},directives:[h.d,h.e,P.l,Me.b,Me.d,Me.e,Me.c,At.b,At.f,g.a,Tt.b,c.b,c.n,c.d,c.s,At.e,c.w,c.v,P.k,v.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,h.b,T.a,ra.a,T.j,T.l,At.a,c.r,c.y],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.detail-divider[_ngcontent-%COMP%]{margin-bottom:12px;margin-top:12px}mat-header-row[_ngcontent-%COMP%]{min-height:0!important}input[_ngcontent-%COMP%]::-webkit-inner-spin-button, input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;margin:0}\"]}),t})();function wn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",11),a.Wb(1,\"div\",12),a.Wb(2,\"div\",13),a.Wb(3,\"span\",14),a.Jc(4,\"LABEL_PAY_USING_WALLET\"),a.Vb(),a.Vb(),a.Wb(5,\"div\",15),a.Wb(6,\"b\"),a.Wb(7,\"span\",14),a.Jc(8,\"LABEL_WALLET_BALANCE\"),a.Vb(),a.Wb(9,\"span\",16),a.Jc(10),a.Vb(),a.Vb(),a.Vb(),a.Wb(11,\"div\",17),a.Wb(12,\"button\",18),a.ec(\"click\",(function(){return a.zc(t),a.ic().useWallet()})),a.Rb(13,\"i\",19),a.Jc(14),a.jc(15,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(10),a.Lc(\" \",t.walletBalanceStr,\"\"),a.Db(2),a.oc(\"disabled\",t.walletBalance-t.totalPrice<0),a.Db(2),a.Mc(\" \",a.kc(15,4,\"LABEL_PAY\"),\" \",null==t.totalPrice?null:t.totalPrice.toFixed(2),\"\\xa4 \")}}function yn(t,e){if(1&t&&(a.Wb(0,\"div\",31),a.Jc(1),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.Lc(\"\",t.couponConfirmation,\" \")}}function Dn(t,e){if(1&t&&(a.Wb(0,\"div\",32),a.Jc(1),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.Lc(\"\",null==t.couponError?null:t.couponError.error,\" \")}}function Sn(t,e){1&t&&(a.Wb(0,\"mat-error\"),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\" \",a.kc(2,1,\"COUPON_CODE_HINT\"),\" \"))}const Wn=function(t,e){return{twitter:t,facebook:e}};function xn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-expansion-panel\",20),a.Wb(1,\"mat-expansion-panel-header\",21),a.Wb(2,\"mat-panel-title\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Wb(5,\"mat-panel-description\"),a.Jc(6),a.jc(7,\"translate\"),a.Vb(),a.Vb(),a.Hc(8,yn,2,1,\"div\",22),a.Hc(9,Dn,2,1,\"div\",23),a.Wb(10,\"mat-form-field\",24),a.Wb(11,\"mat-label\",8),a.Jc(12,\"LABEL_COUPON\"),a.Vb(),a.Rb(13,\"mat-hint\",25),a.jc(14,\"translate\"),a.Rb(15,\"input\",26,27),a.jc(17,\"translate\"),a.Wb(18,\"mat-hint\",28),a.Jc(19),a.Vb(),a.Hc(20,Sn,3,3,\"mat-error\",29),a.Vb(),a.Wb(21,\"button\",30),a.ec(\"click\",(function(){return a.zc(t),a.ic().applyCoupon()})),a.Wb(22,\"mat-icon\"),a.Jc(23,\" redeem \"),a.Vb(),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.wc(16),e=a.ic();a.oc(\"expanded\",e.couponPanelExpanded),a.Db(3),a.Lc(\" \",a.kc(4,12,\"ADD_A_COUPON\"),\" \"),a.Db(3),a.Lc(\" \",a.kc(7,14,\"VOUCHERS_AND_PROMOTIONAL_CODE\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.couponConfirmation&&!e.couponControl.dirty),a.Db(1),a.oc(\"ngIf\",e.couponError&&!e.couponControl.dirty),a.Db(4),a.oc(\"innerHtml\",a.lc(14,16,\"FOLLOW_FOR_MONTHLY_COUPONS\",a.uc(23,Wn,e.twitterUrl,e.facebookUrl)),a.Ac),a.Db(2),a.pc(\"placeholder\",a.kc(17,19,\"ENTER_COUPON_CODE\")),a.oc(\"formControl\",e.couponControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/10\"),a.Db(1),a.oc(\"ngIf\",e.couponControl.invalid&&(e.couponControl.errors.minlength||e.couponControl.errors.maxlength)),a.Db(1),a.oc(\"disabled\",e.couponControl.invalid),a.Db(3),a.Lc(\" \",a.kc(25,21,\"BTN_REDEEM\"),\" \")}}const Vn=function(){return{juiceshop:\"OWASP Juice Shop\"}};function In(t,e){1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"THANKS_FOR_SUPPORT\"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Vn))}const _n=function(t){return{appname:t}};function kn(t,e){if(1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"THANKS_FOR_SUPPORT_CUSTOMIZED\"),a.Vb()),2&t){const t=a.ic(2);a.oc(\"translateParams\",a.tc(1,_n,t.applicationName))}}function On(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",55),a.ec(\"click\",(function(){return a.zc(t),a.ic(2).showBitcoinQrCode()})),a.Rb(1,\"i\",56),a.Jc(2,\" Bitcoin \"),a.Vb()}}function Ln(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",55),a.ec(\"click\",(function(){return a.zc(t),a.ic(2).showDashQrCode()})),a.Wb(1,\"i\",57),a.Jc(2,\"\\xd0\"),a.Vb(),a.Jc(3,\" Dash\"),a.Vb()}}function An(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",55),a.ec(\"click\",(function(){return a.zc(t),a.ic(2).showEtherQrCode()})),a.Rb(1,\"i\",58),a.Jc(2,\" Ether \"),a.Vb()}}function Tn(t,e){1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"OFFICIAL_MERCHANDISE_STORES\"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Vn))}function Pn(t,e){if(1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"OFFICIAL_MERCHANDISE_STORES_CUSTOMIZED\"),a.Vb()),2&t){const t=a.ic(2);a.oc(\"translateParams\",a.tc(1,_n,t.applicationName))}}function En(t,e){if(1&t&&(a.Wb(0,\"mat-expansion-panel\",33),a.Wb(1,\"mat-expansion-panel-header\",21),a.Wb(2,\"mat-panel-title\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Wb(5,\"div\",34),a.Wb(6,\"div\",35),a.Wb(7,\"div\",36),a.Wb(8,\"label\",8),a.Jc(9,\"LABEL_DONATIONS\"),a.Vb(),a.Vb(),a.Wb(10,\"small\"),a.Jc(11,\" (\"),a.Hc(12,In,2,2,\"span\",37),a.Hc(13,kn,2,3,\"span\",37),a.Rb(14,\"i\",38),a.Jc(15,\") \"),a.Vb(),a.Wb(16,\"div\",39),a.Wb(17,\"a\",40),a.Wb(18,\"button\",41),a.Rb(19,\"i\",42),a.Jc(20),a.jc(21,\"translate\"),a.Vb(),a.Vb(),a.Hc(22,On,3,0,\"button\",43),a.Hc(23,Ln,4,0,\"button\",43),a.Hc(24,An,3,0,\"button\",43),a.Vb(),a.Vb(),a.Rb(25,\"span\",44),a.Wb(26,\"div\",45),a.Wb(27,\"div\",36),a.Wb(28,\"label\",8),a.Jc(29,\"LABEL_MERCHANDISE\"),a.Vb(),a.Vb(),a.Wb(30,\"small\"),a.Jc(31,\" (\"),a.Hc(32,Tn,2,2,\"span\",37),a.Hc(33,Pn,2,3,\"span\",37),a.Rb(34,\"i\",46),a.Jc(35,\") \"),a.Vb(),a.Wb(36,\"div\",39),a.Wb(37,\"a\",47),a.Wb(38,\"button\",41),a.Rb(39,\"i\",48),a.Jc(40,\" Spreadshirt (US)\"),a.Vb(),a.Vb(),a.Wb(41,\"a\",49),a.Wb(42,\"button\",41),a.Rb(43,\"i\",48),a.Jc(44,\" Spreadshirt (DE)\"),a.Vb(),a.Vb(),a.Wb(45,\"a\",50),a.Wb(46,\"button\",41),a.Rb(47,\"i\",51),a.Jc(48,\" StickerYou\"),a.Vb(),a.Vb(),a.Wb(49,\"a\",52),a.Wb(50,\"button\",41),a.Rb(51,\"i\",53),a.Jc(52,\" Leanpub\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.oc(\"expanded\",t.paymentPanelExpanded),a.Db(3),a.Lc(\" \",a.kc(4,10,\"OTHER_PAYMENT_OPTIONS\"),\" \"),a.Db(9),a.oc(\"ngIf\",\"OWASP Juice Shop\"===t.applicationName),a.Db(1),a.oc(\"ngIf\",\"OWASP Juice Shop\"!==t.applicationName),a.Db(7),a.Lc(\" \",a.kc(21,12,\"BTN_CREDIT_CARD\"),\"\"),a.Db(2),a.oc(\"ngIf\",!1),a.Db(1),a.oc(\"ngIf\",!1),a.Db(1),a.oc(\"ngIf\",!1),a.Db(8),a.oc(\"ngIf\",\"OWASP Juice Shop\"===t.applicationName),a.Db(1),a.oc(\"ngIf\",\"OWASP Juice Shop\"!==t.applicationName)}}function Rn(t,e){1&t&&(a.Wb(0,\"span\",8),a.Jc(1,\"REVIEW_ALERT\"),a.Vb())}function Mn(t,e){1&t&&(a.Wb(0,\"span\",8),a.Jc(1,\"REVIEW_DELUXE\"),a.Vb())}function Jn(t,e){1&t&&(a.Wb(0,\"span\",8),a.Jc(1,\"REVIEW_WALLET\"),a.Vb())}u.b.add(m.d,m.r,m.v,d.g,m.T,m.ab,m.M,m.u,m.h,m.U,d.j),u.a.watch();let Hn=(()=>{class t{constructor(t,e,i,a,o,n,r,s,l,b,u,d,m){this.location=t,this.cookieService=e,this.userService=i,this.deliveryService=a,this.walletService=o,this.router=n,this.dialog=r,this.configurationService=s,this.basketService=l,this.translate=b,this.activatedRoute=u,this.ngZone=d,this.snackBarHelperService=m,this.card={},this.twitterUrl=null,this.facebookUrl=null,this.applicationName=\"OWASP Juice Shop\",this.couponControl=new c.c(\"\",[c.x.required,c.x.minLength(10),c.x.maxLength(10)]),this.paymentId=void 0,this.couponPanelExpanded=!1,this.paymentPanelExpanded=!1,this.walletBalance=0,this.totalPrice=0,this.payUsingWallet=!1,this.campaigns={WMNSDY2019:{validOn:15519996e5,discount:75},WMNSDY2020:{validOn:1583622e6,discount:60},WMNSDY2021:{validOn:1615158e6,discount:60},WMNSDY2022:{validOn:1646694e6,discount:60},WMNSDY2023:{validOn:167823e7,discount:60},ORANGE2020:{validOn:15885468e5,discount:50},ORANGE2021:{validOn:16200828e5,discount:40},ORANGE2022:{validOn:16516188e5,discount:40},ORANGE2023:{validOn:16831548e5,discount:40}}}ngOnInit(){this.initTotal(),this.walletService.get().subscribe(t=>{this.walletBalance=t,this.walletBalanceStr=parseFloat(t).toFixed(2)},t=>console.log(t)),this.couponPanelExpanded=!!localStorage.getItem(\"couponPanelExpanded\")&&JSON.parse(localStorage.getItem(\"couponPanelExpanded\")),this.paymentPanelExpanded=!!localStorage.getItem(\"paymentPanelExpanded\")&&JSON.parse(localStorage.getItem(\"paymentPanelExpanded\")),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&(t.application.social.twitterUrl&&(this.twitterUrl=t.application.social.twitterUrl),t.application.social.facebookUrl&&(this.facebookUrl=t.application.social.facebookUrl),t.application.name&&(this.applicationName=t.application.name))},t=>console.log(t))}initTotal(){this.activatedRoute.paramMap.subscribe(t=>{if(this.mode=t.get(\"entity\"),\"wallet\"===this.mode)this.totalPrice=parseFloat(sessionStorage.getItem(\"walletTotal\"));else if(\"deluxe\"===this.mode)this.userService.deluxeStatus().subscribe(t=>{this.totalPrice=t.membershipCost},t=>console.log(t));else{const t=parseFloat(sessionStorage.getItem(\"itemTotal\")),e=sessionStorage.getItem(\"couponDiscount\")?parseFloat(sessionStorage.getItem(\"couponDiscount\"))/100*t:0;this.deliveryService.getById(sessionStorage.getItem(\"deliveryMethodId\")).subscribe(i=>{this.totalPrice=t+i.price-e})}},t=>console.log(t))}applyCoupon(){this.campaignCoupon=this.couponControl.value,this.clientDate=new Date;const t=60*(this.clientDate.getTimezoneOffset()+60)*1e3;this.clientDate.setHours(0,0,0,0),this.clientDate=this.clientDate.getTime()-t,sessionStorage.setItem(\"couponDetails\",this.campaignCoupon+\"-\"+this.clientDate);const e=this.campaigns[this.couponControl.value];e?this.clientDate===e.validOn?this.showConfirmation(e.discount):(this.couponConfirmation=void 0,this.translate.get(\"INVALID_COUPON\").subscribe(t=>{this.couponError={error:t}},t=>{this.couponError={error:t}}),this.resetCouponForm()):this.basketService.applyCoupon(Number(sessionStorage.getItem(\"bid\")),encodeURIComponent(this.couponControl.value)).subscribe(t=>{this.showConfirmation(t)},t=>{this.couponConfirmation=void 0,this.couponError=t,this.resetCouponForm()})}showConfirmation(t){this.resetCouponForm(),this.couponError=void 0,sessionStorage.setItem(\"couponDiscount\",t),this.translate.get(\"DISCOUNT_APPLIED\",{discount:t}).subscribe(t=>{this.couponConfirmation=t},t=>{this.couponConfirmation=t}),this.initTotal()}getMessage(t){this.paymentId=t,this.payUsingWallet=!1}routeToPreviousUrl(){this.location.back()}choosePayment(){sessionStorage.removeItem(\"itemTotal\"),\"wallet\"===this.mode?this.walletService.put({balance:this.totalPrice}).subscribe(()=>{sessionStorage.removeItem(\"walletTotal\"),this.ngZone.run(()=>this.router.navigate([\"/wallet\"])),this.snackBarHelperService.open(\"CHARGED_WALLET\",\"confirmBar\")},t=>{var e;console.log(t),this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\")}):\"deluxe\"===this.mode?this.userService.upgradeToDeluxe(this.payUsingWallet).subscribe(()=>{this.logout()},t=>console.log(t)):(this.payUsingWallet?sessionStorage.setItem(\"paymentId\",\"wallet\"):sessionStorage.setItem(\"paymentId\",this.paymentId),this.ngZone.run(()=>this.router.navigate([\"/order-summary\"])))}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/login\"]))}noop(){}showBitcoinQrCode(){this.dialog.open(qo,{data:{data:\"bitcoin:1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm\",url:\"/redirect?to=https://blockchain.info/address/1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm\",address:\"1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm\",title:\"TITLE_BITCOIN_ADDRESS\"}})}showDashQrCode(){this.dialog.open(qo,{data:{data:\"dash:Xr556RzuwX6hg5EGpkybbv5RanJoZN17kW\",url:\"/redirect?to=https://explorer.dash.org/address/Xr556RzuwX6hg5EGpkybbv5RanJoZN17kW\",address:\"Xr556RzuwX6hg5EGpkybbv5RanJoZN17kW\",title:\"TITLE_DASH_ADDRESS\"}})}showEtherQrCode(){this.dialog.open(qo,{data:{data:\"0x0f933ab9fCAAA782D0279C300D73750e1311EAE6\",url:\"/redirect?to=https://etherscan.io/address/0x0f933ab9fcaaa782d0279c300d73750e1311eae6\",address:\"0x0f933ab9fCAAA782D0279C300D73750e1311EAE6\",title:\"TITLE_ETHER_ADDRESS\"}})}useWallet(){this.payUsingWallet=!0}resetCouponForm(){this.couponControl.setValue(\"\"),this.couponControl.markAsPristine(),this.couponControl.markAsUntouched()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.g),a.Qb(r.b),a.Qb(D),a.Qb(Ko),a.Qb(Yo),a.Qb(S.b),a.Qb(Ae.b),a.Qb(b),a.Qb(x),a.Qb(g.e),a.Qb(S.a),a.Qb(a.A),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-payment\"]],decls:25,vars:11,consts:[[1,\"mat-own-card\",\"mat-elevation-z6\"],[3,\"allowDelete\",\"emitSelection\"],[\"class\",\"mat-elevation-z0\",\"class\",\"custom-card\",4,\"ngIf\"],[\"class\",\"mat-elevation-z0\",\"id\",\"collapseCouponElement\",3,\"expanded\",4,\"ngIf\"],[\"class\",\"mat-elevation-z0\",3,\"expanded\",4,\"ngIf\"],[2,\"margin-top\",\"20px\"],[\"mat-stroked-button\",\"\",1,\"btn\",\"btn-return\",3,\"click\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Proceed to review\",1,\"btn\",\"nextButton\",3,\"disabled\",\"click\"],[\"translate\",\"\"],[2,\"text-align\",\"center\",\"margin-top\",\"-27px\"],[\"translate\",\"\",4,\"ngIf\"],[1,\"custom-card\"],[\"fxLayout\",\"row\"],[\"fxFlex\",\"42%\"],[\"translate\",\"\",1,\"card-title\"],[\"fxFlex\",\"38%\"],[1,\"confirmation\",\"card-title\"],[\"fxFlex\",\"20%\"],[\"type\",\"submit\",\"color\",\"primary\",\"mat-raised-button\",\"\",1,\"btn\",2,\"float\",\"right\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-hand-holding-usd\",\"fa-lg\"],[\"id\",\"collapseCouponElement\",1,\"mat-elevation-z0\",3,\"expanded\"],[1,\"detail-divider\"],[\"style\",\"margin-top:5px;\",\"class\",\"confirmation\",4,\"ngIf\"],[\"style\",\"margin-top:5px;\",\"class\",\"error\",4,\"ngIf\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[3,\"innerHtml\"],[\"id\",\"coupon\",\"matInput\",\"\",\"type\",\"text\",3,\"formControl\",\"placeholder\"],[\"coupon\",\"\"],[\"align\",\"end\"],[4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"applyCouponButton\",\"color\",\"accent\",\"mat-raised-button\",\"\",2,\"margin-top\",\"5px\",\"float\",\"right\",3,\"disabled\",\"click\"],[1,\"confirmation\",2,\"margin-top\",\"5px\"],[1,\"error\",2,\"margin-top\",\"5px\"],[1,\"mat-elevation-z0\",3,\"expanded\"],[\"fxLayout\",\"row\",\"fxLayout.lt-lg\",\"column\"],[\"fxFlex\",\"34%\",\"fxFlex.lt-lg\",\"100%\",1,\"mat-elevation-z0\"],[1,\"payment-label\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[1,\"fas\",\"fa-heart\",\"error\",2,\"margin-left\",\"3px\"],[1,\"button-container\",2,\"margin-top\",\"6px\"],[\"href\",\"https://pwning.owasp-juice.shop/part3/donations.html\"],[\"mat-stroked-button\",\"\"],[1,\"fab\",\"fa-stripe\",\"fa-lg\"],[\"mat-stroked-button\",\"\",3,\"click\",4,\"ngIf\"],[1,\"fill-remaining-space\"],[\"fxFlex\",\"65%\",\"fxFlex.lt-lg\",\"100%\",1,\"mat-elevation-z0\"],[1,\"fas\",\"fa-thumbs-up\",\"confirmation\",2,\"margin-left\",\"3px\"],[\"href\",\"/redirect?to=http://shop.spreadshirt.com/juiceshop\"],[1,\"fas\",\"fa-tshirt\",\"fa-lg\"],[\"href\",\"/redirect?to=http://shop.spreadshirt.de/juiceshop\"],[\"href\",\"/redirect?to=https://www.stickeryou.com/products/owasp-juice-shop/794\"],[1,\"fas\",\"fa-sticky-note\",\"fa-lg\"],[\"href\",\"/redirect?to=http://leanpub.com/juice-shop\"],[1,\"fab\",\"fa-leanpub\",\"fa-lg\"],[\"translate\",\"\",3,\"translateParams\"],[\"mat-stroked-button\",\"\",3,\"click\"],[1,\"fab\",\"fa-btc\",\"fa-lg\"],[1,\"fa-lg\"],[1,\"fab\",\"fa-ethereum\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"div\"),a.Wb(2,\"app-payment-method\",1),a.ec(\"emitSelection\",(function(t){return e.getMessage(t)})),a.Vb(),a.Rb(3,\"mat-divider\"),a.Hc(4,wn,16,6,\"div\",2),a.Rb(5,\"mat-divider\"),a.Hc(6,xn,26,26,\"mat-expansion-panel\",3),a.Rb(7,\"mat-divider\"),a.Hc(8,En,53,14,\"mat-expansion-panel\",4),a.Rb(9,\"mat-divider\"),a.Wb(10,\"div\",5),a.Wb(11,\"button\",6),a.ec(\"click\",(function(){return e.routeToPreviousUrl()})),a.Wb(12,\"mat-icon\"),a.Jc(13,\" navigate_before \"),a.Vb(),a.Jc(14),a.jc(15,\"translate\"),a.Vb(),a.Wb(16,\"button\",7),a.ec(\"click\",(function(){return e.choosePayment()})),a.Wb(17,\"mat-icon\"),a.Jc(18,\" navigate_next \"),a.Vb(),a.Wb(19,\"span\",8),a.Jc(20,\"LABEL_CONTINUE\"),a.Vb(),a.Vb(),a.Wb(21,\"p\",9),a.Hc(22,Rn,2,0,\"span\",10),a.Hc(23,Mn,2,0,\"span\",10),a.Hc(24,Jn,2,0,\"span\",10),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(2),a.oc(\"allowDelete\",!1),a.Db(2),a.oc(\"ngIf\",\"wallet\"!==e.mode),a.Db(2),a.oc(\"ngIf\",\"wallet\"!==e.mode),a.Db(2),a.oc(\"ngIf\",\"wallet\"!==e.mode),a.Db(6),a.Lc(\" \",a.kc(15,9,\"LABEL_BACK\"),\" \"),a.Db(2),a.oc(\"disabled\",void 0===e.paymentId&&!1===e.payUsingWallet),a.Db(6),a.oc(\"ngIf\",\"deluxe\"!==e.mode&&\"wallet\"!==e.mode),a.Db(1),a.oc(\"ngIf\",\"deluxe\"===e.mode),a.Db(1),a.oc(\"ngIf\",\"wallet\"===e.mode))},directives:[f.a,Cn,Re.a,P.l,v.a,Ce.a,g.a,h.d,h.b,Me.b,Me.d,Me.e,Me.c,At.b,At.f,At.e,Tt.b,c.b,c.n,c.d,At.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-own-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}.btn-return[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;display:block}.nextButton[_ngcontent-%COMP%]{margin-right:0;margin-left:auto;display:block;margin-top:-37px}mat-card[_ngcontent-%COMP%]{height:auto}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.mat-raised-button[_ngcontent-%COMP%]{margin-right:3px}.custom-card[_ngcontent-%COMP%]{padding:18px 24px}.card-title[_ngcontent-%COMP%]{font-size:15px;line-height:36px;vertical-align:middle}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.detail-divider[_ngcontent-%COMP%]{margin-bottom:12px;margin-top:12px}\"]}),t})(),Nn=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-saved-payment-methods\"]],decls:2,vars:1,consts:[[1,\"mat-own-card\",\"mat-elevation-z6\"],[3,\"allowDelete\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Rb(1,\"app-payment-method\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"allowDelete\",!0))},directives:[f.a,Cn],styles:[\".mat-own-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}\"]}),t})(),Fn=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/order-history\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getAll(){return this.http.get(this.host+\"/orders\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}toggleDeliveryStatus(t,e){return this.http.put(this.host+\"/\"+t+\"/delivery-status\",e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();const Bn=[\"paginatorOrderHistory\"],Un=[\"paginator\"];function jn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",31)}function Qn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.orderId,\"\")}}function zn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",32)}function Gn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",33),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",null==t.totalPrice?null:t.totalPrice.toFixed(2),\"\\xa4\")}}function qn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",34)}function Yn(t,e){1&t&&(a.Wb(0,\"div\",38),a.Jc(1,\"LABEL_IN_TRANSIT\"),a.Vb())}function Kn(t,e){1&t&&(a.Wb(0,\"div\",39),a.Jc(1,\"LABEL_DELIVERED\"),a.Vb())}function Xn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Hc(1,Yn,2,0,\"div\",36),a.Hc(2,Kn,2,0,\"div\",37),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"ngIf\",!t.delivered),a.Db(1),a.oc(\"ngIf\",t.delivered)}}function $n(t,e){1&t&&a.Rb(0,\"mat-header-cell\",33)}function Zn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",41),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().changeDeliveryStatus(e.delivered,e.id)})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" cached \"),a.Vb(),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"LABEL_MARK_AS_TRANSIT\"))}function tr(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",41),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().changeDeliveryStatus(e.delivered,e.id)})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" check_circle \"),a.Vb(),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"LABEL_MARK_AS_DELIVERED\"))}function er(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",33),a.Hc(1,Zn,4,3,\"button\",40),a.Hc(2,tr,4,3,\"button\",40),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"ngIf\",t.delivered),a.Db(1),a.oc(\"ngIf\",!t.delivered)}}function ir(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function ar(t,e){1&t&&a.Rb(0,\"mat-row\")}function or(t,e){if(1&t&&(a.Wb(0,\"div\",42),a.Wb(1,\"p\",43),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Kc(t.confirmation)}}function nr(t,e){if(1&t&&(a.Wb(0,\"div\",42),a.Wb(1,\"p\",44),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Kc(null==t.error?null:t.error.error)}}function rr(t,e){1&t&&a.Rb(0,\"mat-header-cell\",45)}function cr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",46),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\"\")}}function sr(t,e){1&t&&a.Rb(0,\"mat-header-cell\",47)}function lr(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",48),a.Wb(1,\"mat-form-field\",49),a.Rb(2,\"input\",50,51),a.Wb(4,\"button\",52),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit,o=a.wc(3);return a.ic().modifyPrice(i.id,o.value)})),a.Rb(5,\"i\",53),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit;a.Db(2),a.pc(\"value\",t.price)}}function br(t,e){1&t&&a.Rb(0,\"mat-header-cell\",54)}function ur(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",48),a.Wb(1,\"mat-form-field\",49),a.Rb(2,\"input\",50,55),a.Wb(4,\"button\",52),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit,o=a.wc(3),n=a.ic();return n.modifyQuantity(n.quantityMap[i.id].id,o.value)})),a.Rb(5,\"i\",53),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.Db(2),a.pc(\"value\",i.quantityMap[t.id].quantity)}}function dr(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function mr(t,e){1&t&&a.Rb(0,\"mat-row\")}const pr=function(){return[10,20,30]};u.b.add(m.f),u.a.watch();let hr=(()=>{class t{constructor(t,e,i){this.productService=t,this.quantityService=e,this.orderHistoryService=i,this.orderHistoryColumns=[\"OrderId\",\"Price\",\"Status\",\"StatusButton\"],this.displayedColumns=[\"Product\",\"Price\",\"Quantity\"],this.confirmation=void 0,this.error=void 0}ngAfterViewInit(){this.loadQuantity(),this.loadProducts(),this.loadOrders()}loadQuantity(){this.quantitySubscription=this.quantityService.getAll().subscribe(t=>{this.quantityMap={},t.map(t=>{this.quantityMap[t.ProductId]={id:t.id,quantity:t.quantity}})},t=>{this.error=t.error,this.confirmation=null,console.log(t)})}loadProducts(){this.productSubscription=this.productService.search(\"\").subscribe(t=>{this.tableData=t,this.dataSource=new T.o(this.tableData),this.dataSource.paginator=this.paginator},t=>console.log(t))}loadOrders(){this.orderHistoryService.getAll().subscribe(t=>{this.orderData=[];for(const e of t)this.orderData.push({id:e._id,orderId:e.orderId,totalPrice:e.totalPrice,delivered:e.delivered});this.orderSource=new T.o(this.orderData),this.orderSource.paginator=this.paginatorOrderHistory},t=>console.log(t))}ngOnDestroy(){this.productSubscription&&this.productSubscription.unsubscribe(),this.quantitySubscription&&this.quantitySubscription.unsubscribe()}modifyQuantity(t,e){this.error=null,this.quantityService.put(t,{quantity:e<0?0:e}).subscribe(t=>{const e=this.tableData.find(e=>e.id===t.ProductId);this.confirmation=\"Quantity for \"+e.name+\" has been updated.\",this.loadQuantity()},t=>{this.error=t.error,this.confirmation=null,console.log(t)})}modifyPrice(t,e){this.error=null,this.productService.put(t,{price:e<0?0:e}).subscribe(t=>{this.confirmation=\"Price for \"+t.name+\" has been updated.\",this.loadProducts()},t=>{this.error=t.error,this.confirmation=null,console.log(t)})}changeDeliveryStatus(t,e){this.orderHistoryService.toggleDeliveryStatus(e,{deliveryStatus:t}).subscribe(()=>{this.loadOrders()},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(je),a.Qb(Ye),a.Qb(Fn))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-accounting\"]],viewQuery:function(t,e){var i;1&t&&(a.Fc(Bn,!0),a.Fc(Un,!0)),2&t&&(a.vc(i=a.fc())&&(e.paginatorOrderHistory=i.first),a.vc(i=a.fc())&&(e.paginator=i.first))},decls:49,vars:20,consts:[[\"fxLayout\",\"row\",\"fxLayoutGap\",\"5%\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap.lt-md\",\"20px\",1,\"main-wrapper\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxFlex\",\"50%\"],[1,\"table-container\",\"custom-slate\",\"mat-elevation-z6\"],[1,\"heading\"],[3,\"dataSource\"],[\"matColumnDef\",\"OrderId\"],[\"translate\",\"LABEL_ORDER_ID\",\"fxFlex\",\"50%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"50%\",4,\"matCellDef\"],[\"matColumnDef\",\"Price\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"Status\"],[\"translate\",\"LABEL_STATUS\",\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"StatusButton\"],[\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[1,\"mat-elevation-z6\",3,\"pageSize\",\"pageSizeOptions\"],[\"paginatorOrderHistory\",\"\"],[\"fxFlex\",\"50%\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxLayoutAlign\",\"center\"],[\"style\",\"margin-top:5px;\",4,\"ngIf\"],[\"matColumnDef\",\"Product\"],[\"translate\",\"LABEL_PRODUCT\",\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\",4,\"matCellDef\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\",4,\"matCellDef\"],[\"matColumnDef\",\"Quantity\"],[\"translate\",\"LABEL_QUANTITY\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\",4,\"matHeaderCellDef\"],[\"paginator\",\"\"],[\"translate\",\"LABEL_ORDER_ID\",\"fxFlex\",\"50%\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"15%\"],[\"fxFlex\",\"15%\"],[\"translate\",\"LABEL_STATUS\",\"fxFlex\",\"20%\"],[\"fxFlex\",\"20%\"],[\"class\",\"error\",\"translate\",\"\",4,\"ngIf\"],[\"class\",\"confirmation\",\"translate\",\"\",4,\"ngIf\"],[\"translate\",\"\",1,\"error\"],[\"translate\",\"\",1,\"confirmation\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[2,\"margin-top\",\"5px\"],[1,\"confirmation\"],[1,\"error\"],[\"translate\",\"LABEL_PRODUCT\",\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\"],[\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\"],[\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\"],[1,\"input-field\"],[\"matInput\",\"\",\"type\",\"number\",3,\"value\"],[\"price\",\"\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",3,\"click\"],[1,\"fas\",\"fa-check\"],[\"translate\",\"LABEL_QUANTITY\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\"],[\"quanitity\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Wb(3,\"div\",3),a.Wb(4,\"div\"),a.Jc(5),a.jc(6,\"translate\"),a.Vb(),a.Vb(),a.Wb(7,\"mat-table\",4),a.Ub(8,5),a.Hc(9,jn,1,0,\"mat-header-cell\",6),a.Hc(10,Qn,2,1,\"mat-cell\",7),a.Tb(),a.Ub(11,8),a.Hc(12,zn,1,0,\"mat-header-cell\",9),a.Hc(13,Gn,2,1,\"mat-cell\",10),a.Tb(),a.Ub(14,11),a.Hc(15,qn,1,0,\"mat-header-cell\",12),a.Hc(16,Xn,3,2,\"mat-cell\",13),a.Tb(),a.Ub(17,14),a.Hc(18,$n,1,0,\"mat-header-cell\",15),a.Hc(19,er,3,2,\"mat-cell\",10),a.Tb(),a.Hc(20,ir,1,0,\"mat-header-row\",16),a.Hc(21,ar,1,0,\"mat-row\",17),a.Vb(),a.Rb(22,\"mat-divider\"),a.Rb(23,\"mat-paginator\",18,19),a.Vb(),a.Vb(),a.Wb(25,\"div\",20),a.Wb(26,\"div\",21),a.Wb(27,\"div\",2),a.Wb(28,\"div\",3),a.Wb(29,\"div\"),a.Jc(30),a.jc(31,\"translate\"),a.Vb(),a.Hc(32,or,3,1,\"div\",22),a.Hc(33,nr,3,1,\"div\",22),a.Vb(),a.Wb(34,\"mat-table\",4),a.Ub(35,23),a.Hc(36,rr,1,0,\"mat-header-cell\",24),a.Hc(37,cr,2,1,\"mat-cell\",25),a.Tb(),a.Ub(38,8),a.Hc(39,sr,1,0,\"mat-header-cell\",26),a.Hc(40,lr,6,1,\"mat-cell\",27),a.Tb(),a.Ub(41,28),a.Hc(42,br,1,0,\"mat-header-cell\",29),a.Hc(43,ur,6,1,\"mat-cell\",27),a.Tb(),a.Hc(44,dr,1,0,\"mat-header-row\",16),a.Hc(45,mr,1,0,\"mat-row\",17),a.Vb(),a.Rb(46,\"mat-divider\"),a.Rb(47,\"mat-paginator\",18,30),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(5),a.Kc(a.kc(6,14,\"TITLE_TRACK_ORDERS\")),a.Db(2),a.oc(\"dataSource\",e.orderSource),a.Db(13),a.oc(\"matHeaderRowDef\",e.orderHistoryColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.orderHistoryColumns),a.Db(2),a.oc(\"pageSize\",10)(\"pageSizeOptions\",a.sc(18,pr)),a.Db(7),a.Kc(a.kc(31,16,\"TITLE_ALL_PRODUCTS\")),a.Db(2),a.oc(\"ngIf\",e.confirmation),a.Db(1),a.oc(\"ngIf\",e.error),a.Db(1),a.oc(\"dataSource\",e.dataSource),a.Db(10),a.oc(\"matHeaderRowDef\",e.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.displayedColumns),a.Db(2),a.oc(\"pageSize\",10)(\"pageSizeOptions\",a.sc(19,pr)))},directives:[h.d,h.e,h.b,T.n,T.c,T.i,T.b,T.k,T.m,Re.a,Qe.a,h.c,P.l,T.h,g.a,T.a,v.a,we.a,Ce.a,T.j,T.l,At.b,Tt.b,At.g],pipes:[g.d],styles:[\".table-container[_ngcontent-%COMP%]{min-width:350px}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.product[_ngcontent-%COMP%]{cursor:pointer}.input-field[_ngcontent-%COMP%]{width:80px}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}\"]}),t})();const fr=function(t){return{numberdays:t}};function gr(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Wb(1,\"div\",30),a.Jc(2,\"ESTIMATED_TIME_OF_DELIVERY\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.oc(\"translateParams\",a.tc(1,fr,t.orderDetails.eta))}}function vr(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Hc(1,gr,3,3,\"span\",7),a.Wb(2,\"div\"),a.Wb(3,\"b\",4),a.Jc(4,\"LABEL_DELIVERY_ADDRESS\"),a.Vb(),a.Vb(),a.Wb(5,\"div\"),a.Jc(6),a.Vb(),a.Wb(7,\"div\"),a.Jc(8),a.Vb(),a.Wb(9,\"div\"),a.Jc(10),a.Vb(),a.Wb(11,\"div\"),a.Wb(12,\"span\",4),a.Jc(13,\"PHONE_NUMBER\"),a.Vb(),a.Jc(14),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngIf\",\"?\"!==t.orderDetails.eta&&void 0!==t.orderDetails.eta),a.Db(5),a.Kc(null==t.address?null:t.address.fullName),a.Db(2),a.Nc(\"\",null==t.address?null:t.address.streetAddress,\", \",null==t.address?null:t.address.city,\", \",null==t.address?null:t.address.state,\", \",null==t.address?null:t.address.zipCode,\"\"),a.Db(2),a.Kc(null==t.address?null:t.address.country),a.Db(4),a.Lc(\" \",null==t.address?null:t.address.mobileNum,\"\")}}function Cr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_PRODUCT\"),a.Vb())}function wr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.name,\" \")}}function yr(t,e){1&t&&a.Rb(0,\"mat-footer-cell\")}function Dr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_PRICE\"),a.Vb())}function Sr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.price,\"\\xa4\")}}function Wr(t,e){1&t&&a.Rb(0,\"mat-footer-cell\")}function xr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_QUANTITY\"),a.Vb())}function Vr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Wb(1,\"span\"),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=e.$implicit;a.Db(2),a.Kc(t.quantity)}}function Ir(t,e){1&t&&(a.Wb(0,\"mat-footer-cell\"),a.Wb(1,\"table\",31),a.Wb(2,\"tr\",32),a.Wb(3,\"td\",4),a.Jc(4,\"ITEMS\"),a.Vb(),a.Vb(),a.Wb(5,\"tr\",32),a.Wb(6,\"td\",4),a.Jc(7,\"DELIVERY\"),a.Vb(),a.Vb(),a.Wb(8,\"tr\",32),a.Wb(9,\"td\",4),a.Jc(10,\"PROMOTION\"),a.Vb(),a.Vb(),a.Wb(11,\"tr\",32),a.Wb(12,\"td\",4),a.Jc(13,\"LABEL_TOTAL_PRICE\"),a.Vb(),a.Vb(),a.Vb(),a.Vb())}function _r(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_TOTAL_PRICE\"),a.Vb())}function kr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",33),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.total.toFixed(2),\"\\xa4\")}}function Or(t,e){if(1&t&&(a.Wb(0,\"mat-footer-cell\"),a.Wb(1,\"table\",33),a.Wb(2,\"tr\",32),a.Wb(3,\"td\"),a.Jc(4),a.Vb(),a.Vb(),a.Wb(5,\"tr\",32),a.Wb(6,\"td\"),a.Jc(7),a.Vb(),a.Vb(),a.Wb(8,\"tr\",32),a.Wb(9,\"td\"),a.Jc(10),a.Vb(),a.Vb(),a.Wb(11,\"tr\",32),a.Wb(12,\"td\"),a.Jc(13),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Lc(\"\",null==t.orderDetails.itemTotal?null:t.orderDetails.itemTotal.toFixed(2),\"\\xa4\"),a.Db(3),a.Lc(\"\",t.deliveryPrice.toFixed(2),\"\\xa4\"),a.Db(3),a.Lc(\"\",t.promotionalDiscount.toFixed(2),\"\\xa4\"),a.Db(3),a.Lc(\"\",null==t.orderDetails.totalPrice?null:t.orderDetails.totalPrice.toFixed(2),\"\\xa4\")}}function Lr(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function Ar(t,e){1&t&&a.Rb(0,\"mat-row\")}function Tr(t,e){1&t&&a.Rb(0,\"mat-footer-row\",34)}const Pr=function(t){return{id:t}},Er=function(t){return{bonus:t}};u.b.add(d.k),u.a.watch();let Rr=(()=>{class t{constructor(t,e,i,a,o){this.configurationService=t,this.addressService=e,this.trackOrderService=i,this.activatedRoute=a,this.basketService=o,this.tableColumns=[\"product\",\"price\",\"quantity\",\"total price\"],this.orderDetails={totalPrice:0},this.deliveryPrice=0,this.promotionalDiscount=0,this.tweetText=\"I just purchased\",this.truncateTweet=(t,e=140)=>{if(!t)return null;const i=t.length>e;return`${t.substring(0,e)}${i?\"...\":\"\"}`}}ngOnInit(){this.activatedRoute.paramMap.subscribe(t=>{this.orderId=t.get(\"id\"),this.trackOrderService.save(this.orderId).subscribe(t=>{this.promotionalDiscount=t.data[0].promotionalAmount?parseFloat(t.data[0].promotionalAmount):0,this.deliveryPrice=t.data[0].deliveryPrice?parseFloat(t.data[0].deliveryPrice):0,this.orderDetails.addressId=t.data[0].addressId,this.orderDetails.paymentId=t.data[0].paymentId,this.orderDetails.totalPrice=t.data[0].totalPrice,this.orderDetails.itemTotal=t.data[0].totalPrice+this.promotionalDiscount-this.deliveryPrice,this.orderDetails.eta=t.data[0].eta||\"?\",this.orderDetails.products=t.data[0].products,this.orderDetails.bonus=t.data[0].bonus,this.dataSource=new T.o(this.orderDetails.products);for(const e of this.orderDetails.products)this.tweetText+=\"%0a- \"+e.name;this.tweetText=this.truncateTweet(this.tweetText),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&(this.tweetText+=\"%0afrom \",this.tweetText+=t.application.social.twitterUrl?t.application.social.twitterUrl.replace(\"https://twitter.com/\",\"@\"):t.application.name)},t=>console.log(t)),this.addressService.getById(this.orderDetails.addressId).subscribe(t=>{this.address=t},t=>console.log(t))},t=>console.log(t))},t=>console.log(t))}openConfirmationPDF(){window.open(this.basketService.hostServer+\"/ftp/order_\"+this.orderId+\".pdf\",\"_blank\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(na),a.Qb(ct),a.Qb(S.a),a.Qb(x))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-order-completion\"]],decls:51,vars:18,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"10px\",1,\"main-wrapper\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\"],[\"fxFlex\",\"60%\",1,\"mat-elevation-z6\"],[\"translate\",\"\",1,\"confirmation\"],[\"translate\",\"\"],[\"routerLink\",\"/track-result/new\",\"translate\",\"\",3,\"queryParams\"],[\"fxFlex\",\"40%\",1,\"mat-elevation-z6\"],[4,\"ngIf\"],[1,\"mat-elevation-z6\",\"table-container\",\"custom-slate\"],[1,\"heading\"],[1,\"heading-text\"],[\"fxFlex\",\"\"],[3,\"href\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Tweet\"],[1,\"fab\",\"fa-twitter\",\"fa-lg\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[3,\"dataSource\"],[\"matColumnDef\",\"product\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[4,\"matCellDef\"],[4,\"matFooterCellDef\"],[\"matColumnDef\",\"price\"],[\"matColumnDef\",\"quantity\"],[\"matColumnDef\",\"total price\"],[\"class\",\"price-align\",4,\"matCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"mat-footer-row\",\"\",4,\"matFooterRowDef\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\",3,\"translateParams\"],[\"translate\",\"\",1,\"confirmation\",3,\"translateParams\"],[1,\"mat-table\"],[1,\"mat-row\"],[1,\"price-align\"],[\"mat-footer-row\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\"),a.Wb(2,\"div\",1),a.Wb(3,\"mat-card\",2),a.Wb(4,\"div\"),a.Wb(5,\"h1\",3),a.Jc(6,\"THANKS_FOR_PURCHASE\"),a.Vb(),a.Wb(7,\"div\",4),a.Jc(8,\"PURCHASE_COMMENT_PREFIX \"),a.Wb(9,\"a\",5),a.Jc(10,\"TITLE_TRACK_ORDERS\"),a.Vb(),a.Jc(11,\" PURCHASE_COMMENT_SUFFIX\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(12,\"mat-card\",6),a.Hc(13,vr,15,8,\"div\",7),a.Vb(),a.Vb(),a.Vb(),a.Wb(14,\"div\",8),a.Wb(15,\"div\",9),a.Wb(16,\"span\",10),a.Jc(17),a.jc(18,\"translate\"),a.Vb(),a.Rb(19,\"span\",11),a.Wb(20,\"a\",12),a.Wb(21,\"button\",13),a.Rb(22,\"i\",14),a.Vb(),a.Vb(),a.Wb(23,\"button\",15),a.ec(\"click\",(function(){return e.openConfirmationPDF()})),a.jc(24,\"translate\"),a.Wb(25,\"mat-icon\"),a.Jc(26,\" note \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(27,\"mat-table\",16),a.Ub(28,17),a.Hc(29,Cr,2,0,\"mat-header-cell\",18),a.Hc(30,wr,2,1,\"mat-cell\",19),a.Hc(31,yr,1,0,\"mat-footer-cell\",20),a.Tb(),a.Ub(32,21),a.Hc(33,Dr,2,0,\"mat-header-cell\",18),a.Hc(34,Sr,2,1,\"mat-cell\",19),a.Hc(35,Wr,1,0,\"mat-footer-cell\",20),a.Tb(),a.Ub(36,22),a.Hc(37,xr,2,0,\"mat-header-cell\",18),a.Hc(38,Vr,3,1,\"mat-cell\",19),a.Hc(39,Ir,14,0,\"mat-footer-cell\",20),a.Tb(),a.Ub(40,23),a.Hc(41,_r,2,0,\"mat-header-cell\",18),a.Hc(42,kr,2,1,\"mat-cell\",24),a.Hc(43,Or,14,4,\"mat-footer-cell\",20),a.Tb(),a.Hc(44,Lr,1,0,\"mat-header-row\",25),a.Hc(45,Ar,1,0,\"mat-row\",26),a.Hc(46,Tr,1,0,\"mat-footer-row\",27),a.Vb(),a.Vb(),a.Wb(47,\"div\"),a.Wb(48,\"mat-card\",28),a.Wb(49,\"div\",29),a.Jc(50,\"BONUS_POINTS_COUNT\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(9),a.oc(\"queryParams\",a.tc(14,Pr,e.orderId)),a.Db(4),a.oc(\"ngIf\",e.address),a.Db(4),a.Kc(a.kc(18,10,\"ORDER_SUMMARY\")),a.Db(3),a.qc(\"href\",\"https://twitter.com/intent/tweet?text=\",e.tweetText,\"&hashtags=security\",a.Cc),a.Db(3),a.pc(\"matTooltip\",a.kc(24,12,\"PRINT_ORDER_CONFIRMATION\")),a.Db(4),a.oc(\"dataSource\",e.dataSource),a.Db(17),a.oc(\"matHeaderRowDef\",e.tableColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.tableColumns),a.Db(1),a.oc(\"matFooterRowDef\",e.tableColumns),a.Db(3),a.oc(\"translateParams\",a.tc(16,Er,e.orderDetails.bonus)))},directives:[h.d,h.e,f.a,h.b,g.a,S.d,P.l,v.a,we.a,Ce.a,T.n,T.c,T.i,T.b,T.e,T.k,T.m,T.g,T.h,T.a,T.d,T.j,T.l,T.f],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large}.heading-text[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;padding:12px 20px}mat-card[_ngcontent-%COMP%]{height:auto}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}mat-cell[_ngcontent-%COMP%], mat-footer-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.price-align[_ngcontent-%COMP%]{text-align:right}.tweet-logo[_ngcontent-%COMP%]{height:24px}\"]}),t})();function Mr(t,e){if(1&t&&(a.Wb(0,\"mat-card\",20),a.Wb(1,\"div\"),a.Wb(2,\"div\"),a.Wb(3,\"b\",14),a.Jc(4,\"PAYMENT_METHOD\"),a.Vb(),a.Vb(),a.Wb(5,\"div\"),a.Wb(6,\"span\",14),a.Jc(7,\"CARD_ENDING_IN\"),a.Vb(),a.Jc(8),a.Vb(),a.Wb(9,\"div\"),a.Wb(10,\"span\",14),a.Jc(11,\"CARD_HOLDER\"),a.Vb(),a.Jc(12),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.Db(8),a.Lc(\" \",null==t.paymentMethod?null:t.paymentMethod.cardNum,\"\"),a.Db(4),a.Lc(\" \",null==t.paymentMethod?null:t.paymentMethod.fullName,\"\")}}function Jr(t,e){1&t&&(a.Wb(0,\"mat-card\",20),a.Wb(1,\"div\"),a.Wb(2,\"div\"),a.Wb(3,\"b\",14),a.Jc(4,\"PAYMENT_METHOD\"),a.Vb(),a.Vb(),a.Wb(5,\"div\"),a.Wb(6,\"span\",14),a.Jc(7,\"DIGITAL_WALLET\"),a.Vb(),a.Vb(),a.Vb(),a.Vb())}function Hr(t,e){if(1&t&&(a.Wb(0,\"div\",16),a.Wb(1,\"mat-card\",17),a.Wb(2,\"div\"),a.Wb(3,\"div\"),a.Wb(4,\"b\",14),a.Jc(5,\"LABEL_DELIVERY_ADDRESS\"),a.Vb(),a.Vb(),a.Wb(6,\"div\"),a.Jc(7),a.Vb(),a.Wb(8,\"div\"),a.Jc(9),a.Vb(),a.Wb(10,\"div\"),a.Jc(11),a.Vb(),a.Wb(12,\"div\"),a.Wb(13,\"span\",14),a.Jc(14,\"PHONE_NUMBER\"),a.Vb(),a.Jc(15),a.Vb(),a.Vb(),a.Vb(),a.Hc(16,Mr,13,2,\"mat-card\",18),a.Hc(17,Jr,8,0,\"ng-template\",null,19,a.Ic),a.Vb()),2&t){const t=a.wc(18),e=a.ic();a.Db(7),a.Kc(null==e.address?null:e.address.fullName),a.Db(2),a.Nc(\"\",null==e.address?null:e.address.streetAddress,\", \",null==e.address?null:e.address.city,\", \",null==e.address?null:e.address.state,\", \",null==e.address?null:e.address.zipCode,\"\"),a.Db(2),a.Kc(null==e.address?null:e.address.country),a.Db(4),a.Lc(\" \",null==e.address?null:e.address.mobileNum,\"\"),a.Db(1),a.oc(\"ngIf\",\"wallet\"!==e.paymentMethod)(\"ngIfElse\",t)}}const Nr=function(t){return{bonus:t}};let Fr=(()=>{class t{constructor(t,e,i,a,o,n){this.router=t,this.addressService=e,this.paymentService=i,this.basketService=a,this.deliveryService=o,this.ngZone=n,this.bonus=0,this.itemTotal=0,this.deliveryPrice=0,this.promotionalDiscount=0}ngOnInit(){this.deliveryService.getById(sessionStorage.getItem(\"deliveryMethodId\")).subscribe(t=>{this.deliveryPrice=t.price}),this.addressService.getById(sessionStorage.getItem(\"addressId\")).subscribe(t=>{this.address=t},t=>console.log(t)),\"wallet\"!==sessionStorage.getItem(\"paymentId\")?this.paymentService.getById(sessionStorage.getItem(\"paymentId\")).subscribe(t=>{t.cardNum=String(t.cardNum).substring(String(t.cardNum).length-4),this.paymentMethod=t},t=>console.log(t)):\"wallet\"===sessionStorage.getItem(\"paymentId\")&&(this.paymentMethod=\"wallet\")}getMessage(t){this.itemTotal=t[0],this.promotionalDiscount=sessionStorage.getItem(\"couponDiscount\")?parseFloat(sessionStorage.getItem(\"couponDiscount\"))/100*this.itemTotal:0,this.bonus=t[1]}placeOrder(){const t={paymentId:sessionStorage.getItem(\"paymentId\"),addressId:sessionStorage.getItem(\"addressId\"),deliveryMethodId:sessionStorage.getItem(\"deliveryMethodId\")};this.basketService.checkout(Number(sessionStorage.getItem(\"bid\")),btoa(sessionStorage.getItem(\"couponDetails\")),t).subscribe(t=>{sessionStorage.removeItem(\"paymentId\"),sessionStorage.removeItem(\"addressId\"),sessionStorage.removeItem(\"deliveryMethodId\"),sessionStorage.removeItem(\"couponDetails\"),sessionStorage.removeItem(\"couponDiscount\"),this.ngZone.run(()=>this.router.navigate([\"/order-completion\",t]))},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(na),a.Qb(Xo),a.Qb(x),a.Qb(Ko),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-order-summary\"]],decls:36,vars:9,consts:[[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10%\",\"fxLayout.lt-md\",\"column\",1,\"main-wrapper\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxFlex\",\"70%\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\",4,\"ngIf\"],[3,\"allowEdit\",\"emitTotal\"],[\"fxFlex\",\"30%\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\",1,\"order-summary\"],[1,\"mat-table\"],[1,\"mat-row\"],[\"translate\",\"\",1,\"mat-cell\",\"label\"],[1,\"mat-cell\",\"price\"],[\"translate\",\"\",1,\"mat-footer-cell\",\"label\"],[1,\"mat-footer-cell\",\"price\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Complete your purchase\",\"id\",\"checkoutButton\",1,\"btn\",\"btn-pay\",3,\"click\"],[\"translate\",\"\"],[\"translate\",\"\",1,\"bonus-points\",3,\"translateParams\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\"],[\"fxFlex\",\"60%\",1,\"mat-elevation-z6\"],[\"class\",\"mat-elevation-z6\",\"fxFlex\",\"40%\",4,\"ngIf\",\"ngIfElse\"],[\"walletPayment\",\"\"],[\"fxFlex\",\"40%\",1,\"mat-elevation-z6\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Hc(2,Hr,19,9,\"div\",2),a.Wb(3,\"app-purchase-basket\",3),a.ec(\"emitTotal\",(function(t){return e.getMessage(t)})),a.Vb(),a.Vb(),a.Wb(4,\"div\",4),a.Wb(5,\"mat-card\",5),a.Wb(6,\"div\",6),a.Jc(7,\"ORDER_SUMMARY\"),a.Vb(),a.Wb(8,\"table\",7),a.Wb(9,\"tr\",8),a.Wb(10,\"td\",9),a.Jc(11,\"ITEMS\"),a.Vb(),a.Wb(12,\"td\",10),a.Jc(13),a.Vb(),a.Vb(),a.Wb(14,\"tr\",8),a.Wb(15,\"td\",9),a.Jc(16,\"DELIVERY\"),a.Vb(),a.Wb(17,\"td\",10),a.Jc(18),a.Vb(),a.Vb(),a.Wb(19,\"tr\",8),a.Wb(20,\"td\",9),a.Jc(21,\"PROMOTION\"),a.Vb(),a.Wb(22,\"td\",10),a.Jc(23),a.Vb(),a.Vb(),a.Wb(24,\"tr\",8),a.Wb(25,\"td\",11),a.Jc(26,\"LABEL_TOTAL_PRICE\"),a.Vb(),a.Wb(27,\"td\",12),a.Jc(28),a.Vb(),a.Vb(),a.Vb(),a.Wb(29,\"button\",13),a.ec(\"click\",(function(){return e.placeOrder()})),a.Wb(30,\"mat-icon\"),a.Jc(31,\" monetization_on \"),a.Vb(),a.Wb(32,\"span\",14),a.Jc(33,\"PLACE_ORDER_AND_PAY\"),a.Vb(),a.Vb(),a.Wb(34,\"div\",15),a.Jc(35,\"CHECKOUT_FOR_BONUS_POINTS\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(2),a.oc(\"ngIf\",e.address&&e.paymentMethod),a.Db(1),a.oc(\"allowEdit\",!1),a.Db(10),a.Lc(\"\",null==e.itemTotal?null:e.itemTotal.toFixed(2),\"\\xa4\"),a.Db(5),a.Lc(\"\",e.deliveryPrice.toFixed(2),\"\\xa4\"),a.Db(5),a.Lc(\"\",e.promotionalDiscount.toFixed(2),\"\\xa4\"),a.Db(5),a.Lc(\"\",e.itemTotal+e.deliveryPrice-e.promotionalDiscount==null?null:(e.itemTotal+e.deliveryPrice-e.promotionalDiscount).toFixed(2),\"\\xa4\"),a.Db(6),a.oc(\"translateParams\",a.tc(7,Nr,e.bonus)))},directives:[h.d,h.e,h.b,P.l,ot,f.a,g.a,v.a,Ce.a],styles:[\".btn-pay[_ngcontent-%COMP%]{display:block;margin-top:10px;width:100%}mat-card[_ngcontent-%COMP%]{height:auto;margin-top:20px}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}mat-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.price[_ngcontent-%COMP%]:last-of-type{padding-right:10px;text-align:right}.label[_ngcontent-%COMP%]:first-of-type{padding-left:10px}table[_ngcontent-%COMP%]{width:100%}.mat-footer-cell[_ngcontent-%COMP%]{font-weight:700}.order-summary[_ngcontent-%COMP%]{font-size:x-large;padding-bottom:10px;padding-left:10px}.bonus-points[_ngcontent-%COMP%]{margin-top:5px;text-align:center}\"]}),t})();function Br(t,e){1&t&&(a.Wb(0,\"mat-error\",1),a.Jc(1,\" MANDATORY_AMOUNT \"),a.Vb())}function Ur(t,e){1&t&&(a.Wb(0,\"mat-error\",1),a.Jc(1,\" AMOUNT_LIMIT \"),a.Vb())}let jr=(()=>{class t{constructor(t,e,i){this.router=t,this.walletService=e,this.ngZone=i,this.balanceControl=new c.c(\"\",[c.x.required,c.x.min(10),c.x.max(1e3)])}ngOnInit(){this.walletService.get().subscribe(t=>{this.balance=parseFloat(t).toFixed(2)},t=>{console.log(t)})}continue(){sessionStorage.setItem(\"walletTotal\",this.balanceControl.value),this.ngZone.run(()=>this.router.navigate([\"/payment\",\"wallet\"]))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(Yo),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-wallet\"]],decls:25,vars:14,consts:[[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"confirmation\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"type\",\"number\",\"matInput\",\"\",\"aria-label\",\"Enter an amount\",3,\"formControl\"],[\"translate\",\"\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to continue to payment\",3,\"disabled\",\"click\"],[1,\"material-icons\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"h1\"),a.Wb(2,\"div\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Wb(5,\"h3\",1),a.Jc(6,\"LABEL_ADD_MONEY\"),a.Vb(),a.Wb(7,\"p\"),a.Wb(8,\"b\"),a.Wb(9,\"span\",1),a.Jc(10,\"LABEL_WALLET_BALANCE\"),a.Vb(),a.Wb(11,\"span\",2),a.Jc(12),a.Vb(),a.Vb(),a.Vb(),a.Wb(13,\"mat-form-field\",3),a.Wb(14,\"mat-label\"),a.Jc(15),a.jc(16,\"translate\"),a.Vb(),a.Rb(17,\"input\",4),a.Hc(18,Br,2,0,\"mat-error\",5),a.Hc(19,Ur,2,0,\"mat-error\",5),a.Vb(),a.Wb(20,\"button\",6),a.ec(\"click\",(function(){return e.continue()})),a.Wb(21,\"i\",7),a.Jc(22,\" send \"),a.Vb(),a.Jc(23),a.jc(24,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Kc(a.kc(4,8,\"DIGITAL_WALLET\")),a.Db(9),a.Lc(\" \",e.balance,\"\"),a.Db(3),a.Kc(a.kc(16,10,\"LABEL_AMOUNT\")),a.Db(2),a.oc(\"formControl\",e.balanceControl),a.Db(1),a.oc(\"ngIf\",e.balanceControl.invalid&&e.balanceControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.balanceControl.invalid&&(e.balanceControl.errors.min||e.balanceControl.errors.max)),a.Db(1),a.oc(\"disabled\",e.balanceControl.invalid),a.Db(3),a.Lc(\" \",a.kc(24,12,\"LABEL_CONTINUE\"),\" \"))},directives:[f.a,g.a,At.b,At.f,c.s,Tt.b,c.b,c.n,c.d,P.l,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-left:30%;margin-right:30%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px;width:100%}.form-container[_ngcontent-%COMP%]{min-width:350px}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}\"]}),t})();function Qr(t,e){1&t&&(a.Wb(0,\"div\",32),a.Jc(1,\"LABEL_IN_TRANSIT\"),a.Vb())}function zr(t,e){1&t&&(a.Wb(0,\"div\",33),a.Jc(1,\"LABEL_DELIVERED\"),a.Vb())}function Gr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",34),a.Jc(1,\"LABEL_PRODUCT\"),a.Vb())}function qr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.name,\" \")}}function Yr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_PRICE\"),a.Vb())}function Kr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.price,\"\\xa4\")}}function Xr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_QUANTITY\"),a.Vb())}function $r(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Wb(1,\"span\"),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=e.$implicit;a.Db(2),a.Kc(t.quantity)}}function Zr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_TOTAL_PRICE\"),a.Vb())}function tc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",38),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.total.toFixed(2),\"\\xa4\")}}function ec(t,e){1&t&&a.Rb(0,\"mat-header-cell\",36)}function ic(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",37),a.Wb(1,\"button\",18),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(3).showDetail(i.id)})),a.jc(2,\"translate\"),a.Wb(3,\"mat-icon\"),a.Jc(4,\" rate_review \"),a.Vb(),a.Vb(),a.Vb()}2&t&&(a.Db(1),a.pc(\"matTooltip\",a.kc(2,1,\"WRITE_REVIEW\")))}function ac(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function oc(t,e){1&t&&a.Rb(0,\"mat-row\")}function nc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"div\",7),a.Wb(2,\"div\",8),a.Wb(3,\"div\",9),a.Wb(4,\"div\",10),a.Wb(5,\"div\",11),a.Jc(6,\"LABEL_ORDER_ID\"),a.Vb(),a.Wb(7,\"div\"),a.Jc(8),a.Vb(),a.Vb(),a.Wb(9,\"div\",12),a.Wb(10,\"div\",11),a.Jc(11,\"LABEL_TOTAL_PRICE\"),a.Vb(),a.Wb(12,\"div\"),a.Jc(13),a.Vb(),a.Vb(),a.Wb(14,\"div\",12),a.Wb(15,\"div\",11),a.Jc(16,\"LABEL_BONUS\"),a.Vb(),a.Wb(17,\"div\"),a.Jc(18),a.Vb(),a.Vb(),a.Wb(19,\"div\",13),a.Hc(20,Qr,2,0,\"div\",14),a.Hc(21,zr,2,0,\"div\",15),a.Vb(),a.Wb(22,\"div\",16),a.Wb(23,\"button\",17),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).trackOrder(i.orderId)})),a.jc(24,\"translate\"),a.Wb(25,\"mat-icon\"),a.Jc(26,\" local_shipping \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(27,\"div\",16),a.Wb(28,\"button\",18),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).openConfirmationPDF(i.orderId)})),a.jc(29,\"translate\"),a.Wb(30,\"mat-icon\"),a.Jc(31,\" note \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(32,\"mat-table\",19),a.Ub(33,20),a.Hc(34,Gr,2,0,\"mat-header-cell\",21),a.Hc(35,qr,2,1,\"mat-cell\",22),a.Tb(),a.Ub(36,23),a.Hc(37,Yr,2,0,\"mat-header-cell\",24),a.Hc(38,Kr,2,1,\"mat-cell\",25),a.Tb(),a.Ub(39,26),a.Hc(40,Xr,2,0,\"mat-header-cell\",24),a.Hc(41,$r,3,1,\"mat-cell\",25),a.Tb(),a.Ub(42,27),a.Hc(43,Zr,2,0,\"mat-header-cell\",24),a.Hc(44,tc,2,1,\"mat-cell\",28),a.Tb(),a.Ub(45,29),a.Hc(46,ec,1,0,\"mat-header-cell\",24),a.Hc(47,ic,5,3,\"mat-cell\",25),a.Tb(),a.Hc(48,ac,1,0,\"mat-header-row\",30),a.Hc(49,oc,1,0,\"mat-row\",31),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic(2);a.Db(8),a.Lc(\"#\",t.orderId,\"\"),a.Db(5),a.Lc(\"\",t.totalPrice.toFixed(2),\"\\xa4\"),a.Db(5),a.Kc(t.bonus),a.Db(2),a.oc(\"ngIf\",!t.delivered),a.Db(1),a.oc(\"ngIf\",t.delivered),a.Db(2),a.pc(\"matTooltip\",a.kc(24,10,\"LABEL_TRACK_ORDER\")),a.Db(5),a.pc(\"matTooltip\",a.kc(29,12,\"PRINT_ORDER_CONFIRMATION\")),a.Db(4),a.oc(\"dataSource\",t.products),a.Db(16),a.oc(\"matHeaderRowDef\",i.tableColumns),a.Db(1),a.oc(\"matRowDefColumns\",i.tableColumns)}}function rc(t,e){if(1&t&&(a.Wb(0,\"div\",5),a.Hc(1,nc,50,14,\"div\",6),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngForOf\",t.orders)}}function cc(t,e){1&t&&(a.Wb(0,\"mat-card\",39),a.Rb(1,\"img\",40),a.Wb(2,\"mat-card-title\"),a.Wb(3,\"span\",41),a.Jc(4,\" NO_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Wb(5,\"mat-card-content\"),a.Wb(6,\"span\",41),a.Jc(7,\" NO_ORDERS_PLACED \"),a.Vb(),a.Vb(),a.Vb())}let sc=(()=>{class t{constructor(t,e,i,a,o,n){this.router=t,this.dialog=e,this.orderHistoryService=i,this.basketService=a,this.productService=o,this.ngZone=n,this.tableColumns=[\"product\",\"price\",\"quantity\",\"total price\",\"review\"],this.orders=[],this.emptyState=!0}ngOnInit(){this.orderHistoryService.get().subscribe(t=>{t=t.reverse(),this.emptyState=0===t.length;for(const e of t){const t=[];for(const i of e.products)t.push({id:i.id,name:i.name,price:i.price,quantity:i.quantity,total:i.total});this.orders.push({orderId:e.orderId,totalPrice:e.totalPrice,bonus:e.bonus,products:new T.o(t),delivered:e.delivered})}},t=>console.log(t))}showDetail(t){this.productService.get(t).subscribe(t=>{const e={id:t.id,name:t.name,description:t.description,image:t.image,price:t.price,points:Math.round(t.price/10)};this.dialog.open(Ue,{width:\"500px\",height:\"max-content\",data:{productData:e}})},t=>console.log(t))}openConfirmationPDF(t){window.open(this.basketService.hostServer+\"/ftp/order_\"+t+\".pdf\",\"_blank\")}trackOrder(t){this.ngZone.run(()=>this.router.navigate([\"/track-result\"],{queryParams:{id:t}}))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(Ae.b),a.Qb(Fn),a.Qb(x),a.Qb(je),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-order-history\"]],decls:8,vars:5,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",1,\"main-wrapper\"],[1,\"heading\",\"mat-elevation-z6\"],[1,\"heading-main\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\"],[4,\"ngFor\",\"ngForOf\"],[1,\"mat-elevation-z6\",\"table-container\",\"custom-slate\"],[1,\"heading\"],[\"fxLayout\",\"row\"],[\"fxFlex\",\"40%\",\"fxLayout\",\"column\"],[\"translate\",\"\"],[\"fxFlex\",\"15%\",\"fxLayout\",\"column\"],[\"fxFlex\",\"20%\"],[\"class\",\"error\",\"translate\",\"\",4,\"ngIf\"],[\"class\",\"confirmation\",\"translate\",\"\",4,\"ngIf\"],[\"fxFlex\",\"5%\",\"fxLayoutAlign\",\"end\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Track Your Order\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[3,\"dataSource\"],[\"matColumnDef\",\"product\"],[\"translate\",\"\",\"fxFlex\",\"40%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"40%\",4,\"matCellDef\"],[\"matColumnDef\",\"price\"],[\"translate\",\"\",\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"quantity\"],[\"matColumnDef\",\"total price\"],[\"class\",\"price-align\",\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"review\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"translate\",\"\",1,\"error\"],[\"translate\",\"\",1,\"confirmation\"],[\"translate\",\"\",\"fxFlex\",\"40%\"],[\"fxFlex\",\"40%\"],[\"translate\",\"\",\"fxFlex\",\"15%\"],[\"fxFlex\",\"15%\"],[\"fxFlex\",\"15%\",1,\"price-align\"],[1,\"mat-elevation-z6\",\"emptyState\"],[\"alt\",\" No results found\",\"src\",\"assets/public/images/products/no-results.png\",1,\"img-responsive\",\"noResult\"],[\"translate\",\"\",1,\"noResultText\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Hc(5,rc,2,1,\"div\",3),a.Hc(6,cc,8,0,\"ng-template\",null,4,a.Ic),a.Vb()),2&t){const t=a.wc(7);a.Db(3),a.Kc(a.kc(4,3,\"LABEL_ORDER_HISTORY\")),a.Db(2),a.oc(\"ngIf\",!e.emptyState)(\"ngIfElse\",t)}},directives:[h.d,h.e,P.l,P.k,h.b,g.a,h.c,v.a,we.a,Ce.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,T.a,T.j,T.l,f.a,f.f,f.b],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);padding:12px 20px}.heading-main[_ngcontent-%COMP%]{font-size:x-large}.heading-main[_ngcontent-%COMP%], .heading-text[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.heading-text[_ngcontent-%COMP%]{padding:12px 20px}mat-card[_ngcontent-%COMP%]{height:auto}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}mat-cell[_ngcontent-%COMP%], mat-footer-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.price-align[_ngcontent-%COMP%]{text-align:right}.emptyState[_ngcontent-%COMP%]{display:block;height:auto!important;margin:20px auto;width:50%}.noResult[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:60%}.noResultText[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center}\"]}),t})();function lc(t,e){if(1&t&&(a.Wb(0,\"div\",22),a.Wb(1,\"h1\",4),a.Jc(2,\"LABEL_DELIVERY_ADDRESS\"),a.Vb(),a.Wb(3,\"div\"),a.Jc(4),a.Vb(),a.Wb(5,\"div\"),a.Jc(6),a.Vb(),a.Wb(7,\"div\"),a.Jc(8),a.Vb(),a.Wb(9,\"div\"),a.Wb(10,\"span\",4),a.Jc(11,\"PHONE_NUMBER\"),a.Vb(),a.Jc(12),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Kc(null==t.address?null:t.address.fullName),a.Db(2),a.Nc(\"\",null==t.address?null:t.address.streetAddress,\", \",null==t.address?null:t.address.city,\", \",null==t.address?null:t.address.state,\", \",null==t.address?null:t.address.zipCode,\"\"),a.Db(2),a.Kc(null==t.address?null:t.address.country),a.Db(4),a.Lc(\" \",null==t.address?null:t.address.mobileNum,\"\")}}function bc(t,e){1&t&&a.Rb(0,\"mat-divider\",23)}function uc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",24)}function dc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",24),a.Wb(1,\"mat-radio-button\",25),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().selectMethod(i.id)})),a.Vb(),a.Vb()}}function mc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",26)}function pc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",26),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Kc(t.name)}}function hc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",27)}function fc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",28),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.price.toFixed(2),\"\\xa4\")}}function gc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",29)}function vc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",28),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Mc(\"\",t.eta,\" \",a.kc(2,2,\"LABEL_DAYS\"),\"\")}}function Cc(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function wc(t,e){1&t&&a.Rb(0,\"mat-row\")}let yc=(()=>{class t{constructor(t,e,i,a,o){this.location=t,this.deliverySerivce=e,this.addressService=i,this.router=a,this.ngZone=o,this.displayedColumns=[\"Selection\",\"Name\",\"Price\",\"ETA\"],this.deliveryMethodId=void 0}ngOnInit(){this.addressService.getById(sessionStorage.getItem(\"addressId\")).subscribe(t=>{this.address=t},t=>console.log(t)),this.deliverySerivce.get().subscribe(t=>{this.methods=t,this.dataSource=new T.o(this.methods)},t=>console.log(t))}selectMethod(t){this.deliveryMethodId=t}routeToPreviousUrl(){this.location.back()}chooseDeliveryMethod(){sessionStorage.setItem(\"deliveryMethodId\",this.deliveryMethodId.toString()),this.ngZone.run(()=>this.router.navigate([\"/payment\",\"shop\"]))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.g),a.Qb(Ko),a.Qb(na),a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-delivery-method\"]],decls:33,vars:9,consts:[[1,\"mat-elevation-z6\"],[\"class\",\"addressCont\",4,\"ngIf\"],[\"class\",\"detail-divider\",4,\"ngIf\"],[2,\"height\",\"12px\"],[\"translate\",\"\"],[3,\"dataSource\"],[\"matColumnDef\",\"Selection\"],[\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"Name\"],[\"fxFlex\",\"30%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"30%\",4,\"matCellDef\"],[\"matColumnDef\",\"Price\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"25%\",4,\"matCellDef\"],[\"matColumnDef\",\"ETA\"],[\"translate\",\"LABEL_EXPECTED_DELIVERY\",\"fxFlex\",\"25%\",4,\"matHeaderCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[2,\"margin-top\",\"20px\"],[\"mat-stroked-button\",\"\",1,\"btn\",\"btn-return\",3,\"click\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Proceed to delivery method selection\",1,\"btn\",\"nextButton\",3,\"disabled\",\"click\"],[1,\"addressCont\"],[1,\"detail-divider\"],[\"fxFlex\",\"20%\"],[3,\"click\"],[\"fxFlex\",\"30%\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\"],[\"fxFlex\",\"25%\"],[\"translate\",\"LABEL_EXPECTED_DELIVERY\",\"fxFlex\",\"25%\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Hc(1,lc,13,7,\"div\",1),a.Hc(2,bc,1,0,\"mat-divider\",2),a.Rb(3,\"div\",3),a.Wb(4,\"div\"),a.Wb(5,\"h1\",4),a.Jc(6,\"LABEL_CHOOSE_A_DELIVERY_SPEED\"),a.Vb(),a.Wb(7,\"mat-table\",5),a.Ub(8,6),a.Hc(9,uc,1,0,\"mat-header-cell\",7),a.Hc(10,dc,2,0,\"mat-cell\",8),a.Tb(),a.Ub(11,9),a.Hc(12,mc,1,0,\"mat-header-cell\",10),a.Hc(13,pc,2,1,\"mat-cell\",11),a.Tb(),a.Ub(14,12),a.Hc(15,hc,1,0,\"mat-header-cell\",13),a.Hc(16,fc,2,1,\"mat-cell\",14),a.Tb(),a.Ub(17,15),a.Hc(18,gc,1,0,\"mat-header-cell\",16),a.Hc(19,vc,3,4,\"mat-cell\",14),a.Tb(),a.Hc(20,Cc,1,0,\"mat-header-row\",17),a.Hc(21,wc,1,0,\"mat-row\",18),a.Vb(),a.Vb(),a.Wb(22,\"div\",19),a.Wb(23,\"button\",20),a.ec(\"click\",(function(){return e.routeToPreviousUrl()})),a.Wb(24,\"mat-icon\"),a.Jc(25,\" navigate_before \"),a.Vb(),a.Jc(26),a.jc(27,\"translate\"),a.Vb(),a.Wb(28,\"button\",21),a.ec(\"click\",(function(){return e.chooseDeliveryMethod()})),a.Wb(29,\"mat-icon\"),a.Jc(30,\" navigate_next \"),a.Vb(),a.Wb(31,\"span\",4),a.Jc(32,\"LABEL_CONTINUE\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(1),a.oc(\"ngIf\",e.address),a.Db(1),a.oc(\"ngIf\",e.address),a.Db(5),a.oc(\"dataSource\",e.dataSource),a.Db(13),a.oc(\"matHeaderRowDef\",e.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.displayedColumns),a.Db(5),a.Lc(\" \",a.kc(27,7,\"LABEL_BACK\"),\" \"),a.Db(2),a.oc(\"disabled\",void 0===e.deliveryMethodId))},directives:[f.a,P.l,g.a,T.n,T.c,T.i,T.b,T.k,T.m,v.a,Ce.a,Re.a,T.h,h.b,T.a,ra.a,T.j,T.l],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}.addressCont[_ngcontent-%COMP%]{margin-bottom:12px}.detail-divider[_ngcontent-%COMP%]{border-top-width:4px!important;margin-left:1%!important;width:98%!important}.btn-return[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;display:block}.nextButton[_ngcontent-%COMP%]{margin-right:0;margin-left:auto;display:block;margin-top:-37px}\"]}),t})();var Dc=i(\"LRne\"),Sc=i(\"HDdC\");const Wc=t=>{if(\"string\"==typeof t.value)return Object(Dc.a)(null);const e=t.value,i=new FileReader;return new Sc.a(t=>{i.addEventListener(\"loadend\",()=>{const e=new Uint8Array(i.result).subarray(0,4);let a=\"\",o=!1;for(let t=0;t<e.length;t++)a+=e[t].toString(16);switch(a){case\"89504e47\":o=!0;break;case\"ffd8ffe0\":case\"ffd8ffe1\":case\"ffd8ffe2\":case\"ffd8ffe3\":case\"ffd8ffe8\":o=!0;break;default:o=!1}t.next(o?null:{invalidMimeType:!0}),t.complete()}),i.readAsArrayBuffer(e)})};let xc=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/memories\"}addMemory(t,e){const i=new FormData;return i.append(\"image\",e,t),i.append(\"caption\",t),this.http.post(this.host,i).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(){return this.http.get(this.host+\"/\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function Vc(t,e){if(1&t&&(a.Wb(0,\"a\",10),a.Wb(1,\"button\",11),a.Rb(2,\"i\",12),a.Vb(),a.Vb()),2&t){const t=a.ic().$implicit,e=a.ic(2);a.rc(\"href\",\"https://twitter.com/intent/tweet?text=\",t.caption,\" \",e.twitterHandle,\"&hashtags=appsec\",a.Cc)}}function Ic(t,e){if(1&t&&(a.Wb(0,\"span\",6),a.Rb(1,\"img\",7),a.Wb(2,\"div\",8),a.Wb(3,\"div\"),a.Jc(4),a.Vb(),a.Hc(5,Vc,3,2,\"a\",9),a.Vb(),a.Vb()),2&t){const t=e.$implicit,i=a.ic(2);a.Db(1),a.pc(\"src\",t.url,a.Cc),a.pc(\"alt\",t.caption),a.Db(3),a.Kc(t.caption),a.Db(1),a.oc(\"ngIf\",i.twitterHandle)}}function _c(t,e){if(1&t&&(a.Wb(0,\"div\",4),a.Hc(1,Ic,6,4,\"span\",5),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngForOf\",t.slideshowDataSource)}}function kc(t,e){1&t&&(a.Wb(0,\"mat-card\",13),a.Rb(1,\"img\",14),a.Wb(2,\"mat-card-title\"),a.Wb(3,\"span\",15),a.Jc(4,\" NO_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Wb(5,\"mat-card-content\"),a.Wb(6,\"span\",15),a.Jc(7,\" EMPTY_MEMORY_LIST \"),a.Vb(),a.Vb(),a.Vb())}function Oc(t,e){if(1&t&&(a.Wb(0,\"div\",28),a.Rb(1,\"img\",29),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.oc(\"src\",t.imagePreview,a.Cc)(\"alt\",t.form.value.caption)}}function Lc(t,e){1&t&&(a.Wb(0,\"mat-error\",17),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Kc(a.kc(2,1,\"MANDATORY_CAPTION\")))}function Ac(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"div\",16),a.Wb(2,\"h2\",17),a.Jc(3,\"LABEL_SHARE_A_MEMORY\"),a.Vb(),a.Wb(4,\"form\",18),a.Wb(5,\"div\"),a.Wb(6,\"button\",19),a.ec(\"click\",(function(){return a.zc(t),a.wc(10).click()})),a.Jc(7),a.jc(8,\"translate\"),a.Vb(),a.Wb(9,\"input\",20,21),a.ec(\"change\",(function(e){return a.zc(t),a.ic().onImagePicked(e)})),a.Vb(),a.Vb(),a.Hc(11,Oc,2,2,\"div\",22),a.Wb(12,\"mat-form-field\",23),a.Wb(13,\"mat-label\",17),a.Jc(14,\"LABEL_CAPTION\"),a.Vb(),a.Rb(15,\"input\",24),a.Hc(16,Lc,3,3,\"mat-error\",25),a.Vb(),a.Wb(17,\"button\",26),a.ec(\"click\",(function(){return a.zc(t),a.ic().save()})),a.Wb(18,\"i\",27),a.Jc(19,\" send \"),a.Vb(),a.Jc(20),a.jc(21,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.oc(\"formGroup\",t.form),a.Db(3),a.Lc(\"\",a.kc(8,6,\"LABEL_PICK_IMAGE\"),\" \"),a.Db(4),a.oc(\"ngIf\",\"\"!==t.imagePreview&&t.imagePreview&&t.form.get(\"image\").valid),a.Db(5),a.oc(\"ngIf\",t.form.get(\"caption\").invalid),a.Db(1),a.oc(\"disabled\",t.form.get(\"image\").invalid||t.form.get(\"caption\").invalid),a.Db(3),a.Lc(\" \",a.kc(21,8,\"BTN_SUBMIT\"),\" \")}}u.b.add(d.k),u.a.watch();let Tc=(()=>{class t{constructor(t,e,i){this.photoWallService=t,this.configurationService=e,this.snackBarHelperService=i,this.emptyState=!0,this.form=new c.f({image:new c.c(\"\",{validators:[c.x.required],asyncValidators:[Wc]}),caption:new c.c(\"\",[c.x.required])}),this.slideshowDataSource=[],this.twitterHandle=null}ngOnInit(){this.slideshowDataSource=[],this.photoWallService.get().subscribe(t=>{this.emptyState=0===t.length;for(const e of t)this.slideshowDataSource.push({url:e.imagePath,caption:e.caption})},t=>console.log(t)),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&t.application.social.twitterUrl&&(this.twitterHandle=t.application.social.twitterUrl.replace(\"https://twitter.com/\",\"@\"))},t=>console.log(t))}onImagePicked(t){const e=t.target.files[0];this.form.patchValue({image:e}),this.form.get(\"image\").updateValueAndValidity();const i=new FileReader;i.onload=()=>{this.imagePreview=i.result},i.readAsDataURL(e)}save(){this.photoWallService.addMemory(this.form.value.caption,this.form.value.image).subscribe(()=>{this.resetForm(),this.ngOnInit(),this.snackBarHelperService.open(\"IMAGE_UPLOAD_SUCCESS\",\"confirmBar\")},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})}isLoggedIn(){return localStorage.getItem(\"token\")}resetForm(){this.form.get(\"image\").setValue(\"\"),this.form.get(\"image\").markAsPristine(),this.form.get(\"image\").markAsUntouched(),this.form.get(\"caption\").setValue(\"\"),this.form.get(\"caption\").markAsPristine(),this.form.get(\"caption\").markAsUntouched(),this.form.get(\"caption\").setErrors(null)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(xc),a.Qb(b),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-photo-wall\"]],decls:9,vars:6,consts:[[1,\"heading\",\"mat-elevation-z6\",\"mat-own-card\",2,\"margin-bottom\",\"10px\"],[\"class\",\"grid\",4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[4,\"ngIf\"],[1,\"grid\"],[\"class\",\"container mat-elevation-z6\",4,\"ngFor\",\"ngForOf\"],[1,\"container\",\"mat-elevation-z6\"],[1,\"image\",3,\"src\",\"alt\"],[1,\"overlay\"],[\"target\",\"_blank\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",3,\"href\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Tweet\"],[1,\"fab\",\"fa-twitter\",\"fa-lg\"],[1,\"mat-elevation-z0\",\"emptyState\"],[\"alt\",\" No results found\",\"src\",\"assets/public/images/products/no-results.png\",1,\"img-responsive\",\"noResult\"],[\"translate\",\"\",1,\"noResultText\"],[2,\"margin-top\",\"10px\"],[\"translate\",\"\"],[\"enctype\",\"multipart/form-data\",3,\"formGroup\"],[\"mat-stroked-button\",\"\",\"type\",\"button\",3,\"click\"],[\"type\",\"file\",\"name\",\"file\",3,\"change\"],[\"filePicker\",\"\"],[\"class\",\"image-preview\",4,\"ngIf\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"formControlName\",\"caption\",\"type\",\"text\",\"matInput\",\"\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[1,\"image-preview\"],[3,\"src\",\"alt\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"h1\"),a.Jc(2),a.jc(3,\"translate\"),a.Vb(),a.Wb(4,\"div\"),a.Hc(5,_c,2,1,\"div\",1),a.Vb(),a.Hc(6,kc,8,0,\"ng-template\",null,2,a.Ic),a.Hc(8,Ac,22,10,\"div\",3),a.Vb()),2&t){const t=a.wc(7);a.Db(2),a.Kc(a.kc(3,4,\"LABEL_PHOTO_WALL\")),a.Db(3),a.oc(\"ngIf\",!e.emptyState)(\"ngIfElse\",t),a.Db(3),a.oc(\"ngIf\",e.isLoggedIn())}},directives:[f.a,P.l,P.k,v.a,f.f,g.a,f.b,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,At.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-own-card[_ngcontent-%COMP%]{display:block;margin-left:10%;margin-right:10%}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:10px;width:60%}input[type=file][_ngcontent-%COMP%]{visibility:hidden}.image-preview[_ngcontent-%COMP%]{height:5rem;margin:1rem 0}.image-preview[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%}.heading-main[_ngcontent-%COMP%]{font-size:x-large;-webkit-box-pack:center;justify-content:center}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}.grid[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:grid;grid-gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.grid[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:4px;box-shadow:2px 2px 6px 0 rgba(0,0,0,.3);max-width:100%}.container[_ngcontent-%COMP%]{position:relative}.image[_ngcontent-%COMP%]{display:block}.overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.5);bottom:0;font-size:20px;left:0;opacity:0;padding:20px;position:absolute;right:0;text-align:center;-webkit-transition:.5s ease;transition:.5s ease}.container[_ngcontent-%COMP%]:hover   .overlay[_ngcontent-%COMP%]{opacity:1}.emptyState[_ngcontent-%COMP%]{display:block;height:auto!important;margin:20px auto;width:50%}.noResult[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:60%}.noResultText[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center}.tweet-logo[_ngcontent-%COMP%]{height:24px}\"]}),t})();function Pc(t,e){if(1&t&&(a.Wb(0,\"div\",22),a.Wb(1,\"div\",23),a.Wb(2,\"p\",24),a.Jc(3),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(3),a.Kc(t.error)}}function Ec(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"div\",14),a.Jc(2),a.Vb(),a.Wb(3,\"div\",14),a.Wb(4,\"button\",25),a.ec(\"click\",(function(){return a.zc(t),a.ic().upgradeToDeluxe()})),a.Wb(5,\"span\",13),a.Jc(6,\"LABEL_BECOME_MEMBER\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(2),a.Lc(\" \",t.membershipCost,\"\\xa4 \")}}const Rc=function(t){return{appname:t}},Mc=[{path:\"administration\",component:Ni,canActivate:[_]},{path:\"accounting\",component:hr,canActivate:[k]},{path:\"about\",component:te},{path:\"address/select\",component:zo,canActivate:[I]},{path:\"address/saved\",component:Go,canActivate:[I]},{path:\"address/create\",component:Qo,canActivate:[I]},{path:\"address/edit/:addressId\",component:Qo,canActivate:[I]},{path:\"delivery-method\",component:yc},{path:\"deluxe-membership\",component:(()=>{class t{constructor(t,e,i,a,o,n,r){this.router=t,this.userService=e,this.cookieService=i,this.configurationService=a,this.route=o,this.ngZone=n,this.io=r,this.membershipCost=0,this.error=void 0,this.applicationName=\"OWASP Juice Shop\",this.logoSrc=\"assets/public/images/JuiceShop_Logo.png\"}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{let e=this.route.snapshot.queryParams.testDecal;if(t&&t.application&&(t.application.name&&(this.applicationName=t.application.name),t.application.logo)){let i=t.application.logo;\"http\"===i.substring(0,4)&&(i=decodeURIComponent(i.substring(i.lastIndexOf(\"/\")+1))),this.logoSrc=\"assets/public/images/\"+(e||i)}e&&this.ngZone.runOutsideAngular(()=>{this.io.socket().emit(\"verifySvgInjectionChallenge\",e)})},t=>console.log(t)),this.userService.deluxeStatus().subscribe(t=>{this.membershipCost=t.membershipCost},t=>{this.error=t.error.error})}upgradeToDeluxe(){this.ngZone.run(()=>this.router.navigate([\"/payment\",\"deluxe\"]))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(D),a.Qb(r.b),a.Qb(b),a.Qb(S.a),a.Qb(a.A),a.Qb(qe))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-deluxe-user\"]],decls:50,vars:10,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"10px\",1,\"main-wrapper\"],[\"class\",\"heading mat-elevation-z6\",4,\"ngIf\"],[1,\"mat-elevation-z6\",\"deluxe-membership\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"30%\",1,\"img-container\"],[\"viewBox\",\"0 0 720 720\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"href\",\"assets/public/images/deluxe/blankBoxes.png\",\"x\",\"0\",\"y\",\"0\",\"height\",\"720\",\"width\",\"720\"],[\"x\",\"260\",\"y\",\"130\",\"height\",\"50\"],[\"x\",\"230\",\"y\",\"330\",\"height\",\"70\"],[\"x\",\"70\",\"y\",\"355\",\"height\",\"40\"],[\"x\",\"120\",\"y\",\"450\",\"height\",\"55\"],[\"x\",\"500\",\"y\",\"410\",\"height\",\"45\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"60%\"],[1,\"item-name\"],[\"translate\",\"\"],[1,\"item-description\"],[\"translate\",\"\",3,\"translateParams\"],[4,\"ngIf\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\"],[\"fxFlex\",\"33.33%\",1,\"mat-elevation-z6\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"40%\",1,\"img-container\"],[1,\"img-responsive\",\"img-thumbnail\",2,\"font-size\",\"100px\"],[\"translate\",\"\",1,\"item-description\"],[1,\"heading\",\"mat-elevation-z6\"],[2,\"margin-top\",\"5px\"],[1,\"error\"],[\"aria-label\",\"Add to Basket\",\"color\",\"primary\",\"mat-button\",\"\",\"mat-raised-button\",\"\",1,\"btn-member\",3,\"click\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Hc(1,Pc,4,1,\"div\",1),a.Wb(2,\"mat-card\",2),a.Wb(3,\"div\",3),a.hc(),a.Wb(4,\"svg\",4),a.Rb(5,\"image\",5),a.Rb(6,\"image\",6),a.Rb(7,\"image\",7),a.Rb(8,\"image\",8),a.Rb(9,\"image\",9),a.Rb(10,\"image\",10),a.Vb(),a.Vb(),a.gc(),a.Wb(11,\"div\",11),a.Wb(12,\"div\",12),a.Wb(13,\"b\",13),a.Jc(14,\"LABEL_DELUXE_MEMBERSHIP\"),a.Vb(),a.Vb(),a.Wb(15,\"div\",14),a.Wb(16,\"span\",15),a.Jc(17,\"DESCRIPTION_DELUXE_MEMBERSHIP\"),a.Vb(),a.Vb(),a.Hc(18,Ec,7,1,\"div\",16),a.Vb(),a.Vb(),a.Wb(19,\"div\",17),a.Wb(20,\"mat-card\",18),a.Wb(21,\"div\",19),a.Wb(22,\"mat-icon\",20),a.Jc(23,\" slideshow \"),a.Vb(),a.Vb(),a.Wb(24,\"div\",11),a.Wb(25,\"div\",12),a.Wb(26,\"b\",13),a.Jc(27,\"LABEL_DEALS_OFFERS\"),a.Vb(),a.Vb(),a.Wb(28,\"div\",21),a.Jc(29,\" DESCRIPTION_DEALS_OFFERS \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(30,\"mat-card\",18),a.Wb(31,\"div\",19),a.Wb(32,\"mat-icon\",20),a.Jc(33,\" directions_car \"),a.Vb(),a.Vb(),a.Wb(34,\"div\",11),a.Wb(35,\"div\",12),a.Wb(36,\"b\",13),a.Jc(37,\"LABEL_FREE_FAST_DELIVERY\"),a.Vb(),a.Vb(),a.Wb(38,\"div\",21),a.Jc(39,\" DESCRIPTION_FREE_FAST_DELIVERY \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(40,\"mat-card\",18),a.Wb(41,\"div\",19),a.Wb(42,\"mat-icon\",20),a.Jc(43,\" add \"),a.Vb(),a.Vb(),a.Wb(44,\"div\",11),a.Wb(45,\"div\",12),a.Wb(46,\"b\",13),a.Jc(47,\"LABEL_UNLIMITED_PURCHASE\"),a.Vb(),a.Vb(),a.Wb(48,\"div\",21),a.Jc(49,\" DESCRIPTION_UNLIMITED_PURCHASE \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(1),a.oc(\"ngIf\",e.error),a.Db(5),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(6),a.oc(\"translateParams\",a.tc(8,Rc,e.applicationName)),a.Db(2),a.oc(\"ngIf\",!e.error))},directives:[h.d,h.e,P.l,f.a,h.a,h.b,g.a,Ce.a,v.a],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}.img-thumbnail[_ngcontent-%COMP%]{background:none;border:0;width:100%}.btn-member[_ngcontent-%COMP%]{bottom:10%}.item-description[_ngcontent-%COMP%]{font-size:medium;margin-top:12px;text-align:center}.item-name[_ngcontent-%COMP%]{font-size:large;text-align:center}\"]}),t})(),canActivate:[I]},{path:\"saved-payment-methods\",component:Nn},{path:\"basket\",component:rt},{path:\"order-completion/:id\",component:Rr},{path:\"contact\",component:Ht},{path:\"photo-wall\",component:Tc},{path:\"complain\",component:aa},{path:\"order-summary\",component:Fr},{path:\"order-history\",component:sc},{path:\"payment/:entity\",component:Hn},{path:\"wallet\",component:jr},{path:\"login\",component:Ci},{path:\"forgot-password\",component:Le},{path:\"recycle\",component:Ra},{path:\"register\",component:ve},{path:\"search\",component:li},{path:\"score-board\",component:ho},{path:\"track-result\",component:_t},{path:\"track-result/new\",component:_t,data:{type:\"new\"}},{path:\"2fa/enter\",component:vo},{path:\"privacy-security\",component:Do,children:[{path:\"privacy-policy\",component:Eo},{path:\"change-password\",component:Gi},{path:\"two-factor-authentication\",component:Vo},{path:\"data-export\",component:To},{path:\"erasure-request\",component:zt},{path:\"last-login-ip\",component:Po}]},{matcher:function(t){return 0===t.length?null:window.location.href.includes(\"#access_token=\")?{consumed:t}:null},data:{params:window.location.href.substr(window.location.href.indexOf(\"#\"))},component:W},{matcher:function(t){return 0===t.length?null:t[0].toString().match(function(...t){let e=Array.prototype.slice.call([25,184,174,179,182,186]),i=e.shift();return e.reverse().map((function(t,e){return String.fromCharCode(t-i-45-e)})).join(\"\")}()+36669..toString(36).toLowerCase()+function(...t){let e=Array.prototype.slice.call(arguments),i=e.shift();return e.reverse().map((function(t,e){return String.fromCharCode(t-i-24-e)})).join(\"\")}(13,144,87,152,139,144,83,138)+10..toString(36).toLowerCase())?{consumed:t}:null},component:w},{path:\"403\",component:Co},{path:\"**\",component:li}],Jc=S.e.forRoot(Mc,{useHash:!0});var Hc=i(\"mqiu\"),Nc=i(\"Dvla\");let Fc=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/admin\"}getApplicationVersion(){return this.http.get(this.host+\"/application-version\").pipe(Object(s.a)(t=>t.version),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Bc=i(\"/t3+\"),Uc=i(\"MutI\");function jc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",34),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" exit_to_app \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGIN\"),\" \"))}function Qc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",35),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.onToggleSidenav(),e.goToProfilePage()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_circle \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",t.userEmail,\" \")}}function zc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",36),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"ACCOUNTING\"),\" \"))}const Gc=function(t){return{rotated:t}};function qc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-list-item\",37),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" check_circle_outline \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"mat-icon\",38),a.Jc(7,\" expand_more \"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",a.kc(5,2,\"ORDERS_AND_PAYMENT\"),\" \"),a.Db(2),a.oc(\"ngClass\",a.tc(4,Gc,t.showOrdersSubmenu))}}function Yc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",45),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" archive \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"LABEL_ORDER_HISTORY\"),\" \"))}function Kc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",46),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" autorenew \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"NAV_RECYCLE\"),\" \"))}function Xc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",47),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" my_location \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_SAVED_ADRESSES\"),\" \"))}function $c(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",48),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" credit_card \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_PAYMENT_OPTIONS\"),\" \"))}function Zc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",49),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance_wallet \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"DIGITAL_WALLET\"),\" \"))}const ts=function(t){return{expanded:t}};function es(t,e){if(1&t&&(a.Wb(0,\"div\",39),a.Hc(1,Yc,6,3,\"a\",40),a.Hc(2,Kc,6,3,\"a\",41),a.Rb(3,\"mat-divider\"),a.Hc(4,Xc,6,3,\"a\",42),a.Hc(5,$c,6,3,\"a\",43),a.Hc(6,Zc,6,3,\"a\",44),a.Vb()),2&t){const t=a.ic();a.oc(\"ngClass\",a.tc(6,ts,t.showOrdersSubmenu)),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(2),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn())}}function is(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-list-item\",50),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" security \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"mat-icon\",38),a.Jc(7,\" expand_more \"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",a.kc(5,2,\"PRIVACY_AND_SECURITY\"),\" \"),a.Db(2),a.oc(\"ngClass\",a.tc(4,Gc,t.showPrivacySubmenu))}}function as(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",57),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" assignment \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_PRIVACY_POLICY\"),a.Vb(),a.Vb()}}function os(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",59),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" get_app \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_REQUEST_DATA_EXPORT\"),a.Vb(),a.Vb()}}function ns(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",60),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" delete_forever \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"DATA_SUBJECT_TITLE\"),a.Vb(),a.Vb()}}function rs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",61),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" edit \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_CHANGE_PASSWORD\"),a.Vb(),a.Vb()}}function cs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",62),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" exposure_plus_2 \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_TWO_FACTOR_AUTH_CONFIG\"),a.Vb(),a.Vb()}}function ss(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",63),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" place \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"LAST_LOGIN_IP\"),a.Vb(),a.Vb()}}function ls(t,e){if(1&t&&(a.Wb(0,\"div\",39),a.Hc(1,as,5,0,\"a\",51),a.Hc(2,os,5,0,\"a\",52),a.Hc(3,ns,5,0,\"a\",53),a.Rb(4,\"mat-divider\"),a.Hc(5,rs,5,0,\"a\",54),a.Hc(6,cs,5,0,\"a\",55),a.Hc(7,ss,5,0,\"a\",56),a.Vb()),2&t){const t=a.ic();a.oc(\"ngClass\",a.tc(7,ts,t.showPrivacySubmenu)),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(2),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn())}}function bs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",64),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.onToggleSidenav(),e.logout()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" power_settings_new \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGOUT\"),\" \"))}function us(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",65),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"i\",13),a.Jc(2,\" sentiment_dissatisfied \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"NAV_COMPLAIN\"),\" \"))}function ds(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",66),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"i\",13),a.Jc(2,\" card_membership \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"LABEL_DELUXE_MEMBERSHIP\"),\" \"))}function ms(t,e){1&t&&a.Rb(0,\"mat-divider\",67)}function ps(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",68),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Rb(1,\"mat-icon\",69),a.Wb(2,\"span\",14),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(3),a.Lc(\" \",a.kc(4,1,\"TITLE_SCORE_BOARD\"),\" \"))}function hs(t,e){1&t&&(a.Wb(0,\"a\",70),a.Rb(1,\"mat-icon\",71),a.Wb(2,\"span\",14),a.Jc(3,\" GitHub \"),a.Vb(),a.Vb())}let fs=(()=>{class t{constructor(t,e,i,o,n,r,c,s,l){this.administrationService=t,this.challengeService=e,this.ngZone=i,this.io=o,this.userService=n,this.cookieService=r,this.router=c,this.configurationService=s,this.loginGuard=l,this.applicationName=\"OWASP Juice Shop\",this.showGitHubLink=!0,this.userEmail=\"\",this.scoreBoardVisible=!1,this.version=\"\",this.isExpanded=!0,this.showPrivacySubmenu=!1,this.showOrdersSubmenu=!1,this.isShowing=!1,this.sizeOfMail=0,this.sidenavToggle=new a.o,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.administrationService.getApplicationVersion().subscribe(t=>{t&&(this.version=\"v\"+t)},t=>console.log(t)),this.getApplicationDetails(),this.getScoreBoardStatus(),localStorage.getItem(\"token\")?this.getUserDetails():this.userEmail=\"\",this.userService.getLoggedInState().subscribe(t=>{t?this.getUserDetails():this.userEmail=\"\"}),this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{\"scoreBoardChallenge\"===t.key&&(this.scoreBoardVisible=!0)})})}isLoggedIn(){return localStorage.getItem(\"token\")}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/\"]))}goToProfilePage(){window.location.replace(\"/profile\")}noop(){}getScoreBoardStatus(){this.challengeService.find({name:\"Score Board\"}).subscribe(t=>{this.ngZone.run(()=>{this.scoreBoardVisible=t[0].solved})},t=>console.log(t))}getUserDetails(){this.userService.whoAmI().subscribe(t=>{this.userEmail=t.email,this.sizeOfMail=(\"\"+t.email).length},t=>console.log(t))}getApplicationDetails(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.name&&(this.applicationName=t.application.name),t&&t.application&&(this.showGitHubLink=t.application.showGitHubLinks)},t=>console.log(t))}isAccounting(){const t=this.loginGuard.tokenDecode();return!(!t||!t.data||\"accounting\"!==t.data.role)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Fc),a.Qb(Ma),a.Qb(a.A),a.Qb(qe),a.Qb(D),a.Qb(r.b),a.Qb(S.b),a.Qb(b),a.Qb(I))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"sidenav\"]],outputs:{sidenavToggle:\"sidenavToggle\"},decls:70,vars:25,consts:[[\"color\",\"primary\",1,\"mat-elevation-z6\"],[\"mat-button\",\"\",2,\"height\",\"0\",\"position\",\"absolute\"],[\"mat-subheader\",\"\",\"translate\",\"\",\"fxHide\",\"\",\"fxShow.lt-md\",\"\",1,\"side-subHeader\"],[\"fxHide\",\"\",\"fxShow.lt-md\",\"\"],[\"mat-list-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\",3,\"click\",4,\"ngIf\"],[\"class\",\"parent\",\"aria-label\",\"Show Orders and Payment Menu\",3,\"click\",4,\"ngIf\"],[\"class\",\"submenu\",3,\"ngClass\",4,\"ngIf\"],[\"class\",\"parent\",\"aria-label\",\"Show Privacy and Security Menu\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"aria-label\",\"Logout\",3,\"click\",4,\"ngIf\"],[\"mat-subheader\",\"\",\"translate\",\"\",1,\"side-subHeader\"],[\"mat-list-item\",\"\",\"routerLink\",\"/contact\",\"aria-label\",\"Go to contact us page\",3,\"click\"],[1,\"material-icons\"],[1,\"menu-text\",\"truncate\"],[\"mat-list-item\",\"\",\"routerLink\",\"/complain\",\"aria-label\",\"Go to complain page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/about\",\"aria-label\",\"Go to about us page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/photo-wall\",\"aria-label\",\"Go to photo wall\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/deluxe-membership\",\"aria-label\",\"Go to deluxe membership page\",3,\"click\",4,\"ngIf\"],[\"style\",\"margin-bottom: 10px;\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/score-board\",\"aria-label\",\"Open score-board\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"href\",\"/redirect?to=https://github.com/bkimminich/juice-shop\",\"aria-label\",\"Go to OWASP Juice Shop GitHub page\",4,\"ngIf\"],[1,\"appVersion\"],[2,\"font-size\",\"13px\"],[2,\"font-size\",\"12px\"],[2,\"margin-top\",\"10px\"],[1,\"icon-angular\"],[1,\"icon-html5\"],[1,\"icon-sass\"],[1,\"icon-css3\"],[1,\"icon-javascript-alt\"],[1,\"icon-nodejs\"],[1,\"icon-database-alt2\"],[1,\"icon-mongodb\"],[\"mat-list-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",3,\"click\"],[\"mat-list-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\",3,\"click\"],[\"aria-label\",\"Show Orders and Payment Menu\",1,\"parent\",3,\"click\"],[1,\"menu-button\",3,\"ngClass\"],[1,\"submenu\",3,\"ngClass\"],[\"mat-list-item\",\"\",\"routerLink\",\"/order-history\",\"aria-label\",\"Go to order history page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/recycle\",\"aria-label\",\"Go to recycling page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/order-history\",\"aria-label\",\"Go to order history page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/recycle\",\"aria-label\",\"Go to recycling page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\",3,\"click\"],[\"aria-label\",\"Show Privacy and Security Menu\",1,\"parent\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/privacy-policy\",\"aria-label\",\"Go to privacy policy page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/data-export\",\"aria-label\",\"Go to data export page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/erasure-request\",\"aria-label\",\"Go to data subject page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/change-password\",\"aria-label\",\"Go to change password page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/two-factor-authentication\",\"aria-label\",\"Go to two factor authentication page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/last-login-ip\",\"aria-label\",\"Go to last login ip page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/privacy-policy\",\"aria-label\",\"Go to privacy policy page\",3,\"click\"],[\"translate\",\"\",1,\"menu-text\",\"truncate\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/data-export\",\"aria-label\",\"Go to data export page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/erasure-request\",\"aria-label\",\"Go to data subject page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/change-password\",\"aria-label\",\"Go to change password page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/two-factor-authentication\",\"aria-label\",\"Go to two factor authentication page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/last-login-ip\",\"aria-label\",\"Go to last login ip page\",3,\"click\"],[\"mat-list-item\",\"\",\"aria-label\",\"Logout\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/complain\",\"aria-label\",\"Go to complain page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/deluxe-membership\",\"aria-label\",\"Go to deluxe membership page\",3,\"click\"],[2,\"margin-bottom\",\"10px\"],[\"mat-list-item\",\"\",\"routerLink\",\"/score-board\",\"aria-label\",\"Open score-board\",3,\"click\"],[\"matListIcon\",\"\",1,\"fas\",\"fa-trophy\",\"fa-lg\"],[\"mat-list-item\",\"\",\"href\",\"/redirect?to=https://github.com/bkimminich/juice-shop\",\"aria-label\",\"Go to OWASP Juice Shop GitHub page\"],[\"matListIcon\",\"\",1,\"fab\",\"fa-github\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-toolbar\",0),a.Wb(1,\"mat-toolbar-row\"),a.Wb(2,\"h2\"),a.Jc(3),a.Vb(),a.Vb(),a.Vb(),a.Wb(4,\"mat-nav-list\"),a.Rb(5,\"button\",1),a.Wb(6,\"h3\",2),a.Jc(7,\"ACCOUNT\"),a.Vb(),a.Wb(8,\"div\",3),a.Hc(9,jc,6,3,\"a\",4),a.Hc(10,Qc,5,1,\"a\",5),a.Hc(11,zc,6,3,\"a\",6),a.Hc(12,qc,8,6,\"mat-list-item\",7),a.Hc(13,es,7,8,\"div\",8),a.Hc(14,is,8,6,\"mat-list-item\",9),a.Hc(15,ls,8,9,\"div\",8),a.Hc(16,bs,6,3,\"a\",10),a.Vb(),a.Rb(17,\"mat-divider\",3),a.Wb(18,\"h3\",11),a.Jc(19,\"TITLE_CONTACT\"),a.Vb(),a.Wb(20,\"a\",12),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.Wb(21,\"i\",13),a.Jc(22,\" feedback \"),a.Vb(),a.Wb(23,\"span\",14),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb(),a.Hc(26,us,6,3,\"a\",15),a.Rb(27,\"mat-divider\"),a.Wb(28,\"h3\",11),a.Jc(29,\"COMPANY\"),a.Vb(),a.Wb(30,\"a\",16),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.Wb(31,\"i\",13),a.Jc(32,\" business_center \"),a.Vb(),a.Wb(33,\"span\",14),a.Jc(34),a.jc(35,\"translate\"),a.Vb(),a.Vb(),a.Wb(36,\"a\",17),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.Wb(37,\"i\",13),a.Jc(38,\" camera \"),a.Vb(),a.Wb(39,\"span\",14),a.Jc(40),a.jc(41,\"translate\"),a.Vb(),a.Vb(),a.Hc(42,ds,6,3,\"a\",18),a.Hc(43,ms,1,0,\"mat-divider\",19),a.Hc(44,ps,5,3,\"a\",20),a.Hc(45,hs,4,0,\"a\",21),a.Vb(),a.Wb(46,\"div\",22),a.Wb(47,\"span\"),a.Wb(48,\"span\",23),a.Jc(49),a.Vb(),a.Rb(50,\"br\"),a.Wb(51,\"span\",24),a.Jc(52),a.Vb(),a.Rb(53,\"br\"),a.Wb(54,\"div\",25),a.Rb(55,\"i\",26),a.Jc(56,\"\\xa0 \"),a.Rb(57,\"i\",27),a.Jc(58,\"\\xa0 \"),a.Rb(59,\"i\",28),a.Jc(60,\"\\xa0 \"),a.Rb(61,\"i\",29),a.Jc(62,\"\\xa0 \"),a.Rb(63,\"i\",30),a.Jc(64,\"\\xa0 \"),a.Rb(65,\"i\",31),a.Jc(66,\"\\xa0 \"),a.Rb(67,\"i\",32),a.Jc(68,\"\\xa0 \"),a.Rb(69,\"i\",33),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Lc(\" \",e.applicationName,\"\"),a.Db(6),a.oc(\"ngIf\",!e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()&&e.isAccounting()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.showOrdersSubmenu),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.showPrivacySubmenu),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(8),a.Lc(\" \",a.kc(25,19,\"SECTION_CUSTOMER_FEEDBACK\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(8),a.Lc(\" \",a.kc(35,21,\"TITLE_ABOUT\"),\" \"),a.Db(6),a.Lc(\" \",a.kc(41,23,\"LABEL_PHOTO_WALL\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.scoreBoardVisible||e.showGitHubLink),a.Db(1),a.oc(\"ngIf\",e.scoreBoardVisible),a.Db(1),a.oc(\"ngIf\",e.showGitHubLink),a.Db(4),a.Kc(e.applicationName),a.Db(3),a.Kc(e.version))},directives:[Bc.a,Bc.c,Uc.e,v.a,Uc.d,g.a,E.b,P.l,Re.a,Uc.b,S.d,Ce.a,P.j,E.a,Uc.a],pipes:[g.d],styles:[\"mat-toolbar[_ngcontent-%COMP%]{height:auto;min-width:100%;padding-bottom:5px;width:100%}a[_ngcontent-%COMP%]{text-decoration:none!important}.menu-text[_ngcontent-%COMP%]{padding-left:10px}.mat-list-base[_ngcontent-%COMP%], .mat-list-icon[_ngcontent-%COMP%], .mat-list-item[_ngcontent-%COMP%]{padding:0!important}.toolbar-title[_ngcontent-%COMP%]{margin:0 16px}.mat-subheader[_ngcontent-%COMP%]{font-size:18px;font-weight:900}.app-nav-list-icon[_ngcontent-%COMP%]{margin:0 12px}.side-subHeader[_ngcontent-%COMP%]{font-weight:300}mat-nav-list[_ngcontent-%COMP%]{margin-bottom:50px}.menu-button[_ngcontent-%COMP%]{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.menu-button.rotated[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.submenu[_ngcontent-%COMP%]{overflow-y:hidden;padding-left:30px;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:top;transform-origin:top;-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.submenu.expanded[_ngcontent-%COMP%]{-webkit-transform:scaleY(1);transform:scaleY(1)}.appVersion[_ngcontent-%COMP%]{margin-bottom:20px;margin-top:20px;text-align:center}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\"]}),t})(),gs=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\"}getLanguages(){return this.http.get(`${this.hostServer}/rest/languages`).pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var vs=i(\"oWl+\"),Cs=i(\"STbY\");function ws(t,e){1&t&&(a.Wb(0,\"button\",38),a.Wb(1,\"mat-icon\"),a.Jc(2,\" exit_to_app \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGIN\"),\" \"))}function ys(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",39),a.ec(\"click\",(function(){return a.zc(t),a.ic().goToProfilePage()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_circle \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",t.userEmail,\" \")}}function Ds(t,e){1&t&&(a.Wb(0,\"button\",40),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"ACCOUNTING\"),\" \"))}function Ss(t,e){if(1&t&&(a.Wb(0,\"button\",41),a.Wb(1,\"mat-icon\"),a.Jc(2,\" check_circle_outline \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){a.ic();const t=a.wc(71);a.oc(\"matMenuTriggerFor\",t),a.Db(4),a.Lc(\" \",a.kc(5,2,\"ORDERS_AND_PAYMENT\"),\" \")}}function Ws(t,e){if(1&t&&(a.Wb(0,\"button\",42),a.Wb(1,\"mat-icon\"),a.Jc(2,\" security \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){a.ic();const t=a.wc(38);a.oc(\"matMenuTriggerFor\",t),a.Db(4),a.Lc(\" \",a.kc(5,2,\"PRIVACY_AND_SECURITY\"),\" \")}}function xs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",43),a.ec(\"click\",(function(){return a.zc(t),a.ic().logout()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" power_settings_new \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGOUT\"),\" \"))}function Vs(t,e){1&t&&(a.Wb(0,\"button\",44),a.Wb(1,\"mat-icon\"),a.Jc(2,\" shopping_cart \"),a.Vb(),a.Wb(3,\"span\",20),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_BASKET\"),\"\"))}function Is(t,e){1&t&&a.Rb(0,\"span\"),2&t&&a.Fb(\"flag-icon flag-icon-\"+e.$implicit)}function _s(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-radio-button\",45),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().changeLanguage(i.key)})),a.Wb(1,\"div\",46),a.Hc(2,Is,1,2,\"span\",47),a.Jc(3),a.Vb(),a.Rb(4,\"i\"),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.pc(\"checked\",i.selectedLanguage===t),a.pc(\"aria-label\",t.lang),a.oc(\"value\",t),a.Db(2),a.oc(\"ngForOf\",t.icons),a.Db(1),a.Lc(\" \",null==t?null:t.lang,\" \"),a.Db(1),a.Fb(\"fas fa-thermometer-\"+t.gauge+(t.percentage>70?\" confirmation\":\" error\"))}}function ks(t,e){1&t&&(a.Wb(0,\"button\",48),a.Wb(1,\"mat-icon\"),a.Jc(2,\" my_location \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_SAVED_ADRESSES\"),\" \"))}function Os(t,e){1&t&&(a.Wb(0,\"button\",49),a.Wb(1,\"mat-icon\"),a.Jc(2,\" credit_card \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_PAYMENT_OPTIONS\"),\" \"))}function Ls(t,e){1&t&&(a.Wb(0,\"button\",50),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance_wallet \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"DIGITAL_WALLET\"),\" \"))}const As=function(){return[\"privacy-security/privacy-policy\"]},Ts=function(){return[\"privacy-security/data-export\"]},Ps=function(){return[\"privacy-security/erasure-request\"]},Es=function(){return[\"privacy-security/change-password\"]},Rs=function(){return[\"privacy-security/two-factor-authentication\"]},Ms=function(){return[\"privacy-security/last-login-ip\"]};u.b.add(m.z,m.H,m.J,m.K,m.i,m.c,m.X,m.x,m.I,m.hb,m.F,m.A,m.eb,d.d,p.b,m.O,m.R,m.Q,m.S,m.P),u.a.watch();let Js=(()=>{class t{constructor(t,e,i,o,n,r,c,s,l,b,u,d){this.administrationService=t,this.challengeService=e,this.configurationService=i,this.userService=o,this.ngZone=n,this.cookieService=r,this.router=c,this.translate=s,this.io=l,this.langService=b,this.loginGuard=u,this.snackBar=d,this.userEmail=\"\",this.languages=[],this.selectedLanguage=\"placeholder\",this.version=\"\",this.applicationName=\"OWASP Juice Shop\",this.showGitHubLink=!0,this.logoSrc=\"assets/public/images/JuiceShop_Logo.png\",this.scoreBoardVisible=!1,this.shortKeyLang=\"placeholder\",this.sidenavToggle=new a.o,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.getLanguages(),this.administrationService.getApplicationVersion().subscribe(t=>{t&&(this.version=\"v\"+t)},t=>console.log(t)),this.configurationService.getApplicationConfiguration().subscribe(t=>{if(t&&t.application&&t.application.name&&(this.applicationName=t.application.name),t&&t.application&&(this.showGitHubLink=t.application.showGitHubLinks),t&&t.application&&t.application.logo){let e=t.application.logo;\"http\"===e.substring(0,4)&&(e=decodeURIComponent(e.substring(e.lastIndexOf(\"/\")+1))),this.logoSrc=\"assets/public/images/\"+e}},t=>console.log(t)),localStorage.getItem(\"token\")?this.getUserDetails():this.userEmail=\"\",this.userService.getLoggedInState().subscribe(t=>{t?this.getUserDetails():this.userEmail=\"\"}),this.getScoreBoardStatus(),this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{\"scoreBoardChallenge\"===t.key&&(this.scoreBoardVisible=!0)})})}checkLanguage(){if(this.cookieService.get(\"language\")){const t=this.cookieService.get(\"language\");this.translate.use(t),this.selectedLanguage=this.languages.find(e=>e.key===t),this.shortKeyLang=this.languages.find(e=>e.key===t).shortKey}else this.changeLanguage(\"en\"),this.selectedLanguage=this.languages.find(t=>\"en\"===t.key),this.shortKeyLang=this.languages.find(t=>\"en\"===t.key).shortKey}search(t){if(t){const e={queryParams:{q:t}};this.ngZone.run(()=>this.router.navigate([\"/search\"],e))}else this.ngZone.run(()=>this.router.navigate([\"/search\"]))}getUserDetails(){this.userService.whoAmI().subscribe(t=>{this.userEmail=t.email},t=>console.log(t))}isLoggedIn(){return localStorage.getItem(\"token\")}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/\"]))}changeLanguage(t){this.translate.use(t);let e=new Date;if(e.setFullYear(e.getFullYear()+1),this.cookieService.put(\"language\",t,{expires:e}),this.languages.find(e=>e.key===t)){const e=this.languages.find(e=>e.key===t);this.shortKeyLang=e.shortKey,this.snackBar.open(\"Language has been changed to \"+e.lang,\"Force page reload\",{duration:5e3}).onAction().subscribe(()=>{location.reload()})}}getScoreBoardStatus(){this.challengeService.find({name:\"Score Board\"}).subscribe(t=>{this.ngZone.run(()=>{this.scoreBoardVisible=t[0].solved})},t=>console.log(t))}goToProfilePage(){window.location.replace(\"/profile\")}noop(){}getLanguages(){this.langService.getLanguages().subscribe(t=>{this.languages=t,this.checkLanguage()})}isAccounting(){const t=this.loginGuard.tokenDecode();return t&&t.data&&\"accounting\"===t.data.role}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Fc),a.Qb(Ma),a.Qb(b),a.Qb(D),a.Qb(a.A),a.Qb(r.b),a.Qb(S.b),a.Qb(g.e),a.Qb(qe),a.Qb(gs),a.Qb(I),a.Qb(L.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-navbar\"]],outputs:{sidenavToggle:\"sidenavToggle\"},decls:88,vars:45,consts:[[\"color\",\"primary\",\"fxLayout\",\"column\",\"xmlns\",\"http://www.w3.org/1999/html\",1,\"mat-elevation-z6\"],[\"fxLayout\",\"row\"],[\"mat-button\",\"\",\"aria-label\",\"Open Sidenav\",\"matTooltipPosition\",\"below\",2,\"height\",\"48px\",\"width\",\"48px\",3,\"matTooltip\",\"click\"],[\"mat-button\",\"\",\"routerLink\",\"/search\",\"aria-label\",\"Back to homepage\",1,\"buttons\",2,\"height\",\"60px\"],[1,\"logo\",3,\"src\",\"alt\"],[\"fxHide.lt-sm\",\"\",\"fxShow\",\"\",2,\"font-size\",\"x-large\"],[1,\"fill-remaining-space\"],[\"id\",\"searchQuery\",\"aria-label\",\"Click to search\",3,\"onEnter\"],[\"searchControl\",\"\"],[\"mat-button\",\"\",\"fxHide.lt-md\",\"\",\"fxShow\",\"\",\"aria-label\",\"Show/hide account menu\",\"id\",\"navbarAccount\",1,\"buttons\",2,\"vertical-align\",\"middle\",\"height\",\"48px\",3,\"matMenuTriggerFor\"],[1,\"material-icons\"],[\"userMenu\",\"matMenu\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",\"id\",\"navbarLoginButton\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Orders and Payment Menu\",3,\"matMenuTriggerFor\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Privacy and Security Menu\",3,\"matMenuTriggerFor\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Logout\",\"id\",\"navbarLogoutButton\",3,\"click\",4,\"ngIf\"],[\"mat-button\",\"\",\"routerLink\",\"/basket\",\"style\",\"height:48px;\",\"class\",\"buttons\",\"aria-label\",\"Show the shopping cart\",4,\"ngIf\"],[\"mat-button\",\"\",\"aria-label\",\"Language selection menu\",\"matTooltipPosition\",\"below\",1,\"buttons\",2,\"height\",\"48px\",\"width\",\"48px\",3,\"matMenuTriggerFor\",\"matTooltip\"],[\"fxHide.lt-md\",\"\",\"fxShow\",\"\"],[3,\"overlapTrigger\"],[\"menu\",\"matMenu\"],[\"class\",\"mat-menu-item\",\"style\",\"width: 240px;\",3,\"value\",\"checked\",\"aria-label\",\"click\",4,\"ngFor\",\"ngForOf\"],[\"privacySubMenu\",\"matMenu\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to privacy policy page\",3,\"routerLink\"],[\"translate\",\"\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to data export page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to data subject page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to change password page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to two factor authentication page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to last login ip page\",3,\"routerLink\"],[\"ordersSubMenu\",\"matMenu\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/order-history\",\"aria-label\",\"Go to order history page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/recycle\",\"aria-label\",\"Go to recycling page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",\"id\",\"navbarLoginButton\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Orders and Payment Menu\",3,\"matMenuTriggerFor\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Privacy and Security Menu\",3,\"matMenuTriggerFor\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Logout\",\"id\",\"navbarLogoutButton\",3,\"click\"],[\"mat-button\",\"\",\"routerLink\",\"/basket\",\"aria-label\",\"Show the shopping cart\",1,\"buttons\",2,\"height\",\"48px\"],[1,\"mat-menu-item\",2,\"width\",\"240px\",3,\"value\",\"checked\",\"aria-label\",\"click\"],[2,\"display\",\"inline-block\",\"width\",\"200px\",\"margin-left\",\"5px\"],[3,\"class\",4,\"ngFor\",\"ngForOf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\"]],template:function(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-toolbar\",0),a.Wb(1,\"mat-toolbar-row\",1),a.Wb(2,\"button\",2),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.jc(3,\"translate\"),a.Wb(4,\"mat-icon\"),a.Jc(5,\"menu\"),a.Vb(),a.Vb(),a.Wb(6,\"button\",3),a.Rb(7,\"img\",4),a.Wb(8,\"span\",5),a.Jc(9),a.Vb(),a.Vb(),a.Rb(10,\"span\",6),a.Wb(11,\"mat-search-bar\",7,8),a.ec(\"onEnter\",(function(){a.zc(t);const i=a.wc(12);return e.search(i.value)})),a.Vb(),a.Wb(13,\"button\",9),a.Wb(14,\"i\",10),a.Jc(15,\" account_circle \"),a.Vb(),a.Wb(16,\"span\"),a.Jc(17),a.jc(18,\"translate\"),a.Vb(),a.Vb(),a.Wb(19,\"mat-menu\",null,11),a.Hc(21,ws,6,3,\"button\",12),a.Hc(22,ys,5,1,\"button\",13),a.Hc(23,Ds,6,3,\"button\",14),a.Hc(24,Ss,6,4,\"button\",15),a.Hc(25,Ws,6,4,\"button\",16),a.Hc(26,xs,6,3,\"button\",17),a.Vb(),a.Hc(27,Vs,6,3,\"button\",18),a.Wb(28,\"button\",19),a.jc(29,\"translate\"),a.Wb(30,\"mat-icon\"),a.Jc(31,\" language \"),a.Vb(),a.Wb(32,\"span\",20),a.Jc(33),a.Vb(),a.Vb(),a.Wb(34,\"mat-menu\",21,22),a.Hc(36,_s,5,7,\"mat-radio-button\",23),a.Vb(),a.Wb(37,\"mat-menu\",null,24),a.Wb(39,\"button\",25),a.Wb(40,\"mat-icon\"),a.Jc(41,\" assignment \"),a.Vb(),a.Wb(42,\"span\",26),a.Jc(43,\"TITLE_PRIVACY_POLICY\"),a.Vb(),a.Vb(),a.Wb(44,\"button\",27),a.Wb(45,\"mat-icon\"),a.Jc(46,\" get_app \"),a.Vb(),a.Wb(47,\"span\",26),a.Jc(48,\"TITLE_REQUEST_DATA_EXPORT\"),a.Vb(),a.Vb(),a.Wb(49,\"button\",28),a.Wb(50,\"mat-icon\"),a.Jc(51,\" delete_forever \"),a.Vb(),a.Wb(52,\"span\",26),a.Jc(53,\"DATA_SUBJECT_TITLE\"),a.Vb(),a.Vb(),a.Rb(54,\"mat-divider\"),a.Wb(55,\"button\",29),a.Wb(56,\"mat-icon\"),a.Jc(57,\" edit \"),a.Vb(),a.Wb(58,\"span\",26),a.Jc(59,\"TITLE_CHANGE_PASSWORD\"),a.Vb(),a.Vb(),a.Wb(60,\"button\",30),a.Wb(61,\"mat-icon\"),a.Jc(62,\" exposure_plus_2 \"),a.Vb(),a.Wb(63,\"span\",26),a.Jc(64,\"TITLE_TWO_FACTOR_AUTH_CONFIG\"),a.Vb(),a.Vb(),a.Wb(65,\"button\",31),a.Wb(66,\"mat-icon\"),a.Jc(67,\" place \"),a.Vb(),a.Wb(68,\"span\",26),a.Jc(69,\"LAST_LOGIN_IP\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(70,\"mat-menu\",null,32),a.Wb(72,\"button\",33),a.Wb(73,\"mat-icon\"),a.Jc(74,\" archive \"),a.Vb(),a.Wb(75,\"span\"),a.Jc(76),a.jc(77,\"translate\"),a.Vb(),a.Vb(),a.Wb(78,\"button\",34),a.Wb(79,\"mat-icon\"),a.Jc(80,\" autorenew \"),a.Vb(),a.Wb(81,\"span\"),a.Jc(82),a.jc(83,\"translate\"),a.Vb(),a.Vb(),a.Rb(84,\"mat-divider\"),a.Hc(85,ks,6,3,\"button\",35),a.Hc(86,Os,6,3,\"button\",36),a.Hc(87,Ls,6,3,\"button\",37),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.wc(20),i=a.wc(35);a.Db(2),a.pc(\"matTooltip\",a.kc(3,29,\"SIDENAV_HINT\")),a.Db(5),a.pc(\"alt\",e.applicationName),a.oc(\"src\",e.logoSrc,a.Cc),a.Db(2),a.Lc(\" \",e.applicationName,\" \"),a.Db(4),a.oc(\"matMenuTriggerFor\",t),a.Db(4),a.Lc(\" \",a.kc(18,31,\"ACCOUNT\"),\" \"),a.Db(4),a.oc(\"ngIf\",!e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()&&e.isAccounting()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.pc(\"matTooltip\",a.kc(29,33,\"LANGUAGE_SEL_HINT\")),a.oc(\"matMenuTriggerFor\",i),a.Db(5),a.Lc(\" \",e.shortKeyLang,\" \"),a.Db(1),a.oc(\"overlapTrigger\",!0),a.Db(2),a.oc(\"ngForOf\",e.languages),a.Db(3),a.oc(\"routerLink\",a.sc(39,As)),a.Db(5),a.oc(\"routerLink\",a.sc(40,Ts)),a.Db(5),a.oc(\"routerLink\",a.sc(41,Ps)),a.Db(6),a.oc(\"routerLink\",a.sc(42,Es)),a.Db(5),a.oc(\"routerLink\",a.sc(43,Rs)),a.Db(5),a.oc(\"routerLink\",a.sc(44,Ms)),a.Db(11),a.Lc(\" \",a.kc(77,35,\"LABEL_ORDER_HISTORY\"),\" \"),a.Db(6),a.Lc(\" \",a.kc(83,37,\"NAV_RECYCLE\"),\" \"),a.Db(3),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn())}},directives:[Bc.a,h.d,Bc.c,v.a,we.a,Ce.a,S.c,E.b,vs.b,Cs.c,Cs.d,P.l,P.k,Cs.a,g.a,Re.a,ra.a],pipes:[g.d],styles:[\"mat-toolbar[_ngcontent-%COMP%]{height:auto;min-width:100%;padding-bottom:5px;width:100%}.mat-button[_ngcontent-%COMP%]{padding-left:8px;padding-right:8px}.logo[_ngcontent-%COMP%]{max-height:60px;width:auto}.avatar[_ngcontent-%COMP%]{background-repeat:no-repeat;border-radius:50%;display:inline-block;max-height:35px;max-width:35px;padding:0;pointer-events:none}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.language-select[_ngcontent-%COMP%]{margin-left:10px;width:11%}  .mat-select-value-text{font-size:15px}.user-info[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}.flag-icon[_ngcontent-%COMP%]{margin-right:2px}[_nghost-%COMP%]     mat-form-field, [_nghost-%COMP%]     mat-icon{background:transparent!important}mat-search-bar[_ngcontent-%COMP%]{font-size:13px;margin-right:14px}.buttons[_ngcontent-%COMP%]{width:auto}@media screen and (max-width:959px){.buttons[_ngcontent-%COMP%]{width:48px}}[_nghost-%COMP%]     .mat-form-field-infix{max-width:250px!important;width:14vw!important}\"]}),t})();function Hs(t,e){1&t&&(a.Wb(0,\"span\",2),a.Jc(1,\"RESTART_REQUIRED\"),a.Vb())}function Ns(t,e){1&t&&(a.Wb(0,\"span\",2),a.Jc(1,\"RESET_HACKING_PROGRESS\"),a.Vb())}function Fs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-card\",1),a.Rb(1,\"mat-card-header\"),a.Wb(2,\"mat-card-content\"),a.Wb(3,\"span\",2),a.Jc(4,\"NOTIFICATION_SERVER_STARTED\"),a.Vb(),a.Jc(5),a.Wb(6,\"span\",3),a.ec(\"click\",(function(){return a.zc(t),a.ic().closeNotification()})),a.Jc(7,\"X\"),a.Vb(),a.Wb(8,\"button\",4),a.ec(\"click\",(function(){return a.zc(t),a.ic().clearProgress()})),a.Rb(9,\"i\",5),a.Hc(10,Hs,2,0,\"span\",6),a.Hc(11,Ns,2,0,\"span\",6),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(5),a.Lc(\": \",t.hackingProgress.autoRestoreMessage,\"\"),a.Db(3),a.oc(\"disabled\",t.hackingProgress.cleared),a.Db(2),a.oc(\"ngIf\",t.hackingProgress.cleared),a.Db(1),a.oc(\"ngIf\",!t.hackingProgress.cleared)}}u.b.add(m.V),u.a.watch();let Bs=(()=>{class t{constructor(t,e,i,a,o,n){this.ngZone=t,this.challengeService=e,this.translate=i,this.cookieService=a,this.ref=o,this.io=n,this.hackingProgress={}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"server started\",()=>{let t=this.cookieService.get(\"continueCode\");t&&this.challengeService.restoreProgress(encodeURIComponent(t)).subscribe(()=>{this.translate.get(\"AUTO_RESTORED_PROGRESS\").subscribe(t=>{this.hackingProgress.autoRestoreMessage=t},t=>{this.hackingProgress.autoRestoreMessage=t})},t=>{console.log(t),this.translate.get(\"AUTO_RESTORE_PROGRESS_FAILED\",{error:t}).subscribe(t=>{this.hackingProgress.autoRestoreMessage=t},t=>{this.hackingProgress.autoRestoreMessage=t})}),this.ref.detectChanges()})})}closeNotification(){this.hackingProgress.autoRestoreMessage=null}clearProgress(){this.cookieService.remove(\"continueCode\"),this.hackingProgress.cleared=!0}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.A),a.Qb(Ma),a.Qb(g.e),a.Qb(r.b),a.Qb(a.h),a.Qb(qe))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-server-started-notification\"]],decls:1,vars:1,consts:[[\"class\",\"container primary-notification mat-elevation-z4\",4,\"ngIf\"],[1,\"container\",\"primary-notification\",\"mat-elevation-z4\"],[\"translate\",\"\"],[2,\"float\",\"right\",\"cursor\",\"pointer\",3,\"click\"],[\"mat-raised-button\",\"\",3,\"disabled\",\"click\"],[\"aria-hidden\",\"true\",1,\"fas\",\"fa-trash\"],[\"translate\",\"\",4,\"ngIf\"]],template:function(t,e){1&t&&a.Hc(0,Fs,12,4,\"mat-card\",0),2&t&&a.oc(\"ngIf\",e.hackingProgress.autoRestoreMessage)},directives:[P.l,f.a,f.c,f.b,g.a,v.a],styles:[\".container[_ngcontent-%COMP%]{font-size:14px;margin:40px}\"]}),t})(),Us=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\"}getCountryMapping(){return this.http.get(this.hostServer+\"/rest/country-mapping\").pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function js(t,e){if(1&t&&(a.Rb(0,\"span\"),a.jc(1,\"lowercase\")),2&t){const t=a.ic(2).$implicit;a.Gb(\"flag-icon flag-icon-\",a.kc(1,3,t.country.code),\"\")}}function Qs(t,e){1&t&&a.Rb(0,\"i\",11)}function zs(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Jc(1),a.Vb()),2&t){const t=a.ic(2).$implicit;a.Db(1),a.Lc(\" \",t.country.name,\" \")}}function Gs(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Hc(1,js,2,5,\"span\",9),a.Hc(2,Qs,1,0,\"i\",10),a.Hc(3,zs,2,1,\"span\",5),a.Rb(4,\"br\"),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.oc(\"ngIf\",\"flag\"===t.showCtfCountryDetailsInNotifications||\"both\"===t.showCtfCountryDetailsInNotifications),a.Db(1),a.oc(\"ngIf\",\"name\"===t.showCtfCountryDetailsInNotifications),a.Db(1),a.oc(\"ngIf\",\"name\"===t.showCtfCountryDetailsInNotifications||\"both\"===t.showCtfCountryDetailsInNotifications)}}function qs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-card\",2),a.Wb(1,\"div\"),a.Jc(2),a.Wb(3,\"span\",3),a.ec(\"click\",(function(i){a.zc(t);const o=e.index;return a.ic().closeNotification(o,i.shiftKey)})),a.Jc(4,\"X\"),a.Vb(),a.Vb(),a.Rb(5,\"br\"),a.Wb(6,\"div\",4),a.Hc(7,Gs,5,3,\"div\",5),a.Rb(8,\"i\",6),a.Jc(9),a.Wb(10,\"button\",7),a.ec(\"cbOnSuccess\",(function(){return e.$implicit.copied=!0})),a.Rb(11,\"i\",8),a.Wb(12,\"span\",4),a.Jc(13),a.jc(14,\"translate\"),a.Vb(),a.Wb(15,\"span\",4),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.Db(2),a.Lc(\" \",t.message,\"\"),a.Db(4),a.oc(\"hidden\",!i.showCtfFlagsInNotifications),a.Db(1),a.oc(\"ngIf\",\"none\"!==i.showCtfCountryDetailsInNotifications),a.Db(2),a.Lc(\" \",t.flag,\" \"),a.Db(1),a.oc(\"cbContent\",t.flag)(\"disabled\",t.copied),a.Db(2),a.oc(\"hidden\",!t.copied),a.Db(1),a.Kc(a.kc(14,10,\"COPY_SUCCESS\")),a.Db(2),a.oc(\"hidden\",t.copied),a.Db(1),a.Kc(a.kc(17,12,\"COPY_TO_CLIPBOARD\"))}}u.b.add(m.s,m.q,m.g),u.a.watch();let Ys=(()=>{class t{constructor(t,e,i,a,o,n,r,c){this.ngZone=t,this.configurationService=e,this.challengeService=i,this.countryMappingService=a,this.translate=o,this.cookieService=n,this.ref=r,this.io=c,this.notifications=[],this.showCtfFlagsInNotifications=!1,this.showCtfCountryDetailsInNotifications=\"none\"}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{t&&t.challenge&&(t.hidden||this.showNotification(t),t.isRestore||this.saveProgress(),this.io.socket().emit(\"notification received\",t.flag))})}),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.ctf&&(this.showCtfFlagsInNotifications=!!t.ctf.showFlagsInNotifications&&t.ctf.showFlagsInNotifications,t.ctf.showCountryDetailsInNotifications?(this.showCtfCountryDetailsInNotifications=t.ctf.showCountryDetailsInNotifications,\"none\"!==t.ctf.showCountryDetailsInNotifications&&this.countryMappingService.getCountryMapping().subscribe(t=>{this.countryMap=t},t=>console.log(t))):this.showCtfCountryDetailsInNotifications=\"none\")})}closeNotification(t,e=!1){e?this.notifications=[]:this.notifications.splice(t,1),this.ref.detectChanges()}showNotification(t){this.translate.get(\"CHALLENGE_SOLVED\",{challenge:t.challenge}).toPromise().then(t=>t,t=>t).then(e=>{let i;this.showCtfCountryDetailsInNotifications&&\"none\"!==this.showCtfCountryDetailsInNotifications&&(i=this.countryMap[t.key]),this.notifications.push({message:e,flag:t.flag,country:i,copied:!1}),this.ref.detectChanges()})}saveProgress(){this.challengeService.continueCode().subscribe(t=>{if(!t)throw new Error(\"Received invalid continue code from the sever!\");let e=new Date;e.setFullYear(e.getFullYear()+1),this.cookieService.put(\"continueCode\",t,{expires:e})},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.A),a.Qb(b),a.Qb(Ma),a.Qb(Us),a.Qb(g.e),a.Qb(r.b),a.Qb(a.h),a.Qb(qe))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-challenge-solved-notification\"]],decls:2,vars:1,consts:[[1,\"container\",\"challenge-solved-toast\",\"mat-elevation-z4\"],[\"class\",\"accent-notification\",4,\"ngFor\",\"ngForOf\"],[1,\"accent-notification\"],[2,\"float\",\"right\",\"cursor\",\"pointer\",3,\"click\"],[3,\"hidden\"],[4,\"ngIf\"],[1,\"fas\",\"fa-flag-checkered\"],[\"ngxClipboard\",\"\",\"mat-raised-button\",\"\",3,\"cbContent\",\"disabled\",\"cbOnSuccess\"],[\"aria-hidden\",\"true\",1,\"fas\",\"fa-clipboard\"],[3,\"class\",4,\"ngIf\"],[\"class\",\"fa fa-globe\",4,\"ngIf\"],[1,\"fa\",\"fa-globe\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Hc(1,qs,18,14,\"mat-card\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"ngForOf\",e.notifications))},directives:[P.k,f.a,P.l,v.a,Nc.a],pipes:[g.d,P.i],styles:[\".container[_ngcontent-%COMP%]{font-size:14px;margin:40px}mat-card[_ngcontent-%COMP%]{margin-bottom:10px}\"]}),t})();function Ks(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",5),a.ec(\"click\",(function(){return a.zc(t),a.ic().startHackingInstructor()})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" school \"),a.Vb(),a.Wb(4,\"span\",6),a.Jc(5,\"BTN_GETTING_STARTED\"),a.Vb(),a.Vb()}2&t&&a.oc(\"matTooltip\",a.kc(1,1,\"SCORE_BOARD_HACKING_INSTRUCTOR\"))}let Xs=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.configurationService=e,this.cookieService=i,this.title=\"Welcome to OWASP Juice Shop\",this.message=\"<p>Being a web application with a vast number of intended security vulnerabilities, the <strong>OWASP Juice Shop<\/strong> is supposed to be the opposite of a best practice or template application for web developers: It is an awareness, training, demonstration and exercise tool for security risks in modern web applications. The <strong>OWASP Juice Shop<\/strong> is an open-source project hosted by the non-profit <a href='https://owasp.org' target='_blank'>Open Web Application Security Project (OWASP)<\/a> and is developed and maintained by volunteers. Check out the link below for more information and documentation on the project.<\/p><h1><a href='https://owasp-juice.shop' target='_blank'>https://owasp-juice.shop<\/a><\/h1>\",this.showHackingInstructor=!0,this.welcomeBannerStatusCookieKey=\"welcomebanner_status\"}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.welcomeBanner&&(this.title=t.application.welcomeBanner.title,this.message=t.application.welcomeBanner.message),t&&t.application&&(this.showHackingInstructor=t.hackingInstructor&&t.hackingInstructor.isEnabled)},t=>console.log(t))}startHackingInstructor(){console.log('Starting instructions for challenge \"Score Board\"'),i.e(5).then(i.bind(null,\"s2oO\")).then(t=>{t.startHackingInstructorFor(\"Score Board\")})}closeWelcome(){this.dialogRef.close();let t=new Date;t.setFullYear(t.getFullYear()+1),this.cookieService.put(this.welcomeBannerStatusCookieKey,\"dismiss\",{expires:t})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.g),a.Qb(b),a.Qb(r.b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-welcome-banner\"]],decls:11,vars:3,consts:[[1,\"mat-typography\"],[1,\"text-justify\",3,\"innerHtml\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Close Welcome Banner\",1,\"close-dialog\",3,\"click\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",\"translate\",\"\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",3,\"matTooltip\",\"click\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",\"translate\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"h1\"),a.Wb(2,\"span\"),a.Jc(3),a.Vb(),a.Vb(),a.Rb(4,\"div\",1),a.Hc(5,Ks,6,3,\"button\",2),a.Wb(6,\"button\",3),a.ec(\"click\",(function(){return e.closeWelcome()})),a.Wb(7,\"mat-icon\"),a.Jc(8,\" visibility_off \"),a.Vb(),a.Wb(9,\"span\",4),a.Jc(10,\"BTN_DISMISS\"),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Kc(e.title),a.Db(1),a.oc(\"innerHtml\",e.message,a.Ac),a.Db(1),a.oc(\"ngIf\",e.showHackingInstructor))},directives:[P.l,v.a,Ce.a,E.b,g.a,we.a],pipes:[g.d],styles:[\".text-justify[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}[_nghost-%COMP%]     h1 a{font-size:20px}[_nghost-%COMP%]     strong{font-style:italic}\"]}),t})(),$s=(()=>{class t{constructor(t,e,i){this.dialog=t,this.configurationService=e,this.cookieService=i,this.welcomeBannerStatusCookieKey=\"welcomebanner_status\"}ngOnInit(){\"dismiss\"!==this.cookieService.get(this.welcomeBannerStatusCookieKey)&&this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.welcomeBanner&&!t.application.welcomeBanner.showOnFirstStart||this.dialog.open(Xs,{minWidth:\"320px\",width:\"35%\",position:{top:\"50px\"}})},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.b),a.Qb(b),a.Qb(r.b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-welcome\"]],decls:1,vars:0,template:function(t,e){1&t&&a.Rb(0,\"div\")},styles:[\".welcome-style[_ngcontent-%COMP%]   .mat-dialog-container[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:50%;min-width:320px}\"]}),t})(),Zs=(()=>{class t{constructor(t,e){this._document=t,this.translate=e,this.translate.setDefaultLang(\"en\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.d),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-root\"]],decls:10,vars:0,consts:[[1,\"mat-typography\"],[\"fullscreen\",\"\"],[\"mode\",\"over\"],[\"sidenav\",\"\"],[3,\"sidenavToggle\"]],template:function(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",0),a.Wb(1,\"mat-sidenav-container\",1),a.Wb(2,\"mat-sidenav\",2,3),a.Wb(4,\"sidenav\",4),a.ec(\"sidenavToggle\",(function(){return a.zc(t),a.wc(3).toggle()})),a.Vb(),a.Vb(),a.Wb(5,\"app-navbar\",4),a.ec(\"sidenavToggle\",(function(){return a.zc(t),a.wc(3).toggle()})),a.Vb(),a.Rb(6,\"app-server-started-notification\"),a.Rb(7,\"app-challenge-solved-notification\"),a.Rb(8,\"app-welcome\"),a.Rb(9,\"router-outlet\"),a.Vb(),a.Vb()}},directives:[yo.b,yo.a,fs,Js,Bs,Ys,$s,S.f],styles:[\".mat-sidenav[_ngcontent-%COMP%]{width:280px}\"]}),t})(),tl=(()=>{class t{intercept(t,e){return localStorage.getItem(\"token\")&&(t=t.clone({setHeaders:{Authorization:`Bearer ${localStorage.getItem(\"token\")}`}})),localStorage.getItem(\"email\")&&(t=t.clone({setHeaders:{\"X-User-Email\":String(localStorage.getItem(\"email\"))}})),e.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})();var el=i(\"YUcS\"),il=i(\"R1ws\"),al=i(\"TU8p\"),ol=i(\"rDax\");function nl(t){return new Hc.a(t,\"./assets/i18n/\",\".json\")}let rl=(()=>{class t{constructor(t,e){t.getApplicationConfiguration().subscribe(t=>{e.getContainerElement().classList.add(t.application.theme+\"-theme\")})}}return t.\\u0275mod=a.Ob({type:t,bootstrap:[Zs]}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)(a.ac(b),a.ac(ol.e))},providers:[{provide:n.a,useClass:tl,multi:!0},je,b,Fc,Nt,Ft,D,ee,Ot,kt,bi,Te,qi,ct,oa,x,Ma,r.b,_,I,Xo,k,O,Io,na,Ye,Yo,Fn,Ko,xc],imports:[[o.a,Jc,g.c.forRoot({loader:{provide:g.b,useFactory:nl,deps:[n.b]}}),r.a.forRoot(),ae.c.forRoot(),el.a,n.c,c.u,il.b,Gt.a,So.b,Pt.b,Yi.b,Nc.b,Ja.b,Bc.b,Ce.b,At.d,oe.b,v.b,yo.d,T.p,Qe.b,f.e,Tt.c,ui.b,Ae.f,Re.b,Ia.c,ne.i,Me.a,Ha.b,we.b,Cs.b,Uc.c,Na.b,wo.c,Ke.b,vs.a,al.a,ra.c,L.b,ie.b]]}),t})();Object(a.U)(),o.g().bootstrapModule(rl).catch(t=>console.log(t))}}"},{"uri":"http://juice-shop.demo-targets.svc:3000/polyfills-es2015.js","method":"GET","evidence":"class a{constructor(t,e){this._parent=t,this._name=e?e.name||\"unnamed\":\"<root>\",this._properties=e&&e.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==D.ZoneAwarePromise)throw new Error(\"Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)\")}static get root(){let t=a.current;for(;t.parent;)t=t.parent;return t}static get current(){return C.zone}static get currentTask(){return z}static __load_patch(e,o){if(D.hasOwnProperty(e)){if(s)throw Error(\"Already loaded patch: \"+e)}else if(!t[\"__Zone_disable_\"+e]){const i=\"Zone:\"+e;n(i),D[e]=o(t,a,Z),r(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error(\"ZoneSpec required!\");return this._zoneDelegate.fork(this,t)}wrap(t,e){if(\"function\"!=typeof t)throw new Error(\"Expecting function got: \"+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{C=C.parent}}runGuarded(t,e=null,n,r){C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{C=C.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error(\"A task can only be run in the zone of creation! (Creation: \"+(t.zone||_).name+\"; Execution: \"+this.name+\")\");if(t.state===k&&(t.type===O||t.type===x))return;const r=t.state!=E;r&&t._transitionTo(E,b),t.runCount++;const o=z;z=t,C={parent:C,zone:this};try{t.type==x&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==k&&t.state!==S&&(t.type==O||t.data&&t.data.isPeriodic?r&&t._transitionTo(b,E):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(k,E,k))),C=C.parent,z=o}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(T,k);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(S,T,k),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==T&&t._transitionTo(b,T),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new l(P,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,o){return this.scheduleTask(new l(x,t,e,n,r,o))}scheduleEventTask(t,e,n,r,o){return this.scheduleTask(new l(O,t,e,n,r,o))}cancelTask(t){if(t.zone!=this)throw new Error(\"A task can only be cancelled in the zone of creation! (Creation: \"+(t.zone||_).name+\"; Execution: \"+this.name+\")\");t._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,w),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(k,w),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}a.__symbol__=i;const c={name:\"\",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,o,i)=>t.invokeTask(n,r,o,i),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class u{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=P)throw new Error(\"Task is missing scheduleFn.\");m(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error(\"Task is not cancelable\");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error(\"More tasks executed then were scheduled.\");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class l{constructor(e,n,r,o,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state=\"notScheduled\",this.type=e,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=s,!r)throw new Error(\"callback is not defined\");this.callback=r;const a=this;this.invoke=e===O&&o&&o.useG?l.invokeTask:function(){return l.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),I++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==I&&y(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(k,T)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?\" or '\"+n+\"'\":\"\"}, was '${this._state}'.`);this._state=t,t==k&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=i(\"setTimeout\"),f=i(\"Promise\"),p=i(\"then\");let d,v=[],g=!1;function m(e){if(0===I&&0===v.length)if(d||t[f]&&(d=t[f].resolve(0)),d){let t=d[p];t||(t=d.then),t.call(d,y)}else t[h](y,0);e&&v.push(e)}function y(){if(!g){for(g=!0;v.length;){const e=v;v=[];for(let n=0;n<e.length;n++){const r=e[n];try{r.zone.runTask(r,null,null)}catch(t){Z.onUnhandledError(t)}}}Z.microtaskDrainDone(),g=!1}}const _={name:\"NO ZONE\"},k=\"notScheduled\",T=\"scheduling\",b=\"scheduled\",E=\"running\",w=\"canceling\",S=\"unknown\",P=\"microTask\",x=\"macroTask\",O=\"eventTask\",D={},Z={symbol:i,currentZoneFrame:()=>C,onUnhandledError:A,microtaskDrainDone:A,scheduleMicroTask:m,showUncaughtError:()=>!a[i(\"ignoreConsoleErrorUncaughtError\")],patchEventTarget:()=>[],patchOnProperties:A,patchMethod:()=>A,bindArguments:()=>[],patchThen:()=>A,patchMacroTask:()=>A,setNativePromise:t=>{t&&\"function\"==typeof t.resolve&&(d=t.resolve(0))},patchEventPrototype:()=>A,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>A,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>A,wrapWithCurrentZone:()=>A,filterProperties:()=>[],attachOriginToPatched:()=>A,_redefineProperty:()=>A,patchCallbacks:()=>A};let C={parent:null,zone:new a(null,null)},z=null,I=0;function A(){}r(\"Zone\",\"Zone\"),t.Zone=a}(\"undefined\"!=typeof window&&window||\"undefined\"!=typeof self&&self||global),Zone.__load_patch(\"ZoneAwarePromise\",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,s=[],a=i(\"Promise\"),c=i(\"then\");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error(\"Unhandled Promise rejection:\",e instanceof Error?e.message:e,\"; Zone:\",t.zone.name,\"; Task:\",t.task&&t.task.source,\"; Value:\",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;)for(;s.length;){const e=s.shift();try{e.zone.runGuarded(()=>{throw e})}catch(t){l(t)}}};const u=i(\"unhandledPromiseRejectionHandler\");function l(t){n.onUnhandledError(t);try{const n=e[u];n&&\"function\"==typeof n&&n.call(this,t)}catch(r){}}function h(t){return t&&t.then}function f(t){return t}function p(t){return S.reject(t)}const d=i(\"state\"),v=i(\"value\"),g=i(\"finally\"),m=i(\"parentPromiseValue\"),y=i(\"parentPromiseState\");function _(t,e){return n=>{try{T(t,e,n)}catch(r){T(t,!1,r)}}}const k=i(\"currentTaskTrace\");function T(t,r,i){const a=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===i)throw new TypeError(\"Promise resolved with itself\");if(null===t[d]){let l=null;try{\"object\"!=typeof i&&\"function\"!=typeof i||(l=i&&i.then)}catch(u){return a(()=>{T(t,!1,u)})(),t}if(!1!==r&&i instanceof S&&i.hasOwnProperty(d)&&i.hasOwnProperty(v)&&null!==i[d])E(i),T(t,i[d],i[v]);else if(!1!==r&&\"function\"==typeof l)try{l.call(i,a(_(t,r)),a(_(t,!1)))}catch(u){a(()=>{T(t,!1,u)})()}else{t[d]=r;const a=t[v];if(t[v]=i,t[g]===g&&!0===r&&(t[d]=t[y],t[v]=t[m]),!1===r&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&o(i,k,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<a.length;)w(t,a[e++],a[e++],a[e++],a[e++]);if(0==a.length&&0==r){t[d]=0;try{throw new Error(\"Uncaught (in promise): \"+((c=i)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||\"\")+\": \"+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(i&&i.stack?\"\\n\"+i.stack:\"\"))}catch(u){const r=u;r.rejection=i,r.promise=t,r.zone=e.current,r.task=e.currentTask,s.push(r),n.scheduleMicroTask()}}}}var c;return t}const b=i(\"rejectionHandledHandler\");function E(t){if(0===t[d]){try{const n=e[b];n&&\"function\"==typeof n&&n.call(this,{rejection:t[v],promise:t})}catch(n){}t[d]=!1;for(let e=0;e<s.length;e++)t===s[e].promise&&s.splice(e,1)}}function w(t,e,n,r,o){E(t);const i=t[d],s=i?\"function\"==typeof r?r:f:\"function\"==typeof o?o:p;e.scheduleMicroTask(\"Promise.then\",()=>{try{const r=t[v],o=!!n&&g===n[g];o&&(n[m]=r,n[y]=i);const a=e.run(s,void 0,o&&s!==p&&s!==f?[]:[r]);T(n,!0,a)}catch(r){T(n,!1,r)}},n)}class S{constructor(t){const e=this;if(!(e instanceof S))throw new Error(\"Must be an instanceof Promise.\");e[d]=null,e[v]=[];try{t&&t(_(e,!0),_(e,!1))}catch(n){T(e,!1,n)}}static toString(){return\"function ZoneAwarePromise() { [native code] }\"}static resolve(t){return T(new this(null),!0,t)}static reject(t){return T(new this(null),!1,t)}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function o(t){e(t)}function i(t){n(t)}for(let s of t)h(s)||(s=this.resolve(s)),s.then(o,i);return r}static all(t){return S.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof S?this:S).allWithCallback(t,{thenCallback:t=>({status:\"fulfilled\",value:t}),errorCallback:t=>({status:\"rejected\",reason:t})})}static allWithCallback(t,e){let n,r,o=new this((t,e)=>{n=t,r=e}),i=2,s=0;const a=[];for(let u of t){h(u)||(u=this.resolve(u));const t=s;try{u.then(r=>{a[t]=e?e.thenCallback(r):r,i--,0===i&&n(a)},o=>{e?(a[t]=e.errorCallback(o),i--,0===i&&n(a)):r(o)})}catch(c){r(c)}i++,s++}return i-=2,0===i&&n(a),o}get[Symbol.toStringTag](){return\"Promise\"}then(t,n){const r=new this.constructor(null),o=e.current;return null==this[d]?this[v].push(o,r,t,n):w(this,o,r,t,n),r}catch(t){return this.then(null,t)}finally(t){const n=new this.constructor(null);n[g]=g;const r=e.current;return null==this[d]?this[v].push(r,n,t,t):w(this,r,n,t,t),n}}S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;const P=t[a]=t.Promise,x=e.__symbol__(\"ZoneAwarePromise\");let O=r(t,\"Promise\");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return t[x]?t[x]:t[a]},O.set=function(e){e===S?t[x]=e:(t[a]=e,e.prototype[c]||Z(e),n.setNativePromise(e))},o(t,\"Promise\",O)),t.Promise=S;const D=i(\"thenPatched\");function Z(t){const e=t.prototype,n=r(e,\"then\");if(n&&(!1===n.writable||!n.configurable))return;const o=e.then;e[c]=o,t.prototype.then=function(t,e){return new S((t,e)=>{o.call(this,t,e)}).then(t,e)},t[D]=!0}if(n.patchThen=Z,P){Z(P);const e=t.fetch;\"function\"==typeof e&&(t[n.symbol(\"fetch\")]=e,t.fetch=(C=e,function(){let t=C.apply(this,arguments);if(t instanceof S)return t;let e=t.constructor;return e[D]||Z(e),t}))}var C;return Promise[e.__symbol__(\"uncaughtPromiseErrors\")]=s,S});const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,i=Zone.__symbol__(\"addEventListener\"),s=Zone.__symbol__(\"removeEventListener\"),a=Zone.__symbol__(\"\");function c(t,e){return Zone.current.wrap(t,e)}function u(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}const l=Zone.__symbol__,h=\"undefined\"!=typeof window,f=h?window:void 0,p=h&&f||\"object\"==typeof self&&self||global,d=[null];function v(t,e){for(let n=t.length-1;n>=0;n--)\"function\"==typeof t[n]&&(t[n]=c(t[n],e+\"_\"+n));return t}function g(t){return!t||!1!==t.writable&&!(\"function\"==typeof t.get&&void 0===t.set)}const m=\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,y=!(\"nw\"in p)&&void 0!==p.process&&\"[object process]\"==={}.toString.call(p.process),_=!y&&!m&&!(!h||!f.HTMLElement),k=void 0!==p.process&&\"[object process]\"==={}.toString.call(p.process)&&!m&&!(!h||!f.HTMLElement),T={},b=function(t){if(!(t=t||p.event))return;let e=T[t.type];e||(e=T[t.type]=l(\"ON_PROPERTY\"+t.type));const n=this||t.target||p,r=n[e];let o;if(_&&n===f&&\"error\"===t.type){const e=t;o=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===o&&t.preventDefault()}else o=r&&r.apply(this,arguments),null==o||o||t.preventDefault();return o};function E(n,r,o){let i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=l(\"on\"+r+\"patched\");if(n.hasOwnProperty(s)&&n[s])return;delete i.writable,delete i.value;const a=i.get,c=i.set,u=r.substr(2);let h=T[u];h||(h=T[u]=l(\"ON_PROPERTY\"+u)),i.set=function(t){let e=this;e||n!==p||(e=p),e&&(e[h]&&e.removeEventListener(u,b),c&&c.apply(e,d),\"function\"==typeof t?(e[h]=t,e.addEventListener(u,b,!1)):e[h]=null)},i.get=function(){let t=this;if(t||n!==p||(t=p),!t)return null;const e=t[h];if(e)return e;if(a){let e=a&&a.call(this);if(e)return i.set.call(this,e),\"function\"==typeof t.removeAttribute&&t.removeAttribute(r),e}return null},e(n,r,i),n[s]=!0}function w(t,e,n){if(e)for(let r=0;r<e.length;r++)E(t,\"on\"+e[r],n);else{const e=[];for(const n in t)\"on\"==n.substr(0,2)&&e.push(n);for(let r=0;r<e.length;r++)E(t,e[r],n)}}const S=l(\"originalInstance\");function P(t){const n=p[t];if(!n)return;p[l(t)]=n,p[t]=function(){const e=v(arguments,t);switch(e.length){case 0:this[S]=new n;break;case 1:this[S]=new n(e[0]);break;case 2:this[S]=new n(e[0],e[1]);break;case 3:this[S]=new n(e[0],e[1],e[2]);break;case 4:this[S]=new n(e[0],e[1],e[2],e[3]);break;default:throw new Error(\"Arg list too long.\")}},D(p[t],n);const r=new n((function(){}));let o;for(o in r)\"XMLHttpRequest\"===t&&\"responseBlob\"===o||function(n){\"function\"==typeof r[n]?p[t].prototype[n]=function(){return this[S][n].apply(this[S],arguments)}:e(p[t].prototype,n,{set:function(e){\"function\"==typeof e?(this[S][n]=c(e,t+\".\"+n),D(this[S][n],e)):this[S][n]=e},get:function(){return this[S][n]}})}(o);for(o in n)\"prototype\"!==o&&n.hasOwnProperty(o)&&(p[t][o]=n[o])}function x(e,r,o){let i=e;for(;i&&!i.hasOwnProperty(r);)i=n(i);!i&&e[r]&&(i=e);const s=l(r);let a=null;if(i&&!(a=i[s])&&(a=i[s]=i[r],g(i&&t(i,r)))){const t=o(a,s,r);i[r]=function(){return t(this,arguments)},D(i[r],a)}return a}function O(t,e,n){let r=null;function o(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=x(t,e,t=>function(e,r){const i=n(e,r);return i.cbIdx>=0&&\"function\"==typeof r[i.cbIdx]?u(i.name,r[i.cbIdx],i,o):t.apply(e,r)})}function D(t,e){t[l(\"OriginalDelegate\")]=e}let Z=!1,C=!1;function z(){try{const t=f.navigator.userAgent;if(-1!==t.indexOf(\"MSIE \")||-1!==t.indexOf(\"Trident/\"))return!0}catch(t){}return!1}function I(){if(Z)return C;Z=!0;try{const t=f.navigator.userAgent;-1===t.indexOf(\"MSIE \")&&-1===t.indexOf(\"Trident/\")&&-1===t.indexOf(\"Edge/\")||(C=!0)}catch(t){}return C}Zone.__load_patch(\"toString\",t=>{const e=Function.prototype.toString,n=l(\"OriginalDelegate\"),r=l(\"Promise\"),o=l(\"Error\"),i=function(){if(\"function\"==typeof this){const i=this[n];if(i)return\"function\"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[o];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?\"[object Promise]\":s.call(this)}});let A=!1;if(\"undefined\"!=typeof window)try{const t=Object.defineProperty({},\"passive\",{get:function(){A=!0}});window.addEventListener(\"test\",t,t),window.removeEventListener(\"test\",t,t)}catch(st){A=!1}const j={useG:!0},M={},R={},F=new RegExp(\"^\"+a+\"(\\\\w+)(true|false)$\"),N=l(\"propagationStopped\");function L(t,e,r){const o=r&&r.add||\"addEventListener\",i=r&&r.rm||\"removeEventListener\",s=r&&r.listeners||\"eventListeners\",c=r&&r.rmAll||\"removeAllListeners\",u=l(o),h=\".\"+o+\":\",f=function(t,e,n){if(t.isRemoved)return;const r=t.callback;\"object\"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r),t.invoke(t,e,[n]);const o=t.options;o&&\"object\"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)},p=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[M[e.type].false];if(r)if(1===r.length)f(r[0],n,e);else{const t=r.slice();for(let r=0;r<t.length&&(!e||!0!==e[N]);r++)f(t[r],n,e)}},d=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[M[e.type].true];if(r)if(1===r.length)f(r[0],n,e);else{const t=r.slice();for(let r=0;r<t.length&&(!e||!0!==e[N]);r++)f(t[r],n,e)}};function v(e,r){if(!e)return!1;let f=!0;r&&void 0!==r.useG&&(f=r.useG);const v=r&&r.vh;let g=!0;r&&void 0!==r.chkDup&&(g=r.chkDup);let m=!1;r&&void 0!==r.rt&&(m=r.rt);let _=e;for(;_&&!_.hasOwnProperty(o);)_=n(_);if(!_&&e[o]&&(_=e),!_)return!1;if(_[u])return!1;const k=r&&r.eventNameToString,T={},b=_[u]=_[o],E=_[l(i)]=_[i],w=_[l(s)]=_[s],S=_[l(c)]=_[c];let P;function x(t){A||\"boolean\"==typeof T.options||null==T.options||(t.options=!!T.options.capture,T.options=t.options)}r&&r.prepend&&(P=_[l(r.prepend)]=_[r.prepend]);const O=f?function(t){if(!T.isExisting)return x(t),b.call(T.target,T.eventName,T.capture?d:p,T.options)}:function(t){return x(t),b.call(T.target,T.eventName,t.invoke,T.options)},Z=f?function(t){if(!t.isRemoved){const e=M[t.eventName];let n;e&&(n=e[t.capture?\"true\":\"false\"]);const r=n&&t.target[n];if(r)for(let o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return E.call(t.target,t.eventName,t.capture?d:p,t.options)}:function(t){return E.call(t.target,t.eventName,t.invoke,t.options)},C=r&&r.diff?r.diff:function(t,e){const n=typeof e;return\"function\"===n&&t.callback===e||\"object\"===n&&t.originalDelegate===e},z=Zone[l(\"BLACK_LISTED_EVENTS\")],I=function(e,n,o,i,s=!1,c=!1){return function(){const u=this||t;let l=arguments[0];r&&r.transferEventName&&(l=r.transferEventName(l));let h=arguments[1];if(!h)return e.apply(this,arguments);if(y&&\"uncaughtException\"===l)return e.apply(this,arguments);let p=!1;if(\"function\"!=typeof h){if(!h.handleEvent)return e.apply(this,arguments);p=!0}if(v&&!v(e,h,u,arguments))return;const d=arguments[2];if(z)for(let t=0;t<z.length;t++)if(l===z[t])return e.apply(this,arguments);let m,_=!1;void 0===d?m=!1:!0===d?m=!0:!1===d?m=!1:(m=!!d&&!!d.capture,_=!!d&&!!d.once);const b=Zone.current,E=M[l];let w;if(E)w=E[m?\"true\":\"false\"];else{const t=(k?k(l):l)+\"false\",e=(k?k(l):l)+\"true\",n=a+t,r=a+e;M[l]={},M[l].false=n,M[l].true=r,w=m?r:n}let S,P=u[w],x=!1;if(P){if(x=!0,g)for(let t=0;t<P.length;t++)if(C(P[t],h))return}else P=u[w]=[];const O=u.constructor.name,D=R[O];D&&(S=D[l]),S||(S=O+n+(k?k(l):l)),T.options=d,_&&(T.options.once=!1),T.target=u,T.capture=m,T.eventName=l,T.isExisting=x;const Z=f?j:void 0;Z&&(Z.taskData=T);const I=b.scheduleEventTask(S,h,Z,o,i);return T.target=null,Z&&(Z.taskData=null),_&&(d.once=!0),(A||\"boolean\"!=typeof I.options)&&(I.options=d),I.target=u,I.capture=m,I.eventName=l,p&&(I.originalDelegate=h),c?P.unshift(I):P.push(I),s?u:void 0}};return _[o]=I(b,h,O,Z,m),P&&(_.prependListener=I(P,\".prependListener:\",(function(t){return P.call(T.target,T.eventName,t.invoke,T.options)}),Z,m,!0)),_[i]=function(){const e=this||t;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const o=arguments[2];let i;i=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);const s=arguments[1];if(!s)return E.apply(this,arguments);if(v&&!v(E,s,e,arguments))return;const c=M[n];let u;c&&(u=c[i?\"true\":\"false\"]);const l=u&&e[u];if(l)for(let t=0;t<l.length;t++){const r=l[t];if(C(r,s))return l.splice(t,1),r.isRemoved=!0,0===l.length&&(r.allRemoved=!0,e[u]=null,\"string\"==typeof n)&&(e[a+\"ON_PROPERTY\"+n]=null),r.zone.cancelTask(r),m?e:void 0}return E.apply(this,arguments)},_[s]=function(){const e=this||t;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const o=[],i=U(e,k?k(n):n);for(let t=0;t<i.length;t++){const e=i[t];o.push(e.originalDelegate?e.originalDelegate:e.callback)}return o},_[c]=function(){const e=this||t;let n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));const t=M[n];if(t){const r=e[t.false],o=e[t.true];if(r){const t=r.slice();for(let e=0;e<t.length;e++){const r=t[e];this[i].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}if(o){const t=o.slice();for(let e=0;e<t.length;e++){const r=t[e];this[i].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=F.exec(t[e]);let r=n&&n[1];r&&\"removeListener\"!==r&&this[c].call(this,r)}this[c].call(this,\"removeListener\")}if(m)return this},D(_[o],b),D(_[i],E),S&&D(_[c],S),w&&D(_[s],w),!0}let g=[];for(let n=0;n<e.length;n++)g[n]=v(e[n],r);return g}function U(t,e){const n=[];for(let r in t){const o=F.exec(r);let i=o&&o[1];if(i&&(!e||i===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}function q(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,\"stopImmediatePropagation\",t=>function(e,n){e[N]=!0,t&&t.apply(e,n)})}function H(t,e,n,r,o){const i=Zone.__symbol__(r);if(e[i])return;const s=e[i]=e[r];e[r]=function(i,a,c){return a&&a.prototype&&o.forEach((function(e){const o=`${n}.${r}::`+e,i=a.prototype;if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,o),t._redefineProperty(a.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))})),s.call(e,i,a,c)},t.attachOriginToPatched(e[r],s)}const W=[\"absolutedeviceorientation\",\"afterinput\",\"afterprint\",\"appinstalled\",\"beforeinstallprompt\",\"beforeprint\",\"beforeunload\",\"devicelight\",\"devicemotion\",\"deviceorientation\",\"deviceorientationabsolute\",\"deviceproximity\",\"hashchange\",\"languagechange\",\"message\",\"mozbeforepaint\",\"offline\",\"online\",\"paint\",\"pageshow\",\"pagehide\",\"popstate\",\"rejectionhandled\",\"storage\",\"unhandledrejection\",\"unload\",\"userproximity\",\"vrdisplyconnected\",\"vrdisplaydisconnected\",\"vrdisplaypresentchange\"],G=[\"encrypted\",\"waitingforkey\",\"msneedkey\",\"mozinterruptbegin\",\"mozinterruptend\"],X=[\"load\"],V=[\"blur\",\"error\",\"focus\",\"load\",\"resize\",\"scroll\",\"messageerror\"],B=[\"bounce\",\"finish\",\"start\"],Y=[\"loadstart\",\"progress\",\"abort\",\"error\",\"load\",\"progress\",\"timeout\",\"loadend\",\"readystatechange\"],K=[\"upgradeneeded\",\"complete\",\"abort\",\"success\",\"error\",\"blocked\",\"versionchange\",\"close\"],J=[\"close\",\"error\",\"open\",\"message\"],$=[\"error\",\"message\"],Q=[\"abort\",\"animationcancel\",\"animationend\",\"animationiteration\",\"auxclick\",\"beforeinput\",\"blur\",\"cancel\",\"canplay\",\"canplaythrough\",\"change\",\"compositionstart\",\"compositionupdate\",\"compositionend\",\"cuechange\",\"click\",\"close\",\"contextmenu\",\"curechange\",\"dblclick\",\"drag\",\"dragend\",\"dragenter\",\"dragexit\",\"dragleave\",\"dragover\",\"drop\",\"durationchange\",\"emptied\",\"ended\",\"error\",\"focus\",\"focusin\",\"focusout\",\"gotpointercapture\",\"input\",\"invalid\",\"keydown\",\"keypress\",\"keyup\",\"load\",\"loadstart\",\"loadeddata\",\"loadedmetadata\",\"lostpointercapture\",\"mousedown\",\"mouseenter\",\"mouseleave\",\"mousemove\",\"mouseout\",\"mouseover\",\"mouseup\",\"mousewheel\",\"orientationchange\",\"pause\",\"play\",\"playing\",\"pointercancel\",\"pointerdown\",\"pointerenter\",\"pointerleave\",\"pointerlockchange\",\"mozpointerlockchange\",\"webkitpointerlockerchange\",\"pointerlockerror\",\"mozpointerlockerror\",\"webkitpointerlockerror\",\"pointermove\",\"pointout\",\"pointerover\",\"pointerup\",\"progress\",\"ratechange\",\"reset\",\"resize\",\"scroll\",\"seeked\",\"seeking\",\"select\",\"selectionchange\",\"selectstart\",\"show\",\"sort\",\"stalled\",\"submit\",\"suspend\",\"timeupdate\",\"volumechange\",\"touchcancel\",\"touchmove\",\"touchstart\",\"touchend\",\"transitioncancel\",\"transitionend\",\"waiting\",\"wheel\"].concat([\"webglcontextrestored\",\"webglcontextlost\",\"webglcontextcreationerror\"],[\"autocomplete\",\"autocompleteerror\"],[\"toggle\"],[\"afterscriptexecute\",\"beforescriptexecute\",\"DOMContentLoaded\",\"freeze\",\"fullscreenchange\",\"mozfullscreenchange\",\"webkitfullscreenchange\",\"msfullscreenchange\",\"fullscreenerror\",\"mozfullscreenerror\",\"webkitfullscreenerror\",\"msfullscreenerror\",\"readystatechange\",\"visibilitychange\",\"resume\"],W,[\"beforecopy\",\"beforecut\",\"beforepaste\",\"copy\",\"cut\",\"paste\",\"dragstart\",\"loadend\",\"animationstart\",\"search\",\"transitionrun\",\"transitionstart\",\"webkitanimationend\",\"webkitanimationiteration\",\"webkitanimationstart\",\"webkittransitionend\"],[\"activate\",\"afterupdate\",\"ariarequest\",\"beforeactivate\",\"beforedeactivate\",\"beforeeditfocus\",\"beforeupdate\",\"cellchange\",\"controlselect\",\"dataavailable\",\"datasetchanged\",\"datasetcomplete\",\"errorupdate\",\"filterchange\",\"layoutcomplete\",\"losecapture\",\"move\",\"moveend\",\"movestart\",\"propertychange\",\"resizeend\",\"resizestart\",\"rowenter\",\"rowexit\",\"rowsdelete\",\"rowsinserted\",\"command\",\"compassneedscalibration\",\"deactivate\",\"help\",\"mscontentzoom\",\"msmanipulationstatechanged\",\"msgesturechange\",\"msgesturedoubletap\",\"msgestureend\",\"msgesturehold\",\"msgesturestart\",\"msgesturetap\",\"msgotpointercapture\",\"msinertiastart\",\"mslostpointercapture\",\"mspointercancel\",\"mspointerdown\",\"mspointerenter\",\"mspointerhover\",\"mspointerleave\",\"mspointermove\",\"mspointerout\",\"mspointerover\",\"mspointerup\",\"pointerout\",\"mssitemodejumplistitemremoved\",\"msthumbnailclick\",\"stop\",\"storagecommit\"]);function tt(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(!r||0===r.length)return e;const o=r[0].ignoreProperties;return e.filter(t=>-1===o.indexOf(t))}function et(t,e,n,r){t&&w(t,tt(t,e,n),r)}function nt(t,e){if(y&&!k)return;if(Zone[t.symbol(\"patchEvents\")])return;const r=\"undefined\"!=typeof WebSocket,o=e.__Zone_ignore_on_properties;if(_){const t=window,e=z?[{target:t,ignoreProperties:[\"error\"]}]:[];et(t,Q.concat([\"messageerror\"]),o?o.concat(e):o,n(t)),et(Document.prototype,Q,o),void 0!==t.SVGElement&&et(t.SVGElement.prototype,Q,o),et(Element.prototype,Q,o),et(HTMLElement.prototype,Q,o),et(HTMLMediaElement.prototype,G,o),et(HTMLFrameSetElement.prototype,W.concat(V),o),et(HTMLBodyElement.prototype,W.concat(V),o),et(HTMLFrameElement.prototype,X,o),et(HTMLIFrameElement.prototype,X,o);const r=t.HTMLMarqueeElement;r&&et(r.prototype,B,o);const i=t.Worker;i&&et(i.prototype,$,o)}const i=e.XMLHttpRequest;i&&et(i.prototype,Y,o);const s=e.XMLHttpRequestEventTarget;s&&et(s&&s.prototype,Y,o),\"undefined\"!=typeof IDBIndex&&(et(IDBIndex.prototype,K,o),et(IDBRequest.prototype,K,o),et(IDBOpenDBRequest.prototype,K,o),et(IDBDatabase.prototype,K,o),et(IDBTransaction.prototype,K,o),et(IDBCursor.prototype,K,o)),r&&et(WebSocket.prototype,J,o)}Zone.__load_patch(\"util\",(n,i,s)=>{s.patchOnProperties=w,s.patchMethod=x,s.bindArguments=v,s.patchMacroTask=O;const u=i.__symbol__(\"BLACK_LISTED_EVENTS\"),l=i.__symbol__(\"UNPATCHED_EVENTS\");n[l]&&(n[u]=n[l]),n[u]&&(i[u]=i[l]=n[u]),s.patchEventPrototype=q,s.patchEventTarget=L,s.isIEOrEdge=I,s.ObjectDefineProperty=e,s.ObjectGetOwnPropertyDescriptor=t,s.ObjectCreate=r,s.ArraySlice=o,s.patchClass=P,s.wrapWithCurrentZone=c,s.filterProperties=tt,s.attachOriginToPatched=D,s._redefineProperty=Object.defineProperty,s.patchCallbacks=H,s.getGlobalObjects=()=>({globalSources:R,zoneSymbolEventNames:M,eventNames:Q,isBrowser:_,isMix:k,isNode:y,TRUE_STR:\"true\",FALSE_STR:\"false\",ZONE_SYMBOL_PREFIX:a,ADD_EVENT_LISTENER_STR:\"addEventListener\",REMOVE_EVENT_LISTENER_STR:\"removeEventListener\"})});const rt=l(\"zoneTask\");function ot(t,e,n,r){let o=null,i=null;n+=r;const s={};function a(e){const n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||(\"number\"==typeof n.handleId?delete s[n.handleId]:n.handleId&&(n.handleId[rt]=null))}},n.handleId=o.apply(t,n.args),e}function c(t){return i(t.data.handleId)}o=x(t,e+=r,n=>function(o,i){if(\"function\"==typeof i[0]){const t=u(e,i[0],{isPeriodic:\"Interval\"===r,delay:\"Timeout\"===r||\"Interval\"===r?i[1]||0:void 0,args:i},a,c);if(!t)return t;const n=t.data.handleId;return\"number\"==typeof n?s[n]=t:n&&(n[rt]=t),n&&n.ref&&n.unref&&\"function\"==typeof n.ref&&\"function\"==typeof n.unref&&(t.ref=n.ref.bind(n),t.unref=n.unref.bind(n)),\"number\"==typeof n||n?n:t}return n.apply(t,i)}),i=x(t,n,e=>function(n,r){const o=r[0];let i;\"number\"==typeof o?i=s[o]:(i=o&&o[rt],i||(i=o)),i&&\"string\"==typeof i.type?\"notScheduled\"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&(\"number\"==typeof o?delete s[o]:o&&(o[rt]=null),i.zone.cancelTask(i)):e.apply(t,r)})}function it(t,e){if(Zone[e.symbol(\"patchEventTarget\")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let c=0;c<n.length;c++){const t=n[c],e=s+(t+i),a=s+(t+o);r[t]={},r[t][i]=e,r[t][o]=a}const a=t.EventTarget;return a&&a.prototype?(e.patchEventTarget(t,[a&&a.prototype]),!0):void 0}Zone.__load_patch(\"legacy\",t=>{const e=t[Zone.__symbol__(\"legacyPatch\")];e&&e()}),Zone.__load_patch(\"timers\",t=>{ot(t,\"set\",\"clear\",\"Timeout\"),ot(t,\"set\",\"clear\",\"Interval\"),ot(t,\"set\",\"clear\",\"Immediate\")}),Zone.__load_patch(\"requestAnimationFrame\",t=>{ot(t,\"request\",\"cancel\",\"AnimationFrame\"),ot(t,\"mozRequest\",\"mozCancel\",\"AnimationFrame\"),ot(t,\"webkitRequest\",\"webkitCancel\",\"AnimationFrame\")}),Zone.__load_patch(\"blocking\",(t,e)=>{const n=[\"alert\",\"prompt\",\"confirm\"];for(let r=0;r<n.length;r++)x(t,n[r],(n,r,o)=>function(r,i){return e.current.run(n,t,i,o)})}),Zone.__load_patch(\"EventTarget\",(t,e,n)=>{!function(t,e){e.patchEventPrototype(t,e)}(t,n),it(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype]),P(\"MutationObserver\"),P(\"WebKitMutationObserver\"),P(\"IntersectionObserver\"),P(\"FileReader\")}),Zone.__load_patch(\"on_property\",(t,e,n)=>{nt(n,t)}),Zone.__load_patch(\"customElements\",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&\"customElements\"in t&&e.patchCallbacks(e,t.customElements,\"customElements\",\"define\",[\"connectedCallback\",\"disconnectedCallback\",\"adoptedCallback\",\"attributeChangedCallback\"])}(t,n)}),Zone.__load_patch(\"XHR\",(t,e)=>{!function(t){const f=t.XMLHttpRequest;if(!f)return;const p=f.prototype;let d=p[i],v=p[s];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[i],v=t[s]}}function g(t){const r=t.data,c=r.target;c[a]=!1,c[h]=!1;const u=c[o];d||(d=c[i],v=c[s]),u&&v.call(c,\"readystatechange\",u);const l=c[o]=()=>{if(c.readyState===c.DONE)if(!r.aborted&&c[a]&&\"scheduled\"===t.state){const n=c[e.__symbol__(\"loadfalse\")];if(n&&n.length>0){const o=t.invoke;t.invoke=function(){const n=c[e.__symbol__(\"loadfalse\")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);r.aborted||\"scheduled\"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==c[a]||(c[h]=!0)};return d.call(c,\"readystatechange\",l),c[n]||(c[n]=t),b.apply(c,r.args),c[a]=!0,t}function m(){}function y(t){const e=t.data;return e.aborted=!0,E.apply(e.target,e.args)}const _=x(p,\"open\",()=>function(t,e){return t[r]=0==e[2],t[c]=e[1],_.apply(t,e)}),k=l(\"fetchTaskAborting\"),T=l(\"fetchTaskScheduling\"),b=x(p,\"send\",()=>function(t,n){if(!0===e.current[T])return b.apply(t,n);if(t[r])return b.apply(t,n);{const e={target:t,url:t[c],isPeriodic:!1,args:n,aborted:!1},r=u(\"XMLHttpRequest.send\",m,e,g,y);t&&!0===t[h]&&!e.aborted&&\"scheduled\"===r.state&&r.invoke()}}),E=x(p,\"abort\",()=>function(t,r){const o=t[n];if(o&&\"string\"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[k])return E.apply(t,r)})}(t);const n=l(\"xhrTask\"),r=l(\"xhrSync\"),o=l(\"xhrListener\"),a=l(\"xhrScheduled\"),c=l(\"xhrURL\"),h=l(\"xhrErrorBeforeScheduled\")}),Zone.__load_patch(\"geolocation\",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const r=e.constructor.name;for(let o=0;o<n.length;o++){const i=n[o],s=e[i];if(s){if(!g(t(e,i)))continue;e[i]=(t=>{const e=function(){return t.apply(this,v(arguments,r+\".\"+i))};return D(e,t),e})(s)}}}(e.navigator.geolocation,[\"getCurrentPosition\",\"watchPosition\"])}),Zone.__load_patch(\"PromiseRejectionEvent\",(t,e)=>{function n(e){return function(n){U(t,e).forEach(r=>{const o=t.PromiseRejectionEvent;if(o){const t=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[l(\"unhandledPromiseRejectionHandler\")]=n(\"unhandledrejection\"),e[l(\"rejectionHandledHandler\")]=n(\"rejectionhandled\"))})})?r.call(e,n,e,t):r)||(t.exports=o)},\"pU1/\":function(t,e,n){var r=n(\"U1KF\"),o=n(\"PAFS\"),i=n(\"LuBU\");t.exports=n(\"GGqZ\")?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},puZ4:function(t,e,n){\"use strict\";var r=n(\"Vx+c\"),o=n(\"WWmS\"),i=n(\"jPEw\"),s={};n(\"tjmq\")(s,n(\"9dxi\")(\"iterator\"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+\" Iterator\")}},\"qjW+\":function(t,e,n){var r=n(\"U5er\"),o=n(\"PAFS\"),i=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:s(arguments[2]))}})},rUkU:function(t,e,n){var r=n(\"U5er\"),o=n(\"PAFS\"),i=n(\"A1KM\"),s=r.has,a=r.key,c=function(t,e,n){if(s(t,e,n))return!0;var r=i(e);return null!==r&&c(t,r,n)};r.exp({hasMetadata:function(t,e){return c(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},s14n:function(t,e,n){\"use strict\";var r=n(\"+edc\"),o=n(\"zIP/\").getWeak,i=n(\"PAFS\"),s=n(\"Bsg+\"),a=n(\"EusA\"),c=n(\"HqX2\"),u=n(\"1wfo\"),l=n(\"ezc+\"),h=n(\"SsG5\"),f=u(5),p=u(6),d=0,v=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},m=function(t,e){return f(t.a,(function(t){return t[0]===e}))};g.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var u=t((function(t,r){a(t,u,e,\"_i\"),t._t=e,t._i=d++,t._l=void 0,null!=r&&c(r,n,t[i],t)}));return r(u.prototype,{delete:function(t){if(!s(t))return!1;var n=o(t);return!0===n?v(h(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=o(t);return!0===n?v(h(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=o(i(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},\"sU/p\":function(t,e,n){var r=n(\"P56o\"),o=n(\"tjmq\"),i=n(\"ezc+\"),s=n(\"1Alt\")(\"src\"),a=n(\"JGfN\"),c=(\"\"+a).split(\"toString\");n(\"R5TD\").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u=\"function\"==typeof n;u&&(i(n,\"name\")||o(n,\"name\",e)),t[e]!==n&&(u&&(i(n,s)||o(n,s,t[e]?\"\"+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,\"toString\",(function(){return\"function\"==typeof this&&this[s]||a.call(this)}))},sdkr:function(t,e,n){var r=n(\"ml72\"),o=n(\"Sp5b\"),i=n(\"BUlT\");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=o(c.length),l=i(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},tjmq:function(t,e,n){var r=n(\"U1KF\"),o=n(\"WWmS\");t.exports=n(\"GGqZ\")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},wEu9:function(t,e){t.exports=!1},yLV6:function(t,e,n){var r;!function(o,i,s,a){\"use strict\";var c,u=[\"\",\"webkit\",\"Moz\",\"MS\",\"ms\",\"o\"],l=i.createElement(\"div\"),h=Math.round,f=Math.abs,p=Date.now;function d(t,e,n){return setTimeout(T(t,n),e)}function v(t,e,n){return!!Array.isArray(t)&&(g(t,n[e],n),!0)}function g(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function m(t,e,n){var r=\"DEPRECATED METHOD: \"+e+\"\\n\"+n+\" AT \\n\";return function(){var e=new Error(\"get-stack-trace\"),n=e&&e.stack?e.stack.replace(/^[^\\(]+?[\\n$]/gm,\"\").replace(/^\\s+at\\s+/gm,\"\").replace(/^Object.<anonymous>\\s*\\(/gm,\"{anonymous}()@\"):\"Unknown Stack Trace\",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),t.apply(this,arguments)}}c=\"function\"!=typeof Object.assign?function(t){if(null==t)throw new TypeError(\"Cannot convert undefined or null to object\");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}:Object.assign;var y=m((function(t,e,n){for(var r=Object.keys(e),o=0;o<r.length;)(!n||n&&void 0===t[r[o]])&&(t[r[o]]=e[r[o]]),o++;return t}),\"extend\",\"Use `assign`.\"),_=m((function(t,e){return y(t,e,!0)}),\"merge\",\"Use `assign`.\");function k(t,e,n){var r,o=e.prototype;(r=t.prototype=Object.create(o)).constructor=t,r._super=o,n&&c(r,n)}function T(t,e){return function(){return t.apply(e,arguments)}}function b(t,e){return\"function\"==typeof t?t.apply(e&&e[0]||void 0,e):t}function E(t,e){return void 0===t?e:t}function w(t,e,n){g(O(e),(function(e){t.addEventListener(e,n,!1)}))}function S(t,e,n){g(O(e),(function(e){t.removeEventListener(e,n,!1)}))}function P(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function x(t,e){return t.indexOf(e)>-1}function O(t){return t.trim().split(/\\s+/g)}function D(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function Z(t){return Array.prototype.slice.call(t,0)}function C(t,e,n){for(var r=[],o=[],i=0;i<t.length;){var s=e?t[i][e]:t[i];D(o,s)<0&&r.push(t[i]),o[i]=s,i++}return n&&(r=e?r.sort((function(t,n){return t[e]>n[e]})):r.sort()),r}function z(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),i=0;i<u.length;){if((r=(n=u[i])?n+o:e)in t)return r;i++}}var I=1;function A(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var j=\"ontouchstart\"in o,M=void 0!==z(o,\"PointerEvent\"),R=j&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=[\"x\",\"y\"],N=[\"clientX\",\"clientY\"];function L(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){b(t.options.enable,[t])&&n.handler(e)},this.init()}function U(t,e,n){var r=n.pointers.length,o=n.changedPointers.length,i=1&e&&r-o==0,s=12&e&&r-o==0;n.isFirst=!!i,n.isFinal=!!s,i&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,o=r.length;n.firstInput||(n.firstInput=q(e)),o>1&&!n.firstMultiple?n.firstMultiple=q(e):1===o&&(n.firstMultiple=!1);var i=n.firstInput,s=n.firstMultiple,a=s?s.center:i.center,c=e.center=H(r);e.timeStamp=p(),e.deltaTime=e.timeStamp-i.timeStamp,e.angle=V(a,c),e.distance=X(a,c),function(t,e){var n=e.center,r=t.offsetDelta||{},o=t.prevDelta||{},i=t.prevInput||{};1!==e.eventType&&4!==i.eventType||(o=t.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=o.x+(n.x-r.x),e.deltaY=o.y+(n.y-r.y)}(n,e),e.offsetDirection=G(e.deltaX,e.deltaY);var u,l,h=W(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=f(h.x)>f(h.y)?h.x:h.y,e.scale=s?(u=s.pointers,X((l=r)[0],l[1],N)/X(u[0],u[1],N)):1,e.rotation=s?function(t,e){return V(e[1],e[0],N)+V(t[1],t[0],N)}(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,o,i,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(8!=e.eventType&&(a>25||void 0===s.velocity)){var c=e.deltaX-s.deltaX,u=e.deltaY-s.deltaY,l=W(a,c,u);r=l.x,o=l.y,n=f(l.x)>f(l.y)?l.x:l.y,i=G(c,u),t.lastInterval=e}else n=s.velocity,r=s.velocityX,o=s.velocityY,i=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=o,e.direction=i}(n,e);var d=t.element;P(e.srcEvent.target,d)&&(d=e.srcEvent.target),e.target=d}(t,n),t.emit(\"hammer.input\",n),t.recognize(n),t.session.prevInput=n}function q(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:e,center:H(e),deltaX:t.deltaX,deltaY:t.deltaY}}function H(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,r=0,o=0;o<e;)n+=t[o].clientX,r+=t[o].clientY,o++;return{x:h(n/e),y:h(r/e)}}function W(t,e,n){return{x:e/t||0,y:n/t||0}}function G(t,e){return t===e?1:f(t)>=f(e)?t<0?2:4:e<0?8:16}function X(t,e,n){n||(n=F);var r=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(r*r+o*o)}function V(t,e,n){return n||(n=F),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}L.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(A(this.element),this.evWin,this.domHandler)}};var B={mousedown:1,mousemove:2,mouseup:4};function Y(){this.evEl=\"mousedown\",this.evWin=\"mousemove mouseup\",this.pressed=!1,L.apply(this,arguments)}k(Y,L,{handler:function(t){var e=B[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:\"mouse\",srcEvent:t}))}});var K={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},J={2:\"touch\",3:\"pen\",4:\"mouse\",5:\"kinect\"},$=\"pointerdown\",Q=\"pointermove pointerup pointercancel\";function tt(){this.evEl=$,this.evWin=Q,L.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&($=\"MSPointerDown\",Q=\"MSPointerMove MSPointerUp MSPointerCancel\"),k(tt,L,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace(\"ms\",\"\"),o=K[r],i=J[t.pointerType]||t.pointerType,s=\"touch\"==i,a=D(e,t.pointerId,\"pointerId\");1&o&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):12&o&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:i,srcEvent:t}),n&&e.splice(a,1))}});var et={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function nt(){this.evTarget=\"touchstart\",this.evWin=\"touchstart touchmove touchend touchcancel\",this.started=!1,L.apply(this,arguments)}function rt(t,e){var n=Z(t.touches),r=Z(t.changedTouches);return 12&e&&(n=C(n.concat(r),\"identifier\",!0)),[n,r]}k(nt,L,{handler:function(t){var e=et[t.type];if(1===e&&(this.started=!0),this.started){var n=rt.call(this,t,e);12&e&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:\"touch\",srcEvent:t})}}});var ot={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function it(){this.evTarget=\"touchstart touchmove touchend touchcancel\",this.targetIds={},L.apply(this,arguments)}function st(t,e){var n=Z(t.touches),r=this.targetIds;if(3&e&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,s=Z(t.changedTouches),a=[],c=this.target;if(i=n.filter((function(t){return P(t.target,c)})),1===e)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<s.length;)r[s[o].identifier]&&a.push(s[o]),12&e&&delete r[s[o].identifier],o++;return a.length?[C(i.concat(a),\"identifier\",!0),a]:void 0}function at(){L.apply(this,arguments);var t=T(this.handler,this);this.touch=new it(this.manager,t),this.mouse=new Y(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function ct(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,ut.call(this,e)):12&t&&ut.call(this,e)}function ut(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)}),2500)}}function lt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(e-o.x),s=Math.abs(n-o.y);if(i<=25&&s<=25)return!0}return!1}k(it,L,{handler:function(t){var e=ot[t.type],n=st.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:\"touch\",srcEvent:t})}}),k(at,L,{handler:function(t,e,n){var r=\"mouse\"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(\"touch\"==n.pointerType)ct.call(this,e,n);else if(r&&lt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ht=z(l.style,\"touchAction\"),ft=void 0!==ht,pt=function(){if(!ft)return!1;var t={},e=o.CSS&&o.CSS.supports;return[\"auto\",\"manipulation\",\"pan-y\",\"pan-x\",\"pan-x pan-y\",\"none\"].forEach((function(n){t[n]=!e||o.CSS.supports(\"touch-action\",n)})),t}();function dt(t,e){this.manager=t,this.set(e)}function vt(t){this.options=c({},this.defaults,t||{}),this.id=I++,this.manager=null,this.options.enable=E(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function gt(t){return 16&t?\"cancel\":8&t?\"end\":4&t?\"move\":2&t?\"start\":\"\"}function mt(t){return 16==t?\"down\":8==t?\"up\":2==t?\"left\":4==t?\"right\":\"\"}function yt(t,e){var n=e.manager;return n?n.get(t):t}function _t(){vt.apply(this,arguments)}function kt(){_t.apply(this,arguments),this.pX=null,this.pY=null}function Tt(){_t.apply(this,arguments)}function bt(){vt.apply(this,arguments),this._timer=null,this._input=null}function Et(){_t.apply(this,arguments)}function wt(){_t.apply(this,arguments)}function St(){vt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Pt(t,e){return(e=e||{}).recognizers=E(e.recognizers,Pt.defaults.preset),new xt(t,e)}function xt(t,e){var n;this.options=c({},Pt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(M?tt:R?it:j?at:Y))(n,U),this.touchAction=new dt(this,this.options.touchAction),Ot(this,!0),g(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Ot(t,e){var n,r=t.element;r.style&&(g(t.options.cssProps,(function(o,i){n=z(r.style,i),e?(t.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=t.oldCssProps[n]||\"\"})),e||(t.oldCssProps={}))}dt.prototype={set:function(t){\"compute\"==t&&(t=this.compute()),ft&&this.manager.element.style&&pt[t]&&(this.manager.element.style[ht]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return g(this.manager.recognizers,(function(e){b(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(x(t,\"none\"))return\"none\";var e=x(t,\"pan-x\"),n=x(t,\"pan-y\");return e&&n?\"none\":e||n?e?\"pan-x\":\"pan-y\":x(t,\"manipulation\")?\"manipulation\":\"auto\"}(t.join(\" \"))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,o=x(r,\"none\")&&!pt.none,i=x(r,\"pan-y\")&&!pt[\"pan-y\"],s=x(r,\"pan-x\")&&!pt[\"pan-x\"];if(o&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!s||!i)return o||i&&6&n||s&&24&n?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}},vt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,\"recognizeWith\",this))return this;var e=this.simultaneous;return e[(t=yt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,\"dropRecognizeWith\",this)?this:(t=yt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(v(t,\"requireFailure\",this))return this;var e=this.requireFail;return-1===D(e,t=yt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,\"dropRequireFailure\",this))return this;t=yt(t,this);var e=D(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function r(n){e.manager.emit(n,t)}n<8&&r(e.options.event+gt(n)),r(e.options.event),t.additionalEvent&&r(t.additionalEvent),n>=8&&r(e.options.event+gt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!b(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},k(_t,vt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=6&e,o=this.attrTest(t);return r&&(8&n||!o)?16|e:r||o?4&n?8|e:2&e?4|e:2:32}}),k(kt,_t,{defaults:{event:\"pan\",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push(\"pan-y\"),24&t&&e.push(\"pan-x\"),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,o=t.direction,i=t.deltaX,s=t.deltaY;return o&e.direction||(6&e.direction?(o=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(t.deltaX)):(o=0===s?1:s<0?8:16,n=s!=this.pY,r=Math.abs(t.deltaY))),t.direction=o,n&&r>e.threshold&&o&e.direction},attrTest:function(t){return _t.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=mt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),k(Tt,_t,{defaults:{event:\"pinch\",threshold:0,pointers:2},getTouchAction:function(){return[\"none\"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?\"in\":\"out\")),this._super.emit.call(this,t)}}),k(bt,vt,{defaults:{event:\"press\",pointers:1,time:251,threshold:9},getTouchAction:function(){return[\"auto\"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!r||!n||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=d((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+\"up\",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),k(Et,_t,{defaults:{event:\"rotate\",threshold:0,pointers:2},getTouchAction:function(){return[\"none\"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),k(wt,_t,{defaults:{event:\"swipe\",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return kt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&f(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=mt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),k(St,vt,{defaults:{event:\"tap\",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[\"manipulation\"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(r&&o&&n){if(4!=t.eventType)return this.failTimeout();var i=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||X(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&i?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=d((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=d((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Pt.VERSION=\"2.0.7\",Pt.defaults={domEvents:!1,touchAction:\"compute\",enable:!0,inputTarget:null,inputClass:null,preset:[[Et,{enable:!1}],[Tt,{enable:!1},[\"rotate\"]],[wt,{direction:6}],[kt,{direction:6},[\"swipe\"]],[St],[St,{event:\"doubletap\",taps:2},[\"tap\"]],[bt]],cssProps:{userSelect:\"none\",touchSelect:\"none\",touchCallout:\"none\",contentZooming:\"none\",userDrag:\"none\",tapHighlightColor:\"rgba(0,0,0,0)\"}},xt.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,o=e.curRecognizer;(!o||o&&8&o.state)&&(o=e.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&14&n.state&&(o=e.curRecognizer=n),i++}},get:function(t){if(t instanceof vt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(v(t,\"add\",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,\"remove\",this))return this;if(t=this.get(t)){var e=this.recognizers,n=D(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(void 0!==t&&void 0!==e){var n=this.handlers;return g(O(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(void 0!==t){var n=this.handlers;return g(O(t),(function(t){e?n[t]&&n[t].splice(D(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=i.createEvent(\"Event\");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&Ot(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Pt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:xt,Input:L,TouchAction:dt,TouchInput:it,MouseInput:Y,PointerEventInput:tt,TouchMouseInput:at,SingleTouchInput:nt,Recognizer:vt,AttrRecognizer:_t,Tap:St,Pan:kt,Swipe:wt,Pinch:Tt,Rotate:Et,Press:bt,on:w,off:S,each:g,merge:_,extend:y,assign:c,inherit:k,bindFn:T,prefixed:z}),(void 0!==o?o:\"undefined\"!=typeof self?self:{}).Hammer=Pt,void 0===(r=(function(){return Pt}).call(e,n,e,t))||(t.exports=r)}(window,document)},\"zIP/\":function(t,e,n){var r=n(\"1Alt\")(\"meta\"),o=n(\"Bsg+\"),i=n(\"ezc+\"),s=n(\"U1KF\").f,a=0,c=Object.isExtensible||function(){return!0},u=!n(\"E7Vc\")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:\"O\"+ ++a,w:{}}})},h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return\"symbol\"==typeof t?t:(\"string\"==typeof t?\"S\":\"P\")+t;if(!i(t,r)){if(!c(t))return\"F\";if(!e)return\"E\";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return u&&h.NEED&&c(t)&&!i(t,r)&&l(t),t}}},zlqh:function(t,e,n){var r=n(\"9dxi\")(\"iterator\"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(s){}return n}},zx98:function(t,e,n){\"use strict\";var r=n(\"XQta\"),o=n(\"SsG5\");t.exports=n(\"AkS8\")(\"Map\",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,\"Map\"),t);return e&&e.v},set:function(t,e){return r.def(o(this,\"Map\"),0===t?0:t,e)}},r,!0)}}"},{"uri":"http://juice-shop.demo-targets.svc:3000/vendor-es2015.js","method":"GET","evidence":"class t{constructor(t){this.template=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkCellDef\",\"\"]]}),t})(),_=(()=>{class t{constructor(t){this.template=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkHeaderCellDef\",\"\"]]}),t})(),y=(()=>{class t{constructor(t){this.template=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkFooterCellDef\",\"\"]]}),t})();class v{}const w=g(v);let x=(()=>{class t extends w{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,\"-\"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}return t.\\u0275fac=function(e){return C(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkColumnDef\",\"\"]],contentQueries:function(t,e,n){var i;1&t&&(s.Jb(n,b,!0),s.Jb(n,_,!0),s.Jb(n,y,!0)),2&t&&(s.vc(i=s.fc())&&(e.cell=i.first),s.vc(i=s.fc())&&(e.headerCell=i.first),s.vc(i=s.fc())&&(e.footerCell=i.first))},inputs:{sticky:\"sticky\",name:[\"cdkColumnDef\",\"name\"],stickyEnd:\"stickyEnd\"},features:[s.Cb([{provide:\"MAT_SORT_HEADER_COLUMN_DEF\",useExisting:t}]),s.Ab]}),t})();const C=s.Yb(x);class k{constructor(t,e){e.nativeElement.classList.add(`cdk-column-${t.cssClassFriendlyName}`)}}let O=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"cdk-header-cell\"],[\"th\",\"cdk-header-cell\",\"\"]],hostAttrs:[\"role\",\"columnheader\",1,\"cdk-header-cell\"],features:[s.Ab]}),t})(),S=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"cdk-footer-cell\"],[\"td\",\"cdk-footer-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"cdk-footer-cell\"],features:[s.Ab]}),t})(),M=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"cdk-cell\"],[\"td\",\"cdk-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"cdk-cell\"],features:[s.Ab]}),t})(),P=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof D?t.headerCell.template:this instanceof I?t.footerCell.template:t.cell.template}}return t.\\u0275fac=function(t){s.dc()},t.\\u0275dir=s.Lb({type:t,features:[s.Bb()]}),t})();class E extends P{}const A=g(E);let D=(()=>{class t extends A{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M),s.Qb(s.t))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkHeaderRowDef\",\"\"]],inputs:{columns:[\"cdkHeaderRowDef\",\"columns\"],sticky:[\"cdkHeaderRowDefSticky\",\"sticky\"]},features:[s.Ab,s.Bb()]}),t})();class R extends P{}const T=g(R);let I=(()=>{class t extends T{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M),s.Qb(s.t))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkFooterRowDef\",\"\"]],inputs:{columns:[\"cdkFooterRowDef\",\"columns\"],sticky:[\"cdkFooterRowDefSticky\",\"sticky\"]},features:[s.Ab,s.Bb()]}),t})(),j=(()=>{class t extends P{constructor(t,e){super(t,e)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.M),s.Qb(s.t))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkRowDef\",\"\"]],inputs:{columns:[\"cdkRowDefColumns\",\"columns\"],when:[\"cdkRowDefWhen\",\"when\"]},features:[s.Ab]}),t})(),L=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"cdkCellOutlet\",\"\"]]}),t.mostRecentCellOutlet=null,t})(),F=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-header-row\"],[\"tr\",\"cdk-header-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"cdk-header-row\"],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})(),N=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-footer-row\"],[\"tr\",\"cdk-footer-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"cdk-footer-row\"],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})(),V=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-row\"],[\"tr\",\"cdk-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"cdk-row\"],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const z=[\"top\",\"bottom\",\"left\",\"right\"];class B{constructor(t,e,n,i=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._isBrowser=i}clearStickyPositioning(t,e){for(const n of t)if(n.nodeType===n.ELEMENT_NODE){this._removeStickyStyle(n,e);for(let t=0;t<n.children.length;t++)this._removeStickyStyle(n.children[t],e)}}updateStickyColumns(t,e,n){const i=e.some(t=>t)||n.some(t=>t);if(!t.length||!i||!this._isBrowser)return;const r=t[0],s=r.children.length,a=this._getCellWidths(r),o=this._getStickyStartColumnPositions(a,e),l=this._getStickyEndColumnPositions(a,n),c=\"rtl\"===this.direction;for(const h of t)for(let t=0;t<s;t++){const i=h.children[t];e[t]&&this._addStickyStyle(i,c?\"right\":\"left\",o[t]),n[t]&&this._addStickyStyle(i,c?\"left\":\"right\",l[t])}}stickRows(t,e,n){if(!this._isBrowser)return;const i=\"bottom\"===n?t.reverse():t;let r=0;for(let s=0;s<i.length;s++){if(!e[s])continue;const t=i[s];if(this._isNativeHtmlTable)for(let e=0;e<t.children.length;e++)this._addStickyStyle(t.children[e],n,r);else this._addStickyStyle(t,n,r);if(s===i.length-1)return;r+=t.getBoundingClientRect().height}}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector(\"tfoot\");e.some(t=>!t)?this._removeStickyStyle(n,[\"bottom\"]):this._addStickyStyle(n,\"bottom\",0)}_removeStickyStyle(t,e){for(const n of e)t.style[n]=\"\";t.style.zIndex=this._getCalculatedZIndex(t),z.some(e=>!!t.style[e])||(t.style.position=\"\",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=`${n}px`,t.style.cssText+=\"position: -webkit-sticky; position: sticky; \",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of z)t.style[i]&&(n+=e[i]);return n?`${n}`:\"\"}_getCellWidths(t){const e=[],n=t.children;for(let i=0;i<n.length;i++)e.push(n[i].getBoundingClientRect().width);return e}_getStickyStartColumnPositions(t,e){const n=[];let i=0;for(let r=0;r<t.length;r++)e[r]&&(n[r]=i,i+=t[r]);return n}_getStickyEndColumnPositions(t,e){const n=[];let i=0;for(let r=t.length;r>0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}}function H(t){return Error(`Could not find column with id \"${t}\".`)}let U=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"rowOutlet\",\"\"]]}),t})(),q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"headerRowOutlet\",\"\"]]}),t})(),Q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"footerRowOutlet\",\"\"]]}),t})(),W=(()=>{class t{constructor(t,e,n,i,r,s,a){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=a,this._onDestroy=new c.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass=\"cdk-table-sticky\",this._multiTemplateDataRows=!1,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute(\"role\",\"grid\"),this._document=s,this._isNativeHtmlTable=\"TABLE\"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){Object(s.X)()&&null!=t&&\"function\"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error(\"Missing definitions for header, footer, and row; cannot determine which columns should be rendered.\");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,n,i)=>{if(null==t.previousIndex)this._insertRow(t.item,i);else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector(\"thead\");e&&(e.style.display=t.length?\"\":\"none\");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,[\"top\"]),this._stickyStyler.stickRows(t,n,\"top\"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector(\"tfoot\");e&&(e.style.display=t.length?\"\":\"none\");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,[\"bottom\"]),this._stickyStyler.stickRows(t,n,\"bottom\"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...t,...e,...n],[\"left\",\"right\"]),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i<e.length;i++)this._renderRows[i].rowDef===t&&n.push(e[i]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let i=this._data[n];const r=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(let e=0;e<r.length;e++){let n=r[e];const i=this._cachedRenderRowsMap.get(n.data);i.has(n.rowDef)?i.get(n.rowDef).push(n):i.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(i=>{const r=n&&n.has(i)?n.get(i):[];if(r.length){const t=r.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Y(this._contentColumnDefs,this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: \"${t.name}\".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Y(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=Y(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=Y(this._contentRowDefs,this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error(\"There can only be one default row without a when predicate function.\");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;if(Object(r.e)(this.dataSource)?t=this.dataSource.connect(this):Object(d.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error(\"Provided data source did not match an array, Observable, or DataSource\");this._renderChangeSubscription=t.pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw H(t);return e}),i=n.map(t=>t.sticky),r=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,r)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}if(!n.length)throw function(t){return Error(\"Could not find a matching row definition for the\"+`provided row data: ${JSON.stringify(t)}`)}(t);return n}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,n,i={}){t.viewContainer.createEmbeddedView(e.template,i,n);for(let r of this._getCellTemplates(e))L.mostRecentCellOutlet&&L.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);if(!n)throw H(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:\"thead\",outlet:this._headerRowOutlet},{tag:\"tbody\",outlet:this._rowOutlet},{tag:\"tfoot\",outlet:this._footerRowOutlet}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute(\"role\",\"rowgroup\"),e.appendChild(n.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new B(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:\"ltr\",this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.t),s.Qb(s.h),s.Qb(s.l),s.bc(\"role\"),s.Qb(a.b,8),s.Qb(l.d),s.Qb(o.a))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"cdk-table\"],[\"table\",\"cdk-table\",\"\"]],contentQueries:function(t,e,n){var i;1&t&&(s.Jb(n,x,!0),s.Jb(n,j,!0),s.Jb(n,D,!0),s.Jb(n,I,!0)),2&t&&(s.vc(i=s.fc())&&(e._contentColumnDefs=i),s.vc(i=s.fc())&&(e._contentRowDefs=i),s.vc(i=s.fc())&&(e._contentHeaderRowDefs=i),s.vc(i=s.fc())&&(e._contentFooterRowDefs=i))},viewQuery:function(t,e){var n;1&t&&(s.Fc(U,!0),s.Fc(q,!0),s.Fc(Q,!0)),2&t&&(s.vc(n=s.fc())&&(e._rowOutlet=n.first),s.vc(n=s.fc())&&(e._headerRowOutlet=n.first),s.vc(n=s.fc())&&(e._footerRowOutlet=n.first))},hostAttrs:[1,\"cdk-table\"],inputs:{trackBy:\"trackBy\",dataSource:\"dataSource\",multiTemplateDataRows:\"multiTemplateDataRows\"},exportAs:[\"cdkTable\"],ngContentSelectors:f,decls:4,vars:0,consts:[[\"headerRowOutlet\",\"\"],[\"rowOutlet\",\"\"],[\"footerRowOutlet\",\"\"]],template:function(t,e){1&t&&(s.nc(m),s.mc(0),s.Sb(1,0),s.Sb(2,1),s.Sb(3,2))},directives:[q,U,Q],encapsulation:2}),t})();function Y(t,e){return t.toArray().concat(Array.from(e))}let $=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)}}),t})();var G=n(\"FKr1\"),X=n(\"quSY\"),K=n(\"VRyK\"),Z=n(\"itXk\"),J=n(\"lJxs\");n.d(e,\"a\",(function(){return mt})),n.d(e,\"b\",(function(){return rt})),n.d(e,\"c\",(function(){return ht})),n.d(e,\"d\",(function(){return pt})),n.d(e,\"e\",(function(){return lt})),n.d(e,\"f\",(function(){return Ct})),n.d(e,\"g\",(function(){return bt})),n.d(e,\"h\",(function(){return ut})),n.d(e,\"i\",(function(){return at})),n.d(e,\"j\",(function(){return wt})),n.d(e,\"k\",(function(){return ft})),n.d(e,\"l\",(function(){return Ot})),n.d(e,\"m\",(function(){return yt})),n.d(e,\"n\",(function(){return nt})),n.d(e,\"o\",(function(){return Pt})),n.d(e,\"p\",(function(){return Mt}));const tt=[[[\"caption\"]]],et=[\"caption\"];let nt=(()=>{class t extends W{constructor(){super(...arguments),this.stickyCssClass=\"mat-table-sticky\"}}return t.\\u0275fac=function(e){return it(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-table\"],[\"table\",\"mat-table\",\"\"]],hostAttrs:[1,\"mat-table\"],exportAs:[\"matTable\"],features:[s.Cb([{provide:W,useExisting:t}]),s.Ab],ngContentSelectors:et,decls:4,vars:0,consts:[[\"headerRowOutlet\",\"\"],[\"rowOutlet\",\"\"],[\"footerRowOutlet\",\"\"]],template:function(t,e){1&t&&(s.nc(tt),s.mc(0),s.Sb(1,0),s.Sb(2,1),s.Sb(3,2))},directives:[q,U,Q],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:\"\"}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\\n'],encapsulation:2}),t})();const it=s.Yb(nt);let rt=(()=>{class t extends b{}return t.\\u0275fac=function(e){return st(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matCellDef\",\"\"]],features:[s.Cb([{provide:b,useExisting:t}]),s.Ab]}),t})();const st=s.Yb(rt);let at=(()=>{class t extends _{}return t.\\u0275fac=function(e){return ot(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matHeaderCellDef\",\"\"]],features:[s.Cb([{provide:_,useExisting:t}]),s.Ab]}),t})();const ot=s.Yb(at);let lt=(()=>{class t extends y{}return t.\\u0275fac=function(e){return ct(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matFooterCellDef\",\"\"]],features:[s.Cb([{provide:y,useExisting:t}]),s.Ab]}),t})();const ct=s.Yb(lt);let ht=(()=>{class t extends x{}return t.\\u0275fac=function(e){return dt(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matColumnDef\",\"\"]],inputs:{sticky:\"sticky\",name:[\"matColumnDef\",\"name\"]},features:[s.Cb([{provide:x,useExisting:t},{provide:\"MAT_SORT_HEADER_COLUMN_DEF\",useExisting:t}]),s.Ab]}),t})();const dt=s.Yb(ht);let ut=(()=>{class t extends O{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-header-cell\"],[\"th\",\"mat-header-cell\",\"\"]],hostAttrs:[\"role\",\"columnheader\",1,\"mat-header-cell\"],features:[s.Ab]}),t})(),pt=(()=>{class t extends S{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-footer-cell\"],[\"td\",\"mat-footer-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"mat-footer-cell\"],features:[s.Ab]}),t})(),mt=(()=>{class t extends M{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(x),s.Qb(s.l))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-cell\"],[\"td\",\"mat-cell\",\"\"]],hostAttrs:[\"role\",\"gridcell\",1,\"mat-cell\"],features:[s.Ab]}),t})(),ft=(()=>{class t extends D{}return t.\\u0275fac=function(e){return gt(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matHeaderRowDef\",\"\"]],inputs:{columns:[\"matHeaderRowDef\",\"columns\"],sticky:[\"matHeaderRowDefSticky\",\"sticky\"]},features:[s.Cb([{provide:D,useExisting:t}]),s.Ab]}),t})();const gt=s.Yb(ft);let bt=(()=>{class t extends I{}return t.\\u0275fac=function(e){return _t(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matFooterRowDef\",\"\"]],inputs:{columns:[\"matFooterRowDef\",\"columns\"],sticky:[\"matFooterRowDefSticky\",\"sticky\"]},features:[s.Cb([{provide:I,useExisting:t}]),s.Ab]}),t})();const _t=s.Yb(bt);let yt=(()=>{class t extends j{}return t.\\u0275fac=function(e){return vt(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"matRowDef\",\"\"]],inputs:{columns:[\"matRowDefColumns\",\"columns\"],when:[\"matRowDefWhen\",\"when\"]},features:[s.Cb([{provide:j,useExisting:t}]),s.Ab]}),t})();const vt=s.Yb(yt);let wt=(()=>{class t extends F{}return t.\\u0275fac=function(e){return xt(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-header-row\"],[\"tr\",\"mat-header-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"mat-header-row\"],exportAs:[\"matHeaderRow\"],features:[s.Cb([{provide:F,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const xt=s.Yb(wt);let Ct=(()=>{class t extends N{}return t.\\u0275fac=function(e){return kt(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-footer-row\"],[\"tr\",\"mat-footer-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"mat-footer-row\"],exportAs:[\"matFooterRow\"],features:[s.Cb([{provide:N,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const kt=s.Yb(Ct);let Ot=(()=>{class t extends V{}return t.\\u0275fac=function(e){return St(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-row\"],[\"tr\",\"mat-row\",\"\"]],hostAttrs:[\"role\",\"row\",1,\"mat-row\"],exportAs:[\"matRow\"],features:[s.Cb([{provide:V,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[[\"cdkCellOutlet\",\"\"]],template:function(t,e){1&t&&s.Sb(0,0)},directives:[L],encapsulation:2}),t})();const St=s.Yb(Ot);let Mt=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[$,G.f]]}),t})();class Pt extends r.b{constructor(t=[]){super(),this._renderData=new h.a([]),this._filter=new h.a(\"\"),this._internalPageChanges=new c.a,this._renderChangesSubscription=X.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(i.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,i=e.direction;return n&&\"\"!=i?t.sort((t,e)=>{let r=this.sortingDataAccessor(t,n),s=this.sortingDataAccessor(e,n),a=0;return null!=r&&null!=s?r>s?a=1:r<s&&(a=-1):null!=r?a=1:null!=s&&(a=-1),a*(\"asc\"==i?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+\"\\u25ec\",\"\").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new h.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(K.a)(this._sort.sortChange,this._sort.initialized):Object(u.a)(null),e=this._paginator?Object(K.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(u.a)(null),n=this._data,i=Object(Z.a)([n,this._filter]).pipe(Object(J.a)(([t])=>this._filterData(t))),r=Object(Z.a)([i,t]).pipe(Object(J.a)(([t])=>this._orderData(t))),s=Object(Z.a)([r,e]).pipe(Object(J.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},\"+SKG\":function(t,e){t.exports=function(t){return n&&Buffer.isBuffer(t)||i&&(t instanceof ArrayBuffer||function(t){return\"function\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))};var n=\"function\"==typeof Buffer&&\"function\"==typeof Buffer.isBuffer,i=\"function\"==typeof ArrayBuffer},\"+rOU\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return u})),n.d(e,\"c\",(function(){return o})),n.d(e,\"d\",(function(){return d})),n.d(e,\"e\",(function(){return m})),n.d(e,\"f\",(function(){return p})),n.d(e,\"g\",(function(){return l}));var i=n(\"fXoL\"),r=n(\"ofXK\");function s(){throw Error(\"Host already has a portal attached\")}class a{attach(t){return null==t&&function(){throw Error(\"Attempting to attach a portal to a null PortalOutlet\")}(),t.hasAttached()&&s(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error(\"Attempting to detach a portal that is not attached to a host\")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends a{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class l extends a{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class c extends a{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class h{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error(\"Must provide a portal to attach\")}(),this.hasAttached()&&s(),this._isDisposed&&function(){throw Error(\"This PortalOutlet has already been disposed\")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof l?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof c?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error(\"Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.\")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class d extends h{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{if(!this._document)throw Error(\"Cannot attach DOM portal without _document constructor parameter\");const e=t.element;if(!e.parentNode)throw Error(\"DOM portal content must be attached to a parent node.\");const n=this._document.createComment(\"dom-portal\");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let u=(()=>{class t extends h{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{if(!this._document)throw Error(\"Cannot attach DOM portal without _document constructor parameter\");const e=t.element;if(!e.parentNode)throw Error(\"DOM portal content must be attached to a parent node.\");const n=this._document.createComment(\"dom-portal\");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.j),i.Qb(i.P),i.Qb(r.d))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"cdkPortalOutlet\",\"\"]],inputs:{portal:[\"cdkPortalOutlet\",\"portal\"]},outputs:{attached:\"attached\"},exportAs:[\"cdkPortalOutlet\"],features:[i.Ab]}),t})(),p=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();class m{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},\"/t3+\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u})),n.d(e,\"b\",(function(){return p})),n.d(e,\"c\",(function(){return d}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"ofXK\"),a=n(\"nLfN\");const o=[\"*\",[[\"mat-toolbar-row\"]]],l=[\"*\",\"mat-toolbar-row\"];class c{constructor(t){this._elementRef=t}}const h=Object(r.t)(c);let d=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-toolbar-row\"]],hostAttrs:[1,\"mat-toolbar-row\"],exportAs:[\"matToolbarRow\"]}),t})(),u=(()=>{class t extends h{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){Object(i.X)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains(\"mat-toolbar-row\"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error(\"MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.\")}()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(a.a),i.Qb(s.d))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-toolbar\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,d,!0),2&t&&i.vc(r=i.fc())&&(e._toolbarRows=r)},hostAttrs:[1,\"mat-toolbar\"],hostVars:4,hostBindings:function(t,e){2&t&&i.Hb(\"mat-toolbar-multiple-rows\",e._toolbarRows.length>0)(\"mat-toolbar-single-row\",0===e._toolbarRows.length)},inputs:{color:\"color\"},exportAs:[\"matToolbar\"],features:[i.Ab],ngContentSelectors:l,decls:2,vars:0,template:function(t,e){1&t&&(i.nc(o),i.mc(0),i.mc(1,1))},styles:[\".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\\n\"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},\"/uUt\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))}}class a extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,\"function\"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},\"0EQZ\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c})),n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return h})),n.d(e,\"d\",(function(){return d})),n.d(e,\"e\",(function(){return l}));var i=n(\"7+OI\"),r=n(\"LRne\"),s=n(\"XNiG\"),a=n(\"fXoL\");class o{}function l(t){return t&&\"function\"==typeof t.connect}class c extends o{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}class h{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple)throw Error(\"Cannot pass multiple values into SelectionModel with single-value mode.\")}}let d=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(a.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})()},\"0EUg\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"bHdf\");function r(){return Object(i.a)(1)}},\"0IaG\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return O})),n.d(e,\"b\",(function(){return E})),n.d(e,\"c\",(function(){return R})),n.d(e,\"d\",(function(){return A})),n.d(e,\"e\",(function(){return D})),n.d(e,\"f\",(function(){return T})),n.d(e,\"g\",(function(){return k}));var i=n(\"rDax\"),r=n(\"+rOU\"),s=n(\"fXoL\"),a=n(\"FKr1\"),o=n(\"cH1L\"),l=n(\"ofXK\"),c=n(\"XNiG\"),h=n(\"NXyV\"),d=n(\"LRne\"),u=n(\"pLZG\"),p=n(\"IzEk\"),m=n(\"JX91\"),f=n(\"R0Ic\"),g=n(\"FtGj\"),b=n(\"u47x\");function _(t,e){}class y{constructor(){this.role=\"dialog\",this.panelClass=\"\",this.hasBackdrop=!0,this.backdropClass=\"\",this.disableClose=!1,this.width=\"\",this.height=\"\",this.maxWidth=\"80vw\",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const v={dialogContainer:Object(f.p)(\"dialogContainer\",[Object(f.m)(\"void, exit\",Object(f.n)({opacity:0,transform:\"scale(0.7)\"})),Object(f.m)(\"enter\",Object(f.n)({transform:\"none\"})),Object(f.o)(\"* => enter\",Object(f.e)(\"150ms cubic-bezier(0, 0, 0.2, 1)\",Object(f.n)({transform:\"none\",opacity:1}))),Object(f.o)(\"* => void, * => exit\",Object(f.e)(\"75ms cubic-bezier(0.4, 0.0, 0.2, 1)\",Object(f.n)({opacity:0})))])};function w(){throw Error(\"Attempting to attach dialog content after content is already attached\")}let x=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=r,this._elementFocusedBeforeDialogWasOpened=null,this._state=\"enter\",this._animationStateChanged=new s.o,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&w(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&w(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&w(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&\"function\"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){\"enter\"===t.toState?this._trapFocus():\"exit\"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state=\"exit\",this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(b.i),s.Qb(s.h),s.Qb(l.d,8),s.Qb(y))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-dialog-container\"]],viewQuery:function(t,e){var n;1&t&&s.Fc(r.b,!0),2&t&&s.vc(n=s.fc())&&(e._portalOutlet=n.first)},hostAttrs:[\"tabindex\",\"-1\",\"aria-modal\",\"true\",1,\"mat-dialog-container\"],hostVars:6,hostBindings:function(t,e){1&t&&s.Ib(\"@dialogContainer.start\",(function(t){return e._onAnimationStart(t)}))(\"@dialogContainer.done\",(function(t){return e._onAnimationDone(t)})),2&t&&(s.Eb(\"id\",e._id)(\"role\",e._config.role)(\"aria-labelledby\",e._config.ariaLabel?null:e._ariaLabelledBy)(\"aria-label\",e._config.ariaLabel)(\"aria-describedby\",e._config.ariaDescribedBy||null),s.Oc(\"@dialogContainer\",e._state))},features:[s.Ab],decls:1,vars:0,consts:[[\"cdkPortalOutlet\",\"\"]],template:function(t,e){1&t&&s.Hc(0,_,0,0,\"ng-template\",0)},directives:[r.b],styles:[\".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\\n\"],encapsulation:2,data:{animation:[v.dialogContainer]}}),t})(),C=0;class k{constructor(t,e,n=`mat-dialog-${C++}`){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(u.a)(t=>\"done\"===t.phaseName&&\"enter\"===t.toState),Object(p.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>\"done\"===t.phaseName&&\"exit\"===t.toState),Object(p.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===g.e&&!this.disableClose&&!Object(g.q)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>\"start\"===t.phaseName),Object(p.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t=\"\",e=\"\"){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const O=new s.r(\"MatDialogData\"),S=new s.r(\"mat-dialog-default-options\"),M=new s.r(\"mat-dialog-scroll-strategy\"),P={provide:M,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let E=(()=>{class t{constructor(t,e,n,i,r,s,a){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(h.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(m.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id))throw Error(`Dialog with id \"${e.id}\" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new r.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[y,e]])),i=new r.c(x,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const a=new k(n,e,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe(()=>{a.disableClose||a.close()}),t instanceof s.M)e.attachTemplatePortal(new r.g(t,null,{$implicit:i.data,dialogRef:a}));else{const n=this._createInjector(i,a,e),s=e.attachComponentPortal(new r.c(t,i.viewContainerRef,n));a.componentInstance=s.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=new WeakMap([[x,n],[O,t.data],[k,e]]);return!t.direction||i&&i.get(o.b,null)||s.set(o.b,{value:t.direction,change:Object(d.a)()}),new r.e(i||this._injector,s)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute(\"aria-hidden\",t):e.removeAttribute(\"aria-hidden\")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||\"SCRIPT\"===i.nodeName||\"STYLE\"===i.nodeName||i.hasAttribute(\"aria-live\")||(this._ariaHiddenElements.set(i,i.getAttribute(\"aria-hidden\")),i.setAttribute(\"aria-hidden\",\"true\"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\\u0275fac=function(e){return new(e||t)(s.ac(i.c),s.ac(s.s),s.ac(l.g,8),s.ac(S,8),s.ac(M),s.ac(t,12),s.ac(i.e))},t.\\u0275prov=s.Mb({token:t,factory:t.\\u0275fac}),t})(),A=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type=\"button\"}ngOnInit(){this.dialogRef||(this.dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains(\"mat-dialog-container\");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(k,8),s.Qb(s.l),s.Qb(E))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-dialog-close\",\"\"],[\"\",\"matDialogClose\",\"\"]],hostVars:2,hostBindings:function(t,e){1&t&&s.ec(\"click\",(function(){return e.dialogRef.close(e.dialogResult)})),2&t&&s.Eb(\"aria-label\",e.ariaLabel||null)(\"type\",e.type)},inputs:{type:\"type\",dialogResult:[\"mat-dialog-close\",\"dialogResult\"],ariaLabel:[\"aria-label\",\"ariaLabel\"],_matDialogClose:[\"matDialogClose\",\"_matDialogClose\"]},exportAs:[\"matDialogClose\"],features:[s.Bb()]}),t})(),D=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-dialog-content\",\"\"],[\"mat-dialog-content\"],[\"\",\"matDialogContent\",\"\"]],hostAttrs:[1,\"mat-dialog-content\"]}),t})(),R=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-dialog-actions\",\"\"],[\"mat-dialog-actions\"],[\"\",\"matDialogActions\",\"\"]],hostAttrs:[1,\"mat-dialog-actions\"]}),t})(),T=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[E,P],imports:[[i.f,r.f,a.f],a.f]}),t})()},\"0MNC\":function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"nLfN\"),s=n(\"XNiG\"),a=n(\"itXk\"),o=n(\"GyhO\"),l=n(\"HDdC\"),c=n(\"IzEk\"),h=n(\"7o/Q\");class d{constructor(t){this.total=t}call(t,e){return e.subscribe(new u(t,this.total))}}class u extends h.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=n(\"Kj3r\"),m=n(\"lJxs\"),f=n(\"JX91\"),g=n(\"1G5W\"),b=n(\"8LU1\");n.d(e,\"a\",(function(){return C})),n.d(e,\"b\",(function(){return O})),n.d(e,\"c\",(function(){return _}));let _=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();const y=new Set;let v,w=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):x}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!y.has(t))try{v||(v=document.createElement(\"style\"),v.setAttribute(\"type\",\"text/css\"),document.head.appendChild(v)),v.sheet&&(v.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),y.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(r.a))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(r.a))},token:t,providedIn:\"root\"}),t})();function x(t){return{matches:\"all\"===t||\"\"===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new s.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return k(Object(b.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=k(Object(b.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(a.a)(e);return n=Object(o.a)(n.pipe(Object(c.a)(1)),n.pipe(t=>t.lift(new d(1)),Object(p.a)(0))),n.pipe(Object(m.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(f.a)(e),Object(m.a)(e=>({query:t,matches:e.matches})),Object(g.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(w),i.ac(i.A))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(w),Object(i.ac)(i.A))},token:t,providedIn:\"root\"}),t})();function k(t){return t.map(t=>t.split(\",\")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const O={XSmall:\"(max-width: 599.99px)\",Small:\"(min-width: 600px) and (max-width: 959.99px)\",Medium:\"(min-width: 960px) and (max-width: 1279.99px)\",Large:\"(min-width: 1280px) and (max-width: 1919.99px)\",XLarge:\"(min-width: 1920px)\",Handset:\"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)\",Tablet:\"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)\",Web:\"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)\",HandsetPortrait:\"(max-width: 599.99px) and (orientation: portrait)\",TabletPortrait:\"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)\",WebPortrait:\"(min-width: 840px) and (orientation: portrait)\",HandsetLandscape:\"(max-width: 959.99px) and (orientation: landscape)\",TabletLandscape:\"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)\",WebLandscape:\"(min-width: 1280px) and (orientation: landscape)\"}},\"0z79\":function(t,e,n){var i=n(\"AdPF\"),r=n(\"CUme\"),s=n(\"1Mk5\"),a=n(\"Yvos\"),o=n(\"NOtv\")(\"engine.io-client:polling-xhr\");function l(){}function c(t){if(r.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,\"undefined\"!=typeof location){var e=\"https:\"===location.protocol,n=location.port;n||(n=e?443:80),this.xd=\"undefined\"!=typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function h(t){this.method=t.method||\"GET\",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(t.exports=c,t.exports.Request=h,a(c,r),c.prototype.supportsBinary=!0,c.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new h(t)},c.prototype.doWrite=function(t,e){var n=this.request({method:\"POST\",data:t,isBinary:\"string\"!=typeof t&&void 0!==t}),i=this;n.on(\"success\",e),n.on(\"error\",(function(t){i.onError(\"xhr post error\",t)})),this.sendXhr=n},c.prototype.doPoll=function(){o(\"xhr poll\");var t=this.request(),e=this;t.on(\"data\",(function(t){e.onData(t)})),t.on(\"error\",(function(t){e.onError(\"xhr poll error\",t)})),this.pollXhr=t},s(h.prototype),h.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new i(t),n=this;try{o(\"xhr open %s: %s\",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&e.setRequestHeader(r,this.extraHeaders[r])}catch(s){}if(\"POST\"===this.method)try{e.setRequestHeader(\"Content-type\",this.isBinary?\"application/octet-stream\":\"text/plain;charset=UTF-8\")}catch(s){}try{e.setRequestHeader(\"Accept\",\"*/*\")}catch(s){}\"withCredentials\"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader(\"Content-Type\");(n.supportsBinary&&\"application/octet-stream\"===t||\"application/octet-stream; charset=UTF-8\"===t)&&(e.responseType=\"arraybuffer\")}catch(s){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout((function(){n.onError(\"number\"==typeof e.status?e.status:0)}),0))},o(\"xhr data %s\",this.data),e.send(this.data)}catch(s){return void setTimeout((function(){n.onError(s)}),0)}\"undefined\"!=typeof document&&(this.index=h.requestsCount++,h.requests[this.index]=this)},h.prototype.onSuccess=function(){this.emit(\"success\"),this.cleanup()},h.prototype.onData=function(t){this.emit(\"data\",t),this.onSuccess()},h.prototype.onError=function(t){this.emit(\"error\",t),this.cleanup(!0)},h.prototype.cleanup=function(t){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,t)try{this.xhr.abort()}catch(e){}\"undefined\"!=typeof document&&delete h.requests[this.index],this.xhr=null}},h.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader(\"Content-Type\")}catch(n){}t=(\"application/octet-stream\"===e||\"application/octet-stream; charset=UTF-8\"===e)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=t&&this.onData(t)},h.prototype.hasXDR=function(){return\"undefined\"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},h.prototype.abort=function(){this.cleanup()},h.requestsCount=0,h.requests={},\"undefined\"!=typeof document)if(\"function\"==typeof attachEvent)attachEvent(\"onunload\",u);else if(\"function\"==typeof addEventListener){var d=\"onpagehide\"in self?\"pagehide\":\"unload\";addEventListener(d,u,!1)}function u(){for(var t in h.requests)h.requests.hasOwnProperty(t)&&h.requests[t].abort()}},\"14A5\":function(t,e){var n=void 0!==n?n:\"undefined\"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:\"undefined\"!=typeof MSBlobBuilder?MSBlobBuilder:\"undefined\"!=typeof MozBlobBuilder&&MozBlobBuilder,i=function(){try{return 2===new Blob([\"hi\"]).size}catch(t){return!1}}(),r=i&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),s=n&&n.prototype.append&&n.prototype.getBlob;function a(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function o(t,e){e=e||{};var i=new n;return a(t).forEach((function(t){i.append(t)})),e.type?i.getBlob(e.type):i.getBlob()}function l(t,e){return new Blob(a(t),e||{})}\"undefined\"!=typeof Blob&&(o.prototype=Blob.prototype,l.prototype=Blob.prototype),t.exports=i?r?Blob:l:s?o:void 0},\"1G5W\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"l7GE\"),r=n(\"ZUHj\");function s(t){return e=>e.lift(new a(t))}class a{constructor(t){this.notifier=t}call(t,e){const n=new o(t),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class o extends i.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},\"1Mk5\":function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[\"$\"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[\"$\"+t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[\"$\"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},\"1jcm\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return x})),n.d(e,\"b\",(function(){return k}));var i=n(\"GU7r\"),r=n(\"fXoL\"),s=n(\"FKr1\"),a=n(\"8LU1\"),o=n(\"3Pt+\"),l=n(\"R1ws\"),c=n(\"u47x\"),h=n(\"cH1L\");const d=[\"thumbContainer\"],u=[\"toggleBar\"],p=[\"input\"],m=function(){return{enterDuration:150}},f=[\"*\"],g=new r.r(\"mat-slide-toggle-default-options\",{providedIn:\"root\",factory:()=>({disableToggleValue:!1})});let b=0;const _={provide:o.l,useExisting:Object(r.V)(()=>x),multi:!0};class y{constructor(t,e){this.source=t,this.checked=e}}class v{constructor(t){this._elementRef=t}}const w=Object(s.y)(Object(s.t)(Object(s.u)(Object(s.v)(v)),\"accent\"));let x=(()=>{class t extends w{constructor(t,e,n,i,s,a,o,l){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=a,this._animationMode=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId=`mat-slide-toggle-${++b}`,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition=\"after\",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.o,this.toggleChange=new r.o,this.dragChange=new r.o,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(a.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(a.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{\"keyboard\"===t||\"program\"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,\"keyboard\",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new y(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(c.h),r.Qb(r.h),r.bc(\"tabindex\"),r.Qb(r.A),r.Qb(g),r.Qb(l.a,8),r.Qb(h.b,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-slide-toggle\"]],viewQuery:function(t,e){var n;1&t&&(r.Pc(d,!0),r.Pc(u,!0),r.Pc(p,!0)),2&t&&(r.vc(n=r.fc())&&(e._thumbEl=n.first),r.vc(n=r.fc())&&(e._thumbBarEl=n.first),r.vc(n=r.fc())&&(e._inputElement=n.first))},hostAttrs:[1,\"mat-slide-toggle\"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Zb(\"id\",e.id),r.Eb(\"tabindex\",e.disabled?null:-1)(\"aria-label\",null)(\"aria-labelledby\",null),r.Hb(\"mat-checked\",e.checked)(\"mat-disabled\",e.disabled)(\"mat-slide-toggle-label-before\",\"before\"==e.labelPosition)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",color:\"color\",tabIndex:\"tabIndex\",name:\"name\",id:\"id\",labelPosition:\"labelPosition\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],required:\"required\",checked:\"checked\"},outputs:{change:\"change\",toggleChange:\"toggleChange\",dragChange:\"dragChange\"},exportAs:[\"matSlideToggle\"],features:[r.Cb([_]),r.Ab],ngContentSelectors:f,decls:16,vars:18,consts:[[1,\"mat-slide-toggle-label\"],[\"label\",\"\"],[1,\"mat-slide-toggle-bar\"],[\"toggleBar\",\"\"],[\"type\",\"checkbox\",\"role\",\"switch\",1,\"mat-slide-toggle-input\",\"cdk-visually-hidden\",3,\"id\",\"required\",\"tabIndex\",\"checked\",\"disabled\",\"change\",\"click\"],[\"input\",\"\"],[1,\"mat-slide-toggle-thumb-container\"],[\"thumbContainer\",\"\"],[1,\"mat-slide-toggle-thumb\"],[\"mat-ripple\",\"\",1,\"mat-slide-toggle-ripple\",\"mat-focus-indicator\",3,\"matRippleTrigger\",\"matRippleDisabled\",\"matRippleCentered\",\"matRippleRadius\",\"matRippleAnimation\"],[1,\"mat-ripple-element\",\"mat-slide-toggle-persistent-ripple\"],[1,\"mat-slide-toggle-content\",3,\"cdkObserveContent\"],[\"labelContent\",\"\"],[2,\"display\",\"none\"]],template:function(t,e){if(1&t&&(r.nc(),r.Wb(0,\"label\",0,1),r.Wb(2,\"div\",2,3),r.Wb(4,\"input\",4,5),r.ec(\"change\",(function(t){return e._onChangeEvent(t)}))(\"click\",(function(t){return e._onInputClick(t)})),r.Vb(),r.Wb(6,\"div\",6,7),r.Rb(8,\"div\",8),r.Wb(9,\"div\",9),r.Rb(10,\"div\",10),r.Vb(),r.Vb(),r.Vb(),r.Wb(11,\"span\",11,12),r.ec(\"cdkObserveContent\",(function(){return e._onLabelTextChange()})),r.Wb(13,\"span\",13),r.Jc(14,\"\\xa0\"),r.Vb(),r.mc(15),r.Vb(),r.Vb()),2&t){const t=r.wc(1),n=r.wc(12);r.Eb(\"for\",e.inputId),r.Db(2),r.Hb(\"mat-slide-toggle-bar-no-side-margin\",!n.textContent||!n.textContent.trim()),r.Db(2),r.oc(\"id\",e.inputId)(\"required\",e.required)(\"tabIndex\",e.tabIndex)(\"checked\",e.checked)(\"disabled\",e.disabled),r.Eb(\"name\",e.name)(\"aria-checked\",e.checked.toString())(\"aria-label\",e.ariaLabel)(\"aria-labelledby\",e.ariaLabelledby),r.Db(5),r.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e.disableRipple||e.disabled)(\"matRippleCentered\",!0)(\"matRippleRadius\",20)(\"matRippleAnimation\",r.sc(17,m))}},directives:[s.p,i.a],styles:[\".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\\n\"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)}}),t})(),k=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[C,s.q,s.f,i.c],C,s.f]}),t})()},\"2Dig\":function(t,e){t.exports=function(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}},\"2QA8\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>\"function\"==typeof Symbol?Symbol(\"rxSubscriber\"):\"@@rxSubscriber_\"+Math.random())()},\"2Vo4\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"XNiG\"),r=n(\"9ppp\");class s extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(t){super.next(this._value=t)}}},\"2fFW\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn(\"DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n\"+t.stack)}else i&&console.log(\"RxJS: Back to a better error behavior. Thank you. <3\");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},\"2pII\":function(t,e,n){var i=n(\"akSB\"),r=n(\"1Mk5\"),s=n(\"NOtv\")(\"engine.io-client:socket\"),a=n(\"7jRU\"),o=n(\"Wm4p\"),l=n(\"Uxeu\"),c=n(\"TypT\");function h(t,e){if(!(this instanceof h))return new h(t,e);e=e||{},t&&\"object\"==typeof t&&(e=t,t=null),t?(t=l(t),e.hostname=t.host,e.secure=\"https\"===t.protocol||\"wss\"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=l(e.host).host),this.secure=null!=e.secure?e.secure:\"undefined\"!=typeof location&&\"https:\"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?\"443\":\"80\"),this.agent=e.agent||!1,this.hostname=e.hostname||(\"undefined\"!=typeof location?location.hostname:\"localhost\"),this.port=e.port||(\"undefined\"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},\"string\"==typeof this.query&&(this.query=c.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||\"/engine.io\").replace(/\\/$/,\"\")+\"/\",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=!1!==e.withCredentials,this.timestampParam=e.timestampParam||\"t\",this.timestampRequests=e.timestampRequests,this.transports=e.transports||[\"polling\",\"websocket\"],this.transportOptions=e.transportOptions||{},this.readyState=\"\",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.cert=e.cert||null,this.ca=e.ca||null,this.ciphers=e.ciphers||null,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative=\"undefined\"!=typeof navigator&&\"string\"==typeof navigator.product&&\"reactnative\"===navigator.product.toLowerCase(),(\"undefined\"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=h,h.priorWebsocketSuccess=!1,r(h.prototype),h.protocol=o.protocol,h.Socket=h,h.Transport=n(\"Gbct\"),h.transports=n(\"akSB\"),h.parser=n(\"Wm4p\"),h.prototype.createTransport=function(t){s('creating transport \"%s\"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=o.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new i[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},h.prototype.open=function(){var t;if(this.rememberUpgrade&&h.priorWebsocketSuccess&&-1!==this.transports.indexOf(\"websocket\"))t=\"websocket\";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit(\"error\",\"No transports available\")}),0)}t=this.transports[0]}this.readyState=\"opening\";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},h.prototype.setTransport=function(t){s(\"setting transport %s\",t.name);var e=this;this.transport&&(s(\"clearing existing transport %s\",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on(\"drain\",(function(){e.onDrain()})).on(\"packet\",(function(t){e.onPacket(t)})).on(\"error\",(function(t){e.onError(t)})).on(\"close\",(function(){e.onClose(\"transport close\")}))},h.prototype.probe=function(t){s('probing transport \"%s\"',t);var e=this.createTransport(t,{probe:1}),n=!1,i=this;function r(){i.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&i.transport.supportsBinary),n||(s('probe transport \"%s\" opened',t),e.send([{type:\"ping\",data:\"probe\"}]),e.once(\"packet\",(function(r){if(!n)if(\"pong\"===r.type&&\"probe\"===r.data){if(s('probe transport \"%s\" pong',t),i.upgrading=!0,i.emit(\"upgrading\",e),!e)return;h.priorWebsocketSuccess=\"websocket\"===e.name,s('pausing current transport \"%s\"',i.transport.name),i.transport.pause((function(){n||\"closed\"!==i.readyState&&(s(\"changing transport and sending upgrade packet\"),u(),i.setTransport(e),e.send([{type:\"upgrade\"}]),i.emit(\"upgrade\",e),e=null,i.upgrading=!1,i.flush())}))}else{s('probe transport \"%s\" failed',t);var a=new Error(\"probe error\");a.transport=e.name,i.emit(\"upgradeError\",a)}})))}function a(){n||(n=!0,u(),e.close(),e=null)}function o(n){var r=new Error(\"probe error: \"+n);r.transport=e.name,a(),s('probe transport \"%s\" failed because of error: %s',t,n),i.emit(\"upgradeError\",r)}function l(){o(\"transport closed\")}function c(){o(\"socket closed\")}function d(t){e&&t.name!==e.name&&(s('\"%s\" works - aborting \"%s\"',t.name,e.name),a())}function u(){e.removeListener(\"open\",r),e.removeListener(\"error\",o),e.removeListener(\"close\",l),i.removeListener(\"close\",c),i.removeListener(\"upgrading\",d)}h.priorWebsocketSuccess=!1,e.once(\"open\",r),e.once(\"error\",o),e.once(\"close\",l),this.once(\"close\",c),this.once(\"upgrading\",d),e.open()},h.prototype.onOpen=function(){if(s(\"socket open\"),this.readyState=\"open\",h.priorWebsocketSuccess=\"websocket\"===this.transport.name,this.emit(\"open\"),this.flush(),\"open\"===this.readyState&&this.upgrade&&this.transport.pause){s(\"starting upgrade probes\");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},h.prototype.onPacket=function(t){if(\"opening\"===this.readyState||\"open\"===this.readyState||\"closing\"===this.readyState)switch(s('socket receive: type \"%s\", data \"%s\"',t.type,t.data),this.emit(\"packet\",t),this.emit(\"heartbeat\"),t.type){case\"open\":this.onHandshake(JSON.parse(t.data));break;case\"pong\":this.setPing(),this.emit(\"pong\");break;case\"error\":var e=new Error(\"server error\");e.code=t.data,this.onError(e);break;case\"message\":this.emit(\"data\",t.data),this.emit(\"message\",t.data)}else s('packet received with socket readyState \"%s\"',this.readyState)},h.prototype.onHandshake=function(t){this.emit(\"handshake\",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),\"closed\"!==this.readyState&&(this.setPing(),this.removeListener(\"heartbeat\",this.onHeartbeat),this.on(\"heartbeat\",this.onHeartbeat))},h.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout((function(){\"closed\"!==e.readyState&&e.onClose(\"ping timeout\")}),t||e.pingInterval+e.pingTimeout)},h.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){s(\"writing ping packet - expecting pong within %sms\",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},h.prototype.ping=function(){var t=this;this.sendPacket(\"ping\",(function(){t.emit(\"ping\")}))},h.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit(\"drain\"):this.flush()},h.prototype.flush=function(){\"closed\"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(s(\"flushing %d packets in socket\",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit(\"flush\"))},h.prototype.write=h.prototype.send=function(t,e,n){return this.sendPacket(\"message\",t,e,n),this},h.prototype.sendPacket=function(t,e,n,i){if(\"function\"==typeof e&&(i=e,e=void 0),\"function\"==typeof n&&(i=n,n=null),\"closing\"!==this.readyState&&\"closed\"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var r={type:t,data:e,options:n};this.emit(\"packetCreate\",r),this.writeBuffer.push(r),i&&this.once(\"flush\",i),this.flush()}},h.prototype.close=function(){if(\"opening\"===this.readyState||\"open\"===this.readyState){this.readyState=\"closing\";var t=this;this.writeBuffer.length?this.once(\"drain\",(function(){this.upgrading?i():e()})):this.upgrading?i():e()}function e(){t.onClose(\"forced close\"),s(\"socket closing - telling transport to close\"),t.transport.close()}function n(){t.removeListener(\"upgrade\",n),t.removeListener(\"upgradeError\",n),e()}function i(){t.once(\"upgrade\",n),t.once(\"upgradeError\",n)}return this},h.prototype.onError=function(t){s(\"socket error %j\",t),h.priorWebsocketSuccess=!1,this.emit(\"error\",t),this.onClose(\"transport error\",t)},h.prototype.onClose=function(t,e){\"opening\"!==this.readyState&&\"open\"!==this.readyState&&\"closing\"!==this.readyState||(s('socket close with reason: \"%s\"',t),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners(\"close\"),this.transport.close(),this.transport.removeAllListeners(),this.readyState=\"closed\",this.id=null,this.emit(\"close\",t,e),this.writeBuffer=[],this.prevBufferLen=0)},h.prototype.filterUpgrades=function(t){for(var e=[],n=0,i=t.length;n<i;n++)~a(this.transports,t[n])&&e.push(t[n]);return e}},\"2rR7\":function(t,e,n){\"use strict\";var i=n(\"ofXK\"),r=n(\"3Pt+\"),s=n(\"fXoL\"),a=function(){function t(){}return t.prototype.transform=function(t,e){return void 0===t&&(t=0),e[t]||t+1},t.\\u0275fac=function(e){return new(e||t)},t.\\u0275pipe=s.Pb({name:\"rateTitle\",type:t,pure:!0}),t}();function o(t,e){if(1&t){var n=s.Xb();s.Wb(0,\"div\",3),s.ec(\"click\",(function(t){return s.zc(n),e.$implicit.click(t)}))(\"mouseenter\",(function(){return e.$implicit.enter()})),s.Vb()}if(2&t){var i=e.$implicit;s.Hb(\"br-fraction\",i.fraction)(\"br-selected\",i.selected)(\"br-active\",i.active)}}function l(t,e){if(1&t&&(s.Wb(0,\"div\",4),s.Jc(1),s.jc(2,\"rateTitle\"),s.Vb()),2&t){var n=s.ic();s.Db(1),s.Kc(s.lc(2,1,n.nextRate,n.titles))}}var c={provide:r.l,useExisting:Object(s.V)((function(){return d})),multi:!0},h={provide:r.k,useExisting:Object(s.V)((function(){return d})),multi:!0},d=function(){function t(t){this.changeDetectorRef=t,this.contexts=[],this.max=5,this.readOnly=!1,this.theme=\"default\",this.showText=!1,this.titles=[],this.required=!1,this.hover=new s.o,this.leave=new s.o,this.rateChange=new s.o(!0),this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){var t=this;this.contexts=Array.from({length:this.max},(function(e,n){return{selected:!1,fraction:!1,click:function(e){return t.handleClick(e,n+1)},enter:function(){return t.handleEnter(n+1)}}})),this.updateState(this.rate)},t.prototype.update=function(t,e){void 0===e&&(e=!0),this.readOnly||this.disabled||this.rate===t||(this.rate=t,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this.updateState(this.rate)},t.prototype.reset=function(){this.leave.emit(this.nextRate),this.updateState(this.rate)},t.prototype.updateState=function(t){var e=this;this.nextRate=t-1,this.contexts=Array.from({length:this.max},(function(n,i){return{selected:i+1<=t,fraction:(i+1===Math.round(t)&&t%1)>=.5,click:function(t){return e.handleClick(t,i)},enter:function(){return e.handleEnter(i)}}}))},t.prototype.handleClick=function(t,e){t.preventDefault(),t.stopPropagation(),this.update(e+1)},t.prototype.handleEnter=function(t){this.disabled||this.readOnly||(this.contexts.map((function(e,n){e.active=n<=t,e.fraction=!1,e.selected=!1})),this.nextRate=t,this.hover.emit(t))},t.prototype.writeValue=function(t){this.update(t,!1),this.changeDetectorRef.markForCheck()},t.prototype.validate=function(t){return this.required&&!t.value?{required:!0}:null},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.h))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"bar-rating\"]],inputs:{max:\"max\",readOnly:\"readOnly\",theme:\"theme\",showText:\"showText\",titles:\"titles\",required:\"required\",rate:\"rate\"},outputs:{hover:\"hover\",leave:\"leave\",rateChange:\"rateChange\"},features:[s.Cb([c,h]),s.Bb()],decls:4,vars:8,consts:[[1,\"br-units\",3,\"mouseleave\"],[\"class\",\"br-unit\",3,\"br-fraction\",\"br-selected\",\"br-active\",\"click\",\"mouseenter\",4,\"ngFor\",\"ngForOf\"],[\"class\",\"br-text\",4,\"ngIf\"],[1,\"br-unit\",3,\"click\",\"mouseenter\"],[1,\"br-text\"]],template:function(t,e){1&t&&(s.Wb(0,\"div\"),s.Wb(1,\"div\",0),s.ec(\"mouseleave\",(function(){return e.reset()})),s.Hc(2,o,1,6,\"div\",1),s.Vb(),s.Hc(3,l,3,4,\"div\",2),s.Vb()),2&t&&(s.Fb(\"br br-\"+e.theme),s.Hb(\"br-readonly\",e.readOnly)(\"br-disabled\",e.disabled),s.Db(2),s.oc(\"ngForOf\",e.contexts),s.Db(1),s.oc(\"ngIf\",e.showText))},directives:[i.k,i.l],pipes:[a],styles:[\"*[_ngcontent-%COMP%]{box-sizing:border-box}.br[_ngcontent-%COMP%]{position:relative;margin:15px 0}.br-units[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.br-unit[_ngcontent-%COMP%]{cursor:pointer;-webkit-font-smoothing:antialiased;text-rendering:auto}.br-disabled[_ngcontent-%COMP%]   .br-unit[_ngcontent-%COMP%], .br-readonly[_ngcontent-%COMP%]   .br-unit[_ngcontent-%COMP%]{cursor:default}\"],changeDetection:0}),t}(),u=function(){function t(){}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[i.c,r.h]]}),t}();n.d(e,\"b\",(function(){return u})),n.d(e,\"a\",(function(){return d}))},\"2xqC\":function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[\"$\"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[\"$\"+t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[\"$\"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},\"3E0/\":function(t,e,n){\"use strict\";var i=n(\"D0XW\"),r=n(\"7o/Q\"),s=n(\"WMd4\");function a(t,e=i.a){var n;const r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new o(r,e))}n.d(e,\"a\",(function(){return a}));class o{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(s.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},\"3JDX\":function(t,e,n){t.exports=function(t){function e(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return i.colors[Math.abs(e)%i.colors.length]}function i(t){let n;function a(...t){if(!a.enabled)return;const e=a,r=Number(new Date);e.diff=r-(n||r),e.prev=n,e.curr=r,n=r,t[0]=i.coerce(t[0]),\"string\"!=typeof t[0]&&t.unshift(\"%O\");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if(\"%%\"===n)return n;s++;const a=i.formatters[r];return\"function\"==typeof a&&(n=a.call(e,t[s]),t.splice(s,1),s--),n}),i.formatArgs.call(e,t),(e.log||i.log).apply(e,t)}return a.namespace=t,a.enabled=i.enabled(t),a.useColors=i.useColors(),a.color=e(t),a.destroy=r,a.extend=s,\"function\"==typeof i.init&&i.init(a),i.instances.push(a),a}function r(){const t=i.instances.indexOf(this);return-1!==t&&(i.instances.splice(t,1),!0)}function s(t,e){const n=i(this.namespace+(void 0===e?\":\":e)+t);return n.log=this.log,n}function a(t){return t.toString().substring(2,t.toString().length-2).replace(/\\.\\*\\?$/,\"*\")}return i.debug=i,i.default=i,i.coerce=function(t){return t instanceof Error?t.stack||t.message:t},i.disable=function(){const t=[...i.names.map(a),...i.skips.map(a).map(t=>\"-\"+t)].join(\",\");return i.enable(\"\"),t},i.enable=function(t){let e;i.save(t),i.names=[],i.skips=[];const n=(\"string\"==typeof t?t:\"\").split(/[\\s,]+/),r=n.length;for(e=0;e<r;e++)n[e]&&(\"-\"===(t=n[e].replace(/\\*/g,\".*?\"))[0]?i.skips.push(new RegExp(\"^\"+t.substr(1)+\"$\")):i.names.push(new RegExp(\"^\"+t+\"$\")));for(e=0;e<i.instances.length;e++){const t=i.instances[e];t.enabled=i.enabled(t.namespace)}},i.enabled=function(t){if(\"*\"===t[t.length-1])return!0;let e,n;for(e=0,n=i.skips.length;e<n;e++)if(i.skips[e].test(t))return!1;for(e=0,n=i.names.length;e<n;e++)if(i.names[e].test(t))return!0;return!1},i.humanize=n(\"FGiv\"),Object.keys(t).forEach(e=>{i[e]=t[e]}),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=e,i.enable(i.load()),i}},\"3N8a\":function(t,e,n){\"use strict\";var i=n(\"quSY\");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,\"a\",(function(){return s}));class s extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error(\"executing a cancelled action\");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},\"3Pt+\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return Qt})),n.d(e,\"b\",(function(){return p})),n.d(e,\"c\",(function(){return ft})),n.d(e,\"d\",(function(){return Rt})),n.d(e,\"e\",(function(){return Bt})),n.d(e,\"f\",(function(){return gt})),n.d(e,\"g\",(function(){return It})),n.d(e,\"h\",(function(){return ee})),n.d(e,\"i\",(function(){return Xt})),n.d(e,\"j\",(function(){return $t})),n.d(e,\"k\",(function(){return C})),n.d(e,\"l\",(function(){return l})),n.d(e,\"m\",(function(){return _})),n.d(e,\"n\",(function(){return v})),n.d(e,\"o\",(function(){return w})),n.d(e,\"p\",(function(){return vt})),n.d(e,\"q\",(function(){return Pt})),n.d(e,\"r\",(function(){return W})),n.d(e,\"s\",(function(){return T})),n.d(e,\"t\",(function(){return Zt})),n.d(e,\"u\",(function(){return ne})),n.d(e,\"v\",(function(){return qt})),n.d(e,\"w\",(function(){return Q})),n.d(e,\"x\",(function(){return S})),n.d(e,\"y\",(function(){return X})),n.d(e,\"z\",(function(){return Et}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"cp0P\"),a=n(\"Cfvw\"),o=n(\"lJxs\");const l=new i.r(\"NgValueAccessor\"),c={provide:l,useExisting:Object(i.V)(()=>h),multi:!0};let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"checked\",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"checkbox\",\"formControlName\",\"\"],[\"input\",\"type\",\"checkbox\",\"formControl\",\"\"],[\"input\",\"type\",\"checkbox\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.checked)}))(\"blur\",(function(){return e.onTouched()}))},features:[i.Cb([c])]}),t})();const d={provide:l,useExisting:Object(i.V)(()=>p),multi:!0},u=new i.r(\"CompositionEventMode\");let p=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(r.x)()?Object(r.x)().getUserAgent():\"\";return/android (\\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",null==t?\"\":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l),i.Qb(u,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"formControlName\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"formControlName\",\"\"],[\"input\",\"formControl\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"formControl\",\"\"],[\"input\",\"ngModel\",\"\",3,\"type\",\"checkbox\"],[\"textarea\",\"ngModel\",\"\"],[\"\",\"ngDefaultControl\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"input\",(function(t){return e._handleInput(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))(\"compositionstart\",(function(){return e._compositionStart()}))(\"compositionend\",(function(t){return e._compositionEnd(t.target.value)}))},features:[i.Cb([d])]}),t})(),m=(()=>{class t{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t}),t})(),f=(()=>{class t extends m{get formDirective(){return null}get path(){return null}}return t.\\u0275fac=function(e){return g(e||t)},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})();const g=i.Yb(f);function b(){throw new Error(\"unimplemented\")}class _ extends m{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return b()}get asyncValidator(){return b()}}class y{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let v=(()=>{class t extends y{constructor(t){super(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(_,2))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formControlName\",\"\"],[\"\",\"ngModel\",\"\"],[\"\",\"formControl\",\"\"]],hostVars:14,hostBindings:function(t,e){2&t&&i.Hb(\"ng-untouched\",e.ngClassUntouched)(\"ng-touched\",e.ngClassTouched)(\"ng-pristine\",e.ngClassPristine)(\"ng-dirty\",e.ngClassDirty)(\"ng-valid\",e.ngClassValid)(\"ng-invalid\",e.ngClassInvalid)(\"ng-pending\",e.ngClassPending)},features:[i.Ab]}),t})(),w=(()=>{class t extends y{constructor(t){super(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,2))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formGroupName\",\"\"],[\"\",\"formArrayName\",\"\"],[\"\",\"ngModelGroup\",\"\"],[\"\",\"formGroup\",\"\"],[\"form\",3,\"ngNoForm\",\"\"],[\"\",\"ngForm\",\"\"]],hostVars:14,hostBindings:function(t,e){2&t&&i.Hb(\"ng-untouched\",e.ngClassUntouched)(\"ng-touched\",e.ngClassTouched)(\"ng-pristine\",e.ngClassPristine)(\"ng-dirty\",e.ngClassDirty)(\"ng-valid\",e.ngClassValid)(\"ng-invalid\",e.ngClassInvalid)(\"ng-pending\",e.ngClassPending)},features:[i.Ab]}),t})();function x(t){return null==t||0===t.length}const C=new i.r(\"NgValidators\"),k=new i.r(\"NgAsyncValidators\"),O=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class S{static min(t){return e=>{if(x(e.value)||x(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(x(e.value)||x(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return x(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return x(t.value)?null:O.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(x(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return S.nullValidator;let e,n;return\"string\"==typeof t?(n=\"\",\"^\"!==t.charAt(0)&&(n+=\"^\"),n+=t,\"$\"!==t.charAt(t.length-1)&&(n+=\"$\"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(x(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(M);return 0==e.length?null:function(t){return E(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(M);return 0==e.length?null:function(t){const n=function(t,e){return e.map(e=>e(t))}(t,e).map(P);return Object(s.a)(n).pipe(Object(o.a)(E))}}}function M(t){return null!=t}function P(t){const e=Object(i.ub)(t)?Object(a.a)(t):t;if(!Object(i.tb)(e))throw new Error(\"Expected validator to return Promise or Observable.\");return e}function E(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function A(t){return t.validate?e=>t.validate(e):t}function D(t){return t.validate?e=>t.validate(e):t}const R={provide:l,useExisting:Object(i.V)(()=>T),multi:!0};let T=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",null==t?\"\":t)}registerOnChange(t){this.onChange=e=>{t(\"\"==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"number\",\"formControlName\",\"\"],[\"input\",\"type\",\"number\",\"formControl\",\"\"],[\"input\",\"type\",\"number\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.value)}))(\"input\",(function(t){return e.onChange(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))},features:[i.Cb([R])]}),t})();const I={provide:l,useExisting:Object(i.V)(()=>L),multi:!0};let j=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),L=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(_),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,\"checked\",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\\n      If you define both a name and a formControlName attribute on your radio button, their values\\n      must match. Ex: <input type=\"radio\" formControlName=\"food\" name=\"food\">\\n    ')}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l),i.Qb(j),i.Qb(i.s))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"radio\",\"formControlName\",\"\"],[\"input\",\"type\",\"radio\",\"formControl\",\"\"],[\"input\",\"type\",\"radio\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(){return e.onChange()}))(\"blur\",(function(){return e.onTouched()}))},inputs:{name:\"name\",formControlName:\"formControlName\",value:\"value\"},features:[i.Cb([I])]}),t})();const F={provide:l,useExisting:Object(i.V)(()=>N),multi:!0};let N=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(\"\"==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"range\",\"formControlName\",\"\"],[\"input\",\"type\",\"range\",\"formControl\",\"\"],[\"input\",\"type\",\"range\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.value)}))(\"input\",(function(t){return e.onChange(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))},features:[i.Cb([F])]}),t})();const V='\\n    <div [formGroup]=\"myGroup\">\\n      <input formControlName=\"firstName\">\\n    <\/div>\\n\\n    In your class:\\n\\n    this.myGroup = new FormGroup({\\n       firstName: new FormControl()\\n    });',z='\\n    <div [formGroup]=\"myGroup\">\\n       <div formGroupName=\"person\">\\n          <input formControlName=\"firstName\">\\n       <\/div>\\n    <\/div>\\n\\n    In your class:\\n\\n    this.myGroup = new FormGroup({\\n       person: new FormGroup({ firstName: new FormControl() })\\n    });',B='\\n    <form>\\n       <div ngModelGroup=\"person\">\\n          <input [(ngModel)]=\"person.name\" name=\"firstName\">\\n       <\/div>\\n    <\/form>';class H{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\\n       directive and pass it an existing FormGroup instance (you can create one in your class).\\n\\n      Example:\\n\\n      ${V}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\\n       that also have a \"form\" prefix: formGroupName, formArrayName, or formGroup.\\n\\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\\n\\n        ${z}\\n\\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\\n\\n        ${B}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\\n\\n       Example:\\n\\n       ${V}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\\n      directive and pass it an existing FormGroup instance (you can create one in your class).\\n\\n      Example:\\n\\n      ${z}`)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\\'ll want to add a formGroup\\n       directive and pass it an existing FormGroup instance (you can create one in your class).\\n\\n        Example:\\n\\n        \\n    <div [formGroup]=\"myGroup\">\\n      <div formArrayName=\"cities\">\\n        <div *ngFor=\"let city of cityArray.controls; index as i\">\\n          <input [formControlName]=\"i\">\\n        <\/div>\\n      <\/div>\\n    <\/div>\\n\\n    In your class:\\n\\n    this.cityArray = new FormArray([new FormControl(\\'SF\\')]);\\n    this.myGroup = new FormGroup({\\n      cities: this.cityArray\\n    });')}static disabledAttrWarning(){console.warn(\"\\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\\n      you. We recommend using this approach to avoid 'changed after checked' errors.\\n       \\n      Example: \\n      form = new FormGroup({\\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\\n        last: new FormControl('Drew', Validators.required)\\n      });\\n    \")}static ngModelWarning(t){console.warn(`\\n    It looks like you're using ngModel on the same form field as ${t}. \\n    Support for using the ngModel input property and ngModelChange event with \\n    reactive form directives has been deprecated in Angular v6 and will be removed \\n    in Angular v7.\\n    \\n    For more information on this, see our API docs here:\\n    https://angular.io/api/forms/${\"formControl\"===t?\"FormControlDirective\":\"FormControlName\"}#use-with-ngmodel\\n    `)}}const U={provide:l,useExisting:Object(i.V)(()=>Q),multi:!0};function q(t,e){return null==t?`${e}`:(e&&\"object\"==typeof e&&(e=\"Object\"),`${t}: ${e}`.slice(0,50))}let Q=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=i.vb}set compareWith(t){if(\"function\"!=typeof t)throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,\"selectedIndex\",-1);const n=q(e,t);this._renderer.setProperty(this._elementRef.nativeElement,\"value\",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(\":\")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"select\",\"formControlName\",\"\",3,\"multiple\",\"\"],[\"select\",\"formControl\",\"\",3,\"multiple\",\"\"],[\"select\",\"ngModel\",\"\",3,\"multiple\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target.value)}))(\"blur\",(function(){return e.onTouched()}))},inputs:{compareWith:\"compareWith\"},features:[i.Cb([U])]}),t})(),W=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(q(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,\"value\",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.F),i.Qb(Q,9))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"option\"]],inputs:{ngValue:\"ngValue\",value:\"value\"}}),t})();const Y={provide:l,useExisting:Object(i.V)(()=>G),multi:!0};function $(t,e){return null==t?`${e}`:(\"string\"==typeof e&&(e=`'${e}'`),e&&\"object\"==typeof e&&(e=\"Object\"),`${t}: ${e}`.slice(0,50))}let G=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=i.vb}set compareWith(t){if(\"function\"!=typeof t)throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty(\"selectedOptions\")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),r=this._getOptionValue(i.value);n.push(r)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(\":\")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.F),i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"select\",\"multiple\",\"\",\"formControlName\",\"\"],[\"select\",\"multiple\",\"\",\"formControl\",\"\"],[\"select\",\"multiple\",\"\",\"ngModel\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(t){return e.onChange(t.target)}))(\"blur\",(function(){return e.onTouched()}))},inputs:{compareWith:\"compareWith\"},features:[i.Cb([Y])]}),t})(),X=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue($(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue($(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,\"value\",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,\"selected\",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.F),i.Qb(G,9))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"option\"]],inputs:{ngValue:\"ngValue\",value:\"value\"}}),t})();function K(t,e){return[...e.path,t]}function Z(t,e){t||nt(e,\"Cannot find control with\"),e.valueAccessor||nt(e,\"No value accessor for form control with\"),t.validator=S.compose([t.validator,e.validator]),t.asyncValidator=S.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,\"change\"===t.updateOn&&J(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,\"blur\"===t.updateOn&&t._pendingChange&&J(t,e),\"submit\"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function J(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){null==t&&nt(e,\"Cannot find control with\"),t.validator=S.compose([t.validator,e.validator]),t.asyncValidator=S.composeAsync([t.asyncValidator,e.asyncValidator])}function et(t){return nt(t,\"There is no FormControl instance attached to form control element with\")}function nt(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(\" -> \")}'`:t.path[0]?`name: '${t.path}'`:\"unspecified name attribute\",new Error(`${e} ${n}`)}function it(t){return null!=t?S.compose(t.map(A)):null}function rt(t){return null!=t?S.composeAsync(t.map(D)):null}function st(t,e){if(!t.hasOwnProperty(\"model\"))return!1;const n=t.model;return!!n.isFirstChange()||!Object(i.vb)(e,n.currentValue)}const at=[h,N,T,Q,G,L];function ot(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;\"submit\"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function lt(t,e){if(!e)return null;Array.isArray(e)||nt(t,\"Value accessor was not provided as an array for form control with\");let n=void 0,i=void 0,r=void 0;return e.forEach(e=>{var s;e.constructor===p?n=e:(s=e,at.some(t=>s.constructor===t)?(i&&nt(t,\"More than one built-in value accessor matches form control with\"),i=e):(r&&nt(t,\"More than one custom value accessor matches form control with\"),r=e))}),r||i||n||(nt(t,\"No valid value accessor for form control with\"),null)}function ct(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ht(t,e,n,r){Object(i.X)()&&\"never\"!==r&&((null!==r&&\"once\"!==r||e._ngModelWarningSentOnce)&&(\"always\"!==r||n._ngModelWarningSent)||(H.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function dt(t){const e=pt(t)?t.validators:t;return Array.isArray(e)?it(e):e||null}function ut(t,e){const n=pt(e)?e.asyncValidators:t;return Array.isArray(n)?rt(n):n||null}function pt(t){return null!=t&&!Array.isArray(t)&&\"object\"==typeof t}class mt{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return\"VALID\"===this.status}get invalid(){return\"INVALID\"===this.status}get pending(){return\"PENDING\"==this.status}get disabled(){return\"DISABLED\"===this.status}get enabled(){return\"DISABLED\"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:\"change\"}setValidators(t){this.validator=dt(t)}setAsyncValidators(t){this.asyncValidator=ut(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=\"PENDING\",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=\"DISABLED\",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=\"VALID\",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),\"VALID\"!==this.status&&\"PENDING\"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?\"DISABLED\":\"VALID\"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=\"PENDING\";const e=P(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(\".\")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof gt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof bt&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?\"DISABLED\":this.errors?\"INVALID\":this._anyControlsHaveStatus(\"PENDING\")?\"PENDING\":this._anyControlsHaveStatus(\"INVALID\")?\"INVALID\":\"VALID\"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return\"object\"==typeof t&&null!==t&&2===Object.keys(t).length&&\"value\"in t&&\"disabled\"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ft extends mt{constructor(t=null,e,n){super(dt(e),ut(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!(\"submit\"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class gt extends mt{constructor(t,e,n){super(dt(e),ut(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ft?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error(\"\\n        There are no form controls registered with this group yet.  If you're using ngModel,\\n        you may want to check next tick (e.g. use setTimeout).\\n      \");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,i)=>{e=e||this.contains(i)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class bt extends mt{constructor(t,e,n){super(dt(e),ut(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ft?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error(\"\\n        There are no form controls registered with this array yet.  If you're using ngModel,\\n        you may want to check next tick (e.g. use setTimeout).\\n      \");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const _t={provide:f,useExisting:Object(i.V)(()=>vt)},yt=(()=>Promise.resolve(null))();let vt=(()=>{class t extends f{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new gt({},it(t),rt(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){yt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){yt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ct(this._directives,t)})}addFormGroup(t){yt.then(()=>{const e=this._findContainer(t.path),n=new gt({});tt(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){yt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){yt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ot(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"form\",3,\"ngNoForm\",\"\",3,\"formGroup\",\"\"],[\"ng-form\"],[\"\",\"ngForm\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"submit\",(function(t){return e.onSubmit(t)}))(\"reset\",(function(){return e.onReset()}))},inputs:{options:[\"ngFormOptions\",\"options\"]},outputs:{ngSubmit:\"ngSubmit\"},exportAs:[\"ngForm\"],features:[i.Cb([_t]),i.Ab]}),t})(),wt=(()=>{class t extends f{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return it(this._validators)}get asyncValidator(){return rt(this._asyncValidators)}_checkParentType(){}}return t.\\u0275fac=function(e){return xt(e||t)},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})();const xt=i.Yb(wt);class Ct{static modelParentException(){throw new Error(`\\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\\n      formGroup's partner directive \"formControlName\" instead.  Example:\\n\\n      ${V}\\n\\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\\n\\n      Example:\\n\\n      \\n    <div [formGroup]=\"myGroup\">\\n       <input formControlName=\"firstName\">\\n       <input [(ngModel)]=\"showMoreControls\" [ngModelOptions]=\"{standalone: true}\">\\n    <\/div>\\n  `)}static formGroupNameException(){throw new Error(`\\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\\n\\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\\n\\n      ${z}\\n\\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\\n\\n      ${B}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\\n      control must be defined as \\'standalone\\' in ngModelOptions.\\n\\n      Example 1: <input [(ngModel)]=\"person.firstName\" name=\"first\">\\n      Example 2: <input [(ngModel)]=\"person.firstName\" [ngModelOptions]=\"{standalone: true}\">')}static modelGroupParentException(){throw new Error(`\\n      ngModelGroup cannot be used with a parent formGroup directive.\\n\\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\\n\\n      ${z}\\n\\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\\n\\n      ${B}`)}}const kt={provide:f,useExisting:Object(i.V)(()=>Ot)};let Ot=(()=>{class t extends wt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof vt||Ct.modelGroupParentException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,5),i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngModelGroup\",\"\"]],inputs:{name:[\"ngModelGroup\",\"name\"]},exportAs:[\"ngModelGroup\"],features:[i.Cb([kt]),i.Ab]}),t})();const St={provide:_,useExisting:Object(i.V)(()=>Pt)},Mt=(()=>Promise.resolve(null))();let Pt=(()=>{class t extends _{constructor(t,e,n,r){super(),this.control=new ft,this._registered=!1,this.update=new i.o,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=lt(this,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),\"isDisabled\"in t&&this._updateDisabled(t),st(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?K(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return it(this._rawValidators)}get asyncValidator(){return rt(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof Ot)&&this._parent instanceof wt?Ct.formGroupNameException():this._parent instanceof Ot||this._parent instanceof vt||Ct.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ct.missingNameException()}_updateValue(t){Mt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=\"\"===e||e&&\"false\"!==e;Mt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,9),i.Qb(C,10),i.Qb(k,10),i.Qb(l,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngModel\",\"\",3,\"formControlName\",\"\",3,\"formControl\",\"\"]],inputs:{name:\"name\",isDisabled:[\"disabled\",\"isDisabled\"],model:[\"ngModel\",\"model\"],options:[\"ngModelOptions\",\"options\"]},outputs:{update:\"ngModelChange\"},exportAs:[\"ngModel\"],features:[i.Cb([St]),i.Ab,i.Bb()]}),t})(),Et=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"form\",3,\"ngNoForm\",\"\",3,\"ngNativeValidate\",\"\"]],hostAttrs:[\"novalidate\",\"\"]}),t})();const At=new i.r(\"NgModelWithFormControlWarning\"),Dt={provide:_,useExisting:Object(i.V)(()=>Rt)};let Rt=(()=>{class t extends _{constructor(t,e,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.o,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=lt(this,n)}set isDisabled(t){H.disabledAttrWarning()}ngOnChanges(e){this._isControlChanged(e)&&(Z(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),st(e,this.viewModel)&&(ht(\"formControl\",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return it(this._rawValidators)}get asyncValidator(){return rt(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty(\"form\")}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(C,10),i.Qb(k,10),i.Qb(l,10),i.Qb(At,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formControl\",\"\"]],inputs:{isDisabled:[\"disabled\",\"isDisabled\"],form:[\"formControl\",\"form\"],model:[\"ngModel\",\"model\"]},outputs:{update:\"ngModelChange\"},exportAs:[\"ngForm\"],features:[i.Cb([Dt]),i.Ab,i.Bb()]}),t._ngModelWarningSentOnce=!1,t})();const Tt={provide:f,useExisting:Object(i.V)(()=>It)};let It=(()=>{class t extends f{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.o}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty(\"form\")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){ct(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,ot(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>et(e)),e.valueAccessor.registerOnTouched(()=>et(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Z(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=it(this._validators);this.form.validator=S.compose([this.form.validator,t]);const e=rt(this._asyncValidators);this.form.asyncValidator=S.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||H.missingFormException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formGroup\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"submit\",(function(t){return e.onSubmit(t)}))(\"reset\",(function(){return e.onReset()}))},inputs:{form:[\"formGroup\",\"form\"]},outputs:{ngSubmit:\"ngSubmit\"},exportAs:[\"ngForm\"],features:[i.Cb([Tt]),i.Ab,i.Bb()]}),t})();const jt={provide:f,useExisting:Object(i.V)(()=>Lt)};let Lt=(()=>{class t extends wt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){Vt(this._parent)&&H.groupParentException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,13),i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formGroupName\",\"\"]],inputs:{name:[\"formGroupName\",\"name\"]},features:[i.Cb([jt]),i.Ab]}),t})();const Ft={provide:f,useExisting:Object(i.V)(()=>Nt)};let Nt=(()=>{class t extends f{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return it(this._validators)}get asyncValidator(){return rt(this._asyncValidators)}_checkParentType(){Vt(this._parent)&&H.arrayParentException()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,13),i.Qb(C,10),i.Qb(k,10))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formArrayName\",\"\"]],inputs:{name:[\"formArrayName\",\"name\"]},features:[i.Cb([Ft]),i.Ab]}),t})();function Vt(t){return!(t instanceof Lt||t instanceof It||t instanceof Nt)}const zt={provide:_,useExisting:Object(i.V)(()=>Bt)};let Bt=(()=>{class t extends _{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=lt(this,r)}set isDisabled(t){H.disabledAttrWarning()}ngOnChanges(e){this._added||this._setUpControl(),st(e,this.viewModel)&&(ht(\"formControlName\",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return it(this._rawValidators)}get asyncValidator(){return rt(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof Lt)&&this._parent instanceof wt?H.ngModelGroupException():this._parent instanceof Lt||this._parent instanceof It||this._parent instanceof Nt||H.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f,13),i.Qb(C,10),i.Qb(k,10),i.Qb(l,10),i.Qb(At,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"formControlName\",\"\"]],inputs:{isDisabled:[\"disabled\",\"isDisabled\"],name:[\"formControlName\",\"name\"],model:[\"ngModel\",\"model\"]},outputs:{update:\"ngModelChange\"},features:[i.Cb([zt]),i.Ab,i.Bb()]}),t._ngModelWarningSentOnce=!1,t})();const Ht={provide:C,useExisting:Object(i.V)(()=>qt),multi:!0},Ut={provide:C,useExisting:Object(i.V)(()=>Qt),multi:!0};let qt=(()=>{class t{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&\"false\"!==`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?S.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"required\",\"\",\"formControlName\",\"\",3,\"type\",\"checkbox\"],[\"\",\"required\",\"\",\"formControl\",\"\",3,\"type\",\"checkbox\"],[\"\",\"required\",\"\",\"ngModel\",\"\",3,\"type\",\"checkbox\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"required\",e.required?\"\":null)},inputs:{required:\"required\"},features:[i.Cb([Ht])]}),t})(),Qt=(()=>{class t extends qt{validate(t){return this.required?S.requiredTrue(t):null}}return t.\\u0275fac=function(e){return Wt(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"input\",\"type\",\"checkbox\",\"required\",\"\",\"formControlName\",\"\"],[\"input\",\"type\",\"checkbox\",\"required\",\"\",\"formControl\",\"\"],[\"input\",\"type\",\"checkbox\",\"required\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"required\",e.required?\"\":null)},features:[i.Cb([Ut]),i.Ab]}),t})();const Wt=i.Yb(Qt),Yt={provide:C,useExisting:Object(i.V)(()=>$t),multi:!0};let $t=(()=>{class t{ngOnChanges(t){\"minlength\"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S.minLength(\"number\"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"minlength\",\"\",\"formControlName\",\"\"],[\"\",\"minlength\",\"\",\"formControl\",\"\"],[\"\",\"minlength\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"minlength\",e.minlength?e.minlength:null)},inputs:{minlength:\"minlength\"},features:[i.Cb([Yt]),i.Bb()]}),t})();const Gt={provide:C,useExisting:Object(i.V)(()=>Xt),multi:!0};let Xt=(()=>{class t{ngOnChanges(t){\"maxlength\"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S.maxLength(\"number\"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"maxlength\",\"\",\"formControlName\",\"\"],[\"\",\"maxlength\",\"\",\"formControl\",\"\"],[\"\",\"maxlength\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"maxlength\",e.maxlength?e.maxlength:null)},inputs:{maxlength:\"maxlength\"},features:[i.Cb([Gt]),i.Bb()]}),t})();const Kt={provide:C,useExisting:Object(i.V)(()=>Zt),multi:!0};let Zt=(()=>{class t{ngOnChanges(t){\"pattern\"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=S.pattern(this.pattern)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"pattern\",\"\",\"formControlName\",\"\"],[\"\",\"pattern\",\"\",\"formControl\",\"\"],[\"\",\"pattern\",\"\",\"ngModel\",\"\"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"pattern\",e.pattern?e.pattern:null)},inputs:{pattern:\"pattern\"},features:[i.Cb([Kt]),i.Bb()]}),t})(),Jt=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})(),te=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i=null,r=null,s=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new gt(n,{asyncValidators:r,updateOn:s,validators:i})}control(t,e,n){return new ft(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new bt(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof ft||t instanceof gt||t instanceof bt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),ee=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[j],imports:[Jt]}),t})(),ne=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:At,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[te,j],imports:[Jt]}),t})()},\"3UWI\":function(t,e,n){\"use strict\";var i=n(\"D0XW\"),r=n(\"l7GE\"),s=n(\"ZUHj\");class a{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends r.a{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(s.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var l=n(\"HDdC\"),c=n(\"DH7j\");function h(t){return!Object(c.a)(t)&&t-parseFloat(t)+1>=0}var d=n(\"z+Ro\");function u(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function p(t,e=i.a){return n=()=>function(t=0,e,n){let r=-1;return h(e)?r=Number(e)<1?1:Number(e):Object(d.a)(e)&&(n=e),Object(d.a)(n)||(n=i.a),new l.a(e=>{const i=h(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:r,subscriber:e})})}(t,e),function(t){return t.lift(new a(n))};var n}n.d(e,\"a\",(function(){return p}))},\"4I5i\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message=\"argument out of range\",this.name=\"ArgumentOutOfRangeError\",this}return t.prototype=Object.create(Error.prototype),t})()},\"4pnn\":function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"ofXK\");function s(t){return null==t}function a(t){return null!=t}function o(t,e){return e?{path:a(e.path)?e.path:t.path,domain:a(e.domain)?e.domain:t.domain,expires:a(e.expires)?e.expires:t.expires,secure:a(e.secure)?e.secure:t.secure,httpOnly:a(e.httpOnly)?e.httpOnly:t.httpOnly,storeUnencoded:a(e.storeUnencoded)?e.storeUnencoded:t.storeUnencoded}:t}function l(t){try{return decodeURIComponent(t)}catch(e){return t}}new i.r(\"REQUEST\"),new i.r(\"RESPONSE\"),n.d(e,\"b\",(function(){return d})),n.d(e,\"a\",(function(){return p}));const c=new i.r(\"COOKIE_OPTIONS\");let h=(()=>{class t{constructor(t={},e){this._injector=e,this.defaultOptions={path:this._injector.get(r.a,\"/\"),domain:null,expires:null,secure:!1,httpOnly:!1},this._options=o(this.defaultOptions,t)}get options(){return this._options}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c),i.ac(i.s))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),d=(()=>{class t{constructor(t){this._optionsProvider=t,this.options=this._optionsProvider.options}get cookieString(){return document.cookie||\"\"}set cookieString(t){document.cookie=t}get(t){return this._cookieReader()[t]}getObject(t){const e=this.get(t);return e?function(t){try{return JSON.parse(t)}catch(e){return t}}(e):e}getAll(){return this._cookieReader()}put(t,e,n){this._cookieWriter()(t,e,n)}putObject(t,e,n){this.put(t,JSON.stringify(e),n)}remove(t,e){this._cookieWriter()(t,void 0,e)}removeAll(t){const e=this.getAll();Object.keys(e).forEach(e=>{this.remove(e,t)})}_cookieReader(){let t,e,n,i,r,a={},o=\"\";const c=this.cookieString;if(c!==o)for(o=c,t=o.split(\"; \"),a={},n=0;n<t.length;n++)e=t[n],i=e.indexOf(\"=\"),i>0&&(r=l(e.substring(0,i)),s(a[r])&&(a[r]=l(e.substring(i+1))));return a}_cookieWriter(){const t=this;return function(e,n,i){t.cookieString=t._buildCookieString(e,n,i)}}_buildCookieString(t,e,n){const i=o(this.options,n);let r=i.expires;s(e)&&(r=\"Thu, 01 Jan 1970 00:00:00 GMT\",e=\"\"),\"string\"==typeof r&&(r=new Date(r));const a=i.storeUnencoded?e:encodeURIComponent(e);let l=encodeURIComponent(t)+\"=\"+a;l+=i.path?\";path=\"+i.path:\"\",l+=i.domain?\";domain=\"+i.domain:\"\",l+=r?\";expires=\"+r.toUTCString():\"\",l+=i.secure?\";secure\":\"\",l+=i.httpOnly?\"; HttpOnly\":\"\";const c=l.length+1;return c>4096&&console.log(`Cookie '${t}' possibly not set or overflowed because it was too large (${c} > 4096 bytes)!`),l}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(h))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();function u(t){return new d(t)}let p=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:c,useValue:e},{provide:d,useFactory:u,deps:[h]}]}}static forChild(e={}){return{ngModule:t,providers:[{provide:c,useValue:e},{provide:d,useFactory:u,deps:[h]}]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[h]}),t})()},\"5+tZ\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"ZUHj\"),r=n(\"l7GE\"),s=n(\"51Dv\"),a=n(\"lJxs\"),o=n(\"Cfvw\");function l(t,e,n=Number.POSITIVE_INFINITY){return\"function\"==typeof e?i=>i.pipe(l((n,i)=>Object(o.a)(t(n,i)).pipe(Object(a.a)((t,r)=>e(n,t,i,r))),n)):(\"number\"==typeof e&&(n=e),e=>e.lift(new c(t,n)))}class c{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new h(t,this.project,this.concurrent))}}class h extends r.a{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new s.a(this,e,n),a=this.destination;a.add(r);const o=Object(i.a)(this,t,void 0,void 0,r);o!==r&&a.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,i,r){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},\"51Dv\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");class r extends i.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},\"5M3R\":function(t,e,n){function i(){var t;try{t=e.storage.debug}catch(n){}return!t&&\"undefined\"!=typeof process&&\"env\"in process&&(t=process.env.DEBUG),t}(e=t.exports=n(\"Nq7k\")).log=function(){return\"object\"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?\"%c\":\"\")+this.namespace+(n?\" %c\":\" \")+t[0]+(n?\"%c \":\" \")+\"+\"+e.humanize(this.diff),n){var i=\"color: \"+this.color;t.splice(1,0,i,\"color: inherit\");var r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){\"%%\"!==t&&(r++,\"%c\"===t&&(s=r))})),t.splice(s,0,i)}},e.save=function(t){try{null==t?e.storage.removeItem(\"debug\"):e.storage.debug=t}catch(n){}},e.load=i,e.useColors=function(){return!(\"undefined\"==typeof window||!window.process||\"renderer\"!==window.process.type)||(\"undefined\"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))&&(\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/))},e.storage=\"undefined\"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}},e.enable(i())},\"6C75\":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==n.call(t)}},\"7+OI\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"HDdC\");function r(t){return!!t&&(t instanceof i.a||\"function\"==typeof t.lift&&\"function\"==typeof t.subscribe)}},\"7EHt\":function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"8LU1\"),s=n(\"XNiG\"),a=n(\"quSY\"),o=n(\"0EQZ\");let l=0,c=(()=>{class t{constructor(){this._stateChanges=new s.a,this._openCloseAllActions=new s.a,this.id=`cdk-accordion-${l++}`,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(r.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"cdk-accordion\"],[\"\",\"cdkAccordion\",\"\"]],inputs:{multi:\"multi\"},exportAs:[\"cdkAccordion\"],features:[i.Bb()]}),t})(),h=0,d=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=a.a.EMPTY,this.closed=new i.o,this.opened=new i.o,this.destroyed=new i.o,this.expandedChange=new i.o,this.id=`cdk-accordion-child-${h++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(r.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(c,12),i.Qb(i.h),i.Qb(o.d))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"cdk-accordion-item\"],[\"\",\"cdkAccordionItem\",\"\"]],inputs:{expanded:\"expanded\",disabled:\"disabled\"},outputs:{closed:\"closed\",opened:\"opened\",destroyed:\"destroyed\",expandedChange:\"expandedChange\"},exportAs:[\"cdkAccordionItem\"],features:[i.Cb([{provide:c,useValue:void 0}])]}),t})(),u=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();var p=n(\"+rOU\"),m=n(\"ofXK\"),f=n(\"u47x\"),g=n(\"FtGj\"),b=n(\"/uUt\"),_=n(\"JX91\"),y=n(\"pLZG\"),v=n(\"IzEk\"),w=n(\"EY2u\"),x=n(\"VRyK\"),C=n(\"R0Ic\"),k=n(\"R1ws\");n.d(e,\"a\",(function(){return U})),n.d(e,\"b\",(function(){return V})),n.d(e,\"c\",(function(){return B})),n.d(e,\"d\",(function(){return z})),n.d(e,\"e\",(function(){return H}));const O=[\"body\"];function S(t,e){}const M=[[[\"mat-expansion-panel-header\"]],\"*\",[[\"mat-action-row\"]]],P=[\"mat-expansion-panel-header\",\"*\",\"mat-action-row\"],E=function(t,e){return{collapsedHeight:t,expandedHeight:e}},A=function(t,e){return{value:t,params:e}};function D(t,e){if(1&t&&i.Rb(0,\"span\",2),2&t){const t=i.ic();i.oc(\"@indicatorRotate\",t._getExpandedState())}}const R=[[[\"mat-panel-title\"]],[[\"mat-panel-description\"]],\"*\"],T=[\"mat-panel-title\",\"mat-panel-description\",\"*\"],I=new i.r(\"MAT_ACCORDION\"),j={indicatorRotate:Object(C.p)(\"indicatorRotate\",[Object(C.m)(\"collapsed, void\",Object(C.n)({transform:\"rotate(0deg)\"})),Object(C.m)(\"expanded\",Object(C.n)({transform:\"rotate(180deg)\"})),Object(C.o)(\"expanded <=> collapsed, void => collapsed\",Object(C.e)(\"225ms cubic-bezier(0.4,0.0,0.2,1)\"))]),expansionHeaderHeight:Object(C.p)(\"expansionHeight\",[Object(C.m)(\"collapsed, void\",Object(C.n)({height:\"{{collapsedHeight}}\"}),{params:{collapsedHeight:\"48px\"}}),Object(C.m)(\"expanded\",Object(C.n)({height:\"{{expandedHeight}}\"}),{params:{expandedHeight:\"64px\"}}),Object(C.o)(\"expanded <=> collapsed, void => collapsed\",Object(C.h)([Object(C.j)(\"@indicatorRotate\",Object(C.f)(),{optional:!0}),Object(C.e)(\"225ms cubic-bezier(0.4,0.0,0.2,1)\")]))]),bodyExpansion:Object(C.p)(\"bodyExpansion\",[Object(C.m)(\"collapsed, void\",Object(C.n)({height:\"0px\",visibility:\"hidden\"})),Object(C.m)(\"expanded\",Object(C.n)({height:\"*\",visibility:\"visible\"})),Object(C.o)(\"expanded <=> collapsed, void => collapsed\",Object(C.e)(\"225ms cubic-bezier(0.4,0.0,0.2,1)\"))])};let L=(()=>{class t{constructor(t){this._template=t}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.M))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"ng-template\",\"matExpansionPanelContent\",\"\"]]}),t})(),F=0;const N=new i.r(\"MAT_EXPANSION_PANEL_DEFAULT_OPTIONS\");let V=(()=>{class t extends d{constructor(t,e,n,r,a,o,l){super(t,e,n),this._viewContainerRef=r,this._animationMode=o,this._hideToggle=!1,this.afterExpand=new i.o,this.afterCollapse=new i.o,this._inputChanges=new s.a,this._headerId=`mat-expansion-panel-header-${F++}`,this._bodyAnimationDone=new s.a,this.accordion=t,this._document=a,this._bodyAnimationDone.pipe(Object(b.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{\"void\"!==t.fromState&&(\"expanded\"===t.toState?this.afterExpand.emit():\"collapsed\"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&\"default\"===this.accordion.displayMode}_getExpandedState(){return this.expanded?\"expanded\":\"collapsed\"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(_.a)(null),Object(y.a)(()=>this.expanded&&!this._portal),Object(v.a)(1)).subscribe(()=>{this._portal=new p.g(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(I,12),i.Qb(i.h),i.Qb(o.d),i.Qb(i.P),i.Qb(m.d),i.Qb(k.a,8),i.Qb(N,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-expansion-panel\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,L,!0),2&t&&i.vc(r=i.fc())&&(e._lazyContent=r.first)},viewQuery:function(t,e){var n;1&t&&i.Pc(O,!0),2&t&&i.vc(n=i.fc())&&(e._body=n.first)},hostAttrs:[1,\"mat-expansion-panel\"],hostVars:6,hostBindings:function(t,e){2&t&&i.Hb(\"mat-expanded\",e.expanded)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)(\"mat-expansion-panel-spacing\",e._hasSpacing())},inputs:{disabled:\"disabled\",expanded:\"expanded\",hideToggle:\"hideToggle\",togglePosition:\"togglePosition\"},outputs:{opened:\"opened\",closed:\"closed\",expandedChange:\"expandedChange\",afterExpand:\"afterExpand\",afterCollapse:\"afterCollapse\"},exportAs:[\"matExpansionPanel\"],features:[i.Cb([{provide:I,useValue:void 0}]),i.Ab,i.Bb()],ngContentSelectors:P,decls:7,vars:4,consts:[[\"role\",\"region\",1,\"mat-expansion-panel-content\",3,\"id\"],[\"body\",\"\"],[1,\"mat-expansion-panel-body\"],[3,\"cdkPortalOutlet\"]],template:function(t,e){1&t&&(i.nc(M),i.mc(0),i.Wb(1,\"div\",0,1),i.ec(\"@bodyExpansion.done\",(function(t){return e._bodyAnimationDone.next(t)})),i.Wb(3,\"div\",2),i.mc(4,1),i.Hc(5,S,0,0,\"ng-template\",3),i.Vb(),i.mc(6,2),i.Vb()),2&t&&(i.Db(1),i.oc(\"@bodyExpansion\",e._getExpandedState())(\"id\",e.id),i.Eb(\"aria-labelledby\",e._headerId),i.Db(4),i.oc(\"cdkPortalOutlet\",e._portal))},directives:[p.b],styles:[\".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}\\n\"],encapsulation:2,data:{animation:[j.bodyExpansion]},changeDetection:0}),t})(),z=(()=>{class t{constructor(t,e,n,i,r){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=a.a.EMPTY,this._animationsDisabled=!0;const s=t.accordion?t.accordion._stateChanges.pipe(Object(y.a)(t=>!(!t.hideToggle&&!t.togglePosition))):w.a;this._parentChangeSubscription=Object(x.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(y.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(y.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,\"program\")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case g.l:case g.d:Object(g.q)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t=\"program\",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(V,1),i.Qb(i.l),i.Qb(f.h),i.Qb(i.h),i.Qb(N,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-expansion-panel-header\"]],hostAttrs:[\"role\",\"button\",1,\"mat-expansion-panel-header\"],hostVars:19,hostBindings:function(t,e){1&t&&(i.Ib(\"@expansionHeight.start\",(function(){return e._animationStarted()})),i.ec(\"click\",(function(){return e._toggle()}))(\"keydown\",(function(t){return e._keydown(t)}))),2&t&&(i.Eb(\"id\",e.panel._headerId)(\"tabindex\",e.disabled?-1:0)(\"aria-controls\",e._getPanelId())(\"aria-expanded\",e._isExpanded())(\"aria-disabled\",e.panel.disabled),i.Oc(\"@.disabled\",e._animationsDisabled)(\"@expansionHeight\",i.uc(16,A,e._getExpandedState(),i.uc(13,E,e.collapsedHeight,e.expandedHeight))),i.Hb(\"mat-expanded\",e._isExpanded())(\"mat-expansion-toggle-indicator-after\",\"after\"===e._getTogglePosition())(\"mat-expansion-toggle-indicator-before\",\"before\"===e._getTogglePosition()))},inputs:{expandedHeight:\"expandedHeight\",collapsedHeight:\"collapsedHeight\"},ngContentSelectors:T,decls:5,vars:1,consts:[[1,\"mat-content\"],[\"class\",\"mat-expansion-indicator\",4,\"ngIf\"],[1,\"mat-expansion-indicator\"]],template:function(t,e){1&t&&(i.nc(R),i.Wb(0,\"span\",0),i.mc(1),i.mc(2,1),i.mc(3,2),i.Vb(),i.Hc(4,D,1,1,\"span\",1)),2&t&&(i.Db(4),i.oc(\"ngIf\",e._showToggle()))},directives:[m.l],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:\"\";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\\n'],encapsulation:2,data:{animation:[j.indicatorRotate,j.expansionHeaderHeight]},changeDetection:0}),t})(),B=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-panel-description\"]],hostAttrs:[1,\"mat-expansion-panel-header-description\"]}),t})(),H=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-panel-title\"]],hostAttrs:[1,\"mat-expansion-panel-header-title\"]}),t})(),U=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[m.c,u,p.f]]}),t})()},\"7Hc7\":function(t,e,n){\"use strict\";let i=1;const r=(()=>Promise.resolve())(),s={};function a(t){return t in s&&(delete s[t],!0)}const o={setImmediate(t){const e=i++;return s[e]=!0,r.then(()=>a(e)&&t()),e},clearImmediate(t){a(t)}};var l=n(\"3N8a\");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=o.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(o.clearImmediate(e),t.scheduled=void 0)}}var h=n(\"IjjT\");class d extends h.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<r&&(t=e.shift()));if(this.active=!1,n){for(;++i<r&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,\"a\",(function(){return u}));const u=new d(c)},\"7O5W\":function(t,e,n){\"use strict\";function i(t){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);\"function\"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(l){r=!0,s=l}finally{try{i||null==o.return||o.return()}finally{if(r)throw s}}return n}(t,e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||\"[object Arguments]\"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}n.d(e,\"b\",(function(){return fe})),n.d(e,\"a\",(function(){return be}));var l=function(){},c={},h={},d=null,u={mark:l,measure:l};try{\"undefined\"!=typeof window&&(c=window),\"undefined\"!=typeof document&&(h=document),\"undefined\"!=typeof MutationObserver&&(d=MutationObserver),\"undefined\"!=typeof performance&&(u=performance)}catch(we){}var p=(c.navigator||{}).userAgent,m=void 0===p?\"\":p,f=c,g=h,b=d,_=u,y=!!g.documentElement&&!!g.head&&\"function\"==typeof g.addEventListener&&\"function\"==typeof g.createElement,v=~m.indexOf(\"MSIE\")||~m.indexOf(\"Trident/\"),w=[\"HTML\",\"HEAD\",\"STYLE\",\"SCRIPT\"],x=function(){try{return!0}catch(we){return!1}}(),C={fas:\"solid\",far:\"regular\",fal:\"light\",fad:\"duotone\",fab:\"brands\",fa:\"solid\"},k={solid:\"fas\",regular:\"far\",light:\"fal\",duotone:\"fad\",brands:\"fab\"},O=/Font Awesome 5 (Solid|Regular|Light|Duotone|Brands|Free|Pro)/,S={900:\"fas\",400:\"far\",normal:\"far\",300:\"fal\"},M=[1,2,3,4,5,6,7,8,9,10],P=M.concat([11,12,13,14,15,16,17,18,19,20]),E=[\"class\",\"data-prefix\",\"data-icon\",\"data-fa-transform\",\"data-fa-mask\"],A={GROUP:\"group\",SWAP_OPACITY:\"swap-opacity\",PRIMARY:\"primary\",SECONDARY:\"secondary\"},D=[\"xs\",\"sm\",\"lg\",\"fw\",\"ul\",\"li\",\"border\",\"pull-left\",\"pull-right\",\"spin\",\"pulse\",\"rotate-90\",\"rotate-180\",\"rotate-270\",\"flip-horizontal\",\"flip-vertical\",\"flip-both\",\"stack\",\"stack-1x\",\"stack-2x\",\"inverse\",\"layers\",\"layers-text\",\"layers-counter\",A.GROUP,A.SWAP_OPACITY,A.PRIMARY,A.SECONDARY].concat(M.map((function(t){return\"\".concat(t,\"x\")}))).concat(P.map((function(t){return\"w-\".concat(t)}))),R=f.FontAwesomeConfig||{};g&&\"function\"==typeof g.querySelector&&[[\"data-family-prefix\",\"familyPrefix\"],[\"data-replacement-class\",\"replacementClass\"],[\"data-auto-replace-svg\",\"autoReplaceSvg\"],[\"data-auto-add-css\",\"autoAddCss\"],[\"data-auto-a11y\",\"autoA11y\"],[\"data-search-pseudo-elements\",\"searchPseudoElements\"],[\"data-observe-mutations\",\"observeMutations\"],[\"data-mutate-approach\",\"mutateApproach\"],[\"data-keep-original-source\",\"keepOriginalSource\"],[\"data-measure-performance\",\"measurePerformance\"],[\"data-show-missing-icons\",\"showMissingIcons\"]].forEach((function(t){var e=a(t,2),n=e[1],i=function(t){return\"\"===t||\"false\"!==t&&(\"true\"===t||t)}(function(t){var e=g.querySelector(\"script[\"+t+\"]\");if(e)return e.getAttribute(t)}(e[0]));null!=i&&(R[n]=i)}));var T=s({},{familyPrefix:\"fa\",replacementClass:\"svg-inline--fa\",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:\"async\",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},R);T.autoReplaceSvg||(T.observeMutations=!1);var I=s({},T);f.FontAwesomeConfig=I;var j=f||{};j.___FONT_AWESOME___||(j.___FONT_AWESOME___={}),j.___FONT_AWESOME___.styles||(j.___FONT_AWESOME___.styles={}),j.___FONT_AWESOME___.hooks||(j.___FONT_AWESOME___.hooks={}),j.___FONT_AWESOME___.shims||(j.___FONT_AWESOME___.shims=[]);var L=j.___FONT_AWESOME___,F=[],N=!1;function V(t){y&&(N?setTimeout(t,0):F.push(t))}y&&((N=(g.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(g.readyState))||g.addEventListener(\"DOMContentLoaded\",(function t(){g.removeEventListener(\"DOMContentLoaded\",t),N=1,F.map((function(t){return t()}))})));var z,B=function(){},H=\"undefined\"!=typeof global&&void 0!==global.process&&\"function\"==typeof global.process.emit,U=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,q=[];function Q(){for(var t=0;t<q.length;t++)q[t][0](q[t][1]);q=[],z=!1}function W(t,e){q.push([t,e]),z||(z=!0,U(Q,0))}function Y(t){var e=t.owner,n=e._state,i=e._data,r=t[n],s=t.then;if(\"function\"==typeof r){n=\"fulfilled\";try{i=r(i)}catch(we){K(s,we)}}$(s,i)||(\"fulfilled\"===n&&G(s,i),\"rejected\"===n&&K(s,i))}function $(t,e){var n;try{if(t===e)throw new TypeError(\"A promises callback cannot return that same promise.\");if(e&&(\"function\"==typeof e||\"object\"===i(e))){var r=e.then;if(\"function\"==typeof r)return r.call(e,(function(i){n||(n=!0,e===i?X(t,i):G(t,i))}),(function(e){n||(n=!0,K(t,e))})),!0}}catch(we){return n||K(t,we),!0}return!1}function G(t,e){t!==e&&$(t,e)||X(t,e)}function X(t,e){\"pending\"===t._state&&(t._state=\"settled\",t._data=e,W(J,t))}function K(t,e){\"pending\"===t._state&&(t._state=\"settled\",t._data=e,W(tt,t))}function Z(t){t._then=t._then.forEach(Y)}function J(t){t._state=\"fulfilled\",Z(t)}function tt(t){t._state=\"rejected\",Z(t),!t._handled&&H&&global.process.emit(\"unhandledRejection\",t._data,t)}function et(t){global.process.emit(\"rejectionHandled\",t)}function nt(t){if(\"function\"!=typeof t)throw new TypeError(\"Promise resolver \"+t+\" is not a function\");if(this instanceof nt==0)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],function(t,e){function n(t){K(e,t)}try{t((function(t){G(e,t)}),n)}catch(we){n(we)}}(t,this)}nt.prototype={constructor:nt,_state:\"pending\",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(B),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,\"rejected\"===this._state&&H&&W(et,this)),\"fulfilled\"===this._state||\"rejected\"===this._state?W(Y,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},nt.all=function(t){if(!Array.isArray(t))throw new TypeError(\"You must pass an array to Promise.all().\");return new nt((function(e,n){var i=[],r=0;function s(t){return r++,function(n){i[t]=n,--r||e(i)}}for(var a,o=0;o<t.length;o++)(a=t[o])&&\"function\"==typeof a.then?a.then(s(o),n):i[o]=a;r||e(i)}))},nt.race=function(t){if(!Array.isArray(t))throw new TypeError(\"You must pass an array to Promise.race().\");return new nt((function(e,n){for(var i,r=0;r<t.length;r++)(i=t[r])&&\"function\"==typeof i.then?i.then(e,n):e(i)}))},nt.resolve=function(t){return t&&\"object\"===i(t)&&t.constructor===nt?t:new nt((function(e){e(t)}))},nt.reject=function(t){return new nt((function(e,n){n(t)}))};var it=\"function\"==typeof Promise?Promise:nt,rt=16,st={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function at(t){if(t&&y){var e=g.createElement(\"style\");e.setAttribute(\"type\",\"text/css\"),e.innerHTML=t;for(var n=g.head.childNodes,i=null,r=n.length-1;r>-1;r--){var s=n[r],a=(s.tagName||\"\").toUpperCase();[\"STYLE\",\"LINK\"].indexOf(a)>-1&&(i=s)}return g.head.insertBefore(e,i),t}}function ot(){for(var t=12,e=\"\";t-- >0;)e+=\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\"[62*Math.random()|0];return e}function lt(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function ct(t){return t.classList?lt(t.classList):(t.getAttribute(\"class\")||\"\").split(\" \").filter((function(t){return t}))}function ht(t){return\"\".concat(t).replace(/&/g,\"&amp;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#39;\").replace(/<\/g,\"&lt;\").replace(/>/g,\"&gt;\")}function dt(t){return Object.keys(t||{}).reduce((function(e,n){return e+\"\".concat(n,\": \").concat(t[n],\";\")}),\"\")}function ut(t){return t.size!==st.size||t.x!==st.x||t.y!==st.y||t.rotate!==st.rotate||t.flipX||t.flipY}function pt(t){var e=t.transform,n=t.iconWidth,i={transform:\"translate(\".concat(t.containerWidth/2,\" 256)\")},r=\"translate(\".concat(32*e.x,\", \").concat(32*e.y,\") \"),s=\"scale(\".concat(e.size/16*(e.flipX?-1:1),\", \").concat(e.size/16*(e.flipY?-1:1),\") \"),a=\"rotate(\".concat(e.rotate,\" 0 0)\");return{outer:i,inner:{transform:\"\".concat(r,\" \").concat(s,\" \").concat(a)},path:{transform:\"translate(\".concat(n/2*-1,\" -256)\")}}}var mt={x:0,y:0,width:\"100%\",height:\"100%\"};function ft(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill=\"black\"),t}function gt(t){var e=t.icons,n=e.main,i=e.mask,r=t.prefix,a=t.iconName,o=t.transform,l=t.symbol,c=t.title,h=t.extra,d=t.watchable,u=void 0!==d&&d,p=i.found?i:n,m=p.width,f=p.height,g=\"fa-w-\".concat(Math.ceil(m/f*16)),b=[I.replacementClass,a?\"\".concat(I.familyPrefix,\"-\").concat(a):\"\",g].filter((function(t){return-1===h.classes.indexOf(t)})).concat(h.classes).join(\" \"),_={children:[],attributes:s({},h.attributes,{\"data-prefix\":r,\"data-icon\":a,class:b,role:h.attributes.role||\"img\",xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 \".concat(m,\" \").concat(f)})};u&&(_.attributes[\"data-fa-i2svg\"]=\"\"),c&&_.children.push({tag:\"title\",attributes:{id:_.attributes[\"aria-labelledby\"]||\"title-\".concat(ot())},children:[c]});var y=s({},_,{prefix:r,iconName:a,main:n,mask:i,transform:o,symbol:l,styles:h.styles}),v=i.found&&n.found?function(t){var e,n=t.children,i=t.attributes,r=t.main,a=t.mask,o=r.icon,l=a.icon,c=pt({transform:t.transform,containerWidth:a.width,iconWidth:r.width}),h={tag:\"rect\",attributes:s({},mt,{fill:\"white\"})},d=o.children?{children:o.children.map(ft)}:{},u={tag:\"g\",attributes:s({},c.inner),children:[ft(s({tag:o.tag,attributes:s({},o.attributes,c.path)},d))]},p={tag:\"g\",attributes:s({},c.outer),children:[u]},m=\"mask-\".concat(ot()),f=\"clip-\".concat(ot()),g={tag:\"mask\",attributes:s({},mt,{id:m,maskUnits:\"userSpaceOnUse\",maskContentUnits:\"userSpaceOnUse\"}),children:[h,p]},b={tag:\"defs\",children:[{tag:\"clipPath\",attributes:{id:f},children:(e=l,\"g\"===e.tag?e.children:[e])},g]};return n.push(b,{tag:\"rect\",attributes:s({fill:\"currentColor\",\"clip-path\":\"url(#\".concat(f,\")\"),mask:\"url(#\".concat(m,\")\")},mt)}),{children:n,attributes:i}}(y):function(t){var e=t.children,n=t.attributes,i=t.main,r=t.transform,a=dt(t.styles);if(a.length>0&&(n.style=a),ut(r)){var o=pt({transform:r,containerWidth:i.width,iconWidth:i.width});e.push({tag:\"g\",attributes:s({},o.outer),children:[{tag:\"g\",attributes:s({},o.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:s({},i.icon.attributes,o.path)}]}]})}else e.push(i.icon);return{children:e,attributes:n}}(y),w=v.attributes;return y.children=v.children,y.attributes=w,l?function(t){var e=t.iconName,n=t.children,i=t.symbol;return[{tag:\"svg\",attributes:{style:\"display: none;\"},children:[{tag:\"symbol\",attributes:s({},t.attributes,{id:!0===i?\"\".concat(t.prefix,\"-\").concat(I.familyPrefix,\"-\").concat(e):i}),children:n}]}]}(y):function(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,a=t.styles,o=t.transform;if(ut(o)&&n.found&&!i.found){var l={x:n.width/n.height/2,y:.5};r.style=dt(s({},a,{\"transform-origin\":\"\".concat(l.x+o.x/16,\"em \").concat(l.y+o.y/16,\"em\")}))}return[{tag:\"svg\",attributes:r,children:e}]}(y)}function bt(t){var e=t.content,n=t.width,i=t.height,r=t.transform,a=t.title,o=t.extra,l=t.watchable,c=void 0!==l&&l,h=s({},o.attributes,a?{title:a}:{},{class:o.classes.join(\" \")});c&&(h[\"data-fa-i2svg\"]=\"\");var d=s({},o.styles);ut(r)&&(d.transform=function(t){var e=t.transform,n=t.width,i=t.height,r=void 0===i?16:i,s=t.startCentered,a=void 0!==s&&s,o=\"\";return o+=a&&v?\"translate(\".concat(e.x/rt-(void 0===n?16:n)/2,\"em, \").concat(e.y/rt-r/2,\"em) \"):a?\"translate(calc(-50% + \".concat(e.x/rt,\"em), calc(-50% + \").concat(e.y/rt,\"em)) \"):\"translate(\".concat(e.x/rt,\"em, \").concat(e.y/rt,\"em) \"),(o+=\"scale(\".concat(e.size/rt*(e.flipX?-1:1),\", \").concat(e.size/rt*(e.flipY?-1:1),\") \"))+\"rotate(\".concat(e.rotate,\"deg) \")}({transform:r,startCentered:!0,width:n,height:i}),d[\"-webkit-transform\"]=d.transform);var u=dt(d);u.length>0&&(h.style=u);var p=[];return p.push({tag:\"span\",attributes:h,children:[e]}),a&&p.push({tag:\"span\",attributes:{class:\"sr-only\"},children:[a]}),p}function _t(t){var e=t.content,n=t.title,i=t.extra,r=s({},i.attributes,n?{title:n}:{},{class:i.classes.join(\" \")}),a=dt(i.styles);a.length>0&&(r.style=a);var o=[];return o.push({tag:\"span\",attributes:r,children:[e]}),n&&o.push({tag:\"span\",attributes:{class:\"sr-only\"},children:[n]}),o}var yt=function(){},vt=I.measurePerformance&&_&&_.mark&&_.measure?_:{mark:yt,measure:yt},wt='FA \"5.12.1\"',xt=function(t){return vt.mark(\"\".concat(wt,\" \").concat(t,\" begins\")),function(){return function(t){vt.mark(\"\".concat(wt,\" \").concat(t,\" ends\")),vt.measure(\"\".concat(wt,\" \").concat(t),\"\".concat(wt,\" \").concat(t,\" begins\"),\"\".concat(wt,\" \").concat(t,\" ends\"))}(t)}},Ct=function(t,e,n,i){var r,s,a,o=Object.keys(t),l=o.length,c=void 0!==i?function(t,e){return function(n,i,r,s){return t.call(e,n,i,r,s)}}(e,i):e;for(void 0===n?(r=1,a=t[o[0]]):(r=0,a=n);r<l;r++)a=c(a,t[s=o[r]],s,t);return a};function kt(t){for(var e=\"\",n=0;n<t.length;n++)e+=(\"000\"+t.charCodeAt(n).toString(16)).slice(-4);return e}function Ot(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,r=void 0!==i&&i,a=Object.keys(e).reduce((function(t,n){var i=e[n];return i.icon?t[i.iconName]=i.icon:t[n]=i,t}),{});\"function\"!=typeof L.hooks.addPack||r?L.styles[t]=s({},L.styles[t]||{},a):L.hooks.addPack(t,a),\"fas\"===t&&Ot(\"fa\",e)}var St=L.styles,Mt=L.shims,Pt={},Et={},At={},Dt=function(){var t=function(t){return Ct(St,(function(e,n,i){return e[i]=Ct(n,t,{}),e}),{})};Pt=t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),Et=t((function(t,e,n){var i=e[2];return t[n]=n,i.forEach((function(e){t[e]=n})),t}));var e=\"far\"in St;At=Ct(Mt,(function(t,n){var i=n[1];return\"far\"!==i||e||(i=\"fas\"),t[n[0]]={prefix:i,iconName:n[2]},t}),{})};function Rt(t,e){return(Pt[t]||{})[e]}Dt();var Tt=L.styles;function It(t){return t.reduce((function(t,e){var n=function(t,e){var n=e.split(\"-\"),i=n[0],r=n.slice(1).join(\"-\");return i!==t||\"\"===r||~D.indexOf(r)?null:r}(I.familyPrefix,e);if(Tt[e])t.prefix=e;else if(I.autoFetchSvg&&[\"fas\",\"far\",\"fal\",\"fad\",\"fab\",\"fa\"].indexOf(e)>-1)t.prefix=e;else if(n){var i=\"fa\"===t.prefix?At[n]||{prefix:null,iconName:null}:{};t.iconName=i.iconName||n,t.prefix=i.prefix||t.prefix}else e!==I.replacementClass&&0!==e.indexOf(\"fa-w-\")&&t.rest.push(e);return t}),{prefix:null,iconName:null,rest:[]})}function jt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Lt(t){var e=t.tag,n=t.attributes,i=void 0===n?{}:n,r=t.children,s=void 0===r?[]:r;return\"string\"==typeof t?ht(t):\"<\".concat(e,\" \").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+\"\".concat(n,'=\"').concat(ht(t[n]),'\" ')}),\"\").trim()}(i),\">\").concat(s.map(Lt).join(\"\"),\"<\/\").concat(e,\">\")}var Ft=function(){};function Nt(t){return\"string\"==typeof(t.getAttribute?t.getAttribute(\"data-fa-i2svg\"):null)}var Vt={replace:function(t){var e=t[0],n=t[1].map((function(t){return Lt(t)})).join(\"\\n\");if(e.parentNode&&e.outerHTML)e.outerHTML=n+(I.keepOriginalSource&&\"svg\"!==e.tagName.toLowerCase()?\"\\x3c!-- \".concat(e.outerHTML,\" --\\x3e\"):\"\");else if(e.parentNode){var i=document.createElement(\"span\");e.parentNode.replaceChild(i,e),i.outerHTML=n}},nest:function(t){var e=t[0],n=t[1];if(~ct(e).indexOf(I.replacementClass))return Vt.replace(t);var i=new RegExp(\"\".concat(I.familyPrefix,\"-.*\"));delete n[0].attributes.style,delete n[0].attributes.id;var r=n[0].attributes.class.split(\" \").reduce((function(t,e){return e===I.replacementClass||e.match(i)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(\" \");var s=n.map((function(t){return Lt(t)})).join(\"\\n\");e.setAttribute(\"class\",r.toNode.join(\" \")),e.setAttribute(\"data-fa-i2svg\",\"\"),e.innerHTML=s}};function zt(t){t()}function Bt(t,e){var n=\"function\"==typeof e?e:Ft;if(0===t.length)n();else{var i=zt;\"async\"===I.mutateApproach&&(i=f.requestAnimationFrame||zt),i((function(){var e=!0===I.autoReplaceSvg?Vt.replace:Vt[I.autoReplaceSvg]||Vt.replace,i=xt(\"mutate\");t.map(e),i(),n()}))}}var Ht=!1;function Ut(){Ht=!1}var qt=null;function Qt(t){if(b&&I.observeMutations){var e=t.treeCallback,n=t.nodeCallback,i=t.pseudoElementsCallback,r=t.observeMutationsRoot,s=void 0===r?g:r;qt=new b((function(t){Ht||lt(t).forEach((function(t){if(\"childList\"===t.type&&t.addedNodes.length>0&&!Nt(t.addedNodes[0])&&(I.searchPseudoElements&&i(t.target),e(t.target)),\"attributes\"===t.type&&t.target.parentNode&&I.searchPseudoElements&&i(t.target.parentNode),\"attributes\"===t.type&&Nt(t.target)&&~E.indexOf(t.attributeName))if(\"class\"===t.attributeName){var r=It(ct(t.target)),s=r.prefix,a=r.iconName;s&&t.target.setAttribute(\"data-prefix\",s),a&&t.target.setAttribute(\"data-icon\",a)}else n(t.target)}))})),y&&qt.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}var Wt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(\" \").reduce((function(t,e){var n=e.toLowerCase().split(\"-\"),i=n[0],r=n.slice(1).join(\"-\");if(i&&\"h\"===r)return t.flipX=!0,t;if(i&&\"v\"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(i){case\"grow\":t.size=t.size+r;break;case\"shrink\":t.size=t.size-r;break;case\"left\":t.x=t.x-r;break;case\"right\":t.x=t.x+r;break;case\"up\":t.y=t.y-r;break;case\"down\":t.y=t.y+r;break;case\"rotate\":t.rotate=t.rotate+r}return t}),e):e};function Yt(t){this.name=\"MissingIcon\",this.message=t||\"Icon unavailable\",this.stack=(new Error).stack}(Yt.prototype=Object.create(Error.prototype)).constructor=Yt;var $t={fill:\"currentColor\"},Gt={attributeType:\"XML\",repeatCount:\"indefinite\",dur:\"2s\"},Xt={tag:\"path\",attributes:s({},$t,{d:\"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z\"})},Kt=s({},Gt,{attributeName:\"opacity\"}),Zt={tag:\"g\",children:[Xt,{tag:\"circle\",attributes:s({},$t,{cx:\"256\",cy:\"364\",r:\"28\"}),children:[{tag:\"animate\",attributes:s({},Gt,{attributeName:\"r\",values:\"28;14;28;28;14;28;\"})},{tag:\"animate\",attributes:s({},Kt,{values:\"1;0;1;1;0;1;\"})}]},{tag:\"path\",attributes:s({},$t,{opacity:\"1\",d:\"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z\"}),children:[{tag:\"animate\",attributes:s({},Kt,{values:\"1;0;0;0;0;1;\"})}]},{tag:\"path\",attributes:s({},$t,{opacity:\"0\",d:\"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z\"}),children:[{tag:\"animate\",attributes:s({},Kt,{values:\"0;0;1;1;0;0;\"})}]}]},Jt=L.styles;function te(t){var e=t[0],n=t[1],i=a(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(i)?{tag:\"g\",attributes:{class:\"\".concat(I.familyPrefix,\"-\").concat(A.GROUP)},children:[{tag:\"path\",attributes:{class:\"\".concat(I.familyPrefix,\"-\").concat(A.SECONDARY),fill:\"currentColor\",d:i[0]}},{tag:\"path\",attributes:{class:\"\".concat(I.familyPrefix,\"-\").concat(A.PRIMARY),fill:\"currentColor\",d:i[1]}}]}:{tag:\"path\",attributes:{fill:\"currentColor\",d:i}}}}function ee(t,e){return new it((function(n,r){var s={found:!1,width:512,height:512,icon:Zt};if(t&&e&&Jt[e]&&Jt[e][t])return n(te(Jt[e][t]));\"object\"===i(f.FontAwesomeKitConfig)&&window,t&&e&&!I.showMissingIcons?r(new Yt(\"Icon is missing for prefix \".concat(e,\" with icon name \").concat(t))):n(s)}))}var ne=L.styles;function ie(t){var e=function(t){var e=function(t){var e=t.getAttribute(\"data-prefix\"),n=t.getAttribute(\"data-icon\"),i=void 0!==t.innerText?t.innerText.trim():\"\",r=It(ct(t));return e&&n&&(r.prefix=e,r.iconName=n),r.prefix&&i.length>1?r.iconName=(Et[r.prefix]||{})[t.innerText]:r.prefix&&1===i.length&&(r.iconName=Rt(r.prefix,kt(t.innerText))),r}(t),n=e.iconName,i=e.prefix,r=e.rest,s=function(t){var e=t.getAttribute(\"style\"),n=[];return e&&(n=e.split(\";\").reduce((function(t,e){var n=e.split(\":\"),i=n[0],r=n.slice(1);return i&&r.length>0&&(t[i]=r.join(\":\").trim()),t}),{})),n}(t),a=function(t){return Wt(t.getAttribute(\"data-fa-transform\"))}(t),o=function(t){var e=t.getAttribute(\"data-fa-symbol\");return null!==e&&(\"\"===e||e)}(t),l=function(t){var e=lt(t.attributes).reduce((function(t,e){return\"class\"!==t.name&&\"style\"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute(\"title\");return I.autoA11y&&(n?e[\"aria-labelledby\"]=\"\".concat(I.replacementClass,\"-title-\").concat(ot()):(e[\"aria-hidden\"]=\"true\",e.focusable=\"false\")),e}(t),c=function(t){var e=t.getAttribute(\"data-fa-mask\");return e?It(e.split(\" \").map((function(t){return t.trim()}))):{prefix:null,iconName:null,rest:[]}}(t);return{iconName:n,title:t.getAttribute(\"title\"),prefix:i,transform:a,symbol:o,mask:c,extra:{classes:r,styles:s,attributes:l}}}(t);return~e.extra.classes.indexOf(\"fa-layers-text\")?function(t,e){var n=e.title,i=e.transform,r=e.extra,s=null,a=null;if(v){var o=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/o,a=l.height/o}return I.autoA11y&&!n&&(r.attributes[\"aria-hidden\"]=\"true\"),it.resolve([t,bt({content:t.innerHTML,width:s,height:a,transform:i,title:n,extra:r,watchable:!0})])}(t,e):function(t,e){var n=e.iconName,i=e.title,r=e.prefix,s=e.transform,o=e.symbol,l=e.mask,c=e.extra;return new it((function(e,h){it.all([ee(n,r),ee(l.iconName,l.prefix)]).then((function(l){var h=a(l,2),d=h[1];e([t,gt({icons:{main:h[0],mask:d},prefix:r,iconName:n,transform:s,symbol:o,mask:d,title:i,extra:c,watchable:!0})])}))}))}(t,e)}function re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(y){var n=g.documentElement.classList,i=function(t){return n.add(\"\".concat(\"fontawesome-i2svg\",\"-\").concat(t))},r=function(t){return n.remove(\"\".concat(\"fontawesome-i2svg\",\"-\").concat(t))},s=Object.keys(I.autoFetchSvg?C:ne),a=[\".\".concat(\"fa-layers-text\",\":not([\").concat(\"data-fa-i2svg\",\"])\")].concat(s.map((function(t){return\".\".concat(t,\":not([\").concat(\"data-fa-i2svg\",\"])\")}))).join(\", \");if(0!==a.length){var o=[];try{o=lt(t.querySelectorAll(a))}catch(we){}if(o.length>0){i(\"pending\"),r(\"complete\");var l=xt(\"onTree\"),c=o.reduce((function(t,e){try{var n=ie(e);n&&t.push(n)}catch(we){x||we instanceof Yt&&console.error(we)}return t}),[]);return new it((function(t,n){it.all(c).then((function(n){Bt(n,(function(){i(\"active\"),i(\"complete\"),r(\"pending\"),\"function\"==typeof e&&e(),l(),t()}))})).catch((function(){l(),n()}))}))}}}}function se(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ie(t).then((function(t){t&&Bt([t],e)}))}function ae(t,e){var n=\"\".concat(\"data-fa-pseudo-element-pending\").concat(e.replace(\":\",\"-\"));return new it((function(i,r){if(null!==t.getAttribute(n))return i();var a=lt(t.children).filter((function(t){return t.getAttribute(\"data-fa-pseudo-element\")===e}))[0],o=f.getComputedStyle(t,e),l=o.getPropertyValue(\"font-family\").match(O),c=o.getPropertyValue(\"font-weight\"),h=o.getPropertyValue(\"content\");if(a&&!l)return t.removeChild(a),i();if(l&&\"none\"!==h&&\"\"!==h){var d=~[\"Solid\",\"Regular\",\"Light\",\"Duotone\",\"Brands\"].indexOf(l[1])?k[l[1].toLowerCase()]:S[c],u=kt(3===h.length?h.substr(1,1):h),p=Rt(d,u),m=p;if(!p||a&&a.getAttribute(\"data-prefix\")===d&&a.getAttribute(\"data-icon\")===m)i();else{t.setAttribute(n,m),a&&t.removeChild(a);var b={iconName:null,title:null,prefix:null,transform:st,symbol:!1,mask:null,extra:{classes:[],styles:{},attributes:{}}},_=b.extra;_.attributes[\"data-fa-pseudo-element\"]=e,ee(p,d).then((function(r){var a=gt(s({},b,{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:d,iconName:m,extra:_,watchable:!0})),o=g.createElement(\"svg\");\":before\"===e?t.insertBefore(o,t.firstChild):t.appendChild(o),o.outerHTML=a.map((function(t){return Lt(t)})).join(\"\\n\"),t.removeAttribute(n),i()})).catch(r)}}else i()}))}function oe(t){return it.all([ae(t,\":before\"),ae(t,\":after\")])}function le(t){return!(t.parentNode===document.head||~w.indexOf(t.tagName.toUpperCase())||t.getAttribute(\"data-fa-pseudo-element\")||t.parentNode&&\"svg\"===t.parentNode.tagName)}function ce(t){if(y)return new it((function(e,n){var i=lt(t.querySelectorAll(\"*\")).filter(le).map(oe),r=xt(\"searchPseudoElements\");Ht=!0,it.all(i).then((function(){r(),Ut(),e()})).catch((function(){r(),Ut(),n()}))}))}function he(){var t=\"svg-inline--fa\",e=I.familyPrefix,n=I.replacementClass,i='svg:not(:root).svg-inline--fa {\\n  overflow: visible;\\n}\\n\\n.svg-inline--fa {\\n  display: inline-block;\\n  font-size: inherit;\\n  height: 1em;\\n  overflow: visible;\\n  vertical-align: -0.125em;\\n}\\n.svg-inline--fa.fa-lg {\\n  vertical-align: -0.225em;\\n}\\n.svg-inline--fa.fa-w-1 {\\n  width: 0.0625em;\\n}\\n.svg-inline--fa.fa-w-2 {\\n  width: 0.125em;\\n}\\n.svg-inline--fa.fa-w-3 {\\n  width: 0.1875em;\\n}\\n.svg-inline--fa.fa-w-4 {\\n  width: 0.25em;\\n}\\n.svg-inline--fa.fa-w-5 {\\n  width: 0.3125em;\\n}\\n.svg-inline--fa.fa-w-6 {\\n  width: 0.375em;\\n}\\n.svg-inline--fa.fa-w-7 {\\n  width: 0.4375em;\\n}\\n.svg-inline--fa.fa-w-8 {\\n  width: 0.5em;\\n}\\n.svg-inline--fa.fa-w-9 {\\n  width: 0.5625em;\\n}\\n.svg-inline--fa.fa-w-10 {\\n  width: 0.625em;\\n}\\n.svg-inline--fa.fa-w-11 {\\n  width: 0.6875em;\\n}\\n.svg-inline--fa.fa-w-12 {\\n  width: 0.75em;\\n}\\n.svg-inline--fa.fa-w-13 {\\n  width: 0.8125em;\\n}\\n.svg-inline--fa.fa-w-14 {\\n  width: 0.875em;\\n}\\n.svg-inline--fa.fa-w-15 {\\n  width: 0.9375em;\\n}\\n.svg-inline--fa.fa-w-16 {\\n  width: 1em;\\n}\\n.svg-inline--fa.fa-w-17 {\\n  width: 1.0625em;\\n}\\n.svg-inline--fa.fa-w-18 {\\n  width: 1.125em;\\n}\\n.svg-inline--fa.fa-w-19 {\\n  width: 1.1875em;\\n}\\n.svg-inline--fa.fa-w-20 {\\n  width: 1.25em;\\n}\\n.svg-inline--fa.fa-pull-left {\\n  margin-right: 0.3em;\\n  width: auto;\\n}\\n.svg-inline--fa.fa-pull-right {\\n  margin-left: 0.3em;\\n  width: auto;\\n}\\n.svg-inline--fa.fa-border {\\n  height: 1.5em;\\n}\\n.svg-inline--fa.fa-li {\\n  width: 2em;\\n}\\n.svg-inline--fa.fa-fw {\\n  width: 1.25em;\\n}\\n\\n.fa-layers svg.svg-inline--fa {\\n  bottom: 0;\\n  left: 0;\\n  margin: auto;\\n  position: absolute;\\n  right: 0;\\n  top: 0;\\n}\\n\\n.fa-layers {\\n  display: inline-block;\\n  height: 1em;\\n  position: relative;\\n  text-align: center;\\n  vertical-align: -0.125em;\\n  width: 1em;\\n}\\n.fa-layers svg.svg-inline--fa {\\n  -webkit-transform-origin: center center;\\n          transform-origin: center center;\\n}\\n\\n.fa-layers-counter, .fa-layers-text {\\n  display: inline-block;\\n  position: absolute;\\n  text-align: center;\\n}\\n\\n.fa-layers-text {\\n  left: 50%;\\n  top: 50%;\\n  -webkit-transform: translate(-50%, -50%);\\n          transform: translate(-50%, -50%);\\n  -webkit-transform-origin: center center;\\n          transform-origin: center center;\\n}\\n\\n.fa-layers-counter {\\n  background-color: #ff253a;\\n  border-radius: 1em;\\n  -webkit-box-sizing: border-box;\\n          box-sizing: border-box;\\n  color: #fff;\\n  height: 1.5em;\\n  line-height: 1;\\n  max-width: 5em;\\n  min-width: 1.5em;\\n  overflow: hidden;\\n  padding: 0.25em;\\n  right: 0;\\n  text-overflow: ellipsis;\\n  top: 0;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: top right;\\n          transform-origin: top right;\\n}\\n\\n.fa-layers-bottom-right {\\n  bottom: 0;\\n  right: 0;\\n  top: auto;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: bottom right;\\n          transform-origin: bottom right;\\n}\\n\\n.fa-layers-bottom-left {\\n  bottom: 0;\\n  left: 0;\\n  right: auto;\\n  top: auto;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: bottom left;\\n          transform-origin: bottom left;\\n}\\n\\n.fa-layers-top-right {\\n  right: 0;\\n  top: 0;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: top right;\\n          transform-origin: top right;\\n}\\n\\n.fa-layers-top-left {\\n  left: 0;\\n  right: auto;\\n  top: 0;\\n  -webkit-transform: scale(0.25);\\n          transform: scale(0.25);\\n  -webkit-transform-origin: top left;\\n          transform-origin: top left;\\n}\\n\\n.fa-lg {\\n  font-size: 1.3333333333em;\\n  line-height: 0.75em;\\n  vertical-align: -0.0667em;\\n}\\n\\n.fa-xs {\\n  font-size: 0.75em;\\n}\\n\\n.fa-sm {\\n  font-size: 0.875em;\\n}\\n\\n.fa-1x {\\n  font-size: 1em;\\n}\\n\\n.fa-2x {\\n  font-size: 2em;\\n}\\n\\n.fa-3x {\\n  font-size: 3em;\\n}\\n\\n.fa-4x {\\n  font-size: 4em;\\n}\\n\\n.fa-5x {\\n  font-size: 5em;\\n}\\n\\n.fa-6x {\\n  font-size: 6em;\\n}\\n\\n.fa-7x {\\n  font-size: 7em;\\n}\\n\\n.fa-8x {\\n  font-size: 8em;\\n}\\n\\n.fa-9x {\\n  font-size: 9em;\\n}\\n\\n.fa-10x {\\n  font-size: 10em;\\n}\\n\\n.fa-fw {\\n  text-align: center;\\n  width: 1.25em;\\n}\\n\\n.fa-ul {\\n  list-style-type: none;\\n  margin-left: 2.5em;\\n  padding-left: 0;\\n}\\n.fa-ul > li {\\n  position: relative;\\n}\\n\\n.fa-li {\\n  left: -2em;\\n  position: absolute;\\n  text-align: center;\\n  width: 2em;\\n  line-height: inherit;\\n}\\n\\n.fa-border {\\n  border: solid 0.08em #eee;\\n  border-radius: 0.1em;\\n  padding: 0.2em 0.25em 0.15em;\\n}\\n\\n.fa-pull-left {\\n  float: left;\\n}\\n\\n.fa-pull-right {\\n  float: right;\\n}\\n\\n.fa.fa-pull-left,\\n.fas.fa-pull-left,\\n.far.fa-pull-left,\\n.fal.fa-pull-left,\\n.fab.fa-pull-left {\\n  margin-right: 0.3em;\\n}\\n.fa.fa-pull-right,\\n.fas.fa-pull-right,\\n.far.fa-pull-right,\\n.fal.fa-pull-right,\\n.fab.fa-pull-right {\\n  margin-left: 0.3em;\\n}\\n\\n.fa-spin {\\n  -webkit-animation: fa-spin 2s infinite linear;\\n          animation: fa-spin 2s infinite linear;\\n}\\n\\n.fa-pulse {\\n  -webkit-animation: fa-spin 1s infinite steps(8);\\n          animation: fa-spin 1s infinite steps(8);\\n}\\n\\n@-webkit-keyframes fa-spin {\\n  0% {\\n    -webkit-transform: rotate(0deg);\\n            transform: rotate(0deg);\\n  }\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n            transform: rotate(360deg);\\n  }\\n}\\n\\n@keyframes fa-spin {\\n  0% {\\n    -webkit-transform: rotate(0deg);\\n            transform: rotate(0deg);\\n  }\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n            transform: rotate(360deg);\\n  }\\n}\\n.fa-rotate-90 {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";\\n  -webkit-transform: rotate(90deg);\\n          transform: rotate(90deg);\\n}\\n\\n.fa-rotate-180 {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";\\n  -webkit-transform: rotate(180deg);\\n          transform: rotate(180deg);\\n}\\n\\n.fa-rotate-270 {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";\\n  -webkit-transform: rotate(270deg);\\n          transform: rotate(270deg);\\n}\\n\\n.fa-flip-horizontal {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";\\n  -webkit-transform: scale(-1, 1);\\n          transform: scale(-1, 1);\\n}\\n\\n.fa-flip-vertical {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\";\\n  -webkit-transform: scale(1, -1);\\n          transform: scale(1, -1);\\n}\\n\\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\";\\n  -webkit-transform: scale(-1, -1);\\n          transform: scale(-1, -1);\\n}\\n\\n:root .fa-rotate-90,\\n:root .fa-rotate-180,\\n:root .fa-rotate-270,\\n:root .fa-flip-horizontal,\\n:root .fa-flip-vertical,\\n:root .fa-flip-both {\\n  -webkit-filter: none;\\n          filter: none;\\n}\\n\\n.fa-stack {\\n  display: inline-block;\\n  height: 2em;\\n  position: relative;\\n  width: 2.5em;\\n}\\n\\n.fa-stack-1x,\\n.fa-stack-2x {\\n  bottom: 0;\\n  left: 0;\\n  margin: auto;\\n  position: absolute;\\n  right: 0;\\n  top: 0;\\n}\\n\\n.svg-inline--fa.fa-stack-1x {\\n  height: 1em;\\n  width: 1.25em;\\n}\\n.svg-inline--fa.fa-stack-2x {\\n  height: 2em;\\n  width: 2.5em;\\n}\\n\\n.fa-inverse {\\n  color: #fff;\\n}\\n\\n.sr-only {\\n  border: 0;\\n  clip: rect(0, 0, 0, 0);\\n  height: 1px;\\n  margin: -1px;\\n  overflow: hidden;\\n  padding: 0;\\n  position: absolute;\\n  width: 1px;\\n}\\n\\n.sr-only-focusable:active, .sr-only-focusable:focus {\\n  clip: auto;\\n  height: auto;\\n  margin: 0;\\n  overflow: visible;\\n  position: static;\\n  width: auto;\\n}\\n\\n.svg-inline--fa .fa-primary {\\n  fill: var(--fa-primary-color, currentColor);\\n  opacity: 1;\\n  opacity: var(--fa-primary-opacity, 1);\\n}\\n\\n.svg-inline--fa .fa-secondary {\\n  fill: var(--fa-secondary-color, currentColor);\\n  opacity: 0.4;\\n  opacity: var(--fa-secondary-opacity, 0.4);\\n}\\n\\n.svg-inline--fa.fa-swap-opacity .fa-primary {\\n  opacity: 0.4;\\n  opacity: var(--fa-secondary-opacity, 0.4);\\n}\\n\\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\\n  opacity: 1;\\n  opacity: var(--fa-primary-opacity, 1);\\n}\\n\\n.svg-inline--fa mask .fa-primary,\\n.svg-inline--fa mask .fa-secondary {\\n  fill: black;\\n}\\n\\n.fad.fa-inverse {\\n  color: #fff;\\n}';if(\"fa\"!==e||n!==t){var r=new RegExp(\"\\\\.\".concat(\"fa\",\"\\\\-\"),\"g\"),s=new RegExp(\"\\\\--\".concat(\"fa\",\"\\\\-\"),\"g\"),a=new RegExp(\"\\\\.\".concat(t),\"g\");i=i.replace(r,\".\".concat(e,\"-\")).replace(s,\"--\".concat(e,\"-\")).replace(a,\".\".concat(n))}return i}function de(){I.autoAddCss&&!ge&&(at(he()),ge=!0)}function ue(t,e){return Object.defineProperty(t,\"abstract\",{get:e}),Object.defineProperty(t,\"html\",{get:function(){return t.abstract.map((function(t){return Lt(t)}))}}),Object.defineProperty(t,\"node\",{get:function(){if(y){var e=g.createElement(\"div\");return e.innerHTML=t.html,e.children}}}),t}function pe(t){var e=t.prefix,n=void 0===e?\"fa\":e,i=t.iconName;if(i)return jt(fe.definitions,n,i)||jt(L.styles,n,i)}var me,fe=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this.definitions={}}var e;return(e=[{key:\"add\",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(e){t.definitions[e]=s({},t.definitions[e]||{},r[e]),Ot(e,r[e]),Dt()}))}},{key:\"reset\",value:function(){this.definitions={}}},{key:\"_pullDefinitions\",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var i=n[e],r=i.prefix,s=i.iconName,a=i.icon;t[r]||(t[r]={}),t[r][s]=a})),t}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}()),ge=!1,be={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(y){de();var e=t.node,n=void 0===e?g:e,i=t.callback,r=void 0===i?function(){}:i;return I.searchPseudoElements&&ce(n),re(n,r)}return it.reject(\"Operation requires a DOM of some kind.\")},css:he,insertCss:function(){ge||(at(he()),ge=!0)},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=t.observeMutationsRoot;!1===I.autoReplaceSvg&&(I.autoReplaceSvg=!0),I.observeMutations=!0,V((function(){ve({autoReplaceSvgRoot:e}),Qt({treeCallback:re,nodeCallback:se,pseudoElementsCallback:ce,observeMutationsRoot:n})}))}},_e=(me=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?st:n,r=e.symbol,a=void 0!==r&&r,o=e.mask,l=void 0===o?null:o,c=e.title,h=void 0===c?null:c,d=e.classes,u=void 0===d?[]:d,p=e.attributes,m=void 0===p?{}:p,f=e.styles,g=void 0===f?{}:f;if(t){var b=t.prefix,_=t.iconName,y=t.icon;return ue(s({type:\"icon\"},t),(function(){return de(),I.autoA11y&&(h?m[\"aria-labelledby\"]=\"\".concat(I.replacementClass,\"-title-\").concat(ot()):(m[\"aria-hidden\"]=\"true\",m.focusable=\"false\")),gt({icons:{main:te(y),mask:l?te(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:s({},st,i),symbol:a,title:h,extra:{attributes:m,styles:g,classes:u}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:pe(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:pe(i||{})),me(n,s({},e,{mask:i}))}),ye={noAuto:function(){I.autoReplaceSvg=!1,I.observeMutations=!1,qt&&qt.disconnect()},config:I,dom:be,library:fe,parse:{transform:function(t){return Wt(t)}},findIconDefinition:pe,icon:_e,text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?st:n,r=e.title,a=void 0===r?null:r,l=e.classes,c=void 0===l?[]:l,h=e.attributes,d=void 0===h?{}:h,u=e.styles,p=void 0===u?{}:u;return ue({type:\"text\",content:t},(function(){return de(),bt({content:t,transform:s({},st,i),title:a,extra:{attributes:d,styles:p,classes:[\"\".concat(I.familyPrefix,\"-layers-text\")].concat(o(c))}})}))},counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,i=void 0===n?null:n,r=e.classes,s=void 0===r?[]:r,a=e.attributes,l=void 0===a?{}:a,c=e.styles,h=void 0===c?{}:c;return ue({type:\"counter\",content:t},(function(){return de(),_t({content:t.toString(),title:i,extra:{attributes:l,styles:h,classes:[\"\".concat(I.familyPrefix,\"-layers-counter\")].concat(o(s))}})}))},layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,i=void 0===n?[]:n;return ue({type:\"layer\"},(function(){de();var e=[];return t((function(t){Array.isArray(t)?t.map((function(t){e=e.concat(t.abstract)})):e=e.concat(t.abstract)})),[{tag:\"span\",attributes:{class:[\"\".concat(I.familyPrefix,\"-layers\")].concat(o(i)).join(\" \")},children:e}]}))},toHtml:Lt},ve=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?g:e;(Object.keys(L.styles).length>0||I.autoFetchSvg)&&y&&I.autoReplaceSvg&&ye.dom.i2svg({node:n})}},\"7jRU\":function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return-1}},\"7o/Q\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"n6bG\"),r=n(\"gRHU\"),s=n(\"quSY\"),a=n(\"2QA8\"),o=n(\"2fFW\"),l=n(\"NJ4a\");class c extends s.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!t){this.destination=r.a;break}if(\"object\"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new h(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new h(this,t,e,n)}}[a.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class h extends c{constructor(t,e,n,s){let a;super(),this._parentSubscriber=t;let o=this;Object(i.a)(e)?a=e:e&&(a=e.next,n=e.error,s=e.complete,e!==r.a&&(o=Object.create(e),Object(i.a)(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=a,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!o.a.useDeprecatedSynchronousErrorHandling)throw new Error(\"bad call\");try{e.call(this._context,n)}catch(i){return o.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},\"7pIB\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c})),n.d(e,\"b\",(function(){return h})),n.d(e,\"c\",(function(){return l}));var i=n(\"fXoL\"),r=n(\"ofXK\");class s{constructor(t){var e;this.rawFile=t;let n=(e=t)&&(e.nodeName||e.prop&&e.attr&&e.find)?t.value:t;this[\"_createFrom\"+(\"string\"==typeof n?\"FakePath\":\"Object\")](n)}_createFromFakePath(t){this.lastModifiedDate=void 0,this.size=void 0,this.type=\"like/\"+t.slice(t.lastIndexOf(\".\")+1).toLowerCase(),this.name=t.slice(t.lastIndexOf(\"/\")+t.lastIndexOf(\"\\\\\")+2)}_createFromObject(t){this.size=t.size,this.type=t.type,this.name=t.name}}class a{constructor(t,e,n){this.url=\"/\",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=t,this.some=e,this.options=n,this.file=new s(e),this._file=e,t.options&&(this.method=t.options.method||\"POST\",this.alias=t.options.itemAlias||\"file\"),this.url=t.options.url}upload(){try{this.uploader.uploadItem(this)}catch(t){this.uploader._onCompleteItem(this,\"\",0,{}),this.uploader._onErrorItem(this,\"\",0,{})}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(t){return{form:t}}onProgress(t){return{progress:t}}onSuccess(t,e,n){return{response:t,status:e,headers:n}}onError(t,e,n){return{response:t,status:e,headers:n}}onCancel(t,e,n){return{response:t,status:e,headers:n}}onComplete(t,e,n){return{response:t,status:e,headers:n}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(t){this.onBuildForm(t)}_onProgress(t){this.progress=t,this.onProgress(t)}_onSuccess(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(t,e,n)}_onError(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(t,e,n)}_onCancel(t,e,n){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(t,e,n)}_onComplete(t,e,n){this.onComplete(t,e,n),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let o=(()=>{class t{static getMimeClass(t){let e=\"application\";return-1!==this.mime_psd.indexOf(t.type)?e=\"image\":t.type.match(\"image.*\")?e=\"image\":t.type.match(\"video.*\")?e=\"video\":t.type.match(\"audio.*\")?e=\"audio\":\"application/pdf\"===t.type?e=\"pdf\":-1!==this.mime_compress.indexOf(t.type)?e=\"compress\":-1!==this.mime_doc.indexOf(t.type)?e=\"doc\":-1!==this.mime_xsl.indexOf(t.type)?e=\"xls\":-1!==this.mime_ppt.indexOf(t.type)&&(e=\"ppt\"),\"application\"===e&&(e=this.fileTypeDetection(t.name)),e}static fileTypeDetection(t){let e={jpg:\"image\",jpeg:\"image\",tif:\"image\",psd:\"image\",bmp:\"image\",png:\"image\",nef:\"image\",tiff:\"image\",cr2:\"image\",dwg:\"image\",cdr:\"image\",ai:\"image\",indd:\"image\",pin:\"image\",cdp:\"image\",skp:\"image\",stp:\"image\",\"3dm\":\"image\",mp3:\"audio\",wav:\"audio\",wma:\"audio\",mod:\"audio\",m4a:\"audio\",compress:\"compress\",zip:\"compress\",rar:\"compress\",\"7z\":\"compress\",lz:\"compress\",z01:\"compress\",bz2:\"compress\",gz:\"compress\",pdf:\"pdf\",xls:\"xls\",xlsx:\"xls\",ods:\"xls\",mp4:\"video\",avi:\"video\",wmv:\"video\",mpg:\"video\",mts:\"video\",flv:\"video\",\"3gp\":\"video\",vob:\"video\",m4v:\"video\",mpeg:\"video\",m2ts:\"video\",mov:\"video\",doc:\"doc\",docx:\"doc\",eps:\"doc\",txt:\"doc\",odt:\"doc\",rtf:\"doc\",ppt:\"ppt\",pptx:\"ppt\",pps:\"ppt\",ppsx:\"ppt\",odp:\"ppt\"},n=t.split(\".\");if(n.length<2)return\"application\";let i=n[n.length-1].toLowerCase();return void 0===e[i]?\"application\":e[i]}}return t.mime_doc=[\"application/msword\",\"application/msword\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\",\"application/vnd.ms-word.document.macroEnabled.12\",\"application/vnd.ms-word.template.macroEnabled.12\"],t.mime_xsl=[\"application/vnd.ms-excel\",\"application/vnd.ms-excel\",\"application/vnd.ms-excel\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\",\"application/vnd.ms-excel.sheet.macroEnabled.12\",\"application/vnd.ms-excel.template.macroEnabled.12\",\"application/vnd.ms-excel.addin.macroEnabled.12\",\"application/vnd.ms-excel.sheet.binary.macroEnabled.12\"],t.mime_ppt=[\"application/vnd.ms-powerpoint\",\"application/vnd.ms-powerpoint\",\"application/vnd.ms-powerpoint\",\"application/vnd.ms-powerpoint\",\"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\"application/vnd.openxmlformats-officedocument.presentationml.template\",\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\",\"application/vnd.ms-powerpoint.addin.macroEnabled.12\",\"application/vnd.ms-powerpoint.presentation.macroEnabled.12\",\"application/vnd.ms-powerpoint.presentation.macroEnabled.12\",\"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\"],t.mime_psd=[\"image/photoshop\",\"image/x-photoshop\",\"image/psd\",\"application/photoshop\",\"application/psd\",\"zz-application/zz-winassoc-psd\"],t.mime_compress=[\"application/x-gtar\",\"application/x-gcompress\",\"application/compress\",\"application/x-tar\",\"application/x-rar-compressed\",\"application/octet-stream\",\"application/x-zip-compressed\",\"application/zip-compressed\",\"application/x-7z-compressed\",\"application/gzip\",\"application/x-bzip2\"],t})();class l{constructor(t){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:t=>t._file,formatDataFunctionIsAsync:!1},this.setOptions(t),this.response=new i.o}setOptions(t){this.options=Object.assign(this.options,t),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||\"Authorization\",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:\"queueLimit\",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:\"fileSize\",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:\"fileType\",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:\"mimeType\",fn:this._mimeTypeFilter});for(let e=0;e<this.queue.length;e++)this.queue[e].url=this.options.url}addToQueue(t,e,n){let i=[];for(let s of t)i.push(s);let r=this._getFilters(n),o=this.queue.length,l=[];i.map(t=>{e||(e=this.options);let n=new s(t);if(this._isValidFile(n,r,e)){let n=new a(this,t,e);l.push(n),this.queue.push(n),this._onAfterAddingFile(n)}else this._onWhenAddingFileFailed(n,r[this._failFilterIndex],e)}),this.queue.length!==o&&(this._onAfterAddingAll(l),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(t){let e=this.getIndexOfItem(t),n=this.queue[e];n.isUploading&&n.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(t){let e=this.getIndexOfItem(t),n=this.queue[e],i=this.options.isHTML5?\"_xhrTransport\":\"_iframeTransport\";n._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[i](n))}cancelItem(t){let e=this.getIndexOfItem(t),n=this.queue[e];n&&n.isUploading&&(this.options.isHTML5?n._xhr:n._form).abort()}uploadAll(){let t=this.getNotUploadedItems().filter(t=>!t.isUploading);t.length&&(t.map(t=>t._prepareToUploading()),t[0].upload())}cancelAll(){this.getNotUploadedItems().map(t=>t.cancel())}isFile(t){return function(t){return File&&t instanceof File}(t)}isFileLikeObject(t){return t instanceof s}getIndexOfItem(t){return\"number\"==typeof t?t:this.queue.indexOf(t)}getNotUploadedItems(){return this.queue.filter(t=>!t.isUploaded)}getReadyItems(){return this.queue.filter(t=>t.isReady&&!t.isUploading).sort((t,e)=>t.index-e.index)}destroy(){}onAfterAddingAll(t){return{fileItems:t}}onBuildItemForm(t,e){return{fileItem:t,form:e}}onAfterAddingFile(t){return{fileItem:t}}onWhenAddingFileFailed(t,e,n){return{item:t,filter:e,options:n}}onBeforeUploadItem(t){return{fileItem:t}}onProgressItem(t,e){return{fileItem:t,progress:e}}onProgressAll(t){return{progress:t}}onSuccessItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onErrorItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onCancelItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onCompleteItem(t,e,n,i){return{item:t,response:e,status:n,headers:i}}onCompleteAll(){}_mimeTypeFilter(t){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(t.type))}_fileSizeFilter(t){return!(this.options.maxFileSize&&t.size>this.options.maxFileSize)}_fileTypeFilter(t){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(o.getMimeClass(t)))}_onErrorItem(t,e,n,i){t._onError(e,n,i),this.onErrorItem(t,e,n,i)}_onCompleteItem(t,e,n,i){t._onComplete(e,n,i),this.onCompleteItem(t,e,n,i);let r=this.getReadyItems()[0];this.isUploading=!1,r?r.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(t){return e=>e?t[e.toLowerCase()]||void 0:t}_xhrTransport(t){let e,n=this,i=t._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(t),\"number\"!=typeof t._file.size)throw new TypeError(\"The file specified is no longer valid\");if(this.options.disableMultipart)e=this.options.formatDataFunction(t);else{e=new FormData,this._onBuildItemForm(t,e);const n=()=>e.append(t.alias,t._file,t.file.name);this.options.parametersBeforeFiles||n(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(n=>{let i=this.options.additionalParameter[n];\"string\"==typeof i&&i.indexOf(\"{{file_name}}\")>=0&&(i=i.replace(\"{{file_name}}\",t.file.name)),e.append(n,i)}),this.options.parametersBeforeFiles&&n()}if(i.upload.onprogress=e=>{let n=Math.round(e.lengthComputable?100*e.loaded/e.total:0);this._onProgressItem(t,n)},i.onload=()=>{let e=this._parseHeaders(i.getAllResponseHeaders()),n=this._transformResponse(i.response,e);this[\"_on\"+(this._isSuccessCode(i.status)?\"Success\":\"Error\")+\"Item\"](t,n,i.status,e),this._onCompleteItem(t,n,i.status,e)},i.onerror=()=>{let e=this._parseHeaders(i.getAllResponseHeaders()),n=this._transformResponse(i.response,e);this._onErrorItem(t,n,i.status,e),this._onCompleteItem(t,n,i.status,e)},i.onabort=()=>{let e=this._parseHeaders(i.getAllResponseHeaders()),n=this._transformResponse(i.response,e);this._onCancelItem(t,n,i.status,e),this._onCompleteItem(t,n,i.status,e)},i.open(t.method,t.url,!0),i.withCredentials=t.withCredentials,this.options.headers)for(let r of this.options.headers)i.setRequestHeader(r.name,r.value);if(t.headers.length)for(let r of t.headers)i.setRequestHeader(r.name,r.value);this.authToken&&i.setRequestHeader(this.authTokenHeader,this.authToken),i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&n.response.emit(i.responseText)},this.options.formatDataFunctionIsAsync?e.then(t=>i.send(JSON.stringify(t))):i.send(e),this._render()}_getTotalProgress(t=0){if(this.options.removeAfterUpload)return t;let e=this.getNotUploadedItems().length,n=100/this.queue.length;return Math.round((e?this.queue.length-e:this.queue.length)*n+t*n/100)}_getFilters(t){if(!t)return this.options.filters;if(Array.isArray(t))return t;if(\"string\"==typeof t){let e=t.match(/[^\\s,]+/g);return this.options.filters.filter(t=>-1!==e.indexOf(t.name))}return this.options.filters}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}_isValidFile(t,e,n){return this._failFilterIndex=-1,!e.length||e.every(e=>(this._failFilterIndex++,e.fn.call(this,t,n)))}_isSuccessCode(t){return t>=200&&t<300||304===t}_transformResponse(t,e){return t}_parseHeaders(t){let e,n,i,r={};return t?(t.split(\"\\n\").map(t=>{i=t.indexOf(\":\"),e=t.slice(0,i).trim().toLowerCase(),n=t.slice(i+1).trim(),e&&(r[e]=r[e]?r[e]+\", \"+n:n)}),r):r}_onWhenAddingFileFailed(t,e,n){this.onWhenAddingFileFailed(t,e,n)}_onAfterAddingFile(t){this.onAfterAddingFile(t)}_onAfterAddingAll(t){this.onAfterAddingAll(t)}_onBeforeUploadItem(t){t._onBeforeUpload(),this.onBeforeUploadItem(t)}_onBuildItemForm(t,e){t._onBuildForm(e),this.onBuildItemForm(t,e)}_onProgressItem(t,e){let n=this._getTotalProgress(e);this.progress=n,t._onProgress(e),this.onProgressItem(t,e),this.onProgressAll(n),this._render()}_onSuccessItem(t,e,n,i){t._onSuccess(e,n,i),this.onSuccessItem(t,e,n,i)}_onCancelItem(t,e,n,i){t._onCancel(e,n,i),this.onCancelItem(t,e,n,i)}}let c=(()=>{class t{constructor(t){this.onFileSelected=new i.o,this.element=t}getOptions(){return this.uploader.options}getFilters(){return{}}isEmptyAfterSelection(){return!!this.element.nativeElement.attributes.multiple}onChange(){let t=this.element.nativeElement.files,e=this.getOptions(),n=this.getFilters();this.uploader.addToQueue(t,e,n),this.onFileSelected.emit(t),this.isEmptyAfterSelection()&&(this.element.nativeElement.value=\"\")}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ng2FileSelect\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"change\",(function(){return e.onChange()}))},inputs:{uploader:\"uploader\"},outputs:{onFileSelected:\"onFileSelected\"}}),t})(),h=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c]]}),t})()},\"8LU1\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a})),n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return r})),n.d(e,\"d\",(function(){return l})),n.d(e,\"e\",(function(){return c})),n.d(e,\"f\",(function(){return s}));var i=n(\"fXoL\");function r(t){return null!=t&&\"false\"!==`${t}`}function s(t,e=0){return a(t)?Number(t):e}function a(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function o(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?\"\":\"string\"==typeof t?t:`${t}px`}function c(t){return t instanceof i.l?t.nativeElement:t}},\"8tEE\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"c\",(function(){return s})),n.d(e,\"d\",(function(){return a})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c})),n.d(e,\"h\",(function(){return h})),n.d(e,\"i\",(function(){return d})),n.d(e,\"j\",(function(){return u})),n.d(e,\"k\",(function(){return p}));var i={prefix:\"fab\",iconName:\"bitcoin\",icon:[512,512,[],\"f379\",\"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-141.651-35.33c4.937-32.999-20.191-50.739-54.55-62.573l11.146-44.702-27.213-6.781-10.851 43.524c-7.154-1.783-14.502-3.464-21.803-5.13l10.929-43.81-27.198-6.781-11.153 44.686c-5.922-1.349-11.735-2.682-17.377-4.084l.031-.14-37.53-9.37-7.239 29.062s20.191 4.627 19.765 4.913c11.022 2.751 13.014 10.044 12.68 15.825l-12.696 50.925c.76.194 1.744.473 2.829.907-.907-.225-1.876-.473-2.876-.713l-17.796 71.338c-1.349 3.348-4.767 8.37-12.471 6.464.271.395-19.78-4.937-19.78-4.937l-13.51 31.147 35.414 8.827c6.588 1.651 13.045 3.379 19.4 5.006l-11.262 45.213 27.182 6.781 11.153-44.733a1038.209 1038.209 0 0 0 21.687 5.627l-11.115 44.523 27.213 6.781 11.262-45.128c46.404 8.781 81.299 5.239 95.986-36.727 11.836-33.79-.589-53.281-25.004-65.991 17.78-4.098 31.174-15.792 34.747-39.949zm-62.177 87.179c-8.41 33.79-65.308 15.523-83.755 10.943l14.944-59.899c18.446 4.603 77.6 13.717 68.811 48.956zm8.417-87.667c-7.673 30.736-55.031 15.12-70.393 11.292l13.548-54.327c15.363 3.828 64.836 10.973 56.845 43.035z\"]},r={prefix:\"fab\",iconName:\"btc\",icon:[384,512,[],\"f15a\",\"M310.204 242.638c27.73-14.18 45.377-39.39 41.28-81.3-5.358-57.351-52.458-76.573-114.85-81.929V0h-48.528v77.203c-12.605 0-25.525.315-38.444.63V0h-48.528v79.409c-17.842.539-38.622.276-97.37 0v51.678c38.314-.678 58.417-3.14 63.023 21.427v217.429c-2.925 19.492-18.524 16.685-53.255 16.071L3.765 443.68c88.481 0 97.37.315 97.37.315V512h48.528v-67.06c13.234.315 26.154.315 38.444.315V512h48.528v-68.005c81.299-4.412 135.647-24.894 142.895-101.467 5.671-61.446-23.32-88.862-69.326-99.89zM150.608 134.553c27.415 0 113.126-8.507 113.126 48.528 0 54.515-85.71 48.212-113.126 48.212v-96.74zm0 251.776V279.821c32.772 0 133.127-9.138 133.127 53.255-.001 60.186-100.355 53.253-133.127 53.253z\"]},s={prefix:\"fab\",iconName:\"facebook\",icon:[512,512,[],\"f09a\",\"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z\"]},a={prefix:\"fab\",iconName:\"github\",icon:[496,512,[],\"f09b\",\"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z\"]},o={prefix:\"fab\",iconName:\"gitter\",icon:[384,512,[],\"f426\",\"M66.4 322.5H16V0h50.4v322.5zM166.9 76.1h-50.4V512h50.4V76.1zm100.6 0h-50.4V512h50.4V76.1zM368 76h-50.4v247H368V76z\"]},l={prefix:\"fab\",iconName:\"google\",icon:[488,512,[],\"f1a0\",\"M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z\"]},c={prefix:\"fab\",iconName:\"leanpub\",icon:[576,512,[],\"f212\",\"M386.539 111.485l15.096 248.955-10.979-.275c-36.232-.824-71.64 8.783-102.657 27.997-31.016-19.214-66.424-27.997-102.657-27.997-45.564 0-82.07 10.705-123.516 27.723L93.117 129.6c28.546-11.803 61.484-18.115 92.226-18.115 41.173 0 73.836 13.175 102.657 42.544 27.723-28.271 59.013-41.721 98.539-42.544zM569.07 448c-25.526 0-47.485-5.215-70.542-15.645-34.31-15.645-69.993-24.978-107.871-24.978-38.977 0-74.934 12.901-102.657 40.623-27.723-27.723-63.68-40.623-102.657-40.623-37.878 0-73.561 9.333-107.871 24.978C55.239 442.236 32.731 448 8.303 448H6.93L49.475 98.859C88.726 76.626 136.486 64 181.775 64 218.83 64 256.984 71.685 288 93.095 319.016 71.685 357.17 64 394.225 64c45.289 0 93.049 12.626 132.3 34.859L569.07 448zm-43.368-44.741l-34.036-280.246c-30.742-13.999-67.248-21.41-101.009-21.41-38.428 0-74.385 12.077-102.657 38.702-28.272-26.625-64.228-38.702-102.657-38.702-33.761 0-70.267 7.411-101.009 21.41L50.298 403.259c47.211-19.487 82.894-33.486 135.045-33.486 37.604 0 70.817 9.606 102.657 29.644 31.84-20.038 65.052-29.644 102.657-29.644 52.151 0 87.834 13.999 135.045 33.486z\"]},h={prefix:\"fab\",iconName:\"reddit\",icon:[512,512,[],\"f1a1\",\"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z\"]},d={prefix:\"fab\",iconName:\"slack\",icon:[448,512,[],\"f198\",\"M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z\"]},u={prefix:\"fab\",iconName:\"stripe\",icon:[640,512,[],\"f429\",\"M165 144.7l-43.3 9.2-.2 142.4c0 26.3 19.8 43.3 46.1 43.3 14.6 0 25.3-2.7 31.2-5.9v-33.8c-5.7 2.3-33.7 10.5-33.7-15.7V221h33.7v-37.8h-33.7zm89.1 51.6l-2.7-13.1H213v153.2h44.3V233.3c10.5-13.8 28.2-11.1 33.9-9.3v-40.8c-6-2.1-26.7-6-37.1 13.1zm92.3-72.3l-44.6 9.5v36.2l44.6-9.5zM44.9 228.3c0-6.9 5.8-9.6 15.1-9.7 13.5 0 30.7 4.1 44.2 11.4v-41.8c-14.7-5.8-29.4-8.1-44.1-8.1-36 0-60 18.8-60 50.2 0 49.2 67.5 41.2 67.5 62.4 0 8.2-7.1 10.9-17 10.9-14.7 0-33.7-6.1-48.6-14.2v40c16.5 7.1 33.2 10.1 48.5 10.1 36.9 0 62.3-15.8 62.3-47.8 0-52.9-67.9-43.4-67.9-63.4zM640 261.6c0-45.5-22-81.4-64.2-81.4s-67.9 35.9-67.9 81.1c0 53.5 30.3 78.2 73.5 78.2 21.2 0 37.1-4.8 49.2-11.5v-33.4c-12.1 6.1-26 9.8-43.6 9.8-17.3 0-32.5-6.1-34.5-26.9h86.9c.2-2.3.6-11.6.6-15.9zm-87.9-16.8c0-20 12.3-28.4 23.4-28.4 10.9 0 22.5 8.4 22.5 28.4zm-112.9-64.6c-17.4 0-28.6 8.2-34.8 13.9l-2.3-11H363v204.8l44.4-9.4.1-50.2c6.4 4.7 15.9 11.2 31.4 11.2 31.8 0 60.8-23.2 60.8-79.6.1-51.6-29.3-79.7-60.5-79.7zm-10.6 122.5c-10.4 0-16.6-3.8-20.9-8.4l-.3-66c4.6-5.1 11-8.8 21.2-8.8 16.2 0 27.4 18.2 27.4 41.4.1 23.9-10.9 41.8-27.4 41.8zm-126.7 33.7h44.6V183.2h-44.6z\"]},p={prefix:\"fab\",iconName:\"twitter\",icon:[512,512,[],\"f099\",\"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z\"]}},\"9ppp\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message=\"object unsubscribed\",this.name=\"ObjectUnsubscribedError\",this}return t.prototype=Object.create(Error.prototype),t})()},AdPF:function(t,e,n){var i=n(\"yeub\");t.exports=function(t){var e=t.xdomain,n=t.xscheme,r=t.enablesXDR;try{if(\"undefined\"!=typeof XMLHttpRequest&&(!e||i))return new XMLHttpRequest}catch(s){}try{if(\"undefined\"!=typeof XDomainRequest&&!n&&r)return new XDomainRequest}catch(s){}if(!e)try{return new(self[[\"Active\"].concat(\"Object\").join(\"X\")])(\"Microsoft.XMLHTTP\")}catch(s){}}},Aplp:function(t,e,n){\"use strict\";var i,r=\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_\".split(\"\"),s={},a=0,o=0;function l(t){var e=\"\";do{e=r[t%64]+e,t=Math.floor(t/64)}while(t>0);return e}function c(){var t=l(+new Date);return t!==i?(a=0,i=t):t+\".\"+l(a++)}for(;o<64;o++)s[r[o]]=o;c.encode=l,c.decode=function(t){var e=0;for(o=0;o<t.length;o++)e=64*e+s[t.charAt(o)];return e},t.exports=c},BOF4:function(t,e,n){\"use strict\";var i=n(\"evrj\");function r(t){this.message=t}(r.prototype=new Error).name=\"InvalidTokenError\",t.exports=function(t,e){if(\"string\"!=typeof t)throw new r(\"Invalid token specified\");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(\".\")[n]))}catch(s){throw new r(\"Invalid token specified: \"+s.message)}},t.exports.InvalidTokenError=r},C2QD:function(t,e){function n(t){this.ms=(t=t||{}).min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var i,r,s=n(\"Gbct\"),a=n(\"Wm4p\"),o=n(\"TypT\"),l=n(\"Yvos\"),c=n(\"Aplp\"),h=n(\"NOtv\")(\"engine.io-client:websocket\");if(\"undefined\"!=typeof WebSocket?i=WebSocket:\"undefined\"!=typeof self&&(i=self.WebSocket||self.MozWebSocket),\"undefined\"==typeof window)try{r=n(1)}catch(p){}var d=i||r;function u(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=i&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(d=r),s.call(this,t)}t.exports=u,l(u,s),u.prototype.name=\"websocket\",u.prototype.supportsBinary=!0,u.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new d(t,e):new d(t):new d(t,e,n)}catch(i){return this.emit(\"error\",i)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType=\"nodebuffer\"):this.ws.binaryType=\"arraybuffer\",this.addEventListeners()}},u.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError(\"websocket error\",e)}},u.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,i=0,r=n;i<r;i++)!function(t){a.encodePacket(t,e.supportsBinary,(function(i){if(!e.usingBrowserWebSocket){var r={};t.options&&(r.compress=t.options.compress),e.perMessageDeflate&&(\"string\"==typeof i?Buffer.byteLength(i):i.length)<e.perMessageDeflate.threshold&&(r.compress=!1)}try{e.usingBrowserWebSocket?e.ws.send(i):e.ws.send(i,r)}catch(p){h(\"websocket closed before onclose event\")}--n||(e.emit(\"flush\"),setTimeout((function(){e.writable=!0,e.emit(\"drain\")}),0))}))}(t[i])},u.prototype.onClose=function(){s.prototype.onClose.call(this)},u.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},u.prototype.uri=function(){var t=this.query||{},e=this.secure?\"wss\":\"ws\",n=\"\";return this.port&&(\"wss\"===e&&443!==Number(this.port)||\"ws\"===e&&80!==Number(this.port))&&(n=\":\"+this.port),this.timestampRequests&&(t[this.timestampParam]=c()),this.supportsBinary||(t.b64=1),(t=o.encode(t)).length&&(t=\"?\"+t),e+\"://\"+(-1!==this.hostname.indexOf(\":\")?\"[\"+this.hostname+\"]\":this.hostname)+n+this.path+t},u.prototype.check=function(){return!(!d||\"__initialize\"in d&&this.name===u.prototype.name)}},CUme:function(t,e,n){var i=n(\"Gbct\"),r=n(\"TypT\"),s=n(\"Wm4p\"),a=n(\"Yvos\"),o=n(\"Aplp\"),l=n(\"NOtv\")(\"engine.io-client:polling\");t.exports=h;var c=null!=new(n(\"AdPF\"))({xdomain:!1}).responseType;function h(t){c&&!(t&&t.forceBase64)||(this.supportsBinary=!1),i.call(this,t)}a(h,i),h.prototype.name=\"polling\",h.prototype.doOpen=function(){this.poll()},h.prototype.pause=function(t){var e=this;function n(){l(\"paused\"),e.readyState=\"paused\",t()}if(this.readyState=\"pausing\",this.polling||!this.writable){var i=0;this.polling&&(l(\"we are currently polling - waiting to pause\"),i++,this.once(\"pollComplete\",(function(){l(\"pre-pause polling complete\"),--i||n()}))),this.writable||(l(\"we are currently writing - waiting to pause\"),i++,this.once(\"drain\",(function(){l(\"pre-pause writing complete\"),--i||n()})))}else n()},h.prototype.poll=function(){l(\"polling\"),this.polling=!0,this.doPoll(),this.emit(\"poll\")},h.prototype.onData=function(t){var e=this;l(\"polling got data %s\",t),s.decodePayload(t,this.socket.binaryType,(function(t,n,i){if(\"opening\"===e.readyState&&e.onOpen(),\"close\"===t.type)return e.onClose(),!1;e.onPacket(t)})),\"closed\"!==this.readyState&&(this.polling=!1,this.emit(\"pollComplete\"),\"open\"===this.readyState?this.poll():l('ignoring poll - transport state \"%s\"',this.readyState))},h.prototype.doClose=function(){var t=this;function e(){l(\"writing close packet\"),t.write([{type:\"close\"}])}\"open\"===this.readyState?(l(\"transport open - closing\"),e()):(l(\"transport not open - deferring close\"),this.once(\"open\",e))},h.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit(\"drain\")};s.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},h.prototype.uri=function(){var t=this.query||{},e=this.secure?\"https\":\"http\",n=\"\";return!1!==this.timestampRequests&&(t[this.timestampParam]=o()),this.supportsBinary||t.sid||(t.b64=1),t=r.encode(t),this.port&&(\"https\"===e&&443!==Number(this.port)||\"http\"===e&&80!==Number(this.port))&&(n=\":\"+this.port),t.length&&(t=\"?\"+t),e+\"://\"+(-1!==this.hostname.indexOf(\":\")?\"[\"+this.hostname+\"]\":this.hostname)+n+this.path+t}},Cfvw:function(t,e,n){\"use strict\";var i=n(\"HDdC\"),r=n(\"SeVD\"),s=n(\"quSY\"),a=n(\"kJWO\"),o=n(\"jZKg\"),l=n(\"Lhse\"),c=n(\"c2HN\"),h=n(\"I55L\");function d(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&\"function\"==typeof t[a.a]}(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>{const r=t[a.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(h.a)(t))return Object(o.a)(t,e);if(function(t){return t&&\"function\"==typeof t[l.a]}(t)||\"string\"==typeof t)return function(t,e){if(!t)throw new Error(\"Iterable cannot be null\");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&\"function\"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.a](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())})))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+\" is not observable\")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}n.d(e,\"a\",(function(){return d}))},Cl5A:function(t,e,n){var i=n(\"CUme\"),r=n(\"Yvos\");t.exports=h;var s,a=/\\n/g,o=/\\\\n/g;function l(){}function c(){return\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:{}}function h(t){if(i.call(this,t),this.query=this.query||{},!s){var e=c();s=e.___eio=e.___eio||[]}this.index=s.length;var n=this;s.push((function(t){n.onData(t)})),this.query.j=this.index,\"function\"==typeof addEventListener&&addEventListener(\"beforeunload\",(function(){n.script&&(n.script.onerror=l)}),!1)}r(h,i),h.prototype.supportsBinary=!1,h.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),i.prototype.doClose.call(this)},h.prototype.doPoll=function(){var t=this,e=document.createElement(\"script\");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError(\"jsonp poll error\",e)};var n=document.getElementsByTagName(\"script\")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,\"undefined\"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement(\"iframe\");document.body.appendChild(t),document.body.removeChild(t)}),100)},h.prototype.doWrite=function(t,e){var n=this;if(!this.form){var i,r=document.createElement(\"form\"),s=document.createElement(\"textarea\"),l=this.iframeId=\"eio_iframe_\"+this.index;r.className=\"socketio\",r.style.position=\"absolute\",r.style.top=\"-1000px\",r.style.left=\"-1000px\",r.target=l,r.method=\"POST\",r.setAttribute(\"accept-charset\",\"utf-8\"),s.name=\"d\",r.appendChild(s),document.body.appendChild(r),this.form=r,this.area=s}function c(){h(),e()}function h(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError(\"jsonp polling iframe removal error\",t)}try{i=document.createElement('<iframe src=\"javascript:0\" name=\"'+n.iframeId+'\">')}catch(t){(i=document.createElement(\"iframe\")).name=n.iframeId,i.src=\"javascript:0\"}i.id=n.iframeId,n.form.appendChild(i),n.iframe=i}this.form.action=this.uri(),h(),t=t.replace(o,\"\\\\\\n\"),this.area.value=t.replace(a,\"\\\\n\");try{this.form.submit()}catch(d){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){\"complete\"===n.iframe.readyState&&c()}:this.iframe.onload=c}},D0XW:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"3N8a\");const r=new(n(\"IjjT\").a)(i.a)},DH7j:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>Array.isArray||(t=>t&&\"number\"==typeof t.length))()},Dvla:function(t,e,n){\"use strict\";var i=n(\"fXoL\");const r=new i.r(\"WindowToken\",\"undefined\"!=typeof window&&window.document?{providedIn:\"root\",factory:()=>window}:void 0);var s=n(\"XNiG\"),a=n(\"ofXK\");n.d(e,\"a\",(function(){return l})),n.d(e,\"b\",(function(){return c}));let o=(()=>{class t{constructor(t,e){this.document=t,this.window=e,this.copySubject=new s.a,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(t){this.config=t}copy(t){if(!this.isSupported||!t)return this.pushCopyResponse({isSuccess:!1,content:t});const e=this.copyFromContent(t);return this.pushCopyResponse(e?{content:t,isSuccess:e}:{isSuccess:!1,content:t})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported(\"copy\")&&!!this.window}isTargetValid(t){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){if(t.hasAttribute(\"disabled\"))throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');return!0}throw new Error(\"Target should be input or textarea\")}copyFromInputElement(t,e=!0){try{this.selectTarget(t);const n=this.copyText();return this.clearSelection(e?t:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(n){return!1}}isCopySuccessInIE11(){const t=this.window.clipboardData;return!(t&&t.getData&&!t.getData(\"Text\"))}copyFromContent(t,e=this.document.body){if(this.tempTextArea&&!e.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{e.appendChild(this.tempTextArea)}catch(i){throw new Error(\"Container should be a Dom element\")}}this.tempTextArea.value=t;const n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement),n}destroy(t=this.document.body){this.tempTextArea&&(t.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(t){return t.select(),t.setSelectionRange(0,t.value.length),t.value.length}copyText(){return this.document.execCommand(\"copy\")}clearSelection(t,e){t&&t.focus(),e.getSelection().removeAllRanges()}createTempTextArea(t,e){const n=\"rtl\"===t.documentElement.getAttribute(\"dir\");let i;return i=t.createElement(\"textarea\"),i.style.fontSize=\"12pt\",i.style.border=\"0\",i.style.padding=\"0\",i.style.margin=\"0\",i.style.position=\"absolute\",i.style[n?\"right\":\"left\"]=\"-9999px\",i.style.top=(e.pageYOffset||t.documentElement.scrollTop)+\"px\",i.setAttribute(\"readonly\",\"\"),i}pushCopyResponse(t){this.copySubject.next(t)}pushCopyReponse(t){this.pushCopyResponse(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(a.d),i.ac(r,8))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t.ngInjectableDef=Object(i.T)({factory:function(){return new t(Object(i.W)(a.d),Object(i.W)(r,8))},token:t,providedIn:\"root\"}),t})(),l=(()=>{class t{constructor(t){this.clipboardSrv=t,this.cbOnSuccess=new i.o,this.cbOnError=new i.o}ngOnInit(){}ngOnDestroy(){this.clipboardSrv.destroy(this.container)}onClick(t){this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,t):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,t):this.handleResult(!1,void 0,t)}handleResult(t,e,n){let i={isSuccess:t,event:n};t?(i=Object.assign(i,{content:e,successMessage:this.cbSuccessMsg}),this.cbOnSuccess.emit(i)):this.cbOnError.emit(i),this.clipboardSrv.pushCopyResponse(i)}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(o))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngxClipboard\",\"\"]],hostBindings:function(t,e){1&t&&i.ec(\"click\",(function(t){return e.onClick(t.target)}))},inputs:{targetElm:[\"ngxClipboard\",\"targetElm\"],container:\"container\",cbContent:\"cbContent\",cbSuccessMsg:\"cbSuccessMsg\"},outputs:{cbOnSuccess:\"cbOnSuccess\",cbOnError:\"cbOnError\"}}),t})(),c=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[a.c]]}),t})()},EY2u:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r})),n.d(e,\"b\",(function(){return s}));var i=n(\"HDdC\");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},FGiv:function(t,e){var n=1e3,i=6e4,r=36e5,s=24*r;function a(t,e,n,i){var r=e>=1.5*n;return Math.round(t/n)+\" \"+i+(r?\"s\":\"\")}t.exports=function(t,e){e=e||{};var o,l,c=typeof t;if(\"string\"===c&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*a;case\"weeks\":case\"week\":case\"w\":return 6048e5*a;case\"days\":case\"day\":case\"d\":return a*s;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return a*r;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return a*i;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return a*n;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return a;default:return}}}}(t);if(\"number\"===c&&isFinite(t))return e.long?(o=t,(l=Math.abs(o))>=s?a(o,l,s,\"day\"):l>=r?a(o,l,r,\"hour\"):l>=i?a(o,l,i,\"minute\"):l>=n?a(o,l,n,\"second\"):o+\" ms\"):function(t){var e=Math.abs(t);return e>=s?Math.round(t/s)+\"d\":e>=r?Math.round(t/r)+\"h\":e>=i?Math.round(t/i)+\"m\":e>=n?Math.round(t/n)+\"s\":t+\"ms\"}(t);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(t))}},FKr1:function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"u47x\"),s=n(\"cH1L\");const a=new i.O(\"9.1.0\");var o=n(\"8LU1\"),l=n(\"XNiG\"),c=n(\"HDdC\"),h=n(\"nLfN\"),d=(n(\"jhN1\"),n(\"JX91\")),u=n(\"ofXK\"),p=n(\"R1ws\"),m=n(\"FtGj\");n.d(e,\"a\",(function(){return E})),n.d(e,\"b\",(function(){return B})),n.d(e,\"c\",(function(){return A})),n.d(e,\"d\",(function(){return pt})),n.d(e,\"e\",(function(){return lt})),n.d(e,\"f\",(function(){return w})),n.d(e,\"g\",(function(){return H})),n.d(e,\"h\",(function(){return Q})),n.d(e,\"i\",(function(){return z})),n.d(e,\"j\",(function(){return rt})),n.d(e,\"k\",(function(){return ct})),n.d(e,\"l\",(function(){return ut})),n.d(e,\"m\",(function(){return ot})),n.d(e,\"n\",(function(){return J})),n.d(e,\"o\",(function(){return tt})),n.d(e,\"p\",(function(){return K})),n.d(e,\"q\",(function(){return Z})),n.d(e,\"r\",(function(){return ht})),n.d(e,\"s\",(function(){return dt})),n.d(e,\"t\",(function(){return C})),n.d(e,\"u\",(function(){return k})),n.d(e,\"v\",(function(){return x})),n.d(e,\"w\",(function(){return S})),n.d(e,\"x\",(function(){return M})),n.d(e,\"y\",(function(){return O})),n.d(e,\"z\",(function(){return U}));const f=[\"*\",[[\"mat-option\"],[\"ng-container\"]]],g=[\"*\",\"mat-option, ng-container\"];function b(t,e){if(1&t&&i.Rb(0,\"mat-pseudo-checkbox\",3),2&t){const t=i.ic();i.oc(\"state\",t.selected?\"checked\":\"unchecked\")(\"disabled\",t.disabled)}}const _=[\"*\"],y=new i.O(\"9.1.0\"),v=new i.r(\"mat-sanity-checks\",{providedIn:\"root\",factory:function(){return!0}});let w=(()=>{class t{constructor(t,e){this._hasDoneGlobalChecks=!1,this._document=\"object\"==typeof document&&document?document:null,this._window=\"object\"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checksAreEnabled(){return Object(i.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn(\"Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.\")}_checkThemeIsPresent(){if(!(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&\"function\"==typeof getComputedStyle))return;const t=this._document.createElement(\"div\");t.classList.add(\"mat-theme-loaded-marker\"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&\"none\"!==e.display&&console.warn(\"Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming\"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&y.full!==a.full&&console.warn(\"The Angular Material version (\"+y.full+\") does not match the Angular CDK version (\"+a.full+\").\\nPlease ensure the versions of these two packages exactly match.\")}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)(i.ac(r.j),i.ac(v,8))},imports:[[s.a],s.a]}),t})();function x(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}}}function k(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(o.c)(t)}}}function O(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function S(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function M(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new c.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){if(this._isInitialized)throw Error(\"This directive has already been marked as initialized and should not be called twice.\");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new i.r(\"MAT_DATE_LOCALE\",{providedIn:\"root\",factory:function(){return Object(i.W)(i.v)}});class E{constructor(){this._localeChanges=new l.a}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const A=new i.r(\"mat-date-formats\");let D;try{D=\"undefined\"!=typeof Intl}catch(mt){D=!1}const R={long:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],short:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],narrow:[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"]},T=L(31,t=>String(t+1)),I={long:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],short:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],narrow:[\"S\",\"M\",\"T\",\"W\",\"T\",\"F\",\"S\"]},j=/^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|(?:(?:\\+|-)\\d{2}:\\d{2}))?)?$/;function L(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let F=(()=>{class t extends E{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(D){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:\"utc\"});return L(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return R[t]}getDateNames(){if(D){const t=new Intl.DateTimeFormat(this.locale,{day:\"numeric\",timeZone:\"utc\"});return L(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return T}getDayOfWeekNames(t){if(D){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:\"utc\"});return L(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return I[t]}getYearName(t){if(D){const e=new Intl.DateTimeFormat(this.locale,{year:\"numeric\",timeZone:\"utc\"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index \"${e}\". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date \"${n}\". Date has to be greater than 0.`);let i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error(`Invalid date \"${n}\" for month with index \"${e}\".`);return i}today(){return new Date}parse(t){return\"number\"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error(\"NativeDateAdapter: Cannot format invalid date.\");if(D){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:\"utc\"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join(\"-\")}deserialize(t){if(\"string\"==typeof t){if(!t)return null;if(j.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}_2digit(t){return(\"00\"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\\u200e\\u200f]/g,\"\")}_format(t,e){const n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(P,8),i.ac(h.a))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),N=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[{provide:E,useClass:F}],imports:[[h.b]]}),t})();const V={parse:{dateInput:null},display:{dateInput:{year:\"numeric\",month:\"numeric\",day:\"numeric\"},monthYearLabel:{year:\"numeric\",month:\"short\"},dateA11yLabel:{year:\"numeric\",month:\"long\",day:\"numeric\"},monthYearA11yLabel:{year:\"numeric\",month:\"long\"}}};let z=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[{provide:A,useValue:V}],imports:[[N]]}),t})(),B=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})(),H=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"mat-line\",\"\"],[\"\",\"matLine\",\"\"]],hostAttrs:[1,\"mat-line\"]}),t})();function U(t,e){t.changes.pipe(Object(d.a)(t)).subscribe(({length:t})=>{q(e,\"mat-2-line\",!1),q(e,\"mat-3-line\",!1),q(e,\"mat-multi-line\",!1),2===t||3===t?q(e,`mat-${t}-line`,!0):t>3&&q(e,\"mat-multi-line\",!0)})}function q(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let Q=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[w],w]}),t})();class W{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Y={enterDuration:450,exitDuration:400},$=Object(h.f)({passive:!0});class G{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(r.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))},i.isBrowser&&(this._containerElement=Object(o.e)(n),this._triggerEvents.set(\"mousedown\",this._onMousedown).set(\"mouseup\",this._onPointerUp).set(\"mouseleave\",this._onPointerUp).set(\"touchstart\",this._onTouchStart).set(\"touchend\",this._onPointerUp).set(\"touchcancel\",this._onPointerUp))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Y),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),a=t-i.left,o=e-i.top,l=r.enterDuration,c=document.createElement(\"div\");c.classList.add(\"mat-ripple-element\"),c.style.left=`${a-s}px`,c.style.top=`${o-s}px`,c.style.height=`${2*s}px`,c.style.width=`${2*s}px`,null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue(\"opacity\"),c.style.transform=\"scale(1)\";const h=new W(this,c,n);return h.state=0,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const t=h===this._mostRecentTransientRipple;h.state=1,n.persistent||t&&this._isPointerDown||h.fadeOut()},l),h}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},Y),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity=\"0\",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(o.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,$)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,$)})}}const X=new i.r(\"mat-ripple-global-options\");let K=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new G(this,e,t,n),\"NoopAnimations\"===r&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return\"number\"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.A),i.Qb(h.a),i.Qb(X,8),i.Qb(p.a,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"mat-ripple\",\"\"],[\"\",\"matRipple\",\"\"]],hostAttrs:[1,\"mat-ripple\"],hostVars:2,hostBindings:function(t,e){2&t&&i.Hb(\"mat-ripple-unbounded\",e.unbounded)},inputs:{radius:[\"matRippleRadius\",\"radius\"],disabled:[\"matRippleDisabled\",\"disabled\"],trigger:[\"matRippleTrigger\",\"trigger\"],color:[\"matRippleColor\",\"color\"],unbounded:[\"matRippleUnbounded\",\"unbounded\"],centered:[\"matRippleCentered\",\"centered\"],animation:[\"matRippleAnimation\",\"animation\"]},exportAs:[\"matRipple\"]}),t})(),Z=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[w,h.b],w]}),t})(),J=(()=>{class t{constructor(t){this._animationMode=t,this.state=\"unchecked\",this.disabled=!1}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(p.a,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-pseudo-checkbox\"]],hostAttrs:[1,\"mat-pseudo-checkbox\"],hostVars:8,hostBindings:function(t,e){2&t&&i.Hb(\"mat-pseudo-checkbox-indeterminate\",\"indeterminate\"===e.state)(\"mat-pseudo-checkbox-checked\",\"checked\"===e.state)(\"mat-pseudo-checkbox-disabled\",e.disabled)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)},inputs:{state:\"state\",disabled:\"disabled\"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\\n'],encapsulation:2,changeDetection:0}),t})(),tt=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();class et{}const nt=x(et);let it=0,rt=(()=>{class t extends nt{constructor(){super(...arguments),this._labelId=`mat-optgroup-label-${it++}`}}return t.\\u0275fac=function(e){return st(e||t)},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-optgroup\"]],hostAttrs:[\"role\",\"group\",1,\"mat-optgroup\"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Eb(\"aria-disabled\",e.disabled.toString())(\"aria-labelledby\",e._labelId),i.Hb(\"mat-optgroup-disabled\",e.disabled))},inputs:{disabled:\"disabled\",label:\"label\"},exportAs:[\"matOptgroup\"],features:[i.Ab],ngContentSelectors:g,decls:4,vars:2,consts:[[1,\"mat-optgroup-label\",3,\"id\"]],template:function(t,e){1&t&&(i.nc(f),i.Wb(0,\"label\",0),i.Jc(1),i.mc(2),i.Vb(),i.mc(3,1)),2&t&&(i.oc(\"id\",e._labelId),i.Db(1),i.Lc(\"\",e.label,\" \"))},styles:[\".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\\n\"],encapsulation:2,changeDetection:0}),t})();const st=i.Yb(rt);let at=0;class ot{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const lt=new i.r(\"MAT_OPTION_PARENT_COMPONENT\");let ct=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue=\"\",this.id=`mat-option-${at++}`,this.onSelectionChange=new i.o,this._stateChanges=new l.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||\"\").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();\"function\"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==m.d&&t.keyCode!==m.l||Object(m.q)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?\"-1\":\"0\"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ot(this,t))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.h),i.Qb(lt,8),i.Qb(rt,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-option\"]],hostAttrs:[\"role\",\"option\",1,\"mat-option\",\"mat-focus-indicator\"],hostVars:12,hostBindings:function(t,e){1&t&&i.ec(\"click\",(function(){return e._selectViaInteraction()}))(\"keydown\",(function(t){return e._handleKeydown(t)})),2&t&&(i.Zb(\"id\",e.id),i.Eb(\"tabindex\",e._getTabIndex())(\"aria-selected\",e._getAriaSelected())(\"aria-disabled\",e.disabled.toString()),i.Hb(\"mat-selected\",e.selected)(\"mat-option-multiple\",e.multiple)(\"mat-active\",e.active)(\"mat-option-disabled\",e.disabled))},inputs:{id:\"id\",disabled:\"disabled\",value:\"value\"},outputs:{onSelectionChange:\"onSelectionChange\"},exportAs:[\"matOption\"],ngContentSelectors:_,decls:4,vars:3,consts:[[\"class\",\"mat-option-pseudo-checkbox\",3,\"state\",\"disabled\",4,\"ngIf\"],[1,\"mat-option-text\"],[\"mat-ripple\",\"\",1,\"mat-option-ripple\",3,\"matRippleTrigger\",\"matRippleDisabled\"],[1,\"mat-option-pseudo-checkbox\",3,\"state\",\"disabled\"]],template:function(t,e){1&t&&(i.nc(),i.Hc(0,b,1,2,\"mat-pseudo-checkbox\",0),i.Wb(1,\"span\",1),i.mc(2),i.Vb(),i.Rb(3,\"div\",2)),2&t&&(i.oc(\"ngIf\",e.multiple),i.Db(3),i.oc(\"matRippleTrigger\",e._getHostElement())(\"matRippleDisabled\",e.disabled||e.disableRipple))},directives:[u.l,K,J],styles:[\".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\\n\"],encapsulation:2,changeDetection:0}),t})();function ht(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===r[s]&&s++;return s}return 0}function dt(t,e,n,i){const r=t*e;return r<n?r:r+e>n+i?Math.max(0,r-i+e):n}let ut=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[Z,u.c,tt]]}),t})();const pt=new i.r(\"mat-label-global-options\")},FtGj:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return b})),n.d(e,\"b\",(function(){return m})),n.d(e,\"c\",(function(){return c})),n.d(e,\"d\",(function(){return r})),n.d(e,\"e\",(function(){return s})),n.d(e,\"f\",(function(){return h})),n.d(e,\"g\",(function(){return d})),n.d(e,\"h\",(function(){return g})),n.d(e,\"i\",(function(){return l})),n.d(e,\"j\",(function(){return o})),n.d(e,\"k\",(function(){return p})),n.d(e,\"l\",(function(){return a})),n.d(e,\"m\",(function(){return i})),n.d(e,\"n\",(function(){return u})),n.d(e,\"o\",(function(){return _})),n.d(e,\"p\",(function(){return f})),n.d(e,\"q\",(function(){return y}));const i=9,r=13,s=27,a=32,o=33,l=34,c=35,h=36,d=37,u=38,p=39,m=40,f=48,g=57,b=65,_=90;function y(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},GU7r:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return c})),n.d(e,\"c\",(function(){return d}));var i=n(\"8LU1\"),r=n(\"fXoL\"),s=n(\"HDdC\"),a=n(\"XNiG\"),o=n(\"Kj3r\");let l=(()=>{class t{create(t){return\"undefined\"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new s.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new a.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(l))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(l))},token:t,providedIn:\"root\"}),t})(),h=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(o.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(c),r.Qb(r.l),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkObserveContent\",\"\"]],inputs:{disabled:[\"cdkObserveContentDisabled\",\"disabled\"],debounce:\"debounce\"},outputs:{event:\"cdkObserveContent\"},exportAs:[\"cdkObserveContent\"]}),t})(),d=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[l]}),t})()},Gbct:function(t,e,n){var i=n(\"Wm4p\"),r=n(\"1Mk5\");function s(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState=\"\",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=s,r(s.prototype),s.prototype.onError=function(t,e){var n=new Error(t);return n.type=\"TransportError\",n.description=e,this.emit(\"error\",n),this},s.prototype.open=function(){return\"closed\"!==this.readyState&&\"\"!==this.readyState||(this.readyState=\"opening\",this.doOpen()),this},s.prototype.close=function(){return\"opening\"!==this.readyState&&\"open\"!==this.readyState||(this.doClose(),this.onClose()),this},s.prototype.send=function(t){if(\"open\"!==this.readyState)throw new Error(\"Transport not open\");this.write(t)},s.prototype.onOpen=function(){this.readyState=\"open\",this.writable=!0,this.emit(\"open\")},s.prototype.onData=function(t){var e=i.decodePacket(t,this.socket.binaryType);this.onPacket(e)},s.prototype.onPacket=function(t){this.emit(\"packet\",t)},s.prototype.onClose=function(){this.readyState=\"closed\",this.emit(\"close\")}},GyhO:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"LRne\"),r=n(\"0EUg\");function s(...t){return Object(r.a)()(Object(i.a)(...t))}},HDdC:function(t,e,n){\"use strict\";var i=n(\"7o/Q\"),r=n(\"2QA8\"),s=n(\"gRHU\"),a=n(\"kJWO\"),o=n(\"mCNh\"),l=n(\"2fFW\");n.d(e,\"a\",(function(){return c}));let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:a}=this,o=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(o.add(a?a.call(o,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),l.a.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=h(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[a.a](){return this}pipe(...t){return 0===t.length?this:Object(o.b)(t)(this)}toPromise(t){return new(t=h(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function h(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error(\"no Promise impl found\");return t}},I55L:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=t=>t&&\"number\"==typeof t.length&&\"function\"!=typeof t},IjjT:function(t,e,n){\"use strict\";let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,\"a\",(function(){return r}));class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"7o/Q\"),r=n(\"4I5i\"),s=n(\"EY2u\");function a(t){return e=>0===t?Object(s.b)():e.lift(new o(t))}class o{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"l7GE\"),r=n(\"51Dv\"),s=n(\"ZUHj\");function a(t){return function(e){const n=new o(t),i=e.lift(n);return n.caught=i}}class o{constructor(t){this.selector=t}call(t,e){return e.subscribe(new l(t,this.selector,this.caught))}}class l extends i.a{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new r.a(this,void 0,void 0);this.add(i);const a=Object(s.a)(this,n,void 0,void 0,i);a!==i&&this.add(a)}}}},JX91:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"GyhO\"),r=n(\"z+Ro\");function s(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},JqCM:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return g})),n.d(e,\"b\",(function(){return b})),n.d(e,\"c\",(function(){return f}));var i=n(\"fXoL\"),r=n(\"jtHE\"),s=n(\"XNiG\"),a=n(\"pLZG\"),o=n(\"1G5W\"),l=n(\"ofXK\");function c(t,e){1&t&&i.Rb(0,\"div\")}const h=function(t){return{\"background-color\":t}};function d(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Wb(1,\"div\"),i.Hc(2,c,1,0,\"div\",2),i.Vb(),i.Wb(3,\"div\",3),i.mc(4),i.Vb(),i.Vb()),2&t){const t=i.ic();i.Gc(\"position\",t.spinner.fullScreen?\"fixed\":\"absolute\"),i.oc(\"ngStyle\",i.tc(8,h,t.spinner.bdColor)),i.Db(1),i.Fb(t.spinner.class),i.Gc(\"color\",t.spinner.color),i.Db(1),i.oc(\"ngForOf\",t.spinner.divArray)}}const u=[\"*\"],p={\"ball-8bits\":16,\"ball-atom\":4,\"ball-beat\":3,\"ball-circus\":5,\"ball-climbing-dot\":4,\"ball-clip-rotate\":1,\"ball-clip-rotate-multiple\":2,\"ball-clip-rotate-pulse\":2,\"ball-elastic-dots\":5,\"ball-fall\":3,\"ball-fussion\":4,\"ball-grid-beat\":9,\"ball-grid-pulse\":9,\"ball-newton-cradle\":4,\"ball-pulse\":3,\"ball-pulse-rise\":5,\"ball-pulse-sync\":3,\"ball-rotate\":1,\"ball-running-dots\":5,\"ball-scale\":1,\"ball-scale-multiple\":3,\"ball-scale-pulse\":2,\"ball-scale-ripple\":1,\"ball-scale-ripple-multiple\":3,\"ball-spin\":8,\"ball-spin-clockwise\":8,\"ball-spin-clockwise-fade\":8,\"ball-spin-clockwise-fade-rotating\":8,\"ball-spin-fade\":8,\"ball-spin-fade-rotating\":8,\"ball-spin-rotate\":2,\"ball-square-clockwise-spin\":8,\"ball-square-spin\":8,\"ball-triangle-path\":3,\"ball-zig-zag\":2,\"ball-zig-zag-deflect\":2,cog:1,\"cube-transition\":2,fire:3,\"line-scale\":5,\"line-scale-party\":5,\"line-scale-pulse-out\":5,\"line-scale-pulse-out-rapid\":5,\"line-spin-clockwise-fade\":8,\"line-spin-clockwise-fade-rotating\":8,\"line-spin-fade\":8,\"line-spin-fade-rotating\":8,pacman:6,\"square-jelly-box\":2,\"square-loader\":1,\"square-spin\":1,timer:1,\"triangle-skew-spin\":1};class m{constructor(t){Object.assign(this,t)}}let f=(()=>{class t{constructor(){this.spinnerObservable=new r.a(1)}getSpinner(t){return this.spinnerObservable.asObservable().pipe(Object(a.a)(e=>e&&e.name===t))}show(t=\"primary\",e){return new Promise((n,i)=>{e&&Object.keys(e).length?(e.name=t,this.spinnerObservable.next(new m(Object.assign({},e,{show:!0}))),n(!0)):(this.spinnerObservable.next(new m({name:t,show:!0})),n(!0))})}hide(t=\"primary\"){return new Promise((e,n)=>{this.spinnerObservable.next(new m({name:t,show:!1})),e(!0)})}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t.ngInjectableDef=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})(),g=(()=>{class t{constructor(t,e){this.spinnerService=t,this.changeDetector=e,this.spinner=new m,this.ngUnsubscribe=new s.a,this.setDefaultOptions=()=>{this.spinner=new m({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show})},this.bdColor=\"rgba(51,51,51,0.8)\",this.size=\"large\",this.color=\"#fff\",this.type=\"ball-scale-multiple\",this.fullScreen=!0,this.name=\"primary\",this.divArray=[],this.divCount=0,this.show=!1}ngOnInit(){this.setDefaultOptions(),this.spinnerService.getSpinner(this.name).pipe(Object(o.a)(this.ngUnsubscribe)).subscribe(t=>{this.setDefaultOptions(),Object.assign(this.spinner,t),t.show&&this.onInputChange(),this.changeDetector.markForCheck()})}ngOnChanges(t){for(const e in t)if(e){const n=t[e];if(n.isFirstChange())return;void 0!==n.currentValue&&n.currentValue!==n.previousValue&&\"\"!==n.currentValue&&(this.spinner[e]=n.currentValue)}}getClass(t,e){this.spinner.divCount=p[t],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((t,e)=>e);let n=\"\";switch(e.toLowerCase()){case\"small\":n=\"la-sm\";break;case\"medium\":n=\"la-2x\";break;case\"large\":n=\"la-3x\"}return\"la-\"+t+\" \"+n}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(f),i.Qb(i.h))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"ngx-spinner\"]],inputs:{bdColor:\"bdColor\",size:\"size\",color:\"color\",type:\"type\",fullScreen:\"fullScreen\",name:\"name\"},features:[i.Bb()],ngContentSelectors:u,decls:1,vars:1,consts:[[\"class\",\"overlay\",3,\"ngStyle\",\"position\",4,\"ngIf\"],[1,\"overlay\",3,\"ngStyle\"],[4,\"ngFor\",\"ngForOf\"],[1,\"loading-text\"]],template:function(t,e){1&t&&(i.nc(),i.Hc(0,d,5,10,\"div\",0)),2&t&&i.oc(\"ngIf\",e.spinner.show)},directives:[l.l,l.m,l.k],styles:['.la-ball-8bits[_ngcontent-%COMP%], .la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-8bits[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:12px;height:12px}.la-ball-8bits.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:0;opacity:0;-webkit-transform:translate(100%,100%);transform:translate(100%,100%);-webkit-animation:1s infinite ball-8bits;animation:1s infinite ball-8bits}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.9375s;animation-delay:-.9375s;top:-100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.875s;animation-delay:-.875s;top:-100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8125s;animation-delay:-.8125s;top:-66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.75s;animation-delay:-.75s;top:-33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.6875s;animation-delay:-.6875s;top:0;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.625s;animation-delay:-.625s;top:33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.5625s;animation-delay:-.5625s;top:66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.5s;animation-delay:-.5s;top:100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.4375s;animation-delay:-.4375s;top:100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-.375s;animation-delay:-.375s;top:100%;left:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){-webkit-animation-delay:-.3125s;animation-delay:-.3125s;top:66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){-webkit-animation-delay:-.25s;animation-delay:-.25s;top:33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){-webkit-animation-delay:-.1875s;animation-delay:-.1875s;top:0;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){-webkit-animation-delay:-.125s;animation-delay:-.125s;top:-33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){-webkit-animation-delay:-.0625s;animation-delay:-.0625s;top:-66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){-webkit-animation-delay:0s;animation-delay:0s;top:-100%;left:-33.3333333333%}.la-ball-8bits.la-sm[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-8bits.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:2px}.la-ball-8bits.la-2x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-8bits.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-8bits.la-3x[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-8bits.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:12px}@-webkit-keyframes ball-8bits{0%,50%{opacity:1}51%{opacity:0}}@keyframes ball-8bits{0%,50%{opacity:1}51%{opacity:0}}.la-ball-atom[_ngcontent-%COMP%], .la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-atom[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-atom.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){position:absolute;top:50%;left:50%;z-index:1;width:60%;height:60%;background:#aaa;border-radius:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-animation:4.5s linear infinite ball-atom-shrink;animation:4.5s linear infinite ball-atom-shrink}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){position:absolute;left:0;z-index:0;width:100%;height:100%;background:0 0;-webkit-animation:1.5s steps(2,end) infinite ball-atom-zindex;animation:1.5s steps(2,end) infinite ball-atom-zindex}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{position:absolute;top:0;left:0;width:10px;height:10px;margin-top:-5px;margin-left:-5px;content:\"\";background:currentColor;border-radius:50%;opacity:.75;-webkit-animation:1.5s infinite ball-atom-position,1.5s infinite ball-atom-size;animation:1.5s infinite ball-atom-position,1.5s infinite ball-atom-size}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:0s,-1.125s;animation-delay:0s,-1.125s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-1s,-.75s;animation-delay:-1s,-.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.5s,-125ms;animation-delay:-.5s,-125ms}.la-ball-atom.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-atom.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-atom.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-atom.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-atom.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-atom.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):before{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-atom-position{50%{top:100%;left:100%}}@keyframes ball-atom-position{50%{top:100%;left:100%}}@-webkit-keyframes ball-atom-size{50%{-webkit-transform:scale(.5,.5);transform:scale(.5,.5)}}@keyframes ball-atom-size{50%{-webkit-transform:scale(.5,.5);transform:scale(.5,.5)}}@-webkit-keyframes ball-atom-zindex{50%{z-index:10}}@keyframes ball-atom-zindex{50%{z-index:10}}@-webkit-keyframes ball-atom-shrink{50%{-webkit-transform:translate(-50%,-50%) scale(.8,.8);transform:translate(-50%,-50%) scale(.8,.8)}}@keyframes ball-atom-shrink{50%{-webkit-transform:translate(-50%,-50%) scale(.8,.8);transform:translate(-50%,-50%) scale(.8,.8)}}.la-ball-beat[_ngcontent-%COMP%], .la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:.7s linear -.15s infinite ball-beat;animation:.7s linear -.15s infinite ball-beat}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-beat.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-beat.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-beat.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-circus[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:16px;height:16px}.la-ball-circus.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:-100%;display:block;width:100%;height:100%;border-radius:100%;opacity:.5;-webkit-animation:2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-position,2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-size;animation:2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-position,2.5s cubic-bezier(.25,0,.75,1) infinite ball-circus-size}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s,-.5s;animation-delay:0s,-.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.5s,-1s;animation-delay:-.5s,-1s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s,-1.5s;animation-delay:-1s,-1.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s,-2s;animation-delay:-1.5s,-2s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2s,-2.5s;animation-delay:-2s,-2.5s}.la-ball-circus.la-sm[_ngcontent-%COMP%], .la-ball-circus.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-circus.la-2x[_ngcontent-%COMP%], .la-ball-circus.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-circus.la-3x[_ngcontent-%COMP%], .la-ball-circus.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:48px;height:48px}@-webkit-keyframes ball-circus-position{50%{left:100%}}@keyframes ball-circus-position{50%{left:100%}}@-webkit-keyframes ball-circus-size{50%{-webkit-transform:scale(.3,.3);transform:scale(.3,.3)}}@keyframes ball-circus-size{50%{-webkit-transform:scale(.3,.3);transform:scale(.3,.3)}}.la-ball-climbing-dot[_ngcontent-%COMP%], .la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-climbing-dot[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:42px;height:32px}.la-ball-climbing-dot.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){position:absolute;bottom:32%;left:18%;width:14px;height:14px;border-radius:100%;-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation:.6s ease-in-out infinite ball-climbing-dot-jump;animation:.6s ease-in-out infinite ball-climbing-dot-jump}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){position:absolute;top:0;right:0;width:14px;height:2px;border-radius:0;-webkit-transform:translate(60%,0);transform:translate(60%,0);-webkit-animation:1.8s linear infinite ball-climbing-dot-steps;animation:1.8s linear infinite ball-climbing-dot-steps}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(2){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(3){-webkit-animation-delay:-.6s;animation-delay:-.6s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)):nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:6px;height:6px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:6px;height:1px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%]{width:84px;height:64px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:28px;height:28px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:28px;height:4px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%]{width:126px;height:96px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){width:42px;height:42px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:nth-child(1)){width:42px;height:6px}@-webkit-keyframes ball-climbing-dot-jump{0%,100%{-webkit-transform:scale(1,.7);transform:scale(1,.7)}20%,80%,90%{-webkit-transform:scale(.7,1.2);transform:scale(.7,1.2)}40%,46%{-webkit-transform:scale(1,1);transform:scale(1,1)}50%{bottom:125%}}@keyframes ball-climbing-dot-jump{0%,100%{-webkit-transform:scale(1,.7);transform:scale(1,.7)}20%,80%,90%{-webkit-transform:scale(.7,1.2);transform:scale(.7,1.2)}40%,46%{-webkit-transform:scale(1,1);transform:scale(1,1)}50%{bottom:125%}}@-webkit-keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}100%{top:100%;right:100%;opacity:0}}@keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}100%{top:100%;right:100%;opacity:0}}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%], .la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;position:absolute;top:50%;left:50%;background:0 0;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-clip-rotate-multiple-rotate;animation:1s ease-in-out infinite ball-clip-rotate-multiple-rotate}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;border-right-color:transparent;border-left-color:transparent}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;border-top-color:transparent;border-bottom-color:transparent;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-direction:reverse;animation-direction:reverse}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-multiple-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ball-clip-rotate-multiple-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%], .la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;border-radius:100%}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;background:0 0;border-style:solid;border-width:2px;border-right-color:transparent;border-left-color:transparent;-webkit-animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-rotate;animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-rotate}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;-webkit-animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-scale;animation:1s cubic-bezier(.09,.57,.49,.9) infinite ball-clip-rotate-pulse-scale}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px;border-width:6px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-pulse-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ball-clip-rotate-pulse-rotate{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}50%{-webkit-transform:translate(-50%,-50%) rotate(180deg);transform:translate(-50%,-50%) rotate(180deg)}100%{-webkit-transform:translate(-50%,-50%) rotate(360deg);transform:translate(-50%,-50%) rotate(360deg)}}@-webkit-keyframes ball-clip-rotate-pulse-scale{0%,100%{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;-webkit-transform:translate(-50%,-50%) scale(.15);transform:translate(-50%,-50%) scale(.15)}}@keyframes ball-clip-rotate-pulse-scale{0%,100%{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;-webkit-transform:translate(-50%,-50%) scale(.15);transform:translate(-50%,-50%) scale(.15)}}.la-ball-clip-rotate[_ngcontent-%COMP%], .la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-clip-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-bottom-color:transparent;border-radius:100%;-webkit-animation:.75s linear infinite ball-clip-rotate;animation:.75s linear infinite ball-clip-rotate}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-clip-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-clip-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-ball-elastic-dots[_ngcontent-%COMP%], .la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-elastic-dots[_ngcontent-%COMP%]{display:block;color:#fff;width:120px;height:10px;font-size:0;text-align:center}.la-ball-elastic-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid currentColor;display:inline-block;width:10px;height:10px;white-space:nowrap;border-radius:100%;-webkit-animation:1s infinite ball-elastic-dots-anim;animation:1s infinite ball-elastic-dots-anim}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%]{width:60px;height:4px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%]{width:240px;height:20px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%]{width:360px;height:30px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-elastic-dots-anim{0%,100%{margin:0;-webkit-transform:scale(1);transform:scale(1)}50%{margin:0 5%;-webkit-transform:scale(.65);transform:scale(.65)}}@keyframes ball-elastic-dots-anim{0%,100%{margin:0;-webkit-transform:scale(1);transform:scale(1)}50%{margin:0 5%;-webkit-transform:scale(.65);transform:scale(.65)}}.la-ball-fall[_ngcontent-%COMP%], .la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fall[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-fall.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;opacity:0;-webkit-animation:1s ease-in-out infinite ball-fall;animation:1s ease-in-out infinite ball-fall}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-fall.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-fall.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-fall.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-fall.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-fall.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-fall.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-fall{0%{opacity:0;-webkit-transform:translateY(-145%);transform:translateY(-145%)}10%,90%{opacity:.5}20%,80%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(145%);transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;-webkit-transform:translateY(-145%);transform:translateY(-145%)}10%,90%{opacity:.5}20%,80%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(145%);transform:translateY(145%)}}.la-ball-fussion[_ngcontent-%COMP%], .la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fussion[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:8px;height:8px}.la-ball-fussion.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:12px;height:12px;border-radius:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-animation:1s infinite ball-fussion-ball1;animation:1s infinite ball-fussion-ball1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:50%;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:50%;left:100%;z-index:2;-webkit-animation-name:ball-fussion-ball2;animation-name:ball-fussion-ball2}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:100%;left:50%;z-index:1;-webkit-animation-name:ball-fussion-ball3;animation-name:ball-fussion-ball3}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:0;z-index:2;-webkit-animation-name:ball-fussion-ball4;animation-name:ball-fussion-ball4}.la-ball-fussion.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-fussion.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-fussion.la-2x[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-fussion.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-ball-fussion.la-3x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-fussion.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}100%{top:50%;left:100%;z-index:2;opacity:.35}}@keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}100%{top:50%;left:100%;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}100%{top:100%;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}100%{top:100%;left:50%;z-index:1;opacity:.35}}@-webkit-keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}100%{top:50%;left:0;z-index:2;opacity:.35}}@keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}100%{top:50%;left:0;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}100%{top:0;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}100%{top:0;left:50%;z-index:1;opacity:.35}}.la-ball-grid-beat[_ngcontent-%COMP%], .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:36px;height:36px}.la-ball-grid-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-beat{0%,100%{opacity:1}50%{opacity:.35}}@keyframes ball-grid-beat{0%,100%{opacity:1}50%{opacity:.35}}.la-ball-grid-pulse[_ngcontent-%COMP%], .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:36px;height:36px}.la-ball-grid-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-pulse{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.35;-webkit-transform:scale(.45);transform:scale(.45)}}@keyframes ball-grid-pulse{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.35;-webkit-transform:scale(.45);transform:scale(.45)}}.la-ball-newton-cradle[_ngcontent-%COMP%], .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-newton-cradle[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:10px}.la-ball-newton-cradle.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;border-radius:100%}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation:1s ease-out infinite ball-newton-cradle-left;animation:1s ease-out infinite ball-newton-cradle-left}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation:1s ease-out infinite ball-newton-cradle-right;animation:1s ease-out infinite ball-newton-cradle-right}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%]{width:20px;height:4px}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%]{width:80px;height:20px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%]{width:120px;height:30px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-newton-cradle-left{25%{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes ball-newton-cradle-left{25%{-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes ball-newton-cradle-right{100%,50%{-webkit-transform:translateX(0);transform:translateX(0)}75%{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes ball-newton-cradle-right{100%,50%{-webkit-transform:translateX(0);transform:translateX(0)}75%{-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.la-ball-pulse-rise[_ngcontent-%COMP%], .la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-rise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:70px;height:14px}.la-ball-pulse-rise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:2px;border-radius:100%;-webkit-animation:1s cubic-bezier(.15,.36,.9,.6) infinite ball-pulse-rise-even;animation:1s cubic-bezier(.15,.36,.9,.6) infinite ball-pulse-rise-even}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%]{width:34px;height:6px}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%]{width:140px;height:28px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:4px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%]{width:210px;height:42px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:6px}@-webkit-keyframes ball-pulse-rise-even{0%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}50%{opacity:.35;-webkit-transform:scale(.3);transform:scale(.3)}75%{-webkit-transform:translateY(200%);transform:translateY(200%)}100%{opacity:1;-webkit-transform:translateY(0);-webkit-transform:scale(1);transform:translateY(0);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}50%{opacity:.35;-webkit-transform:scale(.3);transform:scale(.3)}75%{-webkit-transform:translateY(200%);transform:translateY(200%)}100%{opacity:1;-webkit-transform:translateY(0);-webkit-transform:scale(1);transform:translateY(0);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{opacity:.35;-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(200%);transform:translateY(200%)}50%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}100%{opacity:.35;-webkit-transform:translateY(0);-webkit-transform:scale(.75);transform:translateY(0);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{opacity:.35;-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(200%);transform:translateY(200%)}50%{opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-200%);transform:translateY(-200%)}100%{opacity:.35;-webkit-transform:translateY(0);-webkit-transform:scale(.75);transform:translateY(0);transform:scale(.75)}}.la-ball-pulse-sync[_ngcontent-%COMP%], .la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-sync[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-pulse-sync.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:.6s ease-in-out infinite ball-pulse-sync;animation:.6s ease-in-out infinite ball-pulse-sync}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.14s;animation-delay:-.14s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.07s;animation-delay:-.07s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse-sync{33%{-webkit-transform:translateY(100%);transform:translateY(100%)}66%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes ball-pulse-sync{33%{-webkit-transform:translateY(100%);transform:translateY(100%)}66%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.la-ball-pulse[_ngcontent-%COMP%], .la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:54px;height:18px}.la-ball-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:1s infinite ball-pulse;animation:1s infinite ball-pulse}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse{0%,100%,60%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}30%{opacity:.1;-webkit-transform:scale(.01);transform:scale(.01)}}@keyframes ball-pulse{0%,100%,60%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}30%{opacity:.1;-webkit-transform:scale(.01);transform:scale(.01)}}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:10px;height:10px}.la-ball-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:10px;height:10px;border-radius:100%;-webkit-animation:1s cubic-bezier(.7,-.13,.22,.86) infinite ball-rotate-animation;animation:1s cubic-bezier(.7,-.13,.22,.86) infinite ball-rotate-animation}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;width:inherit;height:inherit;margin:inherit;content:\"\";background:currentColor;border-radius:inherit;opacity:.8}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:0;left:-150%}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{top:0;left:150%}.la-ball-rotate.la-sm[_ngcontent-%COMP%], .la-ball-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-rotate.la-2x[_ngcontent-%COMP%], .la-ball-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-rotate.la-3x[_ngcontent-%COMP%], .la-ball-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-rotate-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-rotate-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-ball-running-dots[_ngcontent-%COMP%], .la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-running-dots[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:10px;height:10px}.la-ball-running-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:10px;height:10px;margin-left:-25px;border-radius:100%;-webkit-animation:2s linear infinite ball-running-dots-animate;animation:2s linear infinite ball-running-dots-animate}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.6s;animation-delay:-1.6s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2.8s;animation-delay:-2.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-3.2s;animation-delay:-3.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-3.6s;animation-delay:-3.6s}.la-ball-running-dots.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-running-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-left:-12px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:-50px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%]{width:30px;height:30px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-left:-75px}@-webkit-keyframes ball-running-dots-animate{0%,100%{width:100%;height:100%;-webkit-transform:translateY(0) translateX(500%);transform:translateY(0) translateX(500%)}80%{-webkit-transform:translateY(0) translateX(0);transform:translateY(0) translateX(0)}85%{width:100%;height:100%;-webkit-transform:translateY(-125%) translateX(0);transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;-webkit-transform:translateY(-100%) translateX(500%);transform:translateY(-100%) translateX(500%)}}@keyframes ball-running-dots-animate{0%,100%{width:100%;height:100%;-webkit-transform:translateY(0) translateX(500%);transform:translateY(0) translateX(500%)}80%{-webkit-transform:translateY(0) translateX(0);transform:translateY(0) translateX(0)}85%{width:100%;height:100%;-webkit-transform:translateY(-125%) translateX(0);transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;-webkit-transform:translateY(-100%) translateX(500%);transform:translateY(-100%) translateX(500%)}}.la-ball-scale-multiple[_ngcontent-%COMP%], .la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:1s linear infinite ball-scale-multiple;animation:1s linear infinite ball-scale-multiple}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}.la-ball-scale-multiple.la-sm[_ngcontent-%COMP%], .la-ball-scale-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-multiple.la-2x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-multiple.la-3x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-multiple{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}5%{opacity:.75}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-scale-multiple{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}5%{opacity:.75}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-scale-pulse[_ngcontent-%COMP%], .la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:.5;-webkit-animation:2s ease-in-out infinite ball-scale-pulse;animation:2s ease-in-out infinite ball-scale-pulse}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-scale-pulse.la-sm[_ngcontent-%COMP%], .la-ball-scale-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-pulse.la-2x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-pulse.la-3x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-pulse{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-scale-pulse{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%], .la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-ripple-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;position:absolute;top:0;left:0;width:32px;height:32px;background:0 0;border-radius:100%;opacity:0;-webkit-animation:1.25s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple-multiple;animation:1.25s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple-multiple}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.5s;animation-delay:.5s}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple-multiple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.5;-webkit-transform:scale(1);transform:scale(1)}95%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.5;-webkit-transform:scale(1);transform:scale(1)}95%{opacity:0}}.la-ball-scale-ripple[_ngcontent-%COMP%], .la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale-ripple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-radius:100%;opacity:0;-webkit-animation:1s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple;animation:1s cubic-bezier(.21,.53,.56,.8) infinite ball-scale-ripple}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.65;-webkit-transform:scale(1);transform:scale(1)}100%{opacity:0}}@keyframes ball-scale-ripple{0%{opacity:1;-webkit-transform:scale(.1);transform:scale(.1)}70%{opacity:.65;-webkit-transform:scale(1);transform:scale(1)}100%{opacity:0}}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:1s ease-in-out infinite ball-scale;animation:1s ease-in-out infinite ball-scale}.la-ball-scale.la-sm[_ngcontent-%COMP%], .la-ball-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale.la-2x[_ngcontent-%COMP%], .la-ball-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale.la-3x[_ngcontent-%COMP%], .la-ball-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-scale{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-clockwise-fade-rotating-rotate;animation:6s linear infinite ball-spin-clockwise-fade-rotating-rotate}.la-ball-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-clockwise-fade-rotating;animation:1s linear infinite ball-spin-clockwise-fade-rotating}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes ball-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-clockwise-fade;animation:1s linear infinite ball-spin-clockwise-fade}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-clockwise-fade{50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-clockwise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-spin-clockwise;animation:1s ease-in-out infinite ball-spin-clockwise}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes ball-spin-clockwise{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}.la-ball-spin-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-fade-rotate;animation:6s linear infinite ball-spin-fade-rotate}.la-ball-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-fade;animation:1s linear infinite ball-spin-fade}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-spin-fade-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-ball-spin-fade[_ngcontent-%COMP%], .la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s linear infinite ball-spin-fade;animation:1s linear infinite ball-spin-fade}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}}@keyframes ball-spin-fade{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:.25;-webkit-transform:scale(.5);transform:scale(.5)}}.la-ball-spin-rotate[_ngcontent-%COMP%], .la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:2s linear infinite ball-spin-rotate;animation:2s linear infinite ball-spin-rotate}.la-ball-spin-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;width:60%;height:60%;border-radius:100%;-webkit-animation:2s ease-in-out infinite ball-spin-bounce;animation:2s ease-in-out infinite ball-spin-bounce}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-spin-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-spin-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-spin-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes ball-spin-bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-spin[_ngcontent-%COMP%], .la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-spin;animation:1s ease-in-out infinite ball-spin}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes ball-spin{0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:1}80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}.la-ball-square-clockwise-spin[_ngcontent-%COMP%], .la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:26px;height:26px}.la-ball-square-clockwise-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-square-clockwise-spin;animation:1s ease-in-out infinite ball-square-clockwise-spin}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:0;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-clockwise-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-square-clockwise-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-square-spin[_ngcontent-%COMP%], .la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:26px;height:26px}.la-ball-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:1s ease-in-out infinite ball-square-spin;animation:1s ease-in-out infinite ball-square-spin}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:0;left:0;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-square-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-square-spin{0%,100%,40%{-webkit-transform:scale(.4);transform:scale(.4)}70%{-webkit-transform:scale(1);transform:scale(1)}}.la-ball-triangle-path[_ngcontent-%COMP%], .la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-triangle-path[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-ball-triangle-path.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:10px;height:10px;border-radius:100%}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-one;animation:2s ease-in-out infinite ball-triangle-path-ball-one}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-two;animation:2s ease-in-out infinite ball-triangle-path-ball-two}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation:2s ease-in-out infinite ball-triangle-path-ball-tree;animation:2s ease-in-out infinite ball-triangle-path-ball-tree}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-triangle-path-ball-one{0%{-webkit-transform:translate(0,220%);transform:translate(0,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}66%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}100%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}}@keyframes ball-triangle-path-ball-one{0%{-webkit-transform:translate(0,220%);transform:translate(0,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}66%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}100%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}}@-webkit-keyframes ball-triangle-path-ball-two{0%{-webkit-transform:translate(110%,0);transform:translate(110%,0)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}66%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}100%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}}@keyframes ball-triangle-path-ball-two{0%{-webkit-transform:translate(110%,0);transform:translate(110%,0)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}66%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}100%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}}@-webkit-keyframes ball-triangle-path-ball-tree{0%{-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}66%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}100%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}}@keyframes ball-triangle-path-ball-tree{0%{-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}17%,50%,83%{opacity:.25}33%{opacity:1;-webkit-transform:translate(0,220%);transform:translate(0,220%)}66%{opacity:1;-webkit-transform:translate(110%,0);transform:translate(110%,0)}100%{opacity:1;-webkit-transform:translate(220%,220%);transform:translate(220%,220%)}}.la-ball-zig-zag-deflect[_ngcontent-%COMP%], .la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;position:relative;width:32px;height:32px}.la-ball-zig-zag-deflect.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:1.5s linear infinite ball-zig-deflect;animation:1.5s linear infinite ball-zig-deflect}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:1.5s linear infinite ball-zag-deflect;animation:1.5s linear infinite ball-zag-deflect}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-80%,-160%);transform:translate(-80%,-160%)}34%,67%{-webkit-transform:translate(80%,-160%);transform:translate(80%,-160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-80%,-160%);transform:translate(-80%,-160%)}34%,67%{-webkit-transform:translate(80%,-160%);transform:translate(80%,-160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@-webkit-keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(80%,160%);transform:translate(80%,160%)}34%,67%{-webkit-transform:translate(-80%,160%);transform:translate(-80%,160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(80%,160%);transform:translate(80%,160%)}34%,67%{-webkit-transform:translate(-80%,160%);transform:translate(-80%,160%)}100%,50%{-webkit-transform:translate(0,0);transform:translate(0,0)}}.la-ball-zig-zag[_ngcontent-%COMP%], .la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box}.la-ball-zig-zag[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;position:relative;width:32px;height:32px}.la-ball-zig-zag.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:.7s linear infinite ball-zig-effect;animation:.7s linear infinite ball-zig-effect}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:.7s linear infinite ball-zag-effect;animation:.7s linear infinite ball-zag-effect}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(-75%,-150%);transform:translate(-75%,-150%)}66%{-webkit-transform:translate(75%,-150%);transform:translate(75%,-150%)}}@keyframes ball-zig-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(-75%,-150%);transform:translate(-75%,-150%)}66%{-webkit-transform:translate(75%,-150%);transform:translate(75%,-150%)}}@-webkit-keyframes ball-zag-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(75%,150%);transform:translate(75%,150%)}66%{-webkit-transform:translate(-75%,150%);transform:translate(-75%,150%)}}@keyframes ball-zag-effect{0%,100%{-webkit-transform:translate(0,0);transform:translate(0,0)}33%{-webkit-transform:translate(75%,150%);transform:translate(75%,150%)}66%{-webkit-transform:translate(-75%,150%);transform:translate(-75%,150%)}}.la-cog[_ngcontent-%COMP%], .la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cog[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:31px;height:31px}.la-cog.la-dark[_ngcontent-%COMP%]{color:#333}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px dashed currentColor;width:100%;height:100%;background-color:transparent;border-radius:100%;-webkit-animation:4s linear infinite cog-rotate;animation:4s linear infinite cog-rotate}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";border:2px solid currentColor;border-radius:100%}.la-cog.la-sm[_ngcontent-%COMP%]{width:15px;height:15px}.la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:1px}.la-cog.la-2x[_ngcontent-%COMP%]{width:61px;height:61px}.la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:4px}.la-cog.la-3x[_ngcontent-%COMP%]{width:91px;height:91px}.la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:6px}@-webkit-keyframes cog-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cog-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-cube-transition[_ngcontent-%COMP%], .la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cube-transition[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-cube-transition.la-dark[_ngcontent-%COMP%]{color:#333}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;top:0;left:0;width:14px;height:14px;margin-top:-7px;margin-left:-7px;border-radius:0;-webkit-animation:1.6s ease-in-out infinite cube-transition;animation:1.6s ease-in-out infinite cube-transition}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-cube-transition.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-cube-transition.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-cube-transition.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-cube-transition.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:28px;height:28px;margin-top:-14px;margin-left:-14px}.la-cube-transition.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-cube-transition.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:42px;height:42px;margin-top:-21px;margin-left:-21px}@-webkit-keyframes cube-transition{25%{top:0;left:100%;-webkit-transform:scale(.5) rotate(-90deg);transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;-webkit-transform:scale(1) rotate(-180deg);transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;-webkit-transform:scale(.5) rotate(-270deg);transform:scale(.5) rotate(-270deg)}100%{top:0;left:0;-webkit-transform:scale(1) rotate(-360deg);transform:scale(1) rotate(-360deg)}}@keyframes cube-transition{25%{top:0;left:100%;-webkit-transform:scale(.5) rotate(-90deg);transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;-webkit-transform:scale(1) rotate(-180deg);transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;-webkit-transform:scale(.5) rotate(-270deg);transform:scale(.5) rotate(-270deg)}100%{top:0;left:0;-webkit-transform:scale(1) rotate(-360deg);transform:scale(1) rotate(-360deg)}}.la-fire[_ngcontent-%COMP%], .la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-fire[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-fire.la-dark[_ngcontent-%COMP%]{color:#333}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;bottom:0;left:50%;width:12px;height:12px;border-radius:2px;-webkit-transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);-webkit-animation:1.5s linear infinite fire-diamonds;animation:1.5s linear infinite fire-diamonds}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-.85s;animation-delay:-.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.85s;animation-delay:-1.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-2.85s;animation-delay:-2.85s}.la-fire.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-fire.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-fire.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-fire.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px}.la-fire.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-fire.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes fire-diamonds{0%{-webkit-transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{-webkit-transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1);transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}100%{-webkit-transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}@keyframes fire-diamonds{0%{-webkit-transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{-webkit-transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1);transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}100%{-webkit-transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0);transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}.la-line-scale-party[_ngcontent-%COMP%], .la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-party[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-party.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.23s;animation-delay:-.23s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:.62s;animation-duration:.62s;-webkit-animation-delay:-.32s;animation-delay:-.32s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.44s;animation-delay:-.44s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-delay:-.31s;animation-delay:-.31s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:.74s;animation-duration:.74s;-webkit-animation-delay:-.24s;animation-delay:-.24s}.la-line-scale-party.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-party.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-party.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-party.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-party.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-party.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-party{0%,100%{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(.3);transform:scaleY(.3)}}@keyframes line-scale-party{0%,100%{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(.3);transform:scaleY(.3)}}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%], .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-pulse-out-rapid.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:.9s cubic-bezier(.11,.49,.38,.78) infinite line-scale-pulse-out-rapid;animation:.9s cubic-bezier(.11,.49,.38,.78) infinite line-scale-pulse-out-rapid}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.65s;animation-delay:-.65s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}@keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}.la-line-scale-pulse-out[_ngcontent-%COMP%], .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale-pulse-out.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:.9s cubic-bezier(.85,.25,.37,.85) infinite line-scale-pulse-out;animation:.9s cubic-bezier(.85,.25,.37,.85) infinite line-scale-pulse-out}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.7s;animation-delay:-.7s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out{0%,100%{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.3);transform:scaley(.3)}}@keyframes line-scale-pulse-out{0%,100%{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.3);transform:scaley(.3)}}.la-line-scale[_ngcontent-%COMP%], .la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:40px;height:32px}.la-line-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:1.2s infinite line-scale;animation:1.2s infinite line-scale}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-line-scale.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale{0%,100%,40%{-webkit-transform:scaleY(.4);transform:scaleY(.4)}20%{-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes line-scale{0%,100%,40%{-webkit-transform:scaleY(.4);transform:scaleY(.4)}20%{-webkit-transform:scaleY(1);transform:scaleY(1)}}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite line-spin-clockwise-fade-rotating-rotate;animation:6s linear infinite line-spin-clockwise-fade-rotating-rotate}.la-line-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-clockwise-fade-rotating;animation:1s ease-in-out infinite line-spin-clockwise-fade-rotating}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes line-spin-clockwise-fade-rotating-rotate{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}100%{opacity:1}}.la-line-spin-clockwise-fade[_ngcontent-%COMP%], .la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-line-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-clockwise-fade;animation:1s ease-in-out infinite line-spin-clockwise-fade}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-clockwise-fade{50%{opacity:.2}100%{opacity:1}}.la-line-spin-fade-rotating[_ngcontent-%COMP%], .la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px;-webkit-animation:6s linear infinite ball-spin-fade-rotating-rotate;animation:6s linear infinite ball-spin-fade-rotating-rotate}.la-line-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-fade-rotating;animation:1s ease-in-out infinite line-spin-fade-rotating}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes ball-spin-fade-rotating-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-spin-fade-rotating-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes line-spin-fade-rotating{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-fade-rotating{50%{opacity:.2}100%{opacity:1}}.la-line-spin-fade[_ngcontent-%COMP%], .la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-line-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:1s ease-in-out infinite line-spin-fade;animation:1s ease-in-out infinite line-spin-fade}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:15%;left:50%;-webkit-transform:rotate(0);transform:rotate(0);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;-webkit-transform:rotate(135deg);transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;-webkit-transform:rotate(225deg);transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;-webkit-transform:rotate(315deg);transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-fade{50%{opacity:.2}100%{opacity:1}}@keyframes line-spin-fade{50%{opacity:.2}100%{opacity:1}}.la-pacman[_ngcontent-%COMP%], .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-pacman[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-pacman.la-dark[_ngcontent-%COMP%]{color:#333}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){width:0;height:0;background:0 0;border-style:solid;border-width:16px;border-right-color:transparent;border-radius:100%;-webkit-animation:.5s infinite pacman-rotate-half-up;animation:.5s infinite pacman-rotate-half-up}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-32px;-webkit-animation-name:pacman-rotate-half-down;animation-name:pacman-rotate-half-down}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){position:absolute;top:50%;left:200%;width:8px;height:8px;border-radius:100%;opacity:0;-webkit-animation:2s linear infinite pacman-balls;animation:2s linear infinite pacman-balls}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.44s;animation-delay:-1.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.94s;animation-delay:-1.94s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2.44s;animation-delay:-2.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2.94s;animation-delay:-2.94s}.la-pacman.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:8px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:4px;height:4px}.la-pacman.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:32px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:16px;height:16px}.la-pacman.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:48px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-top:-96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:24px;height:24px}@-webkit-keyframes pacman-rotate-half-up{0%,100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes pacman-rotate-half-up{0%,100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes pacman-rotate-half-down{0%,100%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes pacman-rotate-half-down{0%,100%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes pacman-balls{0%{left:200%;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}100%{left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}}@keyframes pacman-balls{0%{left:200%;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}100%{left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}}.la-square-jelly-box[_ngcontent-%COMP%], .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-jelly-box[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-jelly-box.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){position:absolute;left:0;width:100%}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:-25%;z-index:1;height:100%;border-radius:10%;-webkit-animation:.6s linear -.1s infinite square-jelly-box-animate;animation:.6s linear -.1s infinite square-jelly-box-animate}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){bottom:-9%;height:10%;background:#000;border-radius:50%;opacity:.2;-webkit-animation:.6s linear -.1s infinite square-jelly-box-shadow;animation:.6s linear -.1s infinite square-jelly-box-shadow}.la-square-jelly-box.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-jelly-box.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-jelly-box.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{-webkit-transform:translateY(25%) rotate(22.5deg);transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;-webkit-transform:translateY(50%) scale(1,.9) rotate(45deg);transform:translateY(50%) scale(1,.9) rotate(45deg)}75%{-webkit-transform:translateY(25%) rotate(67.5deg);transform:translateY(25%) rotate(67.5deg)}100%{-webkit-transform:translateY(0) rotate(90deg);transform:translateY(0) rotate(90deg)}}@keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{-webkit-transform:translateY(25%) rotate(22.5deg);transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;-webkit-transform:translateY(50%) scale(1,.9) rotate(45deg);transform:translateY(50%) scale(1,.9) rotate(45deg)}75%{-webkit-transform:translateY(25%) rotate(67.5deg);transform:translateY(25%) rotate(67.5deg)}100%{-webkit-transform:translateY(0) rotate(90deg);transform:translateY(0) rotate(90deg)}}@-webkit-keyframes square-jelly-box-shadow{50%{-webkit-transform:scale(1.25,1);transform:scale(1.25,1)}}@keyframes square-jelly-box-shadow{50%{-webkit-transform:scale(1.25,1);transform:scale(1.25,1)}}.la-square-loader[_ngcontent-%COMP%], .la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-loader[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-loader.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:100%;height:100%;background:0 0;border-radius:0;-webkit-animation:2s infinite square-loader;animation:2s infinite square-loader}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:inline-block;width:100%;vertical-align:top;content:\"\";background-color:currentColor;-webkit-animation:2s ease-in infinite square-loader-inner;animation:2s ease-in infinite square-loader-inner}.la-square-loader.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-loader.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-square-loader.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-loader.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-square-loader.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-square-loader.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}@-webkit-keyframes square-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%,50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%,75%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes square-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%,50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%,75%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes square-loader-inner{0%,100%,25%{height:0}50%,75%{height:100%}}@keyframes square-loader-inner{0%,100%,25%{height:0}50%,75%{height:100%}}.la-square-spin[_ngcontent-%COMP%], .la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:100%;height:100%;border-radius:0;-webkit-animation:3s cubic-bezier(.09,.57,.49,.9) infinite square-spin;animation:3s cubic-bezier(.09,.57,.49,.9) infinite square-spin}.la-square-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}@keyframes square-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-timer[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:32px}.la-timer.la-dark[_ngcontent-%COMP%]{color:#333}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:2px solid currentColor;width:32px;height:32px;background:0 0;border-radius:100%}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;top:14px;left:14px;display:block;width:2px;margin-top:-1px;margin-left:-1px;content:\"\";background:currentColor;border-radius:2px;-webkit-transform-origin:1px 1px 0;transform-origin:1px 1px 0;-webkit-animation:1.25s linear -625ms infinite timer-loader;animation:1.25s linear -625ms infinite timer-loader}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:12px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:8px;-webkit-animation-duration:15s;animation-duration:15s;-webkit-animation-delay:-7.5s;animation-delay:-7.5s}.la-timer.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:7px;left:7px;width:1px;margin-top:-.5px;margin-left:-.5px;border-radius:1px;-webkit-transform-origin:.5px .5px 0;transform-origin:.5px .5px 0}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:6px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:4px}.la-timer.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:28px;left:28px;width:4px;margin-top:-2px;margin-left:-2px;border-radius:4px;-webkit-transform-origin:2px 2px 0;transform-origin:2px 2px 0}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:24px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:16px}.la-timer.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:42px;left:42px;width:6px;margin-top:-3px;margin-left:-3px;border-radius:6px;-webkit-transform-origin:3px 3px 0;transform-origin:3px 3px 0}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:36px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:24px}@-webkit-keyframes timer-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes timer-loader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-triangle-skew-spin[_ngcontent-%COMP%], .la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-triangle-skew-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff;width:32px;height:16px}.la-triangle-skew-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;border:0 solid currentColor;width:0;height:0;background:0 0;border:solid;border-width:0 16px 16px;border-right-color:transparent;border-left-color:transparent;-webkit-animation:3s cubic-bezier(.09,.57,.49,.9) infinite triangle-skew-spin;animation:3s cubic-bezier(.09,.57,.49,.9) infinite triangle-skew-spin}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:8px}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 8px 8px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:32px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 32px 32px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:48px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 48px 48px}@-webkit-keyframes triangle-skew-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}@keyframes triangle-skew-spin{0%{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}100%{-webkit-transform:perspective(100px) rotateX(0) rotateY(360deg);transform:perspective(100px) rotateX(0) rotateY(360deg)}}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99999!important}.overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;-webkit-transform:translate(-50%,-60%);transform:translate(-50%,-60%);z-index:99999!important}'],changeDetection:0}),t})(),b=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[l.c]]}),t})()},KFGy:function(t,e,n){var i=n(\"Vo14\"),r=n(\"2xqC\"),s=n(\"kSER\"),a=n(\"2Dig\"),o=n(\"QN7Q\"),l=n(\"NOtv\")(\"socket.io-client:socket\"),c=n(\"TypT\"),h=n(\"WLGk\");t.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},u=r.prototype.emit;function p(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}r(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[a(t,\"open\",o(this,\"onopen\")),a(t,\"packet\",o(this,\"onpacket\")),a(t,\"close\",o(this,\"onclose\"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),\"open\"===this.io.readyState&&this.onopen(),this.emit(\"connecting\"),this)},p.prototype.send=function(){var t=s(arguments);return t.unshift(\"message\"),this.emit.apply(this,t),this},p.prototype.emit=function(t){if(d.hasOwnProperty(t))return u.apply(this,arguments),this;var e=s(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:h(e))?i.BINARY_EVENT:i.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,\"function\"==typeof e[e.length-1]&&(l(\"emitting packet with ack id %d\",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},p.prototype.onopen=function(){if(l(\"transport is open - connecting\"),\"/\"!==this.nsp)if(this.query){var t=\"object\"==typeof this.query?c.encode(this.query):this.query;l(\"sending connect packet with query %s\",t),this.packet({type:i.CONNECT,query:t})}else this.packet({type:i.CONNECT})},p.prototype.onclose=function(t){l(\"close (%s)\",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit(\"disconnect\",t)},p.prototype.onpacket=function(t){if(t.nsp===this.nsp||t.type===i.ERROR&&\"/\"===t.nsp)switch(t.type){case i.CONNECT:this.onconnect();break;case i.EVENT:case i.BINARY_EVENT:this.onevent(t);break;case i.ACK:case i.BINARY_ACK:this.onack(t);break;case i.DISCONNECT:this.ondisconnect();break;case i.ERROR:this.emit(\"error\",t.data)}},p.prototype.onevent=function(t){var e=t.data||[];l(\"emitting event %j\",e),null!=t.id&&(l(\"attaching ack callback to event\"),e.push(this.ack(t.id))),this.connected?u.apply(this,e):this.receiveBuffer.push(e)},p.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var r=s(arguments);l(\"sending ack %j\",r),e.packet({type:h(r)?i.BINARY_ACK:i.ACK,id:t,data:r})}}},p.prototype.onack=function(t){var e=this.acks[t.id];\"function\"==typeof e?(l(\"calling ack %s with %j\",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):l(\"bad ack %s\",t.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit(\"connect\"),this.emitBuffered()},p.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)u.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){l(\"server disconnect (%s)\",this.nsp),this.destroy(),this.onclose(\"io server disconnect\")},p.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(l(\"performing disconnect (%s)\",this.nsp),this.packet({type:i.DISCONNECT})),this.destroy(),this.connected&&this.onclose(\"io client disconnect\"),this},p.prototype.compress=function(t){return this.flags.compress=t,this},p.prototype.binary=function(t){return this.flags.binary=t,this}},Kj3r:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"7o/Q\"),r=n(\"D0XW\");function s(t,e=r.a){return n=>n.lift(new a(t,e))}class a{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new o(t,this.dueTime,this.scheduler))}}class o extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},KqfI:function(t,e,n){\"use strict\";function i(){}n.d(e,\"a\",(function(){return i}))},LRne:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"z+Ro\"),r=n(\"yCtX\"),s=n(\"jZKg\");function a(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){\"use strict\";function i(){return\"function\"==typeof Symbol&&Symbol.iterator?Symbol.iterator:\"@@iterator\"}n.d(e,\"a\",(function(){return r}));const r=i()},M9IT:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return C})),n.d(e,\"b\",(function(){return k}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"bTqV\"),a=n(\"d3UM\"),o=n(\"Qu3c\"),l=n(\"8LU1\"),c=n(\"XNiG\"),h=n(\"FKr1\"),d=n(\"kmnG\");function u(t,e){if(1&t&&(r.Wb(0,\"mat-option\",19),r.Jc(1),r.Vb()),2&t){const t=e.$implicit;r.oc(\"value\",t),r.Db(1),r.Lc(\" \",t,\" \")}}function p(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",16),r.Wb(1,\"mat-select\",17),r.ec(\"selectionChange\",(function(e){return r.zc(t),r.ic(2)._changePageSize(e.value)})),r.Hc(2,u,2,2,\"mat-option\",18),r.Vb(),r.Vb()}if(2&t){const t=r.ic(2);r.oc(\"color\",t.color),r.Db(1),r.oc(\"value\",t.pageSize)(\"disabled\",t.disabled)(\"aria-label\",t._intl.itemsPerPageLabel),r.Db(1),r.oc(\"ngForOf\",t._displayedPageSizeOptions)}}function m(t,e){if(1&t&&(r.Wb(0,\"div\",20),r.Jc(1),r.Vb()),2&t){const t=r.ic(2);r.Db(1),r.Kc(t.pageSize)}}function f(t,e){if(1&t&&(r.Wb(0,\"div\",12),r.Wb(1,\"div\",13),r.Jc(2),r.Vb(),r.Hc(3,p,3,5,\"mat-form-field\",14),r.Hc(4,m,2,1,\"div\",15),r.Vb()),2&t){const t=r.ic();r.Db(2),r.Lc(\" \",t._intl.itemsPerPageLabel,\" \"),r.Db(1),r.oc(\"ngIf\",t._displayedPageSizeOptions.length>1),r.Db(1),r.oc(\"ngIf\",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"button\",21),r.ec(\"click\",(function(){return r.zc(t),r.ic().firstPage()})),r.hc(),r.Wb(1,\"svg\",7),r.Rb(2,\"path\",22),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"matTooltip\",t._intl.firstPageLabel)(\"matTooltipDisabled\",t._previousButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",t._previousButtonsDisabled()),r.Eb(\"aria-label\",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=r.Xb();r.hc(),r.gc(),r.Wb(0,\"button\",23),r.ec(\"click\",(function(){return r.zc(t),r.ic().lastPage()})),r.hc(),r.Wb(1,\"svg\",7),r.Rb(2,\"path\",24),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"matTooltip\",t._intl.lastPageLabel)(\"matTooltipDisabled\",t._nextButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",t._nextButtonsDisabled()),r.Eb(\"aria-label\",t._intl.lastPageLabel)}}let _=(()=>{class t{constructor(){this.changes=new c.a,this.itemsPerPageLabel=\"Items per page:\",this.nextPageLabel=\"Next page\",this.previousPageLabel=\"Previous page\",this.firstPageLabel=\"First page\",this.lastPageLabel=\"Last page\",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return`0 of ${n}`;const i=t*e;return`${i+1} \\u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const y={provide:_,deps:[[new r.B,new r.K,_]],useFactory:function(t){return t||new _}},v=new r.r(\"MAT_PAGINATOR_DEFAULT_OPTIONS\");class w{}const x=Object(h.v)(Object(h.x)(w));let C=(()=>{class t extends x{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new r.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:r}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(l.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(l.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(l.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(l.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(l.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(l.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(_),r.Qb(r.h),r.Qb(v,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-paginator\"]],hostAttrs:[1,\"mat-paginator\"],inputs:{disabled:\"disabled\",pageIndex:\"pageIndex\",length:\"length\",pageSize:\"pageSize\",pageSizeOptions:\"pageSizeOptions\",hidePageSize:\"hidePageSize\",showFirstLastButtons:\"showFirstLastButtons\",color:\"color\"},outputs:{page:\"page\"},exportAs:[\"matPaginator\"],features:[r.Ab],decls:14,vars:14,consts:[[1,\"mat-paginator-outer-container\"],[1,\"mat-paginator-container\"],[\"class\",\"mat-paginator-page-size\",4,\"ngIf\"],[1,\"mat-paginator-range-actions\"],[1,\"mat-paginator-range-label\"],[\"mat-icon-button\",\"\",\"type\",\"button\",\"class\",\"mat-paginator-navigation-first\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\",4,\"ngIf\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-previous\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"viewBox\",\"0 0 24 24\",\"focusable\",\"false\",1,\"mat-paginator-icon\"],[\"d\",\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-next\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"d\",\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"],[\"mat-icon-button\",\"\",\"type\",\"button\",\"class\",\"mat-paginator-navigation-last\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\",4,\"ngIf\"],[1,\"mat-paginator-page-size\"],[1,\"mat-paginator-page-size-label\"],[\"class\",\"mat-paginator-page-size-select\",3,\"color\",4,\"ngIf\"],[\"class\",\"mat-paginator-page-size-value\",4,\"ngIf\"],[1,\"mat-paginator-page-size-select\",3,\"color\"],[3,\"value\",\"disabled\",\"aria-label\",\"selectionChange\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[3,\"value\"],[1,\"mat-paginator-page-size-value\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-first\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"d\",\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-paginator-navigation-last\",3,\"matTooltip\",\"matTooltipDisabled\",\"matTooltipPosition\",\"disabled\",\"click\"],[\"d\",\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"]],template:function(t,e){1&t&&(r.Wb(0,\"div\",0),r.Wb(1,\"div\",1),r.Hc(2,f,5,3,\"div\",2),r.Wb(3,\"div\",3),r.Wb(4,\"div\",4),r.Jc(5),r.Vb(),r.Hc(6,g,3,5,\"button\",5),r.Wb(7,\"button\",6),r.ec(\"click\",(function(){return e.previousPage()})),r.hc(),r.Wb(8,\"svg\",7),r.Rb(9,\"path\",8),r.Vb(),r.Vb(),r.gc(),r.Wb(10,\"button\",9),r.ec(\"click\",(function(){return e.nextPage()})),r.hc(),r.Wb(11,\"svg\",7),r.Rb(12,\"path\",10),r.Vb(),r.Vb(),r.Hc(13,b,3,5,\"button\",11),r.Vb(),r.Vb(),r.Vb()),2&t&&(r.Db(2),r.oc(\"ngIf\",!e.hidePageSize),r.Db(3),r.Lc(\" \",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length),\" \"),r.Db(1),r.oc(\"ngIf\",e.showFirstLastButtons),r.Db(1),r.oc(\"matTooltip\",e._intl.previousPageLabel)(\"matTooltipDisabled\",e._previousButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",e._previousButtonsDisabled()),r.Eb(\"aria-label\",e._intl.previousPageLabel),r.Db(3),r.oc(\"matTooltip\",e._intl.nextPageLabel)(\"matTooltipDisabled\",e._nextButtonsDisabled())(\"matTooltipPosition\",\"above\")(\"disabled\",e._nextButtonsDisabled()),r.Eb(\"aria-label\",e._intl.nextPageLabel),r.Db(3),r.oc(\"ngIf\",e.showFirstLastButtons))},directives:[i.l,s.a,o.a,d.b,a.a,i.k,h.k],styles:[\".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\\n\"],encapsulation:2,changeDetection:0}),t})(),k=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[y],imports:[[i.c,s.b,a.b,o.b]]}),t})()},MutI:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return w})),n.d(e,\"b\",(function(){return C})),n.d(e,\"c\",(function(){return k})),n.d(e,\"d\",(function(){return x})),n.d(e,\"e\",(function(){return b}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"FKr1\"),a=n(\"8LU1\"),o=n(\"XNiG\"),l=n(\"1G5W\"),c=(n(\"JX91\"),n(\"u47x\"),n(\"0EQZ\"),n(\"FtGj\"),n(\"3Pt+\"),n(\"f0Cb\"));const h=[\"*\"],d=[[[\"\",\"mat-list-avatar\",\"\"],[\"\",\"mat-list-icon\",\"\"],[\"\",\"matListAvatar\",\"\"],[\"\",\"matListIcon\",\"\"]],[[\"\",\"mat-line\",\"\"],[\"\",\"matLine\",\"\"]],\"*\"],u=[\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\",\"[mat-line], [matLine]\",\"*\"];class p{}const m=Object(s.v)(Object(s.u)(p));class f{}const g=Object(s.u)(f);let b=(()=>{class t extends m{constructor(){super(...arguments),this._stateChanges=new o.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\\u0275fac=function(e){return _(e||t)},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-nav-list\"]],hostAttrs:[\"role\",\"navigation\",1,\"mat-nav-list\",\"mat-list-base\"],inputs:{disableRipple:\"disableRipple\",disabled:\"disabled\"},exportAs:[\"matNavList\"],features:[r.Ab,r.Bb()],ngContentSelectors:h,decls:1,vars:0,template:function(t,e){1&t&&(r.nc(),r.mc(0))},styles:[\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\\n\"],encapsulation:2,changeDetection:0}),t})();const _=r.Yb(b);let y=(()=>{class t extends m{constructor(t){super(),this._elementRef=t,this._stateChanges=new o.a,\"action-list\"===this._getListType()&&t.nativeElement.classList.add(\"mat-action-list\")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return\"mat-list\"===t?\"list\":\"mat-action-list\"===t?\"action-list\":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-list\"],[\"mat-action-list\"]],hostAttrs:[1,\"mat-list\",\"mat-list-base\"],inputs:{disableRipple:\"disableRipple\",disabled:\"disabled\"},exportAs:[\"matList\"],features:[r.Ab,r.Bb()],ngContentSelectors:h,decls:1,vars:0,template:function(t,e){1&t&&(r.nc(),r.mc(0))},styles:[\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\\n\"],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"mat-list-avatar\",\"\"],[\"\",\"matListAvatar\",\"\"]],hostAttrs:[1,\"mat-list-avatar\"]}),t})(),w=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"mat-list-icon\",\"\"],[\"\",\"matListIcon\",\"\"]],hostAttrs:[1,\"mat-list-icon\"]}),t})(),x=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"mat-subheader\",\"\"],[\"\",\"matSubheader\",\"\"]],hostAttrs:[1,\"mat-subheader\"]}),t})(),C=(()=>{class t extends g{constructor(t,e,n,i){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new o.a,this._disabled=!1,this._isInteractiveList=!!(n||i&&\"action-list\"===i._getListType()),this._list=n||i;const r=this._getHostElement();\"button\"!==r.nodeName.toLowerCase()||r.hasAttribute(\"type\")||r.setAttribute(\"type\",\"button\"),this._list&&this._list._stateChanges.pipe(Object(l.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(a.c)(t)}ngAfterContentInit(){Object(s.z)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(r.h),r.Qb(b,8),r.Qb(y,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-list-item\"],[\"a\",\"mat-list-item\",\"\"],[\"button\",\"mat-list-item\",\"\"]],contentQueries:function(t,e,n){var i;1&t&&(r.Jb(n,v,!0),r.Jb(n,w,!0),r.Jb(n,s.g,!0)),2&t&&(r.vc(i=r.fc())&&(e._avatar=i.first),r.vc(i=r.fc())&&(e._icon=i.first),r.vc(i=r.fc())&&(e._lines=i))},hostAttrs:[1,\"mat-list-item\",\"mat-focus-indicator\"],hostVars:6,hostBindings:function(t,e){2&t&&r.Hb(\"mat-list-item-disabled\",e.disabled)(\"mat-list-item-avatar\",e._avatar||e._icon)(\"mat-list-item-with-avatar\",e._avatar||e._icon)},inputs:{disableRipple:\"disableRipple\",disabled:\"disabled\"},exportAs:[\"matListItem\"],features:[r.Ab],ngContentSelectors:u,decls:6,vars:2,consts:[[1,\"mat-list-item-content\"],[\"mat-ripple\",\"\",1,\"mat-list-item-ripple\",3,\"matRippleTrigger\",\"matRippleDisabled\"],[1,\"mat-list-text\"]],template:function(t,e){1&t&&(r.nc(d),r.Wb(0,\"div\",0),r.Rb(1,\"div\",1),r.mc(2),r.Wb(3,\"div\",2),r.mc(4,1),r.Vb(),r.mc(5,2),r.Vb()),2&t&&(r.Db(1),r.oc(\"matRippleTrigger\",e._getHostElement())(\"matRippleDisabled\",e._isRippleDisabled()))},directives:[s.p],encapsulation:2,changeDetection:0}),t})(),k=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[s.h,s.q,s.f,s.o,i.c],s.h,s.f,s.o,c.b]}),t})()},NFeN:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return R})),n.d(e,\"b\",(function(){return T}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"8LU1\"),a=n(\"ofXK\"),o=n(\"vkgz\"),l=n(\"lJxs\"),c=n(\"JIr8\"),h=n(\"nYR2\"),d=n(\"w1tV\"),u=n(\"IzEk\"),p=n(\"tk/3\"),m=n(\"jhN1\"),f=n(\"LRne\"),g=n(\"z6cu\"),b=n(\"cp0P\");const _=[\"*\"];function y(t){return Error(`Unable to find icon with the name \"${t}\"`)}function v(t){return Error(\"The URL provided to MatIconRegistry was not trusted as a resource URL \"+`via Angular's DomSanitizer. Attempted URL was \"${t}\".`)}function w(t){return Error(\"The literal provided to MatIconRegistry was not trusted as safe HTML by \"+`Angular's DomSanitizer. Attempted literal was \"${t}\".`)}class x{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let C=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass=\"material-icons\",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace(\"\",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace(\"\",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,i))}addSvgIconLiteralInNamespace(t,e,n,r){const s=this._sanitizer.sanitize(i.J.HTML,n);if(!s)throw w(n);const a=this._createSvgElementForSingleIcon(s,r);return this._addSvgIconConfig(t,e,new x(a,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace(\"\",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace(\"\",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.J.HTML,e);if(!r)throw w(e);const s=this._svgElementFromString(r);return this._addSvgIconSetConfig(t,new x(s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.J.RESOURCE_URL,t);if(!e)throw v(t);const n=this._cachedIconsByUrl.get(e);return n?Object(f.a)(k(n)):this._loadSvgIconFromConfig(new x(t)).pipe(Object(o.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(l.a)(t=>k(t)))}getNamedSvgIcon(t,e=\"\"){const n=O(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(g.a)(y(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?Object(f.a)(k(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(o.a)(e=>t.svgElement=e),Object(l.a)(t=>k(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(f.a)(n);const r=e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(c.a)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(i.J.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n),Object(f.a)(null)})));return Object(b.a)(r).pipe(Object(l.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw y(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgElement){const e=this._extractSvgIconFromSet(i.svgElement,t,i.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(Object(l.a)(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?Object(f.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(l.a)(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id=\"${e}\"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute(\"id\"),\"svg\"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if(\"symbol\"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString(\"<svg><\/svg>\");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){const e=this._document.createElement(\"DIV\");e.innerHTML=t;const n=e.querySelector(\"svg\");if(!n)throw Error(\"<svg> tag not found\");return n}_toSvgElement(t){const e=this._svgElementFromString(\"<svg><\/svg>\"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:r}=n[i];\"id\"!==t&&e.setAttribute(t,r)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute(\"fit\",\"\"),t.setAttribute(\"height\",\"100%\"),t.setAttribute(\"width\",\"100%\"),t.setAttribute(\"preserveAspectRatio\",\"xMidYMid meet\"),t.setAttribute(\"focusable\",\"false\"),e&&e.viewBox&&t.setAttribute(\"viewBox\",e.viewBox),t}_fetchUrl(t){if(!this._httpClient)throw Error(\"Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.\");if(null==t)throw Error(`Cannot fetch icon from URL \"${t}\".`);const e=this._sanitizer.sanitize(i.J.RESOURCE_URL,t);if(!e)throw v(t);const n=this._inProgressUrlFetches.get(e);if(n)return n;const r=this._httpClient.get(e,{responseType:\"text\"}).pipe(Object(h.a)(()=>this._inProgressUrlFetches.delete(e)),Object(d.a)());return this._inProgressUrlFetches.set(e,r),r}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(O(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(p.b,8),i.ac(m.c),i.ac(a.d,8),i.ac(i.n,8))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(p.b,8),Object(i.ac)(m.c),Object(i.ac)(a.d,8),Object(i.ac)(i.n,8))},token:t,providedIn:\"root\"}),t})();function k(t){return t.cloneNode(!0)}function O(t,e){return t+\":\"+e}class S{constructor(t){this._elementRef=t}}const M=Object(r.t)(S),P=new i.r(\"mat-icon-location\",{providedIn:\"root\",factory:function(){const t=Object(i.W)(a.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:\"\"}}}),E=[\"clip-path\",\"color-profile\",\"src\",\"cursor\",\"fill\",\"filter\",\"marker\",\"marker-start\",\"marker-mid\",\"marker-end\",\"mask\",\"stroke\"],A=E.map(t=>`[${t}]`).join(\", \"),D=/^url\\(['\"]?#(.*?)['\"]?\\)$/;let R=(()=>{class t extends M{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,n||t.nativeElement.setAttribute(\"aria-hidden\",\"true\")}get inline(){return this._inline}set inline(t){this._inline=Object(s.c)(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_splitIconName(t){if(!t)return[\"\",\"\"];const e=t.split(\":\");switch(e.length){case 1:return[\"\",e[0]];case 2:return e;default:throw Error(`Invalid icon name: \"${t}\"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(e,t).pipe(Object(u.a)(1)).subscribe(t=>this._setSvgElement(t),n=>{const i=`Error retrieving icon ${t}:${e}! ${n.message}`;this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll(\"style\");for(let n=0;n<e.length;n++)e[n].textContent+=\" \";if(this._location){const e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e)}this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&\"svg\"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return\"string\"==typeof t?t.trim().split(\" \")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(A),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)E.forEach(t=>{const r=e[i],s=r.getAttribute(t),a=s?s.match(D):null;if(a){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:a[1]})}})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(C),i.bc(\"aria-hidden\"),i.Qb(P,8),i.Qb(i.n,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-icon\"]],hostAttrs:[\"role\",\"img\",1,\"mat-icon\",\"notranslate\"],hostVars:4,hostBindings:function(t,e){2&t&&i.Hb(\"mat-icon-inline\",e.inline)(\"mat-icon-no-color\",\"primary\"!==e.color&&\"accent\"!==e.color&&\"warn\"!==e.color)},inputs:{color:\"color\",inline:\"inline\",fontSet:\"fontSet\",fontIcon:\"fontIcon\",svgIcon:\"svgIcon\"},exportAs:[\"matIcon\"],features:[i.Ab,i.Bb()],ngContentSelectors:_,decls:1,vars:0,template:function(t,e){1&t&&(i.nc(),i.mc(0))},styles:[\".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\\n\"],encapsulation:2,changeDetection:0}),t})(),T=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},NJ4a:function(t,e,n){\"use strict\";function i(t){setTimeout(()=>{throw t},0)}n.d(e,\"a\",(function(){return i}))},NOtv:function(t,e,n){e.log=function(...t){return\"object\"==typeof console&&console.log&&console.log(...t)},e.formatArgs=function(e){if(e[0]=(this.useColors?\"%c\":\"\")+this.namespace+(this.useColors?\" %c\":\" \")+e[0]+(this.useColors?\"%c \":\" \")+\"+\"+t.exports.humanize(this.diff),!this.useColors)return;const n=\"color: \"+this.color;e.splice(1,0,n,\"color: inherit\");let i=0,r=0;e[0].replace(/%[a-zA-Z%]/g,t=>{\"%%\"!==t&&(i++,\"%c\"===t&&(r=i))}),e.splice(r,0,n)},e.save=function(t){try{t?e.storage.setItem(\"debug\",t):e.storage.removeItem(\"debug\")}catch(n){}},e.load=function(){let t;try{t=e.storage.getItem(\"debug\")}catch(n){}return!t&&\"undefined\"!=typeof process&&\"env\"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!(\"undefined\"==typeof window||!window.process||\"renderer\"!==window.process.type&&!window.process.__nwjs)||(\"undefined\"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))&&(\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],t.exports=n(\"3JDX\")(e);const{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}}},NXyV:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"HDdC\"),r=n(\"Cfvw\"),s=n(\"EY2u\");function a(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(e)})}},Nq7k:function(t,e,n){function i(t){var n;function i(){if(i.enabled){var t=i,r=+new Date,s=r-(n||r);t.diff=s,t.prev=n,t.curr=r,n=r;for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];a[0]=e.coerce(a[0]),\"string\"!=typeof a[0]&&a.unshift(\"%O\");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,i){if(\"%%\"===n)return n;l++;var r=e.formatters[i];return\"function\"==typeof r&&(n=r.call(t,a[l]),a.splice(l,1),l--),n})),e.formatArgs.call(t,a);var c=i.log||e.log||console.log.bind(console);c.apply(t,a)}}return i.namespace=t,i.enabled=e.enabled(t),i.useColors=e.useColors(),i.color=function(t){var n,i=0;for(n in t)i=(i<<5)-i+t.charCodeAt(n),i|=0;return e.colors[Math.abs(i)%e.colors.length]}(t),i.destroy=r,\"function\"==typeof e.init&&e.init(i),e.instances.push(i),i}function r(){var t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}(e=t.exports=i.debug=i.default=i).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable(\"\")},e.enable=function(t){var n;e.save(t),e.names=[],e.skips=[];var i=(\"string\"==typeof t?t:\"\").split(/[\\s,]+/),r=i.length;for(n=0;n<r;n++)i[n]&&(\"-\"===(t=i[n].replace(/\\*/g,\".*?\"))[0]?e.skips.push(new RegExp(\"^\"+t.substr(1)+\"$\")):e.names.push(new RegExp(\"^\"+t+\"$\")));for(n=0;n<e.instances.length;n++){var s=e.instances[n];s.enabled=e.enabled(s.namespace)}},e.enabled=function(t){if(\"*\"===t[t.length-1])return!0;var n,i;for(n=0,i=e.skips.length;n<i;n++)if(e.skips[n].test(t))return!1;for(n=0,i=e.names.length;n<i;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(\"uDUn\"),e.instances=[],e.names=[],e.skips=[],e.formatters={}},O0x4:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a})),n.d(e,\"b\",(function(){return o}));var i=n(\"xKc1\"),r=n.n(i),s=n(\"fXoL\"),a=function(){function t(t){this.elementRef=t,this.background=\"white\",this.backgroundAlpha=1,this.foreground=\"black\",this.foregroundAlpha=1,this.level=\"L\",this.mime=\"image/png\",this.padding=null,this.size=100,this.value=\"\",this.canvas=!1}return t.prototype.ngOnChanges=function(t){(\"background\"in t||\"backgroundAlpha\"in t||\"foreground\"in t||\"foregroundAlpha\"in t||\"level\"in t||\"mime\"in t||\"padding\"in t||\"size\"in t||\"value\"in t||\"canvas\"in t)&&this.generate()},t.prototype.generate=function(){try{var t=this.elementRef.nativeElement;t.innerHTML=\"\";var e=new r.a({background:this.background,backgroundAlpha:this.backgroundAlpha,foreground:this.foreground,foregroundAlpha:this.foregroundAlpha,level:this.level,mime:this.mime,padding:this.padding,size:this.size,value:this.value});t.appendChild(this.canvas?e.canvas:e.image)}catch(n){console.error(\"Could not generate QR Code: \"+n.message)}},t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.l))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"qr-code\"]],inputs:{background:\"background\",backgroundAlpha:\"backgroundAlpha\",foreground:\"foreground\",foregroundAlpha:\"foregroundAlpha\",level:\"level\",mime:\"mime\",padding:\"padding\",size:\"size\",value:\"value\",canvas:\"canvas\"},features:[s.Bb()],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),o=function(){function t(){}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)}}),t}()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if(\"string\"==typeof e&&(e=t[e]),\"function\"!=typeof e)throw new Error(\"bind() requires a function\");var i=n.call(arguments,2);return function(){return e.apply(t,i.concat(n.call(arguments)))}}},QibW:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return b})),n.d(e,\"c\",(function(){return w}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"8LU1\"),a=n(\"3Pt+\"),o=n(\"R1ws\"),l=n(\"u47x\"),c=n(\"0EQZ\");const h=[\"input\"],d=function(){return{enterDuration:150}},u=[\"*\"],p=new i.r(\"mat-radio-default-options\",{providedIn:\"root\",factory:function(){return{color:\"accent\"}}});let m=0;const f={provide:a.l,useExisting:Object(i.V)(()=>b),multi:!0};class g{constructor(t,e){this.source=t,this.value=e}}let b=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name=`mat-radio-group-${m++}`,this._selected=null,this._isInitialized=!1,this._labelPosition=\"after\",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition=\"before\"===t?\"before\":\"after\",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(s.c)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.h))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"mat-radio-group\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,v,!0),2&t&&i.vc(r=i.fc())&&(e._radios=r)},hostAttrs:[\"role\",\"radiogroup\",1,\"mat-radio-group\"],inputs:{name:\"name\",labelPosition:\"labelPosition\",value:\"value\",selected:\"selected\",disabled:\"disabled\",required:\"required\",color:\"color\"},outputs:{change:\"change\"},exportAs:[\"matRadioGroup\"],features:[i.Cb([f])]}),t})();class _{constructor(t){this._elementRef=t}}const y=Object(r.u)(Object(r.y)(_));let v=(()=>{class t extends y{constructor(t,e,n,r,s,a,o){super(e),this._changeDetector=n,this._focusMonitor=r,this._radioDispatcher=s,this._animationMode=a,this._providerOverride=o,this._uniqueId=`mat-radio-${++m}`,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._removeUniqueSelectionListener=s.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Object(s.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||\"after\"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Object(s.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(s.c)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||\"accent\"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t){this._focusMonitor.focusVia(this._inputElement,\"keyboard\",t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(b,8),i.Qb(i.l),i.Qb(i.h),i.Qb(l.h),i.Qb(c.d),i.Qb(o.a,8),i.Qb(p,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-radio-button\"]],viewQuery:function(t,e){var n;1&t&&i.Pc(h,!0),2&t&&i.vc(n=i.fc())&&(e._inputElement=n.first)},hostAttrs:[1,\"mat-radio-button\"],hostVars:17,hostBindings:function(t,e){1&t&&i.ec(\"focus\",(function(){return e._inputElement.nativeElement.focus()})),2&t&&(i.Eb(\"tabindex\",-1)(\"id\",e.id)(\"aria-label\",null)(\"aria-labelledby\",null)(\"aria-describedby\",null),i.Hb(\"mat-radio-checked\",e.checked)(\"mat-radio-disabled\",e.disabled)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)(\"mat-primary\",\"primary\"===e.color)(\"mat-accent\",\"accent\"===e.color)(\"mat-warn\",\"warn\"===e.color))},inputs:{disableRipple:\"disableRipple\",tabIndex:\"tabIndex\",id:\"id\",checked:\"checked\",value:\"value\",labelPosition:\"labelPosition\",disabled:\"disabled\",required:\"required\",color:\"color\",name:\"name\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],ariaDescribedby:[\"aria-describedby\",\"ariaDescribedby\"]},outputs:{change:\"change\"},exportAs:[\"matRadioButton\"],features:[i.Ab],ngContentSelectors:u,decls:13,vars:19,consts:[[1,\"mat-radio-label\"],[\"label\",\"\"],[1,\"mat-radio-container\"],[1,\"mat-radio-outer-circle\"],[1,\"mat-radio-inner-circle\"],[\"mat-ripple\",\"\",1,\"mat-radio-ripple\",\"mat-focus-indicator\",3,\"matRippleTrigger\",\"matRippleDisabled\",\"matRippleCentered\",\"matRippleRadius\",\"matRippleAnimation\"],[1,\"mat-ripple-element\",\"mat-radio-persistent-ripple\"],[\"type\",\"radio\",1,\"mat-radio-input\",\"cdk-visually-hidden\",3,\"id\",\"checked\",\"disabled\",\"tabIndex\",\"required\",\"change\",\"click\"],[\"input\",\"\"],[1,\"mat-radio-label-content\"],[2,\"display\",\"none\"]],template:function(t,e){if(1&t&&(i.nc(),i.Wb(0,\"label\",0,1),i.Wb(2,\"div\",2),i.Rb(3,\"div\",3),i.Rb(4,\"div\",4),i.Wb(5,\"div\",5),i.Rb(6,\"div\",6),i.Vb(),i.Wb(7,\"input\",7,8),i.ec(\"change\",(function(t){return e._onInputChange(t)}))(\"click\",(function(t){return e._onInputClick(t)})),i.Vb(),i.Vb(),i.Wb(9,\"div\",9),i.Wb(10,\"span\",10),i.Jc(11,\"\\xa0\"),i.Vb(),i.mc(12),i.Vb(),i.Vb()),2&t){const t=i.wc(1);i.Eb(\"for\",e.inputId),i.Db(5),i.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e._isRippleDisabled())(\"matRippleCentered\",!0)(\"matRippleRadius\",20)(\"matRippleAnimation\",i.sc(18,d)),i.Db(2),i.oc(\"id\",e.inputId)(\"checked\",e.checked)(\"disabled\",e.disabled)(\"tabIndex\",e.tabIndex)(\"required\",e.required),i.Eb(\"name\",e.name)(\"value\",e.value)(\"aria-label\",e.ariaLabel)(\"aria-labelledby\",e.ariaLabelledby)(\"aria-describedby\",e.ariaDescribedby),i.Db(2),i.Hb(\"mat-radio-label-before\",\"before\"==e.labelPosition)}},directives:[r.p],styles:[\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\\n\"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.q,r.f],r.f]}),t})()},QoAZ:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return _}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"jhN1\");const a=[\"container\"],o=[\"prevArrow\"],l=[\"nextArrow\"];function c(t,e){1&t&&i.Rb(0,\"div\",15)}const h=function(t,e){return{color:t,\"background-color\":e}};function d(t,e){if(1&t&&i.Rb(0,\"div\",16),2&t){const t=i.ic().$implicit,e=i.ic();i.oc(\"ngStyle\",i.uc(2,h,e.captionColor,e.captionBackground))(\"innerHTML\",null==t?null:null==t.image?null:t.image.caption,i.Ac)}}function u(t,e){if(1&t){const t=i.Xb();i.Wb(0,\"a\",12),i.ec(\"click\",(function(e){return i.zc(t),i.ic().handleClick(e)})),i.Hc(1,c,1,0,\"div\",13),i.Hc(2,d,1,5,\"div\",14),i.Vb()}if(2&t){const t=e.$implicit,n=e.index,r=i.ic();i.Hb(\"selected\",null==t?null:t.selected)(\"hide-slide\",!(null!=t&&t.selected||null!=t&&t.leftSide||null!=t&&t.rightSide))(\"left-side\",null==t?null:t.leftSide)(\"right-side\",null==t?null:t.rightSide)(\"slide-in-left\",\"slideInLeft\"===(null==t?null:t.action))(\"slide-in-right\",\"slideInRight\"===(null==t?null:t.action))(\"slide-out-left\",\"slideOutLeft\"===(null==t?null:t.action))(\"slide-out-right\",\"slideOutRight\"===(null==t?null:t.action))(\"link\",(null==t?null:null==t.image?null:t.image.clickAction)||(null==t?null:null==t.image?null:t.image.href)),i.pc(\"title\",null==t?null:null==t.image?null:t.image.title),i.oc(\"ngStyle\",r.getSlideStyle(n)),i.Db(1),i.oc(\"ngIf\",!(null!=t&&t.loaded)),i.Db(1),i.oc(\"ngIf\",r.showCaptions&&(null==t?null:null==t.image?null:t.image.caption))}}function p(t,e){if(1&t){const t=i.Xb();i.Wb(0,\"li\",19),i.ec(\"click\",(function(){i.zc(t);const n=e.index;return i.ic(2).goToSlide(n)})),i.Wb(1,\"button\",20),i.Jc(2),i.Vb(),i.Vb()}if(2&t){const t=e.$implicit,n=e.index,r=i.ic(2);i.Hb(\"slick-active\",t.selected),i.Db(1),i.Eb(\"style\",r.safeStyleDotColor,i.Bc),i.Db(1),i.Lc(\" \",n,\" \")}}function m(t,e){if(1&t&&(i.Wb(0,\"ul\",17),i.Hc(1,p,3,4,\"li\",18),i.Vb()),2&t){const t=i.ic();i.Db(1),i.oc(\"ngForOf\",t.slides)(\"ngForTrackBy\",t.trackByFn)}}class f{constructor(){this.aw=0,this.ah=0,this.w=0,this.h=0}get ar(){return this.w/this.h}get diag(){return Math.sqrt(this.w*this.w+this.h*this.h)}get valid(){return this.w>0&&this.h>0&&this.aw>0&&this.ah>0}get widthBound(){return this.ar>this.aw/this.ah}}let g=(()=>{class t{constructor(t){this.platform_id=t,this._disableSwiping=!1,this._enableZoom=!1,this._enablePan=!1,this._startEVCache=null,this._evCache=new Array,this._previousDiagonal=-1,this._originalState=new f,this._slideEvent=new i.o(!0),this._clickEvent=new i.o(!0),this.pointerUp=t=>{this._pointerUp(t)},this.pointerDown=t=>{this._pointerDown(t)},this.pointerMove=t=>{this._pointerMove(t)}}set disableSwiping(t){this._disableSwiping=t}set enableZoom(t){this._enableZoom=t}set enablePan(t){this._enablePan=t}bind(t){Object(r.t)(this.platform_id)&&(t.nativeElement.addEventListener(\"pointerdown\",this.pointerDown),t.nativeElement.addEventListener(\"pointerup\",this.pointerUp),t.nativeElement.addEventListener(\"pointercancel\",this.pointerUp),t.nativeElement.addEventListener(\"pointerout\",this.pointerUp),t.nativeElement.addEventListener(\"pointerleave\",this.pointerUp),t.nativeElement.addEventListener(\"pointermove\",this.pointerMove))}unbind(t){Object(r.t)(this.platform_id)&&(t.nativeElement.removeEventListener(\"pointerdown\",this.pointerDown),t.nativeElement.removeEventListener(\"pointerup\",this.pointerUp),t.nativeElement.removeEventListener(\"pointercancel\",this.pointerUp),t.nativeElement.removeEventListener(\"pointerout\",this.pointerUp),t.nativeElement.removeEventListener(\"pointerleave\",this.pointerUp),t.nativeElement.removeEventListener(\"pointermove\",this.pointerMove))}get slideEvent(){return this._slideEvent}get clickEvent(){return this._clickEvent}_pointerDown(t){this._evCache.push(t),1===this._evCache.length&&(this._startEVCache=t,(this._enablePan||this._enableZoom)&&(this._loadOriginalState(t),this._convertBGSizeToPixels(t),this._convertBGPosToPixels(t)))}_loadOriginalState(t){if(!this._originalState.valid&&t.target&&t.target.style&&t.target.style.backgroundImage){const e=t.target.style.backgroundImage.match(/^url\\([\"']?(.+?)[\"']?\\)$/),n=new Image;n.src=e[1],this._originalState.aw=t.target.offsetWidth,this._originalState.ah=t.target.offsetHeight,this._originalState.w=n.width,this._originalState.h=n.height}}_convertBGSizeToPixels(t){const e=t.target;let n=e.style.backgroundSize;if(n.indexOf(\" \")>-1){const t=n.split(\" \");n=this._originalState.widthBound?t[0]:t[1]}if(\"cover\"===n)n=this._originalState.widthBound?this._originalState.ah*this._originalState.ar:this._originalState.aw;else if(n.indexOf(\"px\")>-1)n=n.substring(0,n.length-2);else if(n.indexOf(\"%\")>-1){const t=Number(n.substring(0,n.length-1))/100;n=this._originalState.widthBound?this._originalState.aw*t:this._originalState.ah*t*this._originalState.ar}else n=\"auto\"===n?this._originalState.w:this._originalState.widthBound?this._originalState.aw:this._originalState.ah*this._originalState.ar;e.style.backgroundSize=n+\"px auto\"}_convertBGPosToPixels(t){if(this._originalState.valid){const e=t.target,n=this._currentBGSize(t);let i=e.style.backgroundPositionX;if(-1===i.indexOf(\"px\")){if(i=this._convertLiteralPosToPercentage(i),i.indexOf(\"%\")>-1){let t=Number(i.substring(0,i.length-1))/100;i=t*(this._originalState.aw-n)}e.style.backgroundPositionX=i+\"px\"}let r=e.style.backgroundPositionY;if(-1===r.indexOf(\"px\")){if(r=this._convertLiteralPosToPercentage(r),r.indexOf(\"%\")>-1){let t=Number(r.substring(0,r.length-1))/100;r=t*(this._originalState.ah-n/this._originalState.ar)}e.style.backgroundPositionY=r+\"px\"}}}_pointerUp(t){for(let e=0;e<this._evCache.length;e++)if(this._evCache[e].pointerId===t.pointerId){this._evCache.splice(e,1);break}2!==this._evCache.length&&(this._previousDiagonal=-1),0===this._evCache.length&&null!==this._startEVCache&&(this._checkClickOrSwipe(t),this._startEVCache=null,this._originalState=new f)}_checkClickOrSwipe(t){if(!this._targetIsASlide(t))return;const e=t.timeStamp-this._startEVCache.timeStamp,n=t.pageX-this._startEVCache.pageX,i=t.pageY-this._startEVCache.pageY;!this._enablePan&&Math.abs(n)<15&&Math.abs(i)<15?this._clickEvent.emit():e<1e3&&Math.abs(i)<=100&&Math.abs(n)>=30&&!this._disableSwiping&&this._cannotPanMoreTest(t,n)&&this._slideEvent.emit(n<0?1:-1)}_targetIsASlide(t){return t.target.classList.contains(\"slides\")}_cannotPanMoreTest(t,e){if(!this._enablePan)return!0;const n=this._currentBGPosX(t),i=this._currentBGSize(t);return!(e<0&&i>this._originalState.aw&&Math.round(this._originalState.aw-i-n)<0||e>0&&i>this._originalState.aw&&n<0)}_pointerMove(t){t.preventDefault(),1===this._evCache.length&&this._enablePan&&this._1pointMoveAction(t);for(let e=0;e<this._evCache.length;e++)if(t.pointerId===this._evCache[e].pointerId){this._evCache[e]=t;break}2===this._evCache.length&&this._enableZoom&&this._2pointMoveAction(t)}_1pointMoveAction(t){if(this._evCache[0].pointerId===t.pointerId){const e=this._evCache[0].pageX-t.pageX,n=this._evCache[0].pageY-t.pageY;!this._originalState.valid||0===e&&0===n||this._transformBGPosition(t,e,n)}}_2pointMoveAction(t){const e=Math.abs(this._evCache[0].pageX-this._evCache[1].pageX),n=Math.abs(this._evCache[0].pageY-this._evCache[1].pageY);let i=Math.sqrt(e*e+n*n);this._previousDiagonal>0&&this._originalState.valid&&this._transformBGSize(t,i-this._previousDiagonal),this._previousDiagonal=i}_transformBGPosition(t,e,n){const i=t.target,r=this._currentBGPosX(t),s=this._currentBGPosY(t),a=this._newBGPosXConstraint(r-e,t),o=this._newBGPosYConstraint(s-n,t);a===r&&o===s||this._setBGPos(i,a,o)}_setBGPos(t,e,n){t.style.backgroundPositionX=e+\"px\",t.style.backgroundPositionY=n+\"px\"}_currentBGPosX(t){let e=t.target.style.backgroundPositionX;return e.indexOf(\"px\")>-1&&(e=e.substring(0,e.length-2)),Number(e)}_currentBGPosY(t){let e=t.target.style.backgroundPositionY;return e.indexOf(\"px\")>-1&&(e=e.substring(0,e.length-2)),Number(e)}_convertLiteralPosToPercentage(t){return\"center\"===t?\"50%\":\"top\"===t||\"left\"===t?\"0%\":\"bottom\"===t||\"right\"===t?\"100%\":void 0}_transformBGSize(t,e){const n=t.target,i=this._currentBGSize(t),r=this._newBGSizeConstraint(i+e);r!==i&&this._setBGSize(n,r)}_setBGSize(t,e){t.style.backgroundSize=e+\"px auto\",t.style.touchAction=\"none\"}_currentBGSize(t){const e=t.target.style.backgroundSize;if(e.indexOf(\" \")>-1){const t=e.split(\" \"),n=this._originalState.widthBound?t[0].substring(0,t[0].length-2):t[1].substring(0,t[1].length-2);return Number(n)}if(e.indexOf(\"px\")>-1){const t=e.substring(0,e.length-2);return Number(t)}}_newBGSizeConstraint(t){return this._originalState.widthBound?t<this._originalState.aw?this._originalState.aw:t:t/this._originalState.ar<this._originalState.ah?this._originalState.ah*this._originalState.ar:t}_newBGPosXConstraint(t,e){const n=this._currentBGSize(e);if(n>=this._originalState.aw){if(t>0)return 0;if(t<this._originalState.aw-n)return this._originalState.aw-n}else{if(t<0)return 0;if(t>this._originalState.aw-n)return this._originalState.aw-n}return t}_newBGPosYConstraint(t,e){const n=this._currentBGSize(e);if(n/this._originalState.ar>=this._originalState.ah){if(t>0)return 0;if(t<this._originalState.ah-n/this._originalState.ar)return this._originalState.ah-n/this._originalState.ar}else{if(t<0)return 0;if(t>this._originalState.ah-n/this._originalState.ar)return this._originalState.ah-n/this._originalState.ar}return t}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.C))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const b=Object(s.f)(\"firstSlide\");let _=(()=>{class t{constructor(t,e,n,r,s,a,o,l){this._pointerService=t,this._renderer=e,this._transferState=n,this._ngZone=r,this._cdRef=s,this.sanitizer=a,this.platform_id=o,this.document=l,this.slideIndex=-1,this.slides=[],this.hideLeftArrow=!1,this.hideRightArrow=!1,this._initial=!0,this._isHidden=!1,this.imageUrls=[],this.height=\"100%\",this.showArrows=!0,this.disableSwiping=!1,this.autoPlay=!1,this.autoPlayInterval=3333,this.stopAutoPlayOnSlide=!0,this.autoPlayWaitForLazyLoad=!0,this.backgroundSize=\"cover\",this.backgroundPosition=\"center center\",this.backgroundRepeat=\"no-repeat\",this.showDots=!1,this.dotColor=\"#FFF\",this.showCaptions=!0,this.captionColor=\"#FFF\",this.captionBackground=\"rgba(0, 0, 0, .35)\",this.lazyLoad=!1,this.hideOnNoSlides=!1,this.fullscreen=!1,this.enableZoom=!1,this.enablePan=!1,this.noLoop=!1,this.onSlideLeft=new i.o,this.onSlideRight=new i.o,this.onSwipeLeft=new i.o,this.onSwipeRight=new i.o,this.onFullscreenExit=new i.o,this.onIndexChanged=new i.o,this.onImageLazyLoad=new i.o,this.onClick=new i.o}get safeStyleDotColor(){return this.sanitizer.bypassSecurityTrustStyle(`--dot-color: ${this.dotColor}`)}ngOnInit(){void 0!==this.debug&&console.warn(\"[Deprecation Warning]: The debug input will be removed from ng-simple-slideshow in 1.3.0\"),this._pointerService.bind(this.container),this._slideSub=this._pointerService.slideEvent.subscribe(t=>{this.onSlide(t,!0)}),this._clickSub=this._pointerService.clickEvent.subscribe(()=>{this._onClick()}),this.noLoop&&(this.hideLeftArrow=!0)}ngOnDestroy(){try{this._slideSub&&!this._slideSub.closed&&this._slideSub.unsubscribe()}catch(t){console.warn(\"Slide Subscription error caught in ng-simple-slideshow OnDestroy:\",t)}try{this._clickSub&&!this._clickSub.closed&&this._clickSub.unsubscribe()}catch(t){console.warn(\"Click Subscription error caught in ng-simple-slideshow OnDestroy:\",t)}try{this._pointerService.unbind(this.container)}catch(t){console.warn(\"Pointer Service unbind error caught in ng-simple-slideshow OnDestroy:\",t)}try{this._autoplayIntervalId&&(this._ngZone.runOutsideAngular(()=>clearInterval(this._autoplayIntervalId)),this._autoplayIntervalId=null)}catch(t){console.warn(\"Autoplay cancel error caught in ng-simple-slideshow OnDestroy:\",t)}}ngOnChanges(t){t.noLoop&&(t.noLoop.currentValue?(this.hideLeftArrow=this.slideIndex<=0,this.hideRightArrow=this.slideIndex===this.slides.length-1):(this.hideLeftArrow=!1,this.hideRightArrow=!1),this._cdRef.detectChanges())}ngDoCheck(){this.imageUrls&&this.imageUrls.length>0?(!0===this._initial&&(this._urlCache=Array.from(this.imageUrls)),!0===this._isHidden&&(this._renderer.removeStyle(this.container.nativeElement,\"display\"),this._isHidden=!1),this.setSlides()):!0===this.hideOnNoSlides&&(this._renderer.setStyle(this.container.nativeElement,\"display\",\"none\"),this._isHidden=!0),this.setStyles(),this.handleAutoPlay(),this._pointerService.disableSwiping=this.disableSwiping,this._pointerService.enableZoom=this.enableZoom,this._pointerService.enablePan=this.enablePan}onSlide(t,e){this.handleAutoPlay(this.stopAutoPlayOnSlide),this.slide(t,e)}_onClick(){const t=this.slides.length>0&&this.slides[this.slideIndex];this.onClick.emit({slide:t,index:this.slideIndex}),t&&t.image.clickAction?t.image.clickAction():t&&t.image.href&&(this.document.location.href=t.image.href)}goToSlide(t){const e=this.slideIndex;this.slideIndex=t-1,this.setSlideIndex(1),this.slides[this.slideIndex]&&!this.slides[this.slideIndex].loaded&&this.loadRemainingSlides(),this.handleAutoPlay(this.stopAutoPlayOnSlide),this.slideRight(e),this.slides[e].selected=!1,this.slides[this.slideIndex].selected=!0,this._cdRef.detectChanges()}getSlideStyle(t){const e=this.slides[t];return e&&e.loaded?{\"background-image\":\"url(\"+e.image.url+\")\",\"background-size\":e.image.backgroundSize||this.backgroundSize,\"background-position\":e.image.backgroundPosition||this.backgroundPosition,\"background-repeat\":e.image.backgroundRepeat||this.backgroundRepeat}:{\"background-image\":void 0,\"background-size\":void 0,\"background-position\":void 0,\"background-repeat\":void 0}}exitFullScreen(t){t.preventDefault(),this.fullscreen=!1,this.onFullscreenExit.emit(!0)}slide(t,e){const n=this.slideIndex;this.setSlideIndex(t)&&(this.slides[this.slideIndex]&&!this.slides[this.slideIndex].loaded&&this.loadRemainingSlides(),1===t?this.slideRight(n,e):this.slideLeft(n,e),this.slides[n].selected=!1,this.slides[this.slideIndex].selected=!0),this._cdRef.detectChanges()}setSlideIndex(t){let e=!0;return this.slideIndex+=t,this.noLoop&&(this.hideRightArrow=this.slideIndex===this.slides.length-1,this.hideLeftArrow=!1),this.slideIndex<0?this.noLoop?(this.slideIndex-=t,e=!1,this.hideLeftArrow=!0):this.slideIndex=this.slides.length-1:this.slideIndex>=this.slides.length&&(this.noLoop?(this.slideIndex-=t,e=!1,this.hideRightArrow=!0):this.slideIndex=0),e&&this.onIndexChanged.emit(this.slideIndex),e}slideLeft(t,e){!0===e?this.onSwipeLeft.emit(this.slideIndex):this.onSlideLeft.emit(this.slideIndex),this.slides[this.getLeftSideIndex(t)].leftSide=!1,this.slides[t].leftSide=!0,this.slides[t].action=\"slideOutLeft\",this.slides[this.slideIndex].rightSide=!1,this.slides[this.getRightSideIndex()].rightSide=!0,this.slides[this.slideIndex].action=\"slideInRight\"}slideRight(t,e){!0===e?this.onSwipeRight.emit(this.slideIndex):this.onSlideRight.emit(this.slideIndex),this.slides[this.getRightSideIndex(t)].rightSide=!1,this.slides[t].rightSide=!0,this.slides[t].action=\"slideOutRight\",this.slides[this.slideIndex].leftSide=!1,this.slides[this.getLeftSideIndex()].leftSide=!0,this.slides[this.slideIndex].action=\"slideInLeft\"}setSlides(){this.imageUrls&&(this.checkCache()||!0===this._initial)&&(this._initial=!1,this._urlCache=Array.from(this.imageUrls),this.slides=[],!0===this.lazyLoad?this.buildLazyLoadSlideArray():this.buildSlideArray(),this._cdRef.detectChanges())}buildLazyLoadSlideArray(){for(let t of this.imageUrls)this.slides.push({image:\"string\"==typeof t?{url:null}:{url:null,href:t.href||\"\"},action:\"\",leftSide:!1,rightSide:!1,selected:!1,loaded:!1});-1===this.slideIndex&&(this.slideIndex=0),this.slides[this.slideIndex].selected=!0,this.loadFirstSlide(),this.onIndexChanged.emit(this.slideIndex)}buildSlideArray(){for(let t of this.imageUrls)this.slides.push({image:\"string\"==typeof t?{url:t}:t,action:\"\",leftSide:!1,rightSide:!1,selected:!1,loaded:!0});-1===this.slideIndex&&(this.slideIndex=0),this.slides[this.slideIndex].selected=!0,this.onIndexChanged.emit(this.slideIndex)}loadFirstSlide(){const t=this.slideIndex,e=this.imageUrls[t];if(Object(r.u)(this.platform_id))this.slides[t].image=\"string\"==typeof e?{url:e}:e,this.slides[t].loaded=!0,this._transferState.set(b,this.slides[t]);else{const n=this._transferState.get(b,null);if(null===n){let n=new Image;n.src=\"string\"==typeof e?e:e.url,n.addEventListener(\"load\",()=>{this.slides[t].image=\"string\"==typeof e?{url:e}:e,this.slides[t].loaded=!0,this.onImageLazyLoad.emit(this.slides[t]),this._cdRef.detectChanges()})}else this.slides[t]=n,this._transferState.remove(b)}}loadRemainingSlides(){for(let t=0;t<this.slides.length;t++)this.slides[t].loaded||new Promise(e=>{const n=this.imageUrls[t];let i=new Image;i.addEventListener(\"load\",()=>{this.slides[t].image=\"string\"==typeof n?{url:n}:n,this.slides[t].loaded=!0,this._cdRef.detectChanges(),this.onImageLazyLoad.emit(this.slides[t]),e()}),i.src=\"string\"==typeof n?n:n.url})}handleAutoPlay(t){Object(r.u)(this.platform_id)||(!0===t||!1===this.autoPlay?this._autoplayIntervalId&&(this._ngZone.runOutsideAngular(()=>clearInterval(this._autoplayIntervalId)),this._autoplayIntervalId=null):this._autoplayIntervalId||this._ngZone.runOutsideAngular(()=>{this._autoplayIntervalId=setInterval(()=>{(!this.autoPlayWaitForLazyLoad||this.autoPlayWaitForLazyLoad&&this.slides[this.slideIndex]&&this.slides[this.slideIndex].loaded)&&this._ngZone.run(()=>this.slide(1))},this.autoPlayInterval)}))}setStyles(){this.fullscreen?(this._renderer.setStyle(this.container.nativeElement,\"height\",\"100%\"),this._renderer.setStyle(this.container.nativeElement,\"background-color\",\"white\")):(this._renderer.removeStyle(this.container.nativeElement,\"background-color\"),this.height&&this._renderer.setStyle(this.container.nativeElement,\"height\",this.height),this.minHeight&&this._renderer.setStyle(this.container.nativeElement,\"min-height\",this.minHeight)),this.arrowSize&&(this._renderer.setStyle(this.prevArrow.nativeElement,\"height\",this.arrowSize),this._renderer.setStyle(this.prevArrow.nativeElement,\"width\",this.arrowSize),this._renderer.setStyle(this.nextArrow.nativeElement,\"height\",this.arrowSize),this._renderer.setStyle(this.nextArrow.nativeElement,\"width\",this.arrowSize))}checkCache(){return!(this._urlCache.length===this.imageUrls.length&&this._urlCache.every((t,e)=>t===this.imageUrls[e]))}getLeftSideIndex(t){return void 0===t&&(t=this.slideIndex),--t<0&&(t=this.slides.length-1),t}getRightSideIndex(t){return void 0===t&&(t=this.slideIndex),++t>=this.slides.length&&(t=0),t}trackByFn(t,e){return e.image}handleClick(t){t.preventDefault()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(g),i.Qb(i.F),i.Qb(s.e),i.Qb(i.A),i.Qb(i.h),i.Qb(s.c),i.Qb(i.C),i.Qb(r.d))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"slideshow\"]],viewQuery:function(t,e){var n;1&t&&(i.Pc(a,!0),i.Pc(o,!0),i.Pc(l,!0)),2&t&&(i.vc(n=i.fc())&&(e.container=n.first),i.vc(n=i.fc())&&(e.prevArrow=n.first),i.vc(n=i.fc())&&(e.nextArrow=n.first))},inputs:{imageUrls:\"imageUrls\",height:\"height\",showArrows:\"showArrows\",disableSwiping:\"disableSwiping\",autoPlay:\"autoPlay\",autoPlayInterval:\"autoPlayInterval\",stopAutoPlayOnSlide:\"stopAutoPlayOnSlide\",autoPlayWaitForLazyLoad:\"autoPlayWaitForLazyLoad\",backgroundSize:\"backgroundSize\",backgroundPosition:\"backgroundPosition\",backgroundRepeat:\"backgroundRepeat\",showDots:\"showDots\",dotColor:\"dotColor\",showCaptions:\"showCaptions\",captionColor:\"captionColor\",captionBackground:\"captionBackground\",lazyLoad:\"lazyLoad\",hideOnNoSlides:\"hideOnNoSlides\",fullscreen:\"fullscreen\",enableZoom:\"enableZoom\",enablePan:\"enablePan\",noLoop:\"noLoop\",minHeight:\"minHeight\",arrowSize:\"arrowSize\",debug:\"debug\"},outputs:{onSlideLeft:\"onSlideLeft\",onSlideRight:\"onSlideRight\",onSwipeLeft:\"onSwipeLeft\",onSwipeRight:\"onSwipeRight\",onFullscreenExit:\"onFullscreenExit\",onIndexChanged:\"onIndexChanged\",onImageLazyLoad:\"onImageLazyLoad\",onClick:\"onClick\"},features:[i.Cb([g]),i.Bb()],decls:12,vars:11,consts:[[1,\"fs-container\",3,\"click\"],[\"title\",\"Back\",1,\"arrow-exitfs\",\"prev\"],[1,\"slideshow-container\"],[\"container\",\"\"],[\"class\",\"slides\",\"href\",\"#!\",\"tabindex\",\"-1\",3,\"title\",\"ngStyle\",\"selected\",\"hide-slide\",\"left-side\",\"right-side\",\"slide-in-left\",\"slide-in-right\",\"slide-out-left\",\"slide-out-right\",\"link\",\"click\",4,\"ngFor\",\"ngForOf\",\"ngForTrackBy\"],[1,\"arrow-container\",\"prev\",3,\"click\"],[\"title\",\"Previous\",1,\"arrow\",\"prev\"],[\"prevArrow\",\"\"],[1,\"arrow-container\",\"next\",3,\"click\"],[\"title\",\"Next\",1,\"arrow\",\"next\"],[\"nextArrow\",\"\"],[\"class\",\"slick-dots\",4,\"ngIf\"],[\"href\",\"#!\",\"tabindex\",\"-1\",1,\"slides\",3,\"title\",\"ngStyle\",\"click\"],[\"class\",\"loader\",4,\"ngIf\"],[\"class\",\"caption\",3,\"ngStyle\",\"innerHTML\",4,\"ngIf\"],[1,\"loader\"],[1,\"caption\",3,\"ngStyle\",\"innerHTML\"],[1,\"slick-dots\"],[3,\"slick-active\",\"click\",4,\"ngFor\",\"ngForOf\",\"ngForTrackBy\"],[3,\"click\"],[\"type\",\"button\"]],template:function(t,e){1&t&&(i.Wb(0,\"div\",0),i.ec(\"click\",(function(t){return e.exitFullScreen(t)})),i.Rb(1,\"i\",1),i.Vb(),i.Wb(2,\"div\",2,3),i.Hc(4,u,3,22,\"a\",4),i.Wb(5,\"div\",5),i.ec(\"click\",(function(){return e.onSlide(-1)})),i.Rb(6,\"i\",6,7),i.Vb(),i.Wb(8,\"div\",8),i.ec(\"click\",(function(){return e.onSlide(1)})),i.Rb(9,\"i\",9,10),i.Vb(),i.Hc(11,m,2,2,\"ul\",11),i.Vb()),2&t&&(i.Hb(\"display-none\",!e.fullscreen),i.Db(2),i.Hb(\"slideshow-container-fs\",e.fullscreen),i.Db(2),i.oc(\"ngForOf\",e.slides)(\"ngForTrackBy\",e.trackByFn),i.Db(1),i.Hb(\"display-none\",!e.showArrows||e.hideLeftArrow),i.Db(3),i.Hb(\"display-none\",!e.showArrows||e.hideRightArrow),i.Db(3),i.oc(\"ngIf\",e.showDots))},directives:[r.k,r.l,r.m],styles:[\".display-none[_ngcontent-%COMP%] {\\n      display: none !important; }\\n\\n    .fs-container[_ngcontent-%COMP%] {\\n      display: block;\\n      cursor: pointer;\\n      position: fixed;\\n      z-index: 1;\\n      top: 16px;\\n      left: 16px;\\n      width: 46px;\\n      height: 46px;\\n      text-align: center;\\n      padding: 0;\\n      background-color: rgba(0, 0, 0, 0.2);\\n      -webkit-transition: all .2s ease-in-out;\\n      transition: all .2s ease-in-out; }\\n      .fs-container[_ngcontent-%COMP%]:hover {\\n        background-color: rgba(0, 0, 0, 0.33); }\\n      .fs-container[_ngcontent-%COMP%]   .arrow-exitfs[_ngcontent-%COMP%] {\\n        display: block;\\n        width: 30px;\\n        height: 30px;\\n        background: transparent;\\n        border-top: 2px solid #f2f2f2;\\n        -webkit-transition: all .2s ease-in-out;\\n        transition: all .2s ease-in-out; }\\n        .fs-container[_ngcontent-%COMP%]   .arrow-exitfs.prev[_ngcontent-%COMP%] {\\n          -webkit-transform: rotate(-45deg);\\n                  transform: rotate(-45deg);\\n          position: relative;\\n          left: 18px;\\n          top: 18px; }\\n        .fs-container[_ngcontent-%COMP%]   .arrow-exitfs[_ngcontent-%COMP%]:after {\\n          content: '';\\n          width: 30px;\\n          height: 30px;\\n          background: transparent;\\n          border-top: 2px solid #f2f2f2;\\n          -webkit-transform: rotate(90deg);\\n                  transform: rotate(90deg);\\n          position: absolute;\\n          left: -15px;\\n          top: -17px; }\\n\\n    .slideshow-container.slideshow-container-fs[_ngcontent-%COMP%] {\\n      position: fixed;\\n      left: 0;\\n      top: 0;\\n      width: 100%;\\n      height: 100%; }\\n\\n    .slideshow-container[_ngcontent-%COMP%] {\\n      position: relative;\\n      display: block;\\n      margin: auto;\\n      height: 100%;\\n      width: 100%;\\n      overflow: hidden; }\\n      .slideshow-container[_ngcontent-%COMP%]   .hide-slide[_ngcontent-%COMP%] {\\n        visibility: hidden;\\n        position: absolute;\\n        top: -100vw;\\n        left: -100vw;\\n        opacity: 0; }\\n      .slideshow-container[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%] {\\n        -ms-touch-action: pan-y;\\n            touch-action: pan-y;\\n        position: absolute;\\n        top: 0;\\n        height: 100%;\\n        width: 100%;\\n        visibility: visible;\\n        opacity: 1;\\n        display: block; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.selected[_ngcontent-%COMP%] {\\n          left: 0; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.left-slide[_ngcontent-%COMP%] {\\n          left: -100%; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.right-slide[_ngcontent-%COMP%] {\\n          left: 100%; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-in-left[_ngcontent-%COMP%] {\\n          left: 0;\\n          -webkit-animation: slideInLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideInLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-in-right[_ngcontent-%COMP%] {\\n          left: 0;\\n          -webkit-animation: slideInRight 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideInRight 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-out-left[_ngcontent-%COMP%] {\\n          left: -100%;\\n          -webkit-animation: slideOutLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideOutLeft 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.slide-out-right[_ngcontent-%COMP%] {\\n          left: 100%;\\n          -webkit-animation: slideOutRight 0.5s cubic-bezier(0.42, 0, 0.58, 1);\\n                  animation: slideOutRight 0.5s cubic-bezier(0.42, 0, 0.58, 1); }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides.link[_ngcontent-%COMP%] {\\n          cursor: pointer; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]:not(.link) {\\n          cursor: default; }\\n      .slideshow-container[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%] {\\n        position: absolute;\\n        bottom: 0;\\n        padding: 10px;\\n        width: 100%; }\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%] {\\n        display: -webkit-box;\\n        display: -ms-flexbox;\\n        display: flex;\\n        -webkit-box-align: center;\\n            -ms-flex-align: center;\\n                align-items: center;\\n        -webkit-box-pack: center;\\n            -ms-flex-pack: center;\\n                justify-content: center;\\n        position: absolute;\\n        top: 0;\\n        height: 100%;\\n        width: auto;\\n        cursor: pointer;\\n        background-size: 100%;\\n        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));\\n        background-image: linear-gradient(transparent, transparent);\\n        z-index: 100;\\n        -webkit-user-select: none;\\n           -moz-user-select: none;\\n            -ms-user-select: none;\\n                user-select: none; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]:before {\\n          display: block;\\n          height: 100%;\\n          position: absolute;\\n          top: 0;\\n          left: 0;\\n          opacity: 0;\\n          width: 100%;\\n          z-index: -100;\\n          -webkit-transition: opacity 0.45s;\\n          transition: opacity 0.45s; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container.prev[_ngcontent-%COMP%] {\\n          left: 0; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container.prev[_ngcontent-%COMP%]:before {\\n            background-image: -webkit-gradient(linear, right top, left top, from(transparent), to(rgba(0, 0, 0, 0.75)));\\n            background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.75));\\n            content: ''; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container.next[_ngcontent-%COMP%] {\\n          right: 0; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container.next[_ngcontent-%COMP%]:before {\\n            background-image: -webkit-gradient(linear, left top, right top, from(transparent), to(rgba(0, 0, 0, 0.75)));\\n            background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.75));\\n            content: ''; }\\n        .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n          display: block;\\n          margin: auto;\\n          width: 30px;\\n          height: 30px;\\n          background: transparent;\\n          border-top: 2px solid #f2f2f2;\\n          border-left: 2px solid #f2f2f2;\\n          -webkit-transition: all .2s ease-in-out;\\n          transition: all .2s ease-in-out;\\n          -webkit-user-select: none;\\n             -moz-user-select: none;\\n              -ms-user-select: none;\\n                  user-select: none; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before {\\n            display: block;\\n            height: 200%;\\n            width: 200%;\\n            margin-left: -50%;\\n            margin-top: -50%;\\n            content: \\\"\\\";\\n            -webkit-transform: rotate(45deg);\\n                    transform: rotate(45deg); }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow.prev[_ngcontent-%COMP%] {\\n            -webkit-transform: rotate(-45deg);\\n                    transform: rotate(-45deg);\\n            position: relative;\\n            left: 20px;\\n            margin-right: 10px; }\\n          .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow.next[_ngcontent-%COMP%] {\\n            -webkit-transform: rotate(135deg);\\n                    transform: rotate(135deg);\\n            position: relative;\\n            right: 20px;\\n            margin-left: 10px; }\\n      .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%] {\\n        display: block;\\n        bottom: 15px;\\n        z-index: 1;\\n        text-align: center;\\n        position: absolute;\\n        padding: 0;\\n        left: 0;\\n        right: 0;\\n        margin: 0 auto; }\\n        .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] {\\n          display: inline;\\n          margin: 0;\\n          padding: 0; }\\n          .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\\n            border: none;\\n            background: none;\\n            text-indent: -9999px;\\n            font-size: 0;\\n            width: 20px;\\n            height: 20px;\\n            outline: none;\\n            position: relative;\\n            z-index: 1;\\n            cursor: pointer; }\\n            .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:before {\\n              content: '';\\n              width: 4px;\\n              height: 4px;\\n              background: var(--dot-color, #FFF);\\n              border-radius: 4px;\\n              display: block;\\n              position: absolute;\\n              top: 50%;\\n              left: 50%;\\n              -webkit-transform: translate(-50%, -50%);\\n                      transform: translate(-50%, -50%);\\n              opacity: .7;\\n              -webkit-transition: all .5s ease-out;\\n              transition: all .5s ease-out; }\\n          .slideshow-container[_ngcontent-%COMP%]   .slick-dots[_ngcontent-%COMP%]   li.slick-active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:before {\\n            -webkit-transform: translate(-50%, -50%) scale(1.4);\\n                    transform: translate(-50%, -50%) scale(1.4);\\n            opacity: 1; }\\n\\n    @media screen and (min-width: 768px) {\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]:hover:before {\\n        opacity: 1; }\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]:hover   .arrow[_ngcontent-%COMP%] {\\n        border-width: 4px; }\\n      .slideshow-container[_ngcontent-%COMP%]   .arrow-container[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:hover {\\n        border-width: 4px; } }\\n\\n    @-webkit-keyframes slideInRight {\\n      0% {\\n        left: -100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @keyframes slideInRight {\\n      0% {\\n        left: -100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @-webkit-keyframes slideInLeft {\\n      0% {\\n        left: 100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @keyframes slideInLeft {\\n      0% {\\n        left: 100%; }\\n      100% {\\n        left: 0; } }\\n\\n    @-webkit-keyframes slideOutRight {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: -100%; } }\\n\\n    @keyframes slideOutRight {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: -100%; } }\\n\\n    @-webkit-keyframes slideOutLeft {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: 100%; } }\\n\\n    @keyframes slideOutLeft {\\n      0% {\\n        left: 0; }\\n      100% {\\n        left: 100%; } }\\n\\n    .loader[_ngcontent-%COMP%] {\\n      position: absolute;\\n      left: 50%;\\n      margin-left: -20px;\\n      top: 50%;\\n      margin-top: -20px;\\n      border: 5px solid #f3f3f3;\\n      border-top: 5px solid #555;\\n      border-radius: 50%;\\n      width: 50px;\\n      height: 50px;\\n      -webkit-animation: spin 1s linear infinite;\\n              animation: spin 1s linear infinite; }\\n\\n    @-webkit-keyframes spin {\\n      0% {\\n        -webkit-transform: rotate(0deg);\\n                transform: rotate(0deg); }\\n      100% {\\n        -webkit-transform: rotate(360deg);\\n                transform: rotate(360deg); } }\\n\\n    @keyframes spin {\\n      0% {\\n        -webkit-transform: rotate(0deg);\\n                transform: rotate(0deg); }\\n      100% {\\n        -webkit-transform: rotate(360deg);\\n                transform: rotate(360deg); } }\"],changeDetection:0}),t})(),y=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c,s.b]]}),t})()},Qu3c:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return O})),n.d(e,\"b\",(function(){return M}));var i=n(\"rDax\"),r=n(\"u47x\"),s=n(\"ofXK\"),a=n(\"fXoL\"),o=n(\"FKr1\"),l=n(\"8LU1\"),c=n(\"FtGj\"),h=n(\"0MNC\"),d=n(\"nLfN\"),u=n(\"+rOU\"),p=n(\"XNiG\"),m=n(\"1G5W\"),f=n(\"IzEk\"),g=n(\"R0Ic\"),b=n(\"vxfF\"),_=n(\"cH1L\");const y={tooltipState:Object(g.p)(\"state\",[Object(g.m)(\"initial, void, hidden\",Object(g.n)({opacity:0,transform:\"scale(0)\"})),Object(g.m)(\"visible\",Object(g.n)({transform:\"scale(1)\"})),Object(g.o)(\"* => visible\",Object(g.e)(\"200ms cubic-bezier(0, 0, 0.2, 1)\",Object(g.i)([Object(g.n)({opacity:0,transform:\"scale(0)\",offset:0}),Object(g.n)({opacity:.5,transform:\"scale(0.99)\",offset:.5}),Object(g.n)({opacity:1,transform:\"scale(1)\",offset:1})]))),Object(g.o)(\"* => hidden\",Object(g.e)(\"100ms cubic-bezier(0, 0, 0.2, 1)\",Object(g.n)({opacity:0})))])},v=Object(d.f)({passive:!0});function w(t){return Error(`Tooltip position \"${t}\" is invalid.`)}const x=new a.r(\"mat-tooltip-scroll-strategy\"),C={provide:x,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},k=new a.r(\"mat-tooltip-default-options\",{providedIn:\"root\",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let O=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l,h,d,u){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=h,this._defaultOptions=d,this._position=\"below\",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures=\"auto\",this._message=\"\",this._passiveListeners=new Map,this._destroyed=new p.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===c.e&&!Object(c.q)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.monitor(e).pipe(Object(m.a)(this._destroyed)).subscribe(t=>{t?\"keyboard\"===t&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),r.runOutsideAngular(()=>{e.nativeElement.addEventListener(\"keydown\",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?`${t}`.trim():\"\",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener(\"keydown\",this._handleKeydown),this._passiveListeners.forEach((e,n)=>{t.removeEventListener(n,e,v)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new u.c(S,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(\".mat-tooltip\").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(m.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:\"mat-tooltip-panel\",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||\"ltr\"==this._dir.value,e=this.position;let n;if(\"above\"==e||\"below\"==e)n={originX:\"center\",originY:\"above\"==e?\"top\":\"bottom\"};else if(\"before\"==e||\"left\"==e&&t||\"right\"==e&&!t)n={originX:\"start\",originY:\"center\"};else{if(!(\"after\"==e||\"right\"==e&&t||\"left\"==e&&!t))throw w(e);n={originX:\"end\",originY:\"center\"}}const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||\"ltr\"==this._dir.value,e=this.position;let n;if(\"above\"==e)n={overlayX:\"center\",overlayY:\"bottom\"};else if(\"below\"==e)n={overlayX:\"center\",overlayY:\"top\"};else if(\"before\"==e||\"left\"==e&&t||\"right\"==e&&!t)n={overlayX:\"end\",overlayY:\"center\"};else{if(!(\"after\"==e||\"right\"==e&&t||\"left\"==e&&!t))throw w(e);n={overlayX:\"start\",overlayY:\"center\"}}const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(f.a)(1),Object(m.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return\"above\"===this.position||\"below\"===this.position?\"top\"===e?e=\"bottom\":\"bottom\"===e&&(e=\"top\"):\"end\"===t?t=\"start\":\"start\"===t&&(t=\"end\"),{x:t,y:e}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if(\"off\"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set(\"touchend\",t).set(\"touchcancel\",t).set(\"touchstart\",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set(\"mouseenter\",()=>this.show()).set(\"mouseleave\",()=>this.hide());this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,v)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,n=this.touchGestures;\"off\"!==n&&((\"on\"===n||\"INPUT\"!==t.nodeName&&\"TEXTAREA\"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect=\"none\"),\"on\"!==n&&t.draggable||(e.webkitUserDrag=\"none\"),e.touchAction=\"none\",e.webkitTapHighlightColor=\"transparent\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(i.c),a.Qb(a.l),a.Qb(b.b),a.Qb(a.P),a.Qb(a.A),a.Qb(d.a),a.Qb(r.c),a.Qb(r.h),a.Qb(x),a.Qb(_.b,8),a.Qb(k,8),a.Qb(a.l))},t.\\u0275dir=a.Lb({type:t,selectors:[[\"\",\"matTooltip\",\"\"]],inputs:{showDelay:[\"matTooltipShowDelay\",\"showDelay\"],hideDelay:[\"matTooltipHideDelay\",\"hideDelay\"],touchGestures:[\"matTooltipTouchGestures\",\"touchGestures\"],position:[\"matTooltipPosition\",\"position\"],disabled:[\"matTooltipDisabled\",\"disabled\"],message:[\"matTooltip\",\"message\"],tooltipClass:[\"matTooltipClass\",\"tooltipClass\"]},exportAs:[\"matTooltip\"]}),t})(),S=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility=\"initial\",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility=\"visible\",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility=\"hidden\",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return\"visible\"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;\"hidden\"!==e||this.isVisible()||this._onHide.next(),\"visible\"!==e&&\"hidden\"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.h),a.Qb(h.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-tooltip-component\"]],hostAttrs:[\"aria-hidden\",\"true\"],hostVars:2,hostBindings:function(t,e){1&t&&a.ec(\"click\",(function(){return e._handleBodyInteraction()}),!1,a.xc),2&t&&a.Gc(\"zoom\",\"visible\"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,\"mat-tooltip\",3,\"ngClass\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.ec(\"@state.start\",(function(){return e._animationStart()}))(\"@state.done\",(function(t){return e._animationDone(t)})),a.jc(1,\"async\"),a.Jc(2),a.Vb()),2&t){var n;const t=null==(n=a.kc(1,5,e._isHandset))?null:n.matches;a.Hb(\"mat-tooltip-handset\",t),a.oc(\"ngClass\",e.tooltipClass)(\"@state\",e._visibility),a.Db(2),a.Kc(e.message)}},directives:[s.j],pipes:[s.b],styles:[\".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\\n\"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t})(),M=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},providers:[C],imports:[[r.a,s.c,i.f,o.f],o.f]}),t})()},R0Ic:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s})),n.d(e,\"b\",(function(){return i})),n.d(e,\"c\",(function(){return r})),n.d(e,\"d\",(function(){return v})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return f})),n.d(e,\"g\",(function(){return m})),n.d(e,\"h\",(function(){return l})),n.d(e,\"i\",(function(){return u})),n.d(e,\"j\",(function(){return b})),n.d(e,\"k\",(function(){return c})),n.d(e,\"l\",(function(){return _})),n.d(e,\"m\",(function(){return d})),n.d(e,\"n\",(function(){return h})),n.d(e,\"o\",(function(){return p})),n.d(e,\"p\",(function(){return a})),n.d(e,\"q\",(function(){return g})),n.d(e,\"r\",(function(){return w})),n.d(e,\"s\",(function(){return x}));class i{}class r{}const s=\"*\";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function o(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:3,steps:t,options:e}}function c(t,e=null){return{type:2,steps:t,options:e}}function h(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function u(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function m(t,e=null){return{type:8,animation:t,options:e}}function f(t=null){return{type:9,options:t}}function g(t,e=null){return{type:10,animation:t,options:e}}function b(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function _(t,e){return{type:12,timings:t,animation:e}}function y(t){Promise.resolve(null).then(t)}class v{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){y(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class w{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?y(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const x=\"!\"},R1ws:function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"jhN1\"),s=n(\"R0Ic\");function a(){return\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process)}function o(t){switch(t.length){case 0:return new s.d;case 1:return t[0];default:return new s.r(t)}}function l(t,e,n,i,r={},a={}){const o=[],l=[];let c=-1,h=null;if(i.forEach(t=>{const n=t.offset,i=n==c,d=i&&h||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if(\"offset\"!==n)switch(i=e.normalizePropertyName(i,o),l){case s.s:l=r[n];break;case s.a:l=a[n];break;default:l=e.normalizeStyleValue(n,i,l,o)}d[i]=l}),i||l.push(d),h=d,c=n}),o.length){const t=\"\\n - \";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return l}function c(t,e,n,i){switch(e){case\"start\":t.onStart(()=>i(n&&h(n,\"start\",t)));break;case\"done\":t.onDone(()=>i(n&&h(n,\"done\",t)));break;case\"destroy\":t.onDestroy(()=>i(n&&h(n,\"destroy\",t)))}}function h(t,e,n){const i=n.totalTime,r=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function d(t,e,n,i,r=\"\",s=0,a){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!a}}function u(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(\":\");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,f=(t,e)=>!1,g=(t,e,n)=>[];const b=a();(b||\"undefined\"!=typeof Element)&&(m=(t,e)=>t.contains(e),f=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):f}})(),g=(t,e,n)=>{let i=[];if(n)i.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&i.push(n)}return i});let _=null,y=!1;function v(t){_||(_=(\"undefined\"!=typeof document?document.body:null)||{},y=!!_.style&&\"WebkitAppearance\"in _.style);let e=!0;return _.style&&!function(t){return\"ebkit\"==t.substring(1,6)}(t)&&(e=t in _.style,!e&&y)&&(e=\"Webkit\"+t.charAt(0).toUpperCase()+t.substr(1)in _.style),e}const w=f,x=m,C=g;function k(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,\"$1-$2\");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return n||\"\"}animate(t,e,n,i,r,a=[],o){return new s.d(n,i)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),S=(()=>{class t{}return t.NOOP=new O,t})();function M(t){if(\"number\"==typeof t)return t;const e=t.match(/^(-?[\\.\\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){switch(e){case\"s\":return 1e3*t;default:return t}}function E(t,e,n){return t.hasOwnProperty(\"duration\")?t:function(t,e,n){let i,r=0,s=\"\";if(\"string\"==typeof t){const n=t.match(/^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i);if(null===n)return e.push(`The provided timing value \"${t}\" is invalid.`),{duration:0,delay:0,easing:\"\"};i=P(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(r=P(parseFloat(a),n[4]));const o=n[5];o&&(s=o)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push(\"Duration values below 0 are not allowed for this animation step.\"),n=!0),r<0&&(e.push(\"Delay values below 0 are not allowed for this animation step.\"),n=!0),n&&e.splice(s,0,`The provided timing value \"${t}\" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function A(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function D(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else A(t,n);return n}function R(t,e,n){return n?e+\":\"+n+\";\":\"\"}function T(t){let e=\"\";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=R(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith(\"_\")&&(e+=R(0,n.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),t.style[n]));t.setAttribute(\"style\",e)}function I(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const r=H(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),a()&&T(t))}function j(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=H(e);t.style[n]=\"\"}),a()&&T(t))}function L(t){return Array.isArray(t)?1==t.length?t[0]:Object(s.k)(t):t}const F=new RegExp(\"{{\\\\s*(.+?)\\\\s*}}\",\"g\");function N(t){let e=[];if(\"string\"==typeof t){let n;for(;n=F.exec(t);)e.push(n[1]);F.lastIndex=0}return e}function V(t,e,n){const i=t.toString(),r=i.replace(F,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=\"\"),r.toString()});return r==i?t:r}function z(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const B=/-+([a-z0-9])/g;function H(t){return t.replace(B,(...t)=>t[1].toUpperCase())}function U(t,e){return 0===t||0===e}function q(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],a=[];if(i.forEach(t=>{s.hasOwnProperty(t)||a.push(t),s[t]=n[t]}),a.length)for(var r=1;r<e.length;r++){let n=e[r];a.forEach((function(e){n[e]=W(t,e)}))}}return e}function Q(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function W(t,e){return window.getComputedStyle(t)[e]}function Y(t,e){const n=[];return\"string\"==typeof t?t.split(/\\s*,\\s*/).forEach(t=>function(t,e,n){if(\":\"==t[0]){const i=function(t,e){switch(t){case\":enter\":return\"void => *\";case\":leave\":return\"* => void\";case\":increment\":return(t,e)=>parseFloat(e)>parseFloat(t);case\":decrement\":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value \"${t}\" is not supported`),\"* => *\"}}(t,n);if(\"function\"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression \"${t}\" is not supported`),e;const r=i[1],s=i[2],a=i[3];e.push(X(r,a)),\"<\"!=s[0]||\"*\"==r&&\"*\"==a||e.push(X(a,r))}(t,n,e)):n.push(t),n}const $=new Set([\"true\",\"1\"]),G=new Set([\"false\",\"0\"]);function X(t,e){const n=$.has(t)||G.has(t),i=$.has(e)||G.has(e);return(r,s)=>{let a=\"*\"==t||t==r,o=\"*\"==e||e==s;return!a&&n&&\"boolean\"==typeof r&&(a=r?$.has(t):G.has(t)),!o&&i&&\"boolean\"==typeof s&&(o=s?$.has(e):G.has(e)),a&&o}}const K=new RegExp(\"s*:selfs*,?\",\"g\");function Z(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),Q(this,L(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=\"\",t.collectedStyles={},t.collectedStyles[\"\"]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return\"@\"==t.name.charAt(0)&&e.errors.push(\"animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))\"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\\s*,\\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push(\"only state() and transition() definitions can sit inside of a trigger()\")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{N(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=z(r.values());e.errors.push(`state(\"${t.name}\", ...) must define default values for all the following style substitutions: ${n.join(\", \")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Q(this,L(t.animation),e);return{type:1,matchers:Y(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Q(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Q(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty(\"duration\"))n=t;else if(\"number\"==typeof t)return it(E(t,e).duration,0,\"\");const i=t;if(i.split(/\\s+/).some(t=>\"{\"==t.charAt(0)&&\"{\"==t.charAt(1))){const t=it(0,0,\"\");return t.dynamic=!0,t.strValue=i,t}return n=n||E(i,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(s.n)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,a=!1;if(!r){a=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(s.n)(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,e);o.isEmptyStep=a,i=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{\"string\"==typeof t?t==s.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf(\"{{\")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{\"string\"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property \"${n}\" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],a=s[n];let o=!0;a&&(r!=i&&r>=a.startTime&&i<=a.endTime&&(e.errors.push(`The CSS property \"${n}\" that exists between the times of \"${a.startTime}ms\" and \"${a.endTime}ms\" is also being animated in a parallel animation between the times of \"${r}ms\" and \"${i}ms\"`),o=!1),r=a.startTime),o&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=N(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(\"keyframes() must be placed inside of a call to animate()\"),n;let i=0;const r=[];let s=!1,a=!1,o=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if(\"string\"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty(\"offset\")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty(\"offset\")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),a=a||c<0||c>1,s=s||c<o,o=c,r.push(c),n});a&&e.errors.push(\"Please ensure that all keyframe offsets are between 0 and 1\"),s&&e.errors.push(\"Please ensure that all keyframe offsets are in order\");const c=t.steps.length;let h=0;i>0&&i<c?e.errors.push(\"Not all style() steps within the declared keyframes() contain offsets\"):0==i&&(h=1/(c-1));const d=c-1,u=e.currentTime,p=e.currentAnimateTimings,m=p.duration;return l.forEach((t,i)=>{const s=h>0?i==d?1:h*i:r[i],a=s*m;e.currentTime=u+p.delay+a,p.duration=a,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Q(this,L(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\\s*,\\s*/).find(t=>\":self\"==t);return e&&(t=t.replace(K,\"\")),[t=t.replace(/@\\*/g,\".ng-trigger\").replace(/@\\w+/g,t=>\".ng-trigger-\"+t.substr(1)).replace(/:animating/g,\".ng-animating\"),e]}(t.selector);e.currentQuerySelector=n.length?n+\" \"+r:r,u(e.collectedStyles,e.currentQuerySelector,{});const a=Q(this,L(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(\"stagger() can only be used inside of query()\");const n=\"full\"===t.timings?{duration:0,delay:0,easing:\"full\"}:E(t.timings,e.errors,!0);return{type:12,animation:Q(this,L(t.animation),e),timings:n,options:null}}}class tt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function et(t){return!Array.isArray(t)&&\"object\"==typeof t}function nt(t){var e;return t?(t=A(t)).params&&(t.params=(e=t.params)?A(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,i,r,s,a=null,o=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:a,subTimeline:o}}class st{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(\":enter\",\"g\"),ot=new RegExp(\":leave\",\"g\");function lt(t,e,n,i,r,s={},a={},o,l,c=[]){return(new ct).buildKeyframes(t,e,n,i,r,s,a,o,l,c)}class ct{buildKeyframes(t,e,n,i,r,s,a,o,l,c=[]){l=l||new st;const h=new dt(t,e,l,i,r,c,[]);h.options=o,h.currentTimeline.setStyles([s],null,h.errors,o),Q(this,n,h);const d=h.timelines.filter(t=>t.containsAnimation());if(d.length&&Object.keys(a).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([a],null,h.errors,o)}return d.length?d.map(t=>t.buildKeyframes()):[rt(e,[],[],[],0,0,\"\",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?M(n.duration):null,s=null!=n.delay?M(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Q(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ht);const t=M(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Q(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?M(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);r&&a.delayNextStep(r),Q(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return E(e.params?V(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?M(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let s=n;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let o=null;a.forEach((n,i)=>{e.currentQueryIndex=i;const a=e.createSubContext(t.options,n);r&&a.delayNextStep(r),n===e.element&&(o=a.currentTimeline),Q(this,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),o&&(e.currentTimeline.mergeTimelineCollectedStyles(o),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let o=s*e.currentQueryIndex;switch(r.duration<0?\"reverse\":r.easing){case\"reverse\":o=a-o;break;case\"full\":o=n.currentStaggerTime}const l=e.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;Q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,n,i,r,s,a,o){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new ut(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=M(n.duration)),null!=n.delay&&(i.delay=M(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=V(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new dt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:\"\"},r=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(at,\".\"+this._enterClassName)).replace(ot,\".\"+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),a.push(...e)}return r||0!=a.length||s.push(`\\`query(\"${e}\")\\` returned zero elements. (Use \\`query(\"${e}\", { optional: true })\\` if you wish to allow this.)`),a}}class ut{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ut(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||s.a,this._currentKeyframe[t]=s.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},a=function(t,e){const n={};let i;return t.forEach(t=>{\"*\"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=s.a})):D(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(a).forEach(t=>{const e=V(a[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:s.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,a)=>{const o=D(r,!0);Object.keys(o).forEach(n=>{const i=o[n];i==s.s?t.add(n):i==s.a&&e.add(n)}),n||(o.offset=a/this.duration),i.push(o)});const r=t.size?z(t.values()):[],a=e.size?z(e.values()):[];if(n){const t=i[0],e=A(t);t.offset=0,e.offset=1,i=[t,e]}return rt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}}class pt extends ut{constructor(t,e,n,i,r,s,a=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,a=e/s,o=D(t[0],!1);o.offset=0,r.push(o);const l=D(t[0],!1);l.offset=mt(a),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let a=D(t[i],!1);a.offset=mt((e+a.offset*n)/s),r.push(a)}n=s,e=0,i=\"\",t=r}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function mt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}class gt extends ft{normalizePropertyName(t,e){return H(t)}normalizeStyleValue(t,e,n,i){let r=\"\";const s=n.toString().trim();if(bt[e]&&0!==n&&\"0\"!==n)if(\"number\"==typeof n)r=\"px\";else{const e=n.match(/^[+-]?[\\d\\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}(\"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective\".split(\",\")))();function _t(t,e,n,i,r,s,a,o,l,c,h,d,u){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:d,errors:u}}const yt={};class vt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles[\"*\"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,a,o,l,c){const h=[],d=this.ast.options&&this.ast.options.params||yt,p=this.buildStyles(n,a&&a.params||yt,h),m=o&&o.params||yt,f=this.buildStyles(i,m,h),g=new Set,b=new Map,_=new Map,y=\"void\"===i,v={params:Object.assign(Object.assign({},d),m)},w=c?[]:lt(t,e,this.ast.animation,r,s,p,f,v,l,h);let x=0;if(w.forEach(t=>{x=Math.max(t.duration+t.delay,x)}),h.length)return _t(e,this._triggerName,n,i,y,p,f,[],[],b,_,x,h);w.forEach(t=>{const n=t.element,i=u(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=u(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const C=z(g.values());return _t(e,this._triggerName,n,i,y,p,f,w,C,b,_,x)}}class wt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=A(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if(\"string\"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=V(s,i,e)),n[t]=s})}}),n}}class xt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new wt(t.style,t.options&&t.options.params||{})}),Ct(this.states,\"true\",\"1\"),Ct(this.states,\"false\",\"0\"),e.transitions.forEach(e=>{this.transitionFactories.push(new vt(t,e,this.states))}),this.fallbackTransition=new vt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const kt=new st;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Z(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join(\"\\n\")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let a;const l=new Map;if(r?(a=lt(this._driver,e,r,\"ng-enter\",\"ng-leave\",{},{},n,kt,i),a.forEach(t=>{const e=u(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push(\"The requested animation doesn't exist or has already been destroyed\"),a=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join(\"\\n\")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,s.a)})});const c=o(a.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=d(e,\"\",\"\",\"\");return c(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if(\"register\"==n)return void this.register(t,i[0]);if(\"create\"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case\"play\":r.play();break;case\"pause\":r.pause();break;case\"reset\":r.reset();break;case\"restart\":r.restart();break;case\"finish\":r.finish();break;case\"init\":r.init();break;case\"setPosition\":r.setPosition(parseFloat(i[0]));break;case\"destroy\":this.destroy(t)}}}const St=[],Mt={namespaceId:\"\",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pt={namespaceId:\"\",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Et{constructor(t,e=\"\"){this.namespaceId=e;const n=t&&t.hasOwnProperty(\"value\");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=A(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const At=new Et(\"void\");class Dt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName=\"ng-tns-\"+t,Nt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event \"${n}\" because the animation trigger \"${e}\" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger \"${e}\" because the provided event is undefined!`);if(\"start\"!=(r=n)&&\"done\"!=r)throw new Error(`The provided animation trigger event \"${n}\" for the animation trigger \"${e}\" is not supported!`);var r;const s=u(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const o=u(this._engine.statesByElement,t,{});return o.hasOwnProperty(e)||(Nt(t,\"ng-trigger\"),Nt(t,\"ng-trigger-\"+e),o[e]=At),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers[e]||delete o[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger \"${t}\" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new Tt(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Nt(t,\"ng-trigger\"),Nt(t,\"ng-trigger-\"+e),this._engine.statesByElement.set(t,a={}));let o=a[e];const l=new Et(n,this.id);if(!(n&&n.hasOwnProperty(\"value\"))&&o&&l.absorbOptions(o.options),a[e]=l,o||(o=At),\"void\"!==l.value&&o.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(o.params,l.params)){const e=[],n=r.matchStyles(o.value,o.params,e),i=r.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{j(t,n),I(t,i)})}return}const c=u(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=r.matchTransition(o.value,l.value,t,l.params),d=!1;if(!h){if(!i)return;h=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:o,toState:l,player:s,isFallbackTransition:d}),d||(Nt(t,\"ng-animate-queued\"),s.onStart(()=>{Vt(t,\"ng-animate-queued\")})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,\".ng-trigger\",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,\"void\",i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&o(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(t)[i]||At,a=new Et(\"void\"),o=new Tt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Mt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Nt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=d(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Rt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Dt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=n[t[i]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(It(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!It(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Nt(t,\"ng-animate-disabled\")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Vt(t,\"ng-animate-disabled\"))}removeNode(t,e,n,i){if(It(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return It(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,\".ng-trigger\",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,\".ng-animating\",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return o(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Mt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,\".ng-animate-disabled\")&&this.markElementAsDisabled(t,!1),this.driver.query(t,\".ng-animate-disabled\",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Nt(this.collectedEnterElements[n],\"ng-star-inserted\");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?o(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\\n ${t.join(\"\\n\")}`)}_flushAnimations(t,e){const n=new st,i=[],r=new Map,a=[],l=new Map,c=new Map,h=new Map,d=new Set;this.disabledNodes.forEach(t=>{d.add(t);const e=this.driver.query(t,\".ng-animate-queued\",!0);for(let n=0;n<e.length;n++)d.add(e[n])});const p=this.bodyNode,m=Array.from(this.statesByElement.keys()),f=Ft(m,this.collectedEnterElements),g=new Map;let b=0;f.forEach((t,e)=>{const n=\"ng-enter\"+b++;g.set(e,n),t.forEach(t=>Nt(t,n))});const _=[],y=new Set,v=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const t=this.collectedLeaveElements[s],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,\".ng-star-inserted\",!0).forEach(t=>y.add(t)):v.add(t))}const w=new Map,x=Ft(m,Array.from(y));x.forEach((t,e)=>{const n=\"ng-leave\"+b++;w.set(e,n),t.forEach(t=>Nt(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Vt(t,n))}),x.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Vt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const C=[],k=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(C.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const s=!p||!this.driver.containsElement(p,r),o=w.get(r),d=g.get(r),m=this._buildInstruction(t,n,d,o,s);if(!m.errors||!m.errors.length)return s?(e.onStart(()=>j(r,m.fromStyles)),e.onDestroy(()=>I(r,m.toStyles)),void i.push(e)):t.isFallbackTransition?(e.onStart(()=>j(r,m.fromStyles)),e.onDestroy(()=>I(r,m.toStyles)),void i.push(e)):(m.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,m.timelines),a.push({instruction:m,player:e,element:r}),m.queriedElements.forEach(t=>u(l,t,[]).push(e)),m.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void m.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=h.get(e);i||h.set(e,i=new Set),n.forEach(t=>i.add(t))}));k.push(m)});if(k.length){const t=[];k.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\\n`),e.errors.forEach(e=>t.push(`- ${e}\\n`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,S=new Map;a.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{u(O,e,[]).push(t),t.destroy()})});const M=_.filter(t=>Bt(t,c,h)),P=new Map;Lt(P,this.driver,v,h,s.a).forEach(t=>{Bt(t,c,h)&&M.push(t)});const E=new Map;f.forEach((t,e)=>{Lt(E,this.driver,new Set(t),c,s.s)}),M.forEach(t=>{const e=P.get(t),n=E.get(t);P.set(t,Object.assign(Object.assign({},e),n))});const A=[],D=[],R={};a.forEach(t=>{const{element:e,player:s,instruction:a}=t;if(n.has(e)){if(d.has(e))return s.onDestroy(()=>I(e,a.toStyles)),s.disabled=!0,s.overrideTotalTime(a.totalTime),void i.push(s);let t=R;if(S.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>S.set(e,t))}const n=this._buildAnimation(s.namespaceId,a,O,r,E,P);if(s.setRealPlayer(n),t===R)A.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=o(e)),i.push(s)}}else j(e,a.fromStyles),s.onDestroy(()=>I(e,a.toStyles)),D.push(s),d.has(e)&&i.push(s)}),D.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=o(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let s=0;s<_.length;s++){const t=_[s],e=t.__ng_removed;if(Vt(t,\"ng-leave\"),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,\".ng-animating\",!0);for(let t=0;t<i.length;t++){let e=l.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?zt(this,t,i):this.processLeaveNode(t)}return _.length=0,A.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),A}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||\"void\"==r;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const a of e.timelines){const t=a.element,o=t!==i,l=u(n,t,[]);this._getPreviousPlayers(t,o,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}j(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,a){const c=e.triggerName,h=e.element,d=[],p=new Set,m=new Set,f=e.timelines.map(e=>{const o=e.element;p.add(o);const u=o.__ng_removed;if(u&&u.removedBeforeQueried)return new s.d(e.duration,e.delay);const f=o!==h,g=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const r=e[i];r instanceof s.r?t(r.players,n):n.push(r)}}(t,e),e}((n.get(o)||St).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===o),b=r.get(o),_=a.get(o),y=l(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,g);if(e.subTimeline&&i&&m.add(o),f){const e=new Tt(t,c,o);e.setRealPlayer(v),d.push(e)}return v});d.forEach(t=>{u(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Nt(t,\"ng-animating\"));const g=o(f);return g.onDestroy(()=>{p.forEach(t=>Vt(t,\"ng-animating\")),I(h,e.toStyles)}),m.forEach(t=>{u(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new s.d(t.duration,t.delay)}}class Tt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new s.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback(\"start\")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){u(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent(\"done\",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent(\"start\",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent(\"destroy\",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function It(t){return t&&1===t.nodeType}function jt(t,e){const n=t.style.display;return t.style.display=null!=e?e:\"none\",n}function Lt(t,e,n,i,r){const s=[];n.forEach(t=>s.push(jt(t)));const a=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Pt,a.push(i))}),t.set(i,s)});let o=0;return n.forEach(t=>jt(t,s[o++])),a}function Ft(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=r.get(e);if(s)return s;const a=e.parentNode;return s=n.has(a)?a:i.has(a)?1:t(a),r.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}function Nt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Vt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function zt(t,e,n){o(n).onDone(()=>t.processLeaveNode(e))}function Bt(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class Ht{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Rt(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+\"-\"+i;let a=this._triggerCache[s];if(!a){const t=[],e=Z(this._driver,r,t);if(t.length)throw new Error(`The animation trigger \"${i}\" has failed to build due to the following errors:\\n - ${t.join(\"\\n - \")}`);a=function(t,e){return new xt(t,e)}(i,e),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if(\"@\"==n.charAt(0)){const[t,r]=p(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if(\"@\"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ut(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Qt(e[0]),e.length>1&&(i=Qt(e[e.length-1]))):e&&(n=Qt(e)),n||i?new qt(t,n,i):null}let qt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&I(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(I(this._element,this._initialStyles),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),I(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Qt(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const r=n[i];Wt(r)&&(e=e||{},e[r]=t[r])}return e}function Wt(t){return\"display\"===t||\"position\"===t}class Yt{constructor(t,e,n,i,r,s,a){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,this._fillMode=s,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,\"\").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)\",\"===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Zt(t,\"\",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Kt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){$t(this._element,this._name,\"paused\")}resume(){$t(this._element,this._name,\"running\")}setPosition(t){const e=Gt(this._element,this._name);this._position=t*this._duration,Zt(this._element,\"Delay\",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Kt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,\"\").split(\",\"),i=Xt(n,e);i>=0&&(n.splice(i,1),Zt(t,\"\",n.join(\",\")))}(this._element,this._name))}}function $t(t,e,n){Zt(t,\"PlayState\",n,Gt(t,e))}function Gt(t,e){const n=Jt(t,\"\");return n.indexOf(\",\")>0?Xt(n.split(\",\"),e):Xt([n],e)}function Xt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Kt(t,e,n){n?t.removeEventListener(\"animationend\",e):t.addEventListener(\"animationend\",e)}function Zt(t,e,n,i){const r=\"animation\"+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(\",\");t[i]=n,n=t.join(\",\")}}t.style[r]=n}function Jt(t,e){return t.style[\"animation\"+e]}class te{constructor(t,e,n,i,r,s,a,o){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||\"linear\",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Yt(this.element,this.animationName,this._duration,this._delay,this.easing,\"forwards\",()=>this.finish())}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{\"offset\"!=n&&(t[n]=e?this._finalStyles[n]:W(this.element,n))})}this.currentSnapshot=t}}class ee extends s.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=k(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ne{constructor(){this._count=0,this._head=document.querySelector(\"head\"),this._warningIssued=!1}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>k(t));let i=`@keyframes ${e} {\\n`,r=\"\";n.forEach(t=>{r=\" \";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\\n`,r+=\" \",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case\"offset\":return;case\"easing\":return void(n&&(i+=`${r}animation-timing-function: ${n};\\n`));default:return void(i+=`${r}${e}: ${n};\\n`)}}),i+=`${r}}\\n`}),i+=\"}\\n\";const s=document.createElement(\"style\");return s.innerHTML=i,s}animate(t,e,n,i,r,s=[],a){a&&this._notifyFaultyScrubber();const o=s.filter(t=>t instanceof te),l={};U(n,i)&&o.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{\"offset\"!=n&&\"easing\"!=n&&(e[n]=t[n])})}),e}(e=q(t,e,l));if(0==n)return new ee(t,c);const h=`gen_css_kf_${this._count++}`,d=this.buildKeyframeElement(t,h,e);document.querySelector(\"head\").appendChild(d);const u=Ut(t,e),p=new te(t,e,h,n,i,r,c,u);return p.onDestroy(()=>{var t;(t=d).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn(\"@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\\n\",\"  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill.\"),this._warningIssued=!0)}}class ie{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener(\"finish\",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{\"offset\"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:W(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e=\"start\"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\\{\\s*\\[native\\s+code\\]\\s*\\}/.test(se().toString()),this._cssKeyframesDriver=new ne}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const o={duration:n,delay:i,fill:0==i?\"both\":\"forwards\"};r&&(o.easing=r);const l={},c=s.filter(t=>t instanceof ie);U(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const h=Ut(t,e=q(t,e=e.map(t=>D(t,!1)),l));return new ie(t,e,o,h)}}function se(){return\"undefined\"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ae=n(\"ofXK\");n.d(e,\"a\",(function(){return fe})),n.d(e,\"b\",(function(){return be}));let oe=(()=>{class t extends s.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:\"0\",encapsulation:i.Q.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(s.k)(t):t;return he(this._renderer,null,e,\"register\",[n]),new le(e,this._renderer)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.G),i.ac(ae.d))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();class le extends s.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ce(this._id,t,e||{},this._renderer)}}class ce{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command(\"create\",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return he(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen(\"done\",t)}onStart(t){this._listen(\"start\",t)}onDestroy(t){this._listen(\"destroy\",t)}init(){this._command(\"init\")}hasStarted(){return this._started}play(){this._command(\"play\"),this._started=!0}pause(){this._command(\"pause\")}restart(){this._command(\"restart\")}finish(){this._command(\"finish\")}destroy(){this._command(\"destroy\")}reset(){this._command(\"reset\")}setPosition(t){this._command(\"setPosition\",t)}getPosition(){return 0}}function he(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}let de=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new ue(\"\",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+\"-\"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new pe(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.G),i.ac(Ht),i.ac(i.A))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();class ue{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){\"@\"==e.charAt(0)&&\"@.disabled\"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class pe extends ue{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){\"@\"==e.charAt(0)?\".\"==e.charAt(1)&&\"@.disabled\"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(\"@\"==e.charAt(0)){const i=function(t){switch(t){case\"body\":return document.body;case\"document\":return document;case\"window\":return window;default:return t}}(t);let r=e.substr(1),s=\"\";return\"@\"!=r.charAt(0)&&([r,s]=function(t){const e=t.indexOf(\".\");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let me=(()=>{class t extends Ht{constructor(t,e,n){super(t.body,e,n)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(ae.d),i.ac(S),i.ac(ft))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const fe=new i.r(\"AnimationModuleType\"),ge=[{provide:S,useFactory:function(){return\"function\"==typeof se()?new re:new ne}},{provide:fe,useValue:\"BrowserAnimations\"},{provide:s.b,useClass:oe},{provide:ft,useFactory:function(){return new gt}},{provide:Ht,useClass:me},{provide:i.G,useFactory:function(t,e,n){return new de(t,e,n)},deps:[r.h,Ht,i.A]}];let be=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:ge,imports:[r.a]}),t})()},Rw1y:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return U})),n.d(e,\"b\",(function(){return Q})),n.d(e,\"c\",(function(){return Y}));var i=n(\"fXoL\"),r=n(\"3Pt+\"),s=n(\"R0Ic\"),a=n(\"ofXK\"),o=n(\"bv9b\"),l=n(\"FKr1\"),c=n(\"Wp6s\"),h=n(\"NFeN\");function d(t,e){1&t&&i.Rb(0,\"div\"),2&t&&i.oc(\"@flipY\",void 0)}function u(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function p(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function m(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,d,1,1,\"div\",2),i.Hc(2,u,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,p,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneLowerCaseLetter)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.lowerCaseCriteriaMsg)}}function f(t,e){1&t&&i.Rb(0,\"div\")}function g(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function b(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function _(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,f,1,0,\"div\",2),i.Hc(2,g,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,b,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneUpperCaseLetter)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.upperCaseCriteriaMsg)}}function y(t,e){1&t&&i.Rb(0,\"div\")}function v(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function w(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function x(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,y,1,0,\"div\",2),i.Hc(2,v,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,w,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneDigit)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.digitsCriteriaMsg)}}function C(t,e){1&t&&i.Rb(0,\"div\")}function k(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function O(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function S(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,C,1,0,\"div\",2),i.Hc(2,k,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,O,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastOneSpecialChar)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.specialCharsCriteriaMsg)}}function M(t,e){1&t&&i.Rb(0,\"div\")}function P(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function E(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function A(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,M,1,0,\"div\",2),i.Hc(2,P,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,E,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtLeastMinChars)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.minCharsCriteriaMsg)}}function D(t,e){1&t&&i.Rb(0,\"div\")}function R(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function T(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function I(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,D,1,0,\"div\",2),i.Hc(2,R,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,T,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",n.passwordComponent.containAtCustomChars)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Kc(n.customCharsCriteriaMsg)}}function j(t,e){1&t&&i.Rb(0,\"div\")}function L(t,e){1&t&&(i.Wb(0,\"mat-icon\",5),i.Jc(1,\"done\"),i.Vb()),2&t&&i.oc(\"@positiveState\",void 0)}function F(t,e){1&t&&(i.Wb(0,\"mat-icon\",6),i.Jc(1,\"error\"),i.Vb()),2&t&&i.oc(\"@negativeState\",void 0)}function N(t,e){if(1&t&&(i.Wb(0,\"div\",1),i.Hc(1,j,1,0,\"div\",2),i.Hc(2,L,2,1,\"ng-template\",null,3,i.Ic),i.Hc(4,F,2,1,\"ng-template\",null,4,i.Ic),i.Wb(6,\"span\"),i.Jc(7),i.Vb(),i.Vb()),2&t){const t=i.wc(3),e=i.wc(5),n=i.ic();i.oc(\"@items\",void 0),i.Db(1),i.oc(\"ngIf\",100===n.passwordComponent.strength)(\"ngIfThen\",t)(\"ngIfElse\",e),i.Db(6),i.Lc(\"Password's strength = \",n.passwordComponent.strength,\" %100\")}}var V=function(t){return t.primary=\"primary\",t.accent=\"accent\",t.warn=\"warn\",t}({}),z=function(t){return t.at_least_eight_chars=\"minChar\",t.at_least_one_lower_case_char=\"lowerCase\",t.at_least_one_upper_case_char=\"upperCase\",t.at_least_one_digit_char=\"digit\",t.at_least_one_special_char=\" specialChar\",t.at_custom_chars=\"customChars\",t}({});class B{isUndefinedOrEmpty(t){}validate(t,e){return n=>{if(this.isUndefinedOrEmpty(n),!e.test(n.value)){const i={};return i[t]={actualValue:n.value,requiredPattern:e},i}}}confirm(t){return e=>{if(this.isUndefinedOrEmpty(e),e.value!==t)return{notConfirmed:{password:t,passwordConfirmation:e.value}}}}}const H={lowerCase:RegExp(/^(?=.*?[a-z])/),upperCase:RegExp(/^(?=.*?[A-Z])/),digit:RegExp(/^(?=.*?[0-9])/),specialChar:RegExp(/^(?=.*?[\" !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\"])/)};let U=(()=>{let t=class{constructor(){this.enableLengthRule=!0,this.enableLowerCaseLetterRule=!0,this.enableUpperCaseLetterRule=!0,this.enableDigitRule=!0,this.enableSpecialCharRule=!0,this.min=8,this.max=30,this.warnThreshold=21,this.accentThreshold=81,this.onStrengthChanged=new i.o,this.criteriaMap=new Map,this.passwordFormControl=new r.c,this.passwordConfirmationFormControl=new r.c,this.validatorsArray=[],this._strength=0,this.matPasswordStrengthValidator=new B}ngOnInit(){this.setRulesAndValidators(),this.password&&this.calculatePasswordStrength()}ngOnChanges(t){t.externalError&&t.externalError.firstChange||t.password.isFirstChange()||(t.externalError&&t.externalError.currentValue?this._color=V.warn:t.password.previousValue!==t.password.currentValue||t.password.firstChange?this.password&&this.password.length>0?this.calculatePasswordStrength():this.reset():this.calculatePasswordStrength())}get strength(){return this._strength?this._strength:0}get color(){return this._strength<this.warnThreshold?V.warn:this._strength<this.accentThreshold?V.accent:V.primary}_containAtLeastMinChars(){return this.containAtLeastMinChars=this.password.length>=this.min,this.containAtLeastMinChars}_containAtLeastOneLowerCaseLetter(){return this.containAtLeastOneLowerCaseLetter=this.criteriaMap.get(z.at_least_one_lower_case_char).test(this.password),this.containAtLeastOneLowerCaseLetter}_containAtLeastOneUpperCaseLetter(){return this.containAtLeastOneUpperCaseLetter=this.criteriaMap.get(z.at_least_one_upper_case_char).test(this.password),this.containAtLeastOneUpperCaseLetter}_containAtLeastOneDigit(){return this.containAtLeastOneDigit=this.criteriaMap.get(z.at_least_one_digit_char).test(this.password),this.containAtLeastOneDigit}_containAtLeastOneSpecialChar(){return this.containAtLeastOneSpecialChar=this.criteriaMap.get(z.at_least_one_special_char).test(this.password),this.containAtLeastOneSpecialChar}_containCustomChars(){return this.containAtCustomChars=this.criteriaMap.get(z.at_custom_chars).test(this.password),this.containAtCustomChars}parseCustomValidatorsRegex(t=this.customValidator){return this.customValidator instanceof RegExp?this.customValidator:\"string\"==typeof this.customValidator?RegExp(this.customValidator):void 0}setRulesAndValidators(){this.validatorsArray=[],this.criteriaMap=new Map,this.passwordConfirmationFormControl.setValidators(r.x.compose([r.x.required,this.matPasswordStrengthValidator.confirm(this.password)])),this.validatorsArray.push(r.x.required),this.enableLengthRule&&(this.criteriaMap.set(z.at_least_eight_chars,RegExp(`^.{${this.min},${this.max}}$`)),this.validatorsArray.push(r.x.minLength(this.min)),this.validatorsArray.push(r.x.maxLength(this.max))),this.enableLowerCaseLetterRule&&(this.criteriaMap.set(z.at_least_one_lower_case_char,H.lowerCase),this.validatorsArray.push(r.x.pattern(H.lowerCase))),this.enableUpperCaseLetterRule&&(this.criteriaMap.set(z.at_least_one_upper_case_char,H.upperCase),this.validatorsArray.push(r.x.pattern(H.upperCase))),this.enableDigitRule&&(this.criteriaMap.set(z.at_least_one_digit_char,H.digit),this.validatorsArray.push(r.x.pattern(H.digit))),this.enableSpecialCharRule&&(this.criteriaMap.set(z.at_least_one_special_char,H.specialChar),this.validatorsArray.push(r.x.pattern(H.specialChar))),this.customValidator&&(this.criteriaMap.set(z.at_custom_chars,this.parseCustomValidatorsRegex()),this.validatorsArray.push(r.x.pattern(this.parseCustomValidatorsRegex()))),this.criteriaMap.forEach((t,e)=>{this.validatorsArray.push(this.matPasswordStrengthValidator.validate(e,t))}),this.passwordFormControl.setValidators(r.x.compose([...this.validatorsArray])),this.Validators=r.x.compose([...this.validatorsArray])}calculatePasswordStrength(){const t=[],e=100/this.criteriaMap.size;t.push(!!this.enableLengthRule&&this._containAtLeastMinChars(),!!this.enableLowerCaseLetterRule&&this._containAtLeastOneLowerCaseLetter(),!!this.enableUpperCaseLetterRule&&this._containAtLeastOneUpperCaseLetter(),!!this.enableDigitRule&&this._containAtLeastOneDigit(),!!this.enableSpecialCharRule&&this._containAtLeastOneSpecialChar(),!!this.customValidator&&this._containCustomChars()),this._strength=t.filter(t=>t).length*e,this.onStrengthChanged.emit(this.strength),this.setRulesAndValidators()}reset(){this._strength=0,this.containAtLeastMinChars=this.containAtLeastOneLowerCaseLetter=this.containAtLeastOneUpperCaseLetter=this.containAtLeastOneDigit=this.containAtCustomChars=this.containAtLeastOneSpecialChar=!1}};return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-password-strength\"]],inputs:{enableLengthRule:\"enableLengthRule\",enableLowerCaseLetterRule:\"enableLowerCaseLetterRule\",enableUpperCaseLetterRule:\"enableUpperCaseLetterRule\",enableDigitRule:\"enableDigitRule\",enableSpecialCharRule:\"enableSpecialCharRule\",min:\"min\",max:\"max\",warnThreshold:\"warnThreshold\",accentThreshold:\"accentThreshold\",password:\"password\",externalError:\"externalError\",customValidator:\"customValidator\"},outputs:{onStrengthChanged:\"onStrengthChanged\"},exportAs:[\"matPasswordStrength\"],features:[i.Bb()],decls:1,vars:2,consts:[[\"mode\",\"determinate\",3,\"color\",\"value\"]],template:function(t,e){1&t&&i.Rb(0,\"mat-progress-bar\",0),2&t&&i.oc(\"color\",e.color)(\"value\",e.strength)},directives:[o.a],styles:[\".green   [_nghost-%COMP%]  .mat-progress-bar.mat-primary .mat-progress-bar-fill::after{background-color:#43a047}\"],changeDetection:0}),t})();const q=Object(s.g)(Object(s.e)(\"{{ timing }}s {{ delay }}s\",Object(s.i)([Object(s.n)({transform:\"translate3d(0, 0, 0)\",offset:0}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.1}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.2}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.3}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.4}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.5}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.6}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.7}),Object(s.n)({transform:\"translate3d(10px, 0, 0)\",offset:.8}),Object(s.n)({transform:\"translate3d(-10px, 0, 0)\",offset:.9}),Object(s.n)({transform:\"translate3d(0, 0, 0)\",offset:1})])),{params:{timing:1,delay:0}});let Q=(()=>{let t=class{constructor(){this.enableScoreInfo=!1,this.lowerCaseCriteriaMsg=\"contains at least one lower character\",this.upperCaseCriteriaMsg=\"contains at least one upper character\",this.digitsCriteriaMsg=\"contains at least one digit character\",this.specialCharsCriteriaMsg=\"contains at least one special character\",this.customCharsCriteriaMsg=\"contains at least one custom character\"}ngOnInit(){this.minCharsCriteriaMsg||(this.minCharsCriteriaMsg=`contains at least ${this.passwordComponent.min} characters`)}};return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-password-strength-info\"]],inputs:{enableScoreInfo:\"enableScoreInfo\",lowerCaseCriteriaMsg:\"lowerCaseCriteriaMsg\",upperCaseCriteriaMsg:\"upperCaseCriteriaMsg\",digitsCriteriaMsg:\"digitsCriteriaMsg\",specialCharsCriteriaMsg:\"specialCharsCriteriaMsg\",customCharsCriteriaMsg:\"customCharsCriteriaMsg\",minCharsCriteriaMsg:\"minCharsCriteriaMsg\",passwordComponent:\"passwordComponent\"},exportAs:[\"matPasswordStrengthInfo\"],decls:9,vars:8,consts:[[\"class\",\"info-row\",4,\"ngIf\"],[1,\"info-row\"],[4,\"ngIf\",\"ngIfThen\",\"ngIfElse\"],[\"done\",\"\"],[\"error\",\"\"],[\"color\",\"primary\"],[\"color\",\"warn\"]],template:function(t,e){1&t&&(i.Wb(0,\"mat-card\"),i.Wb(1,\"mat-card-content\"),i.Hc(2,m,8,5,\"div\",0),i.Hc(3,_,8,5,\"div\",0),i.Hc(4,x,8,5,\"div\",0),i.Hc(5,S,8,5,\"div\",0),i.Hc(6,A,8,5,\"div\",0),i.Hc(7,I,8,5,\"div\",0),i.Hc(8,N,8,5,\"div\",0),i.Vb(),i.Vb()),2&t&&(i.oc(\"@list\",void 0),i.Db(2),i.oc(\"ngIf\",e.passwordComponent.enableLowerCaseLetterRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableUpperCaseLetterRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableDigitRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableSpecialCharRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.enableLengthRule),i.Db(1),i.oc(\"ngIf\",e.passwordComponent.customValidator),i.Db(1),i.oc(\"ngIf\",e.enableScoreInfo))},directives:[c.a,c.b,a.l,h.a],styles:[\"mat-card[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;box-sizing:border-box;display:-webkit-box;display:flex;place-content:stretch center;-webkit-box-align:stretch;align-items:stretch;-webkit-box-flex:1;flex:1 1 0}mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;display:-webkit-box;display:flex;max-width:100%;place-content:stretch flex-start;-webkit-box-align:stretch;align-items:stretch}mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:10px}mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]   .info-row[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;box-sizing:border-box;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}\"],data:{animation:[Object(s.p)(\"list\",[Object(s.o)(\":enter\",[Object(s.j)(\"@items\",Object(s.l)(300,Object(s.f)()))])]),Object(s.p)(\"items\",[Object(s.o)(\":enter\",[Object(s.n)({transform:\"scale(0.5)\",opacity:0}),Object(s.e)(\"1s cubic-bezier(.8,-0.6,0.2,1.5)\",Object(s.n)({transform:\"scale(1)\",opacity:1}))]),Object(s.o)(\":leave\",[Object(s.n)({transform:\"scale(1)\",opacity:1,height:\"*\"}),Object(s.e)(\"1s cubic-bezier(.8,-0.6,0.2,1.5)\",Object(s.n)({transform:\"scale(0.5)\",opacity:0,height:\"0px\",margin:\"0px\"}))])]),Object(s.p)(\"positiveState\",[Object(s.o)(\":enter\",[Object(s.n)({\"backface-visibility\":\"visible\"}),Object(s.e)(\"{{ timing }}s {{ delay }}s ease-in\",Object(s.i)([Object(s.n)({opacity:0,transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)\",offset:0}),Object(s.n)({opacity:1,transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)\",offset:.4}),Object(s.n)({transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)\",offset:.6}),Object(s.n)({transform:\"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)\",offset:.8}),Object(s.n)({transform:\"perspective(400px) rotate3d(0, 0, 0, 0)\",offset:1})]))],{params:{timing:1,delay:0,rotateX:1,rotateY:0}})]),Object(s.p)(\"negativeState\",[Object(s.o)(\":enter\",Object(s.q)(q))])]}}),t})();var W;let Y=(()=>{let t=W=class{static forRoot(){return{ngModule:W,providers:[]}}};return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[a.c,o.b,c.e,h.b,l.q]]}),t})()},STbY:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return T})),n.d(e,\"b\",(function(){return Q})),n.d(e,\"c\",(function(){return U})),n.d(e,\"d\",(function(){return V}));var i=n(\"u47x\"),r=n(\"8LU1\"),s=n(\"FtGj\"),a=n(\"fXoL\"),o=n(\"XNiG\"),l=n(\"quSY\"),c=n(\"VRyK\"),h=n(\"LRne\"),d=n(\"7Hc7\"),u=n(\"JX91\"),p=n(\"eIep\"),m=n(\"IzEk\"),f=n(\"pLZG\"),g=n(\"1G5W\"),b=n(\"3E0/\"),_=n(\"R0Ic\"),y=n(\"+rOU\"),v=n(\"ofXK\"),w=n(\"FKr1\"),x=n(\"rDax\"),C=n(\"nLfN\"),k=n(\"cH1L\");const O=[\"mat-menu-item\",\"\"],S=[\"*\"];function M(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",0),a.ec(\"keydown\",(function(e){return a.zc(t),a.ic()._handleKeydown(e)}))(\"click\",(function(){return a.zc(t),a.ic().closed.emit(\"click\")}))(\"@transformMenu.start\",(function(e){return a.zc(t),a.ic()._onAnimationStart(e)}))(\"@transformMenu.done\",(function(e){return a.zc(t),a.ic()._onAnimationDone(e)})),a.Wb(1,\"div\",1),a.mc(2),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"id\",t.panelId)(\"ngClass\",t._classList)(\"@transformMenu\",t._panelAnimationState),a.Eb(\"aria-label\",t.ariaLabel||null)(\"aria-labelledby\",t.ariaLabelledby||null)(\"aria-describedby\",t.ariaDescribedby||null)}}const P={transformMenu:Object(_.p)(\"transformMenu\",[Object(_.m)(\"void\",Object(_.n)({opacity:0,transform:\"scale(0.8)\"})),Object(_.o)(\"void => enter\",Object(_.h)([Object(_.j)(\".mat-menu-content, .mat-mdc-menu-content\",Object(_.e)(\"100ms linear\",Object(_.n)({opacity:1}))),Object(_.e)(\"120ms cubic-bezier(0, 0, 0.2, 1)\",Object(_.n)({transform:\"scale(1)\"}))])),Object(_.o)(\"* => void\",Object(_.e)(\"100ms 25ms linear\",Object(_.n)({opacity:0})))]),fadeInItems:Object(_.p)(\"fadeInItems\",[Object(_.m)(\"showing\",Object(_.n)({opacity:1})),Object(_.o)(\"void => *\",[Object(_.n)({opacity:0}),Object(_.e)(\"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\")])])};let E=(()=>{class t{constructor(t,e,n,i,r,s,a){this._template=t,this._componentFactoryResolver=e,this._appRef=n,this._injector=i,this._viewContainerRef=r,this._document=s,this._changeDetectorRef=a,this._attached=new o.a}attach(t={}){this._portal||(this._portal=new y.g(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new y.d(this._document.createElement(\"div\"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.M),a.Qb(a.j),a.Qb(a.g),a.Qb(a.s),a.Qb(a.P),a.Qb(v.d),a.Qb(a.h))},t.\\u0275dir=a.Lb({type:t,selectors:[[\"ng-template\",\"matMenuContent\",\"\"]]}),t})();const A=new a.r(\"MAT_MENU_PANEL\");class D{}const R=Object(w.u)(Object(w.v)(D));let T=(()=>{class t extends R{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role=\"menuitem\",this._hovered=new o.a,this._focused=new o.a,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),i&&i.addItem&&i.addItem(this),this._document=e}focus(t=\"program\",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?\"-1\":\"0\"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n=\"\";if(t.childNodes){const i=t.childNodes.length;for(let r=0;r<i;r++)t.childNodes[r].nodeType===e&&(n+=t.childNodes[r].textContent)}return n.trim()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(v.d),a.Qb(i.h),a.Qb(A,8))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"\",\"mat-menu-item\",\"\"]],hostAttrs:[1,\"mat-focus-indicator\"],hostVars:10,hostBindings:function(t,e){1&t&&a.ec(\"click\",(function(t){return e._checkDisabled(t)}))(\"mouseenter\",(function(){return e._handleMouseEnter()})),2&t&&(a.Eb(\"role\",e.role)(\"tabindex\",e._getTabIndex())(\"aria-disabled\",e.disabled.toString())(\"disabled\",e.disabled||null),a.Hb(\"mat-menu-item\",!0)(\"mat-menu-item-highlighted\",e._highlighted)(\"mat-menu-item-submenu-trigger\",e._triggersSubmenu))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",role:\"role\"},exportAs:[\"matMenuItem\"],features:[a.Ab],attrs:O,ngContentSelectors:S,decls:2,vars:2,consts:[[\"matRipple\",\"\",1,\"mat-menu-ripple\",3,\"matRippleDisabled\",\"matRippleTrigger\"]],template:function(t,e){1&t&&(a.nc(),a.mc(0),a.Rb(1,\"div\",0)),2&t&&(a.Db(1),a.oc(\"matRippleDisabled\",e.disableRipple||e.disabled)(\"matRippleTrigger\",e._getHostElement()))},directives:[w.p],encapsulation:2,changeDetection:0}),t})();const I=new a.r(\"mat-menu-default-options\",{providedIn:\"root\",factory:function(){return{overlapTrigger:!1,xPosition:\"after\",yPosition:\"below\",backdropClass:\"cdk-overlay-transparent-backdrop\"}}});let j=0,L=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new a.E,this._tabSubscription=l.a.EMPTY,this._classList={},this._panelAnimationState=\"void\",this._animationDone=new o.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new a.o,this.close=this.closed,this.panelId=`mat-menu-panel-${j++}`}get xPosition(){return this._xPosition}set xPosition(t){\"before\"!==t&&\"after\"!==t&&function(){throw Error('xPosition value must be either \\'before\\' or after\\'.\\n      Example: <mat-menu xPosition=\"before\" #menu=\"matMenu\"><\/mat-menu>')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){\"above\"!==t&&\"below\"!==t&&function(){throw Error('yPosition value must be either \\'above\\' or below\\'.\\n      Example: <mat-menu yPosition=\"above\" #menu=\"matMenu\"><\/mat-menu>')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(r.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(r.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(\" \").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(\" \").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className=\"\")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit(\"tab\")),this._directDescendantItems.changes.pipe(Object(u.a)(this._directDescendantItems),Object(p.a)(t=>Object(c.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(u.a)(this._directDescendantItems),Object(p.a)(t=>Object(c.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case s.e:Object(s.q)(t)||(t.preventDefault(),this.closed.emit(\"keydown\"));break;case s.g:this.parentMenu&&\"ltr\"===this.direction&&this.closed.emit(\"keydown\");break;case s.k:this.parentMenu&&\"rtl\"===this.direction&&this.closed.emit(\"keydown\");break;case s.f:case s.c:Object(s.q)(t)||(e===s.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==s.n&&e!==s.b||n.setFocusOrigin(\"keyboard\"),n.onKeydown(t)}}focusFirstItem(t=\"program\"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if(\"menu\"===t.getAttribute(\"role\")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,n=Object.keys(this._classList).find(t=>t.startsWith(\"mat-elevation-z\"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n[\"mat-menu-before\"]=\"before\"===t,n[\"mat-menu-after\"]=\"after\"===t,n[\"mat-menu-above\"]=\"above\"===e,n[\"mat-menu-below\"]=\"below\"===e}_startAnimation(){this._panelAnimationState=\"enter\"}_resetAnimation(){this._panelAnimationState=\"void\"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,\"enter\"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(u.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(a.A),a.Qb(I))},t.\\u0275dir=a.Lb({type:t,contentQueries:function(t,e,n){var i;1&t&&(a.Jb(n,E,!0),a.Jb(n,T,!0),a.Jb(n,T,!1)),2&t&&(a.vc(i=a.fc())&&(e.lazyContent=i.first),a.vc(i=a.fc())&&(e._allItems=i),a.vc(i=a.fc())&&(e.items=i))},viewQuery:function(t,e){var n;1&t&&a.Pc(a.M,!0),2&t&&a.vc(n=a.fc())&&(e.templateRef=n.first)},inputs:{backdropClass:\"backdropClass\",xPosition:\"xPosition\",yPosition:\"yPosition\",overlapTrigger:\"overlapTrigger\",hasBackdrop:\"hasBackdrop\",panelClass:[\"class\",\"panelClass\"],classList:\"classList\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],ariaDescribedby:[\"aria-describedby\",\"ariaDescribedby\"]},outputs:{closed:\"closed\",close:\"close\"}}),t})(),F=(()=>{class t extends L{}return t.\\u0275fac=function(e){return N(e||t)},t.\\u0275dir=a.Lb({type:t,features:[a.Ab]}),t})();const N=a.Yb(F);let V=(()=>{class t extends F{constructor(t,e,n){super(t,e,n)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(a.A),a.Qb(I))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-menu\"]],exportAs:[\"matMenu\"],features:[a.Cb([{provide:A,useExisting:F},{provide:F,useExisting:t}]),a.Ab],ngContentSelectors:S,decls:1,vars:0,consts:[[\"tabindex\",\"-1\",\"role\",\"menu\",1,\"mat-menu-panel\",3,\"id\",\"ngClass\",\"keydown\",\"click\"],[1,\"mat-menu-content\"]],template:function(t,e){1&t&&(a.nc(),a.Hc(0,M,3,6,\"ng-template\"))},directives:[v.j],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:\"\";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\\n'],encapsulation:2,data:{animation:[P.transformMenu,P.fadeInItems]},changeDetection:0}),t})();const z=new a.r(\"mat-menu-scroll-strategy\"),B={provide:z,deps:[x.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},H=Object(C.f)({passive:!0});let U=(()=>{class t{constructor(t,e,n,i,r,s,o,c){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=s,this._dir=o,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.a.EMPTY,this._hoverSubscription=l.a.EMPTY,this._menuCloseSubscription=l.a.EMPTY,this._handleTouchStart=()=>this._openedBy=\"touch\",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new a.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new a.o,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener(\"touchstart\",this._handleTouchStart,H),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),\"click\"!==t&&\"tab\"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener(\"touchstart\",this._handleTouchStart,H),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&\"rtl\"===this._dir.value?\"rtl\":\"ltr\"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof F&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t=\"program\",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof F?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(f.a)(t=>\"void\"===t.toState),Object(m.a)(1),Object(g.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||\"program\")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\\n\\n    Example:\\n      <mat-menu #menu=\"matMenu\"><\/mat-menu>\\n      <button [matMenuTriggerFor]=\"menu\"><\/button>')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new x.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(\".mat-menu-panel, .mat-mdc-menu-panel\"),backdropClass:this.menu.backdropClass||\"cdk-overlay-transparent-backdrop\",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses(\"start\"===t.connectionPair.overlayX?\"after\":\"before\",\"top\"===t.connectionPair.overlayY?\"below\":\"above\")})}_setPosition(t){let[e,n]=\"before\"===this.menu.xPosition?[\"end\",\"start\"]:[\"start\",\"end\"],[i,r]=\"above\"===this.menu.yPosition?[\"bottom\",\"top\"]:[\"top\",\"bottom\"],[s,a]=[i,r],[o,l]=[e,n],c=0;this.triggersSubmenu()?(l=e=\"before\"===this.menu.xPosition?\"start\":\"end\",n=o=\"end\"===e?\"start\":\"end\",c=\"bottom\"===i?8:-8):this.menu.overlapTrigger||(s=\"top\"===i?\"bottom\":\"top\",a=\"top\"===r?\"bottom\":\"top\"),t.withPositions([{originX:e,originY:s,overlayX:o,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:a,overlayX:o,overlayY:r,offsetY:-c},{originX:n,originY:a,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(h.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(f.a)(t=>t!==this._menuItemInstance),Object(f.a)(()=>this._menuOpen)):Object(h.a)();return Object(c.a)(t,n,i,e)}_handleMousedown(t){Object(i.l)(t)||(this._openedBy=0===t.button?\"mouse\":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===s.k&&\"ltr\"===this.dir||e===s.g&&\"rtl\"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(f.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(b.a)(0,d.a)).subscribe(()=>{this._openedBy=\"mouse\",this.menu instanceof F&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(m.a)(1),Object(b.a)(0,d.a),Object(g.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new y.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(x.c),a.Qb(a.l),a.Qb(a.P),a.Qb(z),a.Qb(F,8),a.Qb(T,10),a.Qb(k.b,8),a.Qb(i.h))},t.\\u0275dir=a.Lb({type:t,selectors:[[\"\",\"mat-menu-trigger-for\",\"\"],[\"\",\"matMenuTriggerFor\",\"\"]],hostAttrs:[\"aria-haspopup\",\"true\",1,\"mat-menu-trigger\"],hostVars:2,hostBindings:function(t,e){1&t&&a.ec(\"mousedown\",(function(t){return e._handleMousedown(t)}))(\"keydown\",(function(t){return e._handleKeydown(t)}))(\"click\",(function(t){return e._handleClick(t)})),2&t&&a.Eb(\"aria-expanded\",e.menuOpen||null)(\"aria-controls\",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:[\"matMenuTriggerRestoreFocus\",\"restoreFocus\"],_deprecatedMatMenuTriggerFor:[\"mat-menu-trigger-for\",\"_deprecatedMatMenuTriggerFor\"],menu:[\"matMenuTriggerFor\",\"menu\"],menuData:[\"matMenuTriggerData\",\"menuData\"]},outputs:{menuOpened:\"menuOpened\",onMenuOpen:\"onMenuOpen\",menuClosed:\"menuClosed\",onMenuClose:\"onMenuClose\"},exportAs:[\"matMenuTrigger\"]}),t})(),q=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},providers:[B],imports:[w.f]}),t})(),Q=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},providers:[B],imports:[[v.c,w.f,w.q,x.f,q],q]}),t})()},SeVD:function(t,e,n){\"use strict\";var i=n(\"ngJS\"),r=n(\"NJ4a\"),s=n(\"Lhse\"),a=n(\"kJWO\"),o=n(\"I55L\"),l=n(\"c2HN\"),c=n(\"XoHu\");n.d(e,\"a\",(function(){return h}));const h=t=>{if(t&&\"function\"==typeof t[a.a])return h=t,t=>{const e=h[a.a]();if(\"function\"!=typeof e.subscribe)throw new TypeError(\"Provided object does not correctly implement Symbol.observable\");return e.subscribe(t)};if(Object(o.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&\"function\"==typeof t[s.a])return e=t,t=>{const n=e[s.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return\"function\"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?\"an invalid object\":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+\" You can provide an Observable, Promise, Array, or Iterable.\")}var e,n,h}},SpAZ:function(t,e,n){\"use strict\";function i(t){return t}n.d(e,\"a\",(function(){return i}))},TU8p:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"u47x\");n(\"8LU1\"),n(\"R1ws\");let a=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[s.a,r.f]]}),t})()},TypT:function(t,e){e.encode=function(t){var e=\"\";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+=\"&\"),e+=encodeURIComponent(n)+\"=\"+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split(\"&\"),i=0,r=n.length;i<r;i++){var s=n[i].split(\"=\");e[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return e}},UXun:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"jtHE\");function r(t,e,n){let r;return r=t&&\"object\"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,a,o=0,l=!1,c=!1;return function(h){o++,s&&!l||(l=!1,s=new i.a(t,e,r),a=h.subscribe({next(t){s.next(t)},error(t){l=!0,s.error(t)},complete(){c=!0,a=void 0,s.complete()}}));const d=s.subscribe(this);this.add(()=>{o--,d.unsubscribe(),a&&!c&&n&&0===o&&(a.unsubscribe(),a=void 0,s=void 0)})}}(r))}},Uxeu:function(t,e){var n=/^(?:(?![^:@]+:[^:@\\/]*@)(http|https|ws|wss):\\/\\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\\/?#]*)(?::(\\d*))?)(((\\/(?:[^?#](?![^?#\\/]*\\.[^?#\\/.]+(?:[?#]|$)))*\\/?)?([^?#\\/]*))(?:\\?([^#]*))?(?:#(.*))?)/,i=[\"source\",\"protocol\",\"authority\",\"userInfo\",\"user\",\"password\",\"host\",\"port\",\"relative\",\"path\",\"directory\",\"file\",\"query\",\"anchor\"];t.exports=function(t){var e=t,r=t.indexOf(\"[\"),s=t.indexOf(\"]\");-1!=r&&-1!=s&&(t=t.substring(0,r)+t.substring(r,s).replace(/:/g,\";\")+t.substring(s,t.length));for(var a=n.exec(t||\"\"),o={},l=14;l--;)o[i[l]]=a[l]||\"\";return-1!=r&&-1!=s&&(o.source=e,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,\":\"),o.authority=o.authority.replace(\"[\",\"\").replace(\"]\",\"\").replace(/;/g,\":\"),o.ipv6uri=!0),o}},VRyK:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));var i=n(\"HDdC\"),r=n(\"z+Ro\"),s=n(\"bHdf\"),a=n(\"yCtX\");function o(...t){let e=Number.POSITIVE_INFINITY,n=null,o=t[t.length-1];return Object(r.a)(o)?(n=t.pop(),t.length>1&&\"number\"==typeof t[t.length-1]&&(e=t.pop())):\"number\"==typeof o&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(a.a)(t,n))}},Vo14:function(t,e,n){var i=n(\"5M3R\")(\"socket.io-parser\"),r=n(\"aKum\"),s=n(\"cD5x\"),a=n(\"ojuT\"),o=n(\"+SKG\");function l(){}e.protocol=4,e.types=[\"CONNECT\",\"DISCONNECT\",\"EVENT\",\"ACK\",\"ERROR\",\"BINARY_EVENT\",\"BINARY_ACK\"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=l,e.Decoder=d;var c=e.ERROR+'\"encode error\"';function h(t){var n=\"\"+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+\"-\"),t.nsp&&\"/\"!==t.nsp&&(n+=t.nsp+\",\"),null!=t.id&&(n+=t.id),null!=t.data){var r=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===r)return c;n+=r}return i(\"encoded %j as %s\",t,n),n}function d(){this.reconstructor=null}function u(t){this.reconPack=t,this.buffers=[]}function p(t){return{type:e.ERROR,data:\"parser error: \"+t}}l.prototype.encode=function(t,n){i(\"encoding packet %j\",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){s.removeBlobs(t,(function(t){var n=s.deconstructPacket(t),i=h(n.packet),r=n.buffers;r.unshift(i),e(r)}))}(t,n):n([h(t)])},r(d.prototype),d.prototype.add=function(t){var n;if(\"string\"==typeof t)n=function(t){var n=0,r={type:Number(t.charAt(0))};if(null==e.types[r.type])return p(\"unknown packet type \"+r.type);if(e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type){for(var s=\"\";\"-\"!==t.charAt(++n)&&(s+=t.charAt(n),n!=t.length););if(s!=Number(s)||\"-\"!==t.charAt(n))throw new Error(\"Illegal attachments\");r.attachments=Number(s)}if(\"/\"===t.charAt(n+1))for(r.nsp=\"\";++n&&\",\"!==(l=t.charAt(n))&&(r.nsp+=l,n!==t.length););else r.nsp=\"/\";var o=t.charAt(n+1);if(\"\"!==o&&Number(o)==o){for(r.id=\"\";++n;){var l;if(null==(l=t.charAt(n))||Number(l)!=l){--n;break}if(r.id+=t.charAt(n),n===t.length)break}r.id=Number(r.id)}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||r.type!==e.ERROR&&!a(c))return p(\"invalid payload\");r.data=c}return i(\"decoded %s as %j\",t,r),r}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new u(n),0===this.reconstructor.reconPack.attachments&&this.emit(\"decoded\",n)):this.emit(\"decoded\",n);else{if(!o(t)&&!t.base64)throw new Error(\"Unknown type: \"+t);if(!this.reconstructor)throw new Error(\"got binary data when not reconstructing a packet\");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit(\"decoded\",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},u.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=s.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},u.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},WLGk:function(t,e,n){var i=n(\"6C75\"),r=Object.prototype.toString,s=\"function\"==typeof Blob||\"undefined\"!=typeof Blob&&\"[object BlobConstructor]\"===r.call(Blob),a=\"function\"==typeof File||\"undefined\"!=typeof File&&\"[object FileConstructor]\"===r.call(File);t.exports=function t(e){if(!e||\"object\"!=typeof e)return!1;if(i(e)){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return!0;return!1}if(\"function\"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(e)||\"function\"==typeof ArrayBuffer&&e instanceof ArrayBuffer||s&&e instanceof Blob||a&&e instanceof File)return!0;if(e.toJSON&&\"function\"==typeof e.toJSON&&1===arguments.length)return t(e.toJSON(),!0);for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return!0;return!1}},WMd4:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"EY2u\"),r=n(\"LRne\"),s=n(\"z6cu\");let a=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue=\"N\"===t}observe(t){switch(this.kind){case\"N\":return t.next&&t.next(this.value);case\"E\":return t.error&&t.error(this.error);case\"C\":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case\"N\":return t&&t(this.value);case\"E\":return e&&e(this.error);case\"C\":return n&&n()}}accept(t,e,n){return t&&\"function\"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case\"N\":return Object(r.a)(this.value);case\"E\":return Object(s.a)(this.error);case\"C\":return Object(i.b)()}throw new Error(\"unexpected notification kind value\")}static createNext(e){return void 0!==e?new t(\"N\",e):t.undefinedValueNotification}static createError(e){return new t(\"E\",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t(\"C\"),t.undefinedValueNotification=new t(\"N\",void 0),t})()},Wm4p:function(t,e,n){var i,r=n(\"dkv/\"),s=n(\"WLGk\"),a=n(\"ypnn\"),o=n(\"zMFY\"),l=n(\"oIG/\");\"undefined\"!=typeof ArrayBuffer&&(i=n(\"g5Dd\"));var c=\"undefined\"!=typeof navigator&&/Android/i.test(navigator.userAgent),h=\"undefined\"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||h;e.protocol=3;var u=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=r(u),m={type:\"error\",data:\"parser error\"},f=n(\"14A5\");function g(t,e,n){for(var i=new Array(t.length),r=o(t.length,n),s=function(t,n,r){e(n,(function(e,n){i[t]=n,r(e,i)}))},a=0;a<t.length;a++)s(a,t[a],r)}e.encodePacket=function(t,n,i,r){\"function\"==typeof n&&(r=n,n=!1),\"function\"==typeof i&&(r=i,i=null);var s=void 0===t.data?void 0:t.data.buffer||t.data;if(\"undefined\"!=typeof ArrayBuffer&&s instanceof ArrayBuffer)return function(t,n,i){if(!n)return e.encodeBase64Packet(t,i);var r=t.data,s=new Uint8Array(r),a=new Uint8Array(1+r.byteLength);a[0]=u[t.type];for(var o=0;o<s.length;o++)a[o+1]=s[o];return i(a.buffer)}(t,n,r);if(void 0!==f&&s instanceof f)return function(t,n,i){if(!n)return e.encodeBase64Packet(t,i);if(d)return function(t,n,i){if(!n)return e.encodeBase64Packet(t,i);var r=new FileReader;return r.onload=function(){e.encodePacket({type:t.type,data:r.result},n,!0,i)},r.readAsArrayBuffer(t.data)}(t,n,i);var r=new Uint8Array(1);return r[0]=u[t.type],i(new f([r.buffer,t.data]))}(t,n,r);if(s&&s.base64)return function(t,n){return n(\"b\"+e.packets[t.type]+t.data.data)}(t,r);var a=u[t.type];return void 0!==t.data&&(a+=i?l.encode(String(t.data),{strict:!1}):String(t.data)),r(\"\"+a)},e.encodeBase64Packet=function(t,n){var i,r=\"b\"+e.packets[t.type];if(void 0!==f&&t.data instanceof f){var s=new FileReader;return s.onload=function(){var t=s.result.split(\",\")[1];n(r+t)},s.readAsDataURL(t.data)}try{i=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(c){for(var a=new Uint8Array(t.data),o=new Array(a.length),l=0;l<a.length;l++)o[l]=a[l];i=String.fromCharCode.apply(null,o)}return r+=btoa(i),n(r)},e.decodePacket=function(t,n,i){if(void 0===t)return m;if(\"string\"==typeof t){if(\"b\"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(i&&!1===(t=function(t){try{t=l.decode(t,{strict:!1})}catch(e){return!1}return t}(t)))return m;var r=t.charAt(0);return Number(r)==r&&p[r]?t.length>1?{type:p[r],data:t.substring(1)}:{type:p[r]}:m}r=new Uint8Array(t)[0];var s=a(t,1);return f&&\"blob\"===n&&(s=new f([s])),{type:p[r],data:s}},e.decodeBase64Packet=function(t,e){var n=p[t.charAt(0)];if(!i)return{type:n,data:{base64:!0,data:t.substr(1)}};var r=i.decode(t.substr(1));return\"blob\"===e&&f&&(r=new f([r])),{type:n,data:r}},e.encodePayload=function(t,n,i){\"function\"==typeof n&&(i=n,n=null);var r=s(t);return n&&r?f&&!d?e.encodePayloadAsBlob(t,i):e.encodePayloadAsArrayBuffer(t,i):t.length?void g(t,(function(t,i){e.encodePacket(t,!!r&&n,!1,(function(t){i(null,function(t){return t.length+\":\"+t}(t))}))}),(function(t,e){return i(e.join(\"\"))})):i(\"0:\")},e.decodePayload=function(t,n,i){if(\"string\"!=typeof t)return e.decodePayloadAsBinary(t,n,i);var r;if(\"function\"==typeof n&&(i=n,n=null),\"\"===t)return i(m,0,1);for(var s,a,o=\"\",l=0,c=t.length;l<c;l++){var h=t.charAt(l);if(\":\"===h){if(\"\"===o||o!=(s=Number(o)))return i(m,0,1);if(o!=(a=t.substr(l+1,s)).length)return i(m,0,1);if(a.length){if(r=e.decodePacket(a,n,!1),m.type===r.type&&m.data===r.data)return i(m,0,1);if(!1===i(r,l+s,c))return}l+=s,o=\"\"}else o+=h}return\"\"!==o?i(m,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){if(!t.length)return n(new ArrayBuffer(0));g(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){return n(null,t)}))}),(function(t,e){var i=e.reduce((function(t,e){var n;return t+(n=\"string\"==typeof e?e.length:e.byteLength).toString().length+n+2}),0),r=new Uint8Array(i),s=0;return e.forEach((function(t){var e=\"string\"==typeof t,n=t;if(e){for(var i=new Uint8Array(t.length),a=0;a<t.length;a++)i[a]=t.charCodeAt(a);n=i.buffer}r[s++]=e?0:1;var o=n.byteLength.toString();for(a=0;a<o.length;a++)r[s++]=parseInt(o[a]);for(r[s++]=255,i=new Uint8Array(n),a=0;a<i.length;a++)r[s++]=i[a]})),n(r.buffer)}))},e.encodePayloadAsBlob=function(t,n){g(t,(function(t,n){e.encodePacket(t,!0,!0,(function(t){var e=new Uint8Array(1);if(e[0]=1,\"string\"==typeof t){for(var i=new Uint8Array(t.length),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);t=i.buffer,e[0]=0}var s=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),a=new Uint8Array(s.length+1);for(r=0;r<s.length;r++)a[r]=parseInt(s[r]);if(a[s.length]=255,f){var o=new f([e.buffer,a.buffer,t]);n(null,o)}}))}),(function(t,e){return n(new f(e))}))},e.decodePayloadAsBinary=function(t,n,i){\"function\"==typeof n&&(i=n,n=null);for(var r=t,s=[];r.byteLength>0;){for(var o=new Uint8Array(r),l=0===o[0],c=\"\",h=1;255!==o[h];h++){if(c.length>310)return i(m,0,1);c+=o[h]}r=a(r,2+c.length),c=parseInt(c);var d=a(r,0,c);if(l)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(f){var u=new Uint8Array(d);for(d=\"\",h=0;h<u.length;h++)d+=String.fromCharCode(u[h])}s.push(d),r=a(r,c)}var p=s.length;s.forEach((function(t,r){i(e.decodePacket(t,n,!0),r,p)}))}},Wp6s:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return p})),n.d(e,\"b\",(function(){return h})),n.d(e,\"c\",(function(){return m})),n.d(e,\"d\",(function(){return u})),n.d(e,\"e\",(function(){return f})),n.d(e,\"f\",(function(){return d}));var i=n(\"R1ws\"),r=n(\"FKr1\"),s=n(\"fXoL\");const a=[\"*\",[[\"mat-card-footer\"]]],o=[\"*\",\"mat-card-footer\"],l=[[[\"\",\"mat-card-avatar\",\"\"],[\"\",\"matCardAvatar\",\"\"]],[[\"mat-card-title\"],[\"mat-card-subtitle\"],[\"\",\"mat-card-title\",\"\"],[\"\",\"mat-card-subtitle\",\"\"],[\"\",\"matCardTitle\",\"\"],[\"\",\"matCardSubtitle\",\"\"]],\"*\"],c=[\"[mat-card-avatar], [matCardAvatar]\",\"mat-card-title, mat-card-subtitle,\\n      [mat-card-title], [mat-card-subtitle],\\n      [matCardTitle], [matCardSubtitle]\",\"*\"];let h=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-card-content\"],[\"\",\"mat-card-content\",\"\"],[\"\",\"matCardContent\",\"\"]],hostAttrs:[1,\"mat-card-content\"]}),t})(),d=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-card-title\"],[\"\",\"mat-card-title\",\"\"],[\"\",\"matCardTitle\",\"\"]],hostAttrs:[1,\"mat-card-title\"]}),t})(),u=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"\",\"mat-card-image\",\"\"],[\"\",\"matCardImage\",\"\"]],hostAttrs:[1,\"mat-card-image\"]}),t})(),p=(()=>{class t{constructor(t){this._animationMode=t}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(i.a,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-card\"]],hostAttrs:[1,\"mat-card\",\"mat-focus-indicator\"],hostVars:2,hostBindings:function(t,e){2&t&&s.Hb(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode)},exportAs:[\"matCard\"],ngContentSelectors:o,decls:2,vars:0,template:function(t,e){1&t&&(s.nc(a),s.mc(0),s.mc(1,1))},styles:[\".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\\n\"],encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-card-header\"]],hostAttrs:[1,\"mat-card-header\"],ngContentSelectors:c,decls:4,vars:0,consts:[[1,\"mat-card-header-text\"]],template:function(t,e){1&t&&(s.nc(l),s.mc(0),s.Wb(1,\"div\",0),s.mc(2,1),s.Vb(),s.mc(3,2))},encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},XNiG:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return c})),n.d(e,\"a\",(function(){return h}));var i=n(\"HDdC\"),r=n(\"7o/Q\"),s=n(\"quSY\"),a=n(\"9ppp\"),o=n(\"Ylt2\"),l=n(\"2QA8\");class c extends r.a{constructor(t){super(t),this.destination=t}}let h=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new d(this,this);return e.operator=t,e}next(t){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].next(t)}}error(t){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new a.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new a.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new a.a;return this.hasError?(t.error(this.thrownError),s.a.EMPTY):this.isStopped?(t.complete(),s.a.EMPTY):(this.observers.push(t),new o.a(this,t))}asObservable(){const t=new i.a;return t.source=this,t}}return t.create=(t,e)=>new d(t,e),t})();class d extends h{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.a.EMPTY}}},XhcP:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return B})),n.d(e,\"b\",(function(){return U})),n.d(e,\"c\",(function(){return z})),n.d(e,\"d\",(function(){return Q}));var i=n(\"nLfN\"),r=n(\"vxfF\"),s=n(\"ofXK\"),a=n(\"fXoL\"),o=n(\"FKr1\"),l=n(\"8LU1\"),c=n(\"FtGj\"),h=n(\"XNiG\"),d=n(\"xgIS\"),u=n(\"VRyK\"),p=n(\"pLZG\"),m=n(\"1G5W\"),f=n(\"/uUt\"),g=n(\"lJxs\"),b=n(\"IzEk\"),_=n(\"JX91\"),y=n(\"Kj3r\"),v=n(\"R0Ic\"),w=n(\"R1ws\"),x=n(\"u47x\"),C=n(\"cH1L\");const k=[\"*\"];function O(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",2),a.ec(\"click\",(function(){return a.zc(t),a.ic()._onBackdropClicked()})),a.Vb()}if(2&t){const t=a.ic();a.Hb(\"mat-drawer-shown\",t._isShowingBackdrop())}}function S(t,e){1&t&&(a.Wb(0,\"mat-drawer-content\"),a.mc(1,2),a.Vb())}const M=[[[\"mat-drawer\"]],[[\"mat-drawer-content\"]],\"*\"],P=[\"mat-drawer\",\"mat-drawer-content\",\"*\"];function E(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",2),a.ec(\"click\",(function(){return a.zc(t),a.ic()._onBackdropClicked()})),a.Vb()}if(2&t){const t=a.ic();a.Hb(\"mat-drawer-shown\",t._isShowingBackdrop())}}function A(t,e){1&t&&(a.Wb(0,\"mat-sidenav-content\",3),a.mc(1,2),a.Vb())}const D=[[[\"mat-sidenav\"]],[[\"mat-sidenav-content\"]],\"*\"],R=[\"mat-sidenav\",\"mat-sidenav-content\",\"*\"],T={transformDrawer:Object(v.p)(\"transform\",[Object(v.m)(\"open, open-instant\",Object(v.n)({transform:\"none\",visibility:\"visible\"})),Object(v.m)(\"void\",Object(v.n)({\"box-shadow\":\"none\",visibility:\"hidden\"})),Object(v.o)(\"void => open-instant\",Object(v.e)(\"0ms\")),Object(v.o)(\"void <=> open, open-instant => void\",Object(v.e)(\"400ms cubic-bezier(0.25, 0.8, 0.25, 1)\"))])};function I(t){throw Error(`A drawer was already declared for 'position=\"${t}\"'`)}const j=new a.r(\"MAT_DRAWER_DEFAULT_AUTOSIZE\",{providedIn:\"root\",factory:function(){return!1}}),L=new a.r(\"MAT_DRAWER_CONTAINER\");let F=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(n,i,r),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.h),a.Qb(Object(a.V)(()=>V)),a.Qb(a.l),a.Qb(r.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-drawer-content\"]],hostAttrs:[1,\"mat-drawer-content\"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gc(\"margin-left\",e._container._contentMargins.left,\"px\")(\"margin-right\",e._container._contentMargins.right,\"px\")},features:[a.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(a.nc(),a.mc(0))},encapsulation:2,changeDetection:0}),t})(),N=(()=>{class t{constructor(t,e,n,i,r,s,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=s,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position=\"start\",this._mode=\"over\",this._disableClose=!1,this._opened=!1,this._animationStarted=new h.a,this._animationEnd=new h.a,this._animationState=\"void\",this.openedChange=new a.o(!0),this._destroyed=new h.a,this.onPositionChanged=new a.o,this._modeChanged=new h.a,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Object(d.a)(this._elementRef.nativeElement,\"keydown\").pipe(Object(p.a)(t=>t.keyCode===c.e&&!this.disableClose&&!Object(c.q)(t)),Object(m.a)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Object(f.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf(\"open\")&&\"void\"===e||\"void\"===n&&0===e.indexOf(\"open\"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t=\"end\"===t?\"end\":\"start\")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Object(l.c)(t)}get autoFocus(){const t=this._autoFocus;return null==t?\"side\"!==this.mode:t}set autoFocus(t){this._autoFocus=Object(l.c)(t)}get opened(){return this._opened}set opened(t){this.toggle(Object(l.c)(t))}get _openedStream(){return this.openedChange.pipe(Object(p.a)(t=>t),Object(g.a)(()=>{}))}get openedStart(){return this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&0===t.toState.indexOf(\"open\")),Object(g.a)(()=>{}))}get _closedStream(){return this.openedChange.pipe(Object(p.a)(t=>!t),Object(g.a)(()=>{}))}get closedStart(){return this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&\"void\"===t.toState),Object(g.a)(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||\"function\"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}toggle(t=!this.opened,e=\"program\"){return this._opened=t,t?(this._animationState=this._enableAnimations?\"open\":\"open-instant\",this._openedVia=e):(this._animationState=\"void\",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Object(b.a)(1)).subscribe(e=>t(e?\"open\":\"close\"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&\"side\"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.l),a.Qb(x.i),a.Qb(x.h),a.Qb(i.a),a.Qb(a.A),a.Qb(s.d,8),a.Qb(L,8))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-drawer\"]],hostAttrs:[\"tabIndex\",\"-1\",1,\"mat-drawer\"],hostVars:12,hostBindings:function(t,e){1&t&&a.Ib(\"@transform.start\",(function(t){return e._animationStartListener(t)}))(\"@transform.done\",(function(t){return e._animationDoneListener(t)})),2&t&&(a.Eb(\"align\",null),a.Oc(\"@transform\",e._animationState),a.Hb(\"mat-drawer-end\",\"end\"===e.position)(\"mat-drawer-over\",\"over\"===e.mode)(\"mat-drawer-push\",\"push\"===e.mode)(\"mat-drawer-side\",\"side\"===e.mode)(\"mat-drawer-opened\",e.opened))},inputs:{position:\"position\",mode:\"mode\",disableClose:\"disableClose\",autoFocus:\"autoFocus\",opened:\"opened\"},outputs:{openedChange:\"openedChange\",onPositionChanged:\"positionChanged\",_openedStream:\"opened\",openedStart:\"openedStart\",_closedStream:\"closed\",closedStart:\"closedStart\"},exportAs:[\"matDrawer\"],ngContentSelectors:k,decls:2,vars:0,consts:[[1,\"mat-drawer-inner-container\"]],template:function(t,e){1&t&&(a.nc(),a.Wb(0,\"div\",0),a.mc(1),a.Vb())},encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),t})(),V=(()=>{class t{constructor(t,e,n,i,r,s=!1,o){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=o,this._drawers=new a.E,this.backdropClick=new a.o,this._destroyed=new h.a,this._doCheckSubject=new h.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new h.a,t&&t.change.pipe(Object(m.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Object(l.c)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||\"side\"!==this._start.mode||!this._end||\"side\"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Object(l.c)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Object(_.a)(this._allDrawers),Object(m.a)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(_.a)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Object(y.a)(10),Object(m.a)(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if(\"side\"==this._left.mode)t+=this._left._width;else if(\"push\"==this._left.mode){const n=this._left._width;t+=n,e-=n}if(this._right&&this._right.opened)if(\"side\"==this._right.mode)e+=this._right._width;else if(\"push\"==this._right.mode){const n=this._right._width;e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState),Object(m.a)(this._drawers.changes)).subscribe(t=>{\"open-instant\"!==t.toState&&\"NoopAnimations\"!==this._animationMode&&this._element.nativeElement.classList.add(\"mat-drawer-transition\"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),\"side\"!==t.mode&&t.openedChange.pipe(Object(m.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Object(m.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(b.a)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Object(m.a)(Object(u.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n=\"mat-drawer-container-has-open\";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{\"end\"==t.position?(null!=this._end&&I(\"end\"),this._end=t):(null!=this._start&&I(\"start\"),this._start=t)}),this._right=this._left=null,this._dir&&\"rtl\"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&\"over\"!=this._start.mode||this._isDrawerOpen(this._end)&&\"over\"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return\"side\"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(C.b,8),a.Qb(a.l),a.Qb(a.A),a.Qb(a.h),a.Qb(r.d),a.Qb(j),a.Qb(w.a,8))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-drawer-container\"]],contentQueries:function(t,e,n){var i;1&t&&(a.Jb(n,F,!0),a.Jb(n,N,!0)),2&t&&(a.vc(i=a.fc())&&(e._content=i.first),a.vc(i=a.fc())&&(e._allDrawers=i))},viewQuery:function(t,e){var n;1&t&&a.Pc(F,!0),2&t&&a.vc(n=a.fc())&&(e._userContent=n.first)},hostAttrs:[1,\"mat-drawer-container\"],hostVars:2,hostBindings:function(t,e){2&t&&a.Hb(\"mat-drawer-container-explicit-backdrop\",e._backdropOverride)},inputs:{autosize:\"autosize\",hasBackdrop:\"hasBackdrop\"},outputs:{backdropClick:\"backdropClick\"},exportAs:[\"matDrawerContainer\"],features:[a.Cb([{provide:L,useExisting:t}])],ngContentSelectors:P,decls:4,vars:2,consts:[[\"class\",\"mat-drawer-backdrop\",3,\"mat-drawer-shown\",\"click\",4,\"ngIf\"],[4,\"ngIf\"],[1,\"mat-drawer-backdrop\",3,\"click\"]],template:function(t,e){1&t&&(a.nc(M),a.Hc(0,O,1,2,\"div\",0),a.mc(1),a.mc(2,1),a.Hc(3,S,2,0,\"mat-drawer-content\",1)),2&t&&(a.oc(\"ngIf\",e.hasBackdrop),a.Db(3),a.oc(\"ngIf\",!e._content))},directives:[s.l,F],styles:[\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\\n\"],encapsulation:2,changeDetection:0}),t})(),z=(()=>{class t extends F{constructor(t,e,n,i,r){super(t,e,n,i,r)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.h),a.Qb(Object(a.V)(()=>U)),a.Qb(a.l),a.Qb(r.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-sidenav-content\"]],hostAttrs:[1,\"mat-drawer-content\",\"mat-sidenav-content\"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gc(\"margin-left\",e._container._contentMargins.left,\"px\")(\"margin-right\",e._container._contentMargins.right,\"px\")},features:[a.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(a.nc(),a.mc(0))},encapsulation:2,changeDetection:0}),t})(),B=(()=>{class t extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Object(l.c)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Object(l.f)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Object(l.f)(t)}}return t.\\u0275fac=function(e){return H(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-sidenav\"]],hostAttrs:[\"tabIndex\",\"-1\",1,\"mat-drawer\",\"mat-sidenav\"],hostVars:17,hostBindings:function(t,e){2&t&&(a.Eb(\"align\",null),a.Gc(\"top\",e.fixedInViewport?e.fixedTopGap:null,\"px\")(\"bottom\",e.fixedInViewport?e.fixedBottomGap:null,\"px\"),a.Hb(\"mat-drawer-end\",\"end\"===e.position)(\"mat-drawer-over\",\"over\"===e.mode)(\"mat-drawer-push\",\"push\"===e.mode)(\"mat-drawer-side\",\"side\"===e.mode)(\"mat-drawer-opened\",e.opened)(\"mat-sidenav-fixed\",e.fixedInViewport))},inputs:{fixedInViewport:\"fixedInViewport\",fixedTopGap:\"fixedTopGap\",fixedBottomGap:\"fixedBottomGap\"},exportAs:[\"matSidenav\"],features:[a.Ab],ngContentSelectors:k,decls:2,vars:0,consts:[[1,\"mat-drawer-inner-container\"]],template:function(t,e){1&t&&(a.nc(),a.Wb(0,\"div\",0),a.mc(1),a.Vb())},encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),t})();const H=a.Yb(B);let U=(()=>{class t extends V{}return t.\\u0275fac=function(e){return q(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"mat-sidenav-container\"]],contentQueries:function(t,e,n){var i;1&t&&(a.Jb(n,z,!0),a.Jb(n,B,!0)),2&t&&(a.vc(i=a.fc())&&(e._content=i.first),a.vc(i=a.fc())&&(e._allDrawers=i))},hostAttrs:[1,\"mat-drawer-container\",\"mat-sidenav-container\"],hostVars:2,hostBindings:function(t,e){2&t&&a.Hb(\"mat-drawer-container-explicit-backdrop\",e._backdropOverride)},exportAs:[\"matSidenavContainer\"],features:[a.Cb([{provide:L,useExisting:t}]),a.Ab],ngContentSelectors:R,decls:4,vars:2,consts:[[\"class\",\"mat-drawer-backdrop\",3,\"mat-drawer-shown\",\"click\",4,\"ngIf\"],[\"cdkScrollable\",\"\",4,\"ngIf\"],[1,\"mat-drawer-backdrop\",3,\"click\"],[\"cdkScrollable\",\"\"]],template:function(t,e){1&t&&(a.nc(D),a.Hc(0,E,1,2,\"div\",0),a.mc(1),a.mc(2,1),a.Hc(3,A,2,0,\"mat-sidenav-content\",1)),2&t&&(a.oc(\"ngIf\",e.hasBackdrop),a.Db(3),a.oc(\"ngIf\",!e._content))},directives:[s.l,z,r.a],styles:[\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\\n\"],encapsulation:2,changeDetection:0}),t})();const q=a.Yb(U);let Q=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},imports:[[s.c,o.f,r.c,i.b],o.f]}),t})()},XiUz:function(t,e,n){\"use strict\";n.d(e,\"f\",(function(){return lt})),n.d(e,\"b\",(function(){return j})),n.d(e,\"a\",(function(){return W})),n.d(e,\"d\",(function(){return g})),n.d(e,\"c\",(function(){return Z})),n.d(e,\"e\",(function(){return C}));var i=n(\"fXoL\"),r=n(\"pD6V\"),s=n(\"cH1L\"),a=n(\"XNiG\"),o=n(\"1G5W\");const l=[\"row\",\"column\",\"row-reverse\",\"column-reverse\"];function c(t){t=t?t.toLowerCase():\"\";let[e,n,i]=t.split(\" \");return l.find(t=>t===e)||(e=l[0]),\"inline\"===n&&(n=\"inline\"!==i?i:\"\",i=\"inline\"),[e,d(n),!!i]}function h(t){let[e]=c(t);return e.indexOf(\"row\")>-1}function d(t){if(t)switch(t.toLowerCase()){case\"reverse\":case\"wrap-reverse\":case\"reverse-wrap\":t=\"wrap-reverse\";break;case\"no\":case\"none\":case\"nowrap\":t=\"nowrap\";break;default:t=\"wrap\"}return t}let u=(()=>{class t extends r.h{buildStyles(t){return function(t){let[e,n,i]=c(t);return function(t,e=null,n=!1){return{display:n?\"inline-flex\":\"flex\",\"box-sizing\":\"border-box\",\"flex-direction\":t,\"flex-wrap\":e||null}}(e,n,i)}(t)}}return t.\\u0275fac=function(e){return p(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const p=i.Yb(u),m=[\"fxLayout\",\"fxLayout.xs\",\"fxLayout.sm\",\"fxLayout.md\",\"fxLayout.lg\",\"fxLayout.xl\",\"fxLayout.lt-sm\",\"fxLayout.lt-md\",\"fxLayout.lt-lg\",\"fxLayout.lt-xl\",\"fxLayout.gt-xs\",\"fxLayout.gt-sm\",\"fxLayout.gt-md\",\"fxLayout.gt-lg\"];let f=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY=\"layout\",this.styleCache=_,this.init()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb(u),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})(),g=(()=>{class t extends f{constructor(){super(...arguments),this.inputs=m}}return t.\\u0275fac=function(e){return b(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxLayout\",\"\"],[\"\",\"fxLayout.xs\",\"\"],[\"\",\"fxLayout.sm\",\"\"],[\"\",\"fxLayout.md\",\"\"],[\"\",\"fxLayout.lg\",\"\"],[\"\",\"fxLayout.xl\",\"\"],[\"\",\"fxLayout.lt-sm\",\"\"],[\"\",\"fxLayout.lt-md\",\"\"],[\"\",\"fxLayout.lt-lg\",\"\"],[\"\",\"fxLayout.lt-xl\",\"\"],[\"\",\"fxLayout.gt-xs\",\"\"],[\"\",\"fxLayout.gt-sm\",\"\"],[\"\",\"fxLayout.gt-md\",\"\"],[\"\",\"fxLayout.gt-lg\",\"\"]],inputs:{fxLayout:\"fxLayout\",\"fxLayout.xs\":\"fxLayout.xs\",\"fxLayout.sm\":\"fxLayout.sm\",\"fxLayout.md\":\"fxLayout.md\",\"fxLayout.lg\":\"fxLayout.lg\",\"fxLayout.xl\":\"fxLayout.xl\",\"fxLayout.lt-sm\":\"fxLayout.lt-sm\",\"fxLayout.lt-md\":\"fxLayout.lt-md\",\"fxLayout.lt-lg\":\"fxLayout.lt-lg\",\"fxLayout.lt-xl\":\"fxLayout.lt-xl\",\"fxLayout.gt-xs\":\"fxLayout.gt-xs\",\"fxLayout.gt-sm\":\"fxLayout.gt-sm\",\"fxLayout.gt-md\":\"fxLayout.gt-md\",\"fxLayout.gt-lg\":\"fxLayout.gt-lg\"},features:[i.Ab]}),t})();const b=i.Yb(g),_=new Map,y={\"margin-left\":null,\"margin-right\":null,\"margin-top\":null,\"margin-bottom\":null};let v=(()=>{class t extends r.h{constructor(t){super(),this._styler=t}buildStyles(t,e){return t.endsWith(E)?function(t,e){let n=\"0px\",i=\"0px\";return\"rtl\"===e?i=\"-\"+t:n=\"-\"+t,{margin:`0px ${n} ${\"-\"+t} ${i}`}}(t=t.slice(0,t.indexOf(E)),e.directionality):{}}sideEffect(t,e,n){const i=n.items;if(t.endsWith(E)){const e=function(t,e){let n=\"0px\",i=\"0px\";return\"rtl\"===e?i=t:n=t,{padding:`0px ${n} ${t} ${i}`}}(t=t.slice(0,t.indexOf(E)),n.directionality);this._styler.applyStyleToElements(e,n.items)}else{const e=i.pop(),r=function(t,e){const n=A(e.directionality,e.layout),i=Object.assign({},y);return i[n]=t,i}(t,n);this._styler.applyStyleToElements(r,i),this._styler.applyStyleToElements(y,[e])}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(r.i))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(r.i))},token:t,providedIn:\"root\"}),t})();const w=[\"fxLayoutGap\",\"fxLayoutGap.xs\",\"fxLayoutGap.sm\",\"fxLayoutGap.md\",\"fxLayoutGap.lg\",\"fxLayoutGap.xl\",\"fxLayoutGap.lt-sm\",\"fxLayoutGap.lt-md\",\"fxLayoutGap.lt-lg\",\"fxLayoutGap.lt-xl\",\"fxLayoutGap.gt-xs\",\"fxLayoutGap.gt-sm\",\"fxLayoutGap.gt-md\",\"fxLayoutGap.gt-lg\"];let x=(()=>{class t extends r.b{constructor(t,e,n,i,r,s){super(t,r,i,s),this.zone=e,this.directionality=n,this.styleUtils=i,this.layout=\"row\",this.DIRECTIVE_KEY=\"layout-gap\",this.observerSubject=new a.a;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,\"layout\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const t=this.nativeElement.children,e=[];for(let n=t.length;n--;)e[n]=t[n];return e}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(t){const e=t.value.split(\" \");this.layout=e[0],l.find(t=>t===this.layout)||(this.layout=\"row\"),this.triggerUpdate()}updateWithValue(t){const e=this.childrenNodes.filter(t=>1===t.nodeType&&this.willDisplay(t)).sort((t,e)=>{const n=+this.styler.lookupStyle(t,\"order\"),i=+this.styler.lookupStyle(e,\"order\");return isNaN(n)||isNaN(i)||n===i?0:n>i?1:-1});if(e.length>0){const n=this.directionality.value,i=this.layout;\"row\"===i&&\"rtl\"===n?this.styleCache=O:\"row\"===i&&\"rtl\"!==n?this.styleCache=M:\"column\"===i&&\"rtl\"===n?this.styleCache=S:\"column\"===i&&\"rtl\"!==n&&(this.styleCache=P),this.addStyles(t,{directionality:n,items:e,layout:i})}}clearStyles(){const t=Object.keys(this.mru).length>0,e=t?\"padding\":A(this.directionality.value,this.layout);t&&super.clearStyles(),this.styleUtils.applyStyleToElements({[e]:\"\"},this.childrenNodes)}willDisplay(t){const e=this.marshal.getValue(t,\"show-hide\");return!0===e||void 0===e&&\"none\"!==this.styleUtils.lookupStyle(t,\"display\")}buildChildObservable(){this.zone.runOutsideAngular(()=>{\"undefined\"!=typeof MutationObserver&&(this.observer=new MutationObserver(t=>{t.some(t=>t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.A),i.Qb(s.b),i.Qb(r.i),i.Qb(v),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})(),C=(()=>{class t extends x{constructor(){super(...arguments),this.inputs=w}}return t.\\u0275fac=function(e){return k(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxLayoutGap\",\"\"],[\"\",\"fxLayoutGap.xs\",\"\"],[\"\",\"fxLayoutGap.sm\",\"\"],[\"\",\"fxLayoutGap.md\",\"\"],[\"\",\"fxLayoutGap.lg\",\"\"],[\"\",\"fxLayoutGap.xl\",\"\"],[\"\",\"fxLayoutGap.lt-sm\",\"\"],[\"\",\"fxLayoutGap.lt-md\",\"\"],[\"\",\"fxLayoutGap.lt-lg\",\"\"],[\"\",\"fxLayoutGap.lt-xl\",\"\"],[\"\",\"fxLayoutGap.gt-xs\",\"\"],[\"\",\"fxLayoutGap.gt-sm\",\"\"],[\"\",\"fxLayoutGap.gt-md\",\"\"],[\"\",\"fxLayoutGap.gt-lg\",\"\"]],inputs:{fxLayoutGap:\"fxLayoutGap\",\"fxLayoutGap.xs\":\"fxLayoutGap.xs\",\"fxLayoutGap.sm\":\"fxLayoutGap.sm\",\"fxLayoutGap.md\":\"fxLayoutGap.md\",\"fxLayoutGap.lg\":\"fxLayoutGap.lg\",\"fxLayoutGap.xl\":\"fxLayoutGap.xl\",\"fxLayoutGap.lt-sm\":\"fxLayoutGap.lt-sm\",\"fxLayoutGap.lt-md\":\"fxLayoutGap.lt-md\",\"fxLayoutGap.lt-lg\":\"fxLayoutGap.lt-lg\",\"fxLayoutGap.lt-xl\":\"fxLayoutGap.lt-xl\",\"fxLayoutGap.gt-xs\":\"fxLayoutGap.gt-xs\",\"fxLayoutGap.gt-sm\":\"fxLayoutGap.gt-sm\",\"fxLayoutGap.gt-md\":\"fxLayoutGap.gt-md\",\"fxLayoutGap.gt-lg\":\"fxLayoutGap.gt-lg\"},features:[i.Ab]}),t})();const k=i.Yb(C),O=new Map,S=new Map,M=new Map,P=new Map,E=\" grid\";function A(t,e){switch(e){case\"column\":return\"margin-bottom\";case\"column-reverse\":return\"margin-top\";case\"row\":return\"rtl\"===t?\"margin-left\":\"margin-right\";case\"row-reverse\":return\"rtl\"===t?\"margin-right\":\"margin-left\";default:return\"rtl\"===t?\"margin-left\":\"margin-right\"}}function D(t,...e){if(null==t)throw TypeError(\"Cannot convert undefined or null to object\");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}let R=(()=>{class t extends r.h{constructor(t){super(),this.layoutConfig=t}buildStyles(t,e){let[n,i,...r]=t.split(\" \"),s=r.join(\" \");const a=e.direction.indexOf(\"column\")>-1?\"column\":\"row\",o=h(a)?\"max-width\":\"max-height\",l=h(a)?\"min-width\":\"min-height\",c=String(s).indexOf(\"calc\")>-1,d=c||\"auto\"===s,u=String(s).indexOf(\"%\")>-1&&!c,p=String(s).indexOf(\"px\")>-1||String(s).indexOf(\"rem\")>-1||String(s).indexOf(\"em\")>-1||String(s).indexOf(\"vw\")>-1||String(s).indexOf(\"vh\")>-1;let m=c||p;n=\"0\"==n?0:n,i=\"0\"==i?0:i;const f=!n&&!i;let g={};const b={\"max-width\":null,\"max-height\":null,\"min-width\":null,\"min-height\":null};switch(s||\"\"){case\"\":const t=!1!==this.layoutConfig.useColumnBasisZero;s=\"row\"===a?\"0%\":t?\"0.000000001px\":\"auto\";break;case\"initial\":case\"nogrow\":n=0,s=\"auto\";break;case\"grow\":s=\"100%\";break;case\"noshrink\":i=0,s=\"auto\";break;case\"auto\":break;case\"none\":n=0,i=0,s=\"auto\";break;default:m||u||isNaN(s)||(s+=\"%\"),\"0%\"===s&&(m=!0),\"0px\"===s&&(s=\"0%\"),g=D(b,c?{\"flex-grow\":n,\"flex-shrink\":i,\"flex-basis\":m?s:\"100%\"}:{flex:`${n} ${i} ${m?s:\"100%\"}`})}return g.flex||g[\"flex-grow\"]||(g=D(b,c?{\"flex-grow\":n,\"flex-shrink\":i,\"flex-basis\":s}:{flex:`${n} ${i} ${s}`})),\"0%\"!==s&&\"0px\"!==s&&\"0.000000001px\"!==s&&\"auto\"!==s&&(g[l]=f||m&&n?s:null,g[o]=f||!d&&i?s:null),g[l]||g[o]?e.hasWrap&&(g[c?\"flex-basis\":\"flex\"]=g[o]?c?g[o]:`${n} ${i} ${g[o]}`:c?g[l]:`${n} ${i} ${g[l]}`):g=D(b,c?{\"flex-grow\":n,\"flex-shrink\":i,\"flex-basis\":s}:{flex:`${n} ${i} ${s}`}),D(g,{\"box-sizing\":\"border-box\"})}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(r.e))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(r.e))},token:t,providedIn:\"root\"}),t})();const T=[\"fxFlex\",\"fxFlex.xs\",\"fxFlex.sm\",\"fxFlex.md\",\"fxFlex.lg\",\"fxFlex.xl\",\"fxFlex.lt-sm\",\"fxFlex.lt-md\",\"fxFlex.lt-lg\",\"fxFlex.lt-xl\",\"fxFlex.gt-xs\",\"fxFlex.gt-sm\",\"fxFlex.gt-md\",\"fxFlex.gt-lg\"];let I=(()=>{class t extends r.b{constructor(t,e,n,i,r){super(t,i,e,r),this.layoutConfig=n,this.DIRECTIVE_KEY=\"flex\",this.direction=\"\",this.wrap=!1,this.flexGrow=\"1\",this.flexShrink=\"1\",this.init(),this.parentElement&&(this.marshal.trackValue(this.parentElement,\"layout\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,\"layout-align\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||\"1\",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||\"1\",this.triggerReflow()}onLayoutChange(t){const e=t.value.split(\" \");this.direction=e[0],this.wrap=void 0!==e[1]&&\"wrap\"===e[1],this.triggerUpdate()}updateWithValue(t){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));const e=this.direction,n=e.startsWith(\"row\"),i=this.wrap;n&&i?this.styleCache=V:n&&!i?this.styleCache=F:!n&&i?this.styleCache=z:n||i||(this.styleCache=N);const s=String(t).replace(\";\",\"\"),a=Object(r.j)(s,this.flexGrow,this.flexShrink);this.addStyles(a.join(\" \"),{direction:e,hasWrap:i})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const e=Object(r.j)(t+\"\",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(\" \"))}}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb(r.e),i.Qb(R),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,inputs:{shrink:[\"fxShrink\",\"shrink\"],grow:[\"fxGrow\",\"grow\"]},features:[i.Ab]}),t})(),j=(()=>{class t extends I{constructor(){super(...arguments),this.inputs=T}}return t.\\u0275fac=function(e){return L(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxFlex\",\"\"],[\"\",\"fxFlex.xs\",\"\"],[\"\",\"fxFlex.sm\",\"\"],[\"\",\"fxFlex.md\",\"\"],[\"\",\"fxFlex.lg\",\"\"],[\"\",\"fxFlex.xl\",\"\"],[\"\",\"fxFlex.lt-sm\",\"\"],[\"\",\"fxFlex.lt-md\",\"\"],[\"\",\"fxFlex.lt-lg\",\"\"],[\"\",\"fxFlex.lt-xl\",\"\"],[\"\",\"fxFlex.gt-xs\",\"\"],[\"\",\"fxFlex.gt-sm\",\"\"],[\"\",\"fxFlex.gt-md\",\"\"],[\"\",\"fxFlex.gt-lg\",\"\"]],inputs:{fxFlex:\"fxFlex\",\"fxFlex.xs\":\"fxFlex.xs\",\"fxFlex.sm\":\"fxFlex.sm\",\"fxFlex.md\":\"fxFlex.md\",\"fxFlex.lg\":\"fxFlex.lg\",\"fxFlex.xl\":\"fxFlex.xl\",\"fxFlex.lt-sm\":\"fxFlex.lt-sm\",\"fxFlex.lt-md\":\"fxFlex.lt-md\",\"fxFlex.lt-lg\":\"fxFlex.lt-lg\",\"fxFlex.lt-xl\":\"fxFlex.lt-xl\",\"fxFlex.gt-xs\":\"fxFlex.gt-xs\",\"fxFlex.gt-sm\":\"fxFlex.gt-sm\",\"fxFlex.gt-md\":\"fxFlex.gt-md\",\"fxFlex.gt-lg\":\"fxFlex.gt-lg\"},features:[i.Ab]}),t})();const L=i.Yb(j),F=new Map,N=new Map,V=new Map,z=new Map;let B=(()=>{class t extends r.h{buildStyles(t){const e={};switch(t=t||\"stretch\"){case\"start\":e[\"align-self\"]=\"flex-start\";break;case\"end\":e[\"align-self\"]=\"flex-end\";break;default:e[\"align-self\"]=t}return e}}return t.\\u0275fac=function(e){return H(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const H=i.Yb(B),U=[\"fxFlexAlign\",\"fxFlexAlign.xs\",\"fxFlexAlign.sm\",\"fxFlexAlign.md\",\"fxFlexAlign.lg\",\"fxFlexAlign.xl\",\"fxFlexAlign.lt-sm\",\"fxFlexAlign.lt-md\",\"fxFlexAlign.lt-lg\",\"fxFlexAlign.lt-xl\",\"fxFlexAlign.gt-xs\",\"fxFlexAlign.gt-sm\",\"fxFlexAlign.gt-md\",\"fxFlexAlign.gt-lg\"];let q=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY=\"flex-align\",this.styleCache=Q,this.init()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb(B),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})();const Q=new Map;let W=(()=>{class t extends q{constructor(){super(...arguments),this.inputs=U}}return t.\\u0275fac=function(e){return Y(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxFlexAlign\",\"\"],[\"\",\"fxFlexAlign.xs\",\"\"],[\"\",\"fxFlexAlign.sm\",\"\"],[\"\",\"fxFlexAlign.md\",\"\"],[\"\",\"fxFlexAlign.lg\",\"\"],[\"\",\"fxFlexAlign.xl\",\"\"],[\"\",\"fxFlexAlign.lt-sm\",\"\"],[\"\",\"fxFlexAlign.lt-md\",\"\"],[\"\",\"fxFlexAlign.lt-lg\",\"\"],[\"\",\"fxFlexAlign.lt-xl\",\"\"],[\"\",\"fxFlexAlign.gt-xs\",\"\"],[\"\",\"fxFlexAlign.gt-sm\",\"\"],[\"\",\"fxFlexAlign.gt-md\",\"\"],[\"\",\"fxFlexAlign.gt-lg\",\"\"]],inputs:{fxFlexAlign:\"fxFlexAlign\",\"fxFlexAlign.xs\":\"fxFlexAlign.xs\",\"fxFlexAlign.sm\":\"fxFlexAlign.sm\",\"fxFlexAlign.md\":\"fxFlexAlign.md\",\"fxFlexAlign.lg\":\"fxFlexAlign.lg\",\"fxFlexAlign.xl\":\"fxFlexAlign.xl\",\"fxFlexAlign.lt-sm\":\"fxFlexAlign.lt-sm\",\"fxFlexAlign.lt-md\":\"fxFlexAlign.lt-md\",\"fxFlexAlign.lt-lg\":\"fxFlexAlign.lt-lg\",\"fxFlexAlign.lt-xl\":\"fxFlexAlign.lt-xl\",\"fxFlexAlign.gt-xs\":\"fxFlexAlign.gt-xs\",\"fxFlexAlign.gt-sm\":\"fxFlexAlign.gt-sm\",\"fxFlexAlign.gt-md\":\"fxFlexAlign.gt-md\",\"fxFlexAlign.gt-lg\":\"fxFlexAlign.gt-lg\"},features:[i.Ab]}),t})();const Y=i.Yb(W);let $=(()=>{class t extends r.h{buildStyles(t,e){const n={},[i,r]=t.split(\" \");switch(i){case\"center\":n[\"justify-content\"]=\"center\";break;case\"space-around\":n[\"justify-content\"]=\"space-around\";break;case\"space-between\":n[\"justify-content\"]=\"space-between\";break;case\"space-evenly\":n[\"justify-content\"]=\"space-evenly\";break;case\"end\":case\"flex-end\":n[\"justify-content\"]=\"flex-end\";break;case\"start\":case\"flex-start\":default:n[\"justify-content\"]=\"flex-start\"}switch(r){case\"start\":case\"flex-start\":n[\"align-items\"]=n[\"align-content\"]=\"flex-start\";break;case\"center\":n[\"align-items\"]=n[\"align-content\"]=\"center\";break;case\"end\":case\"flex-end\":n[\"align-items\"]=n[\"align-content\"]=\"flex-end\";break;case\"space-between\":n[\"align-content\"]=\"space-between\",n[\"align-items\"]=\"stretch\";break;case\"space-around\":n[\"align-content\"]=\"space-around\",n[\"align-items\"]=\"stretch\";break;case\"baseline\":n[\"align-content\"]=\"stretch\",n[\"align-items\"]=\"baseline\";break;case\"stretch\":default:n[\"align-items\"]=n[\"align-content\"]=\"stretch\"}return D(n,{display:e.inline?\"inline-flex\":\"flex\",\"flex-direction\":e.layout,\"box-sizing\":\"border-box\",\"max-width\":\"stretch\"===r?h(e.layout)?null:\"100%\":null,\"max-height\":\"stretch\"===r&&h(e.layout)?\"100%\":null})}}return t.\\u0275fac=function(e){return G(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const G=i.Yb($),X=[\"fxLayoutAlign\",\"fxLayoutAlign.xs\",\"fxLayoutAlign.sm\",\"fxLayoutAlign.md\",\"fxLayoutAlign.lg\",\"fxLayoutAlign.xl\",\"fxLayoutAlign.lt-sm\",\"fxLayoutAlign.lt-md\",\"fxLayoutAlign.lt-lg\",\"fxLayoutAlign.lt-xl\",\"fxLayoutAlign.gt-xs\",\"fxLayoutAlign.gt-sm\",\"fxLayoutAlign.gt-md\",\"fxLayoutAlign.gt-lg\"];let K=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY=\"layout-align\",this.layout=\"row\",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,\"layout\").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||\"row\",n=this.inline;\"row\"===e&&n?this.styleCache=rt:\"row\"!==e||n?\"row-reverse\"===e&&n?this.styleCache=at:\"row-reverse\"!==e||n?\"column\"===e&&n?this.styleCache=st:\"column\"!==e||n?\"column-reverse\"===e&&n?this.styleCache=ot:\"column-reverse\"!==e||n||(this.styleCache=it):this.styleCache=et:this.styleCache=nt:this.styleCache=tt,this.addStyles(t,{layout:e,inline:n})}onLayoutChange(t){const e=t.value.split(\" \");this.layout=e[0],this.inline=t.value.includes(\"inline\"),l.find(t=>t===this.layout)||(this.layout=\"row\"),this.triggerUpdate()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(r.i),i.Qb($),i.Qb(r.f))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab]}),t})(),Z=(()=>{class t extends K{constructor(){super(...arguments),this.inputs=X}}return t.\\u0275fac=function(e){return J(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxLayoutAlign\",\"\"],[\"\",\"fxLayoutAlign.xs\",\"\"],[\"\",\"fxLayoutAlign.sm\",\"\"],[\"\",\"fxLayoutAlign.md\",\"\"],[\"\",\"fxLayoutAlign.lg\",\"\"],[\"\",\"fxLayoutAlign.xl\",\"\"],[\"\",\"fxLayoutAlign.lt-sm\",\"\"],[\"\",\"fxLayoutAlign.lt-md\",\"\"],[\"\",\"fxLayoutAlign.lt-lg\",\"\"],[\"\",\"fxLayoutAlign.lt-xl\",\"\"],[\"\",\"fxLayoutAlign.gt-xs\",\"\"],[\"\",\"fxLayoutAlign.gt-sm\",\"\"],[\"\",\"fxLayoutAlign.gt-md\",\"\"],[\"\",\"fxLayoutAlign.gt-lg\",\"\"]],inputs:{fxLayoutAlign:\"fxLayoutAlign\",\"fxLayoutAlign.xs\":\"fxLayoutAlign.xs\",\"fxLayoutAlign.sm\":\"fxLayoutAlign.sm\",\"fxLayoutAlign.md\":\"fxLayoutAlign.md\",\"fxLayoutAlign.lg\":\"fxLayoutAlign.lg\",\"fxLayoutAlign.xl\":\"fxLayoutAlign.xl\",\"fxLayoutAlign.lt-sm\":\"fxLayoutAlign.lt-sm\",\"fxLayoutAlign.lt-md\":\"fxLayoutAlign.lt-md\",\"fxLayoutAlign.lt-lg\":\"fxLayoutAlign.lt-lg\",\"fxLayoutAlign.lt-xl\":\"fxLayoutAlign.lt-xl\",\"fxLayoutAlign.gt-xs\":\"fxLayoutAlign.gt-xs\",\"fxLayoutAlign.gt-sm\":\"fxLayoutAlign.gt-sm\",\"fxLayoutAlign.gt-md\":\"fxLayoutAlign.gt-md\",\"fxLayoutAlign.gt-lg\":\"fxLayoutAlign.gt-lg\"},features:[i.Ab]}),t})();const J=i.Yb(Z),tt=new Map,et=new Map,nt=new Map,it=new Map,rt=new Map,st=new Map,at=new Map,ot=new Map;let lt=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c,s.a]]}),t})()},XoHu:function(t,e,n){\"use strict\";function i(t){return null!==t&&\"object\"==typeof t}n.d(e,\"a\",(function(){return i}))},YUcS:function(t,e,n){\"use strict\";var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"pD6V\"),a=n(\"znSr\"),o=n(\"XiUz\");n(\"8LU1\");let l=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[s.c]]}),t})();n.d(e,\"a\",(function(){return c}));let c=(()=>{class t{constructor(t,e){Object(r.u)(e)&&!t&&console.warn(\"Warning: Flex Layout loaded on the server without FlexLayoutServerModule\")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:s.e,useValue:Object.assign(Object.assign({},s.d),e)},{provide:s.a,useValue:n,multi:!0},{provide:s.g,useValue:!0}]:[{provide:s.e,useValue:Object.assign(Object.assign({},s.d),e)},{provide:s.a,useValue:n,multi:!0}]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)(i.ac(s.g),i.ac(i.C))},imports:[[o.f,a.c,l],o.f,a.c,l]}),t})()},Ylt2:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"quSY\");class r extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},Yvos:function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},ZUHj:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"51Dv\"),r=n(\"SeVD\"),s=n(\"HDdC\");function a(t,e,n,a,o=new i.a(t,n,a)){if(!o.closed)return e instanceof s.a?e.subscribe(o):Object(r.a)(e)(o)}},aKum:function(t,e,n){function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},i.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[\"$\"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var r=0;r<i.length;r++)if((n=i[r])===e||n.fn===e){i.splice(r,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[\"$\"+t];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,e);return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[\"$\"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},akSB:function(t,e,n){var i=n(\"AdPF\"),r=n(\"0z79\"),s=n(\"Cl5A\"),a=n(\"CIKq\");e.polling=function(t){var e=!1,n=!1,a=!1!==t.jsonp;if(\"undefined\"!=typeof location){var o=\"https:\"===location.protocol,l=location.port;l||(l=o?443:80),e=t.hostname!==location.hostname||l!==t.port,n=t.secure!==o}if(t.xdomain=e,t.xscheme=n,\"open\"in new i(t)&&!t.forceJSONP)return new r(t);if(!a)throw new Error(\"JSONP disabled\");return new s(t)},e.websocket=a},bHdf:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"5+tZ\"),r=n(\"SpAZ\");function s(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOdf:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"5+tZ\");function r(t,e){return Object(i.a)(t,e,1)}},bSwM:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return x}));var i=n(\"8LU1\"),r=n(\"fXoL\"),s=n(\"3Pt+\"),a=n(\"FKr1\"),o=n(\"R1ws\"),l=n(\"GU7r\"),c=n(\"u47x\");const h=[\"input\"],d=function(){return{enterDuration:150}},u=[\"*\"],p=new r.r(\"mat-checkbox-default-options\",{providedIn:\"root\",factory:function(){return{color:\"accent\",clickAction:\"check-indeterminate\"}}}),m=new r.r(\"mat-checkbox-click-action\");let f=0;const g={provide:s.l,useExisting:Object(r.V)(()=>v),multi:!0};class b{}class _{constructor(t){this._elementRef=t}}const y=Object(a.y)(Object(a.t)(Object(a.u)(Object(a.v)(_))));let v=(()=>{class t extends y{constructor(t,e,n,i,s,a,o,l){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._clickAction=a,this._animationMode=o,this._options=l,this.ariaLabel=\"\",this.ariaLabelledby=null,this._uniqueId=`mat-checkbox-${++f}`,this.id=this._uniqueId,this.labelPosition=\"after\",this.name=null,this.change=new r.o,this.indeterminateChange=new r.o,this._onTouched=()=>{},this._currentAnimationClass=\"\",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(s)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?\"true\":this.indeterminate?\"mixed\":\"false\"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new b;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||\"noop\"===this._clickAction?this.disabled||\"noop\"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&\"check\"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t=\"keyboard\",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if(\"NoopAnimations\"===this._animationMode)return\"\";let n=\"\";switch(t){case 0:if(1===e)n=\"unchecked-checked\";else{if(3!=e)return\"\";n=\"unchecked-indeterminate\"}break;case 2:n=1===e?\"unchecked-checked\":\"unchecked-indeterminate\";break;case 1:n=2===e?\"checked-unchecked\":\"checked-indeterminate\";break;case 3:n=1===e?\"indeterminate-checked\":\"indeterminate-unchecked\"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(r.h),r.Qb(c.h),r.Qb(r.A),r.bc(\"tabindex\"),r.Qb(m,8),r.Qb(o.a,8),r.Qb(p,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-checkbox\"]],viewQuery:function(t,e){var n;1&t&&(r.Pc(h,!0),r.Pc(a.p,!0)),2&t&&(r.vc(n=r.fc())&&(e._inputElement=n.first),r.vc(n=r.fc())&&(e.ripple=n.first))},hostAttrs:[1,\"mat-checkbox\"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Zb(\"id\",e.id),r.Eb(\"tabindex\",null),r.Hb(\"mat-checkbox-indeterminate\",e.indeterminate)(\"mat-checkbox-checked\",e.checked)(\"mat-checkbox-disabled\",e.disabled)(\"mat-checkbox-label-before\",\"before\"==e.labelPosition)(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode))},inputs:{disableRipple:\"disableRipple\",color:\"color\",tabIndex:\"tabIndex\",ariaLabel:[\"aria-label\",\"ariaLabel\"],ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],id:\"id\",labelPosition:\"labelPosition\",name:\"name\",required:\"required\",checked:\"checked\",disabled:\"disabled\",indeterminate:\"indeterminate\",value:\"value\"},outputs:{change:\"change\",indeterminateChange:\"indeterminateChange\"},exportAs:[\"matCheckbox\"],features:[r.Cb([g]),r.Ab],ngContentSelectors:u,decls:17,vars:19,consts:[[1,\"mat-checkbox-layout\"],[\"label\",\"\"],[1,\"mat-checkbox-inner-container\"],[\"type\",\"checkbox\",1,\"mat-checkbox-input\",\"cdk-visually-hidden\",3,\"id\",\"required\",\"checked\",\"disabled\",\"tabIndex\",\"change\",\"click\"],[\"input\",\"\"],[\"matRipple\",\"\",1,\"mat-checkbox-ripple\",\"mat-focus-indicator\",3,\"matRippleTrigger\",\"matRippleDisabled\",\"matRippleRadius\",\"matRippleCentered\",\"matRippleAnimation\"],[1,\"mat-ripple-element\",\"mat-checkbox-persistent-ripple\"],[1,\"mat-checkbox-frame\"],[1,\"mat-checkbox-background\"],[\"version\",\"1.1\",\"focusable\",\"false\",\"viewBox\",\"0 0 24 24\",0,\"xml\",\"space\",\"preserve\",1,\"mat-checkbox-checkmark\"],[\"fill\",\"none\",\"stroke\",\"white\",\"d\",\"M4.1,12.7 9,17.6 20.3,6.3\",1,\"mat-checkbox-checkmark-path\"],[1,\"mat-checkbox-mixedmark\"],[1,\"mat-checkbox-label\",3,\"cdkObserveContent\"],[\"checkboxLabel\",\"\"],[2,\"display\",\"none\"]],template:function(t,e){if(1&t&&(r.nc(),r.Wb(0,\"label\",0,1),r.Wb(2,\"div\",2),r.Wb(3,\"input\",3,4),r.ec(\"change\",(function(t){return e._onInteractionEvent(t)}))(\"click\",(function(t){return e._onInputClick(t)})),r.Vb(),r.Wb(5,\"div\",5),r.Rb(6,\"div\",6),r.Vb(),r.Rb(7,\"div\",7),r.Wb(8,\"div\",8),r.hc(),r.Wb(9,\"svg\",9),r.Rb(10,\"path\",10),r.Vb(),r.gc(),r.Rb(11,\"div\",11),r.Vb(),r.Vb(),r.Wb(12,\"span\",12,13),r.ec(\"cdkObserveContent\",(function(){return e._onLabelTextChange()})),r.Wb(14,\"span\",14),r.Jc(15,\"\\xa0\"),r.Vb(),r.mc(16),r.Vb(),r.Vb()),2&t){const t=r.wc(1),n=r.wc(13);r.Eb(\"for\",e.inputId),r.Db(2),r.Hb(\"mat-checkbox-inner-container-no-side-margin\",!n.textContent||!n.textContent.trim()),r.Db(1),r.oc(\"id\",e.inputId)(\"required\",e.required)(\"checked\",e.checked)(\"disabled\",e.disabled)(\"tabIndex\",e.tabIndex),r.Eb(\"value\",e.value)(\"name\",e.name)(\"aria-label\",e.ariaLabel||null)(\"aria-labelledby\",e.ariaLabelledby)(\"aria-checked\",e._getAriaChecked()),r.Db(2),r.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e._isRippleDisabled())(\"matRippleRadius\",20)(\"matRippleCentered\",!0)(\"matRippleAnimation\",r.sc(18,d))}},directives:[a.p,l.a],styles:[\"@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\\n\"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[a.q,a.f,l.c,w],a.f,w]}),t})()},bTqV:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u})),n.d(e,\"b\",(function(){return p}));var i=n(\"FKr1\"),r=n(\"R1ws\"),s=n(\"fXoL\"),a=n(\"u47x\");const o=[\"mat-button\",\"\"],l=[\"*\"],c=[\"mat-button\",\"mat-flat-button\",\"mat-icon-button\",\"mat-raised-button\",\"mat-stroked-button\",\"mat-mini-fab\",\"mat-fab\"];class h{constructor(t){this._elementRef=t}}const d=Object(i.t)(Object(i.v)(Object(i.u)(h)));let u=(()=>{class t extends d{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes(\"mat-fab\",\"mat-mini-fab\"),this.isIconButton=this._hasHostAttributes(\"mat-icon-button\");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add(\"mat-button-base\"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color=\"accent\")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t=\"program\",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(a.h),s.Qb(r.a,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"button\",\"mat-button\",\"\"],[\"button\",\"mat-raised-button\",\"\"],[\"button\",\"mat-icon-button\",\"\"],[\"button\",\"mat-fab\",\"\"],[\"button\",\"mat-mini-fab\",\"\"],[\"button\",\"mat-stroked-button\",\"\"],[\"button\",\"mat-flat-button\",\"\"]],viewQuery:function(t,e){var n;1&t&&s.Pc(i.p,!0),2&t&&s.vc(n=s.fc())&&(e.ripple=n.first)},hostAttrs:[1,\"mat-focus-indicator\"],hostVars:3,hostBindings:function(t,e){2&t&&(s.Eb(\"disabled\",e.disabled||null),s.Hb(\"_mat-animation-noopable\",\"NoopAnimations\"===e._animationMode))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",color:\"color\"},exportAs:[\"matButton\"],features:[s.Ab],attrs:o,ngContentSelectors:l,decls:4,vars:5,consts:[[1,\"mat-button-wrapper\"],[\"matRipple\",\"\",1,\"mat-button-ripple\",3,\"matRippleDisabled\",\"matRippleCentered\",\"matRippleTrigger\"],[1,\"mat-button-focus-overlay\"]],template:function(t,e){1&t&&(s.nc(),s.Wb(0,\"span\",0),s.mc(1),s.Vb(),s.Rb(2,\"div\",1),s.Rb(3,\"div\",2)),2&t&&(s.Db(2),s.Hb(\"mat-button-ripple-round\",e.isRoundButton||e.isIconButton),s.oc(\"matRippleDisabled\",e._isRippleDisabled())(\"matRippleCentered\",e.isIconButton)(\"matRippleTrigger\",e._getHostElement()))},directives:[i.p],styles:[\".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\\n\"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[i.q,i.f],i.f]}),t})()},bv9b:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return g})),n.d(e,\"b\",(function(){return _}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"FKr1\"),a=n(\"8LU1\"),o=n(\"R1ws\"),l=n(\"quSY\"),c=n(\"xgIS\"),h=n(\"pLZG\");const d=[\"primaryValueBar\"];class u{constructor(t){this._elementRef=t}}const p=Object(s.t)(u,\"primary\"),m=new i.r(\"mat-progress-bar-location\",{providedIn:\"root\",factory:function(){const t=Object(i.W)(r.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:\"\"}}});let f=0,g=(()=>{class t extends p{constructor(t,e,n,r){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.o,this._animationEndSubscription=l.a.EMPTY,this.mode=\"determinate\",this.progressbarId=`mat-progress-bar-${f++}`;const s=r?r.getPathname().split(\"#\")[0]:\"\";this._rectangleFillValue=`url('${s}#${this.progressbarId}')`,this._isNoopAnimation=\"NoopAnimations\"===n}get value(){return this._value}set value(t){this._value=b(Object(a.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=b(t||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return\"buffer\"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(c.a)(t,\"transitionend\").pipe(Object(h.a)(e=>e.target===t)).subscribe(()=>{\"determinate\"!==this.mode&&\"buffer\"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.A),i.Qb(o.a,8),i.Qb(m,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-progress-bar\"]],viewQuery:function(t,e){var n;1&t&&i.Pc(d,!0),2&t&&i.vc(n=i.fc())&&(e._primaryValueBar=n.first)},hostAttrs:[\"role\",\"progressbar\",\"aria-valuemin\",\"0\",\"aria-valuemax\",\"100\",1,\"mat-progress-bar\"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Eb(\"aria-valuenow\",\"indeterminate\"===e.mode||\"query\"===e.mode?null:e.value)(\"mode\",e.mode),i.Hb(\"_mat-animation-noopable\",e._isNoopAnimation))},inputs:{color:\"color\",mode:\"mode\",value:\"value\",bufferValue:\"bufferValue\"},outputs:{animationEnd:\"animationEnd\"},exportAs:[\"matProgressBar\"],features:[i.Ab],decls:9,vars:4,consts:[[\"width\",\"100%\",\"height\",\"4\",\"focusable\",\"false\",1,\"mat-progress-bar-background\",\"mat-progress-bar-element\"],[\"x\",\"4\",\"y\",\"0\",\"width\",\"8\",\"height\",\"4\",\"patternUnits\",\"userSpaceOnUse\",3,\"id\"],[\"cx\",\"2\",\"cy\",\"2\",\"r\",\"2\"],[\"width\",\"100%\",\"height\",\"100%\"],[1,\"mat-progress-bar-buffer\",\"mat-progress-bar-element\",3,\"ngStyle\"],[1,\"mat-progress-bar-primary\",\"mat-progress-bar-fill\",\"mat-progress-bar-element\",3,\"ngStyle\"],[\"primaryValueBar\",\"\"],[1,\"mat-progress-bar-secondary\",\"mat-progress-bar-fill\",\"mat-progress-bar-element\"]],template:function(t,e){1&t&&(i.hc(),i.Wb(0,\"svg\",0),i.Wb(1,\"defs\"),i.Wb(2,\"pattern\",1),i.Rb(3,\"circle\",2),i.Vb(),i.Vb(),i.Rb(4,\"rect\",3),i.Vb(),i.gc(),i.Rb(5,\"div\",4),i.Rb(6,\"div\",5,6),i.Rb(8,\"div\",7)),2&t&&(i.Db(2),i.oc(\"id\",e.progressbarId),i.Db(2),i.Eb(\"fill\",e._rectangleFillValue),i.Db(1),i.oc(\"ngStyle\",e._bufferTransform()),i.Db(1),i.oc(\"ngStyle\",e._primaryTransform()))},directives:[r.m],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:\"\";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\\n'],encapsulation:2,changeDetection:0}),t})();function b(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let _=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.c,s.f],s.f]}),t})()},c2HN:function(t,e,n){\"use strict\";function i(t){return!!t&&\"function\"!=typeof t.subscribe&&\"function\"==typeof t.then}n.d(e,\"a\",(function(){return i}))},cD5x:function(t,e,n){var i=n(\"ojuT\"),r=n(\"+SKG\"),s=Object.prototype.toString,a=\"function\"==typeof Blob||\"undefined\"!=typeof Blob&&\"[object BlobConstructor]\"===s.call(Blob),o=\"function\"==typeof File||\"undefined\"!=typeof File&&\"[object FileConstructor]\"===s.call(File);e.deconstructPacket=function(t){var e=[],n=t;return n.data=function t(e,n){if(!e)return e;if(r(e)){var s={_placeholder:!0,num:n.length};return n.push(e),s}if(i(e)){for(var a=new Array(e.length),o=0;o<e.length;o++)a[o]=t(e[o],n);return a}if(\"object\"==typeof e&&!(e instanceof Date)){for(var l in a={},e)a[l]=t(e[l],n);return a}return e}(t.data,e),n.attachments=e.length,{packet:n,buffers:e}},e.reconstructPacket=function(t,e){return t.data=function t(e,n){if(!e)return e;if(e&&e._placeholder)return n[e.num];if(i(e))for(var r=0;r<e.length;r++)e[r]=t(e[r],n);else if(\"object\"==typeof e)for(var s in e)e[s]=t(e[s],n);return e}(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){var n=0,s=t;!function t(l,c,h){if(!l)return l;if(a&&l instanceof Blob||o&&l instanceof File){n++;var d=new FileReader;d.onload=function(){h?h[c]=this.result:s=this.result,--n||e(s)},d.readAsArrayBuffer(l)}else if(i(l))for(var u=0;u<l.length;u++)t(l[u],u,l);else if(\"object\"==typeof l&&!r(l))for(var p in l)t(l[p],p,l)}(s),n||e(s)}},cH1L:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o})),n.d(e,\"b\",(function(){return a}));var i=n(\"fXoL\"),r=n(\"ofXK\");const s=new i.r(\"cdk-dir-doc\",{providedIn:\"root\",factory:function(){return Object(i.W)(r.d)}});let a=(()=>{class t{constructor(t){if(this.value=\"ltr\",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value=\"ltr\"===n||\"rtl\"===n?n:\"ltr\"}}ngOnDestroy(){this.change.complete()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(s,8))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(s,8))},token:t,providedIn:\"root\"}),t})(),o=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})()},cp0P:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"HDdC\"),r=n(\"DH7j\"),s=n(\"lJxs\"),a=n(\"XoHu\"),o=n(\"Cfvw\");function l(...t){if(1===t.length){const e=t[0];if(Object(r.a)(e))return c(e,null);if(Object(a.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if(\"function\"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(r.a)(t[0])?t[0]:t,null).pipe(Object(s.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,a=0;for(let l=0;l<i;l++){const c=Object(o.a)(t[l]);let h=!1;n.add(c.subscribe({next:t=>{h||(h=!0,a++),r[l]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&h||(a===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}},d3UM:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return q})),n.d(e,\"b\",(function(){return Q}));var i=n(\"rDax\"),r=n(\"ofXK\"),s=n(\"fXoL\"),a=n(\"FKr1\"),o=n(\"kmnG\"),l=n(\"u47x\"),c=n(\"8LU1\"),h=n(\"0EQZ\"),d=n(\"FtGj\"),u=n(\"XNiG\"),p=n(\"NXyV\"),m=n(\"VRyK\"),f=n(\"JX91\"),g=n(\"eIep\"),b=n(\"IzEk\"),_=n(\"pLZG\"),y=n(\"lJxs\"),v=n(\"/uUt\"),w=n(\"1G5W\"),x=n(\"R0Ic\"),C=n(\"vxfF\"),k=n(\"cH1L\"),O=n(\"3Pt+\");const S=[\"trigger\"],M=[\"panel\"];function P(t,e){if(1&t&&(s.Wb(0,\"span\",8),s.Jc(1),s.Vb()),2&t){const t=s.ic();s.Db(1),s.Kc(t.placeholder||\"\\xa0\")}}function E(t,e){if(1&t&&(s.Wb(0,\"span\"),s.Jc(1),s.Vb()),2&t){const t=s.ic(2);s.Db(1),s.Kc(t.triggerValue||\"\\xa0\")}}function A(t,e){1&t&&s.mc(0,0,[\"*ngSwitchCase\",\"true\"])}function D(t,e){if(1&t&&(s.Wb(0,\"span\",9),s.Hc(1,E,2,1,\"span\",10),s.Hc(2,A,1,0,void 0,11),s.Vb()),2&t){const t=s.ic();s.oc(\"ngSwitch\",!!t.customTrigger),s.Db(2),s.oc(\"ngSwitchCase\",!0)}}function R(t,e){if(1&t){const t=s.Xb();s.Wb(0,\"div\",12),s.Wb(1,\"div\",13,14),s.ec(\"@transformPanel.done\",(function(e){return s.zc(t),s.ic()._panelDoneAnimatingStream.next(e.toState)}))(\"keydown\",(function(e){return s.zc(t),s.ic()._handleKeydown(e)})),s.mc(3,1),s.Vb(),s.Vb()}if(2&t){const t=s.ic();s.oc(\"@transformPanelWrap\",void 0),s.Db(1),s.Gb(\"mat-select-panel \",t._getPanelTheme(),\"\"),s.Gc(\"transform-origin\",t._transformOrigin)(\"font-size\",t._triggerFontSize,\"px\"),s.oc(\"ngClass\",t.panelClass)(\"@transformPanel\",t.multiple?\"showing-multiple\":\"showing\")}}const T=[[[\"mat-select-trigger\"]],\"*\"],I=[\"mat-select-trigger\",\"*\"],j={transformPanelWrap:Object(x.p)(\"transformPanelWrap\",[Object(x.o)(\"* => void\",Object(x.j)(\"@transformPanel\",[Object(x.f)()],{optional:!0}))]),transformPanel:Object(x.p)(\"transformPanel\",[Object(x.m)(\"void\",Object(x.n)({transform:\"scaleY(0.8)\",minWidth:\"100%\",opacity:0})),Object(x.m)(\"showing\",Object(x.n)({opacity:1,minWidth:\"calc(100% + 32px)\",transform:\"scaleY(1)\"})),Object(x.m)(\"showing-multiple\",Object(x.n)({opacity:1,minWidth:\"calc(100% + 64px)\",transform:\"scaleY(1)\"})),Object(x.o)(\"void => *\",Object(x.e)(\"120ms cubic-bezier(0, 0, 0.2, 1)\")),Object(x.o)(\"* => void\",Object(x.e)(\"100ms 25ms linear\",Object(x.n)({opacity:0})))])};let L=0;const F=new s.r(\"mat-select-scroll-strategy\"),N=new s.r(\"MAT_SELECT_CONFIG\"),V={provide:F,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class z{constructor(t,e){this.source=t,this.value=e}}class B{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const H=Object(a.u)(Object(a.y)(Object(a.v)(Object(a.w)(B))));let U=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-select-trigger\"]]}),t})(),q=(()=>{class t extends H{constructor(t,e,n,i,r,a,o,l,c,h,d,v,w,x){super(r,i,o,l,h),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=a,this._parentFormField=c,this.ngControl=h,this._liveAnnouncer=w,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid=`mat-select-${L++}`,this._destroy=new u.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds=\"\",this._transformOrigin=\"top\",this._panelDoneAnimatingStream=new u.a,this._offsetY=0,this._positions=[{originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"top\"},{originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"bottom\"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType=\"mat-select\",this.ariaLabel=\"\",this.optionSelectionChanges=Object(p.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(f.a)(t),Object(g.a)(()=>Object(m.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(b.a)(1),Object(g.a)(()=>this.optionSelectionChanges))}),this.openedChange=new s.o,this._openedStream=this.openedChange.pipe(Object(_.a)(t=>t),Object(y.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(_.a)(t=>!t),Object(y.a)(()=>{})),this.selectionChange=new s.o,this.valueChange=new s.o,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,x&&(null!=x.disableOptionCentering&&(this.disableOptionCentering=x.disableOptionCentering),null!=x.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=x.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(c.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error(\"Cannot change `multiple` mode of select after initialization.\");this._multiple=Object(c.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(c.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if(\"function\"!=typeof t)throw Error(\"`compareWith` must be a function.\");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(c.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(v.a)(),Object(w.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(w.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(w.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(f.a)(null),Object(w.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||\"0\"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(b.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?\"rtl\":\"ltr\"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return\"\";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(\", \")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&\"rtl\"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.b||e===d.n||e===d.g||e===d.k,i=e===d.d||e===d.l,r=this._keyManager;if(!r.isTyping()&&i&&!Object(d.q)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;e===d.f||e===d.c?(e===d.f?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);const i=this.selected;i&&n!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.b||n===d.n,r=e.isTyping();if(n===d.f||n===d.c)t.preventDefault(),n===d.f?e.setFirstItemActive():e.setLastItemActive();else if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==d.d&&n!==d.l||!e.activeItem||Object(d.q)(t))if(!r&&this._multiple&&n===d.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(b.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:\"\"}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error(\"Value must be an array in multiple-selection mode.\");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return Object(s.X)()&&console.warn(n),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?\"rtl\":\"ltr\").withAllowedModifierKeys([\"shiftKey\"]),this._keyManager.tabOut.pipe(Object(w.a)(this._destroy)).subscribe(()=>{!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close()}),this._keyManager.change.pipe(Object(w.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(w.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(m.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(w.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new z(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(\" \")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(a.r)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(a.s)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,n,i)=>void 0!==e?e:t===n?i:void 0,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(a.r)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),a=t.right+r-e.width+(n?0:i);s>0?r+=s+8:a>0&&(r-=a+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(256/i);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*a-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-s-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin=\"50% bottom 0px\")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin=\"50% top 0px\")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(\" \")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(C.d),s.Qb(s.h),s.Qb(s.A),s.Qb(a.b),s.Qb(s.l),s.Qb(k.b,8),s.Qb(O.p,8),s.Qb(O.g,8),s.Qb(o.b,8),s.Qb(O.m,10),s.bc(\"tabindex\"),s.Qb(F),s.Qb(l.k),s.Qb(N,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-select\"]],contentQueries:function(t,e,n){var i;1&t&&(s.Jb(n,U,!0),s.Jb(n,a.k,!0),s.Jb(n,a.j,!0)),2&t&&(s.vc(i=s.fc())&&(e.customTrigger=i.first),s.vc(i=s.fc())&&(e.options=i),s.vc(i=s.fc())&&(e.optionGroups=i))},viewQuery:function(t,e){var n;1&t&&(s.Pc(S,!0),s.Pc(M,!0),s.Pc(i.a,!0)),2&t&&(s.vc(n=s.fc())&&(e.trigger=n.first),s.vc(n=s.fc())&&(e.panel=n.first),s.vc(n=s.fc())&&(e.overlayDir=n.first))},hostAttrs:[\"role\",\"listbox\",1,\"mat-select\"],hostVars:19,hostBindings:function(t,e){1&t&&s.ec(\"keydown\",(function(t){return e._handleKeydown(t)}))(\"focus\",(function(){return e._onFocus()}))(\"blur\",(function(){return e._onBlur()})),2&t&&(s.Eb(\"id\",e.id)(\"tabindex\",e.tabIndex)(\"aria-label\",e._getAriaLabel())(\"aria-labelledby\",e._getAriaLabelledby())(\"aria-required\",e.required.toString())(\"aria-disabled\",e.disabled.toString())(\"aria-invalid\",e.errorState)(\"aria-owns\",e.panelOpen?e._optionIds:null)(\"aria-multiselectable\",e.multiple)(\"aria-describedby\",e._ariaDescribedby||null)(\"aria-activedescendant\",e._getAriaActiveDescendant()),s.Hb(\"mat-select-disabled\",e.disabled)(\"mat-select-invalid\",e.errorState)(\"mat-select-required\",e.required)(\"mat-select-empty\",e.empty))},inputs:{disabled:\"disabled\",disableRipple:\"disableRipple\",tabIndex:\"tabIndex\",ariaLabel:[\"aria-label\",\"ariaLabel\"],id:\"id\",disableOptionCentering:\"disableOptionCentering\",typeaheadDebounceInterval:\"typeaheadDebounceInterval\",placeholder:\"placeholder\",required:\"required\",multiple:\"multiple\",compareWith:\"compareWith\",value:\"value\",panelClass:\"panelClass\",ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],errorStateMatcher:\"errorStateMatcher\",sortComparator:\"sortComparator\"},outputs:{openedChange:\"openedChange\",_openedStream:\"opened\",_closedStream:\"closed\",selectionChange:\"selectionChange\",valueChange:\"valueChange\"},exportAs:[\"matSelect\"],features:[s.Cb([{provide:o.c,useExisting:t},{provide:a.e,useExisting:t}]),s.Ab,s.Bb()],ngContentSelectors:I,decls:9,vars:9,consts:[[\"cdk-overlay-origin\",\"\",\"aria-hidden\",\"true\",1,\"mat-select-trigger\",3,\"click\"],[\"origin\",\"cdkOverlayOrigin\",\"trigger\",\"\"],[1,\"mat-select-value\",3,\"ngSwitch\"],[\"class\",\"mat-select-placeholder\",4,\"ngSwitchCase\"],[\"class\",\"mat-select-value-text\",3,\"ngSwitch\",4,\"ngSwitchCase\"],[1,\"mat-select-arrow-wrapper\"],[1,\"mat-select-arrow\"],[\"cdk-connected-overlay\",\"\",\"cdkConnectedOverlayLockPosition\",\"\",\"cdkConnectedOverlayHasBackdrop\",\"\",\"cdkConnectedOverlayBackdropClass\",\"cdk-overlay-transparent-backdrop\",3,\"cdkConnectedOverlayScrollStrategy\",\"cdkConnectedOverlayOrigin\",\"cdkConnectedOverlayOpen\",\"cdkConnectedOverlayPositions\",\"cdkConnectedOverlayMinWidth\",\"cdkConnectedOverlayOffsetY\",\"backdropClick\",\"attach\",\"detach\"],[1,\"mat-select-placeholder\"],[1,\"mat-select-value-text\",3,\"ngSwitch\"],[4,\"ngSwitchDefault\"],[4,\"ngSwitchCase\"],[1,\"mat-select-panel-wrap\"],[3,\"ngClass\",\"keydown\"],[\"panel\",\"\"]],template:function(t,e){if(1&t&&(s.nc(T),s.Wb(0,\"div\",0,1),s.ec(\"click\",(function(){return e.toggle()})),s.Wb(3,\"div\",2),s.Hc(4,P,2,1,\"span\",3),s.Hc(5,D,3,2,\"span\",4),s.Vb(),s.Wb(6,\"div\",5),s.Rb(7,\"div\",6),s.Vb(),s.Vb(),s.Hc(8,R,4,10,\"ng-template\",7),s.ec(\"backdropClick\",(function(){return e.close()}))(\"attach\",(function(){return e._onAttached()}))(\"detach\",(function(){return e.close()}))),2&t){const t=s.wc(1);s.Db(3),s.oc(\"ngSwitch\",e.empty),s.Db(1),s.oc(\"ngSwitchCase\",!0),s.Db(1),s.oc(\"ngSwitchCase\",!1),s.Db(3),s.oc(\"cdkConnectedOverlayScrollStrategy\",e._scrollStrategy)(\"cdkConnectedOverlayOrigin\",t)(\"cdkConnectedOverlayOpen\",e.panelOpen)(\"cdkConnectedOverlayPositions\",e._positions)(\"cdkConnectedOverlayMinWidth\",null==e._triggerRect?null:e._triggerRect.width)(\"cdkConnectedOverlayOffsetY\",e._offsetY)}},directives:[i.b,r.n,r.o,i.a,r.p,r.j],styles:[\".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\\n\"],encapsulation:2,data:{animation:[j.transformPanelWrap,j.transformPanel]},changeDetection:0}),t})(),Q=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[V],imports:[[r.c,i.f,a.l,a.f],o.d,a.l,a.f]}),t})()},dNgK:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return S})),n.d(e,\"b\",(function(){return k}));var i=n(\"rDax\"),r=n(\"+rOU\"),s=n(\"ofXK\"),a=n(\"fXoL\"),o=n(\"FKr1\"),l=n(\"bTqV\"),c=n(\"XNiG\"),h=n(\"IzEk\"),d=n(\"1G5W\"),u=n(\"R0Ic\"),p=n(\"u47x\"),m=n(\"0MNC\");function f(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",1),a.Wb(1,\"button\",2),a.ec(\"click\",(function(){return a.zc(t),a.ic().action()})),a.Jc(2),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(2),a.Kc(t.data.action)}}function g(t,e){}const b=Math.pow(2,31)-1;class _{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.a,this._afterOpened=new c.a,this._onAction=new c.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,b))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const y=new a.r(\"MatSnackBarData\");class v{constructor(){this.politeness=\"assertive\",this.announcementMessage=\"\",this.duration=0,this.data=null,this.horizontalPosition=\"center\",this.verticalPosition=\"bottom\"}}let w=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(_),a.Qb(y))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"simple-snack-bar\"]],hostAttrs:[1,\"mat-simple-snackbar\"],decls:3,vars:2,consts:[[\"class\",\"mat-simple-snackbar-action\",4,\"ngIf\"],[1,\"mat-simple-snackbar-action\"],[\"mat-button\",\"\",3,\"click\"]],template:function(t,e){1&t&&(a.Wb(0,\"span\"),a.Jc(1),a.Vb(),a.Hc(2,f,3,1,\"div\",0)),2&t&&(a.Db(1),a.Kc(e.data.message),a.Db(1),a.oc(\"ngIf\",e.hasAction))},directives:[s.l,l.a],styles:[\".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\\n\"],encapsulation:2,changeDetection:0}),t})();const x={snackBarState:Object(u.p)(\"state\",[Object(u.m)(\"void, hidden\",Object(u.n)({transform:\"scale(0.8)\",opacity:0})),Object(u.m)(\"visible\",Object(u.n)({transform:\"scale(1)\",opacity:1})),Object(u.o)(\"* => visible\",Object(u.e)(\"150ms cubic-bezier(0, 0, 0.2, 1)\")),Object(u.o)(\"* => void, * => hidden\",Object(u.e)(\"75ms cubic-bezier(0.4, 0.0, 1, 1)\",Object(u.n)({opacity:0})))])};let C=(()=>{class t extends r.a{constructor(t,e,n,i){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=i,this._destroyed=!1,this._onExit=new c.a,this._onEnter=new c.a,this._animationState=\"void\",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._role=\"assertive\"!==i.politeness||i.announcementMessage?\"off\"===i.politeness?null:\"status\":\"alert\"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if((\"void\"===n&&\"void\"!==e||\"hidden\"===n)&&this._completeExit(),\"visible\"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState=\"visible\",this._changeDetectorRef.detectChanges())}exit(){return this._animationState=\"hidden\",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(h.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),\"center\"===this.snackBarConfig.horizontalPosition&&t.classList.add(\"mat-snack-bar-center\"),\"top\"===this.snackBarConfig.verticalPosition&&t.classList.add(\"mat-snack-bar-top\")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error(\"Attempting to attach snack bar content after content is already attached\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.A),a.Qb(a.l),a.Qb(a.h),a.Qb(v))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"snack-bar-container\"]],viewQuery:function(t,e){var n;1&t&&a.Fc(r.b,!0),2&t&&a.vc(n=a.fc())&&(e._portalOutlet=n.first)},hostAttrs:[1,\"mat-snack-bar-container\"],hostVars:2,hostBindings:function(t,e){1&t&&a.Ib(\"@state.done\",(function(t){return e.onAnimationEnd(t)})),2&t&&(a.Eb(\"role\",e._role),a.Oc(\"@state\",e._animationState))},features:[a.Ab],decls:1,vars:0,consts:[[\"cdkPortalOutlet\",\"\"]],template:function(t,e){1&t&&a.Hc(0,g,0,0,\"ng-template\",0)},directives:[r.b],styles:[\".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\\n\"],encapsulation:2,data:{animation:[x.snackBarState]}}),t})(),k=(()=>{class t{}return t.\\u0275mod=a.Ob({type:t}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)},imports:[[i.f,r.f,s.c,l.b,o.f],o.f]}),t})();const O=new a.r(\"mat-snack-bar-default-options\",{providedIn:\"root\",factory:function(){return new v}});let S=(()=>{class t{constructor(t,e,n,i,r,s){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e=\"\",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage||(i.announcementMessage=t),this.openFromComponent(w,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new r.e(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[v,e]])),i=new r.c(C,e.viewContainerRef,n),s=t.attach(i);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new v),this._defaultConfig),e),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),o=new _(s,i);if(t instanceof a.M){const e=new r.g(t,null,{$implicit:n.data,snackBarRef:o});o.instance=s.attachTemplatePortal(e)}else{const e=this._createInjector(n,o),i=new r.c(t,void 0,e),a=s.attachComponentPortal(i);o.instance=a.instance}return this._breakpointObserver.observe(m.b.HandsetPortrait).pipe(Object(d.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(\"mat-snack-bar-handset\"):e.remove(\"mat-snack-bar-handset\")}),this._animateSnackBar(o,n),this._openedSnackBarRef=o,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new i.d;e.direction=t.direction;let n=this._overlay.position().global();const r=\"rtl\"===t.direction,s=\"left\"===t.horizontalPosition||\"start\"===t.horizontalPosition&&!r||\"end\"===t.horizontalPosition&&r,a=!s&&\"center\"!==t.horizontalPosition;return s?n.left(\"0\"):a?n.right(\"0\"):n.centerHorizontally(),\"top\"===t.verticalPosition?n.top(\"0\"):n.bottom(\"0\"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new r.e(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[_,e],[y,t.data]]))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(i.c),a.ac(p.k),a.ac(a.s),a.ac(m.a),a.ac(t,12),a.ac(O))},t.\\u0275prov=Object(a.Mb)({factory:function(){return new t(Object(a.ac)(i.c),Object(a.ac)(p.k),Object(a.ac)(a.p),Object(a.ac)(m.a),Object(a.ac)(t,12),Object(a.ac)(O))},token:t,providedIn:k}),t})()},\"dkv/\":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var i in t)n.call(t,i)&&e.push(i);return e}},eIep:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"l7GE\"),r=n(\"51Dv\"),s=n(\"ZUHj\"),a=n(\"lJxs\"),o=n(\"Cfvw\");function l(t,e){return\"function\"==typeof e?n=>n.pipe(l((n,i)=>Object(o.a)(t(n,i)).pipe(Object(a.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new c(t))}class c{constructor(t){this.project=t}call(t,e){return e.subscribe(new h(t,this.project))}}class h extends i.a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)}_innerSub(t,e,n){const i=this.innerSubscription;i&&i.unsubscribe();const a=new r.a(this,e,n),o=this.destination;o.add(a),this.innerSubscription=Object(s.a)(this,t,void 0,void 0,a),this.innerSubscription!==a&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,i,r){this.destination.next(e)}}},eOtv:function(t,e,n){var i=n(\"lKxJ\"),r=n(\"KFGy\"),s=n(\"2xqC\"),a=n(\"Vo14\"),o=n(\"2Dig\"),l=n(\"QN7Q\"),c=n(\"NOtv\")(\"socket.io-client:manager\"),h=n(\"7jRU\"),d=n(\"C2QD\"),u=Object.prototype.hasOwnProperty;function p(t,e){if(!(this instanceof p))return new p(t,e);t&&\"object\"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||\"/socket.io\",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState=\"closed\",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=p,p.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)u.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},p.prototype.updateSocketIds=function(){for(var t in this.nsps)u.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},p.prototype.generateId=function(t){return(\"/\"===t?\"\":t+\"#\")+this.engine.id},s(p.prototype),p.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},p.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},p.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(t,e){if(c(\"readyState %s\",this.readyState),~this.readyState.indexOf(\"open\"))return this;c(\"opening %s\",this.uri),this.engine=i(this.uri,this.opts);var n=this.engine,r=this;this.readyState=\"opening\",this.skipReconnect=!1;var s=o(n,\"open\",(function(){r.onopen(),t&&t()})),a=o(n,\"error\",(function(e){if(c(\"connect_error\"),r.cleanup(),r.readyState=\"closed\",r.emitAll(\"connect_error\",e),t){var n=new Error(\"Connection error\");n.data=e,t(n)}else r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var l=this._timeout;c(\"connect attempt will timeout after %d\",l);var h=setTimeout((function(){c(\"connect attempt timed out after %d\",l),s.destroy(),n.close(),n.emit(\"error\",\"timeout\"),r.emitAll(\"connect_timeout\",l)}),l);this.subs.push({destroy:function(){clearTimeout(h)}})}return this.subs.push(s),this.subs.push(a),this},p.prototype.onopen=function(){c(\"open\"),this.cleanup(),this.readyState=\"open\",this.emit(\"open\");var t=this.engine;this.subs.push(o(t,\"data\",l(this,\"ondata\"))),this.subs.push(o(t,\"ping\",l(this,\"onping\"))),this.subs.push(o(t,\"pong\",l(this,\"onpong\"))),this.subs.push(o(t,\"error\",l(this,\"onerror\"))),this.subs.push(o(t,\"close\",l(this,\"onclose\"))),this.subs.push(o(this.decoder,\"decoded\",l(this,\"ondecoded\")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll(\"ping\")},p.prototype.onpong=function(){this.emitAll(\"pong\",new Date-this.lastPing)},p.prototype.ondata=function(t){this.decoder.add(t)},p.prototype.ondecoded=function(t){this.emit(\"packet\",t)},p.prototype.onerror=function(t){c(\"error\",t),this.emitAll(\"error\",t)},p.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new r(this,t,e),this.nsps[t]=n;var i=this;n.on(\"connecting\",s),n.on(\"connect\",(function(){n.id=i.generateId(t)})),this.autoConnect&&s()}function s(){~h(i.connecting,n)||i.connecting.push(n)}return n},p.prototype.destroy=function(t){var e=h(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},p.prototype.packet=function(t){c(\"writing packet %j\",t);var e=this;t.query&&0===t.type&&(t.nsp+=\"?\"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var i=0;i<n.length;i++)e.engine.write(n[i],t.options);e.encoding=!1,e.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},p.prototype.cleanup=function(){c(\"cleanup\");for(var t=this.subs.length,e=0;e<t;e++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){c(\"disconnect\"),this.skipReconnect=!0,this.reconnecting=!1,\"opening\"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState=\"closed\",this.engine&&this.engine.close()},p.prototype.onclose=function(t){c(\"onclose\"),this.cleanup(),this.backoff.reset(),this.readyState=\"closed\",this.emit(\"close\",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)c(\"reconnect failed\"),this.backoff.reset(),this.emitAll(\"reconnect_failed\"),this.reconnecting=!1;else{var e=this.backoff.duration();c(\"will wait %dms before reconnect attempt\",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(c(\"attempting reconnect\"),t.emitAll(\"reconnect_attempt\",t.backoff.attempts),t.emitAll(\"reconnecting\",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(c(\"reconnect attempt error\"),t.reconnecting=!1,t.reconnect(),t.emitAll(\"reconnect_error\",e.data)):(c(\"reconnect success\"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll(\"reconnect\",t)}},evrj:function(t,e,n){var i=n(\"m4GZ\");t.exports=function(t){var e=t.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(e.length%4){case 0:break;case 2:e+=\"==\";break;case 3:e+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(t){return decodeURIComponent(i(t).replace(/(.)/g,(function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n=\"0\"+n),\"%\"+n})))}(e)}catch(n){return i(e)}}},f0Cb:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a})),n.d(e,\"b\",(function(){return o}));var i=n(\"8LU1\"),r=n(\"FKr1\"),s=n(\"fXoL\");let a=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-divider\"]],hostAttrs:[\"role\",\"separator\",1,\"mat-divider\"],hostVars:7,hostBindings:function(t,e){2&t&&(s.Eb(\"aria-orientation\",e.vertical?\"vertical\":\"horizontal\"),s.Hb(\"mat-divider-vertical\",e.vertical)(\"mat-divider-horizontal\",!e.vertical)(\"mat-divider-inset\",e.inset))},inputs:{vertical:\"vertical\",inset:\"inset\"},decls:0,vars:0,template:function(t,e){},styles:[\".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\\n\"],encapsulation:2,changeDetection:0}),t})(),o=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[r.f],r.f]}),t})()},fXoL:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return xs})),n.d(e,\"b\",(function(){return Yl})),n.d(e,\"c\",(function(){return Hl})),n.d(e,\"d\",(function(){return zl})),n.d(e,\"e\",(function(){return Bl})),n.d(e,\"f\",(function(){return Bc})),n.d(e,\"g\",(function(){return Ec})),n.d(e,\"h\",(function(){return ss})),n.d(e,\"i\",(function(){return rc})),n.d(e,\"j\",(function(){return ho})),n.d(e,\"k\",(function(){return Xl})),n.d(e,\"l\",(function(){return uo})),n.d(e,\"m\",(function(){return Fc})),n.d(e,\"n\",(function(){return cn})),n.d(e,\"o\",(function(){return gl})),n.d(e,\"p\",(function(){return W})),n.d(e,\"q\",(function(){return c})),n.d(e,\"r\",(function(){return Q})),n.d(e,\"s\",(function(){return ws})),n.d(e,\"t\",(function(){return Do})),n.d(e,\"u\",(function(){return Ro})),n.d(e,\"v\",(function(){return Gl})),n.d(e,\"w\",(function(){return ot})),n.d(e,\"x\",(function(){return Dc})),n.d(e,\"y\",(function(){return at})),n.d(e,\"z\",(function(){return kc})),n.d(e,\"A\",(function(){return lc})),n.d(e,\"B\",(function(){return h})),n.d(e,\"C\",(function(){return Wl})),n.d(e,\"D\",(function(){return Ql})),n.d(e,\"E\",(function(){return _l})),n.d(e,\"F\",(function(){return go})),n.d(e,\"G\",(function(){return mo})),n.d(e,\"H\",(function(){return fo})),n.d(e,\"I\",(function(){return _o})),n.d(e,\"J\",(function(){return Xn})),n.d(e,\"K\",(function(){return u})),n.d(e,\"L\",(function(){return Ic})),n.d(e,\"M\",(function(){return Lo})),n.d(e,\"N\",(function(){return gc})),n.d(e,\"O\",(function(){return yo})),n.d(e,\"P\",(function(){return No})),n.d(e,\"Q\",(function(){return gt})),n.d(e,\"R\",(function(){return As})),n.d(e,\"S\",(function(){return Oc})),n.d(e,\"T\",(function(){return b})),n.d(e,\"U\",(function(){return Mn})),n.d(e,\"V\",(function(){return A})),n.d(e,\"W\",(function(){return nt})),n.d(e,\"X\",(function(){return Sn})),n.d(e,\"Y\",(function(){return Vc})),n.d(e,\"Z\",(function(){return yc})),n.d(e,\"ab\",(function(){return $l})),n.d(e,\"bb\",(function(){return os})),n.d(e,\"cb\",(function(){return tl})),n.d(e,\"db\",(function(){return $n})),n.d(e,\"eb\",(function(){return Jn})),n.d(e,\"fb\",(function(){return Dn})),n.d(e,\"gb\",(function(){return bn})),n.d(e,\"hb\",(function(){return yn})),n.d(e,\"ib\",(function(){return Cn})),n.d(e,\"jb\",(function(){return wn})),n.d(e,\"kb\",(function(){return vn})),n.d(e,\"lb\",(function(){return xn})),n.d(e,\"mb\",(function(){return Xo})),n.d(e,\"nb\",(function(){return Nc})),n.d(e,\"ob\",(function(){return Ko})),n.d(e,\"pb\",(function(){return Zo})),n.d(e,\"qb\",(function(){return _n})),n.d(e,\"rb\",(function(){return F})),n.d(e,\"sb\",(function(){return Ds})),n.d(e,\"tb\",(function(){return ea})),n.d(e,\"ub\",(function(){return ta})),n.d(e,\"vb\",(function(){return Es})),n.d(e,\"wb\",(function(){return Go})),n.d(e,\"xb\",(function(){return Ce})),n.d(e,\"yb\",(function(){return M})),n.d(e,\"zb\",(function(){return gn})),n.d(e,\"Ab\",(function(){return qa})),n.d(e,\"Bb\",(function(){return Xa})),n.d(e,\"Cb\",(function(){return oo})),n.d(e,\"Db\",(function(){return Ai})),n.d(e,\"Eb\",(function(){return Fs})),n.d(e,\"Fb\",(function(){return Ca})),n.d(e,\"Gb\",(function(){return za})),n.d(e,\"Hb\",(function(){return xa})),n.d(e,\"Ib\",(function(){return ia})),n.d(e,\"Jb\",(function(){return Dl})),n.d(e,\"Kb\",(function(){return wt})),n.d(e,\"Lb\",(function(){return Pt})),n.d(e,\"Mb\",(function(){return g})),n.d(e,\"Nb\",(function(){return _})),n.d(e,\"Ob\",(function(){return Ot})),n.d(e,\"Pb\",(function(){return Et})),n.d(e,\"Qb\",(function(){return Hs})),n.d(e,\"Rb\",(function(){return Gs})),n.d(e,\"Sb\",(function(){return Zs})),n.d(e,\"Tb\",(function(){return Ks})),n.d(e,\"Ub\",(function(){return Xs})),n.d(e,\"Vb\",(function(){return $s})),n.d(e,\"Wb\",(function(){return Ys})),n.d(e,\"Xb\",(function(){return Js})),n.d(e,\"Yb\",(function(){return sn})),n.d(e,\"Zb\",(function(){return Ba})),n.d(e,\"ac\",(function(){return et})),n.d(e,\"bc\",(function(){return Us})),n.d(e,\"cc\",(function(){return Vl})),n.d(e,\"dc\",(function(){return qs})),n.d(e,\"ec\",(function(){return na})),n.d(e,\"fc\",(function(){return Il})),n.d(e,\"gc\",(function(){return me})),n.d(e,\"hc\",(function(){return pe})),n.d(e,\"ic\",(function(){return oa})),n.d(e,\"jc\",(function(){return dl})),n.d(e,\"kc\",(function(){return ul})),n.d(e,\"lc\",(function(){return pl})),n.d(e,\"mc\",(function(){return ha})),n.d(e,\"nc\",(function(){return ca})),n.d(e,\"oc\",(function(){return Qs})),n.d(e,\"pc\",(function(){return da})),n.d(e,\"qc\",(function(){return ua})),n.d(e,\"rc\",(function(){return pa})),n.d(e,\"sc\",(function(){return al})),n.d(e,\"tc\",(function(){return ol})),n.d(e,\"uc\",(function(){return ll})),n.d(e,\"vc\",(function(){return Ml})),n.d(e,\"wc\",(function(){return Bs})),n.d(e,\"xc\",(function(){return ze})),n.d(e,\"yc\",(function(){return Ve})),n.d(e,\"zc\",(function(){return qt})),n.d(e,\"Ac\",(function(){return ti})),n.d(e,\"Bc\",(function(){return ei})),n.d(e,\"Cc\",(function(){return ni})),n.d(e,\"Dc\",(function(){return St})),n.d(e,\"Ec\",(function(){return Rl})),n.d(e,\"Fc\",(function(){return Pl})),n.d(e,\"Gc\",(function(){return wa})),n.d(e,\"Hc\",(function(){return zs})),n.d(e,\"Ic\",(function(){return Nl})),n.d(e,\"Jc\",(function(){return ja})),n.d(e,\"Kc\",(function(){return La})),n.d(e,\"Lc\",(function(){return Fa})),n.d(e,\"Mc\",(function(){return Na})),n.d(e,\"Nc\",(function(){return Va})),n.d(e,\"Oc\",(function(){return Ha})),n.d(e,\"Pc\",(function(){return El}));var i=n(\"XNiG\"),r=n(\"quSY\"),s=n(\"HDdC\"),a=n(\"VRyK\"),o=n(\"w1tV\");function l(t,e,n){const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(\"__parameters__\")?t.__parameters__:Object.defineProperty(t,\"__parameters__\",{value:[]}).__parameters__;for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const c=l(\"Inject\",t=>({token:t})),h=l(\"Optional\"),d=l(\"Self\"),u=l(\"SkipSelf\");var p=function(t){return t[t.Default=0]=\"Default\",t[t.Host=1]=\"Host\",t[t.Self=2]=\"Self\",t[t.SkipSelf=4]=\"SkipSelf\",t[t.Optional=8]=\"Optional\",t}({});function m(t){for(let e in t)if(t[e]===m)return e;throw Error(\"Could not find renamed property on target object.\")}function f(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const b=g;function _(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return v(t,t[x])||v(t,t[O])}function v(t,e){return e&&e.token===t?e:null}function w(t){return t&&(t.hasOwnProperty(C)||t.hasOwnProperty(S))?t[C]:null}const x=m({\"\\u0275prov\":m}),C=m({\"\\u0275inj\":m}),k=m({\"\\u0275provFallback\":m}),O=m({ngInjectableDef:m}),S=m({ngInjectorDef:m});function M(t){if(\"string\"==typeof t)return t;if(Array.isArray(t))return\"[\"+t.map(M).join(\", \")+\"]\";if(null==t)return\"\"+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return\"\"+e;const n=e.indexOf(\"\\n\");return-1===n?e:e.substring(0,n)}function P(t,e){return null==t||\"\"===t?null===e?\"\":e:null==e||\"\"===e?t:t+\" \"+e}const E=m({__forward_ref__:m});function A(t){return t.__forward_ref__=A,t.toString=function(){return M(this())},t}function D(t){return R(t)?t():t}function R(t){return\"function\"==typeof t&&t.hasOwnProperty(E)&&t.__forward_ref__===A}const T=\"undefined\"!=typeof globalThis&&globalThis,I=\"undefined\"!=typeof window&&window,j=\"undefined\"!=typeof self&&\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,L=\"undefined\"!=typeof global&&global,F=T||L||I||j,N=m({\"\\u0275cmp\":m}),V=m({\"\\u0275dir\":m}),z=m({\"\\u0275pipe\":m}),B=m({\"\\u0275mod\":m}),H=m({\"\\u0275loc\":m}),U=m({\"\\u0275fac\":m}),q=m({__NG_ELEMENT_ID__:m});class Q{constructor(t,e){this._desc=t,this.ngMetadataName=\"InjectionToken\",this.\\u0275prov=void 0,\"number\"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\\u0275prov=g({token:this,providedIn:e.providedIn||\"root\",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const W=new Q(\"INJECTOR\",-1),Y={},$=/\\n/gm,G=m({provide:String,useValue:m});let X,K=void 0;function Z(t){const e=K;return K=t,e}function J(t){const e=X;return X=t,e}function tt(t,e=p.Default){if(void 0===K)throw new Error(\"inject() must be called from an injection context\");return null===K?it(t,void 0,e):K.get(t,e&p.Optional?null:void 0,e)}function et(t,e=p.Default){return(X||tt)(D(t),e)}const nt=et;function it(t,e,n){const i=y(t);if(i&&\"root\"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&p.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${M(t)}]`)}function rt(t){const e=[];for(let n=0;n<t.length;n++){const i=D(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error(\"Arguments array must have arguments.\");let t=void 0,n=p.Default;for(let e=0;e<i.length;e++){const r=i[e];r instanceof h||\"Optional\"===r.ngMetadataName||r===h?n|=p.Optional:r instanceof u||\"SkipSelf\"===r.ngMetadataName||r===u?n|=p.SkipSelf:r instanceof d||\"Self\"===r.ngMetadataName||r===d?n|=p.Self:t=r instanceof c||r===c?r.token:r}e.push(et(t,n))}else e.push(et(i))}return e}class st{get(t,e=Y){if(e===Y){const e=new Error(`NullInjectorError: No provider for ${M(t)}!`);throw e.name=\"NullInjectorError\",e}return e}}class at{}class ot{}function lt(t,e){t.forEach(t=>Array.isArray(t)?lt(t,e):e(t))}function ct(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ht(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dt(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function ut(t,e,n){let i=mt(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function pt(t,e){const n=mt(t,e);if(n>=0)return t[1|n]}function mt(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ft=function(){var t={OnPush:0,Default:1};return t[t.OnPush]=\"OnPush\",t[t.Default]=\"Default\",t}(),gt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]=\"Emulated\",t[t.Native]=\"Native\",t[t.None]=\"None\",t[t.ShadowDom]=\"ShadowDom\",t}();function bt(t){return\"\"+{toString:t}}const _t={},yt=[];let vt=0;function wt(t){const e=t.type,n=e.prototype,i={},r={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===ft.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||yt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||gt.Emulated,id:\"c\",styles:t.styles||yt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return r._=bt(()=>{const e=t.directives,n=t.features,s=t.pipes;r.id+=vt++,r.inputs=Mt(t.inputs,i),r.outputs=Mt(t.outputs),n&&n.forEach(t=>t(r)),r.directiveDefs=e?()=>(\"function\"==typeof e?e():e).map(xt):null,r.pipeDefs=s?()=>(\"function\"==typeof s?s():s).map(Ct):null}),r}function xt(t){return At(t)||function(t){return t[V]||null}(t)}function Ct(t){return function(t){return t[z]||null}(t)}const kt={};function Ot(t){const e={type:t.type,bootstrap:t.bootstrap||yt,declarations:t.declarations||yt,imports:t.imports||yt,exports:t.exports||yt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&bt(()=>{kt[t.id]=t.type}),e}function St(t,e){return bt(()=>{const n=Rt(t,!0);n.declarations=e.declarations||yt,n.imports=e.imports||yt,n.exports=e.exports||yt})}function Mt(t,e){if(null==t)return _t;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const Pt=wt;function Et(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function At(t){return t[N]||null}function Dt(t,e){return t.hasOwnProperty(U)?t[U]:null}function Rt(t,e){const n=t[B]||null;if(!n&&!0===e)throw new Error(`Type ${M(t)} does not have '\\u0275mod' property.`);return n}function Tt(t){return Array.isArray(t)&&\"object\"==typeof t[1]}function It(t){return Array.isArray(t)&&!0===t[1]}function jt(t){return 0!=(8&t.flags)}function Lt(t){return 2==(2&t.flags)}function Ft(t){return 1==(1&t.flags)}function Nt(t){return null!==t.template}function Vt(t){return 0!=(512&t[2])}const zt={lFrame:oe(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Bt(){return zt.bindingsEnabled}function Ht(){return zt.lFrame.lView}function Ut(){return zt.lFrame.tView}function qt(t){zt.lFrame.contextLView=t}function Qt(){return zt.lFrame.previousOrParentTNode}function Wt(t,e){zt.lFrame.previousOrParentTNode=t,zt.lFrame.isParent=e}function Yt(){return zt.lFrame.isParent}function $t(){zt.lFrame.isParent=!1}function Gt(){return zt.checkNoChangesMode}function Xt(t){zt.checkNoChangesMode=t}function Kt(){const t=zt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Zt(){return zt.lFrame.bindingIndex}function Jt(){return zt.lFrame.bindingIndex++}function te(t){const e=zt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ee(t,e){const n=zt.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function ne(){return zt.lFrame.currentQueryIndex}function ie(t){zt.lFrame.currentQueryIndex=t}function re(t,e){const n=ae();zt.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function se(t,e){const n=ae(),i=t[1];zt.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex}function ae(){const t=zt.lFrame,e=null===t?null:t.child;return null===e?oe(t):e}function oe(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function le(){const t=zt.lFrame;return zt.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const ce=le;function he(){const t=le();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function de(){return zt.lFrame.selectedIndex}function ue(t){zt.lFrame.selectedIndex=t}function pe(){zt.lFrame.currentNamespace=\"http://www.w3.org/2000/svg\"}function me(){zt.lFrame.currentNamespace=null}function fe(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function ge(t,e,n){ye(t,e,3,n)}function be(t,e,n,i){(3&t[2])===n&&ye(t,e,n,i)}function _e(t,e){let n=t[2];(3&n)===e&&(n&=1023,n+=1,t[2]=n)}function ye(t,e,n,i){const r=null!=i?i:-1;let s=0;for(let a=void 0!==i?65535&t[18]:0;a<e.length;a++)if(\"number\"==typeof e[a+1]){if(s=e[a],null!=i&&s>=i)break}else e[a]<0&&(t[18]+=65536),(s<r||-1==r)&&(ve(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function ve(t,e,n,i){const r=n[i]<0,s=n[i+1],a=t[r?-n[i]:n[i]];r?t[2]>>10<t[18]>>16&&(3&t[2])===e&&(t[2]+=1024,s.call(a)):s.call(a)}class we{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}let xe=void 0;function Ce(t){xe=t}function ke(){return void 0!==xe?xe:\"undefined\"!=typeof document?document:void 0}function Oe(t){return!!t.listen}const Se={createRenderer:(t,e)=>ke()};function Me(t,e,n){const i=Oe(t);let r=0;for(;r<n.length;){const s=n[r];if(\"number\"==typeof s){if(0!==s)break;r++;const a=n[r++],o=n[r++],l=n[r++];i?t.setAttribute(e,o,l,a):e.setAttributeNS(a,o,l)}else{const a=s,o=n[++r];Ee(a)?i&&t.setProperty(e,a,o):i?t.setAttribute(e,a,o):e.setAttribute(a,o),r++}}return r}function Pe(t){return 3===t||4===t||6===t}function Ee(t){return 64===t.charCodeAt(0)}function Ae(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const r=e[i];\"number\"==typeof r?n=r:0===n||De(t,n,r,null,-1===n||2===n?e[++i]:null)}}return t}function De(t,e,n,i,r){let s=0,a=t.length;if(-1===e)a=-1;else for(;s<t.length;){const n=t[s++];if(\"number\"==typeof n){if(n===e){a=-1;break}if(n>e){a=s-1;break}}}for(;s<t.length;){const e=t[s];if(\"number\"==typeof e)break;if(e===n){if(null===i)return void(null!==r&&(t[s+1]=r));if(i===t[s+1])return void(t[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==a&&(t.splice(a,0,e),s=a+1),t.splice(s++,0,n),null!==i&&t.splice(s++,0,i),null!==r&&t.splice(s++,0,r)}function Re(t){return-1!==t}function Te(t){return 32767&t}function Ie(t){return t>>16}function je(t,e){let n=Ie(t),i=e;for(;n>0;)i=i[15],n--;return i}function Le(t){return\"string\"==typeof t?t:null==t?\"\":\"\"+t}function Fe(t){return\"function\"==typeof t?t.name||t.toString():\"object\"==typeof t&&null!=t&&\"function\"==typeof t.type?t.type.name||t.type.toString():Le(t)}const Ne=(()=>(\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(F))();function Ve(t){return{name:\"window\",target:t.ownerDocument.defaultView}}function ze(t){return{name:\"body\",target:t.ownerDocument.body}}function Be(t){return t instanceof Function?t():t}let He=!0;function Ue(t){const e=He;return He=t,e}let qe=0;function Qe(t,e){const n=Ye(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,We(i.data,t),We(e,null),We(i.blueprint,null));const r=$e(t,e),s=t.injectorIndex;if(Re(r)){const t=Te(r),n=je(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function We(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ye(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function $e(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],i=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function Ge(t,e,n){!function(t,e,n){let i=\"string\"!=typeof n?n[q]:n.charCodeAt(0)||0;null==i&&(i=n[q]=qe++);const r=255&i,s=1<<r,a=64&r,o=32&r,l=e.data;128&r?a?o?l[t+7]|=s:l[t+6]|=s:o?l[t+5]|=s:l[t+4]|=s:a?o?l[t+3]|=s:l[t+2]|=s:o?l[t+1]|=s:l[t]|=s}(t,e,n)}function Xe(t,e,n,i=p.Default,r){if(null!==t){const r=function(t){if(\"string\"==typeof t)return t.charCodeAt(0)||0;const e=t[q];return\"number\"==typeof e&&e>0?255&e:e}(n);if(\"function\"==typeof r){re(e,t);try{const t=r();if(null!=t||i&p.Optional)return t;throw new Error(`No provider for ${Fe(n)}!`)}finally{ce()}}else if(\"number\"==typeof r){if(-1===r)return new rn(t,e);let s=null,a=Ye(t,e),o=-1,l=i&p.Host?e[16][6]:null;for((-1===a||i&p.SkipSelf)&&(o=-1===a?$e(t,e):e[a+8],nn(i,!1)?(s=e[1],a=Te(o),e=je(o,e)):a=-1);-1!==a;){o=e[a+8];const t=e[1];if(en(r,a,t.data)){const t=Ze(a,e,n,s,i,l);if(t!==Ke)return t}nn(i,e[1].data[a+8]===l)&&en(r,a,e)?(s=t,a=Te(o),e=je(o,e)):a=-1}}}if(i&p.Optional&&void 0===r&&(r=null),0==(i&(p.Self|p.Host))){const t=e[9],s=J(void 0);try{return t?t.get(n,r,i&p.Optional):it(n,r,i&p.Optional)}finally{J(s)}}if(i&p.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Fe(n)}]`)}const Ke={};function Ze(t,e,n,i,r,s){const a=e[1],o=a.data[t+8],l=Je(o,a,n,null==i?Lt(o)&&He:i!=a&&3===o.type,r&p.Host&&s===o);return null!==l?tn(e,a,l,o):Ke}function Je(t,e,n,i,r){const s=t.providerIndexes,a=e.data,o=65535&s,l=t.directiveStart,c=s>>16,h=r?o+c:t.directiveEnd;for(let d=i?o:o+c;d<h;d++){const t=a[d];if(d<l&&n===t||d>=l&&t.type===n)return d}if(r){const t=a[l];if(t&&Nt(t)&&t.type===n)return l}return null}function tn(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof we){const a=r;if(a.resolving)throw new Error(`Circular dep for ${Fe(s[n])}`);const o=Ue(a.canSeeViewProviders);let l;a.resolving=!0,a.injectImpl&&(l=J(a.injectImpl)),re(t,i);try{r=t[n]=a.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{onChanges:i,onInit:r,doCheck:s}=e;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{a.injectImpl&&J(l),Ue(o),a.resolving=!1,ce()}}return r}function en(t,e,n){const i=64&t,r=32&t;let s;return s=128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e],!!(s&1<<t)}function nn(t,e){return!(t&p.Self||t&p.Host&&e)}class rn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Xe(this._tNode,this._lView,t,void 0,e)}}function sn(t){const e=Object.getPrototypeOf(t.prototype).constructor,n=e[U]||function t(e){const n=e;if(R(e))return()=>{const e=t(D(n));return e?e():null};let i=Dt(n);if(null===i){const t=w(n);i=t&&t.factory}return i||null}(e);return null!==n?n:t=>new t}function an(t){return t.ngDebugContext}function on(t){return t.ngOriginalError}function ln(t,...e){t.error(...e)}class cn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||ln}(t);i(this._console,\"ERROR\",t),e&&i(this._console,\"ORIGINAL ERROR\",e),n&&i(this._console,\"ERROR CONTEXT\",n)}_findContext(t){return t?an(t)?an(t):this._findContext(on(t)):null}_findOriginalError(t){let e=on(t);for(;e&&on(e);)e=on(e);return e}}class hn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+\" (see http://g.co/ng/security#xss)\"}}class dn extends hn{getTypeName(){return\"HTML\"}}class un extends hn{getTypeName(){return\"Style\"}}class pn extends hn{getTypeName(){return\"Script\"}}class mn extends hn{getTypeName(){return\"URL\"}}class fn extends hn{getTypeName(){return\"ResourceURL\"}}function gn(t){return t instanceof hn?t.changingThisBreaksApplicationSecurity:t}function bn(t,e){const n=_n(t);if(null!=n&&n!==e){if(\"ResourceURL\"===n&&\"URL\"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function _n(t){return t instanceof hn&&t.getTypeName()||null}function yn(t){return new dn(t)}function vn(t){return new un(t)}function wn(t){return new pn(t)}function xn(t){return new mn(t)}function Cn(t){return new fn(t)}let kn=!0,On=!1;function Sn(){return On=!0,kn}function Mn(){if(On)throw new Error(\"Cannot enable prod mode after platform setup.\");kn=!1}class Pn{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(\"sanitization-inert\");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement(\"html\");this.inertDocument.appendChild(t),e=this.inertDocument.createElement(\"body\"),t.appendChild(e)}e.innerHTML='<svg><g onload=\"this.parentNode.remove()\"><\/g><\/svg>',!e.querySelector||e.querySelector(\"svg\")?(e.innerHTML='<svg><p><style><img src=\"<\/style><img src=x onerror=alert(1)//\">',this.getInertBodyElement=e.querySelector&&e.querySelector(\"svg img\")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t=\"<body><remove><\/remove>\"+t+\"<\/body>\";try{t=encodeURI(t)}catch(i){return null}const e=new XMLHttpRequest;e.responseType=\"document\",e.open(\"GET\",\"data:text/html;charset=utf-8,\"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t=\"<body><remove><\/remove>\"+t+\"<\/body>\";try{const e=(new window.DOMParser).parseFromString(t,\"text/html\").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement(\"template\");if(\"content\"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement(\"body\");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;\"xmlns:ns1\"!==n&&0!==n.indexOf(\"ns1:\")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const En=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,An=/^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\\/]+=*$/i;function Dn(t){return(t=String(t)).match(En)||t.match(An)?t:(Sn()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),\"unsafe:\"+t)}function Rn(t){const e={};for(const n of t.split(\",\"))e[n]=!0;return e}function Tn(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const In=Rn(\"area,br,col,hr,img,wbr\"),jn=Rn(\"colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr\"),Ln=Rn(\"rp,rt\"),Fn=Tn(Ln,jn),Nn=Tn(In,Tn(jn,Rn(\"address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul\")),Tn(Ln,Rn(\"a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video\")),Fn),Vn=Rn(\"background,cite,href,itemtype,longdesc,poster,src,xlink:href\"),zn=Rn(\"srcset\"),Bn=Tn(Vn,zn,Rn(\"abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width\"),Rn(\"aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext\")),Hn=Rn(\"script,style,template\");class Un{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join(\"\")}startElement(t){const e=t.nodeName.toLowerCase();if(!Nn.hasOwnProperty(e))return this.sanitizedSomething=!0,!Hn.hasOwnProperty(e);this.buf.push(\"<\"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const t=n.item(r),e=t.name,s=e.toLowerCase();if(!Bn.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=t.value;Vn[s]&&(a=Dn(a)),zn[s]&&(i=a,a=(i=String(i)).split(\",\").map(t=>Dn(t.trim())).join(\", \")),this.buf.push(\" \",e,'=\"',Wn(a),'\"')}var i;return this.buf.push(\">\"),!0}endElement(t){const e=t.nodeName.toLowerCase();Nn.hasOwnProperty(e)&&!In.hasOwnProperty(e)&&(this.buf.push(\"<\/\"),this.buf.push(e),this.buf.push(\">\"))}chars(t){this.buf.push(Wn(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const qn=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,Qn=/([^\\#-~ |!])/g;function Wn(t){return t.replace(/&/g,\"&amp;\").replace(qn,(function(t){return\"&#\"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+\";\"})).replace(Qn,(function(t){return\"&#\"+t.charCodeAt(0)+\";\"})).replace(/<\/g,\"&lt;\").replace(/>/g,\"&gt;\")}let Yn;function $n(t,e){let n=null;try{Yn=Yn||new Pn(t);let i=e?String(e):\"\";n=Yn.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error(\"Failed to sanitize html because the input is unstable\");r--,i=s,s=n.innerHTML,n=Yn.getInertBodyElement(i)}while(i!==s);const a=new Un,o=a.sanitizeChildren(Gn(n)||n);return Sn()&&a.sanitizedSomething&&console.warn(\"WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss\"),o}finally{if(n){const t=Gn(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Gn(t){return\"content\"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&\"TEMPLATE\"===t.nodeName}(t)?t.content:null}const Xn=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]=\"NONE\",t[t.HTML]=\"HTML\",t[t.STYLE]=\"STYLE\",t[t.SCRIPT]=\"SCRIPT\",t[t.URL]=\"URL\",t[t.RESOURCE_URL]=\"RESOURCE_URL\",t}(),Kn=new RegExp(\"^([-,.\\\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\\\([-0-9.%, #a-zA-Z]+\\\\))$\",\"g\"),Zn=/^url\\(([^)]+)\\)$/;function Jn(t){if(!(t=String(t).trim()))return\"\";const e=t.match(Zn);return e&&Dn(e[1])===e[1]||t.match(Kn)&&function(t){let e=!0,n=!0;for(let i=0;i<t.length;i++){const r=t.charAt(i);\"'\"===r&&n?e=!e:'\"'===r&&e&&(n=!n)}return e&&n}(t)?t:(Sn()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),\"unsafe\")}function ti(t){const e=ii();return e?e.sanitize(Xn.HTML,t)||\"\":bn(t,\"HTML\")?gn(t):$n(ke(),Le(t))}function ei(t){const e=ii();return e?e.sanitize(Xn.STYLE,t)||\"\":bn(t,\"Style\")?gn(t):Jn(Le(t))}function ni(t){const e=ii();return e?e.sanitize(Xn.URL,t)||\"\":bn(t,\"URL\")?gn(t):Dn(Le(t))}function ii(){const t=Ht();return t&&t[12]}function ri(t){for(;Array.isArray(t);)t=t[0];return t}function si(t,e){return ri(e[t+19])}function ai(t,e){return ri(e[t.index])}function oi(t,e){return t.data[e+19]}function li(t,e){return t[e+19]}function ci(t,e){const n=e[t];return Tt(n)?n:n[0]}function hi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function di(t){return 4==(4&t[2])}function ui(t){return 128==(128&t[2])}function pi(t,e){return null===t||null==e?null:t[e]}function mi(t){t[18]=0}function fi(t,e){t.__ngContext__=e}function gi(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function bi(){throw new Error(\"Cannot mix multi providers and regular providers\")}function _i(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}function yi(t,e,n){let i=0;for(;i<t.length;){let r=t[i++];if(n&&\"class\"===r){if(r=t[i],-1!==_i(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&\"string\"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function vi(t,e,n){return e===(0!==t.type||n?t.tagName:\"ng-template\")}function wi(t,e,n){let i=4;const r=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(Pe(t[e]))return e;return t.length}(r);let a=!1;for(let o=0;o<e.length;o++){const l=e[o];if(\"number\"!=typeof l){if(!a)if(4&i){if(i=2|1&i,\"\"!==l&&!vi(t,l,n)||\"\"===l&&1===e.length){if(xi(i))return!1;a=!0}}else{const c=8&i?l:e[++o];if(8&i&&null!==t.attrs){if(!yi(t.attrs,c,n)){if(xi(i))return!1;a=!0}continue}const h=Ci(8&i?\"class\":l,r,0==t.type&&\"ng-template\"!==t.tagName,n);if(-1===h){if(xi(i))return!1;a=!0;continue}if(\"\"!==c){let t;t=h>s?\"\":r[h+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==_i(e,c,0)||2&i&&c!==t){if(xi(i))return!1;a=!0}}}}else{if(!a&&!xi(i)&&!xi(l))return!1;if(a&&xi(l))continue;a=!1,i=l|1&i}}return xi(i)||a}function xi(t){return 0==(1&t)}function Ci(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r<e.length;){const i=e[r];if(i===t)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++r];for(;\"string\"==typeof t;)t=e[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){if(t[n]===e)return n;n++}return-1}(e,t)}function ki(t,e,n=!1){for(let i=0;i<e.length;i++)if(wi(t,e[i],n))return!0;return!1}function Oi(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Si(t,e){return t?\":not(\"+e.trim()+\")\":e}function Mi(t){let e=t[0],n=1,i=2,r=\"\",s=!1;for(;n<t.length;){let a=t[n];if(\"string\"==typeof a)if(2&i){const e=t[++n];r+=\"[\"+a+(e.length>0?'=\"'+e+'\"':\"\")+\"]\"}else 8&i?r+=\".\"+a:4&i&&(r+=\" \"+a);else\"\"===r||xi(a)||(e+=Si(s,r),r=\"\"),i=a,s=s||!xi(i);n++}return\"\"!==r&&(e+=Si(s,r)),e}const Pi={};function Ei(t){const e=t[3];return It(e)?e[3]:e}function Ai(t){Di(Ut(),Ht(),de()+t,Gt())}function Di(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ge(e,i,n)}else{const i=t.preOrderHooks;null!==i&&be(e,i,0,n)}ue(n)}function Ri(t,e){return t<<17|e<<2}function Ti(t){return t>>17&32767}function Ii(t){return 2|t}function ji(t){return(131068&t)>>2}function Li(t,e){return-131069&t|e<<2}function Fi(t){return 1|t}function Ni(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=t.data[s];ie(r),n.contentQueries(2,e[s],s)}}}function Vi(t,e,n){return Oe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function zi(t,e,n,i,r,s,a,o,l,c){const h=e.blueprint.slice();return h[0]=r,h[2]=140|i,mi(h),h[3]=h[15]=t,h[8]=n,h[10]=a||t&&t[10],h[11]=o||t&&t[11],h[12]=l||t&&t[12]||null,h[9]=c||t&&t[9]||null,h[6]=s,h[16]=2==e.type?t[16]:h,h}function Bi(t,e,n,i,r,s){const a=n+19,o=t.data[a]||function(t,e,n,i,r,s){const a=Qt(),o=Yt(),l=o?a:a&&a.parent,c=t.data[n]=Ki(0,l&&l!==e?l:null,i,n,r,s);return null===t.firstChild&&(t.firstChild=c),a&&(!o||null!=a.child||null===c.parent&&2!==a.type?o||(a.next=c):a.child=c),c}(t,e,a,i,r,s);return Wt(o,!0),o}function Hi(t,e,n){se(e,e[6]);try{const i=t.viewQuery;null!==i&&vr(1,i,n);const r=t.template;null!==r&&Qi(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Ni(t,e),t.staticViewQueries&&vr(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)fr(t,e[n])}(e,s)}finally{e[2]&=-5,he()}}function Ui(t,e,n,i){const r=e[2];if(256==(256&r))return;se(e,e[6]);const s=Gt();try{mi(e),zt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Qi(t,e,n,2,i);const a=3==(3&r);if(!s)if(a){const n=t.preOrderCheckHooks;null!==n&&ge(e,n,null)}else{const n=t.preOrderHooks;null!==n&&be(e,n,0,null),_e(e,0)}if(function(t){let e=t[13];for(;null!==e;){let n;if(It(e)&&(n=e[2])>>1==-1){for(let t=9;t<e.length;t++){const n=e[t],i=n[1];ui(n)&&Ui(i,n,i.template,n[8])}0!=(1&n)&&pr(e,t[16])}e=e[4]}}(e),null!==t.contentQueries&&Ni(t,e),!s)if(a){const n=t.contentCheckHooks;null!==n&&ge(e,n)}else{const n=t.contentHooks;null!==n&&be(e,n,1),_e(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let i=t.expandoStartIndex,r=-1,s=-1;for(let t=0;t<n.length;t++){const a=n[t];\"number\"==typeof a?a<=0?(s=0-a,ue(s),i+=9+n[++t],r=i):i+=a:(null!==a&&(ee(i,r),a(2,e[r])),r++)}}}finally{ue(-1)}}(t,e);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)mr(t,e[n])}(e,o);const l=t.viewQuery;if(null!==l&&vr(2,l,i),!s)if(a){const n=t.viewCheckHooks;null!==n&&ge(e,n)}else{const n=t.viewHooks;null!==n&&be(e,n,2),_e(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73)}finally{he()}}function qi(t,e,n,i){const r=e[10],s=!Gt(),a=di(e);try{s&&!a&&r.begin&&r.begin(),a&&Hi(t,e,i),Ui(t,e,n,i)}finally{s&&!a&&r.end&&r.end()}}function Qi(t,e,n,i,r){const s=de();try{ue(-1),2&i&&e.length>19&&Di(t,e,0,Gt()),n(i,r)}finally{ue(s)}}function Wi(t,e,n){if(jt(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r<i;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}function Yi(t,e,n){Bt()&&(function(t,e,n,i){const r=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Qe(n,e),fi(i,e);const a=n.initialInputs;for(let o=r;o<s;o++){const i=t.data[o],s=Nt(i);s&&cr(e,n,i);const l=tn(e,t,o,n);fi(l,e),null!==a&&hr(0,o-r,l,i,0,a),s&&(ci(n.index,e)[8]=l)}}(t,e,n,ai(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,r=n.directiveEnd,s=t.expandoInstructions,a=t.firstCreatePass,o=n.index-19;try{ue(o);for(let n=i;n<r;n++){const i=t.data[n],r=e[n];null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs?ir(i,r):a&&s.push(null)}}finally{ue(-1)}}(t,e,n))}function $i(t,e,n=ai){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const a=i[s+1],o=-1===a?n(e,t):t[a];t[r++]=o}}}function Gi(t){return t.tView||(t.tView=Xi(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts))}function Xi(t,e,n,i,r,s,a,o,l,c){const h=19+i,d=h+r,u=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Pi);return n}(h,d);return u[1]={type:t,id:e,blueprint:u,template:n,queries:null,viewQuery:o,node:null,data:u.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:\"function\"==typeof s?s():s,pipeRegistry:\"function\"==typeof a?a():a,firstChild:null,schemas:l,consts:c}}function Ki(t,e,n,i,r,s){return{type:n,index:i,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,residualStyles:void 0,classes:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Zi(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function Ji(t,e,n,i,r,s,a,o){const l=si(n,e),c=oi(t,n);let h,d=c.inputs;if(!a&&null!=d&&(h=d[i]))Sr(t,e,h,i,r),Lt(c)&&function(t,e){const n=ci(e,t);16&n[2]||(n[2]|=64)}(e,n+19);else if(3===c.type){i=\"class\"===(u=i)?\"className\":\"for\"===u?\"htmlFor\":\"formaction\"===u?\"formAction\":\"innerHtml\"===u?\"innerHTML\":\"readonly\"===u?\"readOnly\":\"tabindex\"===u?\"tabIndex\":u;const t=o?o(c,e):e[11];r=null!=s?s(r,c.tagName||\"\",i):r,Oe(t)?t.setProperty(l,i,r):Ee(i)||(l.setProperty?l.setProperty(i,r):l[i]=r)}var u}function tr(t,e,n,i){let r=!1;if(Bt()){const s=function(t,e,n){const i=t.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const a=i[s];ki(n,a.selectors,!1)&&(r||(r=[]),Ge(Qe(n,e),t,a.type),Nt(a)?(2&n.flags&&gi(n),sr(t,n),r.unshift(a)):r.push(a))}return r}(t,e,n),a=null===i?null:{\"\":-1};if(null!==s){let i=0;r=!0,or(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}rr(t,n,s.length);let o=!1,l=!1;for(let r=0;r<s.length;r++){const c=s[r];n.mergedAttrs=Ae(n.mergedAttrs,c.hostAttrs),lr(t,e,c),ar(t.data.length-1,c,a),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!o&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-19),o=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-19),l=!0),er(t,c),i+=c.hostVars}!function(t,e){const n=e.directiveEnd,i=t.data,r=e.attrs,s=[];let a=null,o=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],e=t.inputs;s.push(null!==r?dr(e,r):null),a=Zi(e,l,a),o=Zi(t.outputs,l,o)}null!==a&&((a.hasOwnProperty(\"class\")||a.hasOwnProperty(\"className\"))&&(e.flags|=16),a.hasOwnProperty(\"style\")&&(e.flags|=32)),e.initialInputs=s,e.inputs=a,e.outputs=o}(t,n),nr(t,e,i)}a&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new Error(`Export of name '${e[t+1]}' not found!`);i.push(e[t],r)}}}(n,i,a)}return n.mergedAttrs=Ae(n.mergedAttrs,n.attrs),r}function er(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function nr(t,e,n){for(let i=0;i<n;i++)e.push(Pi),t.blueprint.push(Pi),t.data.push(null)}function ir(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function rr(t,e,n){const i=19-e.index,r=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(i,r,n)}function sr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function ar(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;Nt(e)&&(n[\"\"]=t)}}function or(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function lr(t,e,n){t.data.push(n);const i=n.factory||(n.factory=Dt(n.type)),r=new we(i,Nt(n),null);t.blueprint.push(r),e.push(r)}function cr(t,e,n){const i=ai(e,t),r=Gi(n),s=t[10],a=gr(t,zi(t,r,null,n.onPush?64:16,i,e,s,s.createRenderer(i,n)));t[e.index]=a}function hr(t,e,n,i,r,s){const a=s[e];if(null!==a){const t=i.setInput;for(let e=0;e<a.length;){const r=a[e++],s=a[e++],o=a[e++];null!==t?i.setInput(n,o,r,s):n[s]=o}}}function dr(t,e){let n=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if(\"number\"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function ur(t,e,n,i){return new Array(t,!0,-2,e,null,null,i,n,null)}function pr(t,e){const n=t[5];for(let i=0;i<n.length;i++){const t=n[i],r=t[3][3][16];if(r!==e&&0==(16&r[2])){const e=t[1];Ui(e,t,e.template,t[8])}}}function mr(t,e){const n=ci(e,t);if(ui(n)&&80&n[2]){const t=n[1];Ui(t,n,t.template,n[8])}}function fr(t,e){const n=ci(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Hi(i,n,n[8])}function gr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function br(t){for(;t;){t[2]|=64;const e=Ei(t);if(Vt(t)&&!e)return t;t=e}return null}function _r(t,e,n){const i=e[10];i.begin&&i.begin();try{Ui(t,e,t.template,n)}catch(r){throw Or(e,r),r}finally{i.end&&i.end()}}function yr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=hi(n),r=i[1];qi(r,i,r.template,n)}}(t[8])}function vr(t,e,n){ie(0),e(t,n)}const wr=(()=>Promise.resolve(null))();function xr(t){return t[7]||(t[7]=[])}function Cr(t){return t.cleanup||(t.cleanup=[])}function kr(t,e){return function(t){for(;Array.isArray(t);){if(\"object\"==typeof t[1])return t;t=t[0]}return null}(e[t.index])[11]}function Or(t,e){const n=t[9],i=n?n.get(cn,null):null;i&&i.handleError(e)}function Sr(t,e,n,i,r){for(let s=0;s<n.length;){const a=n[s++],o=n[s++],l=e[a],c=t.data[a];null!==c.setInput?c.setInput(l,r,i,o):l[o]=r}}function Mr(t,e,n){const i=si(e,t),r=t[11];Oe(r)?r.setValue(i,n):i.textContent=n}function Pr(t,e){const n=e[3];return-1===t.index?It(n)?n:null:n}function Er(t,e){const n=Pr(t,e);return n?Br(e[11],n[7]):null}function Ar(t,e,n,i,r){if(null!=i){let s,a=!1;It(i)?s=i:Tt(i)&&(a=!0,i=i[0]);const o=ri(i);0===t&&null!==n?null==r?Vr(e,n,o):Nr(e,n,o,r||null):1===t&&null!==n?Nr(e,n,o,r||null):2===t?function(t,e,n){const i=Br(t,e);i&&function(t,e,n,i){Oe(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,o,a):3===t&&e.destroyNode(o),null!=s&&function(t,e,n,i,r){const s=n[7];s!==ri(n)&&Ar(e,t,i,s,r);for(let a=9;a<n.length;a++){const r=n[a];Wr(r[1],r,t,e,i,s)}}(e,t,s,n,r)}}function Dr(t,e,n,i){const r=Er(t.node,e);r&&Wr(t,e,e[11],n?1:2,r,i)}function Rr(t,e){const n=t[5],i=n.indexOf(e);n.splice(i,1)}function Tr(t,e){if(t.length<=9)return;const n=9+e,i=t[n];if(i){const r=i[17];null!==r&&r!==t&&Rr(r,i),e>0&&(t[n-1][4]=i[4]);const s=ht(t,9+e);Dr(i[1],i,!1,null);const a=s[5];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Ir(t,e){if(!(256&e[2])){const n=e[11];Oe(n)&&n.destroyNode&&Wr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Lr(t[1],t);for(;e;){let n=null;if(Tt(e))n=e[13];else{const t=e[9];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Tt(e)&&Lr(e[1],e),e=jr(e,t);null===e&&(e=t),Tt(e)&&Lr(e[1],e),n=e&&e[4]}e=n}}(e)}}function jr(t,e){let n;return Tt(t)&&(n=t[6])&&2===n.type?Pr(n,t):t[3]===e?null:t[3]}function Lr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];t instanceof we||n[i+1].call(t)}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let i=0;i<n.length-1;i+=2)if(\"string\"==typeof n[i]){const r=n[i+1],s=\"function\"==typeof r?r(e):ri(e[r]),a=t[n[i+2]],o=n[i+3];\"boolean\"==typeof o?s.removeEventListener(n[i],a,o):o>=0?t[o]():t[-o].unsubscribe(),i+=2}else n[i].call(t[n[i+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Oe(e[11])&&e[11].destroy();const i=e[17];if(null!==i&&It(e[3])){i!==e[3]&&Rr(i,e);const n=e[5];null!==n&&n.detachView(t)}}}function Fr(t,e,n){let i=e.parent;for(;null!=i&&(4===i.type||5===i.type);)i=(e=i).parent;if(null==i){const t=n[6];return 2===t.type?Er(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return ai(e,n).parentNode;if(2&i.flags){const e=t.data,n=e[e[i.index].directiveStart].encapsulation;if(n!==gt.ShadowDom&&n!==gt.Native)return null}return ai(i,n)}function Nr(t,e,n,i){Oe(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function Vr(t,e,n){Oe(t)?t.appendChild(e,n):e.appendChild(n)}function zr(t,e,n,i){null!==i?Nr(t,e,n,i):Vr(t,e,n)}function Br(t,e){return Oe(t)?t.parentNode(e):e.parentNode}function Hr(t,e){if(2===t.type){const n=Pr(t,e);return null===n?null:qr(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?ai(t,e):null}function Ur(t,e,n,i){const r=Fr(t,i,e);if(null!=r){const t=e[11],s=Hr(i.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)zr(t,r,n[e],s);else zr(t,r,n,s)}}function qr(t,e){const n=9+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return function t(e,n){if(null!==n){const i=n.type;if(3===i)return ai(n,e);if(0===i)return qr(-1,e[n.index]);if(4===i||5===i){const i=n.child;if(null!==i)return t(e,i);{const t=e[n.index];return It(t)?qr(-1,t):ri(t)}}{const i=e[16],r=i[6],s=Ei(i),a=r.projection[n.projection];return null!=a?t(s,a):t(e,n.next)}}return null}(t,i)}return e[7]}function Qr(t,e,n,i,r,s,a){for(;null!=n;){const o=i[n.index],l=n.type;a&&0===e&&(o&&fi(ri(o),i),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Qr(t,e,n.child,i,r,s,!1),Ar(e,t,r,o,s)):1===l?Yr(t,e,i,n,r,s):Ar(e,t,r,o,s)),n=a?n.projectionNext:n.next}}function Wr(t,e,n,i,r,s){Qr(n,i,t.node.child,e,r,s,!1)}function Yr(t,e,n,i,r,s){const a=n[16],o=a[6].projection[i.projection];if(Array.isArray(o))for(let l=0;l<o.length;l++)Ar(e,t,r,o[l],s);else Qr(t,e,o,a[3],r,s,!0)}function $r(t,e,n){Oe(t)?t.setAttribute(e,\"style\",n):e.style.cssText=n}function Gr(t,e,n){Oe(t)?\"\"===n?t.removeAttribute(e,\"class\"):t.setAttribute(e,\"class\",n):e.className=n}class Xr{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,i,r,s=!1){for(;null!==i;){const a=n[i.index];if(null!==a&&r.push(ri(a)),It(a))for(let e=9;e<a.length;e++){const n=a[e],i=n[1].firstChild;null!==i&&t(n[1],n,i,r)}const o=i.type;if(4===o||5===o)t(e,n,i.child,r);else if(1===o){const e=n[16],s=e[6],a=Ei(e);let o=s.projection[i.projection];null!==o&&null!==a&&t(a[1],a,o,r,!0)}i=s?i.projectionNext:i.next}return r}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ir(this._lView[1],this._lView)}onDestroy(t){var e,n,i;e=this._lView[1],i=t,xr(n=this._lView).push(i),e.firstCreatePass&&Cr(e).push(n[7].length-1,null)}markForCheck(){br(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){_r(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Xt(!0);try{_r(t,e,n)}finally{Xt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error(\"This view is already attached directly to the ApplicationRef!\");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Wr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error(\"This view is already attached to a ViewContainer!\");this._appRef=t}}class Kr extends Xr{constructor(t){super(t),this._view=t}detectChanges(){yr(this._view)}checkNoChanges(){!function(t){Xt(!0);try{yr(t)}finally{Xt(!1)}}(this._view)}get context(){return null}}let Zr,Jr,ts;function es(t,e,n){return Zr||(Zr=class extends t{}),new Zr(ai(e,n))}function ns(t,e,n,i){return Jr||(Jr=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=zi(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[5];null!==i&&(n[5]=i.createEmbeddedView(e)),Hi(e,n,t);const r=new Xr(n);return r._tViewNode=n[6],r}}),0===n.type?new Jr(i,n,es(e,n,i)):null}function is(t,e,n,i){let r;ts||(ts=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return es(e,this._hostTNode,this._hostView)}get injector(){return new rn(this._hostTNode,this._hostView)}get parentInjector(){const t=$e(this._hostTNode,this._hostView),e=je(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let i=Ie(t),r=e,s=e[6];for(;i>1;)r=r[15],s=r[6],i--;return s}(t,this._hostView,this._hostTNode);return Re(t)&&null!=n?new rn(n,e):new rn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-9}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(at,null);t&&(r=t)}const a=t.create(s,i,void 0,r);return this.insert(a.hostView,e),a}insert(t,e){const n=t._lView,i=n[1];if(t.destroyed)throw new Error(\"Cannot insert a destroyed View in a ViewContainer!\");if(this.allocateContainerIfNeeded(),It(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new ts(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e);return function(t,e,n,i){const r=9+i,s=n.length;i>0&&(n[r-1][4]=e),i<s-9?(e[4]=n[r],ct(n,9+i,e)):(n.push(e),e[4]=null),e[3]=n;const a=e[17];null!==a&&n!==a&&function(t,e){const n=t[5],i=e[3][3][16];16!=(16&i[2])&&e[16]!==i&&(t[2]|=1),null===n?t[5]=[e]:n.push(e)}(a,e);const o=e[5];null!==o&&o.insertView(t),e[2]|=128}(i,n,this._lContainer,r),Dr(i,n,!0,qr(r,this._lContainer)),t.attachToViewContainerRef(this),ct(this._lContainer[8],r,t),t}move(t,e){if(t.destroyed)throw new Error(\"Cannot move a destroyed View in a ViewContainer!\");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);(function(t,e){const n=Tr(t,e);n&&Ir(n[1],n)})(this._lContainer,e),ht(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Tr(this._lContainer,e);return n&&null!=ht(this._lContainer[8],e)?new Xr(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=i[n.index];if(It(s))r=s,function(t,e){t[2]=-2}(r);else{let t;if(4===n.type)t=ri(s);else if(t=i[11].createComment(\"\"),Vt(i)){const e=i[11],r=ai(n,i);Nr(e,Br(e,r),t,function(t,e){return Oe(t)?t.nextSibling(e):e.nextSibling}(e,r))}else Ur(i[1],i,t,n);i[n.index]=r=ur(s,i,t,n),gr(i,r)}return new ts(r,n,i)}function rs(t=!1){return function(t,e,n){if(!n&&Lt(t)){const n=ci(t.index,e);return new Xr(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new Xr(e[16],e):null}(Qt(),Ht(),t)}let ss=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>as(),t})();const as=rs,os=new Q(\"Set Injector scope.\"),ls={},cs={},hs=[];let ds=void 0;function us(){return void 0===ds&&(ds=new st),ds}function ps(t,e=null,n=null,i){return e=e||us(),new ms(t,n,e,i)}class ms{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&lt(e,n=>this.processProvider(n,t,e)),lt([t],t=>this.processInjectorType(t,[],r)),this.records.set(W,bs(void 0,this));const s=this.records.get(os);this.scope=null!=s?s.value:null,this.injectorDefTypes.forEach(t=>this.get(t)),this.source=i||(\"object\"==typeof t?null:M(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Y,n=p.Default){this.assertNotDestroyed();const i=Z(this);try{if(!(n&p.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=(\"function\"==typeof(r=t)||\"object\"==typeof r&&r instanceof Q)&&y(t);e=n&&this.injectableDefInScope(n)?bs(fs(t),ls):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&p.Self?us():this.parent).get(t,e=n&p.Optional&&e===Y?null:e)}catch(s){if(\"NullInjectorError\"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&\"\\n\"===t.charAt(0)&&\"\\u0275\"==t.charAt(1)?t.substr(2):t;let r=M(e);if(Array.isArray(e))r=e.map(M).join(\" -> \");else if(\"object\"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+\":\"+(\"string\"==typeof i?JSON.stringify(i):M(i)))}r=`{${t.join(\", \")}}`}return`${n}${i?\"(\"+i+\")\":\"\"}[${r}]: ${t.replace($,\"\\n  \")}`}(\"\\n\"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,\"R3InjectorError\",this.source)}throw s}finally{Z(i)}var r}toString(){const t=[];return this.records.forEach((e,n)=>t.push(M(n))),`R3Injector[${t.join(\", \")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error(\"Injector has already been destroyed.\")}processInjectorType(t,e,n){if(!(t=D(t)))return!1;let i=w(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,a=-1!==n.indexOf(s);if(void 0!==r&&(i=w(r)),null==i)return!1;if(null!=i.imports&&!a){let t;n.push(s);try{lt(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];lt(i,t=>this.processProvider(t,n,i||hs))}}this.injectorDefTypes.add(s),this.records.set(s,bs(i.factory,ls));const o=i.providers;if(null!=o&&!a){const e=t;lt(o,t=>this.processProvider(t,e,o))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=ys(t=D(t))?t:D(t&&t.provide);const r=function(t,e,n){return _s(t)?bs(void 0,t.useValue):bs(gs(t,e,n),ls)}(t,e,n);if(ys(t)||!0!==t.multi){const t=this.records.get(i);t&&void 0!==t.multi&&bi()}else{let e=this.records.get(i);e?void 0===e.multi&&bi():(e=bs(void 0,ls,!0),e.factory=()=>rt(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===cs?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(M(t)):e.value===ls&&(e.value=cs,e.value=e.factory()),\"object\"==typeof e.value&&e.value&&null!==(n=e.value)&&\"object\"==typeof n&&\"function\"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&(\"string\"==typeof t.providedIn?\"any\"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function fs(t){const e=y(t),n=null!==e?e.factory:Dt(t);if(null!==n)return n;const i=w(t);if(null!==i)return i.factory;if(t instanceof Q)throw new Error(`Token ${M(t)} is missing a \\u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=dt(e,\"?\");throw new Error(`Can't resolve all parameters for ${M(t)}: (${n.join(\", \")}).`)}const n=function(t){const e=t&&(t[x]||t[O]||t[k]&&t[k]());if(e){const n=function(t){if(t.hasOwnProperty(\"name\"))return t.name;const e=(\"\"+t).match(/^function\\s*([^\\s(]+)/);return null===e?\"\":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token \"${n}\" that inherits its @Injectable decorator but does not provide one itself.\\n`+`This will become an error in v10. Please add @Injectable() to the \"${n}\" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error(\"unreachable\")}function gs(t,e,n){let i=void 0;if(ys(t)){const e=D(t);return Dt(e)||fs(e)}if(_s(t))i=()=>D(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...rt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>et(D(t.useExisting));else{const r=D(t&&(t.useClass||t.provide));if(r||function(t,e,n){let i=\"\";throw t&&e&&(i=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?\"?\"+n+\"?\":\"...\").join(\", \")}]`),new Error(`Invalid provider for the NgModule '${M(t)}'`+i)}(e,n,t),!function(t){return!!t.deps}(t))return Dt(r)||fs(r);i=()=>new r(...rt(t.deps))}var r;return i}function bs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function _s(t){return null!==t&&\"object\"==typeof t&&G in t}function ys(t){return\"function\"==typeof t}const vs=function(t,e,n){return ps({name:n},e,t,n)};let ws=(()=>{class t{static create(t,e){return Array.isArray(t)?vs(t,e,\"\"):vs(t.providers,t.parent,t.name||\"\")}}return t.THROW_IF_NOT_FOUND=Y,t.NULL=new st,t.\\u0275prov=g({token:t,providedIn:\"any\",factory:()=>et(W)}),t.__NG_ELEMENT_ID__=-1,t})();const xs=new Q(\"AnalyzeForEntryComponents\");let Cs=new Map;const ks=new Set;function Os(t){return\"string\"==typeof t?t:t.text()}function Ss(t,e){let n=t.styles,i=t.classes,r=0;for(let s=0;s<e.length;s++){const t=e[s];\"number\"==typeof t?r=t:1==r?i=P(i,t):2==r&&(n=P(n,t+\": \"+e[++s]+\";\"))}null!==n&&(t.styles=n),null!==i&&(t.classes=i)}let Ms=null;function Ps(){if(!Ms){const t=F.Symbol;if(t&&t.iterator)Ms=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];\"entries\"!==n&&\"size\"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ms=n)}}}return Ms}function Es(t,e){return t===e||\"number\"==typeof t&&\"number\"==typeof e&&isNaN(t)&&isNaN(e)}class As{constructor(t){this.wrapped=t}static wrap(t){return new As(t)}static unwrap(t){return As.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof As}}function Ds(t){return!!Rs(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ps()in t)}function Rs(t){return null!==t&&(\"function\"==typeof t||\"object\"==typeof t)}function Ts(t,e,n){return t[e]=n}function Is(t,e){return t[e]}function js(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Ls(t,e,n,i){const r=js(t,e,n);return js(t,e+1,i)||r}function Fs(t,e,n,i){const r=Ht();return js(r,Jt(),e)&&function(t,e,n,i,r,s,a){const o=si(t,r),l=r[11];if(null==n)Oe(l)?l.removeAttribute(o,e,a):o.removeAttribute(e);else{const r=oi(i,t),c=null==s?Le(n):s(n,r.tagName||\"\",e);Oe(l)?l.setAttribute(o,e,c,a):a?o.setAttributeNS(a,e,c):o.setAttribute(e,c)}}(de(),t,e,Ut(),r,n,i),Fs}function Ns(t,e,n,i){return js(t,Jt(),n)?e+Le(n)+i:Pi}function Vs(t,e,n,i,r,s){const a=Ls(t,Zt(),n,r);return te(2),a?e+Le(n)+i+Le(r)+s:Pi}function zs(t,e,n,i,r,s,a,o){const l=Ht(),c=Ut(),h=t+19,d=c.firstCreatePass?function(t,e,n,i,r,s,a,o,l){const c=e.consts,h=Bi(e,n[6],t,0,a||null,pi(c,o));tr(e,n,h,pi(c,l)),fe(e,h);const d=h.tViews=Xi(2,-1,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),u=Ki(0,null,2,-1,null,null);return u.injectorIndex=h.injectorIndex,d.node=u,null!==e.queries&&(e.queries.template(e,h),d.queries=e.queries.embeddedTView(h)),h}(t,c,l,e,n,i,r,s,a):c.data[h];Wt(d,!1);const u=l[11].createComment(\"\");Ur(c,l,u,d),fi(u,l),gr(l,l[h]=ur(u,l,u,d)),Ft(d)&&Yi(c,l,d),null!=a&&$i(l,d,o)}function Bs(t){return li(zt.lFrame.contextLView,t)}function Hs(t,e=p.Default){const n=Ht();return null==n?et(t,e):Xe(Qt(),n,D(t),e)}function Us(t){return function(t,e){if(\"class\"===e)return t.classes;if(\"style\"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const r=n[i];if(Pe(r))break;if(0===r)i+=2;else if(\"number\"==typeof r)for(i++;i<t&&\"string\"==typeof n[i];)i++;else{if(r===e)return n[i+1];i+=2}}}return null}(Qt(),t)}function qs(){throw new Error(\"invalid\")}function Qs(t,e,n){const i=Ht();if(js(i,Jt(),e)){const r=de();Ji(Ut(),i,r,t,e,n)}return Qs}function Ws(t,e,n,i,r){const s=e.inputs,a=r?\"class\":\"style\";Sr(t,n,s[a]||r&&s.className,a,i)}function Ys(t,e,n,i){const r=Ht(),s=Ut(),a=19+t,o=r[11],l=r[a]=Vi(e,o,zt.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,i,r,s,a){const o=e.consts,l=pi(o,s),c=Bi(e,n[6],t,3,r,l);return tr(e,n,c,pi(o,a)),null!==c.mergedAttrs&&Ss(c,c.mergedAttrs),null!==e.queries&&e.queries.elementStart(e,c),c}(t,s,r,0,e,n,i):s.data[a];Wt(c,!0);const h=c.mergedAttrs;null!==h&&Me(o,l,h);const d=c.classes;null!==d&&Gr(o,l,d);const u=c.styles;null!==u&&$r(o,l,u),Ur(s,r,l,c),0===zt.lFrame.elementDepthCount&&fi(l,r),zt.lFrame.elementDepthCount++,Ft(c)&&(Yi(s,r,c),Wi(s,c,r)),null!==i&&$i(r,c)}function $s(){let t=Qt();Yt()?$t():(t=t.parent,Wt(t,!1));const e=t;zt.lFrame.elementDepthCount--;const n=Ut();n.firstCreatePass&&(fe(n,t),jt(t)&&n.queries.elementEnd(t)),null!==e.classes&&function(t){return 0!=(16&t.flags)}(e)&&Ws(n,e,Ht(),e.classes,!0),null!==e.styles&&function(t){return 0!=(32&t.flags)}(e)&&Ws(n,e,Ht(),e.styles,!1)}function Gs(t,e,n,i){Ys(t,e,n,i),$s()}function Xs(t,e,n){const i=Ht(),r=Ut(),s=t+19,a=r.firstCreatePass?function(t,e,n,i,r){const s=e.consts,a=pi(s,i),o=Bi(e,n[6],t,4,\"ng-container\",a);return null!==a&&Ss(o,a),tr(e,n,o,pi(s,r)),null!==e.queries&&e.queries.elementStart(e,o),o}(t,r,i,e,n):r.data[s];Wt(a,!0);const o=i[s]=i[11].createComment(\"\");Ur(r,i,o,a),fi(o,i),Ft(a)&&(Yi(r,i,a),Wi(r,a,i)),null!=n&&$i(i,a)}function Ks(){let t=Qt();const e=Ut();Yt()?$t():(t=t.parent,Wt(t,!1)),e.firstCreatePass&&(fe(e,t),jt(t)&&e.queries.elementEnd(t))}function Zs(t,e,n){Xs(t,e,n),Ks()}function Js(){return Ht()}function ta(t){return!!t&&\"function\"==typeof t.then}function ea(t){return!!t&&\"function\"==typeof t.subscribe}function na(t,e,n=!1,i){const r=Ht(),s=Ut(),a=Qt();return ra(s,r,r[11],a,t,e,n,i),na}function ia(t,e,n=!1,i){const r=Qt(),s=Ht(),a=kr(r,s);return ra(Ut(),s,a,r,t,e,n,i),ia}function ra(t,e,n,i,r,s,a=!1,o){const l=Ft(i),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),h=xr(e);let d=!0;if(3===i.type){const u=ai(i,e),p=o?o(u):_t,m=p.target||u,f=h.length,g=o?t=>o(ri(t[i.index])).target:i.index;if(Oe(n)){let a=null;if(!o&&l&&(a=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const t=r[s];if(t===n&&r[s+1]===i){const t=e[7],n=r[s+2];return t.length>n?t[n]:null}\"string\"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,d=!1;else{s=aa(i,e,s,!1);const t=n.listen(p.name||m,r,s);h.push(s,t),c&&c.push(r,g,f,f+1)}}else s=aa(i,e,s,!0),m.addEventListener(r,s,a),h.push(s),c&&c.push(r,g,f,a)}const u=i.outputs;let p;if(d&&null!==u&&(p=u[r])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),a=h.length;h.push(s,t),c&&c.push(r,i.index,a,-(a+1))}}}function sa(t,e,n){try{return!1!==e(n)}catch(i){return Or(t,i),!1}}function aa(t,e,n,i){return function r(s){if(s===Function)return n;const a=2&t.flags?ci(t.index,e):e;0==(32&e[2])&&br(a);let o=sa(e,n,s),l=r.__ngNextListenerFn__;for(;l;)o=sa(e,l,s)&&o,l=l.__ngNextListenerFn__;return i&&!1===o&&(s.preventDefault(),s.returnValue=!1),o}}function oa(t=1){return function(t){return(zt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,zt.lFrame.contextLView))[8]}(t)}function la(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r<e.length;r++){const s=e[r];if(\"*\"!==s){if(null===i?ki(t,s,!0):Oi(i,s))return r}else n=r}return n}function ca(t){const e=Ht()[16][6];if(!e.projection){const n=e.projection=dt(t?t.length:1,null),i=n.slice();let r=e.child;for(;null!==r;){const e=t?la(r,t):0;null!==e&&(i[e]?i[e].projectionNext=r:n[e]=r,i[e]=r),r=r.next}}}function ha(t,e=0,n){const i=Ht(),r=Ut(),s=Bi(r,i[6],t,1,null,n||null);null===s.projection&&(s.projection=e),$t(),function(t,e,n){Yr(e[11],0,e,n,Fr(t,n,e),Hr(n.parent||e[6],e))}(r,i,s)}function da(t,e,n){return ua(t,\"\",e,\"\",n),da}function ua(t,e,n,i,r){const s=Ht(),a=Ns(s,e,n,i);if(a!==Pi){const e=de();Ji(Ut(),s,e,t,a,r)}return ua}function pa(t,e,n,i,r,s,a){const o=Ht(),l=Vs(o,e,n,i,r,s);if(l!==Pi){const e=de();Ji(Ut(),o,e,t,l,a)}return pa}const ma=[];function fa(t,e,n,i,r){const s=t[n+1],a=null===e;let o=i?Ti(s):ji(s),l=!1;for(;0!==o&&(!1===l||a);){const n=t[o+1];ga(t[o],e)&&(l=!0,t[o+1]=i?Fi(n):Ii(n)),o=i?Ti(n):ji(n)}l&&(t[n+1]=i?Ii(s):Fi(s))}function ga(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||\"string\"!=typeof e)&&mt(t,e)>=0}const ba={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _a(t){return t.substring(ba.key,ba.keyEnd)}function ya(t,e){const n=ba.textEnd;return n===e?-1:(e=ba.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,ba.key=e,n),va(t,e,n))}function va(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function wa(t,e,n){return Oa(t,e,n,!1),wa}function xa(t,e){return Oa(t,e,null,!0),xa}function Ca(t){Sa(ut,ka,t,!0)}function ka(t,e){for(let n=function(t){return function(t){ba.key=0,ba.keyEnd=0,ba.value=0,ba.valueEnd=0,ba.textEnd=t.length}(t),ya(t,va(t,0,ba.textEnd))}(e);n>=0;n=ya(e,n))ut(t,_a(e),!0)}function Oa(t,e,n,i){const r=Ht(),s=Ut(),a=te(2);if(s.firstUpdatePass&&Pa(s,t,a,i),e!==Pi&&js(r,a,e)){let o;null==n&&(o=function(){const t=zt.lFrame;return null===t?null:t.currentSanitizer}())&&(n=o),Da(s,s.data[de()+19],r,r[11],t,r[a+1]=function(t,e){return null==t||(\"function\"==typeof e?t=e(t):\"string\"==typeof e?t+=e:\"object\"==typeof t&&(t=M(gn(t)))),t}(e,n),i,a)}}function Sa(t,e,n,i){const r=Ut(),s=te(2);r.firstUpdatePass&&Pa(r,null,s,i);const a=Ht();if(n!==Pi&&js(a,s,n)){const o=r.data[de()+19];if(Ia(o,i)&&!Ma(r,s)){let t=i?o.classes:o.styles;null!==t&&(n=P(t,n||\"\")),Ws(r,o,a,n,i)}else!function(t,e,n,i,r,s,a,o){r===Pi&&(r=ma);let l=0,c=0,h=0<r.length?r[0]:null,d=0<s.length?s[0]:null;for(;null!==h||null!==d;){const u=l<r.length?r[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let m=null,f=void 0;h===d?(l+=2,c+=2,u!==p&&(m=d,f=p)):null===d||null!==h&&h<d?(l+=2,m=h):(c+=2,m=d,f=p),null!==m&&Da(t,e,n,i,m,f,a,o),h=l<r.length?r[l]:null,d=c<s.length?s[c]:null}}(r,o,a,a[11],a[s+1],a[s+1]=function(t,e,n){if(null==n||\"\"===n)return ma;const i=[],r=gn(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)t(i,r[s],!0);else if(\"object\"==typeof r)for(const s in r)r.hasOwnProperty(s)&&t(i,s,r[s]);else\"string\"==typeof r&&e(i,r);return i}(t,e,n),i,s)}}function Ma(t,e){return e>=t.expandoStartIndex}function Pa(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[de()+19],a=Ma(t,n);Ia(s,i)&&null===e&&!a&&(e=!1),e=function(t,e,n,i){const r=function(t){const e=zt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Aa(n=Ea(null,t,e,n,i),e.attrs,i),s=null);else{const a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(n=Ea(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ji(i))return t[Ti(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Ea(null,t,e,n[1],i),n=Aa(n,e.attrs,i),function(t,e,n,i){t[Ti(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i=void 0;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=Aa(i,t[s].hostAttrs,n);return Aa(i,e.attrs,n)}(t,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),n}(r,s,e,i),function(t,e,n,i,r,s){let a=s?e.classBindings:e.styleBindings,o=Ti(a),l=ji(a);t[i]=n;let c,h=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||mt(t,c)>0)&&(h=!0)}else c=n;if(r)if(0!==l){const e=Ti(t[o+1]);t[i+1]=Ri(e,o),0!==e&&(t[e+1]=Li(t[e+1],i)),t[o+1]=131071&t[o+1]|i<<17}else t[i+1]=Ri(o,0),0!==o&&(t[o+1]=Li(t[o+1],i)),o=i;else t[i+1]=Ri(l,0),0===o?o=i:t[l+1]=Li(t[l+1],i),l=i;h&&(t[i+1]=Ii(t[i+1])),fa(t,c,i,!0),fa(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&\"string\"==typeof e&&mt(s,e)>=0&&(n[i+1]=Fi(n[i+1]))}(e,c,t,i,s),a=Ri(o,l),s?e.classBindings=a:e.styleBindings=a}(r,s,e,n,a,i)}}function Ea(t,e,n,i,r){let s=null;const a=n.directiveEnd;let o=n.directiveStylingLast;for(-1===o?o=n.directiveStart:o++;o<a&&(s=e[o],i=Aa(i,s.hostAttrs,r),s!==t);)o++;return null!==t&&(n.directiveStylingLast=o),i}function Aa(t,e,n){const i=n?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];\"number\"==typeof a?r=a:r===i&&(Array.isArray(t)||(t=void 0===t?[]:[\"\",t]),ut(t,a,!!n||e[++s]))}return void 0===t?null:t}function Da(t,e,n,i,r,s,a,o){if(3!==e.type)return;const l=t.data,c=l[o+1];Ta(1==(1&c)?Ra(l,e,n,r,ji(c),a):void 0)||(Ta(s)||function(t){return 2==(2&t)}(c)&&(s=Ra(l,null,n,r,o,a)),function(t,e,n,i,r){const s=Oe(t);if(e)r?s?t.addClass(n,i):n.classList.add(i):s?t.removeClass(n,i):n.classList.remove(i);else{const e=-1==i.indexOf(\"-\")?void 0:2;null==r?s?t.removeStyle(n,i,e):n.style.removeProperty(i):s?t.setStyle(n,i,r,e):n.style.setProperty(i,r)}}(i,a,si(de(),n),r,s))}function Ra(t,e,n,i,r,s){const a=null===e;let o=void 0;for(;r>0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let h=n[r+1];h===Pi&&(h=c?ma:void 0);let d=c?pt(h,i):l===i?h:void 0;if(s&&!Ta(d)&&(d=pt(e,i)),Ta(d)&&(o=d,a))return o;const u=t[r+1];r=a?Ti(u):ji(u)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(o=pt(t,i))}return o}function Ta(t){return void 0!==t}function Ia(t,e){return 0!=(t.flags&(e?16:32))}function ja(t,e=\"\"){const n=Ht(),i=Ut(),r=t+19,s=i.firstCreatePass?Bi(i,n[6],t,3,null,null):i.data[r],a=n[r]=function(t,e){return Oe(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Ur(i,n,a,s),Wt(s,!1)}function La(t){return Fa(\"\",t,\"\"),La}function Fa(t,e,n){const i=Ht(),r=Ns(i,t,e,n);return r!==Pi&&Mr(i,de(),r),Fa}function Na(t,e,n,i,r){const s=Ht(),a=Vs(s,t,e,n,i,r);return a!==Pi&&Mr(s,de(),a),Na}function Va(t,e,n,i,r,s,a,o,l){const c=Ht(),h=function(t,e,n,i,r,s,a,o,l,c){const h=function(t,e,n,i,r,s){const a=Ls(t,e,n,i);return Ls(t,e+2,r,s)||a}(t,Zt(),n,r,a,l);return te(4),h?e+Le(n)+i+Le(r)+s+Le(a)+o+Le(l)+c:Pi}(c,t,e,n,i,r,s,a,o,l);return h!==Pi&&Mr(c,de(),h),Va}function za(t,e,n){Sa(ut,ka,Ns(Ht(),t,e,n),!0)}function Ba(t,e,n){const i=Ht();if(js(i,Jt(),e)){const r=de();Ji(Ut(),i,r,t,e,n,!0)}return Ba}function Ha(t,e,n){const i=Ht();if(js(i,Jt(),e)){const r=de();Ji(Ut(),i,r,t,e,n,!0,kr)}return Ha}function Ua(t,e){const n=hi(t)[1],i=n.data.length-1;fe(n,{directiveStart:i,directiveEnd:i+1})}function qa(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let r=void 0;if(Nt(t))r=e.\\u0275cmp||e.\\u0275dir;else{if(e.\\u0275cmp)throw new Error(\"Directives cannot inherit Components\");r=e.\\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=Qa(t.inputs),e.declaredInputs=Qa(t.declaredInputs),e.outputs=Qa(t.outputs);const n=r.hostBindings;n&&$a(t,n);const s=r.viewQuery,a=r.contentQueries;if(s&&Wa(t,s),a&&Ya(t,a),f(t.inputs,r.inputs),f(t.declaredInputs,r.declaredInputs),f(t.outputs,r.outputs),Nt(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}e.afterContentChecked=e.afterContentChecked||r.afterContentChecked,e.afterContentInit=t.afterContentInit||r.afterContentInit,e.afterViewChecked=t.afterViewChecked||r.afterViewChecked,e.afterViewInit=t.afterViewInit||r.afterViewInit,e.doCheck=t.doCheck||r.doCheck,e.onDestroy=t.onDestroy||r.onDestroy,e.onInit=t.onInit||r.onInit}const e=r.features;if(e)for(let i=0;i<e.length;i++){const r=e[i];r&&r.ngInherit&&r(t),r===qa&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Ae(r.hostAttrs,n=Ae(n,r.hostAttrs))}}(i)}function Qa(t){return t===_t?{}:t===yt?[]:t}function Wa(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ya(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function $a(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}class Ga{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Xa(){return Ka.ngInherit=!0,Ka}function Ka(t){t.type.prototype.ngOnChanges&&(t.setInput=Za,t.onChanges=function(){const t=Ja(this),e=t&&t.current;if(e){const n=t.previous;if(n===_t)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Za(t,e,n,i){const r=Ja(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:_t,current:null}),s=r.current||(r.current={}),a=r.previous,o=this.declaredInputs[n],l=a[o];s[o]=new Ga(l&&l.currentValue,e,a===_t),t[i]=e}function Ja(t){return t.__ngSimpleChanges__||null}function to(t,e,n,i,r){if(t=D(t),Array.isArray(t))for(let s=0;s<t.length;s++)to(t[s],e,n,i,r);else{const s=Ut(),a=Ht();let o=ys(t)?t:D(t.provide),l=gs(t);const c=Qt(),h=65535&c.providerIndexes,d=c.directiveStart,u=c.providerIndexes>>16;if(ys(t)||!t.multi){const i=new we(l,r,Hs),p=io(o,e,r?h:h+u,d);-1===p?(Ge(Qe(c,a),s,o),eo(s,t,e.length),e.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=65536),n.push(i),a.push(i)):(n[p]=i,a[p]=i)}else{const p=io(o,e,h+u,d),m=io(o,e,h,h+u),f=p>=0&&n[p],g=m>=0&&n[m];if(r&&!g||!r&&!f){Ge(Qe(c,a),s,o);const h=function(t,e,n,i,r){const s=new we(t,n,Hs);return s.multi=[],s.index=e,s.componentProviders=0,no(s,r,i&&!n),s}(r?so:ro,n.length,r,i,l);!r&&g&&(n[m].providerFactory=h),eo(s,t,e.length),e.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=65536),n.push(h),a.push(h)}else eo(s,t,p>-1?p:m),no(n[r?m:p],l,!r&&i);!r&&i&&g&&n[m].componentProviders++}}}function eo(t,e,n){if(ys(e)||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;i&&(t.destroyHooks||(t.destroyHooks=[])).push(n,i)}}function no(t,e,n){t.multi.push(e),n&&t.componentProviders++}function io(t,e,n,i){for(let r=n;r<i;r++)if(e[r]===t)return r;return-1}function ro(t,e,n,i){return ao(this.multi,[])}function so(t,e,n,i){const r=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=tn(n,n[1],this.providerFactory.index,i);s=e.slice(0,t),ao(r,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],ao(r,s);return s}function ao(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function oo(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=Ut();if(i.firstCreatePass){const r=Nt(t);to(n,i.data,i.blueprint,r,!0),to(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class lo{}class co{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${M(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ho=(()=>{class t{}return t.NULL=new co,t})(),uo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>po(t),t})();const po=function(t){return es(t,Qt(),Ht())};class mo{}const fo=function(){var t={Important:1,DashCase:2};return t[t.Important]=\"Important\",t[t.DashCase]=\"DashCase\",t}();let go=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>bo(),t})();const bo=function(){const t=Ht(),e=ci(Qt().index,t);return function(t){const e=t[11];if(Oe(e))return e;throw new Error(\"Cannot inject Renderer2 when the application uses Renderer3!\")}(Tt(e)?e:t)};let _o=(()=>{class t{}return t.\\u0275prov=g({token:t,providedIn:\"root\",factory:()=>null}),t})();class yo{constructor(t){this.full=t,this.major=t.split(\".\")[0],this.minor=t.split(\".\")[1],this.patch=t.split(\".\").slice(2).join(\".\")}}const vo=new yo(\"9.0.4\");class wo{constructor(){}supports(t){return Ds(t)}create(t){return new Co(t)}}const xo=(t,e)=>e;class Co{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||xo}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex<Mo(n,i,r)?e:n,a=Mo(s,i,r),o=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{r||(r=[]);const t=a-i,e=o-i;if(t!=e){for(let n=0;n<t;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;e<=s&&s<t&&(r[n]=i+1)}r[s.previousIndex]=e-t}}a!==o&&t(s,a,o)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ds(t))throw new Error(`Error trying to diff '${M(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,r=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==r&&Es(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,e)),Es(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,e),s=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ps()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==r&&Es(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Es(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Es(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Es(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new ko(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new So),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new So),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ko{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Oo{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Es(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class So{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Oo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Mo(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+e+r}class Po{constructor(){}supports(t){return t instanceof Map||Rs(t)}create(){return new Eo}}class Eo{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Rs(t)))throw new Error(`Error trying to diff '${M(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Ao(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Es(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Ao{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Do=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error(\"Cannot extend IterableDiffers without a parent injector\");return t.create(e,n)},deps:[[t,new u,new h]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\\u0275prov=g({token:t,providedIn:\"root\",factory:()=>new t([new wo])}),t})(),Ro=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error(\"Cannot extend KeyValueDiffers without a parent injector\");return t.create(e,n)},deps:[[t,new u,new h]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\\u0275prov=g({token:t,providedIn:\"root\",factory:()=>new t([new Po])}),t})();const To=[new Po],Io=new Do([new wo]),jo=new Ro(To);let Lo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Fo(t,uo),t})();const Fo=function(t,e){return ns(t,e,Qt(),Ht())};let No=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Vo(t,uo),t})();const Vo=function(t,e){return is(t,e,Qt(),Ht())},zo={};class Bo extends ho{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=At(t);return new qo(e,this.ngModule)}}function Ho(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Uo=new Q(\"SCHEDULER_TOKEN\",{providedIn:\"root\",factory:()=>Ne});class qo extends lo{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Mi).join(\",\"),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ho(this.componentDef.inputs)}get outputs(){return Ho(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,zo,r);return s!==zo||i===zo?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(mo,Se),a=r.get(_o,null),o=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||\"div\",c=n?function(t,e,n){if(Oe(t))return t.selectRootElement(e,n===gt.ShadowDom);let i=\"string\"==typeof e?t.querySelector(e):e;return i.textContent=\"\",i}(o,n,this.componentDef.encapsulation):Vi(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return\"svg\"===e?\"http://www.w3.org/2000/svg\":\"math\"===e?\"http://www.w3.org/1998/MathML/\":null}(l)),h=this.componentDef.onPush?576:528,d=\"string\"==typeof n&&/^#root-ng-internal-isolated-\\d+/.test(n),u={components:[],scheduler:Ne,clean:wr,playerHandler:null,flags:0},p=Xi(0,-1,null,1,0,null,null,null,null,null),m=zi(null,p,u,h,null,null,s,o,a,r);let f,g;se(m,null);try{const t=function(t,e,n,i,r,s){const a=n[1];n[19]=t;const o=Bi(a,null,0,3,null,null),l=o.mergedAttrs=e.hostAttrs;null!==l&&(Ss(o,l),null!==t&&(Me(r,t,l),null!==o.classes&&Gr(r,t,o.classes),null!==o.styles&&$r(r,t,o.styles)));const c=i.createRenderer(t,e),h=zi(n,Gi(e),null,e.onPush?64:16,n[19],o,i,c,void 0);return a.firstCreatePass&&(Ge(Qe(o,n),a,e.type),sr(a,o),or(o,n.length,1)),gr(n,h),n[19]=h}(c,this.componentDef,m,s,o);if(c)if(n)Me(o,c,[\"ng-version\",vo.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i<t.length;){let s=t[i];if(\"string\"==typeof s)2===r?\"\"!==s&&e.push(s,t[++i]):8===r&&n.push(s);else{if(!xi(r))break;r=s}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Me(o,c,t),e&&e.length>0&&Gr(o,c,e.join(\" \"))}g=oi(m[1],0),e&&(g.projection=e.map(t=>Array.from(t))),f=function(t,e,n,i,r){const s=n[1],a=function(t,e,n){const i=Qt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),rr(t,i,1),lr(t,e,n));const r=tn(e,t,e.length-1,i);fi(r,e);const s=ai(i,e);return s&&fi(s,e),r}(s,n,e);i.components.push(a),t[8]=a,r&&r.forEach(t=>t(a,e)),e.contentQueries&&e.contentQueries(1,a,n.length-1);const o=Qt();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){ue(o.index-19);const t=n[1];er(t,e),nr(t,n,e.hostVars),ir(e,a)}return a}(t,this.componentDef,m,u,[Ua]),Hi(p,m,null)}finally{he()}const b=new Qo(this.componentType,f,es(uo,g,m),m,g);return n&&!d||(b.hostView._tViewNode.child=g),b}}class Qo extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Kr(i),this.hostView._tViewNode=function(t,e,n,i){let r=t.node;return null==r&&(t.node=r=Ki(0,null,2,-1,null,null)),i[6]=r}(i[1],0,0,i),this.componentType=t}get injector(){return new rn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Wo=void 0;var Yo=[\"en\",[[\"a\",\"p\"],[\"AM\",\"PM\"],Wo],[[\"AM\",\"PM\"],Wo,Wo],[[\"S\",\"M\",\"T\",\"W\",\"T\",\"F\",\"S\"],[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]],Wo,[[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"],[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]],Wo,[[\"B\",\"A\"],[\"BC\",\"AD\"],[\"Before Christ\",\"Anno Domini\"]],0,[6,0],[\"M/d/yy\",\"MMM d, y\",\"MMMM d, y\",\"EEEE, MMMM d, y\"],[\"h:mm a\",\"h:mm:ss a\",\"h:mm:ss a z\",\"h:mm:ss a zzzz\"],[\"{1}, {0}\",Wo,\"{1} 'at' {0}\",Wo],[\".\",\",\",\";\",\"%\",\"+\",\"-\",\"E\",\"\\xd7\",\"\\u2030\",\"\\u221e\",\"NaN\",\":\"],[\"#,##0.###\",\"#,##0%\",\"\\xa4#,##0.00\",\"#E0\"],\"USD\",\"$\",\"US Dollar\",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\\.?/,\"\").length;return 1===e&&0===n?1:5}];let $o={};function Go(t,e,n){\"string\"!=typeof e&&(n=e,e=t[tl.LocaleId]),e=e.toLowerCase().replace(/_/g,\"-\"),$o[e]=t,n&&($o[e][tl.ExtraData]=n)}function Xo(t){const e=function(t){return t.toLowerCase().replace(/_/g,\"-\")}(t);let n=Jo(e);if(n)return n;const i=e.split(\"-\")[0];if(n=Jo(i),n)return n;if(\"en\"===i)return Yo;throw new Error(`Missing locale data for the locale \"${t}\".`)}function Ko(t){return Xo(t)[tl.CurrencyCode]||null}function Zo(t){return Xo(t)[tl.PluralCase]}function Jo(t){return t in $o||($o[t]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[t]),$o[t]}const tl=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return t[t.LocaleId]=\"LocaleId\",t[t.DayPeriodsFormat]=\"DayPeriodsFormat\",t[t.DayPeriodsStandalone]=\"DayPeriodsStandalone\",t[t.DaysFormat]=\"DaysFormat\",t[t.DaysStandalone]=\"DaysStandalone\",t[t.MonthsFormat]=\"MonthsFormat\",t[t.MonthsStandalone]=\"MonthsStandalone\",t[t.Eras]=\"Eras\",t[t.FirstDayOfWeek]=\"FirstDayOfWeek\",t[t.WeekendRange]=\"WeekendRange\",t[t.DateFormat]=\"DateFormat\",t[t.TimeFormat]=\"TimeFormat\",t[t.DateTimeFormat]=\"DateTimeFormat\",t[t.NumberSymbols]=\"NumberSymbols\",t[t.NumberFormats]=\"NumberFormats\",t[t.CurrencyCode]=\"CurrencyCode\",t[t.CurrencySymbol]=\"CurrencySymbol\",t[t.CurrencyName]=\"CurrencyName\",t[t.Currencies]=\"Currencies\",t[t.PluralCase]=\"PluralCase\",t[t.ExtraData]=\"ExtraData\",t}();let el=\"en-US\";function nl(t){var e,n;n=\"Expected localeId to be defined\",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+` [Expected=> null != ${e} <=Actual]`)}(n,e),\"string\"==typeof t&&(el=t.toLowerCase().replace(/_/g,\"-\"))}const il=new Map;class rl extends at{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Bo(this);const n=Rt(t),i=t[H]||null;i&&nl(i),this._bootstrapComponents=Be(n.bootstrap),this._r3Injector=ps(t,e,[{provide:at,useValue:this},{provide:ho,useValue:this.componentFactoryResolver}],M(t)),this.instance=this.get(t)}get(t,e=ws.THROW_IF_NOT_FOUND,n=p.Default){return t===ws||t===at||t===W?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sl extends ot{constructor(t){super(),this.moduleType=t,null!==Rt(t)&&function t(e){if(null!==e.\\u0275mod.id){const t=e.\\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${M(e)} vs ${M(e.name)}`)})(t,il.get(t),e),il.set(t,e)}let n=e.\\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new rl(this.moduleType,t)}}function al(t,e,n){const i=Kt()+t,r=Ht();return r[i]===Pi?Ts(r,i,n?e.call(n):e()):Is(r,i)}function ol(t,e,n,i){return cl(Ht(),Kt(),t,e,n,i)}function ll(t,e,n,i,r){return hl(Ht(),Kt(),t,e,n,i,r)}function cl(t,e,n,i,r,s){const a=e+n;return js(t,a,r)?Ts(t,a+1,s?i.call(s,r):i(r)):Is(t,a+1)}function hl(t,e,n,i,r,s,a){const o=e+n;return Ls(t,o,r,s)?Ts(t,o+2,a?i.call(a,r,s):i(r,s)):Is(t,o+2)}function dl(t,e){const n=Ut();let i;const r=t+19;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=Dt(i.type)),a=J(Hs),o=s();return J(a),function(t,e,n,i){const r=n+19;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=i}(n,Ht(),t,o),o}function ul(t,e,n){const i=Ht(),r=li(i,t);return fl(i,ml(i,t)?cl(i,Kt(),e,r.transform,n,r):r.transform(n))}function pl(t,e,n,i){const r=Ht(),s=li(r,t);return fl(r,ml(r,t)?hl(r,Kt(),e,s.transform,n,i,s):s.transform(n,i))}function ml(t,e){return t[1].data[e+19].pure}function fl(t,e){return As.isWrapped(e)&&(e=As.unwrap(e),t[Zt()]=Pi),e}class gl extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,a=()=>null;t&&\"object\"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(a=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(a=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(i,s,a);return t instanceof r.a&&t.add(o),o}}function bl(){return this._results[Ps()]()}class _l{constructor(){this.dirty=!0,this._results=[],this.changes=new gl,this.length=0;const t=Ps(),e=_l.prototype;e[t]||(e[t]=bl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?(n===e&&(n=e.slice(0,i)),t(r,n)):n!==e&&n.push(r)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class yl{constructor(t){this.queryList=t,this.matches=null}clone(){return new yl(this.queryList)}setDirty(){this.queryList.setDirty()}}class vl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new vl(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Fl(t,e).matches&&this.queries[e].setDirty()}}class wl{constructor(t,e,n,i=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=i}}class xl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new xl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Cl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Cl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let i=0;i<n.length;i++)this.matchTNodeWithReadOption(t,e,kl(e,n[i]))}else{const n=this.metadata.predicate;n===Lo?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Je(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===uo||i===No||i===Lo&&0===e.type)this.addMatch(e.index,-2);else{const n=Je(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function kl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Ol(t,e,n,i){return-1===n?function(t,e){return 3===t.type||4===t.type?es(uo,t,e):0===t.type?ns(Lo,uo,t,e):null}(e,t):-2===n?function(t,e,n){return n===uo?es(uo,e,t):n===Lo?ns(Lo,uo,e,t):n===No?is(No,uo,e,t):void 0}(t,e,i):tn(t,t[1],n,e)}function Sl(t,e,n,i){const r=e[5].queries[i];if(null===r.matches){const i=t.data,s=n.matches,a=[];for(let t=0;t<s.length;t+=2){const r=s[t];a.push(r<0?null:Ol(e,i[r],s[t+1],n.metadata.read))}r.matches=a}return r.matches}function Ml(t){const e=Ht(),n=Ut(),i=ne();ie(i+1);const r=Fl(n,i);if(t.dirty&&di(e)===r.metadata.isStatic){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?function t(e,n,i,r){const s=e.queries.getByIndex(i),a=s.matches;if(null!==a){const o=Sl(e,n,s,i);for(let e=0;e<a.length;e+=2){const i=a[e];if(i>0)r.push(o[e/2]);else{const s=a[e+1],o=n[-i];for(let e=9;e<o.length;e++){const n=o[e];n[17]===n[3]&&t(n[1],n,s,r)}if(null!==o[5]){const e=o[5];for(let n=0;n<e.length;n++){const i=e[n];t(i[1],i,s,r)}}}}}return r}(n,e,i,[]):Sl(n,e,r,i);t.reset(s),t.notifyOnChanges()}return!0}return!1}function Pl(t,e,n){Al(Ut(),Ht(),t,e,n,!0)}function El(t,e,n){Al(Ut(),Ht(),t,e,n,!1)}function Al(t,e,n,i,r,s){t.firstCreatePass&&(Ll(t,new wl(n,i,s,r),-1),s&&(t.staticViewQueries=!0)),jl(t,e)}function Dl(t,e,n,i){Tl(Ut(),Ht(),e,n,i,!1,Qt(),t)}function Rl(t,e,n,i){Tl(Ut(),Ht(),e,n,i,!0,Qt(),t)}function Tl(t,e,n,i,r,s,a,o){t.firstCreatePass&&(Ll(t,new wl(n,i,s,r),a.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,o),s&&(t.staticContentQueries=!0)),jl(t,e)}function Il(){return t=Ht(),e=ne(),t[5].queries[e].queryList;var t,e}function jl(t,e){const n=new _l;!function(t,e,n,i){const r=xr(e);r.push(n),t.firstCreatePass&&Cr(t).push(i,r.length-1)}(t,e,n,n.destroy),null===e[5]&&(e[5]=new vl),e[5].queries.push(new yl(n))}function Ll(t,e,n){null===t.queries&&(t.queries=new xl),t.queries.track(new Cl(e,n))}function Fl(t,e){return t.queries.getByIndex(e)}function Nl(t,e){return ns(Lo,uo,t,e)}function Vl(t=p.Default){const e=rs(!0);if(null!=e||t&p.Optional)return e;throw new Error(\"No provider for ChangeDetectorRef!\")}const zl=new Q(\"Application Initializer\");let Bl=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();ta(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\\u0275fac=function(e){return new(e||t)(et(zl,8))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();const Hl=new Q(\"AppId\"),Ul={provide:Hl,useFactory:function(){return`${ql()}${ql()}${ql()}`},deps:[]};function ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ql=new Q(\"Platform Initializer\"),Wl=new Q(\"Platform ID\"),Yl=new Q(\"appBootstrapListener\");let $l=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();const Gl=new Q(\"LocaleId\"),Xl=new Q(\"DefaultCurrencyCode\");class Kl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Zl=function(t){return new sl(t)},Jl=Zl,tc=function(t){return Promise.resolve(Zl(t))},ec=function(t){const e=Zl(t),n=Be(Rt(t).declarations).reduce((t,e)=>{const n=At(e);return n&&t.push(new qo(n)),t},[]);return new Kl(e,n)},nc=ec,ic=function(t){return Promise.resolve(ec(t))};let rc=(()=>{class t{constructor(){this.compileModuleSync=Jl,this.compileModuleAsync=tc,this.compileModuleAndAllComponentsSync=nc,this.compileModuleAndAllComponentsAsync=ic}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();const sc=new Q(\"compilerOptions\"),ac=(()=>Promise.resolve(0))();function oc(t){\"undefined\"==typeof Zone?ac.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask(\"scheduleMicrotask\",t)}class lc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gl(!1),this.onMicrotaskEmpty=new gl(!1),this.onStable=new gl(!1),this.onError=new gl(!1),\"undefined\"==typeof Zone)throw new Error(\"In this configuration Angular requires Zone.js\");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=F.requestAnimationFrame,e=F.cancelAnimationFrame;if(\"undefined\"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__(\"OriginalDelegate\")];n&&(t=n);const i=e[Zone.__symbol__(\"OriginalDelegate\")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(F,()=>{t.lastRequestAnimationFrameId=-1,uc(t),dc(t)}),uc(t))}(t)});t._inner=t._inner.fork({name:\"angular\",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,i,r,s,a,o)=>{try{return pc(t),n.invokeTask(r,s,a,o)}finally{e&&\"eventTask\"===s.type&&e(),mc(t)}},onInvoke:(e,n,i,r,s,a,o)=>{try{return pc(t),e.invoke(i,r,s,a,o)}finally{mc(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&(\"microTask\"==r.change?(t._hasPendingMicrotasks=r.microTask,uc(t),dc(t)):\"macroTask\"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get(\"isAngularZone\")}static assertInAngularZone(){if(!lc.isInAngularZone())throw new Error(\"Expected to be in Angular Zone, but it is not!\")}static assertNotInAngularZone(){if(lc.isInAngularZone())throw new Error(\"Expected to not be in Angular Zone, but it is!\")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,s=r.scheduleEventTask(\"NgZoneEvent: \"+i,t,hc,cc,cc);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function cc(){}const hc={};function dc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function uc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function pc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function mc(t){t._nesting--,dc(t)}class fc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gl,this.onMicrotaskEmpty=new gl,this.onStable=new gl,this.onError=new gl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let gc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=\"undefined\"==typeof Zone?null:Zone.current.get(\"TaskTrackingZone\")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{lc.assertNotInAngularZone(),oc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error(\"pending async requests below zero\");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())oc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is \"zone.js/dist/task-tracking.js\" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\\u0275fac=function(e){return new(e||t)(et(lc))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})(),bc=(()=>{class t{constructor(){this._applications=new Map,wc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return wc.findTestabilityInTree(this,t,e)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();class _c{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function yc(t){wc=t}let vc,wc=new _c,xc=function(t,e,n){const i=new sl(n);if(0===Cs.size)return Promise.resolve(i);const r=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(sc,[]).concat(e).map(t=>t.providers));if(0===r.length)return Promise.resolve(i);const s=function(){const t=F.ng;if(!t||!t.\\u0275compilerFacade)throw new Error(\"Angular JIT compilation failed: '@angular/compiler' not loaded!\\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\\n  - Alternatively provide the compiler with 'import \\\"@angular/compiler\\\";' before bootstrapping.\");return t.\\u0275compilerFacade}(),a=ws.create({providers:r}).get(s.ResourceLoader);return function(t){const e=[],n=new Map;function i(t){let e=n.get(t);if(!e){const i=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=i.then(Os))}return e}return Cs.forEach((t,n)=>{const r=[];t.templateUrl&&r.push(i(t.templateUrl).then(e=>{t.template=e}));const s=t.styleUrls,a=t.styles||(t.styles=[]),o=t.styles.length;s&&s.forEach((e,n)=>{a.push(\"\"),r.push(i(e).then(i=>{a[o+n]=i,s.splice(s.indexOf(e),1),0==s.length&&(t.styleUrls=void 0)}))});const l=Promise.all(r).then(()=>function(t){ks.delete(t)}(n));e.push(l)}),Cs=new Map,Promise.all(e).then(()=>{})}().then(()=>i)};const Cc=new Q(\"AllowMultipleToken\");class kc{constructor(t,e){this.name=t,this.token=e}}function Oc(t,e,n=[]){const i=`Platform: ${e}`,r=new Q(i);return(e=[])=>{let s=Sc();if(!s||s.injector.get(Cc,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:os,useValue:\"platform\"});!function(t){if(vc&&!vc.destroyed&&!vc.injector.get(Cc,!1))throw new Error(\"There can be only one platform. Destroy the previous one to create a new one.\");vc=t.get(Mc);const e=t.get(Ql,null);e&&e.forEach(t=>t())}(ws.create({providers:t,name:i}))}return function(t){const e=Sc();if(!e)throw new Error(\"No platform exists!\");if(!e.injector.get(t,null))throw new Error(\"A platform with a different configuration has been created. Please destroy it first.\");return e}(r)}}function Sc(){return vc&&!vc.destroyed?vc:null}let Mc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n=\"noop\"===t?new fc:(\"zone.js\"===t?void 0:t)||new lc({enableLongStackTrace:Sn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),i=[{provide:lc,useValue:n}];return n.run(()=>{const e=ws.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(cn,null);if(!s)throw new Error(\"No ErrorHandler. Is platform module (BrowserModule) included?\");return r.onDestroy(()=>Ac(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const i=n();return ta(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(Bl);return t.runInitializers(),t.donePromise.then(()=>(nl(r.injector.get(Gl,\"en-US\")||\"en-US\"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Pc({},e);return xc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Ec);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${M(t.instance.constructor)} was bootstrapped, but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. `+\"Please define one of these.\");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error(\"The platform has already been destroyed!\");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\\u0275fac=function(e){return new(e||t)(et(ws))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();function Pc(t,e){return Array.isArray(e)?e.reduce(Pc,t):Object.assign(Object.assign({},t),e)}let Ec=(()=>{class t{constructor(t,e,n,i,r,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Sn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{lc.assertNotInAngularZone(),oc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{lc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(c,h.pipe(Object(o.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error(\"Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.\");let n;n=t instanceof lo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(at),r=n.create(ws.NULL,[],e||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(gc,null);return s&&r.injector.get(bc).registerApplication(r.location.nativeElement,s),this._loadComponent(r),Sn()&&this._console.log(\"Angular is running in the development mode. Call enableProdMode() to enable the production mode.\"),r}tick(){if(this._runningTick)throw new Error(\"ApplicationRef.tick is called recursively\");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ac(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Ac(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\\u0275fac=function(e){return new(e||t)(et(lc),et($l),et(ws),et(cn),et(ho),et(Bl))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();function Ac(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Dc{}class Rc{}const Tc={factoryPathPrefix:\"\",factoryPathSuffix:\".ngfactory\"};let Ic=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Tc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split(\"#\");return void 0===i&&(i=\"default\"),n(\"crnd\")(e).then(t=>t[i]).then(t=>jc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split(\"#\"),r=\"NgFactory\";return void 0===i&&(i=\"default\",r=\"\"),n(\"crnd\")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>jc(t,e,i))}}return t.\\u0275fac=function(e){return new(e||t)(et(rc),et(Rc,8))},t.\\u0275prov=g({token:t,factory:t.\\u0275fac}),t})();function jc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Lc extends ss{}class Fc extends Lc{}const Nc=function(t){return null},Vc=Oc(null,\"core\",[{provide:Wl,useValue:\"unknown\"},{provide:Mc,deps:[ws]},{provide:bc,deps:[]},{provide:$l,deps:[]}]),zc=[{provide:Ec,useClass:Ec,deps:[lc,$l,ws,cn,ho,Bl]},{provide:Uo,deps:[lc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Bl,useClass:Bl,deps:[[new h,zl]]},{provide:rc,useClass:rc,deps:[]},Ul,{provide:Do,useFactory:function(){return Io},deps:[]},{provide:Ro,useFactory:function(){return jo},deps:[]},{provide:Gl,useFactory:function(t){return nl(t=t||\"undefined\"!=typeof $localize&&$localize.locale||\"en-US\"),t},deps:[[new c(Gl),new h,new u]]},{provide:Xl,useValue:\"USD\"}];let Bc=(()=>{class t{constructor(t){}}return t.\\u0275mod=Ot({type:t}),t.\\u0275inj=_({factory:function(e){return new(e||t)(et(Ec))},providers:zc}),t})()},g5Dd:function(t,e){!function(){\"use strict\";for(var t=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",n=new Uint8Array(256),i=0;i<t.length;i++)n[t.charCodeAt(i)]=i;e.encode=function(e){var n,i=new Uint8Array(e),r=i.length,s=\"\";for(n=0;n<r;n+=3)s+=t[i[n]>>2],s+=t[(3&i[n])<<4|i[n+1]>>4],s+=t[(15&i[n+1])<<2|i[n+2]>>6],s+=t[63&i[n+2]];return r%3==2?s=s.substring(0,s.length-1)+\"=\":r%3==1&&(s=s.substring(0,s.length-2)+\"==\"),s},e.decode=function(t){var e,i,r,s,a,o=.75*t.length,l=t.length,c=0;\"=\"===t[t.length-1]&&(o--,\"=\"===t[t.length-2]&&o--);var h=new ArrayBuffer(o),d=new Uint8Array(h);for(e=0;e<l;e+=4)i=n[t.charCodeAt(e)],r=n[t.charCodeAt(e+1)],s=n[t.charCodeAt(e+2)],a=n[t.charCodeAt(e+3)],d[c++]=i<<2|r>>4,d[c++]=(15&r)<<4|s>>2,d[c++]=(3&s)<<6|63&a;return h}}()},gFX4:function(t,e,n){var i=n(\"zJ60\"),r=n(\"Vo14\"),s=n(\"eOtv\"),a=n(\"NOtv\")(\"socket.io-client\");t.exports=e=l;var o=e.managers={};function l(t,e){\"object\"==typeof t&&(e=t,t=void 0),e=e||{};var n,r=i(t),l=r.source,c=r.id;return e.forceNew||e[\"force new connection\"]||!1===e.multiplex||o[c]&&r.path in o[c].nsps?(a(\"ignoring socket cache for %s\",l),n=s(l,e)):(o[c]||(a(\"new io instance for %s\",l),o[c]=s(l,e)),n=o[c]),r.query&&!e.query&&(e.query=r.query),n.socket(r.path,e)}e.protocol=r.protocol,e.connect=l,e.Manager=n(\"eOtv\"),e.Socket=n(\"KFGy\")},gRHU:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"2fFW\"),r=n(\"NJ4a\");const s={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},iadO:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return st})),n.d(e,\"b\",(function(){return ct})),n.d(e,\"c\",(function(){return ut})),n.d(e,\"d\",(function(){return dt}));var i=n(\"u47x\"),r=n(\"rDax\"),s=n(\"+rOU\"),a=n(\"ofXK\"),o=n(\"fXoL\"),l=n(\"bTqV\"),c=n(\"0IaG\"),h=n(\"FKr1\"),d=n(\"XNiG\"),u=n(\"quSY\"),p=n(\"VRyK\"),m=n(\"LRne\"),f=n(\"FtGj\"),g=n(\"IzEk\"),b=n(\"JX91\"),_=n(\"pLZG\"),y=n(\"8LU1\"),v=n(\"R0Ic\"),w=n(\"3Pt+\"),x=n(\"qFsG\"),C=n(\"cH1L\"),k=n(\"kmnG\");const O=[\"mat-calendar-body\",\"\"];function S(t,e){if(1&t&&(o.Wb(0,\"tr\",2),o.Wb(1,\"td\",3),o.Jc(2),o.Vb(),o.Vb()),2&t){const t=o.ic();o.Db(1),o.Gc(\"padding-top\",t._cellPadding)(\"padding-bottom\",t._cellPadding),o.Eb(\"colspan\",t.numCols),o.Db(1),o.Lc(\" \",t.label,\" \")}}function M(t,e){if(1&t&&(o.Wb(0,\"td\",7),o.Jc(1),o.Vb()),2&t){const t=o.ic(2);o.Gc(\"padding-top\",t._cellPadding)(\"padding-bottom\",t._cellPadding),o.Eb(\"colspan\",t._firstRowOffset),o.Db(1),o.Lc(\" \",t._firstRowOffset>=t.labelMinRequiredCells?t.label:\"\",\" \")}}function P(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"td\",8),o.ec(\"click\",(function(){o.zc(t);const n=e.$implicit;return o.ic(2)._cellClicked(n)})),o.Wb(1,\"div\",9),o.Jc(2),o.Vb(),o.Vb()}if(2&t){const t=e.$implicit,n=e.index,i=o.ic().index,r=o.ic();o.Gc(\"width\",r._cellWidth)(\"padding-top\",r._cellPadding)(\"padding-bottom\",r._cellPadding),o.Hb(\"mat-calendar-body-disabled\",!t.enabled)(\"mat-calendar-body-active\",r._isActiveCell(i,n)),o.oc(\"ngClass\",t.cssClasses)(\"tabindex\",r._isActiveCell(i,n)?0:-1),o.Eb(\"aria-label\",t.ariaLabel)(\"aria-disabled\",!t.enabled||null)(\"aria-selected\",r.selectedValue===t.value),o.Db(1),o.Hb(\"mat-calendar-body-selected\",r.selectedValue===t.value)(\"mat-calendar-body-today\",r.todayValue===t.value),o.Db(1),o.Lc(\" \",t.displayValue,\" \")}}function E(t,e){if(1&t&&(o.Wb(0,\"tr\",4),o.Hc(1,M,2,6,\"td\",5),o.Hc(2,P,3,20,\"td\",6),o.Vb()),2&t){const t=e.$implicit,n=e.index,i=o.ic();o.Db(1),o.oc(\"ngIf\",0===n&&i._firstRowOffset),o.Db(1),o.oc(\"ngForOf\",t)}}function A(t,e){if(1&t&&(o.Wb(0,\"th\",5),o.Jc(1),o.Vb()),2&t){const t=e.$implicit;o.Eb(\"aria-label\",t.long),o.Db(1),o.Kc(t.narrow)}}const D=[\"*\"];function R(t,e){}function T(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"mat-month-view\",5),o.ec(\"activeDateChange\",(function(e){return o.zc(t),o.ic().activeDate=e}))(\"selectedChange\",(function(e){return o.zc(t),o.ic()._dateSelected(e)}))(\"_userSelection\",(function(){return o.zc(t),o.ic()._userSelected()})),o.Vb()}if(2&t){const t=o.ic();o.oc(\"activeDate\",t.activeDate)(\"selected\",t.selected)(\"dateFilter\",t.dateFilter)(\"maxDate\",t.maxDate)(\"minDate\",t.minDate)(\"dateClass\",t.dateClass)}}function I(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"mat-year-view\",6),o.ec(\"activeDateChange\",(function(e){return o.zc(t),o.ic().activeDate=e}))(\"monthSelected\",(function(e){return o.zc(t),o.ic()._monthSelectedInYearView(e)}))(\"selectedChange\",(function(e){return o.zc(t),o.ic()._goToDateInView(e,\"month\")})),o.Vb()}if(2&t){const t=o.ic();o.oc(\"activeDate\",t.activeDate)(\"selected\",t.selected)(\"dateFilter\",t.dateFilter)(\"maxDate\",t.maxDate)(\"minDate\",t.minDate)}}function j(t,e){if(1&t){const t=o.Xb();o.Wb(0,\"mat-multi-year-view\",7),o.ec(\"activeDateChange\",(function(e){return o.zc(t),o.ic().activeDate=e}))(\"yearSelected\",(function(e){return o.zc(t),o.ic()._yearSelectedInMultiYearView(e)}))(\"selectedChange\",(function(e){return o.zc(t),o.ic()._goToDateInView(e,\"year\")})),o.Vb()}if(2&t){const t=o.ic();o.oc(\"activeDate\",t.activeDate)(\"selected\",t.selected)(\"dateFilter\",t.dateFilter)(\"maxDate\",t.maxDate)(\"minDate\",t.minDate)}}const L=[\"button\"];function F(t,e){1&t&&(o.hc(),o.Wb(0,\"svg\",3),o.Rb(1,\"path\",4),o.Vb())}const N=[[[\"\",\"matDatepickerToggleIcon\",\"\"]]],V=[\"[matDatepickerToggleIcon]\"];function z(t){return Error(`MatDatepicker: No provider found for ${t}. You must import one of the following `+\"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.\")}let B=(()=>{class t{constructor(){this.changes=new d.a,this.calendarLabel=\"Calendar\",this.openCalendarLabel=\"Open calendar\",this.prevMonthLabel=\"Previous month\",this.nextMonthLabel=\"Next month\",this.prevYearLabel=\"Previous year\",this.nextYearLabel=\"Next year\",this.prevMultiYearLabel=\"Previous 20 years\",this.nextMultiYearLabel=\"Next 20 years\",this.switchToMonthViewLabel=\"Choose date\",this.switchToMultiYearViewLabel=\"Choose month and year\"}formatYearRange(t,e){return`${t} \\u2013 ${e}`}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(o.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();class H{constructor(t,e,n,i,r={}){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=r}}let U=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new o.o}_cellClicked(t){t.enabled&&this.selectedValueChange.emit(t.value)}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),!e&&this._cellWidth||(this._cellWidth=`${100/i}%`)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(g.a)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(\".mat-calendar-body-active\");t&&t.focus()})})}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(o.A))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"\",\"mat-calendar-body\",\"\"]],hostAttrs:[\"role\",\"grid\",\"aria-readonly\",\"true\",1,\"mat-calendar-body\"],inputs:{numCols:\"numCols\",activeCell:\"activeCell\",cellAspectRatio:\"cellAspectRatio\",label:\"label\",rows:\"rows\",todayValue:\"todayValue\",selectedValue:\"selectedValue\",labelMinRequiredCells:\"labelMinRequiredCells\"},outputs:{selectedValueChange:\"selectedValueChange\"},exportAs:[\"matCalendarBody\"],features:[o.Bb()],attrs:O,decls:2,vars:2,consts:[[\"aria-hidden\",\"true\",4,\"ngIf\"],[\"role\",\"row\",4,\"ngFor\",\"ngForOf\"],[\"aria-hidden\",\"true\"],[1,\"mat-calendar-body-label\"],[\"role\",\"row\"],[\"aria-hidden\",\"true\",\"class\",\"mat-calendar-body-label\",3,\"paddingTop\",\"paddingBottom\",4,\"ngIf\"],[\"role\",\"gridcell\",\"class\",\"mat-calendar-body-cell mat-focus-indicator\",\"role\",\"button\",3,\"ngClass\",\"tabindex\",\"mat-calendar-body-disabled\",\"mat-calendar-body-active\",\"width\",\"paddingTop\",\"paddingBottom\",\"click\",4,\"ngFor\",\"ngForOf\"],[\"aria-hidden\",\"true\",1,\"mat-calendar-body-label\"],[\"role\",\"gridcell\",\"role\",\"button\",1,\"mat-calendar-body-cell\",\"mat-focus-indicator\",3,\"ngClass\",\"tabindex\",\"click\"],[1,\"mat-calendar-body-cell-content\"]],template:function(t,e){1&t&&(o.Hc(0,S,3,6,\"tr\",0),o.Hc(1,E,3,2,\"tr\",1)),2&t&&(o.oc(\"ngIf\",e._firstRowOffset<e.labelMinRequiredCells),o.Db(1),o.oc(\"ngForOf\",e.rows))},directives:[a.l,a.k,a.j],styles:[\".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}\\n\"],encapsulation:2,changeDetection:0}),t})(),q=(()=>{class t{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.o,this._userSelection=new o.o,this.activeDateChange=new o.o,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(b.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){if(this._selectedDate!=t){const e=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(e,n,t);this.selectedChange.emit(i)}this._userSelection.emit()}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case f.g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case f.k:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case f.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case f.b:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case f.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case f.c:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case f.j:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case f.i:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case f.d:case f.l:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames(\"short\")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames(\"narrow\");let n=this._dateAdapter.getDayOfWeekNames(\"long\").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),r=this._shouldEnableDate(t),s=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),a=this.dateClass?this.dateClass(t):void 0;this._weeks[this._weeks.length-1].push(new H(n+1,e[n],s,r,a))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&\"rtl\"===this._dir.value}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.h),o.Qb(h.c,8),o.Qb(h.a,8),o.Qb(C.b,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-month-view\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(U,!0),2&t&&o.vc(n=o.fc())&&(e._matCalendarBody=n.first)},inputs:{activeDate:\"activeDate\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",dateFilter:\"dateFilter\",dateClass:\"dateClass\"},outputs:{selectedChange:\"selectedChange\",_userSelection:\"_userSelection\",activeDateChange:\"activeDateChange\"},exportAs:[\"matMonthView\"],decls:7,vars:7,consts:[[\"role\",\"presentation\",1,\"mat-calendar-table\"],[1,\"mat-calendar-table-header\"],[\"scope\",\"col\",4,\"ngFor\",\"ngForOf\"],[\"colspan\",\"7\",\"aria-hidden\",\"true\",1,\"mat-calendar-table-header-divider\"],[\"mat-calendar-body\",\"\",3,\"label\",\"rows\",\"todayValue\",\"selectedValue\",\"labelMinRequiredCells\",\"activeCell\",\"selectedValueChange\",\"keydown\"],[\"scope\",\"col\"]],template:function(t,e){1&t&&(o.Wb(0,\"table\",0),o.Wb(1,\"thead\",1),o.Wb(2,\"tr\"),o.Hc(3,A,2,2,\"th\",2),o.Vb(),o.Wb(4,\"tr\"),o.Rb(5,\"th\",3),o.Vb(),o.Vb(),o.Wb(6,\"tbody\",4),o.ec(\"selectedValueChange\",(function(t){return e._dateSelected(t)}))(\"keydown\",(function(t){return e._handleCalendarBodyKeydown(t)})),o.Vb(),o.Vb()),2&t&&(o.Db(3),o.oc(\"ngForOf\",e._weekdays),o.Db(3),o.oc(\"label\",e._monthLabel)(\"rows\",e._weeks)(\"todayValue\",e._todayDate)(\"selectedValue\",e._selectedDate)(\"labelMinRequiredCells\",3)(\"activeCell\",e._dateAdapter.getDate(e.activeDate)-1))},directives:[a.k,U],encapsulation:2,changeDetection:0}),t})(),Q=(()=>{class t{constructor(t,e,n){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.o,this.yearSelected=new o.o,this.activeDateChange=new o.o,!this._dateAdapter)throw z(\"DateAdapter\");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),W(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(b.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case f.g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case f.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case f.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case f.b:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case f.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case f.c:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case f.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case f.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case f.d:case f.l:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return Y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new H(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&\"rtl\"===this._dir.value}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.h),o.Qb(h.a,8),o.Qb(C.b,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-multi-year-view\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(U,!0),2&t&&o.vc(n=o.fc())&&(e._matCalendarBody=n.first)},inputs:{activeDate:\"activeDate\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",dateFilter:\"dateFilter\"},outputs:{selectedChange:\"selectedChange\",yearSelected:\"yearSelected\",activeDateChange:\"activeDateChange\"},exportAs:[\"matMultiYearView\"],decls:5,vars:6,consts:[[\"role\",\"presentation\",1,\"mat-calendar-table\"],[1,\"mat-calendar-table-header\"],[\"colspan\",\"4\",1,\"mat-calendar-table-header-divider\"],[\"mat-calendar-body\",\"\",3,\"rows\",\"todayValue\",\"selectedValue\",\"numCols\",\"cellAspectRatio\",\"activeCell\",\"selectedValueChange\",\"keydown\"]],template:function(t,e){1&t&&(o.Wb(0,\"table\",0),o.Wb(1,\"thead\",1),o.Wb(2,\"tr\"),o.Rb(3,\"th\",2),o.Vb(),o.Vb(),o.Wb(4,\"tbody\",3),o.ec(\"selectedValueChange\",(function(t){return e._yearSelected(t)}))(\"keydown\",(function(t){return e._handleCalendarBodyKeydown(t)})),o.Vb(),o.Vb()),2&t&&(o.Db(4),o.oc(\"rows\",e._years)(\"todayValue\",e._todayYear)(\"selectedValue\",e._selectedYear)(\"numCols\",4)(\"cellAspectRatio\",4/7)(\"activeCell\",e._getActiveCell()))},directives:[U],encapsulation:2,changeDetection:0}),t})();function W(t,e,n,i,r){const s=t.getYear(e),a=t.getYear(n),o=$(t,i,r);return Math.floor((s-o)/24)===Math.floor((a-o)/24)}function Y(t,e,n,i){return((t.getYear(e)-$(t,n,i))%24+24)%24}function $(t,e,n){let i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}let G=(()=>{class t{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.o,this.monthSelected=new o.o,this.activeDateChange=new o.o,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(b.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);const n=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case f.g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case f.k:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case f.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case f.b:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case f.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case f.c:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case f.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case f.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case f.d:case f.l:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames(\"short\");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){let n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new H(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&\"rtl\"===this._dir.value}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.h),o.Qb(h.c,8),o.Qb(h.a,8),o.Qb(C.b,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-year-view\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(U,!0),2&t&&o.vc(n=o.fc())&&(e._matCalendarBody=n.first)},inputs:{activeDate:\"activeDate\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",dateFilter:\"dateFilter\"},outputs:{selectedChange:\"selectedChange\",monthSelected:\"monthSelected\",activeDateChange:\"activeDateChange\"},exportAs:[\"matYearView\"],decls:5,vars:8,consts:[[\"role\",\"presentation\",1,\"mat-calendar-table\"],[1,\"mat-calendar-table-header\"],[\"colspan\",\"4\",1,\"mat-calendar-table-header-divider\"],[\"mat-calendar-body\",\"\",3,\"label\",\"rows\",\"todayValue\",\"selectedValue\",\"labelMinRequiredCells\",\"numCols\",\"cellAspectRatio\",\"activeCell\",\"selectedValueChange\",\"keydown\"]],template:function(t,e){1&t&&(o.Wb(0,\"table\",0),o.Wb(1,\"thead\",1),o.Wb(2,\"tr\"),o.Rb(3,\"th\",2),o.Vb(),o.Vb(),o.Wb(4,\"tbody\",3),o.ec(\"selectedValueChange\",(function(t){return e._monthSelected(t)}))(\"keydown\",(function(t){return e._handleCalendarBodyKeydown(t)})),o.Vb(),o.Vb()),2&t&&(o.Db(4),o.oc(\"label\",e._yearLabel)(\"rows\",e._months)(\"todayValue\",e._todayMonth)(\"selectedValue\",e._selectedMonth)(\"labelMinRequiredCells\",2)(\"numCols\",4)(\"cellAspectRatio\",4/7)(\"activeCell\",e._dateAdapter.getMonth(e.activeDate)))},directives:[U],encapsulation:2,changeDetection:0}),t})(),X=(()=>{class t{constructor(t,e,n,i,r){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if(\"month\"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if(\"year\"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-Y(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return\"month\"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,\"multi-year\":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,\"multi-year\":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=\"month\"==this.calendar.currentView?\"multi-year\":\"month\"}previousClicked(){this.calendar.activeDate=\"month\"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,\"year\"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate=\"month\"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,\"year\"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return\"month\"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):\"year\"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):W(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(B),o.Qb(Object(o.V)(()=>K)),o.Qb(h.a,8),o.Qb(h.c,8),o.Qb(o.h))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-calendar-header\"]],exportAs:[\"matCalendarHeader\"],ngContentSelectors:D,decls:9,vars:8,consts:[[1,\"mat-calendar-header\"],[1,\"mat-calendar-controls\"],[\"mat-button\",\"\",\"type\",\"button\",\"cdkAriaLive\",\"polite\",1,\"mat-calendar-period-button\",3,\"click\"],[1,\"mat-calendar-arrow\"],[1,\"mat-calendar-spacer\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-calendar-previous-button\",3,\"disabled\",\"click\"],[\"mat-icon-button\",\"\",\"type\",\"button\",1,\"mat-calendar-next-button\",3,\"disabled\",\"click\"]],template:function(t,e){1&t&&(o.nc(),o.Wb(0,\"div\",0),o.Wb(1,\"div\",1),o.Wb(2,\"button\",2),o.ec(\"click\",(function(){return e.currentPeriodClicked()})),o.Jc(3),o.Rb(4,\"div\",3),o.Vb(),o.Rb(5,\"div\",4),o.mc(6),o.Wb(7,\"button\",5),o.ec(\"click\",(function(){return e.previousClicked()})),o.Vb(),o.Wb(8,\"button\",6),o.ec(\"click\",(function(){return e.nextClicked()})),o.Vb(),o.Vb(),o.Vb()),2&t&&(o.Db(2),o.Eb(\"aria-label\",e.periodButtonLabel),o.Db(1),o.Lc(\" \",e.periodButtonText,\" \"),o.Db(1),o.Hb(\"mat-calendar-invert\",\"month\"!=e.calendar.currentView),o.Db(3),o.oc(\"disabled\",!e.previousEnabled()),o.Eb(\"aria-label\",e.prevButtonLabel),o.Db(1),o.oc(\"disabled\",!e.nextEnabled()),o.Eb(\"aria-label\",e.nextButtonLabel))},directives:[l.a,i.d],encapsulation:2,changeDetection:0}),t})(),K=(()=>{class t{constructor(t,e,n,i){if(this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView=\"month\",this.selectedChange=new o.o,this.yearSelected=new o.o,this.monthSelected=new o.o,this._userSelection=new o.o,this.stateChanges=new d.a,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new s.c(this.headerComponent||X),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){const t=this.currentView;let e;e=\"month\"===t?this.monthView:\"year\"===t?this.yearView:this.multiYearView,e.ngAfterContentInit()}_dateSelected(t){t&&!this._dateAdapter.sameDate(t,this.selected)&&this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(B),o.Qb(h.a,8),o.Qb(h.c,8),o.Qb(o.h))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-calendar\"]],viewQuery:function(t,e){var n;1&t&&(o.Pc(q,!0),o.Pc(G,!0),o.Pc(Q,!0)),2&t&&(o.vc(n=o.fc())&&(e.monthView=n.first),o.vc(n=o.fc())&&(e.yearView=n.first),o.vc(n=o.fc())&&(e.multiYearView=n.first))},hostAttrs:[1,\"mat-calendar\"],inputs:{startView:\"startView\",startAt:\"startAt\",selected:\"selected\",minDate:\"minDate\",maxDate:\"maxDate\",headerComponent:\"headerComponent\",dateFilter:\"dateFilter\",dateClass:\"dateClass\"},outputs:{selectedChange:\"selectedChange\",yearSelected:\"yearSelected\",monthSelected:\"monthSelected\",_userSelection:\"_userSelection\"},exportAs:[\"matCalendar\"],features:[o.Bb()],decls:5,vars:5,consts:[[3,\"cdkPortalOutlet\"],[\"cdkMonitorSubtreeFocus\",\"\",\"tabindex\",\"-1\",1,\"mat-calendar-content\",3,\"ngSwitch\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"dateClass\",\"activeDateChange\",\"selectedChange\",\"_userSelection\",4,\"ngSwitchCase\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"monthSelected\",\"selectedChange\",4,\"ngSwitchCase\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"yearSelected\",\"selectedChange\",4,\"ngSwitchCase\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"dateClass\",\"activeDateChange\",\"selectedChange\",\"_userSelection\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"monthSelected\",\"selectedChange\"],[3,\"activeDate\",\"selected\",\"dateFilter\",\"maxDate\",\"minDate\",\"activeDateChange\",\"yearSelected\",\"selectedChange\"]],template:function(t,e){1&t&&(o.Hc(0,R,0,0,\"ng-template\",0),o.Wb(1,\"div\",1),o.Hc(2,T,1,6,\"mat-month-view\",2),o.Hc(3,I,1,5,\"mat-year-view\",3),o.Hc(4,j,1,5,\"mat-multi-year-view\",4),o.Vb()),2&t&&(o.oc(\"cdkPortalOutlet\",e._calendarHeaderPortal),o.Db(1),o.oc(\"ngSwitch\",e.currentView),o.Db(1),o.oc(\"ngSwitchCase\",\"month\"),o.Db(1),o.oc(\"ngSwitchCase\",\"year\"),o.Db(1),o.oc(\"ngSwitchCase\",\"multi-year\"))},directives:[s.b,i.e,a.n,a.o,q,G,Q],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\"\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\"\";position:absolute;top:0;left:-8px;right:-8px;height:1px}\\n'],encapsulation:2,changeDetection:0}),t})();const Z={transformPanel:Object(v.p)(\"transformPanel\",[Object(v.m)(\"void\",Object(v.n)({opacity:0,transform:\"scale(1, 0.8)\"})),Object(v.o)(\"void => enter\",Object(v.e)(\"120ms cubic-bezier(0, 0, 0.2, 1)\",Object(v.n)({opacity:1,transform:\"scale(1, 1)\"}))),Object(v.o)(\"* => void\",Object(v.e)(\"100ms linear\",Object(v.n)({opacity:0})))]),fadeInCalendar:Object(v.p)(\"fadeInCalendar\",[Object(v.m)(\"void\",Object(v.n)({opacity:0})),Object(v.m)(\"enter\",Object(v.n)({opacity:1})),Object(v.o)(\"void => *\",Object(v.e)(\"120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\"))])};let J=0;const tt=new o.r(\"mat-datepicker-scroll-strategy\"),et={provide:tt,deps:[r.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class nt{constructor(t){this._elementRef=t}}const it=Object(h.t)(nt);let rt=(()=>{class t extends it{constructor(t,e){super(t),this._changeDetectorRef=e,this._animationState=\"enter\",this._animationDone=new d.a}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState=\"void\",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(o.h))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-datepicker-content\"]],viewQuery:function(t,e){var n;1&t&&o.Pc(K,!0),2&t&&o.vc(n=o.fc())&&(e._calendar=n.first)},hostAttrs:[1,\"mat-datepicker-content\"],hostVars:3,hostBindings:function(t,e){1&t&&o.Ib(\"@transformPanel.done\",(function(){return e._animationDone.next()})),2&t&&(o.Oc(\"@transformPanel\",e._animationState),o.Hb(\"mat-datepicker-content-touch\",e.datepicker.touchUi))},inputs:{color:\"color\"},exportAs:[\"matDatepickerContent\"],features:[o.Ab],decls:1,vars:11,consts:[[\"cdkTrapFocus\",\"\",3,\"id\",\"ngClass\",\"startAt\",\"startView\",\"minDate\",\"maxDate\",\"dateFilter\",\"headerComponent\",\"selected\",\"dateClass\",\"selectedChange\",\"yearSelected\",\"monthSelected\",\"_userSelection\"]],template:function(t,e){1&t&&(o.Wb(0,\"mat-calendar\",0),o.ec(\"selectedChange\",(function(t){return e.datepicker.select(t)}))(\"yearSelected\",(function(t){return e.datepicker._selectYear(t)}))(\"monthSelected\",(function(t){return e.datepicker._selectMonth(t)}))(\"_userSelection\",(function(){return e.datepicker.close()})),o.Vb()),2&t&&o.oc(\"id\",e.datepicker.id)(\"ngClass\",e.datepicker.panelClass)(\"startAt\",e.datepicker.startAt)(\"startView\",e.datepicker.startView)(\"minDate\",e.datepicker._minDate)(\"maxDate\",e.datepicker._maxDate)(\"dateFilter\",e.datepicker._dateFilter)(\"headerComponent\",e.datepicker.calendarHeaderComponent)(\"selected\",e.datepicker._selected)(\"dateClass\",e.datepicker.dateClass)(\"@fadeInCalendar\",\"enter\")},directives:[K,i.f,a.j],styles:[\".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\\n\"],encapsulation:2,data:{animation:[Z.transformPanel,Z.fadeInCalendar]},changeDetection:0}),t})(),st=(()=>{class t{constructor(t,e,n,i,r,s,a,l){if(this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=a,this._document=l,this.startView=\"month\",this._touchUi=!1,this.yearSelected=new o.o,this.monthSelected=new o.o,this.openedStream=new o.o,this.closedStream=new o.o,this._opened=!1,this.id=`mat-datepicker-${J++}`,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=u.a.EMPTY,this._disabledChange=new d.a,this._selectedChanged=new d.a,!this._dateAdapter)throw z(\"DateAdapter\");this._scrollStrategy=r}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(y.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(y.c)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(t){let e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_registerInput(t){if(this._datepickerInput)throw Error(\"A MatDatepicker can only be associated with a single input.\");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error(\"Attempted to open an MatDatepicker with no associated input.\");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(g.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&\"function\"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(rt,{direction:this._dir?this._dir.value:\"ltr\",viewContainerRef:this._viewContainerRef,panelClass:\"mat-datepicker-dialog\"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const t=new s.c(rt,this._viewContainerRef);this._destroyPopup(),this._createPopup();const e=this._popupComponentRef=this._popupRef.attach(t);e.instance.datepicker=this,e.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Object(g.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const t=new r.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:\"mat-overlay-transparent-backdrop\",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:\"mat-datepicker-popup\"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute(\"role\",\"dialog\"),Object(p.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(_.a)(t=>t.keyCode===f.e||this._datepickerInput&&t.altKey&&t.keyCode===f.n))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(\".mat-datepicker-content\").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"top\"},{originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"bottom\"},{originX:\"end\",originY:\"bottom\",overlayX:\"end\",overlayY:\"top\"},{originX:\"end\",originY:\"top\",overlayX:\"end\",overlayY:\"bottom\"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(c.b),o.Qb(r.c),o.Qb(o.A),o.Qb(o.P),o.Qb(tt),o.Qb(h.a,8),o.Qb(C.b,8),o.Qb(a.d,8))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-datepicker\"]],inputs:{startView:\"startView\",startAt:\"startAt\",color:\"color\",touchUi:\"touchUi\",disabled:\"disabled\",opened:\"opened\",calendarHeaderComponent:\"calendarHeaderComponent\",panelClass:\"panelClass\",dateClass:\"dateClass\"},outputs:{yearSelected:\"yearSelected\",monthSelected:\"monthSelected\",openedStream:\"opened\",closedStream:\"closed\"},exportAs:[\"matDatepicker\"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const at={provide:w.l,useExisting:Object(o.V)(()=>ct),multi:!0},ot={provide:w.k,useExisting:Object(o.V)(()=>ct),multi:!0};class lt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let ct=(()=>{class t{constructor(t,e,n,i){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this._formField=i,this.dateChange=new o.o,this.dateInput=new o.o,this._valueChange=new o.o,this._disabledChange=new o.o,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=u.a.EMPTY,this._localeSubscription=u.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDate(this.min,e)<=0?null:{matDatepickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDate(this.max,e)>=0?null:{matDatepickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=w.x.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw z(\"DateAdapter\");if(!this._dateFormats)throw z(\"MAT_DATE_FORMATS\");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new lt(this,this._elementRef.nativeElement)),this.dateChange.emit(new lt(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=Object(y.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&n.blur&&n.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===f.b&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n),this._dateAdapter.sameDate(n,this._value)?e!==this._lastValueValid&&this._validatorOnChange():(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new lt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new lt(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):\"\"}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(h.a,8),o.Qb(h.c,8),o.Qb(k.b,8))},t.\\u0275dir=o.Lb({type:t,selectors:[[\"input\",\"matDatepicker\",\"\"]],hostVars:5,hostBindings:function(t,e){1&t&&o.ec(\"input\",(function(t){return e._onInput(t.target.value)}))(\"change\",(function(){return e._onChange()}))(\"blur\",(function(){return e._onBlur()}))(\"keydown\",(function(t){return e._onKeydown(t)})),2&t&&(o.Zb(\"disabled\",e.disabled),o.Eb(\"aria-haspopup\",e._datepicker?\"dialog\":null)(\"aria-owns\",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)(\"min\",e.min?e._dateAdapter.toIso8601(e.min):null)(\"max\",e.max?e._dateAdapter.toIso8601(e.max):null))},inputs:{value:\"value\",matDatepicker:\"matDatepicker\",matDatepickerFilter:\"matDatepickerFilter\",min:\"min\",max:\"max\",disabled:\"disabled\"},outputs:{dateChange:\"dateChange\",dateInput:\"dateInput\"},exportAs:[\"matDatepickerInput\"],features:[o.Cb([at,ot,{provide:x.a,useExisting:t}])]}),t})(),ht=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=o.Lb({type:t,selectors:[[\"\",\"matDatepickerToggleIcon\",\"\"]]}),t})(),dt=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=u.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(y.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._disabledChange:Object(m.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(m.a)(),n=this.datepicker?Object(p.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(m.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(p.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\\u0275fac=function(e){return new(e||t)(o.Qb(B),o.Qb(o.h),o.bc(\"tabindex\"))},t.\\u0275cmp=o.Kb({type:t,selectors:[[\"mat-datepicker-toggle\"]],contentQueries:function(t,e,n){var i;1&t&&o.Jb(n,ht,!0),2&t&&o.vc(i=o.fc())&&(e._customIcon=i.first)},viewQuery:function(t,e){var n;1&t&&o.Pc(L,!0),2&t&&o.vc(n=o.fc())&&(e._button=n.first)},hostAttrs:[1,\"mat-datepicker-toggle\"],hostVars:7,hostBindings:function(t,e){1&t&&o.ec(\"focus\",(function(){return e._button.focus()})),2&t&&(o.Eb(\"tabindex\",e.disabled?null:-1),o.Hb(\"mat-datepicker-toggle-active\",e.datepicker&&e.datepicker.opened)(\"mat-accent\",e.datepicker&&\"accent\"===e.datepicker.color)(\"mat-warn\",e.datepicker&&\"warn\"===e.datepicker.color))},inputs:{tabIndex:\"tabIndex\",disabled:\"disabled\",datepicker:[\"for\",\"datepicker\"],disableRipple:\"disableRipple\"},exportAs:[\"matDatepickerToggle\"],features:[o.Bb()],ngContentSelectors:V,decls:4,vars:6,consts:[[\"mat-icon-button\",\"\",\"type\",\"button\",3,\"disabled\",\"disableRipple\",\"click\"],[\"button\",\"\"],[\"class\",\"mat-datepicker-toggle-default-icon\",\"viewBox\",\"0 0 24 24\",\"width\",\"24px\",\"height\",\"24px\",\"fill\",\"currentColor\",\"focusable\",\"false\",4,\"ngIf\"],[\"viewBox\",\"0 0 24 24\",\"width\",\"24px\",\"height\",\"24px\",\"fill\",\"currentColor\",\"focusable\",\"false\",1,\"mat-datepicker-toggle-default-icon\"],[\"d\",\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\"]],template:function(t,e){1&t&&(o.nc(N),o.Wb(0,\"button\",0,1),o.ec(\"click\",(function(t){return e._open(t)})),o.Hc(2,F,2,0,\"svg\",2),o.mc(3),o.Vb()),2&t&&(o.oc(\"disabled\",e.disabled)(\"disableRipple\",e.disableRipple),o.Eb(\"aria-haspopup\",e.datepicker?\"dialog\":null)(\"aria-label\",e._intl.openCalendarLabel)(\"tabindex\",e.disabled?-1:e.tabIndex),o.Db(2),o.oc(\"ngIf\",!e._customIcon))},directives:[l.a,a.l],styles:[\".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\\n\"],encapsulation:2,changeDetection:0}),t})(),ut=(()=>{class t{}return t.\\u0275mod=o.Ob({type:t}),t.\\u0275inj=o.Nb({factory:function(e){return new(e||t)},providers:[B,et],imports:[[a.c,l.b,c.f,r.f,i.a,s.f]]}),t})()},itXk:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"z+Ro\"),r=n(\"DH7j\"),s=n(\"l7GE\"),a=n(\"ZUHj\"),o=n(\"yCtX\");const l={};function c(...t){let e=null,n=null;return Object(i.a)(t[t.length-1])&&(n=t.pop()),\"function\"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(o.a)(t,n).lift(new h(e))}class h{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new d(t,this.resultSelector))}}class d extends s.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(l),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(Object(a.a)(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,i,r){const s=this.values,a=this.toRespond?s[n]===l?--this.toRespond:this.toRespond:0;s[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},jZKg:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"HDdC\"),r=n(\"quSY\");function s(t,e){return new i.a(n=>{const i=new r.a;let s=0;return i.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},jaxi:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return v}));var i=n(\"8LU1\"),r=n(\"0EQZ\"),s=n(\"fXoL\"),a=n(\"3Pt+\"),o=n(\"FKr1\"),l=n(\"u47x\");const c=[\"button\"],h=[\"*\"],d=new s.r(\"MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS\"),u={provide:a.l,useExisting:Object(s.V)(()=>g),multi:!0};class p{}let m=0;class f{constructor(t,e){this.source=t,this.value=e}}let g=(()=>{class t{constructor(t,e){this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${m++}`,this.valueChange=new s.o,this.change=new s.o,this.appearance=e&&e.appearance?e.appearance:\"standard\"}get name(){return this._name}set name(t){this._name=t,this._buttonToggles&&this._buttonToggles.forEach(t=>{t.name=this._name,t._markForCheck()})}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get value(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(t=>t.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(i.c)(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._buttonToggles&&this._buttonToggles.forEach(t=>t._markForCheck())}ngOnInit(){this._selectionModel=new r.c(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked))}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_emitChangeEvent(){const t=this.selected,e=Array.isArray(t)?t[t.length-1]:t,n=new f(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(t,e,n=!1,i=!1){this.multiple||!this.selected||t.checked||(this.selected.checked=!1),this._selectionModel?e?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve(()=>this._updateModelValue(n)):this._updateModelValue(n)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(e=>null!=t.value&&e===t.value):t.value===this._rawValue)}_setSelectionByValue(t){if(this._rawValue=t,this._buttonToggles)if(this.multiple&&t){if(!Array.isArray(t))throw Error(\"Value must be an array in multiple-selection mode.\");this._clearSelection(),t.forEach(t=>this._selectValue(t))}else this._clearSelection(),this._selectValue(t)}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>t.checked=!1)}_selectValue(t){const e=this._buttonToggles.find(e=>null!=e.value&&e.value===t);e&&(e.checked=!0,this._selectionModel.select(e))}_updateModelValue(t){t&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(s.h),s.Qb(d,8))},t.\\u0275dir=s.Lb({type:t,selectors:[[\"mat-button-toggle-group\"]],contentQueries:function(t,e,n){var i;1&t&&s.Jb(n,y,!0),2&t&&s.vc(i=s.fc())&&(e._buttonToggles=i)},hostAttrs:[\"role\",\"group\",1,\"mat-button-toggle-group\"],hostVars:5,hostBindings:function(t,e){2&t&&(s.Eb(\"aria-disabled\",e.disabled),s.Hb(\"mat-button-toggle-vertical\",e.vertical)(\"mat-button-toggle-group-appearance-standard\",\"standard\"===e.appearance))},inputs:{appearance:\"appearance\",name:\"name\",vertical:\"vertical\",value:\"value\",multiple:\"multiple\",disabled:\"disabled\"},outputs:{valueChange:\"valueChange\",change:\"change\"},exportAs:[\"matButtonToggleGroup\"],features:[s.Cb([u,{provide:p,useExisting:t}])]}),t})();class b{}const _=Object(o.u)(b);let y=(()=>{class t extends _{constructor(t,e,n,i,r,a){super(),this._changeDetectorRef=e,this._elementRef=n,this._focusMonitor=i,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new s.o;const o=Number(r);this.tabIndex=o||0===o?o:null,this.buttonToggleGroup=t,this.appearance=a&&a.appearance?a.appearance:\"standard\"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){const e=Object(i.c)(t);e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=Object(i.c)(t)}ngOnInit(){this._isSingleSelector=this.buttonToggleGroup&&!this.buttonToggleGroup.multiple,this._type=this._isSingleSelector?\"radio\":\"checkbox\",this.id=this.id||`mat-button-toggle-${m++}`,this._isSingleSelector&&(this.name=this.buttonToggleGroup.name),this.buttonToggleGroup&&this.buttonToggleGroup._isPrechecked(this)&&(this.checked=!0),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){const t=!!this._isSingleSelector||!this._checked;t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new f(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\\u0275fac=function(e){return new(e||t)(s.Qb(g,8),s.Qb(s.h),s.Qb(s.l),s.Qb(l.h),s.bc(\"tabindex\"),s.Qb(d,8))},t.\\u0275cmp=s.Kb({type:t,selectors:[[\"mat-button-toggle\"]],viewQuery:function(t,e){var n;1&t&&s.Pc(c,!0),2&t&&s.vc(n=s.fc())&&(e._buttonElement=n.first)},hostAttrs:[1,\"mat-button-toggle\",\"mat-focus-indicator\"],hostVars:11,hostBindings:function(t,e){1&t&&s.ec(\"focus\",(function(){return e.focus()})),2&t&&(s.Eb(\"tabindex\",-1)(\"id\",e.id)(\"name\",null),s.Hb(\"mat-button-toggle-standalone\",!e.buttonToggleGroup)(\"mat-button-toggle-checked\",e.checked)(\"mat-button-toggle-disabled\",e.disabled)(\"mat-button-toggle-appearance-standard\",\"standard\"===e.appearance))},inputs:{disableRipple:\"disableRipple\",ariaLabelledby:[\"aria-labelledby\",\"ariaLabelledby\"],tabIndex:\"tabIndex\",appearance:\"appearance\",checked:\"checked\",disabled:\"disabled\",id:\"id\",name:\"name\",ariaLabel:[\"aria-label\",\"ariaLabel\"],value:\"value\"},outputs:{change:\"change\"},exportAs:[\"matButtonToggle\"],features:[s.Ab],ngContentSelectors:h,decls:6,vars:9,consts:[[\"type\",\"button\",1,\"mat-button-toggle-button\",\"mat-focus-indicator\",3,\"id\",\"disabled\",\"click\"],[\"button\",\"\"],[1,\"mat-button-toggle-label-content\"],[1,\"mat-button-toggle-focus-overlay\"],[\"matRipple\",\"\",1,\"mat-button-toggle-ripple\",3,\"matRippleTrigger\",\"matRippleDisabled\"]],template:function(t,e){if(1&t&&(s.nc(),s.Wb(0,\"button\",0,1),s.ec(\"click\",(function(){return e._onButtonClick()})),s.Wb(2,\"div\",2),s.mc(3),s.Vb(),s.Vb(),s.Rb(4,\"div\",3),s.Rb(5,\"div\",4)),2&t){const t=s.wc(1);s.oc(\"id\",e.buttonId)(\"disabled\",e.disabled||null),s.Eb(\"tabindex\",e.disabled?-1:e.tabIndex)(\"aria-pressed\",e.checked)(\"name\",e.name||null)(\"aria-label\",e.ariaLabel)(\"aria-labelledby\",e.ariaLabelledby),s.Db(5),s.oc(\"matRippleTrigger\",t)(\"matRippleDisabled\",e.disableRipple||e.disabled)}},directives:[o.p],styles:[\".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px;padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 48px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\\n\"],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\\u0275mod=s.Ob({type:t}),t.\\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[o.f,o.q],o.f]}),t})()},jhN1:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return N})),n.d(e,\"b\",(function(){return H})),n.d(e,\"c\",(function(){return R})),n.d(e,\"d\",(function(){return S})),n.d(e,\"e\",(function(){return z})),n.d(e,\"f\",(function(){return V})),n.d(e,\"g\",(function(){return L})),n.d(e,\"h\",(function(){return w}));var i=n(\"ofXK\"),r=n(\"fXoL\");class s extends i.v{constructor(){super()}supportsDOMEvents(){return!0}}class a extends s{static makeCurrent(){Object(i.z)(new a)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(\"fakeTitle\")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return\"window\"===e?window:\"document\"===e?t:\"body\"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector(\"base\"),l)?l.getAttribute(\"href\"):null;return null==e?null:(n=e,o||(o=document.createElement(\"a\")),o.setAttribute(\"href\",n),\"/\"===o.pathname.charAt(0)?o.pathname:\"/\"+o.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.y)(document.cookie,t)}}let o,l=null;const c=new r.r(\"TRANSITION_ID\"),h=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.x)();Array.prototype.slice.apply(e.querySelectorAll(\"style[ng-transition]\")).filter(e=>e.getAttribute(\"ng-transition\")===t).forEach(t=>n.remove(t))})}},deps:[c,i.d,r.s],multi:!0}];class d{static init(){Object(r.Z)(new d)}addToWindow(t){r.rb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error(\"Could not find testability for element.\");return i},r.rb.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.rb.getAllAngularRootElements=()=>t.getAllRootElements(),r.rb.frameworkStabilizers||(r.rb.frameworkStabilizers=[]),r.rb.frameworkStabilizers.push(t=>{const e=r.rb.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,n--,0==n&&t(i)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(i.x)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const u=new r.r(\"EventManagerPlugins\");let p=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(u),r.ac(r.A))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Object(i.x)().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let f=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),g=(()=>{class t extends f{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement(\"style\");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.x)().remove(t))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();const b={svg:\"http://www.w3.org/2000/svg\",xhtml:\"http://www.w3.org/1999/xhtml\",xlink:\"http://www.w3.org/1999/xlink\",xml:\"http://www.w3.org/XML/1998/namespace\",xmlns:\"http://www.w3.org/2000/xmlns/\"},_=/%COMP%/g;function y(t,e,n){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?y(t,r,n):(r=r.replace(_,t),n.push(r))}return n}function v(t){return e=>{if(\"__ngUnwrap__\"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new x(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.Q.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new C(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.Q.Native:case r.Q.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=y(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(p),r.ac(g),r.ac(r.c))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();class x{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n=\"string\"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector \"${t}\" did not match any elements`);return e||(n.textContent=\"\"),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+\":\"+e;const r=b[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&r.H.DashCase?t.style.setProperty(e,n,i&r.H.Important?\"important\":\"\"):t.style[e]=n}removeStyle(t,e,n){n&r.H.DashCase?t.style.removeProperty(e):t.style[e]=\"\"}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return\"string\"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class C extends x{constructor(t,e,n,i){super(t),this.component=n;const r=y(i+\"-\"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr=\"_ngcontent-%COMP%\".replace(_,i+\"-\"+n.id),this.hostAttr=function(t){return\"_nghost-%COMP%\".replace(_,t)}(i+\"-\"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,\"\")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,\"\"),n}}class k extends x{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.Q.ShadowDom?n.attachShadow({mode:\"open\"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=y(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement(\"style\");t.textContent=s[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let O=(()=>{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),S=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get(\"pinch\").set({enable:!0}),e.get(\"rotate\").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();const M=[\"alt\",\"control\",\"meta\",\"shift\"],P={\"\\b\":\"Backspace\",\"\\t\":\"Tab\",\"\\x7f\":\"Delete\",\"\\x1b\":\"Escape\",Del:\"Delete\",Esc:\"Escape\",Left:\"ArrowLeft\",Right:\"ArrowRight\",Up:\"ArrowUp\",Down:\"ArrowDown\",Menu:\"ContextMenu\",Scroll:\"ScrollLock\",Win:\"OS\"},E={A:\"1\",B:\"2\",C:\"3\",D:\"4\",E:\"5\",F:\"6\",G:\"7\",H:\"8\",I:\"9\",J:\"*\",K:\"+\",M:\"-\",N:\".\",O:\"/\",\"`\":\"0\",\"\\x90\":\"NumLock\"},A={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let D=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.x)().onAndCancel(e,s.domEventName,a))}static parseEventName(e){const n=e.toLowerCase().split(\".\"),i=n.shift();if(0===n.length||\"keydown\"!==i&&\"keyup\"!==i)return null;const r=t._normalizeKey(n.pop());let s=\"\";if(M.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+\".\")}),s+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(t){let e=\"\",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return\"Unidentified\";e.startsWith(\"U+\")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&E.hasOwnProperty(e)&&(e=E[e]))}return P[e]||e}(t);return n=n.toLowerCase(),\" \"===n?n=\"space\":\".\"===n&&(n=\"dot\"),M.forEach(i=>{i!=n&&(0,A[i])(t)&&(e+=i+\".\")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case\"esc\":return\"escape\";default:return t}}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),R=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(r.Mb)({factory:function(){return Object(r.ac)(I)},token:t,providedIn:\"root\"}),t})();function T(t){return new I(t.get(i.d))}let I=(()=>{class t extends R{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.J.NONE:return e;case r.J.HTML:return Object(r.gb)(e,\"HTML\")?Object(r.zb)(e):Object(r.db)(this._doc,String(e));case r.J.STYLE:return Object(r.gb)(e,\"Style\")?Object(r.zb)(e):Object(r.eb)(e);case r.J.SCRIPT:if(Object(r.gb)(e,\"Script\"))return Object(r.zb)(e);throw new Error(\"unsafe value used in a script context\");case r.J.URL:return Object(r.qb)(e),Object(r.gb)(e,\"URL\")?Object(r.zb)(e):Object(r.fb)(String(e));case r.J.RESOURCE_URL:if(Object(r.gb)(e,\"ResourceURL\"))return Object(r.zb)(e);throw new Error(\"unsafe value used in a resource URL context (see http://g.co/ng/security#xss)\");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(r.hb)(t)}bypassSecurityTrustStyle(t){return Object(r.kb)(t)}bypassSecurityTrustScript(t){return Object(r.jb)(t)}bypassSecurityTrustUrl(t){return Object(r.lb)(t)}bypassSecurityTrustResourceUrl(t){return Object(r.ib)(t)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return T(Object(r.ac)(r.p))},token:t,providedIn:\"root\"}),t})();const j=[{provide:r.C,useValue:i.w},{provide:r.D,useValue:function(){a.makeCurrent(),d.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(r.xb)(document),document},deps:[]}],L=Object(r.S)(r.Y,\"browser\",j),F=[[],{provide:r.bb,useValue:\"root\"},{provide:r.n,useFactory:function(){return new r.n},deps:[]},{provide:u,useClass:O,multi:!0,deps:[i.d,r.A,r.C]},{provide:u,useClass:D,multi:!0,deps:[i.d]},[],{provide:w,useClass:w,deps:[p,g,r.c]},{provide:r.G,useExisting:w},{provide:f,useExisting:g},{provide:g,useClass:g,deps:[i.d]},{provide:r.N,useClass:r.N,deps:[r.A]},{provide:p,useClass:p,deps:[u,r.A]},[]];let N=(()=>{class t{constructor(t){if(t)throw new Error(\"BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.\")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.c,useValue:e.appId},{provide:c,useExisting:r.c},h]}}}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.ac(t,12))},providers:F,imports:[i.c,r.f]}),t})();function V(t){return t}\"undefined\"!=typeof window&&window;let z=(()=>{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const n=new t;return n.store=e,n}get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn(\"Exception in onSerialize callback: \",t)}return JSON.stringify(this.store)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();function B(t,e){const n=t.getElementById(e+\"-state\");let i={};if(n&&n.textContent)try{i=JSON.parse(function(t){const e={\"&a;\":\"&\",\"&q;\":'\"',\"&s;\":\"'\",\"&l;\":\"<\",\"&g;\":\">\"};return t.replace(/&[^;]+;/g,t=>e[t])}(n.textContent))}catch(r){console.warn(\"Exception while restoring TransferState for app \"+e,r)}return z.init(i)}let H=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[{provide:z,useFactory:B,deps:[i.d,r.c]}]}),t})()},jtHE:function(t,e,n){\"use strict\";var i=n(\"XNiG\"),r=n(\"3N8a\");class s extends r.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var a=n(\"IjjT\");class o extends a.a{}const l=new o(s);var c=n(\"quSY\"),h=n(\"7o/Q\"),d=n(\"WMd4\");class u extends h.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new p(t,this.destination)))}_next(t){this.scheduleMessage(d.a.createNext(t))}_error(t){this.scheduleMessage(d.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(d.a.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var m=n(\"9ppp\"),f=n(\"Ylt2\");n.d(e,\"a\",(function(){return g}));class g extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new m.a;if(this.isStopped||this.hasError?s=c.a.EMPTY:(this.observers.push(t),s=new f.a(this,t)),i&&t.add(t=new u(t,i)),e)for(let a=0;a<r&&!t.closed;a++)t.next(n[a]);else for(let a=0;a<r&&!t.closed;a++)t.next(n[a].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||l).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let s=0;for(;s<r&&!(t-i[s].time<n);)s++;return r>e&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i}}class b{constructor(t,e){this.time=t,this.value=e}}},kJWO:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=(()=>\"function\"==typeof Symbol&&Symbol.observable||\"@@observable\")()},kSER:function(t,e){t.exports=function(t,e){for(var n=[],i=(e=e||0)||0;i<t.length;i++)n[i-e]=t[i];return n}},kmnG:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return L})),n.d(e,\"b\",(function(){return X})),n.d(e,\"c\",(function(){return N})),n.d(e,\"d\",(function(){return K})),n.d(e,\"e\",(function(){return B})),n.d(e,\"f\",(function(){return H})),n.d(e,\"g\",(function(){return Q}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"GU7r\"),a=n(\"8LU1\"),o=n(\"FKr1\"),l=n(\"XNiG\"),c=n(\"VRyK\"),h=n(\"xgIS\"),d=n(\"JX91\"),u=n(\"1G5W\"),p=n(\"IzEk\"),m=n(\"R0Ic\"),f=n(\"R1ws\"),g=n(\"cH1L\"),b=n(\"nLfN\");const _=[\"underline\"],y=[\"connectionContainer\"],v=[\"inputContainer\"],w=[\"label\"];function x(t,e){1&t&&(r.Ub(0),r.Wb(1,\"div\",14),r.Rb(2,\"div\",15),r.Rb(3,\"div\",16),r.Rb(4,\"div\",17),r.Vb(),r.Wb(5,\"div\",18),r.Rb(6,\"div\",15),r.Rb(7,\"div\",16),r.Rb(8,\"div\",17),r.Vb(),r.Tb())}function C(t,e){1&t&&(r.Wb(0,\"div\",19),r.mc(1,1),r.Vb())}function k(t,e){if(1&t&&(r.Ub(0),r.mc(1,2),r.Wb(2,\"span\"),r.Jc(3),r.Vb(),r.Tb()),2&t){const t=r.ic(2);r.Db(3),r.Kc(t._control.placeholder)}}function O(t,e){1&t&&r.mc(0,3,[\"*ngSwitchCase\",\"true\"])}function S(t,e){1&t&&(r.Wb(0,\"span\",23),r.Jc(1,\" *\"),r.Vb())}function M(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"label\",20,21),r.ec(\"cdkObserveContent\",(function(){return r.zc(t),r.ic().updateOutlineGap()})),r.Hc(2,k,4,1,\"ng-container\",12),r.Hc(3,O,1,0,void 0,12),r.Hc(4,S,2,0,\"span\",22),r.Vb()}if(2&t){const t=r.ic();r.Hb(\"mat-empty\",t._control.empty&&!t._shouldAlwaysFloat)(\"mat-form-field-empty\",t._control.empty&&!t._shouldAlwaysFloat)(\"mat-accent\",\"accent\"==t.color)(\"mat-warn\",\"warn\"==t.color),r.oc(\"cdkObserveContentDisabled\",\"outline\"!=t.appearance)(\"id\",t._labelId)(\"ngSwitch\",t._hasLabel()),r.Eb(\"for\",t._control.id)(\"aria-owns\",t._control.id),r.Db(2),r.oc(\"ngSwitchCase\",!1),r.Db(1),r.oc(\"ngSwitchCase\",!0),r.Db(1),r.oc(\"ngIf\",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function P(t,e){1&t&&(r.Wb(0,\"div\",24),r.mc(1,4),r.Vb())}function E(t,e){if(1&t&&(r.Wb(0,\"div\",25,26),r.Rb(2,\"span\",27),r.Vb()),2&t){const t=r.ic();r.Db(2),r.Hb(\"mat-accent\",\"accent\"==t.color)(\"mat-warn\",\"warn\"==t.color)}}function A(t,e){if(1&t&&(r.Wb(0,\"div\"),r.mc(1,5),r.Vb()),2&t){const t=r.ic();r.oc(\"@transitionMessages\",t._subscriptAnimationState)}}function D(t,e){if(1&t&&(r.Wb(0,\"div\",31),r.Jc(1),r.Vb()),2&t){const t=r.ic(2);r.oc(\"id\",t._hintLabelId),r.Db(1),r.Kc(t.hintLabel)}}function R(t,e){if(1&t&&(r.Wb(0,\"div\",28),r.Hc(1,D,2,2,\"div\",29),r.mc(2,6),r.Rb(3,\"div\",30),r.mc(4,7),r.Vb()),2&t){const t=r.ic();r.oc(\"@transitionMessages\",t._subscriptAnimationState),r.Db(1),r.oc(\"ngIf\",t.hintLabel)}}const T=[\"*\",[[\"\",\"matPrefix\",\"\"]],[[\"mat-placeholder\"]],[[\"mat-label\"]],[[\"\",\"matSuffix\",\"\"]],[[\"mat-error\"]],[[\"mat-hint\",3,\"align\",\"end\"]],[[\"mat-hint\",\"align\",\"end\"]]],I=[\"*\",\"[matPrefix]\",\"mat-placeholder\",\"mat-label\",\"[matSuffix]\",\"mat-error\",\"mat-hint:not([align='end'])\",\"mat-hint[align='end']\"];let j=0,L=(()=>{class t{constructor(){this.id=`mat-error-${j++}`}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-error\"]],hostAttrs:[\"role\",\"alert\",1,\"mat-error\"],hostVars:1,hostBindings:function(t,e){2&t&&r.Eb(\"id\",e.id)},inputs:{id:\"id\"}}),t})();const F={transitionMessages:Object(m.p)(\"transitionMessages\",[Object(m.m)(\"enter\",Object(m.n)({opacity:1,transform:\"translateY(0%)\"})),Object(m.o)(\"void => enter\",[Object(m.n)({opacity:0,transform:\"translateY(-100%)\"}),Object(m.e)(\"300ms cubic-bezier(0.55, 0, 0.55, 0.2)\")])])};let N=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t}),t})();function V(t){return Error(`A hint was already declared for 'align=\"${t}\"'.`)}let z=0,B=(()=>{class t{constructor(){this.align=\"start\",this.id=`mat-hint-${z++}`}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-hint\"]],hostAttrs:[1,\"mat-hint\"],hostVars:4,hostBindings:function(t,e){2&t&&(r.Eb(\"id\",e.id)(\"align\",null),r.Hb(\"mat-right\",\"end\"==e.align))},inputs:{align:\"align\",id:\"id\"}}),t})(),H=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-label\"]]}),t})(),U=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"mat-placeholder\"]]}),t})(),q=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"matPrefix\",\"\"]]}),t})(),Q=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"matSuffix\",\"\"]]}),t})(),W=0;class Y{constructor(t){this._elementRef=t}}const $=Object(o.t)(Y,\"primary\"),G=new r.r(\"MAT_FORM_FIELD_DEFAULT_OPTIONS\");let X=(()=>{class t extends ${constructor(t,e,n,i,r,s,a,o){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState=\"\",this._hintLabel=\"\",this._hintLabelId=`mat-hint-${W++}`,this._labelId=`mat-form-field-label-${W++}`,this._labelOptions=n||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=\"NoopAnimations\"!==o,this.appearance=r&&r.appearance?r.appearance:\"legacy\",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||\"legacy\",\"outline\"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(a.c)(t)}get _shouldAlwaysFloat(){return\"always\"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return\"never\"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return\"legacy\"!==this.appearance&&\"never\"===this._floatLabel?\"auto\":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(d.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(u.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(u.a)(this._destroyed)).subscribe(()=>{\"function\"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState=\"enter\",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return\"legacy\"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||\"legacy\"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?\"error\":\"hint\"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(h.a)(this._label.nativeElement,\"transitionend\").pipe(Object(p.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel=\"always\",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error(\"Placeholder attribute and child element were both specified.\")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if(\"start\"===n.align){if(t||this.hintLabel)throw V(\"start\");t=n}else if(\"end\"===n.align){if(e)throw V(\"end\");e=n}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||\"auto\"}_syncDescribedByIds(){if(this._control){let t=[];if(\"hint\"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>\"start\"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>\"end\"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error(\"mat-form-field must contain a MatFormFieldControl.\")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if(\"outline\"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(\".mat-form-field-outline-start\"),s=i.querySelectorAll(\".mat-form-field-outline-gap\");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),a=this._getStartEnd(t.children[0].getBoundingClientRect());let o=0;for(const e of t.children)o+=e.offsetWidth;e=a-s-5,n=o>0?.75*o+10:0}for(let a=0;a<r.length;a++)r[a].style.width=`${e}px`;for(let a=0;a<s.length;a++)s[a].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&\"rtl\"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(r.h),r.Qb(o.d,8),r.Qb(g.b,8),r.Qb(G,8),r.Qb(b.a),r.Qb(r.A),r.Qb(f.a,8))},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-form-field\"]],contentQueries:function(t,e,n){var i;1&t&&(r.Jb(n,N,!0),r.Ec(n,N,!0),r.Jb(n,H,!0),r.Ec(n,H,!0),r.Jb(n,U,!0),r.Jb(n,L,!0),r.Jb(n,B,!0),r.Jb(n,q,!0),r.Jb(n,Q,!0)),2&t&&(r.vc(i=r.fc())&&(e._controlNonStatic=i.first),r.vc(i=r.fc())&&(e._controlStatic=i.first),r.vc(i=r.fc())&&(e._labelChildNonStatic=i.first),r.vc(i=r.fc())&&(e._labelChildStatic=i.first),r.vc(i=r.fc())&&(e._placeholderChild=i.first),r.vc(i=r.fc())&&(e._errorChildren=i),r.vc(i=r.fc())&&(e._hintChildren=i),r.vc(i=r.fc())&&(e._prefixChildren=i),r.vc(i=r.fc())&&(e._suffixChildren=i))},viewQuery:function(t,e){var n;1&t&&(r.Pc(_,!0),r.Fc(y,!0),r.Pc(v,!0),r.Pc(w,!0)),2&t&&(r.vc(n=r.fc())&&(e.underlineRef=n.first),r.vc(n=r.fc())&&(e._connectionContainerRef=n.first),r.vc(n=r.fc())&&(e._inputContainerRef=n.first),r.vc(n=r.fc())&&(e._label=n.first))},hostAttrs:[1,\"mat-form-field\"],hostVars:44,hostBindings:function(t,e){2&t&&r.Hb(\"mat-form-field-appearance-standard\",\"standard\"==e.appearance)(\"mat-form-field-appearance-fill\",\"fill\"==e.appearance)(\"mat-form-field-appearance-outline\",\"outline\"==e.appearance)(\"mat-form-field-appearance-legacy\",\"legacy\"==e.appearance)(\"mat-form-field-invalid\",e._control.errorState)(\"mat-form-field-can-float\",e._canLabelFloat)(\"mat-form-field-should-float\",e._shouldLabelFloat())(\"mat-form-field-has-label\",e._hasFloatingLabel())(\"mat-form-field-hide-placeholder\",e._hideControlPlaceholder())(\"mat-form-field-disabled\",e._control.disabled)(\"mat-form-field-autofilled\",e._control.autofilled)(\"mat-focused\",e._control.focused)(\"mat-accent\",\"accent\"==e.color)(\"mat-warn\",\"warn\"==e.color)(\"ng-untouched\",e._shouldForward(\"untouched\"))(\"ng-touched\",e._shouldForward(\"touched\"))(\"ng-pristine\",e._shouldForward(\"pristine\"))(\"ng-dirty\",e._shouldForward(\"dirty\"))(\"ng-valid\",e._shouldForward(\"valid\"))(\"ng-invalid\",e._shouldForward(\"invalid\"))(\"ng-pending\",e._shouldForward(\"pending\"))(\"_mat-animation-noopable\",!e._animationsEnabled)},inputs:{color:\"color\",floatLabel:\"floatLabel\",appearance:\"appearance\",hideRequiredMarker:\"hideRequiredMarker\",hintLabel:\"hintLabel\"},exportAs:[\"matFormField\"],features:[r.Ab],ngContentSelectors:I,decls:15,vars:8,consts:[[1,\"mat-form-field-wrapper\"],[1,\"mat-form-field-flex\",3,\"click\"],[\"connectionContainer\",\"\"],[4,\"ngIf\"],[\"class\",\"mat-form-field-prefix\",4,\"ngIf\"],[1,\"mat-form-field-infix\"],[\"inputContainer\",\"\"],[1,\"mat-form-field-label-wrapper\"],[\"class\",\"mat-form-field-label\",3,\"cdkObserveContentDisabled\",\"id\",\"mat-empty\",\"mat-form-field-empty\",\"mat-accent\",\"mat-warn\",\"ngSwitch\",\"cdkObserveContent\",4,\"ngIf\"],[\"class\",\"mat-form-field-suffix\",4,\"ngIf\"],[\"class\",\"mat-form-field-underline\",4,\"ngIf\"],[1,\"mat-form-field-subscript-wrapper\",3,\"ngSwitch\"],[4,\"ngSwitchCase\"],[\"class\",\"mat-form-field-hint-wrapper\",4,\"ngSwitchCase\"],[1,\"mat-form-field-outline\"],[1,\"mat-form-field-outline-start\"],[1,\"mat-form-field-outline-gap\"],[1,\"mat-form-field-outline-end\"],[1,\"mat-form-field-outline\",\"mat-form-field-outline-thick\"],[1,\"mat-form-field-prefix\"],[1,\"mat-form-field-label\",3,\"cdkObserveContentDisabled\",\"id\",\"ngSwitch\",\"cdkObserveContent\"],[\"label\",\"\"],[\"class\",\"mat-placeholder-required mat-form-field-required-marker\",\"aria-hidden\",\"true\",4,\"ngIf\"],[\"aria-hidden\",\"true\",1,\"mat-placeholder-required\",\"mat-form-field-required-marker\"],[1,\"mat-form-field-suffix\"],[1,\"mat-form-field-underline\"],[\"underline\",\"\"],[1,\"mat-form-field-ripple\"],[1,\"mat-form-field-hint-wrapper\"],[\"class\",\"mat-hint\",3,\"id\",4,\"ngIf\"],[1,\"mat-form-field-hint-spacer\"],[1,\"mat-hint\",3,\"id\"]],template:function(t,e){1&t&&(r.nc(T),r.Wb(0,\"div\",0),r.Wb(1,\"div\",1,2),r.ec(\"click\",(function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)})),r.Hc(3,x,9,0,\"ng-container\",3),r.Hc(4,C,2,0,\"div\",4),r.Wb(5,\"div\",5,6),r.mc(7),r.Wb(8,\"span\",7),r.Hc(9,M,5,16,\"label\",8),r.Vb(),r.Vb(),r.Hc(10,P,2,0,\"div\",9),r.Vb(),r.Hc(11,E,3,4,\"div\",10),r.Wb(12,\"div\",11),r.Hc(13,A,2,1,\"div\",12),r.Hc(14,R,5,2,\"div\",13),r.Vb(),r.Vb()),2&t&&(r.Db(3),r.oc(\"ngIf\",\"outline\"==e.appearance),r.Db(1),r.oc(\"ngIf\",e._prefixChildren.length),r.Db(5),r.oc(\"ngIf\",e._hasFloatingLabel()),r.Db(1),r.oc(\"ngIf\",e._suffixChildren.length),r.Db(1),r.oc(\"ngIf\",\"outline\"!=e.appearance),r.Db(1),r.oc(\"ngSwitch\",e._getDisplayedMessages()),r.Db(1),r.oc(\"ngSwitchCase\",\"error\"),r.Db(1),r.oc(\"ngSwitchCase\",\"hint\"))},directives:[i.l,i.n,i.o,s.a],styles:[\".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\\n\",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\"\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\" \";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\\n',\".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\\n\",\".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\\n\",\".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\\n\"],encapsulation:2,data:{animation:[F.transitionMessages]},changeDetection:0}),t})(),K=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[i.c,s.c]]}),t})()},l7GE:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");class r extends i.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");function r(t,e){return function(n){if(\"function\"!=typeof t)throw new TypeError(\"argument is not a function. Are you looking for `mapTo()`?\");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.project,this.thisArg))}}class a extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lKxJ:function(t,e,n){t.exports=n(\"2pII\"),t.exports.parser=n(\"Wm4p\")},m4GZ:function(t,e){function n(t){this.message=t}(n.prototype=new Error).name=\"InvalidCharacterError\",t.exports=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,\"\");if(e.length%4==1)throw new n(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var i,r,s=0,a=0,o=\"\";r=e.charAt(a++);~r&&(i=s%4?64*i+r:r,s++%4)?o+=String.fromCharCode(255&i>>(-2*s&6)):0)r=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(r);return o}},mCNh:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r})),n.d(e,\"b\",(function(){return s}));var i=n(\"KqfI\");function r(...t){return s(t)}function s(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:i.a}},mqiu:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));class i{constructor(t,e=\"/assets/i18n/\",n=\".json\"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}},n6bG:function(t,e,n){\"use strict\";function i(t){return\"function\"==typeof t}n.d(e,\"a\",(function(){return i}))},nLfN:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o})),n.d(e,\"b\",(function(){return l})),n.d(e,\"c\",(function(){return b})),n.d(e,\"d\",(function(){return g})),n.d(e,\"e\",(function(){return h})),n.d(e,\"f\",(function(){return m})),n.d(e,\"g\",(function(){return f}));var i=n(\"fXoL\"),r=n(\"ofXK\");let s;try{s=\"undefined\"!=typeof Intl&&Intl.v8BreakIterator}catch(_){s=!1}let a,o=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.t)(this._platformId):\"object\"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&\"undefined\"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!(\"MSStream\"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.C,8))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(i.C,8))},token:t,providedIn:\"root\"}),t})(),l=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})();const c=[\"color\",\"button\",\"checkbox\",\"date\",\"datetime-local\",\"email\",\"file\",\"hidden\",\"image\",\"month\",\"number\",\"password\",\"radio\",\"range\",\"reset\",\"search\",\"submit\",\"tel\",\"text\",\"time\",\"url\",\"week\"];function h(){if(a)return a;if(\"object\"!=typeof document||!document)return a=new Set(c),a;let t=document.createElement(\"input\");return a=new Set(c.filter(e=>(t.setAttribute(\"type\",e),t.type===e))),a}let d,u,p;function m(t){return function(){if(null==d&&\"undefined\"!=typeof window)try{window.addEventListener(\"test\",null,Object.defineProperty({},\"passive\",{get:()=>d=!0}))}finally{d=d||!1}return d}()?t:!!t.capture}function f(){return!!(\"object\"==typeof document&&\"scrollBehavior\"in document.documentElement.style)}function g(){if(\"object\"!=typeof document||!document)return 0;if(null==u){const t=document.createElement(\"div\"),e=t.style;t.dir=\"rtl\",e.height=\"1px\",e.width=\"1px\",e.overflow=\"auto\",e.visibility=\"hidden\",e.pointerEvents=\"none\",e.position=\"absolute\";const n=document.createElement(\"div\"),i=n.style;i.width=\"2px\",i.height=\"1px\",t.appendChild(n),document.body.appendChild(t),u=0,0===t.scrollLeft&&(t.scrollLeft=1,u=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return u}function b(){if(null==p){const t=\"undefined\"!=typeof document?document.head:null;p=!(!t||!t.createShadowRoot&&!t.attachShadow)}return p}},nYR2:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s}));var i=n(\"7o/Q\"),r=n(\"quSY\");function s(t){return e=>e.lift(new a(t))}class a{constructor(t){this.callback=t}call(t,e){return e.subscribe(new o(t,this.callback))}}class o extends i.a{constructor(t,e){super(t),this.add(new r.a(e))}}},ngJS:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},\"oIG/\":function(t,e){var n,i,r,s=String.fromCharCode;function a(t){for(var e,n,i=[],r=0,s=t.length;r<s;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<s?56320==(64512&(n=t.charCodeAt(r++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--):i.push(e);return i}function o(t,e){if(t>=55296&&t<=57343){if(e)throw Error(\"Lone surrogate U+\"+t.toString(16).toUpperCase()+\" is not a scalar value\");return!1}return!0}function l(t,e){return s(t>>e&63|128)}function c(t,e){if(0==(4294967168&t))return s(t);var n=\"\";return 0==(4294965248&t)?n=s(t>>6&31|192):0==(4294901760&t)?(o(t,e)||(t=65533),n=s(t>>12&15|224),n+=l(t,6)):0==(4292870144&t)&&(n=s(t>>18&7|240),n+=l(t,12),n+=l(t,6)),n+s(63&t|128)}function h(){if(r>=i)throw Error(\"Invalid byte index\");var t=255&n[r];if(r++,128==(192&t))return 63&t;throw Error(\"Invalid continuation byte\")}function d(t){var e,s;if(r>i)throw Error(\"Invalid byte index\");if(r==i)return!1;if(e=255&n[r],r++,0==(128&e))return e;if(192==(224&e)){if((s=(31&e)<<6|h())>=128)return s;throw Error(\"Invalid continuation byte\")}if(224==(240&e)){if((s=(15&e)<<12|h()<<6|h())>=2048)return o(s,t)?s:65533;throw Error(\"Invalid continuation byte\")}if(240==(248&e)&&(s=(7&e)<<18|h()<<12|h()<<6|h())>=65536&&s<=1114111)return s;throw Error(\"Invalid UTF-8 detected\")}t.exports={version:\"2.1.2\",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,i=a(t),r=i.length,s=-1,o=\"\";++s<r;)o+=c(i[s],n);return o},decode:function(t,e){var o=!1!==(e=e||{}).strict;n=a(t),i=n.length,r=0;for(var l,c=[];!1!==(l=d(o));)c.push(l);return function(t){for(var e,n=t.length,i=-1,r=\"\";++i<n;)(e=t[i])>65535&&(r+=s((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=s(e);return r}(c)}}},\"oWl+\":function(t,e,n){\"use strict\";n(\"u47x\");var i=n(\"8LU1\"),r=n(\"fXoL\"),s=n(\"FKr1\"),a=n(\"quSY\"),o=n(\"XNiG\"),l=n(\"NXyV\"),c=n(\"VRyK\"),h=n(\"LRne\"),d=n(\"xgIS\"),u=n(\"ofXK\"),p=n(\"rDax\"),m=n(\"FtGj\"),f=n(\"nLfN\"),g=n(\"+rOU\"),b=n(\"3Pt+\"),_=n(\"IzEk\"),y=n(\"eIep\"),v=n(\"pLZG\"),w=n(\"lJxs\"),x=n(\"vkgz\"),C=n(\"3E0/\"),k=n(\"cH1L\"),O=n(\"kmnG\"),S=n(\"vxfF\");const M=new r.r(\"mat-autocomplete-scroll-strategy\"),P={provide:M,deps:[p.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},E={provide:b.l,useExisting:Object(r.V)(()=>A),multi:!0};let A=(()=>{class t{constructor(t,e,n,i,r,s,h,d,u,p){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=r,this._dir=h,this._formField=d,this._document=u,this._viewportRuler=p,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=a.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new o.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position=\"auto\",this.autocompleteAttribute=\"off\",this._overlayAttached=!1,this.optionSelections=Object(l.a)(()=>this.autocomplete&&this.autocomplete.options?Object(c.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.asObservable().pipe(Object(_.a)(1),Object(y.a)(()=>this.optionSelections))),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(i.c)(t)}ngAfterViewInit(){if(\"undefined\"!=typeof window&&(this._zone.runOutsideAngular(()=>{window.addEventListener(\"blur\",this._windowBlurHandler)}),Object(f.c)())){const t=this._element.nativeElement,e=t.getRootNode?t.getRootNode():null;this._isInsideShadowRoot=e instanceof window.ShadowRoot}}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){\"undefined\"!=typeof window&&window.removeEventListener(\"blur\",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(c.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(v.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(v.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(w.a)(t=>t instanceof s.m?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(c.a)(Object(d.a)(this._document,\"click\"),Object(d.a)(this._document,\"touchend\")).pipe(Object(v.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e===m.e&&t.preventDefault(),this.activeOption&&e===m.d&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=e===m.n||e===m.b;this.panelOpen||e===m.m?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}}_handleInput(t){let e=t.target,n=e.value;\"number\"===e.type&&(n=\"\"==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&\"auto\"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel=\"always\",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel=\"auto\",this._manuallyFloatingLabel=!1)}_scrollToOption(){const t=this.autocomplete._keyManager.activeItemIndex||0,e=Object(s.r)(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{const n=Object(s.s)(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)}}_subscribeToClosingActions(){const t=this._zone.onStable.asObservable().pipe(Object(_.a)(1)),e=this.autocomplete.options.changes.pipe(Object(x.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(C.a)(0));return Object(c.a)(t,e).pipe(Object(y.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(_.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:\"\";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!=t&&e.selected&&e.deselect()})}_attachOverlay(){if(!this.autocomplete)throw Error(\"Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.\");let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new g.g(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(t=>{(t.keyCode===m.e||t.keyCode===m.n&&t.altKey)&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new p.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e={originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"top\"},n={originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"bottom\",panelClass:\"mat-autocomplete-panel-above\"};let i;i=\"above\"===this.position?[n]:\"below\"===this.position?[e]:[e,n],t.withPositions(i)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(p.c),r.Qb(r.P),r.Qb(r.A),r.Qb(r.h),r.Qb(M),r.Qb(k.b,8),r.Qb(O.b,9),r.Qb(u.d,8),r.Qb(S.d))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"input\",\"matAutocomplete\",\"\"],[\"textarea\",\"matAutocomplete\",\"\"]],hostAttrs:[1,\"mat-autocomplete-trigger\"],hostVars:7,hostBindings:function(t,e){1&t&&r.ec(\"focusin\",(function(){return e._handleFocus()}))(\"blur\",(function(){return e._onTouched()}))(\"input\",(function(t){return e._handleInput(t)}))(\"keydown\",(function(t){return e._handleKeydown(t)})),2&t&&r.Eb(\"autocomplete\",e.autocompleteAttribute)(\"role\",e.autocompleteDisabled?null:\"combobox\")(\"aria-autocomplete\",e.autocompleteDisabled?null:\"list\")(\"aria-activedescendant\",e.panelOpen&&e.activeOption?e.activeOption.id:null)(\"aria-expanded\",e.autocompleteDisabled?null:e.panelOpen.toString())(\"aria-owns\",e.autocompleteDisabled||!e.panelOpen?null:null==e.autocomplete?null:e.autocomplete.id)(\"aria-haspopup\",!e.autocompleteDisabled)},inputs:{position:[\"matAutocompletePosition\",\"position\"],autocompleteAttribute:[\"autocomplete\",\"autocompleteAttribute\"],autocompleteDisabled:[\"matAutocompleteDisabled\",\"autocompleteDisabled\"],autocomplete:[\"matAutocomplete\",\"autocomplete\"],connectedTo:[\"matAutocompleteConnectedTo\",\"connectedTo\"]},exportAs:[\"matAutocompleteTrigger\"],features:[r.Cb([E]),r.Bb()]}),t})(),D=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[P],imports:[[s.l,p.f,s.f,u.c],s.l,s.f]}),t})();var R=n(\"NFeN\"),T=n(\"qFsG\"),I=n(\"R0Ic\");n.d(e,\"a\",(function(){return q})),n.d(e,\"b\",(function(){return U}));const j=[\"input\"];function L(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",7,8),r.ec(\"ngModelChange\",(function(e){return r.zc(t),r.ic().value=e}))(\"ngModelChange\",(function(){return r.zc(t),r.ic().updateChanges()}))(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"ngModel\",t.value)(\"matAutocomplete\",t.matAutocomplete)(\"placeholder\",t.placeholder)}}function F(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",9,8),r.ec(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"placeholder\",t.placeholder)(\"formControl\",t.formControl)}}function N(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",10,8),r.ec(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"matAutocomplete\",t.matAutocomplete)(\"placeholder\",t.placeholder)(\"formControl\",t.formControl)}}function V(t,e){if(1&t){const t=r.Xb();r.Wb(0,\"mat-form-field\",6),r.Wb(1,\"input\",11,8),r.ec(\"ngModelChange\",(function(e){return r.zc(t),r.ic().value=e}))(\"ngModelChange\",(function(){return r.zc(t),r.ic().updateChanges()}))(\"blur\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onBlurring(e.value)}))(\"keyup.enter\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onEnterring(e.value)}))(\"focus\",(function(){r.zc(t);const e=r.wc(2);return r.ic().onFocussing(e.value)})),r.Vb(),r.Vb()}if(2&t){const t=r.ic();r.oc(\"@slideInOut\",t.searchVisible),r.Db(1),r.oc(\"ngModel\",t.value)(\"placeholder\",t.placeholder)}}let z=(()=>{class t{constructor(){this.onChange=t=>{},this.onTouched=()=>{}}updateChanges(){this.onChange(this.value)}writeValue(t){this.value=t,this.updateChanges()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=r.Lb({type:t}),t})();var B,H=function(t){return t[t.SIMPLE=0]=\"SIMPLE\",t[t.FORMCONTROL=1]=\"FORMCONTROL\",t[t.AUTOCOMPLETE=2]=\"AUTOCOMPLETE\",t[t.FORMCONTROLANDAUTOCOMPLETE=3]=\"FORMCONTROLANDAUTOCOMPLETE\",t}({});let U=(()=>{let t=B=class extends z{constructor(){super(...arguments),this.DISPLAY_TYPE=H,this.placeholder=\"\",this.onBlur=new r.o,this.onClose=new r.o,this.onEnter=new r.o,this.onFocus=new r.o,this.onOpen=new r.o,this.searchVisible=!1}ngOnInit(){this.formControl||this.matAutocomplete?this.formControl&&this.matAutocomplete?this.mode=H.FORMCONTROLANDAUTOCOMPLETE:this.formControl?this.mode=H.FORMCONTROL:this.matAutocomplete&&(this.mode=H.AUTOCOMPLETE):this.mode=H.SIMPLE}close(){this.searchVisible=!1,this.value=\"\",this.updateChanges(),this.onClose.emit()}open(){this.searchVisible=!0,this.inputElement.nativeElement.focus(),this.onOpen.emit()}onBlurring(t){t||(this.searchVisible=!1),this.onBlur.emit(t)}onEnterring(t){this.onEnter.emit(t)}onFocussing(t){this.onFocus.emit(t)}};return t.\\u0275fac=function(e){return Q(e||t)},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"mat-search-bar\"]],viewQuery:function(t,e){var n;1&t&&r.Pc(j,!0),2&t&&r.vc(n=r.fc())&&(e.inputElement=n.first)},inputs:{placeholder:\"placeholder\",formControl:\"formControl\",matAutocomplete:\"matAutocomplete\"},outputs:{onBlur:\"onBlur\",onClose:\"onClose\",onEnter:\"onEnter\",onFocus:\"onFocus\",onOpen:\"onOpen\"},features:[r.Cb([{provide:b.l,useExisting:Object(r.V)(()=>B),multi:!0}]),r.Ab],decls:10,vars:6,consts:[[3,\"ngSwitch\"],[\"class\",\"mat-search_field\",4,\"ngSwitchCase\"],[\"class\",\"mat-search_field\",4,\"ngSwitchDefault\"],[1,\"mat-search_icons\"],[\"matRipple\",\"\",1,\"mat-search_icon-close\",3,\"click\"],[\"matRipple\",\"\",1,\"mat-search_icon-search\",3,\"click\"],[1,\"mat-search_field\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"ngModel\",\"matAutocomplete\",\"placeholder\",\"ngModelChange\",\"blur\",\"keyup.enter\",\"focus\"],[\"input\",\"\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"placeholder\",\"formControl\",\"blur\",\"keyup.enter\",\"focus\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"matAutocomplete\",\"placeholder\",\"formControl\",\"blur\",\"keyup.enter\",\"focus\"],[\"matInput\",\"\",\"type\",\"text\",\"autocapitalize\",\"none\",3,\"ngModel\",\"placeholder\",\"ngModelChange\",\"blur\",\"keyup.enter\",\"focus\"]],template:function(t,e){1&t&&(r.Ub(0,0),r.Hc(1,L,3,4,\"mat-form-field\",1),r.Hc(2,F,3,3,\"mat-form-field\",1),r.Hc(3,N,3,4,\"mat-form-field\",1),r.Hc(4,V,3,3,\"mat-form-field\",2),r.Tb(),r.Wb(5,\"span\",3),r.Wb(6,\"mat-icon\",4),r.ec(\"click\",(function(){return e.close()})),r.Jc(7,\" close \"),r.Vb(),r.Wb(8,\"mat-icon\",5),r.ec(\"click\",(function(){return e.open()})),r.Jc(9,\" search \"),r.Vb(),r.Vb()),2&t&&(r.oc(\"ngSwitch\",e.mode),r.Db(1),r.oc(\"ngSwitchCase\",e.DISPLAY_TYPE.AUTOCOMPLETE),r.Db(1),r.oc(\"ngSwitchCase\",e.DISPLAY_TYPE.FORMCONTROL),r.Db(1),r.oc(\"ngSwitchCase\",e.DISPLAY_TYPE.FORMCONTROLANDAUTOCOMPLETE),r.Db(2),r.Hb(\"mat-search_icons--active\",e.searchVisible))},directives:[u.n,u.o,u.p,R.a,s.p,O.b,T.b,b.b,A,b.n,b.q,b.d],styles:[\"[_nghost-%COMP%]{position:relative;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:24px;height:24px}.mat-search_field[_ngcontent-%COMP%]{position:absolute;z-index:1;padding:0 24px 0 0}.mat-search_icons[_ngcontent-%COMP%]{display:block;margin:0;padding:0;position:absolute;top:0;left:0}.mat-search_icons[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-search_icons[_ngcontent-%COMP%]   .mat-search_icon-close[_ngcontent-%COMP%], .mat-search_icons[_ngcontent-%COMP%]   .mat-search_icon-search[_ngcontent-%COMP%]{-webkit-transition:.2s cubic-bezier(.4,0,.2,1);transition:.2s cubic-bezier(.4,0,.2,1);position:absolute;top:0;left:0;z-index:2;border-radius:50%}.mat-search_icons[_ngcontent-%COMP%]   .mat-search_icon-close[_ngcontent-%COMP%], .mat-search_icons.mat-search_icons--active[_ngcontent-%COMP%]   .mat-search_icon-search[_ngcontent-%COMP%]{opacity:0;-webkit-transform:rotate(225deg);transform:rotate(225deg)}.mat-search_icons.mat-search_icons--active[_ngcontent-%COMP%]   .mat-search_icon-close[_ngcontent-%COMP%]{opacity:1;z-index:3;visibility:visible;-webkit-transform:rotate(360deg);transform:rotate(360deg)}\"],data:{animation:[Object(I.p)(\"slideInOut\",[Object(I.m)(\"true\",Object(I.n)({width:\"*\"})),Object(I.m)(\"false\",Object(I.n)({width:\"0\"})),Object(I.o)(\"true => false\",Object(I.e)(\"300ms ease-in\")),Object(I.o)(\"false => true\",Object(I.e)(\"300ms ease-out\"))])]}}),t})(),q=(()=>{let t=class{};return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[u.c,b.h,D,R.b,T.c,s.q,b.u]]}),t})();const Q=r.Yb(U)},ofXK:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return $})),n.d(e,\"c\",(function(){return X})),n.d(e,\"d\",(function(){return l})),n.d(e,\"e\",(function(){return x})),n.d(e,\"f\",(function(){return d})),n.d(e,\"g\",(function(){return C})),n.d(e,\"h\",(function(){return _})),n.d(e,\"i\",(function(){return G})),n.d(e,\"j\",(function(){return D})),n.d(e,\"k\",(function(){return T})),n.d(e,\"l\",(function(){return j})),n.d(e,\"m\",(function(){return H})),n.d(e,\"n\",(function(){return V})),n.d(e,\"o\",(function(){return z})),n.d(e,\"p\",(function(){return B})),n.d(e,\"q\",(function(){return w})),n.d(e,\"r\",(function(){return c})),n.d(e,\"s\",(function(){return tt})),n.d(e,\"t\",(function(){return Z})),n.d(e,\"u\",(function(){return J})),n.d(e,\"v\",(function(){return o})),n.d(e,\"w\",(function(){return K})),n.d(e,\"x\",(function(){return s})),n.d(e,\"y\",(function(){return A})),n.d(e,\"z\",(function(){return a}));var i=n(\"fXoL\");let r=null;function s(){return r}function a(t){r||(r=t)}class o{}const l=new i.r(\"DocumentToken\");let c=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:h,token:t,providedIn:\"platform\"}),t})();function h(){return Object(i.ac)(u)}const d=new i.r(\"Location Initialized\");let u=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(t){s().getGlobalEventTarget(this._doc,\"window\").addEventListener(\"popstate\",t,!1)}onHashChange(t){s().getGlobalEventTarget(this._doc,\"window\").addEventListener(\"hashchange\",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(l))},t.\\u0275prov=Object(i.Mb)({factory:m,token:t,providedIn:\"platform\"}),t})();function p(){return!!window.history.pushState}function m(){return new u(Object(i.ac)(l))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith(\"/\")&&n++,e.startsWith(\"/\")&&n++,2==n?t+e.substring(1):1==n?t+e:t+\"/\"+e}function g(t){const e=t.match(/#|\\?|$/),n=e&&e.index||t.length;return t.slice(0,n-(\"/\"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&\"?\"!==t[0]?\"?\"+t:t}let _=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:y,token:t,providedIn:\"root\"}),t})();function y(t){const e=Object(i.ac)(l).location;return new w(Object(i.ac)(c),e&&e.origin||\"\")}const v=new i.r(\"appBaseHref\");let w=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error(\"No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.\");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c),i.ac(v,8))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),x=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref=\"\",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e=\"#\"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?\"#\"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c),i.ac(v,8))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),C=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=\"\"){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&\"/\"!==t[0]&&(t=\"/\"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e=\"\",n=null){this._platformStrategy.pushState(n,\"\",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e=\"\",n=null){this._platformStrategy.replaceState(n,\"\",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t=\"\",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(_),i.ac(c))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=g,t.\\u0275prov=Object(i.Mb)({factory:k,token:t,providedIn:\"root\"}),t})();function k(){return new C(Object(i.ac)(_),Object(i.ac)(c))}function O(t){return t.replace(/\\/index.html$/,\"\")}const S=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]=\"Zero\",t[t.One]=\"One\",t[t.Two]=\"Two\",t[t.Few]=\"Few\",t[t.Many]=\"Many\",t[t.Other]=\"Other\",t}(),M=i.pb;class P{}let E=(()=>{class t extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(M(e||this.locale)(t)){case S.Zero:return\"zero\";case S.One:return\"one\";case S.Two:return\"two\";case S.Few:return\"few\";case S.Many:return\"many\";default:return\"other\"}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.v))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();function A(t,e){e=encodeURIComponent(e);for(const n of t.split(\";\")){const t=n.indexOf(\"=\"),[i,r]=-1==t?[n,\"\"]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let D=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses=\"string\"==typeof t?t.split(/\\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass=\"string\"==typeof t?t.split(/\\s+/):t,this._rawClass&&(Object(i.sb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if(\"string\"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.yb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.t),i.Qb(i.u),i.Qb(i.l),i.Qb(i.F))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngClass\",\"\"]],inputs:{klass:[\"class\",\"klass\"],ngClass:\"ngClass\"}}),t})();class R{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let T=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(i.X)()&&null!=t&&\"function\"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+\"See https://angular.io/api/common/NgForOf#change-propagation for more information.\"),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new R(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new I(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new I(t,r);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M),i.Qb(i.t))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngFor\",\"\",\"ngForOf\",\"\"]],inputs:{ngForOf:\"ngForOf\",ngForTrackBy:\"ngForTrackBy\",ngForTemplate:\"ngForTemplate\"}}),t})();class I{constructor(t,e){this.record=t,this.view=e}}let j=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new L,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){F(\"ngIfThen\",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){F(\"ngIfElse\",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngIf\",\"\"]],inputs:{ngIf:\"ngIf\",ngIfThen:\"ngIfThen\",ngIfElse:\"ngIfElse\"}}),t})();class L{constructor(){this.$implicit=null,this.ngIf=null}}function F(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.yb)(e)}'.`)}class N{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let V=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngSwitch\",\"\"]],inputs:{ngSwitch:\"ngSwitch\"}}),t})(),z=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new N(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M),i.Qb(V,1))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngSwitchCase\",\"\"]],inputs:{ngSwitchCase:\"ngSwitchCase\"}}),t})(),B=(()=>{class t{constructor(t,e,n){n._addDefault(new N(t,e))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.P),i.Qb(i.M),i.Qb(V,1))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngSwitchDefault\",\"\"]]}),t})(),H=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(\".\");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(i.u),i.Qb(i.F))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngStyle\",\"\"]],inputs:{ngStyle:\"ngStyle\"}}),t})();function U(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.yb)(t)}'`)}class q{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Q{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const W=new Q,Y=new q;let $=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(i.vb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.R.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.ub)(e))return W;if(Object(i.tb)(e))return Y;throw U(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\\u0275fac=function(e){return new(e||t)(i.cc())},t.\\u0275pipe=i.Pb({name:\"async\",type:t,pure:!1}),t})(),G=(()=>{class t{transform(e){if(!e)return e;if(\"string\"!=typeof e)throw U(t,e);return e.toLowerCase()}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275pipe=i.Pb({name:\"lowercase\",type:t,pure:!0}),t})(),X=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[{provide:P,useClass:E}]}),t})();const K=\"browser\";function Z(t){return t===K}function J(t){return\"server\"===t}let tt=(()=>{class t{}return t.\\u0275prov=Object(i.Mb)({token:t,providedIn:\"root\",factory:()=>new et(Object(i.ac)(l),window,Object(i.ac)(i.n))}),t})();class et{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\\\"|\\'\\ |:|\\.|\\[|\\]|,|=)/g,\"\\\\$1\");try{const e=this.document.querySelector(`#${t}`);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},ojuT:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==n.call(t)}},pD6V:function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return p})),n.d(e,\"d\",(function(){return g})),n.d(e,\"e\",(function(){return b})),n.d(e,\"g\",(function(){return _})),n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return C})),n.d(e,\"i\",(function(){return U})),n.d(e,\"h\",(function(){return q})),n.d(e,\"j\",(function(){return Q})),n.d(e,\"f\",(function(){return Y}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"XNiG\"),a=n(\"2Vo4\"),o=n(\"HDdC\"),l=n(\"VRyK\"),c=(n(\"7Hc7\"),n(\"LRne\"),n(\"xgIS\"),n(\"pLZG\")),h=(n(\"lJxs\"),n(\"Kj3r\"),n(\"eIep\"),n(\"1G5W\"),n(\"IzEk\"),n(\"vkgz\"));const d={provide:i.b,useFactory:function(t,e){return()=>{if(Object(r.t)(e)){const e=Array.from(t.querySelectorAll(`[class*=${u}]`)),n=/\\bflex-layout-.+?\\b/g;e.forEach(t=>{t.classList.contains(`${u}ssr`)&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,\"\")})}}},deps:[r.d,i.C],multi:!0},u=\"flex-layout-\";let p=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[d]}),t})();class m{constructor(t=!1,e=\"all\",n=\"\",i=\"\",r=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=i,this.priority=r,this.property=\"\"}clone(){return new m(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let f=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const i=this.stylesheet.get(t);i?i.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let i=\"\";if(n){const t=n.get(e);\"number\"!=typeof t&&\"string\"!=typeof t||(i=t+\"\")}return i}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const g={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},b=new i.r(\"Flex Layout token, config options for the library\",{providedIn:\"root\",factory:()=>g}),_=new i.r(\"FlexLayoutServerLoaded\",{providedIn:\"root\",factory:()=>!1}),y=new i.r(\"Flex Layout token, collect all breakpoints into one provider\",{providedIn:\"root\",factory:()=>null});function v(t,e){return t=t?t.clone():new m,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const w=[\"row\",\"column\",\"row-reverse\",\"column-reverse\"];function x(t){if(t)switch(t.toLowerCase()){case\"reverse\":case\"wrap-reverse\":case\"reverse-wrap\":t=\"wrap-reverse\";break;case\"no\":case\"none\":case\"nowrap\":t=\"nowrap\";break;default:t=\"wrap\"}return t}let C=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY=\"\",this.inputs=[],this.mru={},this.destroySubject=new s.a,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(\".\").slice(1).join(\".\");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,i=n.shouldCache;let r=this.styleCache.get(t);r&&i||(r=n.buildStyles(t,e),i&&this.styleCache.set(t,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(t,r,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=\"\"}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,i]=this.styler.getFlowDirection(t);if(!i&&e){const e=function(t){let[e,n,i]=function(t){t=t?t.toLowerCase():\"\";let[e,n,i]=t.split(\" \");return w.find(t=>t===e)||(e=w[0]),\"inline\"===n&&(n=\"inline\"!==i?i:\"\",i=\"inline\"),[e,x(n),!!i]}(t);return function(t,e=null,n=!1){return{display:n?\"inline-flex\":\"flex\",\"box-sizing\":\"border-box\",\"flex-direction\":t,\"flex-wrap\":e||null}}(e,n,i)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return\"row\"}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.addStyles(t)}}return t.\\u0275fac=function(t){i.dc()},t.\\u0275dir=i.Lb({type:t,features:[i.Bb()]}),t})();const k=[{alias:\"xs\",mediaQuery:\"screen and (min-width: 0px) and (max-width: 599.9px)\",priority:1e3},{alias:\"sm\",mediaQuery:\"screen and (min-width: 600px) and (max-width: 959.9px)\",priority:900},{alias:\"md\",mediaQuery:\"screen and (min-width: 960px) and (max-width: 1279.9px)\",priority:800},{alias:\"lg\",mediaQuery:\"screen and (min-width: 1280px) and (max-width: 1919.9px)\",priority:700},{alias:\"xl\",mediaQuery:\"screen and (min-width: 1920px) and (max-width: 4999.9px)\",priority:600},{alias:\"lt-sm\",overlapping:!0,mediaQuery:\"screen and (max-width: 599.9px)\",priority:950},{alias:\"lt-md\",overlapping:!0,mediaQuery:\"screen and (max-width: 959.9px)\",priority:850},{alias:\"lt-lg\",overlapping:!0,mediaQuery:\"screen and (max-width: 1279.9px)\",priority:750},{alias:\"lt-xl\",overlapping:!0,priority:650,mediaQuery:\"screen and (max-width: 1919.9px)\"},{alias:\"gt-xs\",overlapping:!0,mediaQuery:\"screen and (min-width: 600px)\",priority:-950},{alias:\"gt-sm\",overlapping:!0,mediaQuery:\"screen and (min-width: 960px)\",priority:-850},{alias:\"gt-md\",overlapping:!0,mediaQuery:\"screen and (min-width: 1280px)\",priority:-750},{alias:\"gt-lg\",overlapping:!0,mediaQuery:\"screen and (min-width: 1920px)\",priority:-650}],O=\"(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)\",S=\"(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)\",M=\"(orientation: portrait) and (min-width: 840px)\",P=\"(orientation: landscape) and (min-width: 1280px)\",E={HANDSET:\"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)\",TABLET:`${O} , ${S}`,WEB:`${M}, ${P} `,HANDSET_PORTRAIT:\"(orientation: portrait) and (max-width: 599.9px)\",TABLET_PORTRAIT:`${O} `,WEB_PORTRAIT:`${M}`,HANDSET_LANDSCAPE:\"(orientation: landscape) and (max-width: 959.9px)]\",TABLET_LANDSCAPE:`${S}`,WEB_LANDSCAPE:`${P}`},A=[{alias:\"handset\",priority:2e3,mediaQuery:E.HANDSET},{alias:\"handset.landscape\",priority:2e3,mediaQuery:E.HANDSET_LANDSCAPE},{alias:\"handset.portrait\",priority:2e3,mediaQuery:E.HANDSET_PORTRAIT},{alias:\"tablet\",priority:2100,mediaQuery:E.TABLET},{alias:\"tablet.landscape\",priority:2100,mediaQuery:E.TABLET},{alias:\"tablet.portrait\",priority:2100,mediaQuery:E.TABLET_PORTRAIT},{alias:\"web\",priority:2200,mediaQuery:E.WEB,overlapping:!0},{alias:\"web.landscape\",priority:2200,mediaQuery:E.WEB_LANDSCAPE,overlapping:!0},{alias:\"web.portrait\",priority:2200,mediaQuery:E.WEB_PORTRAIT,overlapping:!0}],D=/(\\.|-|_)/g;function R(t){let e=t.length>0?t.charAt(0):\"\",n=t.length>1?t.slice(1):\"\";return e.toUpperCase()+n}const T=new i.r(\"Token (@angular/flex-layout) Breakpoints\",{providedIn:\"root\",factory:()=>{const t=Object(i.W)(y),e=Object(i.W)(b),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError(\"Cannot convert undefined or null to object\");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(i=Object.keys(n).map(t=>n[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(D,\"|\").split(\"|\").map(R).join(\"\"),t.overlapping=!!t.overlapping)}),i;var i}((e.disableDefaultBps?[]:k).concat(e.addOrientationBps?A:[]),n)}});function I(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function j(t,e){return(t.priority||0)-(e.priority||0)}let L=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(j)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:\"\")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(T))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(T))},token:t,providedIn:\"root\"}),t})(),F=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new a.a(new m(!0)),this.registry=new Map,this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return!!e&&e.matches}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(Object(c.a)(n=>!e||t.indexOf(n.mediaQuery)>-1)),i=new o.a(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()});return Object(l.a)(i,n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!N[t]);if(n.length>0){const t=n.join(\", \");try{const i=e.createElement(\"style\");i.setAttribute(\"type\",\"text/css\"),i.styleSheet||i.appendChild(e.createTextNode(`\\n/*\\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\\n  see http://bit.ly/2sd4HMP\\n*/\\n@media ${t} {.fx-query-test{ }}\\n`)),e.head.appendChild(i),n.forEach(t=>N[t]=i)}catch(i){console.error(i)}}}(e,this._document),e.forEach(t=>{let e=this.registry.get(t);e||(e=this.buildMQL(t),e.addListener(e=>{this._zone.run(()=>this.source.next(new m(e.matches,t)))}),this.registry.set(t,e)),e.matches&&n.push(new m(!0,t))}),n}buildMQL(t){return function(t,e){return e&&window.matchMedia(\"all\").addListener?window.matchMedia(t):{matches:\"all\"===t||\"\"===t,media:t,addListener:()=>{},removeListener:()=>{}}}(t,Object(r.t)(this._platformId))}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.A),i.ac(i.C),i.ac(r.d))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(i.A),Object(i.ac)(i.C),Object(i.ac)(r.d))},token:t,providedIn:\"root\"}),t})();const N={},V={alias:\"print\",mediaQuery:\"print\",priority:1e3};let z=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.isPrinting=!1,this.queue=new B,this.deactivations=[]}withPrintQuery(t){return[...t,\"print\"]}isPrintEvent(t){return t.mediaQuery.startsWith(\"print\")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(I)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:\"\"),v(t,e)}registerBeforeAfterPrintHooks(t){this._document.defaultView&&!this.registeredBeforeAfterPrintHooks&&(this.registeredBeforeAfterPrintHooks=!0,this._document.defaultView.addEventListener(\"beforeprint\",()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new m(!0,\"print\"))),t.updateStyles())}),this._document.defaultView.addEventListener(\"afterprint\",()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())}))}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(I))}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(L),i.ac(b),i.ac(r.d))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(L),Object(i.ac)(b),Object(i.ac)(r.d))},token:t,providedIn:\"root\"}),t})();class B{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(V),t.sort(I),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith(\"print\")}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function H(t){for(let e in t){let n=t[e]||\"\";switch(e){case\"display\":t.display=\"flex\"===n?[\"-webkit-flex\",\"flex\"]:\"inline-flex\"===n?[\"-webkit-inline-flex\",\"inline-flex\"]:n;break;case\"align-items\":case\"align-self\":case\"align-content\":case\"flex\":case\"flex-basis\":case\"flex-flow\":case\"flex-grow\":case\"flex-shrink\":case\"flex-wrap\":case\"justify-content\":t[\"-webkit-\"+e]=n;break;case\"flex-direction\":n=n||\"row\",t[\"-webkit-flex-direction\"]=n,t[\"flex-direction\"]=n;break;case\"order\":t.order=t[\"-webkit-\"+e]=isNaN(+n)?\"0\":n}}return t}let U=(()=>{class t{constructor(t,e,n,i){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=i}applyStyleToElement(t,e,n=null){let i={};\"string\"==typeof e&&(i[e]=n,e=i),i=this.layoutConfig.disableVendorPrefixes?e:H(e),this._applyMultiValueStyleToElement(i,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:H(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){let e=this.lookupStyle(t,\"flex-direction\");return[e||\"row\",this.lookupInlineStyle(t,\"flex-direction\")||Object(r.u)(this._platformId)&&this._serverModuleLoaded?e:\"\"]}lookupAttributeValue(t,e){return t.getAttribute(e)||\"\"}lookupInlineStyle(t,e){return Object(r.t)(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let i=\"\";return t&&((i=this.lookupInlineStyle(t,e))||(Object(r.t)(this._platformId)?n||(i=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(t,e)))),i?i.trim():\"\"}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const i=t[n],s=Array.isArray(i)?i:[i];s.sort();for(let t of s)t=t?t+\"\":\"\",Object(r.t)(this._platformId)||!this._serverModuleLoaded?Object(r.t)(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase();const i=this._readStyleAttribute(t);i[e]=n||\"\",this._writeStyleAttribute(t,i)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||\"\"}_readStyleAttribute(t){const e={},n=t.getAttribute(\"style\");if(n){const t=n.split(/;+/g);for(let n=0;n<t.length;n++){const i=t[n].trim();if(i.length>0){const t=i.indexOf(\":\");if(-1===t)throw new Error(`Invalid CSS style: ${i}`);e[i.substr(0,t).trim()]=i.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n=\"\";for(const i in e)e[i]&&(n+=i+\":\"+e[i]+\";\");t.setAttribute(\"style\",n)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(f),i.ac(_),i.ac(i.C),i.ac(b))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(f),Object(i.ac)(_),Object(i.ac)(i.C),Object(i.ac)(b))},token:t,providedIn:\"root\"}),t})();class q{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}function Q(t,e=\"1\",n=\"1\"){let i=[e,n,t],r=t.indexOf(\"calc\");if(r>0){i[2]=W(t.substring(r).trim());let e=t.substr(0,r).trim().split(\" \");2==e.length&&(i[0]=e[0],i[1]=e[1])}else if(0==r)i[2]=W(t.trim());else{let r=t.split(\" \");i=3===r.length?r:[e,n,t]}return i}function W(t){return t.replace(/[\\s]/g,\"\").replace(/[\\/\\*\\+\\-]/g,\" $& \")}let Y=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new s.a,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:\"\"}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=v(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(I),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(I),this.updateStyles()))}init(t,e,n,i,r=[]){$(this.updateMap,t,e,n),$(this.clearMap,t,e,i),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,r)}getValue(t,e,n){const i=this.elementMap.get(t);if(i){const t=void 0!==n?i.get(n):this.getActivatedValues(i,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,i){let r=this.elementMap.get(t);if(r){const s=(r.get(i)||new Map).set(e,n);r.set(i,s),this.elementMap.set(t,r)}else r=(new Map).set(i,(new Map).set(e,n)),this.elementMap.set(t,r);const s=this.getValue(t,e);void 0!==s&&this.updateElement(t,e,s)}trackValue(t,e){return this.subject.asObservable().pipe(Object(c.a)(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let i=this.getActivatedValues(t);i&&i.forEach((t,i)=>{this.updateElement(e,i,t),n.delete(i)}),n.forEach(n=>{if(i=this.getActivatedValues(t,n),i){const t=i.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const i=n.get(e);i&&(i(),this.subject.next({element:t,key:e,value:\"\"}))}}updateElement(t,e,n){const i=this.updateMap.get(t);if(i){const r=i.get(e);r&&(r(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const i=this.getActivatedValues(n,e);i&&(e?this.updateElement(t,e,i.get(e)):i.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let i=this.watcherMap.get(t);if(i||(i=new Map,this.watcherMap.set(t,i)),!i.get(e)){const r=Object(l.a)(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});i.set(e,r)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let i=0;i<this.activatedBreakpoints.length;i++){const n=t.get(this.activatedBreakpoints[i].alias);if(n&&(void 0===e||n.has(e)))return n}const n=t.get(\"\");return void 0===e||n&&n.has(e)?n:void 0}observeActivations(){const t=this.breakpoints.items.map(t=>t.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(Object(h.a)(this.hook.interceptEvents(this)),Object(c.a)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(F),i.ac(L),i.ac(z))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(F),Object(i.ac)(L),Object(i.ac)(z))},token:t,providedIn:\"root\"}),t})();function $(t,e,n,i){if(void 0!==i){let r=t.get(e);r||(r=new Map,t.set(e,r)),r.set(n,i)}}},pLZG:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"7o/Q\");function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))}}class a extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},qFsG:function(t,e,n){\"use strict\";var i=n(\"nLfN\"),r=n(\"fXoL\"),s=n(\"8LU1\"),a=n(\"EY2u\"),o=n(\"XNiG\"),l=n(\"xgIS\"),c=n(\"3UWI\"),h=n(\"1G5W\");const d=Object(i.f)({passive:!0});let u=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return a.a;const e=Object(s.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const i=new o.a,r=\"cdk-text-field-autofilled\",l=t=>{\"cdk-text-field-autofill-start\"!==t.animationName||e.classList.contains(r)?\"cdk-text-field-autofill-end\"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener(\"animationstart\",l,d),e.classList.add(\"cdk-text-field-autofill-monitored\")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener(\"animationstart\",l,d)}}),i.asObservable()}stopMonitoring(t){const e=Object(s.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove(\"cdk-text-field-autofill-monitored\"),e.classList.remove(\"cdk-text-field-autofilled\"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.a),r.ac(r.A))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.a),Object(r.ac)(r.A))},token:t,providedIn:\"root\"}),t})(),p=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new o.a,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(t){this._minRows=Object(s.f)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Object(s.f)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(s.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Object(l.a)(window,\"resize\").pipe(Object(c.a)(16),Object(h.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position=\"absolute\",t.style.visibility=\"hidden\",t.style.border=\"none\",t.style.padding=\"0\",t.style.height=\"\",t.style.minHeight=\"\",t.style.maxHeight=\"\",t.style.overflow=\"hidden\",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,n=e.value;if(!t&&this._minRows===this._previousMinRows&&n===this._previousValue)return;const i=e.placeholder;e.classList.add(\"cdk-textarea-autosize-measuring\"),e.placeholder=\"\",e.style.height=`${e.scrollHeight-4}px`,e.classList.remove(\"cdk-textarea-autosize-measuring\"),e.placeholder=i,this._ngZone.runOutsideAngular(()=>{\"undefined\"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(t){const{selectionStart:e,selectionEnd:n}=t;this._destroyed.isStopped||document.activeElement!==t||t.setSelectionRange(e,n)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(i.a),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"textarea\",\"cdkTextareaAutosize\",\"\"]],hostAttrs:[\"rows\",\"1\",1,\"cdk-textarea-autosize\"],hostBindings:function(t,e){1&t&&r.ec(\"input\",(function(){return e._noopInputHandler()}))},inputs:{minRows:[\"cdkAutosizeMinRows\",\"minRows\"],maxRows:[\"cdkAutosizeMaxRows\",\"maxRows\"],enabled:[\"cdkTextareaAutosize\",\"enabled\"]},exportAs:[\"cdkTextareaAutosize\"]}),t})(),m=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})();var f=n(\"FKr1\"),g=n(\"kmnG\"),b=n(\"3Pt+\");n.d(e,\"a\",(function(){return v})),n.d(e,\"b\",(function(){return O})),n.d(e,\"c\",(function(){return S})),n.d(e,\"d\",(function(){return _}));let _=(()=>{class t extends p{get matAutosizeMinRows(){return this.minRows}set matAutosizeMinRows(t){this.minRows=t}get matAutosizeMaxRows(){return this.maxRows}set matAutosizeMaxRows(t){this.maxRows=t}get matAutosize(){return this.enabled}set matAutosize(t){this.enabled=t}get matTextareaAutosize(){return this.enabled}set matTextareaAutosize(t){this.enabled=t}}return t.\\u0275fac=function(e){return y(e||t)},t.\\u0275dir=r.Lb({type:t,selectors:[[\"textarea\",\"mat-autosize\",\"\"],[\"textarea\",\"matTextareaAutosize\",\"\"]],hostAttrs:[\"rows\",\"1\",1,\"cdk-textarea-autosize\",\"mat-autosize\"],inputs:{cdkAutosizeMinRows:\"cdkAutosizeMinRows\",cdkAutosizeMaxRows:\"cdkAutosizeMaxRows\",matAutosizeMinRows:\"matAutosizeMinRows\",matAutosizeMaxRows:\"matAutosizeMaxRows\",matAutosize:[\"mat-autosize\",\"matAutosize\"],matTextareaAutosize:\"matTextareaAutosize\"},exportAs:[\"matTextareaAutosize\"],features:[r.Ab]}),t})();const y=r.Yb(_),v=new r.r(\"MAT_INPUT_VALUE_ACCESSOR\"),w=[\"button\",\"checkbox\",\"file\",\"hidden\",\"image\",\"radio\",\"range\",\"reset\",\"submit\"];let x=0;class C{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const k=Object(f.w)(C);let O=(()=>{class t extends k{constructor(t,e,n,r,s,a,l,c,h){super(a,r,s,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._uid=`mat-input-${x++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new o.a,this.controlType=\"mat-input\",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type=\"text\",this._readonly=!1,this._neverEmptyInputTypes=[\"date\",\"datetime\",\"datetime-local\",\"month\",\"time\",\"week\"].filter(t=>Object(i.e)().has(t));const d=this._elementRef.nativeElement;this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&h.runOutsideAngular(()=>{t.nativeElement.addEventListener(\"keyup\",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=\"select\"===d.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=d.multiple?\"mat-native-select-multiple\":\"mat-native-select\")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(s.c)(t)}get type(){return this._type}set type(t){this._type=t||\"text\",this._validateType(),!this._isTextarea()&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(s.c)(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_isTextarea(){return\"textarea\"===this._elementRef.nativeElement.nodeName.toLowerCase()}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(w.indexOf(this._type)>-1)throw Error(`Input type \"${this._type}\" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(\" \")}onContainerClick(){this.focused||this.focus()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(i.a),r.Qb(b.m,10),r.Qb(b.p,8),r.Qb(b.g,8),r.Qb(f.b),r.Qb(v,10),r.Qb(u),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"input\",\"matInput\",\"\"],[\"textarea\",\"matInput\",\"\"],[\"select\",\"matNativeControl\",\"\"],[\"input\",\"matNativeControl\",\"\"],[\"textarea\",\"matNativeControl\",\"\"]],hostAttrs:[1,\"mat-input-element\",\"mat-form-field-autofill-control\"],hostVars:10,hostBindings:function(t,e){1&t&&r.ec(\"blur\",(function(){return e._focusChanged(!1)}))(\"focus\",(function(){return e._focusChanged(!0)}))(\"input\",(function(){return e._onInput()})),2&t&&(r.Zb(\"disabled\",e.disabled)(\"required\",e.required),r.Eb(\"id\",e.id)(\"placeholder\",e.placeholder)(\"readonly\",e.readonly&&!e._isNativeSelect||null)(\"aria-describedby\",e._ariaDescribedby||null)(\"aria-invalid\",e.errorState)(\"aria-required\",e.required.toString()),r.Hb(\"mat-input-server\",e._isServer))},inputs:{id:\"id\",disabled:\"disabled\",required:\"required\",type:\"type\",value:\"value\",readonly:\"readonly\",placeholder:\"placeholder\",errorStateMatcher:\"errorStateMatcher\"},exportAs:[\"matInput\"],features:[r.Cb([{provide:g.c,useExisting:t}]),r.Ab,r.Bb()]}),t})(),S=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[f.b],imports:[[m,g.d],m,g.d]}),t})()},quSY:function(t,e,n){\"use strict\";var i=n(\"DH7j\"),r=n(\"XoHu\"),s=n(\"n6bG\");const a=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join(\"\\n  \")}`:\"\",this.name=\"UnsubscriptionError\",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,\"a\",(function(){return o}));let o=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:o,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(s.a)(o))try{o.call(this)}catch(h){e=h instanceof a?l(h.errors):[h]}if(Object(i.a)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if(Object(r.a)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof a?e=e.concat(l(h.errors)):e.push(h)}}}if(e)throw new a(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case\"function\":n=new t(e);case\"object\":if(n===this||n.closed||\"function\"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error(\"unrecognized teardown \"+e+\" added to Subscription.\")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof a?e.errors:e),[])}},rDax:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return W})),n.d(e,\"b\",(function(){return Q})),n.d(e,\"c\",(function(){return H})),n.d(e,\"d\",(function(){return O})),n.d(e,\"e\",(function(){return R})),n.d(e,\"f\",(function(){return $}));var i=n(\"vxfF\"),r=n(\"fXoL\"),s=n(\"nLfN\"),a=n(\"cH1L\"),o=n(\"ofXK\"),l=n(\"8LU1\"),c=n(\"+rOU\"),h=n(\"XNiG\"),d=n(\"quSY\"),u=n(\"HDdC\"),p=n(\"VRyK\"),m=n(\"IzEk\"),f=n(\"1G5W\"),g=n(\"FtGj\");class b{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:\"\",left:\"\"},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||\"\",this._previousHTMLStyles.top=t.style.top||\"\",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add(\"cdk-global-scrollblock\"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||\"\",r=n.scrollBehavior||\"\";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove(\"cdk-global-scrollblock\"),e.scrollBehavior=n.scrollBehavior=\"auto\",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains(\"cdk-global-scrollblock\")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function _(){return Error(\"Scroll strategy has already been attached.\")}class y{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw _();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function w(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function x(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw _();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();w(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new v,this.close=t=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.b),r.ac(i.d),r.ac(r.A),r.ac(o.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.b),Object(r.ac)(i.d),Object(r.ac)(r.A),Object(r.ac)(o.d))},token:t,providedIn:\"root\"}),t})();class O{constructor(t){if(this.scrollStrategy=new v,this.panelClass=\"\",this.hasBackdrop=!1,this.backdropClass=\"cdk-overlay-dark-backdrop\",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class S{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class M{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function P(t,e){if(\"top\"!==e&&\"bottom\"!==e&&\"center\"!==e)throw Error(`ConnectedPosition: Invalid ${t} \"${e}\". `+'Expected \"top\", \"bottom\" or \"center\".')}function E(t,e){if(\"start\"!==e&&\"end\"!==e&&\"center\"!==e)throw Error(`ConnectedPosition: Invalid ${t} \"${e}\". `+'Expected \"start\", \"end\" or \"center\".')}let A=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener(\"keydown\",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener(\"keydown\",this._keydownListener),this._isAttached=!1)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(o.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(o.d))},token:t,providedIn:\"root\"}),t})();const D=!(\"undefined\"==typeof window||!window||!window.__karma__&&!window.jasmine);let R=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._platform?this._platform.isBrowser:\"undefined\"!=typeof window;if(t||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform=\"server\"], .cdk-overlay-container[platform=\"test\"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const e=this._document.createElement(\"div\");e.classList.add(\"cdk-overlay-container\"),D?e.setAttribute(\"platform\",\"test\"):t||e.setAttribute(\"platform\",\"server\"),this._document.body.appendChild(e),this._containerElement=e}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(o.d),r.ac(s.a))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(o.d),Object(r.ac)(s.a))},token:t,providedIn:\"root\"}),t})();class T{constructor(t,e,n,i,r,s,a,o){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=o,this._backdropElement=null,this._backdropClick=new h.a,this._attachments=new h.a,this._detachments=new h.a,this._locationChanges=d.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEventsObservable=new u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new h.a,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?\"string\"==typeof t?t:t.value:\"ltr\"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute(\"dir\",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?\"auto\":\"none\"}_attachBackdrop(){this._backdropElement=this._document.createElement(\"div\"),this._backdropElement.classList.add(\"cdk-overlay-backdrop\"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener(\"click\",this._backdropClickHandler),\"undefined\"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(\"cdk-overlay-backdrop-showing\")})}):this._backdropElement.classList.add(\"cdk-overlay-backdrop-showing\")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener(\"click\",this._backdropClickHandler),e.removeEventListener(\"transitionend\",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove(\"cdk-overlay-backdrop-showing\"),this._ngZone.runOutsideAngular(()=>{e.addEventListener(\"transitionend\",n)}),e.style.pointerEvents=\"none\",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(f.a)(Object(p.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const I=/([A-Za-z%]+)$/;class j{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new h.a,this._resizeSubscription=d.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error(\"This position strategy is already attached to an overlay\");this._validatePositions(),t.hostElement.classList.add(\"cdk-overlay-connected-position-bounding-box\"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let a=this._getOriginPoint(t,s),o=this._getOverlayPoint(a,e,s),l=this._getOverlayFit(o,e,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(l,o,n)?i.push({position:s,origin:a,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!r||r.overlayFit.visibleArea<l.visibleArea)&&(r={overlayFit:l,overlayPoint:o,originPoint:a,position:s,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&L(this._boundingBox.style,{top:\"\",left:\"\",right:\"\",bottom:\"\",height:\"\",width:\"\",alignItems:\"\",justifyContent:\"\"}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(\"cdk-overlay-connected-position-bounding-box\"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if(\"center\"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n=\"start\"==e.originX?i:r}return i=\"center\"==e.originY?t.top+t.height/2:\"top\"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i=\"center\"==n.overlayX?-e.width/2:\"start\"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r=\"center\"==n.overlayY?-e.height/2:\"top\"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){let{x:r,y:s}=t,a=this._getOffset(i,\"x\"),o=this._getOffset(i,\"y\");a&&(r+=a),o&&(s+=o);let l=0-s,c=s+e.height-n.height,h=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,l,c),u=h*d;return{visibleArea:u,isCompletelyWithinViewport:e.width*e.height===u,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:h==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=F(this._overlayRef.getConfig().minHeight),a=F(this._overlayRef.getConfig().minWidth),o=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&o}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,r=Math.max(t.x+e.width-i.right,0),s=Math.max(t.y+e.height-i.bottom,0),a=Math.max(i.top-n.top-t.y,0),o=Math.max(i.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=i.width?o||-r:t.x<this._viewportMargin?i.left-n.left-t.x:0,c=e.height<=i.height?a||-s:t.y<this._viewportMargin?i.top-n.top-t.y:0,this._previousPushAmount={x:l,y:c},{x:t.x+l,y:t.y+c}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new M(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n=\"center\"===t.overlayX?\"center\":this._isRtl()?\"start\"===t.overlayX?\"right\":\"left\":\"start\"===t.overlayX?\"left\":\"right\";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let r,s,a,o,l,c;if(\"top\"===e.overlayY)s=t.y,r=n.height-s+this._viewportMargin;else if(\"bottom\"===e.overlayY)a=n.height-t.y+2*this._viewportMargin,r=n.height-a+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;r=2*e,s=t.y-e,r>i&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if(\"end\"===e.overlayX&&!i||\"start\"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if(\"start\"===e.overlayX&&!i||\"end\"===e.overlayX&&i)l=t.x,o=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;o=2*e,l=t.x-e,o>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:s,left:l,bottom:a,right:c,width:o,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left=\"0\",i.bottom=i.right=i.maxHeight=i.maxWidth=\"\",i.width=i.height=\"100%\";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems=\"center\"===e.overlayX?\"center\":\"end\"===e.overlayX?\"flex-end\":\"flex-start\",i.justifyContent=\"center\"===e.overlayY?\"center\":\"bottom\"===e.overlayY?\"flex-end\":\"flex-start\",t&&(i.maxHeight=Object(l.d)(t)),r&&(i.maxWidth=Object(l.d)(r))}this._lastBoundingBoxSize=n,L(this._boundingBox.style,i)}_resetBoundingBoxStyles(){L(this._boundingBox.style,{top:\"0\",left:\"0\",right:\"0\",bottom:\"0\",height:\"\",width:\"\",alignItems:\"\",justifyContent:\"\"})}_resetOverlayElementStyles(){L(this._pane.style,{top:\"\",left:\"\",bottom:\"\",right:\"\",position:\"\",transform:\"\"})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();L(n,this._getExactOverlayY(e,t,i)),L(n,this._getExactOverlayX(e,t,i))}else n.position=\"static\";let a=\"\",o=this._getOffset(e,\"x\"),c=this._getOffset(e,\"y\");o&&(a+=`translateX(${o}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(i?n.maxHeight=Object(l.d)(s.maxHeight):r&&(n.maxHeight=\"\")),s.maxWidth&&(i?n.maxWidth=Object(l.d)(s.maxWidth):r&&(n.maxWidth=\"\")),L(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:\"\",bottom:\"\"},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,\"bottom\"===t.overlayY?i.bottom=`${this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)}px`:i.top=Object(l.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:\"\",right:\"\"},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?\"end\"===t.overlayX?\"left\":\"right\":\"end\"===t.overlayX?\"right\":\"left\",\"right\"===i?r.right=`${this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)}px`:r.left=Object(l.d)(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:x(t,n),isOriginOutsideView:w(t,n),isOverlayClipped:x(e,n),isOverlayOutsideView:w(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return\"rtl\"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return\"x\"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error(\"FlexibleConnectedPositionStrategy: At least one position is required.\");this._preferredPositions.forEach(t=>{E(\"originX\",t.originX),P(\"originY\",t.originY),E(\"overlayX\",t.overlayX),P(\"overlayY\",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{\"\"!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function L(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function F(t){if(\"number\"!=typeof t&&null!=t){const[e,n]=t.split(I);return n&&\"px\"!==n?null:parseFloat(e)}return t||null}class N{constructor(t,e,n,i,r,s,a){this._preferredPositions=[],this._positionStrategy=new j(n,i,r,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return\"rtl\"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new S(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class V{constructor(){this._cssPosition=\"static\",this._topOffset=\"\",this._bottomOffset=\"\",this._leftOffset=\"\",this._rightOffset=\"\",this._alignItems=\"\",this._justifyContent=\"\",this._width=\"\",this._height=\"\"}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(\"cdk-global-overlay-wrapper\"),this._isDisposed=!1}top(t=\"\"){return this._bottomOffset=\"\",this._topOffset=t,this._alignItems=\"flex-start\",this}left(t=\"\"){return this._rightOffset=\"\",this._leftOffset=t,this._justifyContent=\"flex-start\",this}bottom(t=\"\"){return this._topOffset=\"\",this._bottomOffset=t,this._alignItems=\"flex-end\",this}right(t=\"\"){return this._leftOffset=\"\",this._rightOffset=t,this._justifyContent=\"flex-end\",this}width(t=\"\"){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=\"\"){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=\"\"){return this.left(t),this._justifyContent=\"center\",this}centerVertically(t=\"\"){return this.top(t),this._alignItems=\"center\",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:a}=n,o=!(\"100%\"!==i&&\"100vw\"!==i||s&&\"100%\"!==s&&\"100vw\"!==s),l=!(\"100%\"!==r&&\"100vh\"!==r||a&&\"100%\"!==a&&\"100vh\"!==a);t.position=this._cssPosition,t.marginLeft=o?\"0\":this._leftOffset,t.marginTop=l?\"0\":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,o?e.justifyContent=\"flex-start\":\"center\"===this._justifyContent?e.justifyContent=\"center\":\"rtl\"===this._overlayRef.getConfig().direction?\"flex-start\"===this._justifyContent?e.justifyContent=\"flex-end\":\"flex-end\"===this._justifyContent&&(e.justifyContent=\"flex-start\"):e.justifyContent=this._justifyContent,e.alignItems=l?\"flex-start\":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(\"cdk-global-overlay-wrapper\"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position=\"\",this._overlayRef=null,this._isDisposed=!0}}let z=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new V}connectedTo(t,e,n){return new N(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new j(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d),r.ac(o.d),r.ac(s.a),r.ac(R))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.d),Object(r.ac)(o.d),Object(r.ac)(s.a),Object(r.ac)(R))},token:t,providedIn:\"root\"}),t})(),B=0,H=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=a,this._document=o,this._directionality=l,this._location=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new O(t);return r.direction=r.direction||this._directionality.value,new T(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement(\"div\");return e.id=`cdk-overlay-${B++}`,e.classList.add(\"cdk-overlay-pane\"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement(\"div\");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new c.d(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(k),r.ac(R),r.ac(r.j),r.ac(z),r.ac(A),r.ac(r.s),r.ac(r.A),r.ac(o.d),r.ac(a.b),r.ac(o.g,8))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();const U=[{originX:\"start\",originY:\"bottom\",overlayX:\"start\",overlayY:\"top\"},{originX:\"start\",originY:\"top\",overlayX:\"start\",overlayY:\"bottom\"},{originX:\"end\",originY:\"top\",overlayX:\"end\",overlayY:\"bottom\"},{originX:\"end\",originY:\"bottom\",overlayX:\"end\",overlayY:\"top\"}],q=new r.r(\"cdk-connected-overlay-scroll-strategy\");let Q=(()=>{class t{constructor(t){this.elementRef=t}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdk-overlay-origin\",\"\"],[\"\",\"overlay-origin\",\"\"],[\"\",\"cdkOverlayOrigin\",\"\"]],exportAs:[\"cdkOverlayOrigin\"]}),t})(),W=(()=>{class t{constructor(t,e,n,i,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new r.o,this.positionChange=new r.o,this.attach=new r.o,this.detach=new r.o,this.overlayKeydown=new r.o,this._templatePortal=new c.g(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:\"ltr\"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=U),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==g.e||Object(g.q)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new O({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(H),r.Qb(r.M),r.Qb(r.P),r.Qb(q),r.Qb(a.b,8))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdk-connected-overlay\",\"\"],[\"\",\"connected-overlay\",\"\"],[\"\",\"cdkConnectedOverlay\",\"\"]],inputs:{viewportMargin:[\"cdkConnectedOverlayViewportMargin\",\"viewportMargin\"],open:[\"cdkConnectedOverlayOpen\",\"open\"],scrollStrategy:[\"cdkConnectedOverlayScrollStrategy\",\"scrollStrategy\"],offsetX:[\"cdkConnectedOverlayOffsetX\",\"offsetX\"],offsetY:[\"cdkConnectedOverlayOffsetY\",\"offsetY\"],hasBackdrop:[\"cdkConnectedOverlayHasBackdrop\",\"hasBackdrop\"],lockPosition:[\"cdkConnectedOverlayLockPosition\",\"lockPosition\"],flexibleDimensions:[\"cdkConnectedOverlayFlexibleDimensions\",\"flexibleDimensions\"],growAfterOpen:[\"cdkConnectedOverlayGrowAfterOpen\",\"growAfterOpen\"],push:[\"cdkConnectedOverlayPush\",\"push\"],positions:[\"cdkConnectedOverlayPositions\",\"positions\"],origin:[\"cdkConnectedOverlayOrigin\",\"origin\"],positionStrategy:[\"cdkConnectedOverlayPositionStrategy\",\"positionStrategy\"],width:[\"cdkConnectedOverlayWidth\",\"width\"],height:[\"cdkConnectedOverlayHeight\",\"height\"],minWidth:[\"cdkConnectedOverlayMinWidth\",\"minWidth\"],minHeight:[\"cdkConnectedOverlayMinHeight\",\"minHeight\"],backdropClass:[\"cdkConnectedOverlayBackdropClass\",\"backdropClass\"],panelClass:[\"cdkConnectedOverlayPanelClass\",\"panelClass\"],transformOriginSelector:[\"cdkConnectedOverlayTransformOriginOn\",\"transformOriginSelector\"]},outputs:{backdropClick:\"backdropClick\",positionChange:\"positionChange\",attach:\"attach\",detach:\"detach\",overlayKeydown:\"overlayKeydown\"},exportAs:[\"cdkConnectedOverlay\"],features:[r.Bb()]}),t})();const Y={provide:q,deps:[H],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let $=(()=>{class t{}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[H,Y],imports:[[a.a,c.f,i.c],i.c]}),t})()},sYmb:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return I})),n.d(e,\"b\",(function(){return m})),n.d(e,\"c\",(function(){return L})),n.d(e,\"d\",(function(){return j})),n.d(e,\"e\",(function(){return T}));var i=n(\"fXoL\"),r=n(\"LRne\"),s=n(\"7+OI\"),a=n(\"cp0P\"),o=n(\"GyhO\"),l=n(\"NXyV\"),c=n(\"IzEk\"),h=n(\"UXun\"),d=n(\"lJxs\"),u=n(\"bOdf\"),p=n(\"eIep\");class m{}let f=(()=>{class t extends m{getTranslation(t){return Object(r.a)({})}}return t.\\u0275fac=function(e){return g(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const g=i.Yb(f);class b{}let _=(()=>{class t{handle(t){return t.key}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();function y(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,r,s=typeof t;if(s==typeof e&&\"object\"==s){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in r=Object.create(null),t){if(!y(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i<n;i++)if(!y(t[i],e[i]))return!1;return!0}}return!1}function v(t){return null!=t}function w(t){return t&&\"object\"==typeof t&&!Array.isArray(t)}class x{}let C=(()=>{class t extends x{constructor(){super(...arguments),this.templateMatcher=/{{\\s?([^{}\\s]*)\\s?}}/g}interpolate(t,e){let n;return n=\"string\"==typeof t?this.interpolateString(t,e):\"function\"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n=\"string\"==typeof e?e.split(\".\"):[e];e=\"\";do{e+=n.shift(),!v(t)||!v(t[e])||\"object\"!=typeof t[e]&&n.length?n.length?e+=\".\":t=void 0:(t=t[e],e=\"\")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return v(i)?i:t}):t}}return t.\\u0275fac=function(e){return k(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const k=i.Yb(C);class O{}let S=(()=>{class t extends O{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\\u0275fac=function(e){return M(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const M=i.Yb(S);class P{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.o,this.onLangChange=new i.o,this.onDefaultLangChange=new i.o}}const E=new i.r(\"USE_STORE\"),A=new i.r(\"USE_DEFAULT_LANG\"),D=new i.r(\"DEFAULT_LANGUAGE\"),R=new i.r(\"USE_EXTEND\");let T=(()=>{class t{constructor(t,e,n,r,s,a=!0,o=!1,l=!1,c){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=o,this.extend=l,this.pending=!1,this._onTranslationChange=new i.o,this._onLangChange=new i.o,this._onDefaultLangChange=new i.o,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(r.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Object(r.a)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Object(h.a)(1),Object(c.a)(1));return this.loadingTranslations=e.pipe(Object(d.a)(e=>this.compiler.compileTranslations(e,t)),Object(h.a)(1),Object(c.a)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?function t(e,n){let i=Object.assign({},e);return w(e)&&w(n)&&Object.keys(n).forEach(r=>{w(n[r])&&r in e?i[r]=t(e[r],n[r]):Object.assign(i,{[r]:n[r]})}),i}(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},o=!1;for(let r of e)i[r]=this.getParsedResult(t,r,n),Object(s.a)(i[r])&&(o=!0);if(o){const t=e.map(t=>Object(s.a)(i[t])?i[t]:Object(r.a)(i[t]));return Object(a.a)(t).pipe(Object(d.a)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');if(this.pending)return this.loadingTranslations.pipe(Object(u.a)(n=>(n=this.getParsedResult(n,t,e),Object(s.a)(n)?n:Object(r.a)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(s.a)(n)?n:Object(r.a)(n)}}getStreamOnTranslationChange(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');return Object(o.a)(Object(l.a)(()=>this.get(t,e)),this.onTranslationChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return\"function\"==typeof i.subscribe?i:Object(r.a)(i)})))}stream(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');return Object(o.a)(Object(l.a)(()=>this.get(t,e)),this.onLangChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return Object(s.a)(i)?i:Object(r.a)(i)})))}instant(t,e){if(!v(t)||!t.length)throw new Error('Parameter \"key\" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(s.a)(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if(\"undefined\"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf(\"-\")&&(t=t.split(\"-\")[0]),-1!==t.indexOf(\"_\")&&(t=t.split(\"_\")[0]),t):void 0}getBrowserCultureLang(){if(\"undefined\"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(P),i.ac(m),i.ac(O),i.ac(x),i.ac(b),i.ac(A),i.ac(E),i.ac(R),i.ac(D))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),I=(()=>{class t{constructor(t,e,n){this.translateService=t,this.element=e,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(t=>{t.lang===this.translateService.currentLang&&this.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(t=>{this.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(t=>{this.checkNodes(!0)}))}set translate(t){t&&(this.key=t,this.checkNodes())}set translateParams(t){y(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(t=!1,e){let n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(let i=0;i<n.length;++i){let r=n[i];if(3===r.nodeType){let n;if(t&&(r.lastKey=null),v(r.lookupKey))n=r.lookupKey;else if(this.key)n=this.key;else{let t=this.getContent(r),e=t.trim();e.length&&(r.lookupKey=e,t!==r.currentValue?(n=e,r.originalContent=t||r.originalContent):r.originalContent?n=r.originalContent.trim():t!==r.currentValue&&(n=e,r.originalContent=t||r.originalContent))}this.updateValue(n,r,e)}}}updateValue(t,e,n){if(t){if(e.lastKey===t&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let i=n=>{n!==t&&(e.lastKey=t),e.originalContent||(e.originalContent=this.getContent(e)),e.currentValue=v(n)?n:e.originalContent||t,this.setContent(e,this.key?e.currentValue:e.originalContent.replace(t,e.currentValue)),this._ref.markForCheck()};if(v(n)){let e=this.translateService.getParsedResult(n,t,this.currentParams);Object(s.a)(e)?e.subscribe(i):i(e)}else this.translateService.get(t,this.currentParams).subscribe(i)}}getContent(t){return v(t.textContent)?t.textContent:t.data}setContent(t,e){v(t.textContent)?t.textContent=e:t.data=e}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(T),i.Qb(i.l),i.Qb(i.h))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"translate\",\"\"],[\"\",\"ngx-translate\",\"\"]],inputs:{translate:\"translate\",translateParams:\"translateParams\"}}),t})(),j=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=\"\"}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let r=this.translate.getParsedResult(n,t,e);Object(s.a)(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(y(t,this.lastKey)&&y(e,this.lastParams))return this.value;let n;if(v(e[0])&&e.length)if(\"string\"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\\')?([a-zA-Z0-9_]+)(\\')?(\\s)?:/g,'\"$2\":').replace(/:(\\s)?(\\')(.*?)(\\')/g,':\"$3\"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else\"object\"!=typeof e[0]||Array.isArray(e[0])||(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(T),i.cc())},t.\\u0275pipe=i.Pb({name:\"translate\",type:t,pure:!1}),t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),L=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:m,useClass:f},e.compiler||{provide:O,useClass:S},e.parser||{provide:x,useClass:C},e.missingTranslationHandler||{provide:b,useClass:_},P,{provide:E,useValue:e.isolate},{provide:A,useValue:e.useDefaultLang},{provide:R,useValue:e.extend},{provide:D,useValue:e.defaultLanguage},T]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:m,useClass:f},e.compiler||{provide:O,useClass:S},e.parser||{provide:x,useClass:C},e.missingTranslationHandler||{provide:b,useClass:_},{provide:E,useValue:e.isolate},{provide:A,useValue:e.useDefaultLang},{provide:R,useValue:e.extend},{provide:D,useValue:e.defaultLanguage},T]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)}}),t})()},\"tk/3\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return P})),n.d(e,\"b\",(function(){return S})),n.d(e,\"c\",(function(){return B}));var i=n(\"fXoL\"),r=n(\"LRne\"),s=n(\"HDdC\"),a=n(\"bOdf\"),o=n(\"pLZG\"),l=n(\"lJxs\"),c=n(\"ofXK\");class h{}class d{}class u{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit=\"string\"==typeof t?()=>{this.headers=new Map,t.split(\"\\n\").forEach(t=>{const e=t.indexOf(\":\");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();\"string\"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:\"a\"})}set(t,e){return this.clone({name:t,value:e,op:\"s\"})}delete(t,e){return this.clone({name:t,value:e,op:\"d\"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof u?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new u;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof u?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case\"a\":case\"s\":let n=t.value;if(\"string\"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=(\"a\"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case\"d\":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function m(t){return encodeURIComponent(t).replace(/%40/gi,\"@\").replace(/%3A/gi,\":\").replace(/%24/gi,\"$\").replace(/%2C/gi,\",\").replace(/%3B/gi,\";\").replace(/%2B/gi,\"+\").replace(/%3D/gi,\"=\").replace(/%3F/gi,\"?\").replace(/%2F/gi,\"/\")}class f{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error(\"Cannot specify both fromString and fromObject.\");this.map=function(t,e){const n=new Map;return t.length>0&&t.split(\"&\").forEach(t=>{const i=t.indexOf(\"=\"),[r,s]=-1==i?[e.decodeKey(t),\"\"]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],a=n.get(r)||[];a.push(s),n.set(r,a)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:\"a\"})}set(t,e){return this.clone({param:t,value:e,op:\"s\"})}delete(t,e){return this.clone({param:t,value:e,op:\"d\"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+\"=\"+this.encoder.encodeValue(t)).join(\"&\")}).filter(t=>\"\"!==t).join(\"&\")}clone(t){const e=new f({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case\"a\":case\"s\":const e=(\"a\"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case\"d\":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function g(t){return\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return\"undefined\"!=typeof Blob&&t instanceof Blob}function _(t){return\"undefined\"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType=\"json\",this.method=t.toUpperCase(),function(t){switch(t){case\"DELETE\":case\"GET\":case\"HEAD\":case\"OPTIONS\":case\"JSONP\":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new u),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf(\"?\");this.urlWithParams=e+(-1===n?\"?\":n<e.length-1?\"&\":\"\")+t}}else this.params=new f,this.urlWithParams=e}serializeBody(){return null===this.body?null:g(this.body)||b(this.body)||_(this.body)||\"string\"==typeof this.body?this.body:this.body instanceof f?this.body.toString():\"object\"==typeof this.body||\"boolean\"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body?null:_(this.body)?null:b(this.body)?this.body.type||null:g(this.body)?null:\"string\"==typeof this.body?\"text/plain\":this.body instanceof f?\"application/x-www-form-urlencoded;charset=UTF-8\":\"object\"==typeof this.body||\"number\"==typeof this.body||Array.isArray(this.body)?\"application/json\":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let o=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(o=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),o)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new y(e,n,r,{params:l,headers:o,reportProgress:a,responseType:i,withCredentials:s})}}const v=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]=\"Sent\",t[t.UploadProgress]=\"UploadProgress\",t[t.ResponseHeader]=\"ResponseHeader\",t[t.DownloadProgress]=\"DownloadProgress\",t[t.Response]=\"Response\",t[t.User]=\"User\",t}();class w{constructor(t,e=200,n=\"OK\"){this.headers=t.headers||new u,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class x extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new x({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new C({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class k extends w{constructor(t){super(t,0,\"Unknown Error\"),this.name=\"HttpErrorResponse\",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||\"(unknown url)\"}`:`Http failure response for ${t.url||\"(unknown url)\"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let S=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof y)i=t;else{let r=void 0;r=n.headers instanceof u?n.headers:new u(n.headers);let s=void 0;n.params&&(s=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||\"json\",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(a.a)(t=>this.handler.handle(t)));if(t instanceof y||\"events\"===n.observe)return s;const c=s.pipe(Object(o.a)(t=>t instanceof C));switch(n.observe||\"body\"){case\"body\":switch(i.responseType){case\"arraybuffer\":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error(\"Response is not an ArrayBuffer.\");return t.body}));case\"blob\":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error(\"Response is not a Blob.\");return t.body}));case\"text\":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&\"string\"!=typeof t.body)throw new Error(\"Response is not a string.\");return t.body}));case\"json\":default:return c.pipe(Object(l.a)(t=>t.body))}case\"response\":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request(\"DELETE\",t,e)}get(t,e={}){return this.request(\"GET\",t,e)}head(t,e={}){return this.request(\"HEAD\",t,e)}jsonp(t,e){return this.request(\"JSONP\",t,{params:(new f).append(e,\"JSONP_CALLBACK\"),observe:\"body\",responseType:\"json\"})}options(t,e={}){return this.request(\"OPTIONS\",t,e)}patch(t,e,n={}){return this.request(\"PATCH\",t,O(n,e))}post(t,e,n={}){return this.request(\"POST\",t,O(n,e))}put(t,e,n={}){return this.request(\"PUT\",t,O(n,e))}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(h))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();class M{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const P=new i.r(\"HTTP_INTERCEPTORS\");let E=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const A=/^\\)\\]\\}',?\\n/;class D{}let R=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),T=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if(\"JSONP\"===t.method)throw new Error(\"Attempted to construct Jsonp request without JsonpClientModule installed.\");return new s.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(\",\"))),t.headers.has(\"Accept\")||n.setRequestHeader(\"Accept\",\"application/json, text/plain, */*\"),!t.headers.has(\"Content-Type\")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader(\"Content-Type\",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType=\"json\"!==e?e:\"text\"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||\"OK\",s=new u(n.getAllResponseHeaders()),a=function(t){return\"responseURL\"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader(\"X-Request-URL\"):null}(n)||t.url;return r=new x({headers:s,status:e,statusText:i,url:a}),r},a=()=>{let{headers:i,status:r,statusText:a,url:o}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if(\"json\"===t.responseType&&\"string\"==typeof l){const t=l;l=l.replace(A,\"\");try{l=\"\"!==l?JSON.parse(l):null}catch(h){l=t,c&&(c=!1,l={error:h,text:l})}}c?(e.next(new C({body:l,headers:i,status:r,statusText:a,url:o||void 0})),e.complete()):e.error(new k({error:l,headers:i,status:r,statusText:a,url:o||void 0}))},o=t=>{const{url:i}=s(),r=new k({error:t,status:n.status||0,statusText:n.statusText||\"Unknown Error\",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),\"text\"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},h=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener(\"load\",a),n.addEventListener(\"error\",o),t.reportProgress&&(n.addEventListener(\"progress\",c),null!==i&&n.upload&&n.upload.addEventListener(\"progress\",h)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener(\"error\",o),n.removeEventListener(\"load\",a),t.reportProgress&&(n.removeEventListener(\"progress\",c),null!==i&&n.upload&&n.upload.removeEventListener(\"progress\",h)),n.abort()}})}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(D))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})();const I=new i.r(\"XSRF_COOKIE_NAME\"),j=new i.r(\"XSRF_HEADER_NAME\");class L{}let F=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString=\"\",this.lastToken=null,this.parseCount=0}getToken(){if(\"server\"===this.platform)return null;const t=this.doc.cookie||\"\";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.y)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(c.d),i.ac(i.C),i.ac(I))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),N=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if(\"GET\"===t.method||\"HEAD\"===t.method||n.startsWith(\"http://\")||n.startsWith(\"https://\"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(L),i.ac(j))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(P,[]);this.chain=t.reduceRight((t,e)=>new M(t,e),this.backend)}return this.chain.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(d),i.ac(i.s))},t.\\u0275prov=i.Mb({token:t,factory:t.\\u0275fac}),t})(),z=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:N,useClass:E}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:I,useValue:e.cookieName}:[],e.headerName?{provide:j,useValue:e.headerName}:[]]}}}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[N,{provide:P,useExisting:N,multi:!0},{provide:L,useClass:F},{provide:I,useValue:\"XSRF-TOKEN\"},{provide:j,useValue:\"X-XSRF-TOKEN\"}]}),t})(),B=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},providers:[S,{provide:h,useClass:V},T,{provide:d,useExisting:T},R,{provide:D,useExisting:R}],imports:[[z.withOptions({cookieName:\"XSRF-TOKEN\",headerName:\"X-XSRF-TOKEN\"})]]}),t})()},\"twK/\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"c\",(function(){return s})),n.d(e,\"d\",(function(){return a})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c}));var i={prefix:\"far\",iconName:\"comment-alt\",icon:[512,512,[],\"f27a\",\"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z\"]},r={prefix:\"far\",iconName:\"comments\",icon:[576,512,[],\"f086\",\"M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z\"]},s={prefix:\"far\",iconName:\"edit\",icon:[576,512,[],\"f044\",\"M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z\"]},a={prefix:\"far\",iconName:\"gem\",icon:[576,512,[],\"f3a5\",\"M464 0H112c-4 0-7.8 2-10 5.4L2 152.6c-2.9 4.4-2.6 10.2.7 14.2l276 340.8c4.8 5.9 13.8 5.9 18.6 0l276-340.8c3.3-4.1 3.6-9.8.7-14.2L474.1 5.4C471.8 2 468.1 0 464 0zm-19.3 48l63.3 96h-68.4l-51.7-96h56.8zm-202.1 0h90.7l51.7 96H191l51.6-96zm-111.3 0h56.8l-51.7 96H68l63.3-96zm-43 144h51.4L208 352 88.3 192zm102.9 0h193.6L288 435.3 191.2 192zM368 352l68.2-160h51.4L368 352z\"]},o={prefix:\"far\",iconName:\"newspaper\",icon:[576,512,[],\"f1ea\",\"M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z\"]},l={prefix:\"far\",iconName:\"star\",icon:[576,512,[],\"f005\",\"M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z\"]},c={prefix:\"far\",iconName:\"trash-alt\",icon:[448,512,[],\"f2ed\",\"M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z\"]}},tyNb:function(t,e,n){\"use strict\";var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"LRne\"),a=n(\"Cfvw\"),o=n(\"2Vo4\"),l=n(\"HDdC\");const c=(()=>{function t(){return Error.call(this),this.message=\"no elements in sequence\",this.name=\"EmptyError\",this}return t.prototype=Object.create(Error.prototype),t})();var h=n(\"itXk\"),d=n(\"NXyV\"),u=n(\"XNiG\"),p=n(\"EY2u\"),m=n(\"lJxs\"),f=n(\"0EUg\"),g=n(\"pLZG\"),b=n(\"7o/Q\"),_=n(\"4I5i\");function y(t){return function(e){return 0===t?Object(p.b)():e.lift(new v(t))}}class v{constructor(t){if(this.total=t,this.total<0)throw new _.a}call(t,e){return e.subscribe(new w(t,this.total))}}class w extends b.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=e++%n;t.next(i[r])}}t.complete()}}function x(t=O){return e=>e.lift(new C(t))}class C{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new k(t,this.errorFactory))}}class k extends b.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function O(){return new c}function S(t=null){return e=>e.lift(new M(t))}class M{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new P(t,this.defaultValue))}}class P extends b.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var E=n(\"SpAZ\");function A(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(g.a)((e,n)=>t(e,n,i)):E.a,y(1),n?S(e):x(()=>new c))}var D=n(\"JIr8\"),R=n(\"IzEk\");function T(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(g.a)((e,n)=>t(e,n,i)):E.a,Object(R.a)(1),n?S(e):x(()=>new c))}var I=n(\"5+tZ\");class j{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new L(t,this.predicate,this.thisArg,this.source))}}class L extends b.a{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var F=n(\"eIep\"),N=n(\"JX91\");function V(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new z(t,e,n))}}class z{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new B(t,this.accumulator,this.seed,this.hasSeed))}}class B extends b.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var H=n(\"bOdf\"),U=n(\"mCNh\"),q=n(\"vkgz\"),Q=n(\"nYR2\"),W=n(\"bHdf\");n.d(e,\"a\",(function(){return te})),n.d(e,\"b\",(function(){return cn})),n.d(e,\"c\",(function(){return hn})),n.d(e,\"d\",(function(){return dn})),n.d(e,\"e\",(function(){return On})),n.d(e,\"f\",(function(){return fn}));class Y{constructor(t,e){this.id=t,this.url=e}}class $ extends Y{constructor(t,e,n=\"imperative\",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class G extends Y{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends Y{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class K extends Y{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Z extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends Y{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class et extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class st{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class ot{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class lt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||\"\"}')`}}class ct{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let ht=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=r.Kb({type:t,selectors:[[\"ng-component\"]],decls:1,vars:0,template:function(t,e){1&t&&r.Rb(0,\"router-outlet\")},directives:function(){return[fn]},encapsulation:2}),t})();class dt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ut(t){return new dt(t)}function pt(t){const e=Error(\"NavigationCancelingError: \"+t);return e.ngNavigationCancelingError=!0,e}function mt(t,e,n){const i=n.path.split(\"/\");if(i.length>t.length)return null;if(\"full\"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const r={};for(let s=0;s<i.length;s++){const e=i[s],n=t[s];if(e.startsWith(\":\"))r[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}class ft{constructor(t,e){this.routes=t,this.module=e}}function gt(t,e=\"\"){for(let n=0;n<t.length;n++){const i=t[n];bt(i,_t(e,i))}}function bt(t,e){if(!t)throw new Error(`\\n      Invalid configuration of route '${e}': Encountered undefined route.\\n      The reason might be an extra comma.\\n\\n      Example:\\n      const routes: Routes = [\\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\\n        { path: 'detail/:id', component: HeroDetailComponent }\\n      ];\\n    `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&\"primary\"!==t.outlet)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if(\"string\"==typeof t.path&&\"/\"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(\"\"===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: \"${e}\", redirectTo: \"${t.redirectTo}\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&\"full\"!==t.pathMatch&&\"prefix\"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&gt(t.children,e)}function _t(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:\"\":t}function yt(t){const e=t.children&&t.children.map(yt),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&\"primary\"!==n.outlet&&(n.component=ht),n}function vt(t,e){const n=Object.keys(t),i=Object.keys(e);if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!wt(t[r],e[r]))return!1;return!0}function wt(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every(t=>e.indexOf(t)>-1):t===e}function xt(t){return Array.prototype.concat.apply([],t)}function Ct(t){return t.length>0?t[t.length-1]:null}function kt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ot(t){return Object(r.tb)(t)?t:Object(r.ub)(t)?Object(a.a)(Promise.resolve(t)):Object(s.a)(t)}function St(t,e,n){return n?function(t,e){return vt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!At(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>wt(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!At(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!At(n.segments,r))return!1;for(const e in i.children){if(!n.children[e])return!1;if(!t(n.children[e],i.children[e]))return!1}return!0}{const t=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!At(n.segments,t)&&!!n.children.primary&&e(n.children.primary,i,s)}}(e,n,n.segments)}(t.root,e.root)}class Mt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ut(this.queryParams)),this._queryParamMap}toString(){return It.serialize(this)}}class Pt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,kt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jt(this)}}class Et{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ut(this.parameters)),this._parameterMap}toString(){return Bt(this)}}function At(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Dt(t,e){let n=[];return kt(t.children,(t,i)=>{\"primary\"===i&&(n=n.concat(e(t,i)))}),kt(t.children,(t,i)=>{\"primary\"!==i&&(n=n.concat(e(t,i)))}),n}class Rt{}class Tt{parse(t){const e=new Wt(t);return new Mt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return jt(e);if(n){const n=e.children.primary?t(e.children.primary,!1):\"\",i=[];return kt(e.children,(e,n)=>{\"primary\"!==n&&i.push(`${n}:${t(e,!1)}`)}),i.length>0?`${n}(${i.join(\"//\")})`:n}{const n=Dt(e,(n,i)=>\"primary\"===i?[t(e.children.primary,!1)]:[`${i}:${t(n,!1)}`]);return`${jt(e)}/(${n.join(\"//\")})`}}(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ft(e)}=${Ft(t)}`).join(\"&\"):`${Ft(e)}=${Ft(n)}`});return e.length?`?${e.join(\"&\")}`:\"\"}(t.queryParams)}${\"string\"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:\"\"}`}}const It=new Tt;function jt(t){return t.segments.map(t=>Bt(t)).join(\"/\")}function Lt(t){return encodeURIComponent(t).replace(/%40/g,\"@\").replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\")}function Ft(t){return Lt(t).replace(/%3B/gi,\";\")}function Nt(t){return Lt(t).replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/%26/gi,\"&\")}function Vt(t){return decodeURIComponent(t)}function zt(t){return Vt(t.replace(/\\+/g,\"%20\"))}function Bt(t){return`${Nt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Nt(t)}=${Nt(e[t])}`).join(\"\")}`;var e}const Ht=/^[^\\/()?;=#]+/;function Ut(t){const e=t.match(Ht);return e?e[0]:\"\"}const qt=/^[^=?&#]+/,Qt=/^[^?&#]+/;class Wt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional(\"/\"),\"\"===this.remaining||this.peekStartsWith(\"?\")||this.peekStartsWith(\"#\")?new Pt([],{}):new Pt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional(\"?\"))do{this.parseQueryParam(t)}while(this.consumeOptional(\"&\"));return t}parseFragment(){return this.consumeOptional(\"#\")?decodeURIComponent(this.remaining):null}parseChildren(){if(\"\"===this.remaining)return{};this.consumeOptional(\"/\");const t=[];for(this.peekStartsWith(\"(\")||t.push(this.parseSegment());this.peekStartsWith(\"/\")&&!this.peekStartsWith(\"//\")&&!this.peekStartsWith(\"/(\");)this.capture(\"/\"),t.push(this.parseSegment());let e={};this.peekStartsWith(\"/(\")&&(this.capture(\"/\"),e=this.parseParens(!0));let n={};return this.peekStartsWith(\"(\")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Pt(t,e)),n}parseSegment(){const t=Ut(this.remaining);if(\"\"===t&&this.peekStartsWith(\";\"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Et(Vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(\";\");)this.parseParam(t);return t}parseParam(t){const e=Ut(this.remaining);if(!e)return;this.capture(e);let n=\"\";if(this.consumeOptional(\"=\")){const t=Ut(this.remaining);t&&(n=t,this.capture(n))}t[Vt(e)]=Vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(qt);return e?e[0]:\"\"}(this.remaining);if(!e)return;this.capture(e);let n=\"\";if(this.consumeOptional(\"=\")){const t=function(t){const e=t.match(Qt);return e?e[0]:\"\"}(this.remaining);t&&(n=t,this.capture(n))}const i=zt(e),r=zt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture(\"(\");!this.consumeOptional(\")\")&&this.remaining.length>0;){const n=Ut(this.remaining),i=this.remaining[n.length];if(\"/\"!==i&&\")\"!==i&&\";\"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(\":\")>-1?(r=n.substr(0,n.indexOf(\":\")),this.capture(r),this.capture(\":\")):t&&(r=\"primary\");const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new Pt([],s),this.consumeOptional(\"//\")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected \"${t}\".`)}}class Yt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=$t(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=$t(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Gt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Gt(t,this._root).map(t=>t.value)}}function $t(t,e){if(t===e.value)return e;for(const n of e.children){const e=$t(t,n);if(e)return e}return null}function Gt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Gt(t,n);if(i.length)return i.unshift(e),i}return[]}class Xt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Kt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Zt extends Yt{constructor(t,e){super(t),this.snapshot=e,re(this,t)}toString(){return this.snapshot.toString()}}function Jt(t,e){const n=function(t,e){const n=new ne([],{},{},\"\",{},\"primary\",e,null,t.root,-1,{});return new ie(\"\",new Xt(n,[]))}(t,e),i=new o.a([new Et(\"\",{})]),r=new o.a({}),s=new o.a({}),a=new o.a({}),l=new o.a(\"\"),c=new te(i,r,a,l,s,\"primary\",e,n.root);return c.snapshot=n.root,new Zt(new Xt(c,[]),n)}class te{constructor(t,e,n,i,r,s,a,o){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)(t=>ut(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(t=>ut(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ee(t,e=\"emptyOnly\"){const n=t.pathFromRoot;let i=0;if(\"always\"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&\"\"===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class ne{constructor(t,e,n,i,r,s,a,o,l,c,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ut(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ut(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join(\"/\")}', path:'${this.routeConfig?this.routeConfig.path:\"\"}')`}}class ie extends Yt{constructor(t,e){super(e),this.url=t,re(this,e)}toString(){return se(this._root)}}function re(t,e){e.value._routerState=t,e.children.forEach(e=>re(t,e))}function se(t){const e=t.children.length>0?` { ${t.children.map(se).join(\", \")} } `:\"\";return`${t.value}${e}`}function ae(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,vt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),vt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!vt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),vt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function oe(t,e){var n,i;return vt(t.params,e.params)&&At(n=t.url,i=e.url)&&n.every((t,e)=>vt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||oe(t.parent,e.parent))}function le(t){return\"object\"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ce(t,e,n,i,r){let s={};return i&&kt(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Mt(n.root===t?e:function t(e,n,i){const r={};return kt(e.children,(e,s)=>{r[s]=e===n?i:t(e,n,i)}),new Pt(e.segments,r)}(n.root,t,e),s,r)}class he{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&le(n[0]))throw new Error(\"Root segment cannot have matrix parameters\");const i=n.find(t=>\"object\"==typeof t&&null!=t&&t.outlets);if(i&&i!==Ct(n))throw new Error(\"{outlets:{}} has to be the last command\")}toRoot(){return this.isAbsolute&&1===this.commands.length&&\"/\"==this.commands[0]}}class de{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ue(t){return\"object\"==typeof t&&null!=t&&t.outlets?t.outlets.primary:`${t}`}function pe(t,e,n){if(t||(t=new Pt([],{})),0===t.segments.length&&t.hasChildren())return me(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=n.length)return s;const e=t.segments[r],a=ue(n[i]),o=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&o&&\"object\"==typeof o&&void 0===o.outlets){if(!_e(a,o,e))return s;i+=2}else{if(!_e(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Pt(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Pt(t.segments.slice(i.pathIndex),t.children),me(e,0,r)}return i.match&&0===r.length?new Pt(t.segments,{}):i.match&&!t.hasChildren()?fe(t,e,n):i.match?me(t,0,r):fe(t,e,n)}function me(t,e,n){if(0===n.length)return new Pt(t.segments,{});{const i=function(t){return\"object\"!=typeof t[0]?{primary:t}:void 0===t[0].outlets?{primary:t}:t[0].outlets}(n),r={};return kt(i,(n,i)=>{null!==n&&(r[i]=pe(t.children[i],e,n))}),kt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Pt(t.segments,r)}}function fe(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r<n.length;){if(\"object\"==typeof n[r]&&void 0!==n[r].outlets){const t=ge(n[r].outlets);return new Pt(i,t)}if(0===r&&le(n[0])){i.push(new Et(t.segments[e].path,n[0])),r++;continue}const s=ue(n[r]),a=r<n.length-1?n[r+1]:null;s&&a&&le(a)?(i.push(new Et(s,be(a))),r+=2):(i.push(new Et(s,{})),r++)}return new Pt(i,{})}function ge(t){const e={};return kt(t,(t,n)=>{null!==t&&(e[n]=fe(new Pt([],{}),0,t))}),e}function be(t){const e={};return kt(t,(t,n)=>e[n]=`${t}`),e}function _e(t,e,n){return t==n.path&&vt(e,n.parameters)}class ye{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ae(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Kt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),kt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=Kt(t),r=t.value.component?n.children:e;kt(i,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=Kt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new lt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new at(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(ae(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){ae(t.value),t.children.forEach(ve)}function we(t){return\"function\"==typeof t}function xe(t){return t instanceof Mt}class Ce{constructor(t){this.segmentGroup=t||null}}class ke{constructor(t){this.urlTree=t}}function Oe(t){return new l.a(e=>e.error(new Ce(t)))}function Se(t){return new l.a(e=>e.error(new ke(t)))}function Me(t){return new l.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Pe{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,\"primary\").pipe(Object(m.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(D.a)(t=>{if(t instanceof ke)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ce)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,\"primary\").pipe(Object(m.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(D.a)(t=>{if(t instanceof Ce)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Pt([],{primary:t}):t;return new Mt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)(t=>new Pt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(s.a)({});const n=[],i=[],r={};return kt(t,(t,s)=>{const a=e(s,t).pipe(Object(m.a)(t=>r[s]=t));\"primary\"===s?n.push(a):i.push(a)}),s.a.apply(null,n.concat(i)).pipe(Object(f.a)(),A(),Object(m.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,r,a){return Object(s.a)(...n).pipe(Object(m.a)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,a).pipe(Object(D.a)(t=>{if(t instanceof Ce)return Object(s.a)(null);throw t}))),Object(f.a)(),T(t=>!!t),Object(D.a)((t,n)=>{if(t instanceof c||\"EmptyError\"===t.name){if(this.noLeftoversInUrl(e,i,r))return Object(s.a)(new Pt([],{}));throw new Ce(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,r,s,a){return Re(i)!==s?Oe(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Oe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return\"**\"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith(\"/\")?Se(r):this.lineralizeSegments(n,r).pipe(Object(I.a)(n=>{const r=new Pt(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=Ee(e,i,r);if(!a)return Oe(e);const h=this.applyRedirectCommands(o,i.redirectTo,c);return i.redirectTo.startsWith(\"/\")?Se(h):this.lineralizeSegments(i,h).pipe(Object(I.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i){if(\"**\"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)(t=>(n._loadedConfig=t,new Pt(i,{})))):Object(s.a)(new Pt(i,{}));const{matched:r,consumedSegments:a,lastChild:o}=Ee(e,n,i);if(!r)return Oe(e);const l=i.slice(o);return this.getChildConfig(t,n,i).pipe(Object(I.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:r,slicedSegments:o}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>De(t,e,n)&&\"primary\"!==Re(n))}(t,n,i)?{segmentGroup:Ae(new Pt(e,function(t,e){const n={};n.primary=e;for(const i of t)\"\"===i.path&&\"primary\"!==Re(i)&&(n[Re(i)]=new Pt([],{}));return n}(i,new Pt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>De(t,e,n))}(t,n,i)?{segmentGroup:Ae(new Pt(t.segments,function(t,e,n,i){const r={};for(const s of n)De(t,e,s)&&!i[Re(s)]&&(r[Re(s)]=new Pt([],{}));return Object.assign(Object.assign({},i),r)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,l,i);return 0===o.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(m.a)(t=>new Pt(a,t))):0===i.length&&0===o.length?Object(s.a)(new Pt(a,{})):this.expandSegment(n,r,i,o,\"primary\",!0).pipe(Object(m.a)(t=>new Pt(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(s.a)(new ft(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(s.a)(e._loadedConfig):function(t,e,n){const i=e.canLoad;return i&&0!==i.length?Object(a.a)(i).pipe(Object(m.a)(i=>{const r=t.get(i);let s;if(function(t){return t&&we(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!we(r))throw new Error(\"Invalid CanLoad guard\");s=r(e,n)}return Ot(s)})).pipe(Object(f.a)(),(r=t=>!0===t,t=>t.lift(new j(r,void 0,t)))):Object(s.a)(!0);var r}(t.injector,e,n).pipe(Object(I.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(m.a)(t=>(e._loadedConfig=t,t))):function(t){return new l.a(e=>e.error(pt(`Cannot load children because the guard of the route \"path: '${t.path}'\" returned false`)))}(e))):Object(s.a)(new ft([],t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children.primary)return Me(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new Mt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return kt(t,(t,i)=>{if(\"string\"==typeof t&&t.startsWith(\":\")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return kt(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new Pt(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(\":\")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Ee(t,e,n){if(\"\"===e.path)return\"full\"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(e.matcher||mt)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ae(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Pt(t.segments.concat(e.segments),e.children)}return t}function De(t,e,n){return(!(t.hasChildren()||e.length>0)||\"full\"!==n.pathMatch)&&\"\"===n.path&&void 0!==n.redirectTo}function Re(t){return t.outlet||\"primary\"}class Te{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ie{constructor(t,e){this.component=t,this.route=e}}function je(t,e,n){const i=t._root;return function t(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Kt(n);return e.children.forEach(e=>{!function(e,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=e.value,o=n?n.value:null,l=i?i.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const c=function(t,e,n){if(\"function\"==typeof n)return n(t,e);switch(n){case\"pathParamsChange\":return!At(t.url,e.url);case\"pathParamsOrQueryParamsChange\":return!At(t.url,e.url)||!vt(t.queryParams,e.queryParams);case\"always\":return!0;case\"paramsOrQueryParamsChange\":return!oe(t,e)||!vt(t.queryParams,e.queryParams);case\"paramsChange\":default:return!oe(t,e)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Te(r)):(a.data=o.data,a._resolvedData=o._resolvedData),t(e,n,a.component?l?l.children:null:i,r,s),c&&s.canDeactivateChecks.push(new Ie(l&&l.outlet&&l.outlet.component||null,o))}else o&&Fe(n,l,s),s.canActivateChecks.push(new Te(r)),t(e,null,a.component?l?l.children:null:i,r,s)}(e,a[e.value.outlet],i,r.concat([e.value]),s),delete a[e.value.outlet]}),kt(a,(t,e)=>Fe(t,i.getContext(e),s)),s}(i,e?e._root:null,n,[i.value])}function Le(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Fe(t,e,n){const i=Kt(t),r=t.value;kt(i,(t,i)=>{Fe(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Ie(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}const Ne=Symbol(\"INITIAL_VALUE\");function Ve(){return Object(F.a)(t=>Object(h.a)(...t.map(t=>t.pipe(Object(R.a)(1),Object(N.a)(Ne)))).pipe(V((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==Ne)return t;if(i===Ne&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||xe(i))return i}return t},t)},Ne),Object(g.a)(t=>t!==Ne),Object(m.a)(t=>xe(t)?t:!0===t),Object(R.a)(1)))}function ze(t,e){return null!==t&&e&&e(new ot(t)),Object(s.a)(!0)}function Be(t,e){return null!==t&&e&&e(new st(t)),Object(s.a)(!0)}function He(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(d.a)(()=>{const r=Le(i,e,n);let s;if(function(t){return t&&we(t.canActivate)}(r))s=Ot(r.canActivate(e,t));else{if(!we(r))throw new Error(\"Invalid CanActivate guard\");s=Ot(r(e,t))}return s.pipe(T())}));return Object(s.a)(r).pipe(Ve())}function Ue(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(d.a)(()=>{const r=e.guards.map(r=>{const s=Le(r,e.node,n);let a;if(function(t){return t&&we(t.canActivateChild)}(s))a=Ot(s.canActivateChild(i,t));else{if(!we(s))throw new Error(\"Invalid CanActivateChild guard\");a=Ot(s(i,t))}return a.pipe(T())});return Object(s.a)(r).pipe(Ve())}));return Object(s.a)(r).pipe(Ve())}class qe{}class Qe{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const t=$e(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,\"primary\"),n=new ne([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},\"primary\",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Xt(n,e),r=new ie(this.url,i);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(t){return new l.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ee(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Dt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join(\"/\"),i=t.value.url.map(t=>t.toString()).join(\"/\");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>\"primary\"===t.value.outlet?-1:\"primary\"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,i)}catch(r){if(!(r instanceof qe))throw r}if(this.noLeftoversInUrl(e,n,i))return[];throw new qe}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new qe;if((t.outlet||\"primary\")!==i)throw new qe;let r,s=[],a=[];if(\"**\"===t.path){const s=n.length>0?Ct(n).parameters:{};r=new ne(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ke(t),i,t.component,t,We(e),Ye(e)+n.length,Ze(t))}else{const o=function(t,e,n){if(\"\"===e.path){if(\"full\"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new qe;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||mt)(n,t,e);if(!i)throw new qe;const r={};kt(i.posParams,(t,e)=>{r[e]=t.path});const s=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);s=o.consumedSegments,a=n.slice(o.lastChild),r=new ne(s,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ke(t),i,t.component,t,We(e),Ye(e)+s.length,Ze(t))}const o=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=$e(e,s,a,o,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(o,l);return[new Xt(r,t)]}if(0===o.length&&0===c.length)return[new Xt(r,[])];const h=this.processSegment(o,l,c,\"primary\");return[new Xt(r,h)]}}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ye(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function $e(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some(n=>Ge(t,e,n)&&\"primary\"!==Xe(n))}(t,n,i)){const r=new Pt(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(\"\"===s.path&&\"primary\"!==Xe(s)){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[Xe(s)]=n}return r}(t,e,i,new Pt(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ge(t,e,n))}(t,n,i)){const s=new Pt(t.segments,function(t,e,n,i,r,s){const a={};for(const o of i)if(Ge(t,n,o)&&!r[Xe(o)]){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift=\"legacy\"===s?t.segments.length:e.length,a[Xe(o)]=n}return Object.assign(Object.assign({},r),a)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Pt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Ge(t,e,n){return(!(t.hasChildren()||e.length>0)||\"full\"!==n.pathMatch)&&\"\"===n.path&&void 0===n.redirectTo}function Xe(t){return t.outlet||\"primary\"}function Ke(t){return t.data||{}}function Ze(t){return t.resolve||{}}function Je(t,e,n,i){const r=Le(t,e,i);return Ot(r.resolve?r.resolve(e,n):r(e,n))}function tn(t){return function(e){return e.pipe(Object(F.a)(e=>{const n=t(e);return n?Object(a.a)(n).pipe(Object(m.a)(()=>e)):Object(a.a)([e])}))}}class en{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const nn=new r.r(\"ROUTES\");class rn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ft(xt(i.injector.get(nn)).map(yt),i)}))}loadModuleFactory(t){return\"string\"==typeof t?Object(a.a)(this.loader.load(t)):Ot(t()).pipe(Object(I.a)(t=>t instanceof r.w?Object(s.a)(t):Object(a.a)(this.compiler.compileModuleAsync(t))))}}class sn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function an(t){throw t}function on(t,e,n){return e.parse(\"/\")}function ln(t,e){return Object(s.a)(null)}let cn=(()=>{class t{constructor(t,e,n,i,s,a,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new u.a,this.errorHandler=an,this.malformedUriErrorHandler=on,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ln,afterPreactivation:ln},this.urlHandlingStrategy=new sn,this.routeReuseStrategy=new en,this.onSameUrlNavigation=\"ignore\",this.paramsInheritanceStrategy=\"emptyOnly\",this.urlUpdateStrategy=\"deferred\",this.relativeLinkResolution=\"legacy\",this.ngModule=s.get(r.y),this.console=s.get(r.ab);const h=s.get(r.A);this.isNgZoneEnabled=h instanceof r.A,this.resetConfig(c),this.currentUrlTree=new Mt(new Pt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rn(a,l,t=>this.triggerEvent(new it(t)),t=>this.triggerEvent(new rt(t))),this.routerState=Jt(this.currentUrlTree,this.rootComponentType),this.transitions=new o.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:\"imperative\",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(g.a)(t=>0!==t.id),Object(m.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(F.a)(t=>{let n=!1,i=!1;return Object(s.a)(t).pipe(Object(q.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(F.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if((\"reload\"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(s.a)(t).pipe(Object(F.a)(t=>{const n=this.transitions.getValue();return e.next(new $(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.a:[t]}),Object(F.a)(t=>Promise.resolve(t)),(i=this.ngModule.injector,r=this.configLoader,a=this.urlSerializer,o=this.config,function(t){return t.pipe(Object(F.a)(t=>function(t,e,n,i,r){return new Pe(t,e,n,i,r).apply()}(i,r,a,t.extractedUrl,o).pipe(Object(m.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(q.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(s){return s.pipe(Object(I.a)(s=>function(t,e,n,i,r=\"emptyOnly\",s=\"legacy\"){return new Qe(t,e,n,i,r,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(m.a)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(q.a)(t=>{\"eager\"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(q.a)(t=>{const n=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,a,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:a,extras:o}=t,l=new $(n,this.serializeUrl(i),r,a);e.next(l);const c=Jt(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.a}),tn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(q.a)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(m.a)(t=>Object.assign(Object.assign({},t),{guards:je(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(I.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:l}}=n;return 0===l.length&&0===o.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(a.a)(t).pipe(Object(I.a)(t=>function(t,e,n,i,r){const a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(s.a)(!0);const o=a.map(s=>{const a=Le(s,e,r);let o;if(function(t){return t&&we(t.canDeactivate)}(a))o=Ot(a.canDeactivate(t,e,n,i));else{if(!we(a))throw new Error(\"Invalid CanDeactivate guard\");o=Ot(a(t,e,n,i))}return o.pipe(T())});return Object(s.a)(o).pipe(Ve())}(t.component,t.route,n,e,i)),T(t=>!0!==t,!0))}(l,i,r,t).pipe(Object(I.a)(n=>n&&\"boolean\"==typeof n?function(t,e,n,i){return Object(a.a)(e).pipe(Object(H.a)(e=>Object(a.a)([Be(e.route.parent,i),ze(e.route,i),Ue(t,e.path,n),He(t,e.route,n)]).pipe(Object(f.a)(),T(t=>!0!==t,!0))),T(t=>!0!==t,!0))}(i,o,t,e):Object(s.a)(n)),Object(m.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(q.a)(t=>{if(xe(t.guardsResult)){const e=pt(`Redirecting to \"${this.serializeUrl(t.guardsResult)}\"`);throw e.url=t.guardsResult,e}}),Object(q.a)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(g.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new X(t.id,this.serializeUrl(t.extractedUrl),\"\");return e.next(n),t.resolve(!1),!1}return!0}),tn(t=>{if(t.guards.canActivateChecks.length)return Object(s.a)(t).pipe(Object(q.a)(t=>{const e=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(Object(I.a)(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;return r.length?Object(a.a)(r).pipe(Object(H.a)(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(s.a)({});if(1===r.length){const s=r[0];return Je(t[s],e,n,i).pipe(Object(m.a)(t=>({[s]:t})))}const o={};return Object(a.a)(r).pipe(Object(I.a)(r=>Je(t[r],e,n,i).pipe(Object(m.a)(t=>(o[r]=t,t))))).pipe(A(),Object(m.a)(()=>o))}(t._resolve,t,e,i).pipe(Object(m.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ee(t,n).resolve),null)))}(t.route,i,e,n)),function(t,e){return arguments.length>=2?function(n){return Object(U.a)(V(t,e),y(1),S(e))(n)}:function(e){return Object(U.a)(V((e,n,i)=>t(e,n,i+1)),y(1))(e)}}((t,e)=>t),Object(m.a)(e=>t)):Object(s.a)(t)}))}),Object(q.a)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),tn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(m.a)(t=>{const e=function(t,e,n){const i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const s=function(e,n,i){return n.children.map(n=>{for(const r of i.children)if(e.shouldReuseRoute(r.value.snapshot,n.value))return t(e,n,r);return t(e,n)})}(e,n,i);return new Xt(r,s)}{const i=e.retrieve(n.value);if(i){const t=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error(\"Cannot reattach ActivatedRouteSnapshot created from a different route\");if(e.children.length!==n.children.length)throw new Error(\"Cannot reattach ActivatedRouteSnapshot with a different number of children\");n.value._futureSnapshot=e.value;for(let i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,t),t}{const i=new te(new o.a((r=n.value).url),new o.a(r.params),new o.a(r.queryParams),new o.a(r.fragment),new o.a(r.data),r.outlet,r.component,r),s=n.children.map(n=>t(e,n));return new Xt(i,s)}}var r}(t,e._root,n?n._root:void 0);return new Zt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(q.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,\"deferred\"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,l=this.routeReuseStrategy,c=t=>this.triggerEvent(t),Object(m.a)(t=>(new ye(l,t.targetRouterState,t.currentRouterState,c).activate(r),t))),Object(q.a)({next(){n=!0},complete(){n=!0}}),Object(Q.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new X(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(D.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=xe(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new X(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,\"imperative\",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:\"eager\"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new K(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return p.a}));var r,l,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n=\"popstate\"===t.type?\"popstate\":\"hashchange\",i=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){gt(t),this.config=t.map(yt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,preserveQueryParams:a,queryParamsHandling:o,preserveFragment:l}=e;Object(r.X)()&&a&&console&&console.warn&&console.warn(\"preserveQueryParams is deprecated, use queryParamsHandling instead.\");const c=n||this.routerState.root,h=l?this.currentUrlTree.fragment:s;let d=null;if(o)switch(o){case\"merge\":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case\"preserve\":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=a?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,i,r){if(0===n.length)return ce(e.root,e.root,e,i,r);const s=function(t){if(\"string\"==typeof t[0]&&1===t.length&&\"/\"===t[0])return new he(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if(\"object\"==typeof i&&null!=i){if(i.outlets){const e={};return kt(i.outlets,(t,n)=>{e[n]=\"string\"==typeof t?t.split(\"/\"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return\"string\"!=typeof i?[...t,i]:0===r?(i.split(\"/\").forEach((i,r)=>{0==r&&\".\"===i||(0==r&&\"\"===i?n=!0:\"..\"===i?e++:\"\"!=i&&t.push(i))}),t):[...t,i]},[]);return new he(n,e,i)}(n);if(s.toRoot())return ce(e.root,new Pt([],{}),e,i,r);const a=function(t,e,n){if(t.isAbsolute)return new de(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new de(n.snapshot._urlSegment,!0,0);const i=le(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error(\"Invalid number of '../'\");r=i.segments.length}return new de(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),o=a.processChildren?me(a.segmentGroup,a.index,s.commands):pe(a.segmentGroup,a.index,s.commands);return ce(a.segmentGroup,o,e,i,r)}(c,this.currentUrlTree,t,d,h)}navigateByUrl(t,e={skipLocationChange:!1}){Object(r.X)()&&this.isNgZoneEnabled&&!r.A.isInAngularZone()&&this.console.warn(\"Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?\");const n=xe(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,\"imperative\",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(xe(t))return St(this.currentUrlTree,t,e);const n=this.parseUrl(t);return St(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn(\"Unhandled Navigation Error: \")})}scheduleNavigation(t,e,n,i,r){const s=this.getTransition();if(s&&\"imperative\"!==e&&\"imperative\"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&\"hashchange\"==e&&\"popstate\"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&\"popstate\"==e&&\"hashchange\"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let a,o,l;r?(a=r.resolve,o=r.reject,l=r.promise):l=new Promise((t,e)=>{a=t,o=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:a,reject:o,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,\"\",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,\"\",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),\"\",{navigationId:this.lastSuccessfulId})}}return t.\\u0275fac=function(t){r.dc()},t.\\u0275dir=r.Lb({type:t}),t})(),hn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(r.nativeElement,\"tabindex\",\"0\")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.X)()&&console&&console.warn&&console.warn(\"preserveQueryParams is deprecated!, use queryParamsHandling instead.\"),this.preserve=t}onClick(){const t={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(cn),r.Qb(te),r.bc(\"tabindex\"),r.Qb(r.F),r.Qb(r.l))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"routerLink\",\"\",5,\"a\",5,\"area\"]],hostBindings:function(t,e){1&t&&r.ec(\"click\",(function(){return e.onClick()}))},inputs:{routerLink:\"routerLink\",preserveQueryParams:\"preserveQueryParams\",queryParams:\"queryParams\",fragment:\"fragment\",queryParamsHandling:\"queryParamsHandling\",preserveFragment:\"preserveFragment\",skipLocationChange:\"skipLocationChange\",replaceUrl:\"replaceUrl\",state:\"state\"}}),t})(),dn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof G&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(r.X)()&&console&&console.warn&&console.warn(\"preserveQueryParams is deprecated, use queryParamsHandling instead.\"),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i){if(0!==t||e||n||i)return!0;if(\"string\"==typeof this.target&&\"_self\"!=this.target)return!0;const r={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(cn),r.Qb(te),r.Qb(i.h))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"a\",\"routerLink\",\"\"],[\"area\",\"routerLink\",\"\"]],hostVars:2,hostBindings:function(t,e){1&t&&r.ec(\"click\",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(r.Zb(\"href\",e.href,r.Cc),r.Eb(\"target\",e.target))},inputs:{routerLink:\"routerLink\",preserveQueryParams:\"preserveQueryParams\",target:\"target\",queryParams:\"queryParams\",fragment:\"fragment\",queryParamsHandling:\"queryParamsHandling\",preserveFragment:\"preserveFragment\",skipLocationChange:\"skipLocationChange\",replaceUrl:\"replaceUrl\",state:\"state\"},features:[r.Bb()]}),t})();function un(t){return\"\"===t||!!t}class pn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new pn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let fn=(()=>{class t{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.o,this.deactivateEvents=new r.o,this.name=i||\"primary\",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error(\"Outlet is not activated\");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error(\"Outlet is not activated\");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error(\"Outlet is not activated\");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error(\"Cannot activate an already activated outlet\");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new gn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(mn),r.Qb(r.P),r.Qb(r.j),r.bc(\"name\"),r.Qb(r.h))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"router-outlet\"]],outputs:{activateEvents:\"activate\",deactivateEvents:\"deactivate\"},exportAs:[\"outlet\"]}),t})();class gn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===te?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class bn{}class _n{preload(t,e){return Object(s.a)(null)}}let yn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new rn(e,n,e=>t.triggerEvent(new it(e)),e=>t.triggerEvent(new rt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(g.a)(t=>t instanceof G),Object(H.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.y);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(a.a)(n).pipe(Object(W.a)(),Object(m.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(I.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(cn),r.ac(r.x),r.ac(r.i),r.ac(r.s),r.ac(bn))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})(),vn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource=\"imperative\",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||\"disabled\",n.anchorScrolling=n.anchorScrolling||\"disabled\"}init(){\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration(\"manual\"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof $?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof G&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ct&&(t.position?\"top\"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):\"enabled\"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&\"enabled\"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):\"disabled\"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ct(t,\"popstate\"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\\u0275fac=function(t){r.dc()},t.\\u0275dir=r.Lb({type:t}),t})();const wn=new r.r(\"ROUTER_CONFIGURATION\"),xn=new r.r(\"ROUTER_FORROOT_GUARD\"),Cn=[i.g,{provide:Rt,useClass:Tt},{provide:cn,useFactory:function(t,e,n,r,s,a,o,l={},c,h){const d=new cn(null,t,e,n,r,s,a,xt(o));if(c&&(d.urlHandlingStrategy=c),h&&(d.routeReuseStrategy=h),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Object(i.x)();d.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d},deps:[Rt,mn,i.g,r.s,r.x,r.i,nn,wn,[class{},new r.B],[class{},new r.B]]},mn,{provide:te,useFactory:function(t){return t.routerState.root},deps:[cn]},{provide:r.x,useClass:r.L},yn,_n,class{preload(t,e){return e().pipe(Object(D.a)(()=>Object(s.a)(null)))}},{provide:wn,useValue:{enableTracing:!1}}];function kn(){return new r.z(\"Router\",cn)}let On=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Cn,En(e),{provide:xn,useFactory:Pn,deps:[[cn,new r.B,new r.K]]},{provide:wn,useValue:n||{}},{provide:i.h,useFactory:Mn,deps:[i.r,[new r.q(i.a),new r.B],wn]},{provide:vn,useFactory:Sn,deps:[cn,i.s,wn]},{provide:bn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:_n},{provide:r.z,multi:!0,useFactory:kn},[An,{provide:r.d,multi:!0,useFactory:Dn,deps:[An]},{provide:Tn,useFactory:Rn,deps:[An]},{provide:r.b,multi:!0,useExisting:Tn}]]}}static forChild(e){return{ngModule:t,providers:[En(e)]}}}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.ac(xn,8),r.ac(cn,8))}}),t})();function Sn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new vn(t,e,n)}function Mn(t,e,n={}){return n.useHash?new i.e(t,e):new i.q(t,e)}function Pn(t){if(t)throw new Error(\"RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.\");return\"guarded\"}function En(t){return[{provide:r.a,multi:!0,useValue:t},{provide:nn,multi:!0,useValue:t}]}let An=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new u.a}appInitializer(){return this.injector.get(i.f,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(cn),i=this.injector.get(wn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))t(!0);else if(\"disabled\"===i.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if(\"enabled\"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(wn),n=this.injector.get(yn),i=this.injector.get(vn),s=this.injector.get(cn),a=this.injector.get(r.g);t===a.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return\"legacy_enabled\"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return\"legacy_disabled\"===t.initialNavigation||!1===t.initialNavigation}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(r.s))},t.\\u0275prov=r.Mb({token:t,factory:t.\\u0275fac}),t})();function Dn(t){return t.appInitializer.bind(t)}function Rn(t){return t.bootstrapListener.bind(t)}const Tn=new r.r(\"Router Initializer\")},u47x:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return z})),n.d(e,\"b\",(function(){return C})),n.d(e,\"c\",(function(){return w})),n.d(e,\"d\",(function(){return I})),n.d(e,\"e\",(function(){return F})),n.d(e,\"f\",(function(){return A})),n.d(e,\"g\",(function(){return k})),n.d(e,\"h\",(function(){return L})),n.d(e,\"i\",(function(){return E})),n.d(e,\"j\",(function(){return V})),n.d(e,\"k\",(function(){return T})),n.d(e,\"l\",(function(){return N}));var i=n(\"ofXK\"),r=n(\"fXoL\"),s=n(\"XNiG\"),a=n(\"quSY\"),o=n(\"LRne\"),l=n(\"FtGj\"),c=n(\"vkgz\"),h=n(\"Kj3r\"),d=n(\"pLZG\"),u=n(\"lJxs\"),p=n(\"IzEk\"),m=n(\"8LU1\"),f=n(\"nLfN\"),g=n(\"GU7r\");function b(t,e){return(t.getAttribute(e)||\"\").match(/\\S+/g)||[]}let _=0;const y=new Map;let v=null,w=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&(\"string\"!=typeof e?(this._setMessageId(e),y.set(e,{messageElement:e,referenceCount:0})):y.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),\"string\"==typeof e){const t=y.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll(\"[cdk-describedby-host]\");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(\"cdk-describedby-host\");v&&this._deleteMessagesContainer(),y.clear()}_createMessageElement(t){const e=this._document.createElement(\"div\");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),v.appendChild(e),y.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id=`cdk-describedby-message-${_++}`)}_deleteMessageElement(t){const e=y.get(t),n=e&&e.messageElement;v&&n&&v.removeChild(n),y.delete(t)}_createMessagesContainer(){if(!v){const t=this._document.getElementById(\"cdk-describedby-message-container\");t&&t.parentNode.removeChild(t),v=this._document.createElement(\"div\"),v.id=\"cdk-describedby-message-container\",v.setAttribute(\"aria-hidden\",\"true\"),v.style.display=\"none\",this._document.body.appendChild(v)}}_deleteMessagesContainer(){v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)}_removeCdkDescribedByReferenceIds(t){const e=b(t,\"aria-describedby\").filter(t=>0!=t.indexOf(\"cdk-describedby-message\"));t.setAttribute(\"aria-describedby\",e.join(\" \"))}_addMessageReference(t,e){const n=y.get(e);!function(t,e,n){const i=b(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(\" \")))}(t,\"aria-describedby\",n.messageElement.id),t.setAttribute(\"cdk-describedby-host\",\"\"),n.referenceCount++}_removeMessageReference(t,e){const n=y.get(e);n.referenceCount--,function(t,e,n){const i=b(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(\" \")):t.removeAttribute(e)}(t,\"aria-describedby\",n.messageElement.id),t.removeAttribute(\"cdk-describedby-host\")}_isElementDescribedByMessage(t,e){const n=b(t,\"aria-describedby\"),i=y.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&\"object\"==typeof e)return!0;const n=null==e?\"\":`${e}`.trim(),i=t.getAttribute(\"aria-label\");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(i.d))},token:t,providedIn:\"root\"}),t})();class x{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.a,this.change=new s.a,t instanceof r.E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>\"function\"!=typeof t.getLabel))throw Error(\"ListKeyManager items in typeahead mode must implement the `getLabel` method.\");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(h.a)(t),Object(d.a)(()=>this._pressedLetters.length>0),Object(u.a)(()=>this._pressedLetters.join(\"\"))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,r=e[i];if(!this._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=[\"altKey\",\"ctrlKey\",\"metaKey\",\"shiftKey\"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.m:return void this.tabOut.next();case l.b:if(this._vertical&&n){this.setNextItemActive();break}return;case l.n:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.k:if(this._horizontal&&n){\"rtl\"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&n){\"rtl\"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(l.q)(t,\"shiftKey\"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.o||e>=l.p&&e<=l.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n=\"number\"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.E?this._items.toArray():this._items}}class C extends x{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class k extends x{constructor(){super(...arguments),this._origin=\"program\"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let O=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute(\"disabled\")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||\"function\"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&\"visible\"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===M(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&\"object\"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=M(t);if(t.hasAttribute(\"contenteditable\"))return-1!==r;if(\"iframe\"===i)return!1;if(\"audio\"===i){if(!t.hasAttribute(\"controls\"))return!1;if(this._platform.BLINK)return!0}if(\"video\"===i){if(!t.hasAttribute(\"controls\")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return(\"object\"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n=\"input\"===e&&t.type;return\"text\"===n||\"password\"===n||\"select\"===e||\"textarea\"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return\"input\"==t.nodeName.toLowerCase()}(t)&&\"hidden\"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return\"input\"===e||\"select\"===e||\"button\"===e||\"textarea\"===e}(t)||function(t){return function(t){return\"a\"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute(\"href\")}(t)||t.hasAttribute(\"contenteditable\")||S(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(f.a))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(f.a))},token:t,providedIn:\"root\"}),t})();function S(t){if(!t.hasAttribute(\"tabindex\")||void 0===t.tabIndex)return!1;let e=t.getAttribute(\"tabindex\");return\"-32768\"!=e&&!(!e||isNaN(parseInt(e,10)))}function M(t){if(!S(t))return null;const e=parseInt(t.getAttribute(\"tabindex\")||\"\",10);return isNaN(e)?-1:e}class P{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener(\"focus\",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener(\"focus\",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener(\"focus\",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener(\"focus\",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated `+\"attribute will be removed in 8.0.0.\",e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated attribute `+\"will be removed in 8.0.0.\",e[n]);return\"start\"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector(\"[cdk-focus-initial], [cdkFocusInitial]\");return t?(t.hasAttribute(\"cdk-focus-initial\")&&console.warn(\"Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0\",t),Object(r.X)()&&!this._checker.isFocusable(t)&&console.warn(\"Element matching '[cdkFocusInitial]' is not focusable.\",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary(\"start\");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary(\"end\");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement(\"div\");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add(\"cdk-visually-hidden\"),t.classList.add(\"cdk-focus-trap-anchor\"),t.setAttribute(\"aria-hidden\",\"true\"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute(\"tabindex\",\"0\"):e.removeAttribute(\"tabindex\")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let E=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new P(t,this._checker,this._ngZone,this._document,e)}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(O),r.ac(r.A),r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(O),Object(r.ac)(r.A),Object(r.ac)(i.d))},token:t,providedIn:\"root\"}),t})(),A=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(m.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(m.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(E),r.Qb(i.d))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkTrapFocus\",\"\"]],inputs:{enabled:[\"cdkTrapFocus\",\"enabled\"],autoCapture:[\"cdkTrapFocusAutoCapture\",\"autoCapture\"]},exportAs:[\"cdkTrapFocus\"]}),t})();\"undefined\"!=typeof Element&&Element;const D=new r.r(\"liveAnnouncerElement\",{providedIn:\"root\",factory:function(){return null}}),R=new r.r(\"LIVE_ANNOUNCER_DEFAULT_OPTIONS\");let T=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&\"number\"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:\"polite\"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute(\"aria-live\",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),\"number\"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent=\"\")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName(\"cdk-live-announcer-element\"),e=this._document.createElement(\"div\");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add(\"cdk-live-announcer-element\"),e.classList.add(\"cdk-visually-hidden\"),e.setAttribute(\"aria-atomic\",\"true\"),e.setAttribute(\"aria-live\",\"polite\"),this._document.body.appendChild(e),e}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(D,8),r.ac(r.A),r.ac(i.d),r.ac(R,8))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(D,8),Object(r.ac)(r.A),Object(r.ac)(i.d),Object(r.ac)(R,8))},token:t,providedIn:\"root\"}),t})(),I=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness=\"off\"}get politeness(){return this._politeness}set politeness(t){this._politeness=\"polite\"===t||\"assertive\"===t?t:\"off\",\"off\"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(T),r.Qb(g.b),r.Qb(r.A))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkAriaLive\",\"\"]],inputs:{politeness:[\"cdkAriaLive\",\"politeness\"]},exportAs:[\"cdkAriaLive\"]}),t})();const j=Object(f.f)({passive:!0,capture:!0});let L=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue(\"keyboard\")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue(\"mouse\")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(o.a)(null);const n=Object(m.e)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let i={unlisten:()=>{},checkChildren:e,subject:new s.a};this._elementInfo.set(n,i),this._incrementMonitoredElementCount();let r=t=>this._onFocus(t,n),a=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener(\"focus\",r,!0),n.addEventListener(\"blur\",a,!0)}),i.unlisten=()=>{n.removeEventListener(\"focus\",r,!0),n.removeEventListener(\"blur\",a,!0)},i.subject.asObservable()}stopMonitoring(t){const e=Object(m.e)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const i=Object(m.e)(t);this._setOriginForCurrentEventQueue(e),\"function\"==typeof i.focus&&i.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,\"cdk-focused\",!!e),this._toggleClass(t,\"cdk-touch-focused\",\"touch\"===e),this._toggleClass(t,\"cdk-keyboard-focused\",\"keyboard\"===e),this._toggleClass(t,\"cdk-mouse-focused\",\"mouse\"===e),this._toggleClass(t,\"cdk-program-focused\",\"program\"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?\"touch\":\"program\"),this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener(\"keydown\",this._documentKeydownListener,j),document.addEventListener(\"mousedown\",this._documentMousedownListener,j),document.addEventListener(\"touchstart\",this._documentTouchstartListener,j),window.addEventListener(\"focus\",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener(\"keydown\",this._documentKeydownListener,j),document.removeEventListener(\"mousedown\",this._documentMousedownListener,j),document.removeEventListener(\"touchstart\",this._documentTouchstartListener,j),window.removeEventListener(\"focus\",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(r.A),r.ac(f.a))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(r.A),Object(r.ac)(f.a))},token:t,providedIn:\"root\"}),t})(),F=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new r.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute(\"cdkMonitorSubtreeFocus\")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return t.\\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(L))},t.\\u0275dir=r.Lb({type:t,selectors:[[\"\",\"cdkMonitorElementFocus\",\"\"],[\"\",\"cdkMonitorSubtreeFocus\",\"\"]],outputs:{cdkFocusChange:\"cdkFocusChange\"}}),t})();function N(t){return 0===t.buttons}let V=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement(\"div\");t.style.backgroundColor=\"rgb(1,2,3)\",t.style.position=\"absolute\",this._document.body.appendChild(t);const e=(this._document.defaultView.getComputedStyle(t).backgroundColor||\"\").replace(/ /g,\"\");switch(this._document.body.removeChild(t),e){case\"rgb(0,0,0)\":return 2;case\"rgb(255,255,255)\":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(\"cdk-high-contrast-active\"),t.remove(\"cdk-high-contrast-black-on-white\"),t.remove(\"cdk-high-contrast-white-on-black\");const e=this.getHighContrastMode();1===e?(t.add(\"cdk-high-contrast-active\"),t.add(\"cdk-high-contrast-black-on-white\")):2===e&&(t.add(\"cdk-high-contrast-active\"),t.add(\"cdk-high-contrast-white-on-black\"))}}}return t.\\u0275fac=function(e){return new(e||t)(r.ac(f.a),r.ac(i.d))},t.\\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.ac)(f.a),Object(r.ac)(i.d))},token:t,providedIn:\"root\"}),t})(),z=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\\u0275mod=r.Ob({type:t}),t.\\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.ac(V))},imports:[[f.b,g.c]]}),t})()},uDUn:function(t,e){var n=1e3,i=6e4,r=36e5,s=24*r;function a(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+\" \"+n:Math.ceil(t/e)+\" \"+n+\"s\"}t.exports=function(t,e){e=e||{};var o,l=typeof t;if(\"string\"===l&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*a;case\"days\":case\"day\":case\"d\":return a*s;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return a*r;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return a*i;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return a*n;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return a;default:return}}}}(t);if(\"number\"===l&&!1===isNaN(t))return e.long?a(o=t,s,\"day\")||a(o,r,\"hour\")||a(o,i,\"minute\")||a(o,n,\"second\")||o+\" ms\":function(t){return t>=s?Math.round(t/s)+\"d\":t>=r?Math.round(t/r)+\"h\":t>=i?Math.round(t/i)+\"m\":t>=n?Math.round(t/n)+\"s\":t+\"ms\"}(t);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(t))}},vkgz:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"7o/Q\"),r=n(\"KqfI\"),s=n(\"n6bG\");function a(t,e,n){return function(i){return i.lift(new o(t,e,n))}}class o{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vxfF:function(t,e,n){\"use strict\";n(\"8LU1\");var i=n(\"fXoL\"),r=n(\"XNiG\"),s=n(\"LRne\"),a=n(\"HDdC\"),o=n(\"xgIS\"),l=n(\"VRyK\");n(\"3N8a\"),n(\"IjjT\"),n(\"7Hc7\");var c=(n(\"quSY\"),n(\"7+OI\"),n(\"/uUt\"),n(\"3UWI\")),h=n(\"pLZG\"),d=n(\"1G5W\");n(\"JX91\"),n(\"7o/Q\"),n(\"eIep\"),n(\"UXun\");var u=n(\"nLfN\"),p=n(\"cH1L\");n(\"0EQZ\"),n.d(e,\"a\",(function(){return f})),n.d(e,\"b\",(function(){return m})),n.d(e,\"c\",(function(){return b})),n.d(e,\"d\",(function(){return g}));let m=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(h.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(o.a)(window.document,\"scroll\").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(i.A),i.ac(u.a))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(i.A),Object(i.ac)(u.a))},token:t,providedIn:\"root\"}),t})(),f=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.a,this._elementScrolled=new a.a(t=>this.ngZone.runOutsideAngular(()=>Object(o.a)(this.elementRef.nativeElement,\"scroll\").pipe(Object(d.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&\"rtl\"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(u.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(u.d)()?t.left=t.right:1==Object(u.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(u.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if(\"top\"==t)return e.scrollTop;if(\"bottom\"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&\"rtl\"==this.dir.value;return\"start\"==t?t=n?\"right\":\"left\":\"end\"==t&&(t=n?\"left\":\"right\"),n&&2==Object(u.d)()?\"left\"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(u.d)()?\"left\"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:\"left\"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(m),i.Qb(i.A),i.Qb(p.b,8))},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"cdk-scrollable\",\"\"],[\"\",\"cdkScrollable\",\"\"]]}),t})(),g=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(l.a)(Object(o.a)(window,\"resize\"),Object(o.a)(window,\"orientationchange\")):Object(s.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.\\u0275fac=function(e){return new(e||t)(i.ac(u.a),i.ac(i.A))},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t(Object(i.ac)(u.a),Object(i.ac)(i.A))},token:t,providedIn:\"root\"}),t})(),b=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[p.a,u.b],p.a]}),t})()},w1tV:function(t,e,n){\"use strict\";var i=n(\"XNiG\"),r=n(\"HDdC\"),s=n(\"7o/Q\"),a=n(\"quSY\");function o(){return function(t){return t.lift(new l(t))}}class l{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new c(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends s.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class h extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new a.a,t.add(this.source.subscribe(new u(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t}refCount(){return o()(this)}}const d=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class u extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new i.a}function m(){return t=>{return o()((e=p,function(t){let n;n=\"function\"==typeof e?e:function(){return e};const i=Object.create(t,d);return i.source=t,i.subjectFactory=n,i})(t));var e}}n.d(e,\"a\",(function(){return m}))},wHSu:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"c\",(function(){return s})),n.d(e,\"d\",(function(){return a})),n.d(e,\"e\",(function(){return o})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c})),n.d(e,\"h\",(function(){return h})),n.d(e,\"i\",(function(){return d})),n.d(e,\"j\",(function(){return u})),n.d(e,\"k\",(function(){return p})),n.d(e,\"l\",(function(){return m})),n.d(e,\"m\",(function(){return f})),n.d(e,\"n\",(function(){return g})),n.d(e,\"o\",(function(){return b})),n.d(e,\"p\",(function(){return _})),n.d(e,\"q\",(function(){return y})),n.d(e,\"r\",(function(){return v})),n.d(e,\"s\",(function(){return w})),n.d(e,\"t\",(function(){return x})),n.d(e,\"u\",(function(){return C})),n.d(e,\"v\",(function(){return k})),n.d(e,\"w\",(function(){return O})),n.d(e,\"x\",(function(){return S})),n.d(e,\"y\",(function(){return M})),n.d(e,\"z\",(function(){return P})),n.d(e,\"A\",(function(){return E})),n.d(e,\"B\",(function(){return A})),n.d(e,\"C\",(function(){return D})),n.d(e,\"D\",(function(){return R})),n.d(e,\"E\",(function(){return T})),n.d(e,\"F\",(function(){return I})),n.d(e,\"G\",(function(){return j})),n.d(e,\"H\",(function(){return L})),n.d(e,\"I\",(function(){return F})),n.d(e,\"J\",(function(){return N})),n.d(e,\"K\",(function(){return V})),n.d(e,\"L\",(function(){return z})),n.d(e,\"M\",(function(){return B})),n.d(e,\"N\",(function(){return H})),n.d(e,\"O\",(function(){return U})),n.d(e,\"P\",(function(){return q})),n.d(e,\"Q\",(function(){return Q})),n.d(e,\"R\",(function(){return W})),n.d(e,\"S\",(function(){return Y})),n.d(e,\"T\",(function(){return $})),n.d(e,\"U\",(function(){return G})),n.d(e,\"V\",(function(){return X})),n.d(e,\"W\",(function(){return K})),n.d(e,\"X\",(function(){return Z})),n.d(e,\"Y\",(function(){return J})),n.d(e,\"Z\",(function(){return tt})),n.d(e,\"ab\",(function(){return et})),n.d(e,\"bb\",(function(){return nt})),n.d(e,\"cb\",(function(){return it})),n.d(e,\"db\",(function(){return rt})),n.d(e,\"eb\",(function(){return st})),n.d(e,\"fb\",(function(){return at})),n.d(e,\"gb\",(function(){return ot})),n.d(e,\"hb\",(function(){return lt})),n.d(e,\"ib\",(function(){return ct})),n.d(e,\"jb\",(function(){return ht}));var i={prefix:\"fas\",iconName:\"archive\",icon:[512,512,[],\"f187\",\"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z\"]},r={prefix:\"fas\",iconName:\"arrow-circle-left\",icon:[512,512,[],\"f0a8\",\"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z\"]},s={prefix:\"fas\",iconName:\"bomb\",icon:[512,512,[],\"f1e2\",\"M440.5 88.5l-52 52L415 167c9.4 9.4 9.4 24.6 0 33.9l-17.4 17.4c11.8 26.1 18.4 55.1 18.4 85.6 0 114.9-93.1 208-208 208S0 418.9 0 304 93.1 96 208 96c30.5 0 59.5 6.6 85.6 18.4L311 97c9.4-9.4 24.6-9.4 33.9 0l26.5 26.5 52-52 17.1 17zM500 60h-24c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12zM440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm33.9 55l17-17c4.7-4.7 4.7-12.3 0-17-4.7-4.7-12.3-4.7-17 0l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0zm-67.8 0c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17zm67.8 34c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17zM112 272c0-35.3 28.7-64 64-64 8.8 0 16-7.2 16-16s-7.2-16-16-16c-52.9 0-96 43.1-96 96 0 8.8 7.2 16 16 16s16-7.2 16-16z\"]},a={prefix:\"fas\",iconName:\"cart-arrow-down\",icon:[576,512,[],\"f218\",\"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM403.029 192H360v-60c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v60h-43.029c-10.691 0-16.045 12.926-8.485 20.485l67.029 67.029c4.686 4.686 12.284 4.686 16.971 0l67.029-67.029c7.559-7.559 2.205-20.485-8.486-20.485z\"]},o={prefix:\"fas\",iconName:\"cart-plus\",icon:[576,512,[],\"f217\",\"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z\"]},l={prefix:\"fas\",iconName:\"check\",icon:[512,512,[],\"f00c\",\"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z\"]},c={prefix:\"fas\",iconName:\"clipboard\",icon:[384,512,[],\"f328\",\"M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z\"]},h={prefix:\"fas\",iconName:\"coffee\",icon:[640,512,[],\"f0f4\",\"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z\"]},d={prefix:\"fas\",iconName:\"comment\",icon:[512,512,[],\"f075\",\"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z\"]},u={prefix:\"fas\",iconName:\"comment-alt\",icon:[512,512,[],\"f27a\",\"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z\"]},p={prefix:\"fas\",iconName:\"comments\",icon:[576,512,[],\"f086\",\"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z\"]},m={prefix:\"fas\",iconName:\"crown\",icon:[640,512,[],\"f521\",\"M528 448H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h416c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm64-320c-26.5 0-48 21.5-48 48 0 7.1 1.6 13.7 4.4 19.8L476 239.2c-15.4 9.2-35.3 4-44.2-11.6L350.3 85C361 76.2 368 63 368 48c0-26.5-21.5-48-48-48s-48 21.5-48 48c0 15 7 28.2 17.7 37l-81.5 142.6c-8.9 15.6-28.9 20.8-44.2 11.6l-72.3-43.4c2.7-6 4.4-12.7 4.4-19.8 0-26.5-21.5-48-48-48S0 149.5 0 176s21.5 48 48 48c2.6 0 5.2-.4 7.7-.8L128 416h384l72.3-192.8c2.5.4 5.1.8 7.7.8 26.5 0 48-21.5 48-48s-21.5-48-48-48z\"]},f={prefix:\"fas\",iconName:\"exclamation-circle\",icon:[512,512,[],\"f06a\",\"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z\"]},g={prefix:\"fas\",iconName:\"exclamation-triangle\",icon:[576,512,[],\"f071\",\"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z\"]},b={prefix:\"fas\",iconName:\"eye\",icon:[576,512,[],\"f06e\",\"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z\"]},_={prefix:\"fas\",iconName:\"eye-slash\",icon:[640,512,[],\"f070\",\"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z\"]},y={prefix:\"fas\",iconName:\"flag-checkered\",icon:[512,512,[],\"f11e\",\"M243.2 189.9V258c26.1 5.9 49.3 15.6 73.6 22.3v-68.2c-26-5.8-49.4-15.5-73.6-22.2zm223.3-123c-34.3 15.9-76.5 31.9-117 31.9C296 98.8 251.7 64 184.3 64c-25 0-47.3 4.4-68 12 2.8-7.3 4.1-15.2 3.6-23.6C118.1 24 94.8 1.2 66.3 0 34.3-1.3 8 24.3 8 56c0 19 9.5 35.8 24 45.9V488c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24v-94.4c28.3-12.1 63.6-22.1 114.4-22.1 53.6 0 97.8 34.8 165.2 34.8 48.2 0 86.7-16.3 122.5-40.9 8.7-6 13.8-15.8 13.8-26.4V95.9c.1-23.3-24.2-38.8-45.4-29zM169.6 325.5c-25.8 2.7-50 8.2-73.6 16.6v-70.5c26.2-9.3 47.5-15 73.6-17.4zM464 191c-23.6 9.8-46.3 19.5-73.6 23.9V286c24.8-3.4 51.4-11.8 73.6-26v70.5c-25.1 16.1-48.5 24.7-73.6 27.1V286c-27 3.7-47.9 1.5-73.6-5.6v67.4c-23.9-7.4-47.3-16.7-73.6-21.3V258c-19.7-4.4-40.8-6.8-73.6-3.8v-70c-22.4 3.1-44.6 10.2-73.6 20.9v-70.5c33.2-12.2 50.1-19.8 73.6-22v71.6c27-3.7 48.4-1.3 73.6 5.7v-67.4c23.7 7.4 47.2 16.7 73.6 21.3v68.4c23.7 5.3 47.6 6.9 73.6 2.7V143c27-4.8 52.3-13.6 73.6-22.5z\"]},v={prefix:\"fas\",iconName:\"gift\",icon:[512,512,[],\"f06b\",\"M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z\"]},w={prefix:\"fas\",iconName:\"globe\",icon:[496,512,[],\"f0ac\",\"M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z\"]},x={prefix:\"fas\",iconName:\"graduation-cap\",icon:[640,512,[],\"f19d\",\"M622.34 153.2L343.4 67.5c-15.2-4.67-31.6-4.67-46.79 0L17.66 153.2c-23.54 7.23-23.54 38.36 0 45.59l48.63 14.94c-10.67 13.19-17.23 29.28-17.88 46.9C38.78 266.15 32 276.11 32 288c0 10.78 5.68 19.85 13.86 25.65L20.33 428.53C18.11 438.52 25.71 448 35.94 448h56.11c10.24 0 17.84-9.48 15.62-19.47L82.14 313.65C90.32 307.85 96 298.78 96 288c0-11.57-6.47-21.25-15.66-26.87.76-15.02 8.44-28.3 20.69-36.72L296.6 284.5c9.06 2.78 26.44 6.25 46.79 0l278.95-85.7c23.55-7.24 23.55-38.36 0-45.6zM352.79 315.09c-28.53 8.76-52.84 3.92-65.59 0l-145.02-44.55L128 384c0 35.35 85.96 64 192 64s192-28.65 192-64l-14.18-113.47-145.03 44.56z\"]},C={prefix:\"fas\",iconName:\"hand-holding-usd\",icon:[576,512,[],\"f4c0\",\"M271.06,144.3l54.27,14.3a8.59,8.59,0,0,1,6.63,8.1c0,4.6-4.09,8.4-9.12,8.4h-35.6a30,30,0,0,1-11.19-2.2c-5.24-2.2-11.28-1.7-15.3,2l-19,17.5a11.68,11.68,0,0,0-2.25,2.66,11.42,11.42,0,0,0,3.88,15.74,83.77,83.77,0,0,0,34.51,11.5V240c0,8.8,7.83,16,17.37,16h17.37c9.55,0,17.38-7.2,17.38-16V222.4c32.93-3.6,57.84-31,53.5-63-3.15-23-22.46-41.3-46.56-47.7L282.68,97.4a8.59,8.59,0,0,1-6.63-8.1c0-4.6,4.09-8.4,9.12-8.4h35.6A30,30,0,0,1,332,83.1c5.23,2.2,11.28,1.7,15.3-2l19-17.5A11.31,11.31,0,0,0,368.47,61a11.43,11.43,0,0,0-3.84-15.78,83.82,83.82,0,0,0-34.52-11.5V16c0-8.8-7.82-16-17.37-16H295.37C285.82,0,278,7.2,278,16V33.6c-32.89,3.6-57.85,31-53.51,63C227.63,119.6,247,137.9,271.06,144.3ZM565.27,328.1c-11.8-10.7-30.2-10-42.6,0L430.27,402a63.64,63.64,0,0,1-40,14H272a16,16,0,0,1,0-32h78.29c15.9,0,30.71-10.9,33.25-26.6a31.2,31.2,0,0,0,.46-5.46A32,32,0,0,0,352,320H192a117.66,117.66,0,0,0-74.1,26.29L71.4,384H16A16,16,0,0,0,0,400v96a16,16,0,0,0,16,16H372.77a64,64,0,0,0,40-14L564,377a32,32,0,0,0,1.28-48.9Z\"]},k={prefix:\"fas\",iconName:\"heart\",icon:[512,512,[],\"f004\",\"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z\"]},O={prefix:\"fas\",iconName:\"home\",icon:[576,512,[],\"f015\",\"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z\"]},S={prefix:\"fas\",iconName:\"info-circle\",icon:[512,512,[],\"f05a\",\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"]},M={prefix:\"fas\",iconName:\"key\",icon:[512,512,[],\"f084\",\"M512 176.001C512 273.203 433.202 352 336 352c-11.22 0-22.19-1.062-32.827-3.069l-24.012 27.014A23.999 23.999 0 0 1 261.223 384H224v40c0 13.255-10.745 24-24 24h-40v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-78.059c0-6.365 2.529-12.47 7.029-16.971l161.802-161.802C163.108 213.814 160 195.271 160 176 160 78.798 238.797.001 335.999 0 433.488-.001 512 78.511 512 176.001zM336 128c0 26.51 21.49 48 48 48s48-21.49 48-48-21.49-48-48-48-48 21.49-48 48z\"]},P={prefix:\"fas\",iconName:\"language\",icon:[640,512,[],\"f1ab\",\"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z\"]},E={prefix:\"fas\",iconName:\"map-marker\",icon:[384,512,[],\"f041\",\"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0z\"]},A={prefix:\"fas\",iconName:\"minus-square\",icon:[448,512,[],\"f146\",\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z\"]},D={prefix:\"fas\",iconName:\"paper-plane\",icon:[512,512,[],\"f1d8\",\"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z\"]},R={prefix:\"fas\",iconName:\"plus-square\",icon:[448,512,[],\"f0fe\",\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z\"]},T={prefix:\"fas\",iconName:\"poll-h\",icon:[448,512,[],\"f682\",\"M448 432V80c0-26.5-21.5-48-48-48H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48zM112 192c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h128c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16H112zm0 96c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h224c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16H112zm0 96c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-64z\"]},I={prefix:\"fas\",iconName:\"recycle\",icon:[512,512,[],\"f1b8\",\"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z\"]},j={prefix:\"fas\",iconName:\"save\",icon:[448,512,[],\"f0c7\",\"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z\"]},L={prefix:\"fas\",iconName:\"search\",icon:[512,512,[],\"f002\",\"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z\"]},F={prefix:\"fas\",iconName:\"shopping-cart\",icon:[576,512,[],\"f07a\",\"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z\"]},N={prefix:\"fas\",iconName:\"sign-in-alt\",icon:[512,512,[],\"f2f6\",\"M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z\"]},V={prefix:\"fas\",iconName:\"sign-out-alt\",icon:[512,512,[],\"f2f5\",\"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z\"]},z={prefix:\"fas\",iconName:\"star\",icon:[576,512,[],\"f005\",\"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z\"]},B={prefix:\"fas\",iconName:\"sticky-note\",icon:[448,512,[],\"f249\",\"M312 320h136V56c0-13.3-10.7-24-24-24H24C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h264V344c0-13.2 10.8-24 24-24zm129 55l-98 98c-4.5 4.5-10.6 7-17 7h-6V352h128v6.1c0 6.3-2.5 12.4-7 16.9z\"]},H={prefix:\"fas\",iconName:\"sync\",icon:[512,512,[],\"f021\",\"M440.65 12.57l4 82.77A247.16 247.16 0 0 0 255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0 0 24.09 224h49.05a12 12 0 0 0 11.67-9.26 175.91 175.91 0 0 1 317-56.94l-101.46-4.86a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12H500a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12h-47.37a12 12 0 0 0-11.98 12.57zM255.83 432a175.61 175.61 0 0 1-146-77.8l101.8 4.87a12 12 0 0 0 12.57-12v-47.4a12 12 0 0 0-12-12H12a12 12 0 0 0-12 12V500a12 12 0 0 0 12 12h47.35a12 12 0 0 0 12-12.6l-4.15-82.57A247.17 247.17 0 0 0 255.83 504c121.11 0 221.93-86.92 243.55-201.82a12 12 0 0 0-11.8-14.18h-49.05a12 12 0 0 0-11.67 9.26A175.86 175.86 0 0 1 255.83 432z\"]},U={prefix:\"fas\",iconName:\"thermometer-empty\",icon:[256,512,[],\"f2cb\",\"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-35.346 28.654-64 64-64s64 28.654 64 64zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},q={prefix:\"fas\",iconName:\"thermometer-full\",icon:[256,512,[],\"f2c7\",\"M224 96c0-53.019-42.981-96-96-96S32 42.981 32 96v203.347C12.225 321.756.166 351.136.002 383.333c-.359 70.303 56.787 128.176 127.089 128.664.299.002.61.003.909.003 70.698 0 128-57.304 128-128 0-32.459-12.088-62.09-32-84.653V96zm-96 368l-.576-.002c-43.86-.304-79.647-36.544-79.423-80.42.173-33.98 19.266-51.652 31.999-66.08V96c0-26.467 21.533-48 48-48s48 21.533 48 48v221.498c12.63 14.312 32 32.164 32 66.502 0 44.112-35.888 80-80 80zm64-80c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V96c0-17.673 14.327-32 32-32s32 14.327 32 32v232.583c19.124 11.068 32 31.732 32 55.417z\"]},Q={prefix:\"fas\",iconName:\"thermometer-half\",icon:[256,512,[],\"f2c9\",\"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V224c0-17.673 14.327-32 32-32s32 14.327 32 32v104.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},W={prefix:\"fas\",iconName:\"thermometer-quarter\",icon:[256,512,[],\"f2ca\",\"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V288c0-17.673 14.327-32 32-32s32 14.327 32 32v40.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},Y={prefix:\"fas\",iconName:\"thermometer-three-quarters\",icon:[256,512,[],\"f2c8\",\"M192 384c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64 0-23.685 12.876-44.349 32-55.417V160c0-17.673 14.327-32 32-32s32 14.327 32 32v168.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z\"]},$={prefix:\"fas\",iconName:\"thumbs-up\",icon:[512,512,[],\"f164\",\"M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z\"]},G={prefix:\"fas\",iconName:\"times\",icon:[352,512,[],\"f00d\",\"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z\"]},X={prefix:\"fas\",iconName:\"trash\",icon:[448,512,[],\"f1f8\",\"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z\"]},K={prefix:\"fas\",iconName:\"trash-alt\",icon:[448,512,[],\"f2ed\",\"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z\"]},Z={prefix:\"fas\",iconName:\"trophy\",icon:[576,512,[],\"f091\",\"M552 64H448V24c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24v40H24C10.7 64 0 74.7 0 88v56c0 35.7 22.5 72.4 61.9 100.7 31.5 22.7 69.8 37.1 110 41.7C203.3 338.5 240 360 240 360v72h-48c-35.3 0-64 20.7-64 56v12c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12v-12c0-35.3-28.7-56-64-56h-48v-72s36.7-21.5 68.1-73.6c40.3-4.6 78.6-19 110-41.7 39.3-28.3 61.9-65 61.9-100.7V88c0-13.3-10.7-24-24-24zM99.3 192.8C74.9 175.2 64 155.6 64 144v-16h64.2c1 32.6 5.8 61.2 12.8 86.2-15.1-5.2-29.2-12.4-41.7-21.4zM512 144c0 16.1-17.7 36.1-35.3 48.8-12.5 9-26.7 16.2-41.8 21.4 7-25 11.8-53.6 12.8-86.2H512v16z\"]},J={prefix:\"fas\",iconName:\"truck\",icon:[640,512,[],\"f0d1\",\"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z\"]},tt={prefix:\"fas\",iconName:\"truck-loading\",icon:[640,512,[],\"f4de\",\"M50.2 375.6c2.3 8.5 11.1 13.6 19.6 11.3l216.4-58c8.5-2.3 13.6-11.1 11.3-19.6l-49.7-185.5c-2.3-8.5-11.1-13.6-19.6-11.3L151 133.3l24.8 92.7-61.8 16.5-24.8-92.7-77.3 20.7C3.4 172.8-1.7 181.6.6 190.1l49.6 185.5zM384 0c-17.7 0-32 14.3-32 32v323.6L5.9 450c-4.3 1.2-6.8 5.6-5.6 9.8l12.6 46.3c1.2 4.3 5.6 6.8 9.8 5.6l393.7-107.4C418.8 464.1 467.6 512 528 512c61.9 0 112-50.1 112-112V0H384zm144 448c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z\"]},et={prefix:\"fas\",iconName:\"tshirt\",icon:[640,512,[],\"f553\",\"M631.2 96.5L436.5 0C416.4 27.8 371.9 47.2 320 47.2S223.6 27.8 203.5 0L8.8 96.5c-7.9 4-11.1 13.6-7.2 21.5l57.2 114.5c4 7.9 13.6 11.1 21.5 7.2l56.6-27.7c10.6-5.2 23 2.5 23 14.4V480c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V226.3c0-11.8 12.4-19.6 23-14.4l56.6 27.7c7.9 4 17.5.8 21.5-7.2L638.3 118c4-7.9.8-17.6-7.1-21.5z\"]},nt={prefix:\"fas\",iconName:\"university\",icon:[512,512,[],\"f19c\",\"M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z\"]},it={prefix:\"fas\",iconName:\"unlock-alt\",icon:[448,512,[],\"f13e\",\"M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zM264 408c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48z\"]},rt={prefix:\"fas\",iconName:\"user\",icon:[448,512,[],\"f007\",\"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z\"]},st={prefix:\"fas\",iconName:\"user-circle\",icon:[496,512,[],\"f2bd\",\"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z\"]},at={prefix:\"fas\",iconName:\"user-edit\",icon:[640,512,[],\"f4ff\",\"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h274.9c-2.4-6.8-3.4-14-2.6-21.3l6.8-60.9 1.2-11.1 7.9-7.9 77.3-77.3c-24.5-27.7-60-45.5-99.9-45.5zm45.3 145.3l-6.8 61c-1.1 10.2 7.5 18.8 17.6 17.6l60.9-6.8 137.9-137.9-71.7-71.7-137.9 137.8zM633 268.9L595.1 231c-9.3-9.3-24.5-9.3-33.8 0l-37.8 37.8-4.1 4.1 71.8 71.7 41.8-41.8c9.3-9.4 9.3-24.5 0-33.9z\"]},ot={prefix:\"fas\",iconName:\"user-plus\",icon:[640,512,[],\"f234\",\"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z\"]},lt={prefix:\"fas\",iconName:\"user-secret\",icon:[448,512,[],\"f21b\",\"M383.9 308.3l23.9-62.6c4-10.5-3.7-21.7-15-21.7h-58.5c11-18.9 17.8-40.6 17.8-64v-.3c39.2-7.8 64-19.1 64-31.7 0-13.3-27.3-25.1-70.1-33-9.2-32.8-27-65.8-40.6-82.8-9.5-11.9-25.9-15.6-39.5-8.8l-27.6 13.8c-9 4.5-19.6 4.5-28.6 0L182.1 3.4c-13.6-6.8-30-3.1-39.5 8.8-13.5 17-31.4 50-40.6 82.8-42.7 7.9-70 19.7-70 33 0 12.6 24.8 23.9 64 31.7v.3c0 23.4 6.8 45.1 17.8 64H56.3c-11.5 0-19.2 11.7-14.7 22.3l25.8 60.2C27.3 329.8 0 372.7 0 422.4v44.8C0 491.9 20.1 512 44.8 512h358.4c24.7 0 44.8-20.1 44.8-44.8v-44.8c0-48.4-25.8-90.4-64.1-114.1zM176 480l-41.6-192 49.6 32 24 40-32 120zm96 0l-32-120 24-40 49.6-32L272 480zm41.7-298.5c-3.9 11.9-7 24.6-16.5 33.4-10.1 9.3-48 22.4-64-25-2.8-8.4-15.4-8.4-18.3 0-17 50.2-56 32.4-64 25-9.5-8.8-12.7-21.5-16.5-33.4-.8-2.5-6.3-5.7-6.3-5.8v-10.8c28.3 3.6 61 5.8 96 5.8s67.7-2.1 96-5.8v10.8c-.1.1-5.6 3.2-6.4 5.8z\"]},ct={prefix:\"fas\",iconName:\"user-slash\",icon:[640,512,[],\"f506\",\"M633.8 458.1L362.3 248.3C412.1 230.7 448 183.8 448 128 448 57.3 390.7 0 320 0c-67.1 0-121.5 51.8-126.9 117.4L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3zM96 422.4V464c0 26.5 21.5 48 48 48h350.2L207.4 290.3C144.2 301.3 96 356 96 422.4z\"]},ht={prefix:\"fas\",iconName:\"warehouse\",icon:[640,512,[],\"f494\",\"M504 352H136.4c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8H504c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 96H136.1c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0-192H136.6c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8H504c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm106.5-139L338.4 3.7a48.15 48.15 0 0 0-36.9 0L29.5 117C11.7 124.5 0 141.9 0 161.3V504c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V256c0-17.6 14.6-32 32.6-32h382.8c18 0 32.6 14.4 32.6 32v248c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V161.3c0-19.4-11.7-36.8-29.5-44.3z\"]}},xKc1:function(t,e,n){t.exports=function(){\"use strict\";var t=function(){},e=Object.prototype.hasOwnProperty,n=Array.prototype.slice;function i(t,i,r){for(var s,a,o=0,l=(r=n.call(arguments,2)).length;o<l;o++)for(s in a=r[o])t&&!e.call(a,s)||(i[s]=a[s])}function r(){}r.class_=\"Nevis\",r.super_=Object,r.extend=function(e,n,r,s){var a=this;return\"string\"!=typeof e&&(s=r,r=n,n=e,e=null),\"function\"!=typeof n&&(s=r,r=n,n=function(){return a.apply(this,arguments)}),i(!1,n,a,s),n.prototype=function(e,n){var r;return\"function\"==typeof Object.create?r=Object.create(e):(t.prototype=e,r=new t,t.prototype=null),n&&i(!0,r,n),r}(a.prototype,r),n.prototype.constructor=n,n.class_=e||a.class_,n.super_=a,n};var s=r,a=s.extend((function(t,e,n){this.qrious=t,this.element=e,this.element.qrious=t,this.enabled=Boolean(n)}),{draw:function(t){},getElement:function(){return this.enabled||(this.enabled=!0,this.render()),this.element},getModuleSize:function(t){var e=this.qrious,n=Math.floor((e.size-2*(e.padding||0))/t.width);return Math.max(1,n)},getOffset:function(t){var e=this.qrious,n=e.padding;if(null!=n)return n;var i=this.getModuleSize(t),r=Math.floor((e.size-i*t.width)/2);return Math.max(0,r)},render:function(t){this.enabled&&(this.resize(),this.reset(),this.draw(t))},reset:function(){},resize:function(){}}),o=a.extend({draw:function(t){var e,n,i=this.qrious,r=this.getModuleSize(t),s=this.getOffset(t),a=this.element.getContext(\"2d\");for(a.fillStyle=i.foreground,a.globalAlpha=i.foregroundAlpha,e=0;e<t.width;e++)for(n=0;n<t.width;n++)t.buffer[n*t.width+e]&&a.fillRect(r*e+s,r*n+s,r,r)},reset:function(){var t=this.qrious,e=this.element.getContext(\"2d\"),n=t.size;e.lineWidth=1,e.clearRect(0,0,n,n),e.fillStyle=t.background,e.globalAlpha=t.backgroundAlpha,e.fillRect(0,0,n,n)},resize:function(){var t=this.element;t.width=t.height=this.qrious.size}}),l=s.extend(null,{BLOCK:[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28]}),c=s.extend(null,{BLOCKS:[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],FINAL_FORMAT:[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],LEVELS:{L:1,M:2,Q:3,H:4}}),h=s.extend(null,{EXPONENT:[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],LOG:[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175]}),d=s.extend(null,{BLOCK:[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177]}),u=s.extend((function(t){var e,n,i,r,s,a=t.value.length;for(this._badness=[],this._level=c.LEVELS[t.level],this._polynomial=[],this._value=t.value,this._version=0,this._stringBuffer=[];this._version<40&&(this._version++,i=4*(this._level-1)+16*(this._version-1),r=c.BLOCKS[i++],s=c.BLOCKS[i++],e=c.BLOCKS[i++],n=c.BLOCKS[i],!(a<=(i=e*(r+s)+s-3+(this._version<=9)))););this._dataBlock=e,this._eccBlock=n,this._neccBlock1=r,this._neccBlock2=s;var o=this.width=17+4*this._version;this.buffer=u._createArray(o*o),this._ecc=u._createArray(e+(e+n)*(r+s)+s),this._mask=u._createArray((o*(o+1)+1)/2),this._insertFinders(),this._insertAlignments(),this.buffer[8+o*(o-8)]=1,this._insertTimingGap(),this._reverseMask(),this._insertTimingRowAndColumn(),this._insertVersion(),this._syncMask(),this._convertBitStream(a),this._calculatePolynomial(),this._appendEccToData(),this._interleaveBlocks(),this._pack(),this._finish()}),{_addAlignment:function(t,e){var n,i=this.buffer,r=this.width;for(i[t+r*e]=1,n=-2;n<2;n++)i[t+n+r*(e-2)]=1,i[t-2+r*(e+n+1)]=1,i[t+2+r*(e+n)]=1,i[t+n+1+r*(e+2)]=1;for(n=0;n<2;n++)this._setMask(t-1,e+n),this._setMask(t+1,e-n),this._setMask(t-n,e-1),this._setMask(t+n,e+1)},_appendData:function(t,e,n,i){var r,s,a,o=this._polynomial,l=this._stringBuffer;for(s=0;s<i;s++)l[n+s]=0;for(s=0;s<e;s++){if(255!==(r=h.LOG[l[t+s]^l[n]]))for(a=1;a<i;a++)l[n+a-1]=l[n+a]^h.EXPONENT[u._modN(r+o[i-a])];else for(a=n;a<n+i;a++)l[a]=l[a+1];l[n+i-1]=255===r?0:h.EXPONENT[u._modN(r+o[0])]}},_appendEccToData:function(){var t,e=0,n=this._dataBlock,i=this._calculateMaxLength(),r=this._eccBlock;for(t=0;t<this._neccBlock1;t++)this._appendData(e,n,i,r),e+=n,i+=r;for(t=0;t<this._neccBlock2;t++)this._appendData(e,n+1,i,r),e+=n+1,i+=r},_applyMask:function(t){var e,n,i,r,s=this.buffer,a=this.width;switch(t){case 0:for(r=0;r<a;r++)for(i=0;i<a;i++)i+r&1||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 1:for(r=0;r<a;r++)for(i=0;i<a;i++)1&r||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 2:for(r=0;r<a;r++)for(e=0,i=0;i<a;i++,e++)3===e&&(e=0),e||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 3:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=n,i=0;i<a;i++,e++)3===e&&(e=0),e||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 4:for(r=0;r<a;r++)for(e=0,n=r>>1&1,i=0;i<a;i++,e++)3===e&&(e=0,n=!n),n||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 5:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=0,i=0;i<a;i++,e++)3===e&&(e=0),(i&r&1)+!(!e|!n)||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 6:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=0,i=0;i<a;i++,e++)3===e&&(e=0),(i&r&1)+(e&&e===n)&1||this._isMasked(i,r)||(s[i+r*a]^=1);break;case 7:for(n=0,r=0;r<a;r++,n++)for(3===n&&(n=0),e=0,i=0;i<a;i++,e++)3===e&&(e=0),(e&&e===n)+(i+r&1)&1||this._isMasked(i,r)||(s[i+r*a]^=1)}},_calculateMaxLength:function(){return this._dataBlock*(this._neccBlock1+this._neccBlock2)+this._neccBlock2},_calculatePolynomial:function(){var t,e,n=this._eccBlock,i=this._polynomial;for(i[0]=1,t=0;t<n;t++){for(i[t+1]=1,e=t;e>0;e--)i[e]=i[e]?i[e-1]^h.EXPONENT[u._modN(h.LOG[i[e]]+t)]:i[e-1];i[0]=h.EXPONENT[u._modN(h.LOG[i[0]]+t)]}for(t=0;t<=n;t++)i[t]=h.LOG[i[t]]},_checkBadness:function(){var t,e,n,i,r,s=0,a=this._badness,o=this.buffer,l=this.width;for(r=0;r<l-1;r++)for(i=0;i<l-1;i++)(o[i+l*r]&&o[i+1+l*r]&&o[i+l*(r+1)]&&o[i+1+l*(r+1)]||!(o[i+l*r]||o[i+1+l*r]||o[i+l*(r+1)]||o[i+1+l*(r+1)]))&&(s+=u.N2);var c=0;for(r=0;r<l;r++){for(n=0,a[0]=0,t=0,i=0;i<l;i++)t===(e=o[i+l*r])?a[n]++:a[++n]=1,c+=(t=e)?1:-1;s+=this._getBadness(n)}c<0&&(c=-c);var h=0,d=c;for(d+=d<<2,d<<=1;d>l*l;)d-=l*l,h++;for(s+=h*u.N4,i=0;i<l;i++){for(n=0,a[0]=0,t=0,r=0;r<l;r++)t===(e=o[i+l*r])?a[n]++:a[++n]=1,t=e;s+=this._getBadness(n)}return s},_convertBitStream:function(t){var e,n,i=this._ecc,r=this._version;for(n=0;n<t;n++)i[n]=this._value.charCodeAt(n);var s=this._stringBuffer=i.slice(),a=this._calculateMaxLength();t>=a-2&&(t=a-2,r>9&&t--);var o=t;if(r>9){for(s[o+2]=0,s[o+3]=0;o--;)s[o+3]|=255&(e=s[o])<<4,s[o+2]=e>>4;s[2]|=255&t<<4,s[1]=t>>4,s[0]=64|t>>12}else{for(s[o+1]=0,s[o+2]=0;o--;)s[o+2]|=255&(e=s[o])<<4,s[o+1]=e>>4;s[1]|=255&t<<4,s[0]=64|t>>4}for(o=t+3-(r<10);o<a;)s[o++]=236,s[o++]=17},_getBadness:function(t){var e,n=0,i=this._badness;for(e=0;e<=t;e++)i[e]>=5&&(n+=u.N1+i[e]-5);for(e=3;e<t-1;e+=2)i[e-2]===i[e+2]&&i[e+2]===i[e-1]&&i[e-1]===i[e+1]&&3*i[e-1]===i[e]&&(0===i[e-3]||e+3>t||3*i[e-3]>=4*i[e]||3*i[e+3]>=4*i[e])&&(n+=u.N3);return n},_finish:function(){var t,e;this._stringBuffer=this.buffer.slice();var n=0,i=3e4;for(e=0;e<8&&(this._applyMask(e),(t=this._checkBadness())<i&&(i=t,n=e),7!==n);e++)this.buffer=this._stringBuffer.slice();n!==e&&this._applyMask(n),i=c.FINAL_FORMAT[n+(this._level-1<<3)];var r=this.buffer,s=this.width;for(e=0;e<8;e++,i>>=1)1&i&&(r[s-1-e+8*s]=1,e<6?r[8+s*e]=1:r[8+s*(e+1)]=1);for(e=0;e<7;e++,i>>=1)1&i&&(r[8+s*(s-7+e)]=1,e?r[6-e+8*s]=1:r[7+8*s]=1)},_interleaveBlocks:function(){var t,e,n=this._dataBlock,i=this._ecc,r=this._eccBlock,s=0,a=this._calculateMaxLength(),o=this._neccBlock1,l=this._neccBlock2,c=this._stringBuffer;for(t=0;t<n;t++){for(e=0;e<o;e++)i[s++]=c[t+e*n];for(e=0;e<l;e++)i[s++]=c[o*n+t+e*(n+1)]}for(e=0;e<l;e++)i[s++]=c[o*n+t+e*(n+1)];for(t=0;t<r;t++)for(e=0;e<o+l;e++)i[s++]=c[a+t+e*r];this._stringBuffer=i},_insertAlignments:function(){var t,e,n,i=this._version,r=this.width;if(i>1)for(t=l.BLOCK[i],n=r-7;;){for(e=r-7;e>t-3&&(this._addAlignment(e,n),!(e<t));)e-=t;if(n<=t+9)break;this._addAlignment(6,n-=t),this._addAlignment(n,6)}},_insertFinders:function(){var t,e,n,i,r=this.buffer,s=this.width;for(t=0;t<3;t++){for(e=0,i=0,1===t&&(e=s-7),2===t&&(i=s-7),r[i+3+s*(e+3)]=1,n=0;n<6;n++)r[i+n+s*e]=1,r[i+s*(e+n+1)]=1,r[i+6+s*(e+n)]=1,r[i+n+1+s*(e+6)]=1;for(n=1;n<5;n++)this._setMask(i+n,e+1),this._setMask(i+1,e+n+1),this._setMask(i+5,e+n),this._setMask(i+n+1,e+5);for(n=2;n<4;n++)r[i+n+s*(e+2)]=1,r[i+2+s*(e+n+1)]=1,r[i+4+s*(e+n)]=1,r[i+n+1+s*(e+4)]=1}},_insertTimingGap:function(){var t,e,n=this.width;for(e=0;e<7;e++)this._setMask(7,e),this._setMask(n-8,e),this._setMask(7,e+n-7);for(t=0;t<8;t++)this._setMask(t,7),this._setMask(t+n-8,7),this._setMask(t,n-8)},_insertTimingRowAndColumn:function(){var t,e=this.buffer,n=this.width;for(t=0;t<n-14;t++)1&t?(this._setMask(8+t,6),this._setMask(6,8+t)):(e[8+t+6*n]=1,e[6+n*(8+t)]=1)},_insertVersion:function(){var t,e,n,i,r=this.buffer,s=this._version,a=this.width;if(s>6)for(t=d.BLOCK[s-7],e=17,n=0;n<6;n++)for(i=0;i<3;i++,e--)1&(e>11?s>>e-12:t>>e)?(r[5-n+a*(2-i+a-11)]=1,r[2-i+a-11+a*(5-n)]=1):(this._setMask(5-n,2-i+a-11),this._setMask(2-i+a-11,5-n))},_isMasked:function(t,e){var n=u._getMaskBit(t,e);return 1===this._mask[n]},_pack:function(){var t,e,n,i=1,r=1,s=this.width,a=s-1,o=s-1,l=(this._dataBlock+this._eccBlock)*(this._neccBlock1+this._neccBlock2)+this._neccBlock2;for(e=0;e<l;e++)for(t=this._stringBuffer[e],n=0;n<8;n++,t<<=1){128&t&&(this.buffer[a+s*o]=1);do{r?a--:(a++,i?0!==o?o--:(i=!i,6==(a-=2)&&(a--,o=9)):o!==s-1?o++:(i=!i,6==(a-=2)&&(a--,o-=8))),r=!r}while(this._isMasked(a,o))}},_reverseMask:function(){var t,e,n=this.width;for(t=0;t<9;t++)this._setMask(t,8);for(t=0;t<8;t++)this._setMask(t+n-8,8),this._setMask(8,t);for(e=0;e<7;e++)this._setMask(8,e+n-7)},_setMask:function(t,e){var n=u._getMaskBit(t,e);this._mask[n]=1},_syncMask:function(){var t,e,n=this.width;for(e=0;e<n;e++)for(t=0;t<=e;t++)this.buffer[t+n*e]&&this._setMask(t,e)}},{_createArray:function(t){var e,n=[];for(e=0;e<t;e++)n[e]=0;return n},_getMaskBit:function(t,e){var n;return t>e&&(n=t,t=e,e=n),n=e,n+=e*e,(n>>=1)+t},_modN:function(t){for(;t>=255;)t=((t-=255)>>8)+(255&t);return t},N1:3,N2:3,N3:40,N4:10}),p=u,m=a.extend({draw:function(){this.element.src=this.qrious.toDataURL()},reset:function(){this.element.src=\"\"},resize:function(){var t=this.element;t.width=t.height=this.qrious.size}}),f=s.extend((function(t,e,n,i){this.name=t,this.modifiable=Boolean(e),this.defaultValue=n,this._valueTransformer=i}),{transform:function(t){var e=this._valueTransformer;return\"function\"==typeof e?e(t,this):t}}),g=s.extend(null,{abs:function(t){return null!=t?Math.abs(t):null},hasOwn:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},noop:function(){},toUpperCase:function(t){return null!=t?t.toUpperCase():null}}),b=s.extend((function(t){this.options={},t.forEach((function(t){this.options[t.name]=t}),this)}),{exists:function(t){return null!=this.options[t]},get:function(t,e){return b._get(this.options[t],e)},getAll:function(t){var e,n=this.options,i={};for(e in n)g.hasOwn(n,e)&&(i[e]=b._get(n[e],t));return i},init:function(t,e,n){var i,r;for(i in\"function\"!=typeof n&&(n=g.noop),this.options)g.hasOwn(this.options,i)&&(b._set(r=this.options[i],r.defaultValue,e),b._createAccessor(r,e,n));this._setAll(t,e,!0)},set:function(t,e,n){return this._set(t,e,n)},setAll:function(t,e){return this._setAll(t,e)},_set:function(t,e,n,i){var r=this.options[t];if(!r)throw new Error(\"Invalid option: \"+t);if(!r.modifiable&&!i)throw new Error(\"Option cannot be modified: \"+t);return b._set(r,e,n)},_setAll:function(t,e,n){if(!t)return!1;var i,r=!1;for(i in t)g.hasOwn(t,i)&&this._set(i,t[i],e,n)&&(r=!0);return r}},{_createAccessor:function(t,e,n){var i={get:function(){return b._get(t,e)}};t.modifiable&&(i.set=function(i){b._set(t,i,e)&&n(i,t)}),Object.defineProperty(e,t.name,i)},_get:function(t,e){return e[\"_\"+t.name]},_set:function(t,e,n){var i=\"_\"+t.name,r=n[i],s=t.transform(null!=e?e:t.defaultValue);return n[i]=s,s!==r}}),_=b,y=s.extend((function(){this._services={}}),{getService:function(t){var e=this._services[t];if(!e)throw new Error(\"Service is not being managed with name: \"+t);return e},setService:function(t,e){if(this._services[t])throw new Error(\"Service is already managed with name: \"+t);e&&(this._services[t]=e)}}),v=new _([new f(\"background\",!0,\"white\"),new f(\"backgroundAlpha\",!0,1,g.abs),new f(\"element\"),new f(\"foreground\",!0,\"black\"),new f(\"foregroundAlpha\",!0,1,g.abs),new f(\"level\",!0,\"L\",g.toUpperCase),new f(\"mime\",!0,\"image/png\"),new f(\"padding\",!0,null,g.abs),new f(\"size\",!0,100,g.abs),new f(\"value\",!0,\"\")]),w=new y,x=s.extend((function(t){v.init(t,this,this.update.bind(this));var e=v.get(\"element\",this),n=w.getService(\"element\"),i=e&&n.isCanvas(e)?e:n.createCanvas(),r=e&&n.isImage(e)?e:n.createImage();this._canvasRenderer=new o(this,i,!0),this._imageRenderer=new m(this,r,r===e),this.update()}),{get:function(){return v.getAll(this)},set:function(t){v.setAll(t,this)&&this.update()},toDataURL:function(t){return this.canvas.toDataURL(t||this.mime)},update:function(){var t=new p({level:this.level,value:this.value});this._canvasRenderer.render(t),this._imageRenderer.render(t)}},{use:function(t){w.setService(t.getName(),t)}});Object.defineProperties(x.prototype,{canvas:{get:function(){return this._canvasRenderer.getElement()}},image:{get:function(){return this._imageRenderer.getElement()}}});var C=x,k=s.extend({getName:function(){}}).extend({createCanvas:function(){},createImage:function(){},getName:function(){return\"element\"},isCanvas:function(t){},isImage:function(t){}}).extend({createCanvas:function(){return document.createElement(\"canvas\")},createImage:function(){return document.createElement(\"img\")},isCanvas:function(t){return t instanceof HTMLCanvasElement},isImage:function(t){return t instanceof HTMLImageElement}});return C.use(new k),C}()},xgIS:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));var i=n(\"HDdC\"),r=n(\"DH7j\"),s=n(\"n6bG\"),a=n(\"lJxs\");function o(t,e,n,l){return Object(s.a)(n)&&(l=n,n=void 0),l?o(t,e,n).pipe(Object(a.a)(t=>Object(r.a)(t)?l(...t):l(t))):new i.a(i=>{!function t(e,n,i,r,s){let a;if(function(t){return t&&\"function\"==typeof t.addEventListener&&\"function\"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,i,s),a=()=>t.removeEventListener(n,i,s)}else if(function(t){return t&&\"function\"==typeof t.on&&\"function\"==typeof t.off}(e)){const t=e;e.on(n,i),a=()=>t.off(n,i)}else if(function(t){return t&&\"function\"==typeof t.addListener&&\"function\"==typeof t.removeListener}(e)){const t=e;e.addListener(n,i),a=()=>t.removeListener(n,i)}else{if(!e||!e.length)throw new TypeError(\"Invalid event target\");for(let a=0,o=e.length;a<o;a++)t(e[a],n,i,r,s)}r.add(a)}(t,e,(function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),i,n)})}},yCtX:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"HDdC\"),r=n(\"ngJS\"),s=n(\"jZKg\");function a(t,e){return e?Object(s.a)(t,e):new i.a(Object(r.a)(t))}},yeub:function(t,e){try{t.exports=\"undefined\"!=typeof XMLHttpRequest&&\"withCredentials\"in new XMLHttpRequest}catch(n){t.exports=!1}},ypnn:function(t,e){t.exports=function(t,e,n){var i=t.byteLength;if(e=e||0,n=n||i,t.slice)return t.slice(e,n);if(e<0&&(e+=i),n<0&&(n+=i),n>i&&(n=i),e>=i||e>=n||0===i)return new ArrayBuffer(0);for(var r=new Uint8Array(t),s=new Uint8Array(n-e),a=e,o=0;a<n;a++,o++)s[o]=r[a];return s.buffer}},\"z+Ro\":function(t,e,n){\"use strict\";function i(t){return t&&\"function\"==typeof t.schedule}n.d(e,\"a\",(function(){return i}))},z6cu:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"HDdC\");function r(t,e){return new i.a(e?n=>e.schedule(s,0,{error:t,subscriber:n}):e=>e.error(t))}function s({error:t,subscriber:e}){e.error(t)}},zJ60:function(t,e,n){var i=n(\"Uxeu\"),r=n(\"NOtv\")(\"socket.io-client:url\");t.exports=function(t,e){var n=t;e=e||\"undefined\"!=typeof location&&location,null==t&&(t=e.protocol+\"//\"+e.host),\"string\"==typeof t&&(\"/\"===t.charAt(0)&&(t=\"/\"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\\/\\//.test(t)||(r(\"protocol-less url %s\",t),t=void 0!==e?e.protocol+\"//\"+t:\"https://\"+t),r(\"parse %s\",t),n=i(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port=\"80\":/^(http|ws)s$/.test(n.protocol)&&(n.port=\"443\")),n.path=n.path||\"/\";var s=-1!==n.host.indexOf(\":\")?\"[\"+n.host+\"]\":n.host;return n.id=n.protocol+\"://\"+s+\":\"+n.port,n.href=n.protocol+\"://\"+s+(e&&e.port===n.port?\"\":\":\"+n.port),n}},zMFY:function(t,e){function n(){}t.exports=function(t,e,i){var r=!1;return i=i||n,s.count=t,0===t?e():s;function s(t,n){if(s.count<=0)throw new Error(\"after called too many times\");--s.count,t?(r=!0,e(t),e=i):0!==s.count||r||e(null,n)}}},zkoq:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return y})),n.d(e,\"b\",(function(){return v})),n.d(e,\"c\",(function(){return c}));var i=n(\"fXoL\"),r=n(\"FKr1\"),s=n(\"8LU1\"),a=n(\"cH1L\");const o=[\"*\"],l=new i.r(\"MAT_GRID_LIST\");let c=(()=>{class t{constructor(t,e){this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(Object(s.f)(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(Object(s.f)(t))}_setStyle(t,e){this._element.nativeElement.style[t]=e}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(l,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-grid-tile\"]],hostAttrs:[1,\"mat-grid-tile\"],hostVars:2,hostBindings:function(t,e){2&t&&i.Eb(\"rowspan\",e.rowspan)(\"colspan\",e.colspan)},inputs:{rowspan:\"rowspan\",colspan:\"colspan\"},exportAs:[\"matGridTile\"],ngContentSelectors:o,decls:2,vars:0,consts:[[1,\"mat-figure\"]],template:function(t,e){1&t&&(i.nc(),i.Wb(0,\"figure\",0),i.mc(1),i.Vb())},styles:[\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\\n\"],encapsulation:2,changeDetection:0}),t})();class h{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new d(this.rowIndex,e)}_findMatchingGap(t){if(t>this.tracker.length)throw Error(`mat-grid-list: tile with colspan ${t} is wider than `+`grid with cols=\"${this.tracker.length}\".`);let e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)))}while(n-e<t||0==n);return Math.max(e,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}_findGapEndIndex(t){for(let e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}_markTilePosition(t,e){for(let n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan}}class d{constructor(t,e){this.row=t,this.col=e}}const u=/^-?\\d+((\\.\\d+)?[A-Za-z%$]?)+$/;class p{constructor(){this._rows=0,this._rowspan=0}init(t,e,n,i){this._gutterSize=_(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=i}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?\"0\":b(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,n){let i=100/this._cols,r=(this._cols-1)/this._cols;this.setColStyles(t,n,i,r),this.setRowStyles(t,e,i,r)}setColStyles(t,e,n,i){let r=this.getBaseTileSize(n,i);t._setStyle(\"rtl\"===this._direction?\"right\":\"left\",this.getTilePosition(r,e)),t._setStyle(\"width\",b(this.getTileSize(r,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class m extends p{constructor(t){super(),this.fixedRowHeight=t}init(t,e,n,i){if(super.init(t,e,n,i),this.fixedRowHeight=_(this.fixedRowHeight),!u.test(this.fixedRowHeight))throw Error(`Invalid value \"${this.fixedRowHeight}\" set as rowHeight.`)}setRowStyles(t,e){t._setStyle(\"top\",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle(\"height\",b(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return[\"height\",b(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle([\"height\",null]),t._tiles&&t._tiles.forEach(t=>{t._setStyle(\"top\",null),t._setStyle(\"height\",null)})}}class f extends p{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),t._setStyle(\"marginTop\",this.getTilePosition(this.baseTileHeight,e)),t._setStyle(\"paddingTop\",b(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return[\"paddingBottom\",b(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle([\"paddingBottom\",null]),t._tiles.forEach(t=>{t._setStyle(\"marginTop\",null),t._setStyle(\"paddingTop\",null)})}_parseRatio(t){const e=t.split(\":\");if(2!==e.length)throw Error(`mat-grid-list: invalid ratio given for row-height: \"${t}\"`);this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class g extends p{setRowStyles(t,e){let n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle(\"top\",this.getTilePosition(n,e)),t._setStyle(\"height\",b(this.getTileSize(n,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(t=>{t._setStyle(\"top\",null),t._setStyle(\"height\",null)})}}function b(t){return`calc(${t})`}function _(t){return t.match(/([A-Za-z%]+)$/)?t:`${t}px`}let y=(()=>{class t{constructor(t,e){this._element=t,this._dir=e,this._gutter=\"1px\"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(Object(s.f)(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=`${null==t?\"\":t}`}get rowHeight(){return this._rowHeight}set rowHeight(t){const e=`${null==t?\"\":t}`;e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){if(!this.cols)throw Error('mat-grid-list: must pass in number of columns. Example: <mat-grid-list cols=\"3\">')}_checkRowHeight(){this._rowHeight||this._setTileStyler(\"1:1\")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler=\"fit\"===t?new g:t&&t.indexOf(\":\")>-1?new f(t):new m(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new h);const t=this._tileCoordinator,e=this._tiles.filter(t=>!t._gridList||t._gridList===this),n=this._dir?this._dir.value:\"ltr\";this._tileCoordinator.update(this.cols,e),this._tileStyler.init(this.gutterSize,t,this.cols,n),e.forEach((e,n)=>{const i=t.positions[n];this._tileStyler.setStyle(e,i.row,i.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(a.b,8))},t.\\u0275cmp=i.Kb({type:t,selectors:[[\"mat-grid-list\"]],contentQueries:function(t,e,n){var r;1&t&&i.Jb(n,c,!0),2&t&&i.vc(r=i.fc())&&(e._tiles=r)},hostAttrs:[1,\"mat-grid-list\"],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb(\"cols\",e.cols)},inputs:{cols:\"cols\",gutterSize:\"gutterSize\",rowHeight:\"rowHeight\"},exportAs:[\"matGridList\"],features:[i.Cb([{provide:l,useExisting:t}])],ngContentSelectors:o,decls:2,vars:0,template:function(t,e){1&t&&(i.nc(),i.Wb(0,\"div\"),i.mc(1),i.Vb())},styles:[\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\\n\"],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[r.h,r.f],r.h,r.f]}),t})()},znSr:function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return y})),n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return b}));var i=n(\"fXoL\"),r=n(\"ofXK\"),s=n(\"pD6V\"),a=n(\"8LU1\"),o=n(\"1G5W\");n(\"jhN1\");let l=(()=>{class t extends s.b{constructor(t,e,n,i,s,a,o){super(t,null,e,n),this.ngClassInstance=o,this.DIRECTIVE_KEY=\"ngClass\",this.ngClassInstance||(this.ngClassInstance=new r.j(i,s,t,a)),this.init(),this.setValue(\"\",\"\")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,\"\")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(s.i),i.Qb(s.f),i.Qb(i.t),i.Qb(i.u),i.Qb(i.F),i.Qb(r.j,10))},t.\\u0275dir=i.Lb({type:t,inputs:{klass:[\"class\",\"klass\"]},features:[i.Ab]}),t})();const c=[\"ngClass\",\"ngClass.xs\",\"ngClass.sm\",\"ngClass.md\",\"ngClass.lg\",\"ngClass.xl\",\"ngClass.lt-sm\",\"ngClass.lt-md\",\"ngClass.lt-lg\",\"ngClass.lt-xl\",\"ngClass.gt-xs\",\"ngClass.gt-sm\",\"ngClass.gt-md\",\"ngClass.gt-lg\"];let h=(()=>{class t extends l{constructor(){super(...arguments),this.inputs=c}}return t.\\u0275fac=function(e){return d(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"ngClass\",\"\"],[\"\",\"ngClass.xs\",\"\"],[\"\",\"ngClass.sm\",\"\"],[\"\",\"ngClass.md\",\"\"],[\"\",\"ngClass.lg\",\"\"],[\"\",\"ngClass.xl\",\"\"],[\"\",\"ngClass.lt-sm\",\"\"],[\"\",\"ngClass.lt-md\",\"\"],[\"\",\"ngClass.lt-lg\",\"\"],[\"\",\"ngClass.lt-xl\",\"\"],[\"\",\"ngClass.gt-xs\",\"\"],[\"\",\"ngClass.gt-sm\",\"\"],[\"\",\"ngClass.gt-md\",\"\"],[\"\",\"ngClass.gt-lg\",\"\"]],inputs:{ngClass:\"ngClass\",\"ngClass.xs\":\"ngClass.xs\",\"ngClass.sm\":\"ngClass.sm\",\"ngClass.md\":\"ngClass.md\",\"ngClass.lg\":\"ngClass.lg\",\"ngClass.xl\":\"ngClass.xl\",\"ngClass.lt-sm\":\"ngClass.lt-sm\",\"ngClass.lt-md\":\"ngClass.lt-md\",\"ngClass.lt-lg\":\"ngClass.lt-lg\",\"ngClass.lt-xl\":\"ngClass.lt-xl\",\"ngClass.gt-xs\":\"ngClass.gt-xs\",\"ngClass.gt-sm\":\"ngClass.gt-sm\",\"ngClass.gt-md\":\"ngClass.gt-md\",\"ngClass.gt-lg\":\"ngClass.gt-lg\"},features:[i.Ab]}),t})();const d=i.Yb(h);let u=(()=>{class t extends s.h{buildStyles(t,e){return{display:\"true\"===t?e.display:\"none\"}}}return t.\\u0275fac=function(e){return p(e||t)},t.\\u0275prov=Object(i.Mb)({factory:function(){return new t},token:t,providedIn:\"root\"}),t})();const p=i.Yb(u);let m=(()=>{class t extends s.b{constructor(t,e,n,i,r,s,a){super(t,e,n,i),this.layoutConfig=r,this.platformId=s,this.serverModuleLoaded=a,this.DIRECTIVE_KEY=\"show-hide\",this.display=\"\",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const t=Array.from(this.nativeElement.children);for(let n=0;n<t.length;n++)if(this.marshal.hasValue(t[n],\"flex\")){this.hasFlexChild=!0;break}f.has(this.nativeElement)?this.display=f.get(this.nativeElement):(this.display=this.getDisplayStyle(),f.set(this.nativeElement,this.display)),this.init();const e=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,\"\");void 0===e||\"\"===e?this.setValue(!0,\"\"):this.triggerUpdate()}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(\".\"),i=n.slice(1).join(\".\"),r=t[e].currentValue;let s=\"\"===r||0!==r&&Object(a.c)(r);\"fxHide\"===n[0]&&(s=!s),this.setValue(s,i)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,\"layout\"),[\"layout\",\"layout-align\"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe(Object(o.a)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?\"flex\":this.styler.lookupStyle(this.nativeElement,\"display\",!0)}updateWithValue(t=!0){\"\"!==t&&(this.addStyles(t?\"true\":\"false\",{display:this.display}),Object(r.u)(this.platformId)&&this.serverModuleLoaded&&this.nativeElement.style.setProperty(\"display\",\"\"),this.marshal.triggerUpdate(this.parentElement,\"layout-gap\"))}}return t.\\u0275fac=function(e){return new(e||t)(i.Qb(i.l),i.Qb(u),i.Qb(s.i),i.Qb(s.f),i.Qb(s.e),i.Qb(i.C),i.Qb(s.g))},t.\\u0275dir=i.Lb({type:t,features:[i.Ab,i.Bb()]}),t})();const f=new WeakMap,g=[\"fxShow\",\"fxShow.print\",\"fxShow.xs\",\"fxShow.sm\",\"fxShow.md\",\"fxShow.lg\",\"fxShow.xl\",\"fxShow.lt-sm\",\"fxShow.lt-md\",\"fxShow.lt-lg\",\"fxShow.lt-xl\",\"fxShow.gt-xs\",\"fxShow.gt-sm\",\"fxShow.gt-md\",\"fxShow.gt-lg\",\"fxHide\",\"fxHide.print\",\"fxHide.xs\",\"fxHide.sm\",\"fxHide.md\",\"fxHide.lg\",\"fxHide.xl\",\"fxHide.lt-sm\",\"fxHide.lt-md\",\"fxHide.lt-lg\",\"fxHide.lt-xl\",\"fxHide.gt-xs\",\"fxHide.gt-sm\",\"fxHide.gt-md\",\"fxHide.gt-lg\"];let b=(()=>{class t extends m{constructor(){super(...arguments),this.inputs=g}}return t.\\u0275fac=function(e){return _(e||t)},t.\\u0275dir=i.Lb({type:t,selectors:[[\"\",\"fxShow\",\"\"],[\"\",\"fxShow.print\",\"\"],[\"\",\"fxShow.xs\",\"\"],[\"\",\"fxShow.sm\",\"\"],[\"\",\"fxShow.md\",\"\"],[\"\",\"fxShow.lg\",\"\"],[\"\",\"fxShow.xl\",\"\"],[\"\",\"fxShow.lt-sm\",\"\"],[\"\",\"fxShow.lt-md\",\"\"],[\"\",\"fxShow.lt-lg\",\"\"],[\"\",\"fxShow.lt-xl\",\"\"],[\"\",\"fxShow.gt-xs\",\"\"],[\"\",\"fxShow.gt-sm\",\"\"],[\"\",\"fxShow.gt-md\",\"\"],[\"\",\"fxShow.gt-lg\",\"\"],[\"\",\"fxHide\",\"\"],[\"\",\"fxHide.print\",\"\"],[\"\",\"fxHide.xs\",\"\"],[\"\",\"fxHide.sm\",\"\"],[\"\",\"fxHide.md\",\"\"],[\"\",\"fxHide.lg\",\"\"],[\"\",\"fxHide.xl\",\"\"],[\"\",\"fxHide.lt-sm\",\"\"],[\"\",\"fxHide.lt-md\",\"\"],[\"\",\"fxHide.lt-lg\",\"\"],[\"\",\"fxHide.lt-xl\",\"\"],[\"\",\"fxHide.gt-xs\",\"\"],[\"\",\"fxHide.gt-sm\",\"\"],[\"\",\"fxHide.gt-md\",\"\"],[\"\",\"fxHide.gt-lg\",\"\"]],inputs:{fxShow:\"fxShow\",\"fxShow.print\":\"fxShow.print\",\"fxShow.xs\":\"fxShow.xs\",\"fxShow.sm\":\"fxShow.sm\",\"fxShow.md\":\"fxShow.md\",\"fxShow.lg\":\"fxShow.lg\",\"fxShow.xl\":\"fxShow.xl\",\"fxShow.lt-sm\":\"fxShow.lt-sm\",\"fxShow.lt-md\":\"fxShow.lt-md\",\"fxShow.lt-lg\":\"fxShow.lt-lg\",\"fxShow.lt-xl\":\"fxShow.lt-xl\",\"fxShow.gt-xs\":\"fxShow.gt-xs\",\"fxShow.gt-sm\":\"fxShow.gt-sm\",\"fxShow.gt-md\":\"fxShow.gt-md\",\"fxShow.gt-lg\":\"fxShow.gt-lg\",fxHide:\"fxHide\",\"fxHide.print\":\"fxHide.print\",\"fxHide.xs\":\"fxHide.xs\",\"fxHide.sm\":\"fxHide.sm\",\"fxHide.md\":\"fxHide.md\",\"fxHide.lg\":\"fxHide.lg\",\"fxHide.xl\":\"fxHide.xl\",\"fxHide.lt-sm\":\"fxHide.lt-sm\",\"fxHide.lt-md\":\"fxHide.lt-md\",\"fxHide.lt-lg\":\"fxHide.lt-lg\",\"fxHide.lt-xl\":\"fxHide.lt-xl\",\"fxHide.gt-xs\":\"fxHide.gt-xs\",\"fxHide.gt-sm\":\"fxHide.gt-sm\",\"fxHide.gt-md\":\"fxHide.gt-md\",\"fxHide.gt-lg\":\"fxHide.gt-lg\"},features:[i.Ab]}),t})();const _=i.Yb(b);let y=(()=>{class t{}return t.\\u0275mod=i.Ob({type:t}),t.\\u0275inj=i.Nb({factory:function(e){return new(e||t)},imports:[[s.c]]}),t})()}}"}],"count":"3","solution":"<p>Ensure that application Source Code is not available with alternative extensions, and ensure that source code is not present within other files or data deployed to the web server, or served by the web server. <\/p>","otherinfo":"<p>class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/admin\"}getApplicationConfiguration(){return this.configObservable?this.configObservable:(this.configObservable=this.http.get(this.host+\"/application-configuration\").pipe(Object(s.a)(t=>t.config,Object(l.a)(t=>{throw t}))),this.configObservable)}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var u=i(\"7O5W\"),d=i(\"8tEE\"),m=i(\"wHSu\"),p=i(\"twK/\"),h=i(\"XiUz\"),f=i(\"Wp6s\"),g=i(\"sYmb\"),v=i(\"bTqV\");const C=function(t){return{juicycoin:t}};u.b.add(d.a,m.bb,m.t,m.j,m.k,p.a,p.b),u.a.watch();let w=(()=>{class t{constructor(t){this.configurationService=t,this.altcoinName=\"Juicycoin\"}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.altcoinName&&(this.altcoinName=t.application.altcoinName)},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-token-sale\"]],decls:114,vars:26,consts:[[\"fxLayout\",\"row\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap\",\"20px\",1,\"container\"],[\"fxFlexAlign\",\"center\",1,\"whitepaper-container\",\"offer-container\"],[1,\"heading\"],[2,\"margin-left\",\"10px\",3,\"innerHtml\"],[2,\"margin-left\",\"10px\"],[\"translate\",\"\"],[\"href\",\"https://ponzico.win/ponzico.pdf\",\"target\",\"_blank\",\"rel\",\"noopener noreferrer\"],[\"mat-raised-button\",\"\",\"color\",\"accent\"],[1,\"fas\",\"fa-university\",\"fa-lg\"],[\"href\",\"https://www.sec.gov/investor/alerts/ia_virtualcurrencies.pdf\",\"target\",\"_blank\",\"rel\",\"noopener noreferrer\"],[1,\"fas\",\"fa-graduation-cap\",\"fa-lg\"],[1,\"offer-box\"],[1,\"text-justify\"],[1,\"fab\",\"fa-bitcoin\"],[1,\"badge\"],[\"fxFlexAlign.lt-md\",\"center\",1,\"faq-container\"],[1,\"fas\",\"fa-comments\",\"fa-2x\"],[1,\"far\",\"fa-comment-alt\",\"fa-2x\"],[1,\"far\",\"fa-comments\",\"fa-2x\"],[1,\"fas\",\"fa-comment-alt\",\"fa-2x\"],[\"translate\",\"\",1,\"text-justify\"],[\"src\",\"/assets/public/images/padding/56px.png\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Rb(6,\"small\",3),a.jc(7,\"translate\"),a.Vb(),a.Vb(),a.Wb(8,\"mat-card\"),a.Wb(9,\"h4\"),a.Jc(10),a.jc(11,\"translate\"),a.Wb(12,\"small\",4),a.Jc(13,\"(\"),a.Wb(14,\"span\",5),a.Jc(15,\"WHITEPAPER_REFERENCES\"),a.Vb(),a.Jc(16,\")\"),a.Vb(),a.Vb(),a.Wb(17,\"div\"),a.Wb(18,\"a\",6),a.Wb(19,\"button\",7),a.Rb(20,\"i\",8),a.Jc(21,\" PonzICO Whitepaper\"),a.Vb(),a.Vb(),a.Wb(22,\"a\",9),a.Wb(23,\"button\",7),a.Rb(24,\"i\",10),a.Jc(25,\" PonziCoin Whitepaper\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(26,\"div\",11),a.Wb(27,\"h3\",5),a.Jc(28,\"SECTION_SALES_PITCH\"),a.Vb(),a.Wb(29,\"p\",12),a.Jc(30,\" Lorem ipsum dolor sit amet \"),a.Wb(31,\"strong\"),a.Rb(32,\"i\",13),a.Jc(33),a.Vb(),a.Jc(34,\", consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \"),a.Wb(35,\"span\",5),a.Jc(36,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(37,\" Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. \"),a.Wb(38,\"span\",5),a.Jc(39,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(40,\" Ut wisi enim ad minim veniam, quis \"),a.Wb(41,\"strong\"),a.Rb(42,\"i\",13),a.Jc(43),a.Vb(),a.Jc(44,\" nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. \"),a.Wb(45,\"span\",5),a.Jc(46,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(47,\" Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. \"),a.Wb(48,\"span\",5),a.Jc(49,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(50,\" Duis autem vel eum \"),a.Wb(51,\"strong\"),a.Rb(52,\"i\",13),a.Jc(53),a.Vb(),a.Jc(54,\" iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. \"),a.Wb(55,\"span\",5),a.Jc(56,\"GIVE_US_ALL_YOUR_MONEY\"),a.Vb(),a.Jc(57,\" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. \"),a.Wb(58,\"span\",14),a.Rb(59,\"i\",13),a.Jc(60),a.Vb(),a.Jc(61,\" est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur. \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(62,\"div\",15),a.Wb(63,\"div\",2),a.Wb(64,\"span\",5),a.Jc(65,\"ICO_FAQ\"),a.Vb(),a.Vb(),a.Wb(66,\"mat-card\"),a.Wb(67,\"h5\"),a.Rb(68,\"i\",16),a.Jc(69,\" Stet \"),a.Wb(70,\"strong\"),a.Rb(71,\"i\",13),a.Jc(72),a.Vb(),a.Jc(73,\" clita kasd gubergren?\"),a.Vb(),a.Wb(74,\"small\",12),a.Jc(75,\" Stet clita kasd gubergren, no \"),a.Wb(76,\"strong\"),a.Rb(77,\"i\",13),a.Jc(78),a.Vb(),a.Jc(79,\" sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \"),a.Vb(),a.Vb(),a.Wb(80,\"mat-card\"),a.Wb(81,\"h5\"),a.Rb(82,\"i\",17),a.Jc(83,\" Consetetur sadipscing elitr?\"),a.Vb(),a.Wb(84,\"small\",12),a.Jc(85,\" Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed \"),a.Wb(86,\"strong\"),a.Rb(87,\"i\",13),a.Jc(88),a.Vb(),a.Jc(89,\" diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \"),a.Vb(),a.Vb(),a.Wb(90,\"mat-card\"),a.Wb(91,\"h5\"),a.Rb(92,\"i\",18),a.Jc(93,\" Hendrerit \"),a.Wb(94,\"strong\"),a.Rb(95,\"i\",13),a.Jc(96),a.Vb(),a.Jc(97,\" in vulputate velit?\"),a.Vb(),a.Wb(98,\"small\",12),a.Jc(99,\" Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. \"),a.Vb(),a.Vb(),a.Wb(100,\"mat-card\"),a.Wb(101,\"h5\"),a.Rb(102,\"i\",19),a.Jc(103,\" Justo duo dolores et ea rebum?\"),a.Vb(),a.Wb(104,\"small\",12),a.Jc(105,\" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \"),a.Vb(),a.Vb(),a.Wb(106,\"mat-card\"),a.Wb(107,\"h5\"),a.Rb(108,\"i\",16),a.Rb(109,\"span\",3),a.jc(110,\"translate\"),a.Vb(),a.Wb(111,\"small\",20),a.Jc(112,\"ICO_FAQ_ANSWER\"),a.Vb(),a.Vb(),a.Vb(),a.Rb(113,\"img\",21),a.Vb()),2&t&&(a.Db(4),a.Lc(\"\",a.kc(5,12,\"TITLE_TOKENSALE\"),\" \"),a.Db(2),a.oc(\"innerHtml\",a.lc(7,14,\"SECTION_ICO\",a.tc(22,C,e.altcoinName)),a.Ac),a.Db(4),a.Lc(\"\",a.kc(11,17,\"SECTION_WHITEPAPER\"),\" \"),a.Db(23),a.Lc(\" \",e.altcoinName,\"\"),a.Db(10),a.Lc(\" \",e.altcoinName,\"\"),a.Db(10),a.Lc(\" \",e.altcoinName,\"\"),a.Db(7),a.Lc(\" \",e.altcoinName,\"\"),a.Db(12),a.Lc(\" \",e.altcoinName,\"\"),a.Db(6),a.Lc(\" \",e.altcoinName,\"\"),a.Db(10),a.Lc(\" \",e.altcoinName,\"\"),a.Db(8),a.Lc(\" \",e.altcoinName,\"\"),a.Db(13),a.oc(\"innerHtml\",a.lc(110,19,\"ICO_FAQ_QUESTION\",a.tc(24,C,e.altcoinName)),a.Ac))},directives:[h.d,h.e,h.a,f.a,g.a,v.a],pipes:[g.d],styles:[\".container[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.13);margin-bottom:10px;padding:12px 20px}.whitepaper-container.offer-container[_ngcontent-%COMP%]{max-width:700px;min-width:400px;width:70%}.faq-container[_ngcontent-%COMP%]{max-width:500px;min-width:200px;width:70%}.text-justify[_ngcontent-%COMP%]{text-align:justify}mat-card[_ngcontent-%COMP%]{margin-bottom:10px}\"]}),t})();var y=i(\"XNiG\");let D=(()=>{class t{constructor(t){this.http=t,this.isLoggedIn=new y.a,this.hostServer=\".\",this.host=this.hostServer+\"/api/Users\"}find(t){return this.http.get(this.hostServer+\"/rest/user/authentication-details/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}login(t){return this.isLoggedIn.next(!0),this.http.post(this.hostServer+\"/rest/user/login\",t).pipe(Object(s.a)(t=>t.authentication),Object(l.a)(t=>{throw t}))}getLoggedInState(){return this.isLoggedIn.asObservable()}changePassword(t){return this.http.get(this.hostServer+\"/rest/user/change-password?current=\"+t.current+\"&new=\"+t.new+\"&repeat=\"+t.repeat).pipe(Object(s.a)(t=>t.user),Object(l.a)(t=>{throw t.error}))}resetPassword(t){return this.http.post(this.hostServer+\"/rest/user/reset-password\",t).pipe(Object(s.a)(t=>t.user),Object(l.a)(t=>{throw t}))}whoAmI(){return this.http.get(this.hostServer+\"/rest/user/whoami\").pipe(Object(s.a)(t=>t.user),Object(l.a)(t=>{throw t}))}oauthLogin(t){return this.http.get(\"https://www.googleapis.com/oauth2/v1/userinfo?alt=json&access_token=\"+t)}saveLastLoginIp(){return this.http.get(this.hostServer+\"/rest/saveLoginIp\").pipe(Object(s.a)(t=>t),Object(l.a)(t=>{throw t}))}deluxeStatus(){return this.http.get(this.hostServer+\"/rest/deluxe-membership\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}upgradeToDeluxe(t){return this.http.post(this.hostServer+\"/rest/deluxe-membership\",{payUsingWallet:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var S=i(\"tyNb\");let W=(()=>{class t{constructor(t,e,i,a,o){this.cookieService=t,this.userService=e,this.router=i,this.route=a,this.ngZone=o}ngOnInit(){this.userService.oauthLogin(this.parseRedirectUrlParams().access_token).subscribe(t=>{let e=btoa(t.email.split(\"\").reverse().join(\"\"));this.userService.save({email:t.email,password:e,passwordRepeat:e}).subscribe(()=>{this.login(t)},()=>this.login(t))},t=>{this.invalidateSession(t),this.ngZone.run(()=>this.router.navigate([\"/login\"]))})}login(t){this.userService.login({email:t.email,password:btoa(t.email.split(\"\").reverse().join(\"\")),oauth:!0}).subscribe(t=>{this.cookieService.put(\"token\",t.token),localStorage.setItem(\"token\",t.token),sessionStorage.setItem(\"bid\",t.bid),this.userService.isLoggedIn.next(!0),this.ngZone.run(()=>this.router.navigate([\"/\"]))},t=>{this.invalidateSession(t),this.ngZone.run(()=>this.router.navigate([\"/login\"]))})}invalidateSession(t){console.log(t),this.cookieService.remove(\"token\"),localStorage.removeItem(\"token\"),sessionStorage.removeItem(\"bid\")}parseRedirectUrlParams(){let t=this.route.snapshot.data.params.substr(1).split(\"&\"),e={};for(let i=0;i<t.length;i++){let a=t[i].split(\"=\");e[a[0]]=a[1]}return e}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(r.b),a.Qb(D),a.Qb(S.b),a.Qb(S.a),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-oauth\"]],decls:9,vars:6,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"primary-notification\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"div\"),a.Wb(3,\"h3\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"div\"),a.Jc(7),a.jc(8,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Kc(a.kc(5,2,\"TITLE_LOGIN\")),a.Db(3),a.Kc(a.kc(8,4,\"CONFIRM_LOGGED_IN_VIA_OAUTH2\")))},directives:[h.c,f.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:300px;width:35%}\"]}),t})(),x=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/BasketItems\"}find(t){return this.http.get(this.hostServer+\"/rest/basket/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}checkout(t,e,i){return this.http.post(this.hostServer+\"/rest/basket/\"+t+\"/checkout\",{couponData:e,orderDetails:i}).pipe(Object(s.a)(t=>t.orderConfirmation),Object(l.a)(t=>{throw t}))}applyCoupon(t,e){return this.http.put(this.hostServer+\"/rest/basket/\"+t+\"/coupon/\"+e,{}).pipe(Object(s.a)(t=>t.discount),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var V=i(\"BOF4\");let I=(()=>{class t{constructor(t,e){this.router=t,this.ngZone=e}canActivate(){return!!localStorage.getItem(\"token\")||(this.forbidRoute(\"UNAUTHORIZED_ACCESS_ERROR\"),!1)}forbidRoute(t=\"UNAUTHORIZED_PAGE_ACCESS_ERROR\"){this.ngZone.run(()=>this.router.navigate([\"403\"],{skipLocationChange:!0,queryParams:{error:t}}))}tokenDecode(){let t=null;const e=localStorage.getItem(\"token\");if(e)try{t=V(e)}catch(i){console.log(i)}return t}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(S.b),a.ac(a.A))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})(),_=(()=>{class t{constructor(t){this.loginGuard=t}canActivate(){let t=this.loginGuard.tokenDecode();return!(!t||!t.data||\"admin\"!==t.data.role)||(this.loginGuard.forbidRoute(),!1)}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(I))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})(),k=(()=>{class t{constructor(t,e){this.router=t,this.loginGuard=e}canActivate(){let t=this.loginGuard.tokenDecode();return!(!t||!t.data||\"accounting\"!==t.data.role)||(this.loginGuard.forbidRoute(),!1)}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(S.b),a.ac(I))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})(),O=(()=>{class t{constructor(t){this.loginGuard=t}isDeluxe(){let t=this.loginGuard.tokenDecode();return t&&t.data&&\"deluxe\"===t.data.role}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(I))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})();var L=i(\"dNgK\");let A=(()=>{class t{constructor(t,e){this.translateService=t,this.snackBar=e}open(t,e){this.translateService.get(t).subscribe(t=>{this.snackBar.open(t,\"X\",{duration:5e3,panelClass:e})},()=>{this.snackBar.open(t,\"X\",{duration:5e3,panelClass:e})})}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(g.e),a.ac(L.a))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var T=i(\"+0xr\"),P=i(\"ofXK\"),E=i(\"znSr\");function R(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function M(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Rb(1,\"img\",21),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.pc(\"alt\",t.name),a.oc(\"src\",\"assets/public/images/products/\"+t.image,a.Cc)}}function J(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",20)}function H(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function N(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",22),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\" \")}}function F(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",23)}function B(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function U(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().dec(e.BasketItem.id)})),a.Rb(1,\"i\",28),a.Vb()}}function j(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().inc(e.BasketItem.id)})),a.Rb(1,\"i\",29),a.Vb()}}function Q(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",24),a.Hc(1,U,2,0,\"button\",25),a.Wb(2,\"span\",26),a.Jc(3),a.Vb(),a.Hc(4,j,2,0,\"button\",25),a.Vb()),2&t){const t=e.$implicit,i=a.ic();a.Db(1),a.oc(\"ngIf\",i.allowEdit),a.Db(2),a.Lc(\" \",t.BasketItem.quantity,\"\"),a.Db(1),a.oc(\"ngIf\",i.allowEdit)}}function z(t,e){1&t&&(a.Wb(0,\"mat-footer-cell\",30),a.Jc(1,\"TOTAL\"),a.Vb())}function G(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function q(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",31),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.price,\"\\xa4\")}}function Y(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",32)}function K(t,e){1&t&&a.Rb(0,\"mat-header-cell\",19)}function X(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",36),a.Wb(1,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).delete(i.BasketItem.id)})),a.Rb(2,\"i\",37),a.Vb(),a.Vb()}}function $(t,e){1&t&&a.Rb(0,\"mat-footer-cell\",36)}function Z(t,e){1&t&&(a.Ub(0,33),a.Hc(1,K,1,0,\"mat-header-cell\",2),a.Hc(2,X,3,0,\"mat-cell\",34),a.Hc(3,$,1,0,\"mat-footer-cell\",35),a.Tb())}function tt(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function et(t,e){1&t&&a.Rb(0,\"mat-row\")}function it(t,e){1&t&&a.Rb(0,\"mat-footer-row\",39)}function at(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Hc(1,it,1,0,\"mat-footer-row\",38),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"matFooterRowDef\",t.tableColumns)}}u.b.add(p.g,m.B,m.D),u.a.watch();let ot=(()=>{class t{constructor(t,e,i,o){this.deluxeGuard=t,this.basketService=e,this.userService=i,this.snackBarHelperService=o,this.allowEdit=!1,this.displayTotal=!1,this.emitTotal=new a.o,this.emitProductCount=new a.o,this.tableColumns=[\"image\",\"product\",\"quantity\",\"price\"],this.dataSource=[],this.bonus=0,this.itemTotal=0}ngOnInit(){this.allowEdit&&!this.tableColumns.includes(\"remove\")&&this.tableColumns.push(\"remove\"),this.load(),this.userService.whoAmI().subscribe(t=>{this.userEmail=t.email||\"anonymous\",this.userEmail=\"(\"+this.userEmail+\")\"},t=>console.log(t))}load(){this.basketService.find(parseInt(sessionStorage.getItem(\"bid\"),10)).subscribe(t=>{this.isDeluxe()&&t.Products.map(t=>{t.price=t.deluxePrice}),this.dataSource=t.Products,this.itemTotal=t.Products.reduce((t,e)=>t+e.price*e.BasketItem.quantity,0),this.bonus=t.Products.reduce((t,e)=>t+Math.round(e.price/10)*e.BasketItem.quantity,0),this.sendToParent(this.dataSource.length)},t=>console.log(t))}delete(t){this.basketService.del(t).subscribe(()=>{this.load()},t=>console.log(t))}inc(t){this.addToQuantity(t,1)}dec(t){this.addToQuantity(t,-1)}addToQuantity(t,e){this.basketService.get(t).subscribe(i=>{let a=i.quantity+e;this.basketService.put(t,{quantity:a<1?1:a}).subscribe(()=>{this.load()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})},t=>console.log(t))}sendToParent(t){this.emitTotal.emit([this.itemTotal,this.bonus]),this.emitProductCount.emit(t)}isDeluxe(){return this.deluxeGuard.isDeluxe()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(O),a.Qb(x),a.Qb(D),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-purchase-basket\"]],inputs:{allowEdit:\"allowEdit\",displayTotal:\"displayTotal\"},outputs:{emitTotal:\"emitTotal\",emitProductCount:\"emitProductCount\"},decls:29,vars:13,consts:[[3,\"dataSource\"],[\"matColumnDef\",\"image\"],[\"style\",\"display: none;\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"20%\",\"class\",\"content-align\",4,\"matCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"20%\",\"class\",\"content-align\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"product\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\",\"style\",\"font-size: initial;\",4,\"matCellDef\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"quantity\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",\"class\",\"content-align\",4,\"matCellDef\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",\"class\",\"header-align\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"price\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\",\"style\",\"font-size: initial;\",4,\"matCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\",4,\"matFooterCellDef\"],[\"matColumnDef\",\"remove\",4,\"ngIf\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[4,\"ngIf\"],[\"id\",\"price\"],[2,\"display\",\"none\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"20%\",1,\"content-align\"],[1,\"img-responsive\",\"img-thumbnail\",3,\"src\",\"alt\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\",2,\"font-size\",\"initial\"],[\"fxFlex\",\"35%\",\"fxFlex.lt-md\",\"30%\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",1,\"content-align\"],[\"mat-icon-button\",\"\",3,\"click\",4,\"ngIf\"],[2,\"font-size\",\"initial\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-minus-square\"],[1,\"fas\",\"fa-plus-square\"],[\"fxFlex\",\"16%\",\"fxFlex.lt-md\",\"35%\",1,\"header-align\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\",2,\"font-size\",\"initial\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"fxFlex\",\"16%\"],[\"matColumnDef\",\"remove\"],[\"fxFlex\",\"10%\",\"fxFlex.lt-md\",\"15%\",4,\"matCellDef\"],[\"fxFlex\",\"10%\",\"fxFlex.lt-md\",\"15%\",4,\"matFooterCellDef\"],[\"fxFlex\",\"10%\",\"fxFlex.lt-md\",\"15%\"],[1,\"far\",\"fa-trash-alt\"],[\"mat-footer-row\",\"\",4,\"matFooterRowDef\"],[\"mat-footer-row\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"h1\"),a.Jc(1),a.jc(2,\"translate\"),a.Wb(3,\"small\"),a.Jc(4),a.Vb(),a.Vb(),a.Wb(5,\"mat-table\",0),a.Ub(6,1),a.Hc(7,R,1,0,\"mat-header-cell\",2),a.Hc(8,M,2,2,\"mat-cell\",3),a.Hc(9,J,1,0,\"mat-footer-cell\",4),a.Tb(),a.Ub(10,5),a.Hc(11,H,1,0,\"mat-header-cell\",2),a.Hc(12,N,2,1,\"mat-cell\",6),a.Hc(13,F,1,0,\"mat-footer-cell\",7),a.Tb(),a.Ub(14,8),a.Hc(15,B,1,0,\"mat-header-cell\",2),a.Hc(16,Q,5,3,\"mat-cell\",9),a.Hc(17,z,2,0,\"mat-footer-cell\",10),a.Tb(),a.Ub(18,11),a.Hc(19,G,1,0,\"mat-header-cell\",2),a.Hc(20,q,2,1,\"mat-cell\",12),a.Hc(21,Y,1,0,\"mat-footer-cell\",13),a.Tb(),a.Hc(22,Z,4,0,\"ng-container\",14),a.Hc(23,tt,1,0,\"mat-header-row\",15),a.Hc(24,et,1,0,\"mat-row\",16),a.Hc(25,at,2,1,\"span\",17),a.Vb(),a.Wb(26,\"div\",18),a.Jc(27),a.jc(28,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\" \",a.kc(2,9,\"TITLE_BASKET\"),\" \"),a.Db(3),a.Kc(e.userEmail),a.Db(1),a.oc(\"dataSource\",e.dataSource),a.Db(17),a.oc(\"ngIf\",e.allowEdit),a.Db(1),a.oc(\"matHeaderRowDef\",e.tableColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.tableColumns),a.Db(1),a.oc(\"ngIf\",e.displayTotal),a.Db(2),a.Mc(\"\",a.kc(28,11,\"LABEL_TOTAL_PRICE\"),\": \",e.itemTotal,\"\\xa4\"))},directives:[T.n,T.c,T.i,T.b,T.e,P.l,T.k,T.m,T.h,T.a,E.b,h.b,T.d,v.a,T.j,T.l,T.g,T.f],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.img-thumbnail[_ngcontent-%COMP%]{height:auto;width:90px}mat-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;margin-top:15px;margin-bottom:15px}mat-header-row[_ngcontent-%COMP%]{min-height:0!important}mat-footer-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.mat-footer-cell[_ngcontent-%COMP%]{font-weight:700}.content-align[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}#price[_ngcontent-%COMP%]{margin-top:30px;width:100%;font-size:large;text-align:right}\"]}),t})();const nt=function(t){return{bonus:t}};u.b.add(m.d),u.a.watch();let rt=(()=>{class t{constructor(t,e){this.router=t,this.ngZone=e,this.productCount=0,this.bonus=0}checkout(){this.ngZone.run(()=>this.router.navigate([\"/address/select\"]))}getProductCount(t){this.productCount=t}getBonusPoints(t){sessionStorage.setItem(\"itemTotal\",t[0]),this.bonus=t[1]}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-basket\"]],decls:8,vars:8,consts:[[1,\"mat-elevation-z6\"],[3,\"allowEdit\",\"emitTotal\",\"emitProductCount\"],[\"id\",\"checkoutButton\",\"color\",\"primary\",\"mat-raised-button\",\"\",1,\"checkout-button\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-cart-arrow-down\"],[\"translate\",\"\",1,\"hint\",3,\"translateParams\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"app-purchase-basket\",1),a.ec(\"emitTotal\",(function(t){return e.getBonusPoints(t)}))(\"emitProductCount\",(function(t){return e.getProductCount(t)})),a.Vb(),a.Wb(2,\"button\",2),a.ec(\"click\",(function(){return e.checkout()})),a.Rb(3,\"i\",3),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"div\",4),a.Jc(7,\"CHECKOUT_FOR_BONUS_POINTS\"),a.Vb(),a.Vb()),2&t&&(a.Db(1),a.oc(\"allowEdit\",!0),a.Db(1),a.oc(\"disabled\",e.productCount<1),a.Db(2),a.Lc(\" \",a.kc(5,4,\"BTN_CHECKOUT\"),\" \"),a.Db(2),a.oc(\"translateParams\",a.tc(6,nt,e.bonus)))},directives:[f.a,ot,v.a,g.a],pipes:[g.d],styles:[\".container[_ngcontent-%COMP%]{min-width:420px;width:40%}mat-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.13);-webkit-box-pack:center;justify-content:center;padding:12px 20px}.mat-row[_ngcontent-%COMP%]{padding-bottom:10px}.mat-column-bonus[_ngcontent-%COMP%], .mat-column-description[_ngcontent-%COMP%], .mat-column-price[_ngcontent-%COMP%]{margin-left:20px}.mat-column-quantity[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-button-toggle[_ngcontent-%COMP%]{width:20px}.mat-column-quantity[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:22px}mat-form-field[_ngcontent-%COMP%]{margin-top:15px;width:100%}mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:20px}#checkoutButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.hint[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:13px;-webkit-box-pack:center;justify-content:center;margin-top:5px}.payment-label[_ngcontent-%COMP%]{padding-top:10px}\"]}),t})(),ct=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/track-order\"}save(t){return t=encodeURIComponent(t),this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function st(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",25),a.Vb())}function lt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",26),a.Vb())}function bt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",27),a.Vb())}function ut(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",28),a.Vb())}function dt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",29),a.Vb())}function mt(t,e){1&t&&(a.Wb(0,\"span\"),a.Rb(1,\"i\",30),a.Vb())}function pt(t,e){if(1&t&&(a.Wb(0,\"span\",31),a.Wb(1,\"span\"),a.Rb(2,\"i\",32),a.Vb(),a.Wb(3,\"span\",33),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Mc(\"\",t.results.eta,\" \",a.kc(5,2,\"LABEL_DAYS\"),\"\")}}function ht(t,e){if(1&t&&(a.Wb(0,\"span\",31),a.Wb(1,\"span\"),a.Rb(2,\"i\",34),a.Vb(),a.Wb(3,\"span\",33),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Mc(\"\",t.results.eta,\" \",a.kc(5,2,\"LABEL_DAYS\"),\"\")}}function ft(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",1),a.Jc(1,\"LABEL_PRODUCT\"),a.Vb())}function gt(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\"\")}}function vt(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_PRICE\"),a.Vb())}function Ct(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.price,\"\\xa4\")}}function wt(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",1),a.Jc(1,\"LABEL_QUANTITY\"),a.Vb())}function yt(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",38),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.quantity,\"\")}}function Dt(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",1),a.Jc(1,\"LABEL_TOTAL_PRICE\"),a.Vb())}function St(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",39),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.total,\"\\xa4\")}}function Wt(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function xt(t,e){1&t&&a.Rb(0,\"mat-row\")}const Vt=function(t){return{bonus:t}};u.b.add(m.jb,m.N,m.Z,m.Y,m.w),u.a.watch();var It=function(t){return t[t.New=0]=\"New\",t[t.Packing=1]=\"Packing\",t[t.Transit=2]=\"Transit\",t[t.Delivered=3]=\"Delivered\",t}({});let _t=(()=>{class t{constructor(t,e,i){this.route=t,this.trackOrderService=e,this.sanitizer=i,this.displayedColumns=[\"product\",\"price\",\"quantity\",\"total price\"],this.dataSource=new T.o,this.results={},this.status=It.New,this.Status=It}ngOnInit(){this.orderId=this.route.snapshot.queryParams.id,this.trackOrderService.save(this.orderId).subscribe(t=>{this.results.orderNo=this.sanitizer.bypassSecurityTrustHtml(`<code>${t.data[0].orderId}<\/code>`),this.results.email=t.data[0].email,this.results.totalPrice=t.data[0].totalPrice,this.results.products=t.data[0].products,this.results.eta=void 0!==t.data[0].eta?t.data[0].eta:\"?\",this.results.bonus=t.data[0].bonus,this.dataSource.data=this.results.products,this.status=t.data[0].delivered?It.Delivered:this.route.snapshot.data.type?It.New:this.results.eta>2?It.Packing:It.Transit})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.a),a.Qb(ct),a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-track-result\"]],decls:49,vars:18,consts:[[\"fxLayoutAlign\",\"center\"],[\"translate\",\"\"],[3,\"innerHtml\"],[1,\"container-fluid\",\"well\"],[1,\"row\",\"fa-4x\"],[4,\"ngIf\"],[\"class\",\"fa-layers fa-fw\",4,\"ngIf\"],[\"fxLayoutAlign\",\"center\",1,\"table-wrapper\"],[1,\"table-heading\"],[1,\"mat-elevation-z8\",3,\"dataSource\"],[\"table\",\"\"],[\"matColumnDef\",\"product\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[\"class\",\"product-name\",4,\"matCellDef\"],[\"matColumnDef\",\"price\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"class\",\"product-price\",\"fxShow\",\"\",\"fxHide.lt-md\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"quantity\"],[\"class\",\"product-quantity\",4,\"matCellDef\"],[\"matColumnDef\",\"total price\"],[\"class\",\"product-total\",4,\"matCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[1,\"bonus-container\"],[\"translate\",\"\",3,\"translateParams\"],[1,\"fas\",\"fa-warehouse\",\"confirmation\"],[1,\"fas\",\"fa-warehouse\"],[1,\"fas\",\"fa-truck-loading\",\"confirmation\"],[1,\"fas\",\"fa-truck-loading\"],[1,\"fas\",\"fa-truck\",\"confirmation\"],[1,\"fas\",\"fa-truck\"],[1,\"fa-layers\",\"fa-fw\"],[1,\"fas\",\"fa-home\",\"confirmation\"],[1,\"fa-layers-counter\",\"accent-notification\",2,\"width\",\"max-content\"],[1,\"fas\",\"fa-home\"],[1,\"product-name\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",1,\"product-price\"],[1,\"product-quantity\"],[1,\"product-total\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\"),a.Rb(2,\"mat-card-header\"),a.Wb(3,\"h3\"),a.Wb(4,\"span\",1),a.Jc(5,\"TITLE_SEARCH_RESULTS\"),a.Vb(),a.Jc(6,\" - \"),a.Rb(7,\"span\",2),a.Vb(),a.Wb(8,\"h4\",1),a.Jc(9,\"LABEL_EXPECTED_DELIVERY\"),a.Vb(),a.Wb(10,\"div\",3),a.Wb(11,\"div\",4),a.Hc(12,st,2,0,\"span\",5),a.Hc(13,lt,2,0,\"span\",5),a.Hc(14,bt,2,0,\"span\",5),a.Hc(15,ut,2,0,\"span\",5),a.Hc(16,dt,2,0,\"span\",5),a.Hc(17,mt,2,0,\"span\",5),a.Hc(18,pt,6,4,\"span\",6),a.Hc(19,ht,6,4,\"span\",6),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(20,\"div\",7),a.Wb(21,\"div\",8),a.Wb(22,\"h4\",1),a.Jc(23,\"LABEL_PRODUCT_ORDERED\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(24,\"div\",0),a.Wb(25,\"mat-table\",9,10),a.Ub(27,11),a.Hc(28,ft,2,0,\"mat-header-cell\",12),a.Hc(29,gt,2,1,\"mat-cell\",13),a.Tb(),a.Ub(30,14),a.Hc(31,vt,2,0,\"mat-header-cell\",15),a.Hc(32,Ct,2,1,\"mat-cell\",16),a.Tb(),a.Ub(33,17),a.Hc(34,wt,2,0,\"mat-header-cell\",12),a.Hc(35,yt,2,1,\"mat-cell\",18),a.Tb(),a.Ub(36,19),a.Hc(37,Dt,2,0,\"mat-header-cell\",12),a.Hc(38,St,2,1,\"mat-cell\",20),a.Tb(),a.Hc(39,Wt,1,0,\"mat-header-row\",21),a.Hc(40,xt,1,0,\"mat-row\",22),a.Vb(),a.Vb(),a.Wb(41,\"div\",23),a.Wb(42,\"h2\",24),a.Jc(43,\"BONUS_POINTS_EARNED\"),a.Vb(),a.Wb(44,\"p\"),a.Jc(45,\"(\"),a.Rb(46,\"span\",2),a.jc(47,\"translate\"),a.Jc(48,\")\"),a.Vb(),a.Vb()),2&t&&(a.Db(7),a.oc(\"innerHtml\",e.results.orderNo,a.Ac),a.Db(5),a.oc(\"ngIf\",e.status===e.Status.New),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.New),a.Db(1),a.oc(\"ngIf\",e.status===e.Status.Packing),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.Packing),a.Db(1),a.oc(\"ngIf\",e.status===e.Status.Transit),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.Transit),a.Db(1),a.oc(\"ngIf\",e.status===e.Status.Delivered),a.Db(1),a.oc(\"ngIf\",e.status!==e.Status.Delivered),a.Db(6),a.oc(\"dataSource\",e.dataSource),a.Db(14),a.oc(\"matHeaderRowDef\",e.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.displayedColumns),a.Db(2),a.oc(\"translateParams\",a.tc(16,Vt,e.results.bonus)),a.Db(4),a.oc(\"innerHtml\",a.kc(47,14,\"BONUS_FOR_FUTURE_PURCHASES\"),a.Ac))},directives:[h.c,f.a,f.c,g.a,P.l,T.n,T.c,T.i,T.b,T.k,T.m,T.h,T.a,E.b,T.j,T.l],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:380px;width:25%}.table-heading[_ngcontent-%COMP%], mat-table[_ngcontent-%COMP%]{min-width:420px;width:50%}.product-name[_ngcontent-%COMP%]{margin-right:25px}.table-wrapper[_ngcontent-%COMP%]{margin-top:30px}.table-heading[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-bottom:0}.row.fa-4x[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:10px}.bonus-container[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;box-sizing:border-box;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin-top:10px;place-content:stretch center}.bonus-container[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;padding:0}\"]}),t})(),kt=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Feedbacks\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ot=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/captcha\"}getCaptcha(){return this.http.get(this.host+\"/\").pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Lt=(()=>{class t{constructor(t){this._document=t}attachEnterKeyHandler(t,e,i){const a=this._document.getElementById(t),o=this._document.getElementById(e);a.addEventListener(\"keyup\",(function(t){t.preventDefault(),13!==t.keyCode||o.disabled||i()}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(P.d))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var At=i(\"kmnG\"),Tt=i(\"qFsG\"),Pt=i(\"2rR7\");function Et(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_COMMENT \"),a.Vb())}function Rt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CAPTCHA \"),a.Vb())}function Mt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_CAPTCHA \"),a.Vb())}const Jt=function(){return{length:\"160\"}};u.b.add(m.L,m.C),u.a.watch();let Ht=(()=>{class t{constructor(t,e,i,a,o,n){this.userService=t,this.captchaService=e,this.feedbackService=i,this.formSubmitService=a,this.translate=o,this.snackBarHelperService=n,this.authorControl=new c.c({value:\"\",disabled:!0},[]),this.feedbackControl=new c.c(\"\",[c.x.required,c.x.maxLength(160)]),this.captchaControl=new c.c(\"\",[c.x.required,c.x.pattern(\"-?[\\\\d]*\")]),this.userIdControl=new c.c(\"\",[]),this.rating=0,this.feedback=void 0}ngOnInit(){this.userService.whoAmI().subscribe(t=>{this.feedback={},this.userIdControl.setValue(t.id),this.feedback.UserId=t.id,this.authorControl.setValue(t.email?\"***\"+t.email.slice(3):\"anonymous\")},t=>{this.feedback=void 0,console.log(t)}),this.getNewCaptcha(),this.formSubmitService.attachEnterKeyHandler(\"feedback-form\",\"submitButton\",()=>this.save())}getNewCaptcha(){this.captchaService.getCaptcha().subscribe(t=>{this.captcha=t.captcha,this.captchaId=t.captchaId},t=>t)}save(){this.feedback.captchaId=this.captchaId,this.feedback.captcha=this.captchaControl.value,this.feedback.comment=`${this.feedbackControl.value} (${this.authorControl.value})`,this.feedback.rating=this.rating,this.feedback.UserId=this.userIdControl.value,this.feedbackService.save(this.feedback).subscribe(t=>{5===t.rating?this.translate.get(\"FEEDBACK_FIVE_STAR_THANK_YOU\").subscribe(t=>{this.snackBarHelperService.open(t)},t=>{this.snackBarHelperService.open(t)}):this.translate.get(\"FEEDBACK_THANK_YOU\").subscribe(t=>{this.snackBarHelperService.open(t)},t=>{this.snackBarHelperService.open(t)}),this.feedback={},this.ngOnInit(),this.resetForm()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.feedback={},this.resetCaptcha()})}resetForm(){this.authorControl.markAsUntouched(),this.authorControl.markAsPristine(),this.authorControl.setValue(\"\"),this.feedbackControl.markAsUntouched(),this.feedbackControl.markAsPristine(),this.feedbackControl.setValue(\"\"),this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\")}resetCaptcha(){this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(D),a.Qb(Ot),a.Qb(kt),a.Qb(Lt),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-contact\"]],decls:52,vars:26,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"id\",\"feedback-form\",1,\"form-container\"],[\"hidden\",\"\",\"type\",\"text\",\"id\",\"userId\",3,\"formControl\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"matInput\",\"\",\"type\",\"text\",\"aria-label\",\"Field with the name of the author\",3,\"formControl\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"id\",\"comment\",\"matInput\",\"\",\"matAutosizeMinRows\",\"4\",\"matAutosizeMaxRows\",\"4\",\"matTextareaAutosize\",\"\",\"cols\",\"50\",\"maxlength\",\"160\",\"aria-label\",\"Field for entering the comment or the feedback\",3,\"formControl\",\"placeholder\"],[\"comment\",\"\"],[\"align\",\"end\"],[\"translate\",\"\",4,\"ngIf\"],[1,\"rating-container\"],[\"translate\",\"\",2,\"font-weight\",\"500\",\"margin-right\",\"8px\",\"float\",\"left\"],[3,\"rate\",\"max\",\"rateChange\"],[2,\"margin-bottom\",\"10px\",\"margin-top\",\"10px\"],[2,\"font-weight\",\"500\"],[\"translate\",\"\",2,\"font-size\",\"small\"],[\"id\",\"captcha\",\"aria-label\",\"CAPTCHA code which must be solved\"],[2,\"font-size\",\"small\"],[\"id\",\"captchaControl\",\"matInput\",\"\",\"type\",\"text\",\"aria-label\",\"Field for the result of the CAPTCHA code\",\"pattern\",\"-?[\\\\d]*\",3,\"formControl\",\"placeholder\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to send the review\",3,\"disabled\",\"click\"],[1,\"material-icons\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"SECTION_CUSTOMER_FEEDBACK\"),a.Vb(),a.Wb(4,\"div\",3),a.Rb(5,\"input\",4),a.Wb(6,\"mat-form-field\",5),a.Wb(7,\"mat-label\",2),a.Jc(8,\"LABEL_AUTHOR\"),a.Vb(),a.Rb(9,\"input\",6),a.Vb(),a.Wb(10,\"mat-form-field\",5),a.Wb(11,\"mat-label\",2),a.Jc(12,\"LABEL_COMMENT\"),a.Vb(),a.Wb(13,\"mat-hint\",2),a.Rb(14,\"i\",7),a.Wb(15,\"em\",8),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Vb(),a.Rb(18,\"textarea\",9,10),a.jc(20,\"translate\"),a.Wb(21,\"mat-hint\",11),a.Jc(22),a.Vb(),a.Hc(23,Et,2,0,\"mat-error\",12),a.Vb(),a.Wb(24,\"div\",13),a.Wb(25,\"label\",14),a.Jc(26,\"LABEL_RATING\"),a.Vb(),a.Wb(27,\"bar-rating\",15),a.ec(\"rateChange\",(function(t){return e.rating=t})),a.Vb(),a.Vb(),a.Wb(28,\"div\",16),a.Wb(29,\"label\",17),a.Jc(30,\"CAPTCHA:\"),a.Vb(),a.Jc(31,\"\\xa0\\xa0\"),a.Wb(32,\"span\",18),a.Jc(33,\"LABEL_WHAT_IS\"),a.Vb(),a.Jc(34,\"\\xa0 \"),a.Wb(35,\"code\",19),a.Jc(36),a.Vb(),a.Jc(37,\"\\xa0\"),a.Wb(38,\"label\",20),a.Jc(39,\"?\"),a.Vb(),a.Vb(),a.Wb(40,\"mat-form-field\",5),a.Wb(41,\"mat-label\",2),a.Jc(42,\"LABEL_RESULT\"),a.Vb(),a.Rb(43,\"input\",21),a.jc(44,\"translate\"),a.Hc(45,Rt,2,0,\"mat-error\",12),a.Hc(46,Mt,2,0,\"mat-error\",12),a.Vb(),a.Vb(),a.Wb(47,\"button\",22),a.ec(\"click\",(function(){return e.save()})),a.Wb(48,\"i\",23),a.Jc(49,\" send \"),a.Vb(),a.Jc(50),a.jc(51,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(19);a.Db(5),a.oc(\"formControl\",e.userIdControl),a.Db(4),a.oc(\"formControl\",e.authorControl),a.Db(7),a.Kc(a.lc(17,16,\"MAX_TEXTAREA_LENGTH\",a.sc(25,Jt))),a.Db(2),a.pc(\"placeholder\",a.kc(20,19,\"WRITE_REVIEW_PLACEHOLDER\")),a.oc(\"formControl\",e.feedbackControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/160\"),a.Db(1),a.oc(\"ngIf\",e.feedbackControl.invalid&&e.feedbackControl.errors.required),a.Db(4),a.oc(\"rate\",e.rating)(\"max\",5),a.Db(9),a.Kc(e.captcha),a.Db(7),a.pc(\"placeholder\",a.kc(44,21,\"MANDATORY_CAPTCHA\")),a.oc(\"formControl\",e.captchaControl),a.Db(2),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.pattern),a.Db(1),a.oc(\"disabled\",e.authorControl.invalid||e.feedbackControl.invalid||e.captchaControl.invalid||!e.rating),a.Db(3),a.Lc(\" \",a.kc(51,23,\"BTN_SUBMIT\"),\" \")}},directives:[h.c,f.a,g.a,c.b,c.n,c.d,At.b,At.f,Tt.b,At.e,Tt.d,c.i,P.l,Pt.a,c.t,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:30%}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}.rating-container[_ngcontent-%COMP%]{margin-bottom:15px;margin-top:15px}.star[_ngcontent-%COMP%]{color:#c8c8c8}.active[_ngcontent-%COMP%], .select[_ngcontent-%COMP%]{color:gold}[_nghost-%COMP%]     .br{margin:0!important}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}\"]}),t})(),Nt=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/SecurityQuestions\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}findBy(t){return this.http.get(this.hostServer+\"/rest/user/security-question?email=\"+t).pipe(Object(s.a)(t=>t.question),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ft=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/user\"}erase(t){return this.http.post(this.host+\"/erasure-request\",t).pipe(Object(l.a)(t=>{throw t}))}dataExport(t){return this.http.post(this.host+\"/data-export\",t).pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function Bt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function Ut(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_EMAIL\"),a.Vb())}function jt(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_SECURITY_ANSWER\"),a.Vb())}function Qt(t,e){if(1&t&&(a.Wb(0,\"div\",12),a.Wb(1,\"mat-form-field\",6),a.Wb(2,\"mat-label\"),a.Jc(3),a.Vb(),a.Rb(4,\"input\",13),a.Hc(5,jt,2,0,\"mat-error\",8),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(3),a.Kc(t.securityQuestion),a.Db(2),a.oc(\"ngIf\",t.securityQuestionForm)}}u.b.add(m.L,m.n),u.a.watch();let zt=(()=>{class t{constructor(t,e,i,a,o,n,r,s,l){this.securityQuestionService=t,this.dataSubjectService=e,this.ngZone=i,this.router=a,this.cookieService=o,this.userService=n,this.translateService=r,this.snackBar=s,this.snackBarHelperService=l,this.dataSubjectGroup=new c.f({emailControl:new c.c(\"\",[c.x.required,c.x.email]),securityQuestionControl:new c.c(\"\",[c.x.required])})}ngOnInit(){this.findSecurityQuestion()}get emailForm(){return this.dataSubjectGroup.get(\"emailControl\")}get securityQuestionForm(){return this.dataSubjectGroup.get(\"securityQuestionControl\")}findSecurityQuestion(){this.securityQuestion=void 0,this.emailForm.value&&this.securityQuestionService.findBy(this.emailForm.value).subscribe(t=>{t&&(this.securityQuestion=t.question)},t=>t)}save(){this.dataSubjectService.erase({email:this.emailForm.value,securityAnswer:this.securityQuestionForm.value}).subscribe(t=>{this.error=void 0,this.logout()},t=>{this.error=t.message,this.resetForm()})}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/\"])),this.snackBarHelperService.open(\"CONFIRM_ERASURE_REQUEST\")}noop(){}resetForm(){this.emailForm.markAsUntouched(),this.emailForm.markAsPristine(),this.emailForm.setValue(\"\"),this.securityQuestionForm.markAsUntouched(),this.securityQuestionForm.markAsPristine(),this.securityQuestionForm.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Nt),a.Qb(Ft),a.Qb(a.A),a.Qb(S.b),a.Qb(r.b),a.Qb(D),a.Qb(g.e),a.Qb(L.a),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-erasure-request\"]],decls:23,vars:10,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"data-subject-container\"],[1,\"error\",3,\"hidden\"],[\"id\",\"data-subject-form\",\"color\",\"warn\",1,\"form-container\",3,\"formGroup\",\"ngSubmit\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"email\",\"formControlName\",\"emailControl\",\"type\",\"text\",\"matInput\",\"\",\"placeholder\",\"Enter your email\",3,\"ngModelChange\"],[\"translate\",\"\",4,\"ngIf\"],[\"class\",\"form-container\",\"id\",\"forgot-form\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"deleteUserButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\"],[1,\"fas\",\"fa-exclamation-triangle\",\"fa-lg\"],[\"id\",\"forgot-form\",1,\"form-container\"],[\"id\",\"securityAnswer\",\"formControlName\",\"securityQuestionControl\",\"type\",\"password\",\"matInput\",\"\",\"placeholder\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"GDPR_HEADING\"),a.Vb(),a.Wb(4,\"p\",2),a.Jc(5,\"GDPR_MESSAGE\"),a.Vb(),a.Wb(6,\"h3\",2),a.Jc(7,\"DATA_SUBJECT_TITLE\"),a.Vb(),a.Wb(8,\"div\",3),a.Wb(9,\"div\",4),a.Jc(10),a.Vb(),a.Wb(11,\"form\",5),a.ec(\"ngSubmit\",(function(){return e.save()})),a.Wb(12,\"mat-form-field\",6),a.Wb(13,\"mat-label\",2),a.Jc(14,\"LABEL_EMAIL\"),a.Vb(),a.Wb(15,\"input\",7),a.ec(\"ngModelChange\",(function(){return e.findSecurityQuestion()})),a.Vb(),a.Hc(16,Bt,2,0,\"mat-error\",8),a.Hc(17,Ut,2,0,\"mat-error\",8),a.Vb(),a.Hc(18,Qt,6,2,\"div\",9),a.Wb(19,\"button\",10),a.Rb(20,\"i\",11),a.Jc(21),a.jc(22,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(9),a.oc(\"hidden\",!e.error),a.Db(1),a.Kc(e.error),a.Db(1),a.oc(\"formGroup\",e.dataSubjectGroup),a.Db(5),a.oc(\"ngIf\",e.emailForm.invalid&&e.emailForm.errors.required),a.Db(1),a.oc(\"ngIf\",e.emailForm.invalid&&e.emailForm.errors.email),a.Db(1),a.oc(\"ngIf\",e.securityQuestion),a.Db(1),a.oc(\"disabled\",e.emailForm.invalid||e.securityQuestionForm.invalid),a.Db(2),a.Lc(\" \",a.kc(22,8,\"DELETE_DATA_LABEL\"),\" \"))},directives:[h.c,f.a,g.a,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,P.l,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;margin-bottom:30px;min-width:320px;width:30%}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#deleteUserButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:1.2rem;width:60%}\"]}),t})();var Gt=i(\"QoAZ\");function qt(t,e){if(1&t&&(a.Wb(0,\"a\",14),a.Wb(1,\"button\",15),a.Rb(2,\"i\",16),a.Jc(3,\" Twitter\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.twitterUrl,a.Cc)}}function Yt(t,e){if(1&t&&(a.Wb(0,\"a\",17),a.Wb(1,\"button\",15),a.Rb(2,\"i\",18),a.Jc(3,\" Facebook\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.facebookUrl,a.Cc)}}function Kt(t,e){if(1&t&&(a.Wb(0,\"a\",19),a.Wb(1,\"button\",15),a.Rb(2,\"i\",20),a.Jc(3,\" Slack\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.slackUrl,a.Cc)}}function Xt(t,e){if(1&t&&(a.Wb(0,\"a\",21),a.Wb(1,\"button\",15),a.Rb(2,\"i\",22),a.Jc(3,\" Reddit\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.redditUrl,a.Cc)}}function $t(t,e){if(1&t&&(a.Wb(0,\"a\",23),a.Wb(1,\"button\",15),a.Rb(2,\"i\",24),a.Jc(3,\" Press Kit\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.oc(\"href\",t.pressKitUrl,a.Cc)}}function Zt(t,e){if(1&t&&(a.Wb(0,\"div\",8),a.Wb(1,\"h3\"),a.Wb(2,\"span\",3),a.Jc(3,\"SECTION_SOCIAL_MEDIA\"),a.Vb(),a.Vb(),a.Hc(4,qt,4,1,\"a\",9),a.Hc(5,Yt,4,1,\"a\",10),a.Hc(6,Kt,4,1,\"a\",11),a.Hc(7,Xt,4,1,\"a\",12),a.Hc(8,$t,4,1,\"a\",13),a.Vb()),2&t){const t=a.ic();a.Db(4),a.oc(\"ngIf\",t.twitterUrl),a.Db(1),a.oc(\"ngIf\",t.facebookUrl),a.Db(1),a.oc(\"ngIf\",t.slackUrl),a.Db(1),a.oc(\"ngIf\",t.redditUrl),a.Db(1),a.oc(\"ngIf\",t.pressKitUrl)}}u.b.add(d.c,d.k,d.i,d.h,p.e,p.f,m.L),u.a.watch();let te=(()=>{class t{constructor(t,e,i){this.configurationService=t,this.feedbackService=e,this.sanitizer=i,this.slideshowDataSource=[],this.images=[\"assets/public/images/carousel/1.jpg\",\"assets/public/images/carousel/2.jpg\",\"assets/public/images/carousel/3.jpg\",\"assets/public/images/carousel/4.jpg\",\"assets/public/images/carousel/5.png\",\"assets/public/images/carousel/6.jpg\",\"assets/public/images/carousel/7.jpg\"],this.stars=[null,'<i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"far fa-star\"><\/i>','<i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i><i class=\"fas fa-star\"><\/i>']}ngOnInit(){this.populateSlideshowFromFeedbacks(),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&(t.application.social.twitterUrl&&(this.twitterUrl=t.application.social.twitterUrl),t.application.social.facebookUrl&&(this.facebookUrl=t.application.social.facebookUrl),t.application.social.slackUrl&&(this.slackUrl=t.application.social.slackUrl),t.application.social.redditUrl&&(this.redditUrl=t.application.social.redditUrl),t.application.social.pressKitUrl&&(this.pressKitUrl=t.application.social.pressKitUrl))},t=>console.log(t))}populateSlideshowFromFeedbacks(){this.feedbackService.find().subscribe(t=>{for(let e=0;e<t.length;e++)t[e].comment='<span style=\"width: 90%; display:block;\">'+t[e].comment+\"<br/> (\"+this.stars[t[e].rating]+\")<\/span>\",t[e].comment=this.sanitizer.bypassSecurityTrustHtml(t[e].comment),this.slideshowDataSource.push({url:this.images[e%this.images.length],caption:t[e].comment})},t=>{console.log(t)})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(kt),a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-about\"]],decls:17,vars:7,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[1,\"about-us\"],[\"translate\",\"\"],[1,\"text-justify\"],[\"href\",\"/ftp/legal.md\",\"aria-label\",\"Link to the Terms of Use\",\"translate\",\"\"],[3,\"height\",\"autoPlay\",\"arrowSize\",\"showArrows\",\"showDots\",\"imageUrls\"],[\"class\",\"social\",4,\"ngIf\"],[1,\"social\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"style\",\"margin-left: 0px;\",\"aria-label\",\"Button for the Twitter page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Facebook page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Slack page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Reddit page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the PressKit page of the shop\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Twitter page of the shop\",2,\"margin-left\",\"0px\",3,\"href\"],[\"mat-raised-button\",\"\",\"color\",\"accent\"],[1,\"fab\",\"fa-twitter\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Facebook page of the shop\",3,\"href\"],[1,\"fab\",\"fa-facebook\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Slack page of the shop\",3,\"href\"],[1,\"fab\",\"fa-slack\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the Reddit page of the shop\",3,\"href\"],[1,\"fab\",\"fa-reddit\",\"fa-lg\"],[\"target\",\"_blank\",\"rel\",\"noopener noreferrer\",\"aria-label\",\"Button for the PressKit page of the shop\",3,\"href\"],[1,\"far\",\"fa-newspaper\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"section\",2),a.Wb(3,\"h1\",3),a.Jc(4,\"TITLE_ABOUT\"),a.Vb(),a.Wb(5,\"h3\",3),a.Jc(6,\"SECTION_CORPORATE_HISTORY\"),a.Vb(),a.Wb(7,\"p\",4),a.Jc(8,\" Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. \"),a.Wb(9,\"a\",5),a.Jc(10,\"LINK_TERMS_OF_USE\"),a.Vb(),a.Jc(11,\" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. \"),a.Vb(),a.Wb(12,\"h3\"),a.Wb(13,\"span\",3),a.Jc(14,\"SECTION_CUSTOMER_FEEDBACK\"),a.Vb(),a.Vb(),a.Rb(15,\"slideshow\",6),a.Hc(16,Zt,9,5,\"div\",7),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(15),a.oc(\"height\",\"300px\")(\"autoPlay\",!0)(\"arrowSize\",\"10px\")(\"showArrows\",!0)(\"showDots\",!1)(\"imageUrls\",e.slideshowDataSource),a.Db(1),a.oc(\"ngIf\",e.twitterUrl||e.facebookUrl))},directives:[h.c,f.a,g.a,Gt.b,P.l,v.a],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-bottom:30px;margin-left:auto;margin-right:auto;width:80%}.about-us[_ngcontent-%COMP%]{margin-left:8.33333%;margin-right:8.33333%;width:83.3333%}.social[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin:5px}.text-justify[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}\"]}),t})(),ee=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/SecurityAnswers\"}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var ie=i(\"1jcm\"),ae=i(\"Rw1y\"),oe=i(\"d3UM\"),ne=i(\"FKr1\");function re(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function ce(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_EMAIL\"),a.Vb())}function se(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_PASSWORD \"),a.Vb())}const le=function(){return{length:\"5-20\"}};function be(t,e){1&t&&(a.Wb(0,\"mat-error\",30),a.Jc(1,\"INVALID_PASSWORD_LENGTH \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,le))}function ue(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_PASSWORD_REPEAT \"),a.Vb())}function de(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" PASSWORDS_NOT_MATCHING \"),a.Vb())}const me=function(){return{value:8}};function pe(t,e){if(1&t&&(a.Rb(0,\"mat-password-strength-info\",31),a.jc(1,\"translate\"),a.jc(2,\"translate\"),a.jc(3,\"translate\"),a.jc(4,\"translate\"),a.jc(5,\"translate\")),2&t){a.ic();const t=a.wc(41);a.oc(\"passwordComponent\",t)(\"lowerCaseCriteriaMsg\",a.kc(1,6,\"LOWER_CASE_CRITERIA_MSG\"))(\"upperCaseCriteriaMsg\",a.kc(2,8,\"UPPER_CASE_CRITERIA_MSG\"))(\"digitsCriteriaMsg\",a.kc(3,10,\"DIGITS_CRITERIA_MSG\"))(\"specialCharsCriteriaMsg\",a.kc(4,12,\"SPECIAL_CHARS_CRITERIA_MSG\"))(\"minCharsCriteriaMsg\",a.lc(5,14,\"MIN_CHARS_CRITERIA_MSG\",a.sc(17,me)))}}function he(t,e){if(1&t&&(a.Wb(0,\"mat-option\",32),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.oc(\"value\",t.id),a.Db(1),a.Lc(\" \",t.question,\" \")}}function fe(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_SECURITY_QUESTION \"),a.Vb())}function ge(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_SECURITY_ANSWER \"),a.Vb())}u.b.add(m.gb,m.m),u.a.watch();let ve=(()=>{class t{constructor(t,e,i,a,o,n,r,s,l){var b;this.securityQuestionService=t,this.userService=e,this.securityAnswerService=i,this.router=a,this.formSubmitService=o,this.translateService=n,this.snackBar=r,this.snackBarHelperService=s,this.ngZone=l,this.emailControl=new c.c(\"\",[c.x.required,c.x.email]),this.passwordControl=new c.c(\"\",[c.x.required,c.x.minLength(5),c.x.maxLength(20)]),this.repeatPasswordControl=new c.c(\"\",[c.x.required,(b=this.passwordControl,function(t){return b.value!==t.value?{notSame:!0}:null})]),this.securityQuestionControl=new c.c(\"\",[c.x.required]),this.securityAnswerControl=new c.c(\"\",[c.x.required]),this.error=null}ngOnInit(){this.securityQuestionService.find(null).subscribe(t=>{this.securityQuestions=t},t=>console.log(t)),this.formSubmitService.attachEnterKeyHandler(\"registration-form\",\"registerButton\",()=>this.save())}save(){const t={email:this.emailControl.value,password:this.passwordControl.value,passwordRepeat:this.repeatPasswordControl.value,securityQuestion:this.securityQuestions.find(t=>t.id===this.securityQuestionControl.value),securityAnswer:this.securityAnswerControl.value};this.userService.save(t).subscribe(t=>{this.securityAnswerService.save({UserId:t.id,answer:this.securityAnswerControl.value,SecurityQuestionId:this.securityQuestionControl.value}).subscribe(()=>{this.ngZone.run(()=>this.router.navigate([\"/login\"])),this.snackBarHelperService.open(\"CONFIRM_REGISTER\")})},t=>{if(console.log(t),t.error&&t.error.errors){const e=t.error.errors[0];this.error=e.message?e.message[0].toUpperCase()+e.message.slice(1):e}})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Nt),a.Qb(D),a.Qb(ee),a.Qb(S.b),a.Qb(Lt),a.Qb(g.e),a.Qb(L.a),a.Qb(A),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-register\"]],decls:69,vars:39,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"ng-if\",\"error\",1,\"error\"],[\"id\",\"registration-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"emailControl\",\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Email address field\",3,\"formControl\",\"focus\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"passwordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field for the password\",3,\"formControl\",\"focus\"],[\"password\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"align\",\"end\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[\"id\",\"repeatPasswordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to confirm the password\",3,\"formControl\",\"focus\"],[\"repeatPassword\",\"\"],[3,\"color\"],[\"passwordInfoToggle\",\"\"],[3,\"password\"],[\"passwordStrength\",\"\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\",4,\"ngIf\"],[1,\"security-container\"],[\"color\",\"accent\",\"appearance\",\"outline\"],[\"placeholder\",\"\",\"name\",\"securityQuestion\",\"aria-label\",\"Selection list for the security question\",3,\"formControl\",\"value\",\"valueChange\",\"focus\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[\"id\",\"securityAnswerControl\",\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Field for the answer to the security question\",3,\"formControl\",\"placeholder\",\"focus\"],[\"type\",\"submit\",\"id\",\"registerButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to complete the registration\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[\"id\",\"alreadyACustomerLink\"],[\"routerLink\",\"/login\",\"translate\",\"\",1,\"primary-link\"],[\"translate\",\"\",3,\"translateParams\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\"],[3,\"value\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_REGISTRATION\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Wb(6,\"div\",4),a.Wb(7,\"mat-form-field\",5),a.Wb(8,\"mat-label\",2),a.Jc(9,\"LABEL_EMAIL\"),a.Vb(),a.Wb(10,\"input\",6),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Hc(11,re,2,0,\"mat-error\",7),a.Hc(12,ce,2,0,\"mat-error\",7),a.Vb(),a.Wb(13,\"mat-form-field\",5),a.Wb(14,\"mat-label\",2),a.Jc(15,\"LABEL_PASSWORD\"),a.Vb(),a.Wb(16,\"input\",8,9),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Wb(18,\"mat-hint\",2),a.Rb(19,\"i\",10),a.Wb(20,\"em\",11),a.Jc(21),a.jc(22,\"translate\"),a.Vb(),a.Vb(),a.Wb(23,\"mat-hint\",12),a.Jc(24),a.Vb(),a.Hc(25,se,2,0,\"mat-error\",7),a.Hc(26,be,2,2,\"mat-error\",13),a.Vb(),a.Wb(27,\"mat-form-field\",5),a.Wb(28,\"mat-label\",2),a.Jc(29,\"LABEL_PASSWORD_REPEAT\"),a.Vb(),a.Wb(30,\"input\",14,15),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Wb(32,\"mat-hint\",12),a.Jc(33),a.Vb(),a.Hc(34,ue,2,0,\"mat-error\",7),a.Hc(35,de,2,0,\"mat-error\",7),a.Vb(),a.Wb(36,\"mat-slide-toggle\",16,17),a.Jc(38),a.jc(39,\"translate\"),a.Vb(),a.Rb(40,\"mat-password-strength\",18,19),a.Hc(42,pe,6,18,\"mat-password-strength-info\",20),a.Wb(43,\"div\",21),a.Wb(44,\"mat-form-field\",22),a.Wb(45,\"mat-label\"),a.Jc(46),a.jc(47,\"translate\"),a.Vb(),a.Wb(48,\"mat-select\",23),a.ec(\"valueChange\",(function(t){return e.selected=t}))(\"focus\",(function(){return e.error=null})),a.Hc(49,he,2,2,\"mat-option\",24),a.Vb(),a.Wb(50,\"mat-hint\",2),a.Rb(51,\"i\",10),a.Wb(52,\"em\",11),a.Jc(53,\"CANNOT_BE_CHANGED_LATER\"),a.Vb(),a.Vb(),a.Hc(54,fe,2,0,\"mat-error\",7),a.Vb(),a.Wb(55,\"mat-form-field\",5),a.Wb(56,\"mat-label\",2),a.Jc(57,\"SECURITY_ANSWER\"),a.Vb(),a.Wb(58,\"input\",25),a.ec(\"focus\",(function(){return e.error=null})),a.jc(59,\"translate\"),a.Vb(),a.Hc(60,ge,2,0,\"mat-error\",7),a.Vb(),a.Vb(),a.Wb(61,\"button\",26),a.ec(\"click\",(function(){return e.save()})),a.Wb(62,\"i\",27),a.Jc(63,\" person_add \"),a.Vb(),a.Jc(64),a.jc(65,\"translate\"),a.Vb(),a.Wb(66,\"div\",28),a.Wb(67,\"a\",29),a.Jc(68,\"ALREADY_A_CUSTOMER\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(17),i=a.wc(31),o=a.wc(37),n=a.wc(41);a.Db(5),a.Kc(e.error),a.Db(5),a.oc(\"formControl\",e.emailControl),a.Db(1),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.email),a.Db(4),a.oc(\"formControl\",e.passwordControl),a.Db(5),a.Kc(a.lc(22,27,\"INVALID_PASSWORD_LENGTH\",a.sc(38,le))),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid&&e.passwordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid&&(e.passwordControl.errors.minlength||e.passwordControl.errors.maxlength)),a.Db(4),a.oc(\"formControl\",e.repeatPasswordControl),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.notSame),a.Db(1),a.oc(\"color\",n.color),a.Db(2),a.Kc(a.kc(39,30,\"SHOW_PASSWORD_ADVICE\")),a.Db(2),a.oc(\"password\",t.value),a.Db(2),a.oc(\"ngIf\",o.checked),a.Db(4),a.Lc(\" \",a.kc(47,32,\"LABEL_SECURITY_QUESTION\"),\" \"),a.Db(2),a.oc(\"formControl\",e.securityQuestionControl)(\"value\",e.selected),a.Db(1),a.oc(\"ngForOf\",e.securityQuestions),a.Db(5),a.oc(\"ngIf\",e.securityQuestionControl.invalid&&e.securityQuestionControl.errors.required),a.Db(4),a.oc(\"formControl\",e.securityAnswerControl)(\"placeholder\",a.kc(59,34,\"SECURITY_ANSWER_PLACEHOLDER\")),a.Db(2),a.oc(\"ngIf\",e.securityAnswerControl.invalid&&e.securityAnswerControl.errors.required),a.Db(1),a.oc(\"disabled\",e.emailControl.invalid||e.passwordControl.invalid||e.repeatPasswordControl.invalid||e.securityQuestionControl.invalid||e.securityAnswerControl.invalid),a.Db(3),a.Lc(\" \",a.kc(65,36,\"BTN_REGISTER\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,P.l,At.e,ie.a,ae.a,oe.a,P.k,v.a,S.d,At.a,ae.b,ne.k],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#registerButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}#alreadyACustomerLink[_ngcontent-%COMP%]{align-self:center;font-size:12px;margin-top:40px}.security-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}  mat-option .mat-option-text{font-size:14px}\"]}),t})();var Ce=i(\"NFeN\"),we=i(\"Qu3c\");function ye(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function De(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_EMAIL\"),a.Vb())}function Se(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_SECURITY_ANSWER \"),a.Vb())}function We(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_NEW_PASSWORD \"),a.Vb())}function xe(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_PASSWORD_REPEAT \"),a.Vb())}function Ve(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" PASSWORDS_NOT_MATCHING \"),a.Vb())}const Ie=function(){return{length:\"5-20\"}};function _e(t,e){1&t&&(a.Wb(0,\"mat-error\",28),a.Jc(1,\"INVALID_PASSWORD_LENGTH \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Ie))}const ke=function(){return{value:8}};function Oe(t,e){if(1&t&&(a.Rb(0,\"mat-password-strength-info\",29),a.jc(1,\"translate\"),a.jc(2,\"translate\"),a.jc(3,\"translate\"),a.jc(4,\"translate\"),a.jc(5,\"translate\")),2&t){a.ic();const t=a.wc(55);a.oc(\"passwordComponent\",t)(\"lowerCaseCriteriaMsg\",a.kc(1,6,\"LOWER_CASE_CRITERIA_MSG\"))(\"upperCaseCriteriaMsg\",a.kc(2,8,\"UPPER_CASE_CRITERIA_MSG\"))(\"digitsCriteriaMsg\",a.kc(3,10,\"DIGITS_CRITERIA_MSG\"))(\"specialCharsCriteriaMsg\",a.kc(4,12,\"SPECIAL_CHARS_CRITERIA_MSG\"))(\"minCharsCriteriaMsg\",a.lc(5,14,\"MIN_CHARS_CRITERIA_MSG\",a.sc(17,ke)))}}u.b.add(m.G,p.c),u.a.watch();let Le=(()=>{class t{constructor(t,e,i){var a;this.securityQuestionService=t,this.userService=e,this.translate=i,this.emailControl=new c.c(\"\",[c.x.required,c.x.email]),this.securityQuestionControl=new c.c({disabled:!0,value:\"\"},[c.x.required]),this.passwordControl=new c.c({disabled:!0,value:\"\"},[c.x.required,c.x.minLength(5)]),this.repeatPasswordControl=new c.c({disabled:!0,value:\"\"},[c.x.required,(a=this.passwordControl,function(t){return a.value!==t.value?{notSame:!0}:null})])}findSecurityQuestion(){this.securityQuestion=void 0,this.emailControl.value?this.securityQuestionService.findBy(this.emailControl.value).subscribe(t=>{t?(this.securityQuestion=t.question,this.securityQuestionControl.enable(),this.passwordControl.enable(),this.repeatPasswordControl.enable()):(this.securityQuestionControl.disable(),this.passwordControl.disable(),this.repeatPasswordControl.disable())},t=>t):(this.securityQuestionControl.disable(),this.passwordControl.disable(),this.repeatPasswordControl.disable())}resetPassword(){this.userService.resetPassword({email:this.emailControl.value,answer:this.securityQuestionControl.value,new:this.passwordControl.value,repeat:this.repeatPasswordControl.value}).subscribe(()=>{this.error=void 0,this.translate.get(\"PASSWORD_SUCCESSFULLY_CHANGED\").subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}),this.resetForm()},t=>{this.error=t.error,this.confirmation=void 0,this.resetErrorForm()})}resetForm(){this.emailControl.setValue(\"\"),this.emailControl.markAsPristine(),this.emailControl.markAsUntouched(),this.securityQuestionControl.setValue(\"\"),this.securityQuestionControl.markAsPristine(),this.securityQuestionControl.markAsUntouched(),this.passwordControl.setValue(\"\"),this.passwordControl.markAsPristine(),this.passwordControl.markAsUntouched(),this.repeatPasswordControl.setValue(\"\"),this.repeatPasswordControl.markAsPristine(),this.repeatPasswordControl.markAsUntouched()}resetErrorForm(){this.emailControl.markAsPristine(),this.emailControl.markAsUntouched(),this.securityQuestionControl.setValue(\"\"),this.securityQuestionControl.markAsPristine(),this.securityQuestionControl.markAsUntouched(),this.passwordControl.setValue(\"\"),this.passwordControl.markAsPristine(),this.passwordControl.markAsUntouched(),this.repeatPasswordControl.setValue(\"\"),this.repeatPasswordControl.markAsPristine(),this.repeatPasswordControl.markAsUntouched()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Nt),a.Qb(D),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-forgot-password\"]],decls:61,vars:39,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"confirmation\",3,\"hidden\"],[1,\"error\",3,\"hidden\"],[1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"email\",\"type\",\"email\",\"matInput\",\"\",\"placeholder\",\"Enter your email\",\"aria-label\",\"Email address field\",3,\"formControl\",\"ngModelChange\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"Please enter your email address to proceed\",3,\"matTooltip\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"forgot-form\",1,\"form-container\"],[\"id\",\"securityAnswer\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field for the answer to the security question\",3,\"formControl\",\"placeholder\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"Please answer your selected security question\",3,\"matTooltip\"],[\"id\",\"newPassword\",\"type\",\"password\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Field for New Password\",3,\"formControl\"],[\"password\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"align\",\"end\"],[\"id\",\"newPasswordRepeat\",\"type\",\"password\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Field to confirm the new password\",3,\"formControl\"],[\"repeatPassword\",\"\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[3,\"color\"],[\"passwordInfoToggle\",\"\"],[3,\"password\"],[\"passwordStrength\",\"\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"resetButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to confirm the changes\",3,\"disabled\",\"click\"],[\"aria-hidden\",\"true\",1,\"far\",\"fa-edit\",\"fa-lg\"],[\"translate\",\"\",3,\"translateParams\"],[3,\"passwordComponent\",\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_FORGOT_PASSWORD\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Wb(6,\"div\",4),a.Jc(7),a.Vb(),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_EMAIL\"),a.Vb(),a.Wb(12,\"input\",7),a.ec(\"ngModelChange\",(function(){return e.findSecurityQuestion()})),a.Vb(),a.Wb(13,\"mat-icon\",8),a.jc(14,\"translate\"),a.Jc(15,\"help_outline \"),a.Vb(),a.Hc(16,ye,2,0,\"mat-error\",9),a.Hc(17,De,2,0,\"mat-error\",9),a.Vb(),a.Vb(),a.Wb(18,\"div\",10),a.Wb(19,\"mat-form-field\",6),a.Wb(20,\"mat-label\",2),a.Jc(21,\"LABEL_SECURITY_QUESTION\"),a.Vb(),a.Rb(22,\"input\",11),a.Wb(23,\"mat-icon\",12),a.jc(24,\"translate\"),a.Jc(25,\"help_outline \"),a.Vb(),a.Hc(26,Se,2,0,\"mat-error\",9),a.Vb(),a.Wb(27,\"mat-form-field\",6),a.Wb(28,\"mat-label\",2),a.Jc(29,\"LABEL_NEW_PASSWORD\"),a.Vb(),a.Rb(30,\"input\",13,14),a.Wb(32,\"mat-hint\",2),a.Rb(33,\"i\",15),a.Wb(34,\"em\",16),a.Jc(35),a.jc(36,\"translate\"),a.Vb(),a.Vb(),a.Wb(37,\"mat-hint\",17),a.Jc(38),a.Vb(),a.Hc(39,We,2,0,\"mat-error\",9),a.Vb(),a.Wb(40,\"mat-form-field\",6),a.Wb(41,\"mat-label\",2),a.Jc(42,\"LABEL_REPEAT_NEW_PASSWORD\"),a.Vb(),a.Rb(43,\"input\",18,19),a.Wb(45,\"mat-hint\",17),a.Jc(46),a.Vb(),a.Hc(47,xe,2,0,\"mat-error\",9),a.Hc(48,Ve,2,0,\"mat-error\",9),a.Hc(49,_e,2,2,\"mat-error\",20),a.Vb(),a.Wb(50,\"mat-slide-toggle\",21,22),a.Jc(52),a.jc(53,\"translate\"),a.Vb(),a.Rb(54,\"mat-password-strength\",23,24),a.Hc(56,Oe,6,18,\"mat-password-strength-info\",25),a.Vb(),a.Wb(57,\"button\",26),a.ec(\"click\",(function(){return e.resetPassword()})),a.Rb(58,\"i\",27),a.Jc(59),a.jc(60,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(31),i=a.wc(44),o=a.wc(51),n=a.wc(55);a.Db(4),a.oc(\"hidden\",!(e.confirmation&&!e.emailControl.dirty&&!e.securityQuestionControl.dirty&&!e.passwordControl.dirty&&!e.repeatPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.confirmation,\" \"),a.Db(1),a.oc(\"hidden\",!(e.error&&!e.emailControl.dirty&&!e.securityQuestionControl.dirty&&!e.passwordControl.dirty&&!e.repeatPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.error,\" \"),a.Db(5),a.oc(\"formControl\",e.emailControl),a.Db(1),a.pc(\"matTooltip\",a.kc(14,27,\"MANDATORY_EMAIL\")),a.Db(3),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.emailControl.invalid&&e.emailControl.errors.email),a.Db(5),a.pc(\"placeholder\",e.securityQuestion),a.oc(\"formControl\",e.securityQuestionControl),a.Db(1),a.pc(\"matTooltip\",a.kc(24,29,\"MANDATORY_SECURITY_ANSWER\")),a.Db(3),a.oc(\"ngIf\",e.securityQuestionControl.invalid&&e.securityQuestionControl.errors.required),a.Db(4),a.oc(\"formControl\",e.passwordControl),a.Db(5),a.Kc(a.lc(36,31,\"INVALID_PASSWORD_LENGTH\",a.sc(38,Ie))),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid&&e.passwordControl.errors.required),a.Db(4),a.oc(\"formControl\",e.repeatPasswordControl),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&e.repeatPasswordControl.errors.notSame),a.Db(1),a.oc(\"ngIf\",e.repeatPasswordControl.invalid&&((null==e.repeatPasswordControl?null:e.repeatPasswordControl.errors.minlength)||(null==e.repeatPasswordControl?null:e.repeatPasswordControl.errors.maxlength))),a.Db(1),a.oc(\"color\",n.color),a.Db(2),a.Kc(a.kc(53,34,\"SHOW_PASSWORD_ADVICE\")),a.Db(2),a.oc(\"password\",t.value),a.Db(2),a.oc(\"ngIf\",o.checked),a.Db(1),a.oc(\"disabled\",e.emailControl.invalid||e.securityQuestionControl.invalid||e.passwordControl.invalid||e.repeatPasswordControl.invalid||e.repeatPasswordControl.disabled),a.Db(2),a.Lc(\" \",a.kc(60,36,\"BTN_CHANGE\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,Ce.a,At.g,we.a,P.l,At.e,ie.a,ae.a,v.a,At.a,ae.b],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}button[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;margin-top:30px;width:60%}\"]}),t})();var Ae=i(\"0IaG\");let Te=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/products\"}get(t){return this.http.get(this.host+\"/\"+t+\"/reviews\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}create(t,e){return this.http.put(this.host+\"/\"+t+\"/reviews\",e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}patch(t){return this.http.patch(this.host+\"/reviews\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}like(t){return this.http.post(this.host+\"/reviews\",{id:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function Pe(t,e){1&t&&(a.Wb(0,\"mat-error\",1),a.Jc(1,\"MANDATORY_REVIEW\"),a.Vb())}u.b.add(m.C,m.b),u.a.watch();let Ee=(()=>{class t{constructor(t,e,i,a,o){this.data=t,this.productReviewService=e,this.dialogRef=i,this.snackBar=a,this.snackBarHelperService=o,this.editReviewControl=new c.c(\"\",[c.x.required,c.x.minLength(1),c.x.maxLength(160)]),this.error=null}ngOnInit(){this.editReviewControl.setValue(this.data.reviewData.message)}editReview(){this.productReviewService.patch({id:this.data.reviewData._id,message:this.editReviewControl.value}).subscribe(()=>{this.dialogRef.close()},t=>{console.log(t),this.error=t}),this.snackBarHelperService.open(\"CONFIRM_CHANGES_SAVED\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.a),a.Qb(Te),a.Qb(Ae.g),a.Qb(L.a),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-product-review-edit\"]],decls:27,vars:13,consts:[[\"fxLayout\",\"column\",1,\"container\",\"mat-typography\"],[\"translate\",\"\"],[\"appearance\",\"outline\",\"color\",\"accent\",\"hintLabel\",\"Max 160 characters\",\"floatLabel\",\"always\"],[\"matInput\",\"\",\"matTextareaAutosize\",\"\",\"matAutosizeMinRows\",\"2\",\"maxlength\",\"160\",\"matAutosizeMaxRows\",\"4\",\"aria-label\",\"Text field to edit a product review\",3,\"formControl\",\"placeholder\",\"focus\"],[\"textPut\",\"\"],[\"align\",\"end\"],[\"translate\",\"\",4,\"ngIf\"],[\"mat-stroked-button\",\"\",\"mat-dialog-close\",\"\",\"aria-label\",\"Close Dialog\",1,\"close-dialog\"],[1,\"material-icons\"],[\"type\",\"submit\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Send the review\",2,\"margin-left\",\"5px\",3,\"disabled\",\"click\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"mat-dialog-content\"),a.Wb(1,\"div\",0),a.Wb(2,\"h1\",1),a.Jc(3,\"LABEL_EDIT_REVIEW\"),a.Vb(),a.Wb(4,\"div\"),a.Wb(5,\"mat-form-field\",2),a.Wb(6,\"mat-label\",1),a.Jc(7,\"LABEL_REVIEW\"),a.Vb(),a.Wb(8,\"textarea\",3,4),a.ec(\"focus\",(function(){return e.error=null})),a.jc(10,\"translate\"),a.Vb(),a.Wb(11,\"mat-hint\",5),a.Jc(12),a.Vb(),a.Hc(13,Pe,2,0,\"mat-error\",6),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(14,\"mat-dialog-actions\",5),a.Wb(15,\"button\",7),a.Wb(16,\"i\",8),a.Jc(17,\" close \"),a.Vb(),a.Wb(18,\"span\"),a.Jc(19),a.jc(20,\"translate\"),a.Vb(),a.Vb(),a.Wb(21,\"button\",9),a.ec(\"click\",(function(){return e.editReview()})),a.Wb(22,\"i\",8),a.Jc(23,\" send \"),a.Vb(),a.Wb(24,\"span\"),a.Jc(25),a.jc(26,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(9);a.Db(8),a.pc(\"placeholder\",a.kc(10,7,\"WRITE_REVIEW_PLACEHOLDER\")),a.oc(\"formControl\",e.editReviewControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/160\"),a.Db(1),a.oc(\"ngIf\",e.editReviewControl.invalid),a.Db(6),a.Lc(\" \",a.kc(20,9,\"BTN_CLOSE\"),\"\"),a.Db(2),a.oc(\"disabled\",e.editReviewControl.invalid),a.Db(4),a.Lc(\" \",a.kc(26,11,\"BTN_SUBMIT\"),\"\")}},directives:[Ae.e,h.d,g.a,At.b,At.f,Tt.b,Tt.d,c.b,c.i,c.n,c.d,At.e,P.l,Ae.c,v.a,Ae.d,At.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{width:100%}\"]}),t})();var Re=i(\"f0Cb\"),Me=i(\"7EHt\");function Je(t,e){if(1&t&&(a.Wb(0,\"div\",24),a.jc(1,\"translate\"),a.Wb(2,\"span\",25),a.Rb(3,\"i\",26),a.Wb(4,\"span\",27),a.Jc(5),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.pc(\"matTooltip\",a.kc(1,2,\"LABEL_BONUS\")),a.Db(5),a.Kc(t.data.productData.points)}}function He(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",29),a.Wb(1,\"div\",30),a.Wb(2,\"div\",31),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit,o=a.ic(2);return\"Anonymous\"!==i.author&&i.author===o.author&&o.editReview(i)})),a.jc(3,\"translate\"),a.Wb(4,\"cite\"),a.Jc(5),a.Vb(),a.Wb(6,\"p\"),a.Jc(7),a.Vb(),a.Vb(),a.Wb(8,\"div\"),a.Wb(9,\"button\",32),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).likeReview(i)})),a.Wb(10,\"span\",25),a.Wb(11,\"mat-icon\"),a.Jc(12,\"thumb_up\"),a.Vb(),a.Wb(13,\"span\",33),a.Jc(14),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic(2);a.Db(2),a.pc(\"matTooltipDisabled\",t.author!==i.author),a.pc(\"matTooltip\",a.kc(3,6,\"LABEL_EDIT_REVIEW\")),a.Db(3),a.Kc(t.author),a.Db(2),a.Kc(t.message),a.Db(2),a.oc(\"disabled\",t.liked||!i.isLoggedIn()),a.Db(5),a.Kc(t.likesCount)}}function Ne(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Hc(1,He,15,8,\"div\",28),a.jc(2,\"async\"),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngForOf\",a.kc(2,1,t.reviews$))}}function Fe(t,e){1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"span\",34),a.Jc(2,\" EMPTY_REVIEW_LIST \"),a.Vb(),a.Vb())}const Be=function(){return{length:\"160\"}};u.b.add(m.C,m.b,m.fb,m.T,m.l),u.a.watch();let Ue=(()=>{class t{constructor(t,e,i,a,o,n){this.dialog=t,this.data=e,this.productReviewService=i,this.userService=a,this.snackBar=o,this.snackBarHelperService=n,this.author=\"Anonymous\",this.reviewControl=new c.c(\"\",[c.x.maxLength(160)])}ngOnInit(){this.data.productData.points=Math.round(this.data.productData.price/10),this.reviews$=this.productReviewService.get(this.data.productData.id),this.userSubscription=this.userService.whoAmI().subscribe(t=>{this.author=t&&t.email?t.email:\"Anonymous\"},t=>console.log(t))}ngOnDestroy(){this.userSubscription&&this.userSubscription.unsubscribe()}addReview(t){const e={message:t.value,author:this.author};t.value=\"\",this.productReviewService.create(this.data.productData.id,e).subscribe(()=>{this.reviews$=this.productReviewService.get(this.data.productData.id)},t=>console.log(t)),this.snackBarHelperService.open(\"CONFIRM_REVIEW_SAVED\")}editReview(t){this.dialog.open(Ee,{width:\"500px\",height:\"max-content\",data:{reviewData:t}}).afterClosed().subscribe(()=>this.reviews$=this.productReviewService.get(this.data.productData.id))}likeReview(t){this.productReviewService.like(t._id).subscribe(()=>{console.log(\"Liked \"+t._id)}),setTimeout(()=>this.reviews$=this.productReviewService.get(this.data.productData.id),200)}isLoggedIn(){return localStorage.getItem(\"token\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.b),a.Qb(Ae.a),a.Qb(Te),a.Qb(D),a.Qb(L.a),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-product-details\"]],decls:59,vars:36,consts:[[\"fxLayout\",\"column\",1,\"container\",\"mat-typography\"],[\"fxLayout\",\"row\",\"fxLayout.lt-sm\",\"column\",\"fxLayoutGap\",\"20px\"],[\"fxFlex\",\"noshrink\"],[1,\"img-thumbnail\",3,\"src\",\"alt\"],[3,\"innerHTML\"],[1,\"item-price\"],[\"aria-label\",\"Bonus points when buying the product\",3,\"matTooltip\",4,\"ngIf\"],[1,\"detail-divider\"],[\"mat-button\",\"\",2,\"height\",\"0\",\"position\",\"absolute\"],[\"aria-label\",\"Expand for Reviews\",1,\"mat-elevation-z0\"],[\"translate\",\"\",2,\"margin-right\",\"5px\"],[4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[\"translate\",\"\"],[\"appearance\",\"outline\",\"color\",\"accent\",\"floatLabel\",\"always\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"cols\",\"50\",\"matInput\",\"\",\"matTextareaAutosize\",\"\",\"matAutosizeMinRows\",\"2\",\"maxlength\",\"160\",\"matAutosizeMaxRows\",\"4\",\"aria-label\",\"Text field to review a product\",3,\"formControl\",\"placeholder\"],[\"textPut\",\"\"],[\"align\",\"end\"],[\"align\",\"end\",1,\"dialogAction\"],[\"mat-stroked-button\",\"\",\"mat-dialog-close\",\"\",\"aria-label\",\"Close Dialog\",1,\"close-dialog\",\"buttons\"],[1,\"material-icons\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Send the review\",1,\"buttons\",2,\"margin-bottom\",\"5px\",\"margin-top\",\"5px\",\"margin-left\",\"5px\",3,\"disabled\",\"click\"],[\"aria-label\",\"Bonus points when buying the product\",3,\"matTooltip\"],[1,\"fa-2x\",\"fa-layers\",\"fa-fw\"],[1,\"fas\",\"fa-crown\"],[1,\"fa-layers-counter\",\"fa-layers-bottom-left\",\"fa-2x\",\"warn-notification\",2,\"font-size\",\"47px\"],[\"class\",\"comment\",4,\"ngFor\",\"ngForOf\"],[1,\"comment\"],[\"fxLayout\",\"row\"],[\"matTooltipPosition\",\"right\",1,\"review-text\",3,\"matTooltipDisabled\",\"matTooltip\",\"click\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Rate a helpful review\",1,\"rw-button\",3,\"disabled\",\"click\"],[1,\"fa-layers-counter\",\"fa-layers-bottom-right\",\"accent-notification\",2,\"font-size\",\"32px\"],[\"translate\",\"\",1,\"noResultText\"]],template:function(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-dialog-content\"),a.Wb(1,\"div\",0),a.Wb(2,\"div\",1),a.Wb(3,\"div\",2),a.Rb(4,\"img\",3),a.Vb(),a.Wb(5,\"div\"),a.Wb(6,\"h1\"),a.Jc(7),a.Vb(),a.Rb(8,\"div\",4),a.Rb(9,\"br\"),a.Wb(10,\"div\"),a.Wb(11,\"p\",5),a.Jc(12),a.Vb(),a.Hc(13,Je,6,4,\"div\",6),a.Vb(),a.Vb(),a.Vb(),a.Rb(14,\"mat-divider\",7),a.Rb(15,\"button\",8),a.Wb(16,\"mat-expansion-panel\",9),a.Wb(17,\"mat-expansion-panel-header\"),a.Wb(18,\"mat-panel-title\"),a.Wb(19,\"span\",10),a.Jc(20,\"LABEL_REVIEWS\"),a.Vb(),a.Wb(21,\"span\"),a.Jc(22),a.jc(23,\"async\"),a.Vb(),a.Vb(),a.Vb(),a.Rb(24,\"button\",8),a.Hc(25,Ne,3,3,\"div\",11),a.jc(26,\"async\"),a.Hc(27,Fe,3,0,\"ng-template\",null,12,a.Ic),a.Vb(),a.Wb(29,\"div\"),a.Rb(30,\"mat-divider\",7),a.Wb(31,\"h4\",13),a.Jc(32,\"WRITE_REVIEW\"),a.Vb(),a.Wb(33,\"mat-form-field\",14),a.Wb(34,\"mat-label\",13),a.Jc(35,\"LABEL_REVIEW\"),a.Vb(),a.Wb(36,\"mat-hint\",13),a.Rb(37,\"i\",15),a.Wb(38,\"em\",16),a.Jc(39),a.jc(40,\"translate\"),a.Vb(),a.Vb(),a.Rb(41,\"textarea\",17,18),a.jc(43,\"translate\"),a.Wb(44,\"mat-hint\",19),a.Jc(45),a.Vb(),a.Vb(),a.Wb(46,\"mat-dialog-actions\",20),a.Wb(47,\"button\",21),a.Wb(48,\"i\",22),a.Jc(49,\" close \"),a.Vb(),a.Wb(50,\"span\"),a.Jc(51),a.jc(52,\"translate\"),a.Vb(),a.Vb(),a.Wb(53,\"button\",23),a.ec(\"click\",(function(){a.zc(t);const i=a.wc(42);return e.addReview(i)})),a.Wb(54,\"i\",22),a.Jc(55,\" send \"),a.Vb(),a.Wb(56,\"span\"),a.Jc(57),a.jc(58,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.wc(28),n=a.wc(42);var i,o;const r=(null==(o=a.kc(26,24,e.reviews$))?null:o.length)>=1;a.Db(4),a.pc(\"alt\",e.data.productData.name),a.oc(\"src\",\"assets/public/images/products/\"+e.data.productData.image,a.Cc),a.Db(3),a.Kc(e.data.productData.name),a.Db(1),a.oc(\"innerHTML\",e.data.productData.description,a.Ac),a.Db(4),a.Lc(\"\",e.data.productData.price,\"\\xa4\"),a.Db(1),a.oc(\"ngIf\",e.data.productData.points>0),a.Db(9),a.Lc(\"(\",null==(i=a.kc(23,22,e.reviews$))?null:i.length,\")\"),a.Db(3),a.oc(\"ngIf\",r)(\"ngIfElse\",t),a.Db(6),a.Gc(\"display\",e.isLoggedIn()?\"block\":\"none\"),a.Db(2),a.Gc(\"display\",e.isLoggedIn()?\"block\":\"none\"),a.Db(6),a.Kc(a.lc(40,26,\"MAX_TEXTAREA_LENGTH\",a.sc(35,Be))),a.Db(2),a.pc(\"placeholder\",a.kc(43,29,\"WRITE_REVIEW_PLACEHOLDER\")),a.oc(\"formControl\",e.reviewControl),a.Db(4),a.Lc(\"\",(null==n.value?null:n.value.length)||0,\"/160\"),a.Db(6),a.Lc(\" \",a.kc(52,31,\"BTN_CLOSE\"),\"\"),a.Db(2),a.Gc(\"display\",e.isLoggedIn()?\"block\":\"none\"),a.oc(\"disabled\",!n.value.trim()),a.Db(4),a.Lc(\" \",a.kc(58,33,\"BTN_SUBMIT\"),\" \")}},directives:[Ae.e,h.d,h.e,h.b,P.l,Re.a,v.a,Me.b,Me.d,Me.e,g.a,At.b,At.f,At.e,Tt.b,Tt.d,c.b,c.i,c.n,c.d,Ae.c,Ae.d,we.a,P.k,Ce.a],pipes:[P.b,g.d],styles:[\".img-thumbnail[_ngcontent-%COMP%]{height:auto;max-width:100%;padding:0;width:200px}mat-form-field[_ngcontent-%COMP%]{width:100%}p[_ngcontent-%COMP%]{word-break:break-all}.btn-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:nth-child(2){left:530px;width:50px}.detail-divider[_ngcontent-%COMP%]{margin-bottom:12px;margin-top:12px}.rw-button[_ngcontent-%COMP%]{margin-left:8px}.comment[_ngcontent-%COMP%]{margin-bottom:8px}.review-link[_ngcontent-%COMP%]{font-size:11px;margin-top:-10px;text-decoration:none}#submitButton[_ngcontent-%COMP%]{float:right}.item-price[_ngcontent-%COMP%]{float:left;margin-right:40px;margin-top:8px}.noResultText[_ngcontent-%COMP%]{display:block;font-size:small;margin-left:auto;margin-right:auto;text-align:center}.dialogAction[_ngcontent-%COMP%]{margin-bottom:0!important}.buttons[_ngcontent-%COMP%]{padding-left:13px;padding-right:13px}\"]}),t})(),je=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Products\"}search(t){return this.http.get(this.hostServer+\"/rest/products/search?q=\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(t){return this.http.get(this.host+\"/\"+t+\"?d=\"+encodeURIComponent((new Date).toDateString())).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Qe=i(\"M9IT\"),ze=i(\"cp0P\"),Ge=i(\"gFX4\");let qe=(()=>{class t{constructor(t){this.ngZone=t,this.io=Ge,this.ngZone.runOutsideAngular(()=>{this._socket=this.io.connect(window.location.href,{path:(\"/\"===window.location.pathname?\"/\":window.location.pathname+\"/\")+\"socket.io\"})})}socket(){return this._socket}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(a.A))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ye=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Quantitys\"}getAll(){return this.http.get(this.host+\"/\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Ke=i(\"zkoq\");function Xe(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"span\"),a.Jc(2),a.jc(3,\"translate\"),a.Vb(),a.Rb(4,\"span\",9),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Lc(\"\",a.kc(3,2,\"TITLE_SEARCH_RESULTS\"),\" - \"),a.Db(2),a.oc(\"innerHTML\",t.searchValue,a.Ac)}}function $e(t,e){1&t&&(a.Wb(0,\"div\"),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Kc(a.kc(2,1,\"TITLE_ALL_PRODUCTS\")))}const Ze=function(t){return{quantity:t}};function ti(t,e){if(1&t&&(a.Wb(0,\"div\",24),a.Wb(1,\"span\",25),a.Jc(2,\"LABEL_ONLY_QUANTITY_LEFT\"),a.Vb(),a.Vb()),2&t){const t=a.ic().$implicit;a.Db(1),a.oc(\"translateParams\",a.tc(1,Ze,t.quantity))}}function ei(t,e){1&t&&(a.Wb(0,\"div\",26),a.Wb(1,\"span\",27),a.Jc(2,\"LABEL_SOLD_OUT\"),a.Vb(),a.Vb())}function ii(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Jc(1),a.Vb()),2&t){const t=a.ic().$implicit;a.Db(1),a.Lc(\"\",t.price,\"\\xa4\")}}function ai(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Wb(1,\"s\"),a.Jc(2),a.Vb(),a.Jc(3),a.Vb()),2&t){const t=a.ic().$implicit;a.Db(2),a.Kc(t.price),a.Db(1),a.Lc(\" \",t.deluxePrice,\"\\xa4\")}}function oi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",28),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic(2).addToBasket(e.id)})),a.Wb(1,\"span\",27),a.Jc(2,\"ADD_BASKET\"),a.Vb(),a.Vb()}}function ni(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-grid-tile\"),a.Wb(1,\"mat-card\",13),a.Hc(2,ti,3,3,\"div\",14),a.Hc(3,ei,3,0,\"div\",15),a.Wb(4,\"div\",16),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).showDetail(i)})),a.Wb(5,\"div\",17),a.Rb(6,\"img\",18),a.Vb(),a.Wb(7,\"div\",19),a.Wb(8,\"div\",20),a.Jc(9),a.Vb(),a.Wb(10,\"div\",21),a.Hc(11,ii,2,1,\"span\",3),a.Hc(12,ai,4,2,\"span\",3),a.Vb(),a.Vb(),a.Vb(),a.Wb(13,\"div\",22),a.Hc(14,oi,3,0,\"button\",23),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic(2);a.Db(1),a.Gc(\"width\",\"100%\"),a.Db(1),a.oc(\"ngIf\",t.quantity<=5&&t.quantity>0),a.Db(1),a.oc(\"ngIf\",t.quantity<=0),a.Db(3),a.pc(\"alt\",t.name),a.oc(\"src\",\"assets/public/images/products/\"+t.image,a.Cc),a.Db(3),a.Lc(\" \",t.name,\" \"),a.Db(2),a.oc(\"ngIf\",!i.isDeluxe()||t.price===t.deluxePrice),a.Db(1),a.oc(\"ngIf\",i.isDeluxe()&&t.price!==t.deluxePrice),a.Db(2),a.oc(\"ngIf\",i.isLoggedIn())}}function ri(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"mat-grid-list\",10,11),a.ec(\"resize\",(function(e){return a.zc(t),a.ic().onResize(e)}),!1,a.yc),a.Hc(3,ni,15,10,\"mat-grid-tile\",12),a.jc(4,\"async\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(1),a.oc(\"cols\",t.breakpoint),a.Db(2),a.oc(\"ngForOf\",a.kc(4,2,t.gridDataSource))}}function ci(t,e){1&t&&(a.Wb(0,\"mat-card\",29),a.Rb(1,\"img\",30),a.Wb(2,\"mat-card-title\"),a.Wb(3,\"span\",31),a.Jc(4,\" NO_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Wb(5,\"mat-card-content\"),a.Wb(6,\"span\",31),a.Jc(7,\" EMPTY_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Vb())}const si=function(){return[12,24,36]};u.b.add(m.o,m.e),u.a.watch();let li=(()=>{class t{constructor(t,e,i,a,o,n,r,c,s,l,b,u){this.deluxeGuard=t,this.dialog=e,this.productService=i,this.quantityService=a,this.basketService=o,this.translateService=n,this.router=r,this.route=c,this.sanitizer=s,this.ngZone=l,this.io=b,this.snackBarHelperService=u,this.displayedColumns=[\"Image\",\"Product\",\"Description\",\"Price\",\"Select\"],this.paginator=null,this.breakpoint=6,this.emptyState=!1}ngAfterViewInit(){const t=this.productService.search(\"\"),e=this.quantityService.getAll();Object(ze.a)([e,t]).subscribe(([t,e])=>{let i=[];this.tableData=e,this.trustProductDescription(e);for(const a of e)i.push({name:a.name,price:a.price,deluxePrice:a.deluxePrice,id:a.id,image:a.image,description:a.description});for(const a of t){const t=i.find(t=>t.id===a.ProductId);void 0!==t&&(t.quantity=a.quantity)}this.dataSource=new T.o(i),this.dataSource.paginator=this.paginator,this.gridDataSource=this.dataSource.connect(),this.filterTable(),this.routerSubscription=this.router.events.subscribe(()=>{this.filterTable()}),window.innerWidth<2600?(this.breakpoint=4,window.innerWidth<1740&&(this.breakpoint=3,window.innerWidth<1280&&(this.breakpoint=2,window.innerWidth<850&&(this.breakpoint=1)))):this.breakpoint=6},t=>console.log(t))}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe(),this.productSubscription&&this.productSubscription.unsubscribe(),this.dataSource&&this.dataSource.disconnect()}filterTable(){let t=this.route.snapshot.queryParams.q;t&&t.includes(\"javascript:alert\")&&this.ngZone.runOutsideAngular(()=>{this.io.socket().emit(\"verifyLocalXssChallenge\",t)}),t?(t=t.trim(),this.dataSource.filter=t.toLowerCase(),this.searchValue=this.sanitizer.bypassSecurityTrustHtml(t),this.gridDataSource.subscribe(t=>{this.emptyState=0===t.length})):(this.dataSource.filter=\"\",this.searchValue=void 0,this.emptyState=!1)}showDetail(t){this.dialog.open(Ue,{width:\"500px\",height:\"max-content\",data:{productData:t}})}addToBasket(t){this.basketService.find(Number(sessionStorage.getItem(\"bid\"))).subscribe(e=>{let i=e.Products,a=!1;for(let o=0;o<i.length;o++)if(i[o].id===t){a=!0,this.basketService.get(i[o].BasketItem.id).subscribe(t=>{this.basketService.put(t.id,{quantity:t.quantity+1}).subscribe(t=>{this.productService.get(t.ProductId).subscribe(t=>{this.translateService.get(\"BASKET_ADD_SAME_PRODUCT\",{product:t.name}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>console.log(t))},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})},t=>console.log(t));break}a||this.basketService.save({ProductId:t,BasketId:sessionStorage.getItem(\"bid\"),quantity:1}).subscribe(t=>{this.productService.get(t.ProductId).subscribe(t=>{this.translateService.get(\"BASKET_ADD_PRODUCT\",{product:t.name}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>console.log(t))},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})},t=>console.log(t))}trustProductDescription(t){for(let e=0;e<t.length;e++)t[e].description=this.sanitizer.bypassSecurityTrustHtml(t[e].description)}isLoggedIn(){return localStorage.getItem(\"token\")}onResize(t){t.target.innerWidth<2600?(this.breakpoint=4,t.target.innerWidth<1740&&(this.breakpoint=3,t.target.innerWidth<1280&&(this.breakpoint=2,t.target.innerWidth<850&&(this.breakpoint=1)))):this.breakpoint=6}isDeluxe(){return this.deluxeGuard.isDeluxe()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(O),a.Qb(Ae.b),a.Qb(je),a.Qb(Ye),a.Qb(x),a.Qb(g.e),a.Qb(S.b),a.Qb(S.a),a.Qb(o.c),a.Qb(a.A),a.Qb(qe),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-search-result\"]],viewQuery:function(t,e){var i;1&t&&a.Fc(Qe.a,!0),2&t&&a.vc(i=a.fc())&&(e.paginator=i.first)},decls:12,vars:7,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"table-container\",\"custom-slate\"],[1,\"heading\",\"mat-elevation-z6\"],[4,\"ngIf\"],[\"id\",\"search-result-heading\"],[4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[\"color\",\"accent\",1,\"mat-elevation-z6\",3,\"pageSizeOptions\",\"pageSize\"],[\"paginator\",\"\"],[\"id\",\"searchValue\",3,\"innerHTML\"],[\"gutterSize\",\"30px\",3,\"cols\",\"resize\"],[\"table\",\"\"],[4,\"ngFor\",\"ngForOf\"],[1,\"mat-elevation-z6\",\"ribbon-card\"],[\"class\",\"ribbon ribbon-top-left\",4,\"ngIf\"],[\"class\",\"ribbon ribbon-top-left ribbon-sold\",4,\"ngIf\"],[\"aria-label\",\"Click for more information about the product\",\"matTooltip\",\"Click for more information\",\"matTooltipPosition\",\"above\",1,\"product\",3,\"click\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"60%\",1,\"img-container\"],[\"mat-card-image\",\"\",\"role\",\"button\",1,\"img-responsive\",\"img-thumbnail\",3,\"src\",\"alt\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"40%\"],[1,\"item-name\"],[1,\"item-price\"],[2,\"display\",\"flex\",\"justify-content\",\"center\"],[\"aria-label\",\"Add to Basket\",\"class\",\"btn-basket\",\"color\",\"primary\",\"mat-button\",\"\",\"mat-raised-button\",\"\",3,\"click\",4,\"ngIf\"],[1,\"ribbon\",\"ribbon-top-left\"],[\"translate\",\"\",3,\"translateParams\"],[1,\"ribbon\",\"ribbon-top-left\",\"ribbon-sold\"],[\"translate\",\"\"],[\"aria-label\",\"Add to Basket\",\"color\",\"primary\",\"mat-button\",\"\",\"mat-raised-button\",\"\",1,\"btn-basket\",3,\"click\"],[1,\"mat-elevation-z6\",\"emptyState\"],[\"alt\",\" No results found\",\"src\",\"assets/public/images/products/no-results.png\",1,\"img-responsive\",\"noResult\"],[\"translate\",\"\",1,\"noResultText\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Hc(3,Xe,5,4,\"div\",3),a.Hc(4,$e,3,3,\"div\",3),a.Rb(5,\"div\",4),a.Vb(),a.Hc(6,ri,5,4,\"div\",5),a.Hc(7,ci,8,0,\"ng-template\",null,6,a.Ic),a.Rb(9,\"mat-divider\"),a.Rb(10,\"mat-paginator\",7,8),a.Vb(),a.Vb()),2&t){const t=a.wc(8);a.Db(3),a.oc(\"ngIf\",e.searchValue),a.Db(1),a.oc(\"ngIf\",!e.searchValue),a.Db(2),a.oc(\"ngIf\",!e.emptyState)(\"ngIfElse\",t),a.Db(4),a.oc(\"pageSizeOptions\",a.sc(6,si))(\"pageSize\",12)}},directives:[h.c,P.l,Re.a,Qe.a,Ke.a,P.k,Ke.c,f.a,we.a,h.a,h.b,f.d,g.a,v.a,f.f,f.b],pipes:[g.d,P.b],styles:['.table-container[_ngcontent-%COMP%]{min-width:350px;width:80%}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.img-thumbnail[_ngcontent-%COMP%]{width:100%}.product[_ngcontent-%COMP%]{cursor:pointer}.btn-basket[_ngcontent-%COMP%]{bottom:10%}mat-card[_ngcontent-%COMP%]{height:calc(100% - 70px)}.item-price[_ngcontent-%COMP%]{font-size:medium;margin-top:12px;text-align:center}.item-name[_ngcontent-%COMP%]{font-size:large;text-align:center}.emptyState[_ngcontent-%COMP%]{display:block;height:auto!important;margin:20px auto;width:50%}.noResult[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:60%}.noResultText[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center}.ribbon-card[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{height:150px;overflow:hidden;position:absolute;width:150px}.ribbon[_ngcontent-%COMP%]:before{content:\"\";z-index:-1}.ribbon[_ngcontent-%COMP%]:before, .ribbon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;position:absolute}.ribbon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{box-shadow:0 5px 10px rgba(0,0,0,.1);color:#fff;font:700 18px/1 Lato,sans-serif;padding:15px 0;text-align:center;text-shadow:0 1px 1px rgba(0,0,0,.2);width:225px}.ribbon-top-left[_ngcontent-%COMP%]{left:-10px;top:-10px}.ribbon-top-left[_ngcontent-%COMP%]:before{border-left-color:transparent;border-top-color:transparent;right:0;top:0}.ribbon-top-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{right:-25px;top:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}']}),t})(),bi=(()=>{class t{get nativeWindow(){return window}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var ui=i(\"bSwM\");function di(t,e){if(1&t&&(a.Wb(0,\"div\",20),a.Jc(1),a.Vb()),2&t){const t=a.ic();a.Db(1),a.Kc(t.error)}}function mi(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\"MANDATORY_EMAIL\"),a.Vb())}function pi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",21),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.hide=!e.hide})),a.jc(1,\"translate\"),a.Rb(2,\"i\",22),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"SHOW_PWD_TOOLTIP\"))}function hi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",23),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.hide=!e.hide})),a.jc(1,\"translate\"),a.Rb(2,\"i\",24),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"HIDE_PWD_TOOLTIP\"))}function fi(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\"MANDATORY_PASSWORD\"),a.Vb())}function gi(t,e){1&t&&(a.Wb(0,\"div\",25),a.Wb(1,\"div\",26),a.Rb(2,\"div\"),a.Vb(),a.Wb(3,\"div\",27),a.Jc(4,\"LABEL_OR\"),a.Vb(),a.Wb(5,\"div\",26),a.Rb(6,\"div\"),a.Vb(),a.Vb())}function vi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",28),a.ec(\"click\",(function(){return a.zc(t),a.ic().googleLogin()})),a.Rb(1,\"i\",29),a.Jc(2),a.jc(3,\"translate\"),a.Vb()}2&t&&(a.Db(2),a.Lc(\" \",a.kc(3,1,\"BTN_GOOGLE_LOGIN\"),\" \"))}u.b.add(m.y,m.o,m.p,d.f),u.a.watch();let Ci=(()=>{class t{constructor(t,e,i,a,o,n,r){this.configurationService=t,this.userService=e,this.windowRefService=i,this.cookieService=a,this.router=o,this.formSubmitService=n,this.ngZone=r,this.emailControl=new c.c(\"\",[c.x.required]),this.passwordControl=new c.c(\"\",[c.x.required]),this.hide=!0,this.rememberMe=new c.c(!1),this.clientId=\"1005568560502-6hm16lef8oh46hr2d98vf2ohlnj4nfhq.apps.googleusercontent.com\",this.oauthUnavailable=!0,this.redirectUri=\"\"}ngOnInit(){const t=localStorage.getItem(\"email\");t?(this.user={},this.user.email=t,this.rememberMe.setValue(!0)):this.rememberMe.setValue(!1),this.redirectUri=this.windowRefService.nativeWindow.location.protocol+\"//\"+this.windowRefService.nativeWindow.location.host,this.configurationService.getApplicationConfiguration().subscribe(t=>{if(t&&t.application&&t.application.googleOauth){this.clientId=t.application.googleOauth.clientId;let e=t.application.googleOauth.authorizedRedirects.find(t=>t.uri===this.redirectUri);e?(this.oauthUnavailable=!1,this.redirectUri=e.proxy?e.proxy:e.uri):(this.oauthUnavailable=!0,console.log(this.redirectUri+\" is not an authorized redirect URI for this application.\"))}},t=>console.log(t)),this.formSubmitService.attachEnterKeyHandler(\"login-form\",\"loginButton\",()=>this.login())}login(){this.user={},this.user.email=this.emailControl.value,this.user.password=this.passwordControl.value,this.userService.login(this.user).subscribe(t=>{localStorage.setItem(\"token\",t.token),this.cookieService.put(\"token\",t.token),sessionStorage.setItem(\"bid\",t.bid),this.userService.isLoggedIn.next(!0),this.ngZone.run(()=>this.router.navigate([\"/search\"]))},({error:t})=>{if(t.status&&t.data&&\"totp_token_required\"===t.status)return localStorage.setItem(\"totp_tmp_token\",t.data.tmpToken),void this.ngZone.run(()=>this.router.navigate([\"/2fa/enter\"]));localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.error=t,this.userService.isLoggedIn.next(!1),this.emailControl.markAsPristine(),this.passwordControl.markAsPristine()}),this.rememberMe.value?localStorage.setItem(\"email\",this.user.email):localStorage.removeItem(\"email\"),this.error&&this.user.email&&this.user.email.match(/support@.*/)&&console.log(\"@echipa de suport: Secretul nostru comun este \\xeenc\\u0103 Caoimhe cu parola de master gol!\")}googleLogin(){this.windowRefService.nativeWindow.location.replace(`https://accounts.google.com/o/oauth2/v2/auth?client_id=${this.clientId}&response_type=token&scope=email&redirect_uri=${this.redirectUri}`)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(D),a.Qb(bi),a.Qb(r.b),a.Qb(S.b),a.Qb(Lt),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-login\"]],decls:35,vars:18,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"class\",\"error\",4,\"ngIf\"],[\"id\",\"login-form\",1,\"form-container\"],[\"color\",\"accent\",\"appearance\",\"outline\"],[\"translate\",\"\"],[\"id\",\"email\",\"name\",\"email\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Text field for the login email\",3,\"formControl\",\"focus\"],[\"email\",\"\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"password\",\"name\",\"password\",\"matInput\",\"\",\"placeholder\",\"\",\"aria-label\",\"Text field for the login password\",3,\"formControl\",\"type\",\"focus\"],[\"password\",\"\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to display the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to hide the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"routerLink\",\"/forgot-password\",\"translate\",\"\",1,\"primary-link\",\"forgot-pw\"],[\"type\",\"submit\",\"id\",\"loginButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Login\",3,\"disabled\",\"click\"],[\"id\",\"rememberMe\",\"aria-label\",\"Checkbox to stay logged in or not logged in\",3,\"formControl\"],[\"class\",\"breakLine\",4,\"ngIf\"],[\"id\",\"loginButtonGoogle\",\"mat-raised-button\",\"\",\"color\",\"accent\",\"aria-label\",\"Login with Google\",\"class\",\"google-button\",3,\"click\",4,\"ngIf\"],[\"id\",\"newCustomerLink\"],[\"routerLink\",\"/register\",\"translate\",\"\",1,\"primary-link\"],[1,\"error\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to display the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\"],[\"aria-label\",\"Eye\",1,\"fas\",\"fa-eye\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",\"aria-label\",\"Button to hide the password\",\"matTooltipPosition\",\"right\",3,\"matTooltip\",\"click\"],[\"aria-label\",\"Eye Slash\",1,\"fas\",\"fa-eye-slash\"],[1,\"breakLine\"],[1,\"line\"],[\"translate\",\"\",1,\"textOnLine\"],[\"id\",\"loginButtonGoogle\",\"mat-raised-button\",\"\",\"color\",\"accent\",\"aria-label\",\"Login with Google\",1,\"google-button\",3,\"click\"],[1,\"fab\",\"fa-google\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\"),a.Jc(3,\"Login\"),a.Vb(),a.Hc(4,di,2,1,\"div\",2),a.Wb(5,\"div\",3),a.Wb(6,\"mat-form-field\",4),a.Wb(7,\"mat-label\",5),a.Jc(8,\"LABEL_EMAIL\"),a.Vb(),a.Wb(9,\"input\",6,7),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Hc(11,mi,2,0,\"mat-error\",8),a.Vb(),a.Wb(12,\"mat-form-field\",4),a.Wb(13,\"mat-label\",5),a.Jc(14,\"LABEL_PASSWORD\"),a.Vb(),a.Wb(15,\"input\",9,10),a.ec(\"focus\",(function(){return e.error=null})),a.Vb(),a.Hc(17,pi,3,3,\"button\",11),a.Hc(18,hi,3,3,\"button\",12),a.Hc(19,fi,2,0,\"mat-error\",8),a.Vb(),a.Wb(20,\"a\",13),a.Jc(21,\"FORGOT_PASSWORD\"),a.Vb(),a.Wb(22,\"button\",14),a.ec(\"click\",(function(){return e.login()})),a.Wb(23,\"mat-icon\"),a.Jc(24,\" exit_to_app \"),a.Vb(),a.Jc(25),a.jc(26,\"translate\"),a.Vb(),a.Wb(27,\"mat-checkbox\",15),a.Jc(28),a.jc(29,\"translate\"),a.Vb(),a.Hc(30,gi,7,0,\"div\",16),a.Hc(31,vi,4,3,\"button\",17),a.Wb(32,\"div\",18),a.Wb(33,\"a\",19),a.Jc(34,\"NO_CUSTOMER\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.oc(\"ngIf\",e.error),a.Db(5),a.oc(\"formControl\",e.emailControl),a.Db(2),a.oc(\"ngIf\",e.emailControl.invalid),a.Db(4),a.oc(\"formControl\",e.passwordControl)(\"type\",e.hide?\"password\":\"text\"),a.Db(2),a.oc(\"ngIf\",e.hide),a.Db(1),a.oc(\"ngIf\",!e.hide),a.Db(1),a.oc(\"ngIf\",e.passwordControl.invalid),a.Db(3),a.oc(\"disabled\",!e.emailControl.value||!e.passwordControl.value),a.Db(3),a.Lc(\" \",a.kc(26,14,\"BTN_LOGIN\"),\" \"),a.Db(2),a.oc(\"formControl\",e.rememberMe),a.Db(1),a.Lc(\" \",a.kc(29,16,\"REMEMBER_ME\"),\" \"),a.Db(2),a.oc(\"ngIf\",!e.oauthUnavailable),a.Db(1),a.oc(\"ngIf\",!e.oauthUnavailable))},directives:[h.c,f.a,P.l,At.b,At.f,g.a,Tt.b,c.b,c.n,c.d,S.d,v.a,Ce.a,ui.a,At.a,At.g,we.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}.forgot-pw[_ngcontent-%COMP%]{font-size:11px;margin-top:-15px}mat-checkbox[_ngcontent-%COMP%]{margin-bottom:20px;margin-left:20%;margin-top:5px}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}mat-form-field[_ngcontent-%COMP%]:nth-child(2){padding-bottom:20px}#loginButton[_ngcontent-%COMP%], #loginButtonGoogle[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.breakLine[_ngcontent-%COMP%]{display:table}.breakLine[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell;white-space:nowrap}.line[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-bottom:1px solid silver;height:1px}.textOnLine[_ngcontent-%COMP%]{padding:0 5px}.line[_ngcontent-%COMP%]{vertical-align:middle;width:50%}#newCustomerLink[_ngcontent-%COMP%]{align-self:center;font-size:12px;margin-top:40px}[_nghost-%COMP%]     .mat-form-field-suffix{margin-bottom:auto!important;margin-top:auto!important}[_nghost-%COMP%]     .mat-icon-button{height:40px!important;width:24px!important}\"]}),t})();u.b.add(m.b),u.a.watch();let wi=(()=>{class t{constructor(t,e){this.dialogData=t,this.userService=e}ngOnInit(){this.userService.get(this.dialogData.id).subscribe(t=>{this.user=t},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.a),a.Qb(D))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-user-details\"]],decls:28,vars:10,consts:[[1,\"mat-typography\"],[\"fxLayout\",\"column\",1,\"container\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\"],[\"translate\",\"LABEL_EMAIL\"],[\"translate\",\"LABEL_CREATED_AT\"],[\"translate\",\"LABEL_UPDATED_AT\"],[\"mat-raised-button\",\"\",\"mat-dialog-close\",\"\",1,\"close-dialog\"],[1,\"material-icons\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"header\"),a.Wb(2,\"h3\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Rb(5,\"mat-divider\"),a.Wb(6,\"div\",1),a.Wb(7,\"div\",2),a.Wb(8,\"div\"),a.Rb(9,\"strong\",3),a.Wb(10,\"p\"),a.Jc(11),a.Vb(),a.Vb(),a.Vb(),a.Wb(12,\"div\",2),a.Wb(13,\"div\"),a.Rb(14,\"strong\",4),a.Wb(15,\"p\"),a.Jc(16),a.Vb(),a.Vb(),a.Wb(17,\"div\"),a.Rb(18,\"strong\",5),a.Wb(19,\"p\"),a.Jc(20),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(21,\"footer\"),a.Wb(22,\"button\",6),a.Wb(23,\"i\",7),a.Jc(24,\" close \"),a.Vb(),a.Wb(25,\"span\"),a.Jc(26),a.jc(27,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Mc(\"\",a.kc(4,6,\"LABEL_USER\"),\" #\",null==e.user?null:e.user.id,\"\"),a.Db(8),a.Kc(null==e.user?null:e.user.email),a.Db(5),a.Kc(null==e.user?null:e.user.createdAt),a.Db(4),a.Kc(null==e.user?null:e.user.updatedAt),a.Db(6),a.Lc(\" \",a.kc(27,8,\"BTN_CLOSE\"),\"\"))},directives:[Re.a,h.d,h.e,g.a,v.a,Ae.d],pipes:[g.d],styles:[\"mat-divider[_ngcontent-%COMP%]{margin-bottom:10px}\"]}),t})();function yi(t,e){1&t&&a.Rb(0,\"mat-header-cell\")}function Di(t,e){1&t&&a.Rb(0,\"i\",23)}function Si(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Hc(1,Di,1,0,\"i\",22),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"ngIf\",t.token)}}function Wi(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_EMAIL\"),a.Vb())}function xi(t,e){1&t&&a.Rb(0,\"mat-cell\",24),2&t&&a.oc(\"innerHTML\",e.$implicit.email,a.Ac)}function Vi(t,e){1&t&&a.Rb(0,\"mat-header-cell\")}function Ii(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\"),a.Wb(1,\"button\",25),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().showUserDetail(i.id)})),a.Rb(2,\"i\",26),a.Vb(),a.Vb()}}function _i(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function ki(t,e){1&t&&a.Rb(0,\"mat-row\")}function Oi(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_USER\"),a.Vb())}function Li(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.UserId,\" \")}}function Ai(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_COMMENT\"),a.Vb())}function Ti(t,e){1&t&&a.Rb(0,\"mat-cell\",24),2&t&&a.oc(\"innerHTML\",e.$implicit.comment,a.Ac)}function Pi(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_RATING\"),a.Vb())}function Ei(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Rb(1,\"bar-rating\",27),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"rate\",t.rating)(\"max\",5)}}function Ri(t,e){1&t&&a.Rb(0,\"mat-header-cell\")}function Mi(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\"),a.Wb(1,\"button\",25),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().deleteFeedback(i.id)})),a.Rb(2,\"i\",28),a.Vb(),a.Vb()}}function Ji(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function Hi(t,e){1&t&&a.Rb(0,\"mat-row\")}u.b.add(m.db,m.o,m.w,m.a,m.W),u.a.watch();let Ni=(()=>{class t{constructor(t,e,i,a){this.dialog=t,this.userService=e,this.feedbackService=i,this.sanitizer=a,this.userColumns=[\"user\",\"email\",\"user_detail\"],this.feedbackColumns=[\"user\",\"comment\",\"rating\",\"remove\"]}ngOnInit(){this.findAllUsers(),this.findAllFeedbacks()}findAllUsers(){this.userService.find().subscribe(t=>{this.userDataSource=t;for(let e of this.userDataSource)e.email=this.sanitizer.bypassSecurityTrustHtml(`<span class=\"${e.token?\"confirmation\":\"error\"}\">${e.email}<\/span>`)},t=>{this.error=t,console.log(this.error)})}findAllFeedbacks(){this.feedbackService.find().subscribe(t=>{this.feedbackDataSource=t;for(let e of this.feedbackDataSource)e.comment=this.sanitizer.bypassSecurityTrustHtml(e.comment)},t=>{this.error=t,console.log(this.error)})}deleteFeedback(t){this.feedbackService.del(t).subscribe(()=>{this.findAllFeedbacks()},t=>{this.error=t,console.log(this.error)})}showUserDetail(t){this.dialog.open(wi,{data:{id:t}})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.b),a.Qb(D),a.Qb(kt),a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-administration\"]],decls:41,vars:6,consts:[[\"fxLayout\",\"row\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap\",\"20px\",1,\"container\"],[\"fxFlexAlign\",\"center\",1,\"user-container\"],[1,\"user-table\",\"mat-elevation-z8\"],[1,\"heading\"],[\"translate\",\"\"],[\"translate\",\"\",2,\"margin-left\",\"10px\"],[3,\"dataSource\"],[\"matColumnDef\",\"user\"],[4,\"matHeaderCellDef\"],[4,\"matCellDef\"],[\"matColumnDef\",\"email\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[3,\"innerHTML\",4,\"matCellDef\"],[\"matColumnDef\",\"user_detail\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxFlexAlign.lt-md\",\"center\",1,\"customer-container\"],[1,\"customer-table\",\"mat-elevation-z8\"],[\"matColumnDef\",\"comment\"],[\"matColumnDef\",\"rating\"],[\"matColumnDef\",\"remove\"],[\"src\",\"assets/public/images/padding/19px.png\"],[\"class\",\"fas fa-user fa-lg confirmation\",4,\"ngIf\"],[1,\"fas\",\"fa-user\",\"fa-lg\",\"confirmation\"],[3,\"innerHTML\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-eye\"],[\"readOnly\",\"true\",3,\"rate\",\"max\"],[1,\"fas\",\"fa-trash-alt\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Wb(3,\"div\",3),a.Wb(4,\"span\",4),a.Jc(5,\"TITLE_ADMINISTRATION\"),a.Vb(),a.Wb(6,\"small\",5),a.Jc(7,\"SECTION_USER\"),a.Vb(),a.Vb(),a.Wb(8,\"mat-table\",6),a.Ub(9,7),a.Hc(10,yi,1,0,\"mat-header-cell\",8),a.Hc(11,Si,2,1,\"mat-cell\",9),a.Tb(),a.Ub(12,10),a.Hc(13,Wi,2,0,\"mat-header-cell\",11),a.Hc(14,xi,1,1,\"mat-cell\",12),a.Tb(),a.Ub(15,13),a.Hc(16,Vi,1,0,\"mat-header-cell\",8),a.Hc(17,Ii,3,0,\"mat-cell\",9),a.Tb(),a.Hc(18,_i,1,0,\"mat-header-row\",14),a.Hc(19,ki,1,0,\"mat-row\",15),a.Vb(),a.Vb(),a.Vb(),a.Wb(20,\"div\",16),a.Wb(21,\"div\",17),a.Wb(22,\"div\",3),a.Wb(23,\"span\",4),a.Jc(24,\"SECTION_CUSTOMER_FEEDBACK\"),a.Vb(),a.Vb(),a.Wb(25,\"mat-table\",6),a.Ub(26,7),a.Hc(27,Oi,2,0,\"mat-header-cell\",11),a.Hc(28,Li,2,1,\"mat-cell\",9),a.Tb(),a.Ub(29,18),a.Hc(30,Ai,2,0,\"mat-header-cell\",11),a.Hc(31,Ti,1,1,\"mat-cell\",12),a.Tb(),a.Ub(32,19),a.Hc(33,Pi,2,0,\"mat-header-cell\",11),a.Hc(34,Ei,2,2,\"mat-cell\",9),a.Tb(),a.Ub(35,20),a.Hc(36,Ri,1,0,\"mat-header-cell\",8),a.Hc(37,Mi,3,0,\"mat-cell\",9),a.Tb(),a.Hc(38,Ji,1,0,\"mat-header-row\",14),a.Hc(39,Hi,1,0,\"mat-row\",15),a.Vb(),a.Vb(),a.Vb(),a.Rb(40,\"img\",21),a.Vb()),2&t&&(a.Db(8),a.oc(\"dataSource\",e.userDataSource),a.Db(10),a.oc(\"matHeaderRowDef\",e.userColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.userColumns),a.Db(6),a.oc(\"dataSource\",e.feedbackDataSource),a.Db(13),a.oc(\"matHeaderRowDef\",e.feedbackColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.feedbackColumns))},directives:[h.d,h.e,h.a,g.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,T.a,P.l,v.a,T.j,T.l,Pt.a],styles:[\".container[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.13);margin-bottom:10px;padding:12px 20px}.customer-container[_ngcontent-%COMP%], .user-container[_ngcontent-%COMP%]{max-width:600px;min-width:300px;width:70%}.customer-table[_ngcontent-%COMP%], .user-table[_ngcontent-%COMP%]{margin-bottom:25px}.mat-column-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .mat-column-user_detail[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:38%}mat-cell[_ngcontent-%COMP%], mat-footer-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{-webkit-box-align:normal;align-items:normal;display:block}.mat-column-comment[_ngcontent-%COMP%]{padding:10px}mat-cell[_ngcontent-%COMP%]:last-child, mat-footer-cell[_ngcontent-%COMP%]:last-child, mat-header-cell[_ngcontent-%COMP%]:last-child{padding-right:50px}\"]}),t})();function Fi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CURRENT_PASSWORD\"),a.Vb())}function Bi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_NEW_PASSWORD \"),a.Vb())}const Ui=function(){return{length:\"5-20\"}};function ji(t,e){1&t&&(a.Wb(0,\"mat-error\",19),a.Jc(1,\"INVALID_PASSWORD_LENGTH \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Ui))}function Qi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_PASSWORD_REPEAT\"),a.Vb())}function zi(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" PASSWORDS_NOT_MATCHING \"),a.Vb())}u.b.add(m.G,p.c),u.a.watch();let Gi=(()=>{class t{constructor(t,e,i){var a;this.userService=t,this.formSubmitService=e,this.translate=i,this.passwordControl=new c.c(\"\",[c.x.required]),this.newPasswordControl=new c.c(\"\",[c.x.required,c.x.minLength(5),c.x.maxLength(20)]),this.repeatNewPasswordControl=new c.c(\"\",[c.x.required,c.x.minLength(5),c.x.maxLength(20),(a=this.newPasswordControl,function(t){return a.value!==t.value?{notSame:!0}:null})])}ngOnInit(){this.formSubmitService.attachEnterKeyHandler(\"password-form\",\"changeButton\",()=>this.changePassword())}changePassword(){this.userService.changePassword({current:this.passwordControl.value,new:this.newPasswordControl.value,repeat:this.repeatNewPasswordControl.value}).subscribe(t=>{this.error=void 0,this.translate.get(\"PASSWORD_SUCCESSFULLY_CHANGED\").subscribe(t=>{this.confirmation=t},t=>{this.confirmation={error:t}}),this.resetForm()},t=>{console.log(t),this.error=t,this.confirmation=void 0,this.resetPasswords()})}resetForm(){this.passwordControl.setValue(\"\"),this.passwordControl.markAsPristine(),this.passwordControl.markAsUntouched(),this.newPasswordControl.setValue(\"\"),this.newPasswordControl.markAsPristine(),this.newPasswordControl.markAsUntouched(),this.repeatNewPasswordControl.setValue(\"\"),this.repeatNewPasswordControl.markAsPristine(),this.repeatNewPasswordControl.markAsUntouched()}resetPasswords(){this.newPasswordControl.setValue(\"\"),this.newPasswordControl.markAsPristine(),this.newPasswordControl.markAsUntouched(),this.repeatNewPasswordControl.setValue(\"\"),this.repeatNewPasswordControl.markAsPristine(),this.repeatNewPasswordControl.markAsUntouched()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(D),a.Qb(Lt),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-change-password\"]],decls:42,vars:26,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\",2,\"margin-bottom\",\"20px\"],[\"translate\",\"\"],[1,\"confirmation\",3,\"hidden\"],[1,\"error\",3,\"hidden\"],[\"id\",\"password-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"currentPassword\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to enter the current password\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"newPassword\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field for the new password\",3,\"formControl\"],[\"password\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"align\",\"end\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[\"id\",\"newPasswordRepeat\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to repeat the new password\",3,\"formControl\"],[\"passwordRepeat\",\"\"],[\"type\",\"submit\",\"id\",\"changeButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to confirm the change\",3,\"disabled\",\"click\"],[\"aria-hidden\",\"true\",1,\"far\",\"fa-edit\",\"fa-lg\"],[\"translate\",\"\",3,\"translateParams\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_CHANGE_PASSWORD\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Wb(6,\"div\",4),a.Jc(7),a.Vb(),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_CURRENT_PASSWORD\"),a.Vb(),a.Rb(12,\"input\",7),a.jc(13,\"translate\"),a.Hc(14,Fi,2,0,\"mat-error\",8),a.Vb(),a.Wb(15,\"mat-form-field\",6),a.Wb(16,\"mat-label\",2),a.Jc(17,\"LABEL_NEW_PASSWORD\"),a.Vb(),a.Rb(18,\"input\",9,10),a.Wb(20,\"mat-hint\",2),a.Rb(21,\"i\",11),a.Wb(22,\"em\",12),a.Jc(23),a.jc(24,\"translate\"),a.Vb(),a.Vb(),a.Wb(25,\"mat-hint\",13),a.Jc(26),a.Vb(),a.Hc(27,Bi,2,0,\"mat-error\",8),a.Hc(28,ji,2,2,\"mat-error\",14),a.Vb(),a.Wb(29,\"mat-form-field\",6),a.Wb(30,\"mat-label\",2),a.Jc(31,\"LABEL_REPEAT_NEW_PASSWORD\"),a.Vb(),a.Rb(32,\"input\",15,16),a.Wb(34,\"mat-hint\",13),a.Jc(35),a.Vb(),a.Hc(36,Qi,2,0,\"mat-error\",8),a.Hc(37,zi,2,0,\"mat-error\",8),a.Vb(),a.Vb(),a.Wb(38,\"button\",17),a.ec(\"click\",(function(){return e.changePassword()})),a.Rb(39,\"i\",18),a.Jc(40),a.jc(41,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(19),i=a.wc(33);a.Db(4),a.oc(\"hidden\",!(e.confirmation&&!e.passwordControl.dirty&&!e.newPasswordControl.dirty&&!e.repeatNewPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.confirmation,\" \"),a.Db(1),a.oc(\"hidden\",!(e.error&&!e.passwordControl.dirty&&!e.newPasswordControl.dirty&&!e.repeatNewPasswordControl.dirty)),a.Db(1),a.Lc(\" \",e.error,\" \"),a.Db(5),a.pc(\"placeholder\",a.kc(13,18,\"MANDATORY_CURRENT_PASSWORD\")),a.oc(\"formControl\",e.passwordControl),a.Db(2),a.oc(\"ngIf\",e.passwordControl.invalid),a.Db(4),a.oc(\"formControl\",e.newPasswordControl),a.Db(5),a.Kc(a.lc(24,20,\"INVALID_PASSWORD_LENGTH\",a.sc(25,Ui))),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",(null==e.newPasswordControl?null:e.newPasswordControl.invalid)&&(null==e.newPasswordControl?null:e.newPasswordControl.errors.required)),a.Db(1),a.oc(\"ngIf\",(null==e.newPasswordControl?null:e.newPasswordControl.invalid)&&((null==e.newPasswordControl?null:e.newPasswordControl.errors.minlength)||(null==e.newPasswordControl?null:e.newPasswordControl.errors.maxlength))),a.Db(4),a.oc(\"formControl\",e.repeatNewPasswordControl),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/20\"),a.Db(1),a.oc(\"ngIf\",e.repeatNewPasswordControl.invalid&&e.repeatNewPasswordControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.repeatNewPasswordControl.invalid&&e.repeatNewPasswordControl.errors.notSame),a.Db(1),a.oc(\"disabled\",e.passwordControl.invalid||e.newPasswordControl.invalid||e.repeatNewPasswordControl.invalid),a.Db(2),a.Lc(\" \",a.kc(41,23,\"BTN_CHANGE\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,P.l,At.e,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}button[_ngcontent-%COMP%]{margin-top:5px}#changeButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}\"]}),t})(),qi=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Complaints\"}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Yi=i(\"7pIB\");const Ki=[\"fileControl\"],Xi=function(){return{type:\"PDF, ZIP\"}};function $i(t,e){1&t&&(a.Wb(0,\"div\",20),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\"\",a.lc(2,1,\"INVALID_FILE_TYPE\",a.sc(4,Xi)),\" \"))}const Zi=function(){return{size:\"100 KB\"}};function ta(t,e){1&t&&(a.Wb(0,\"div\",20),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\"\",a.lc(2,1,\"INVALID_FILE_SIZE\",a.sc(4,Zi)),\" \"))}function ea(t,e){1&t&&(a.Wb(0,\"mat-error\"),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\"\",a.kc(2,1,\"MANDATORY_MESSAGE\"),\" \"))}const ia=function(){return{length:\"160\"}};u.b.add(m.c),u.a.watch();let aa=(()=>{class t{constructor(t,e,i,a){this.userService=t,this.complaintService=e,this.formSubmitService=i,this.translate=a,this.customerControl=new c.c({value:\"\",disabled:!0},[]),this.messageControl=new c.c(\"\",[c.x.required,c.x.maxLength(160)]),this.fileUploadError=void 0,this.uploader=new Yi.c({url:\"./file-upload\",authToken:`Bearer ${localStorage.getItem(\"token\")}`,allowedMimeType:[\"application/pdf\",\"application/xml\",\"text/xml\",\"application/zip\",\"application/x-zip-compressed\",\"multipart/x-zip\"],maxFileSize:1e5}),this.userEmail=void 0,this.complaint=void 0}ngOnInit(){this.initComplaint(),this.uploader.onWhenAddingFileFailed=(t,e)=>{throw this.fileUploadError=e,new Error(`Error due to : ${e.name}`)},this.uploader.onAfterAddingFile=()=>{this.fileUploadError=void 0},this.uploader.onSuccessItem=()=>{this.saveComplaint(),this.uploader.clearQueue()},this.formSubmitService.attachEnterKeyHandler(\"complaint-form\",\"submitButton\",()=>this.save())}initComplaint(){this.userService.whoAmI().subscribe(t=>{this.complaint={},this.complaint.UserId=t.id,this.userEmail=t.email,this.customerControl.setValue(this.userEmail)},t=>{this.complaint=void 0,console.log(t)})}save(){this.uploader.queue[0]?(this.uploader.queue[0].upload(),this.fileControl.nativeElement.value=null):this.saveComplaint()}saveComplaint(){this.complaint.message=this.messageControl.value,this.complaintService.save(this.complaint).subscribe(t=>{this.translate.get(\"CUSTOMER_SUPPORT_COMPLAINT_REPLY\",{ref:t.id}).subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}),this.initComplaint(),this.resetForm(),this.fileUploadError=void 0},t=>t)}resetForm(){this.messageControl.setValue(\"\"),this.messageControl.markAsUntouched(),this.messageControl.markAsPristine(),this.fileControl.nativeElement.value=null}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(D),a.Qb(qi),a.Qb(Lt),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-complaint\"]],viewQuery:function(t,e){var i;1&t&&a.Fc(Ki,!0),2&t&&a.vc(i=a.fc())&&(e.fileControl=i.first)},decls:39,vars:21,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"confirmation\",3,\"hidden\"],[\"class\",\"error fileUploadError\",4,\"ngIf\"],[\"id\",\"complaint-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Text field for the mail address of the user\",3,\"formControl\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"id\",\"complaintMessage\",\"matAutosizeMinRows\",\"4\",\"matAutosizeMaxRows\",\"4\",\"matTextareaAutosize\",\"\",\"cols\",\"50\",\"maxlength\",\"160\",\"matInput\",\"\",\"aria-label\",\"Field for entering the complaint\",3,\"formControl\",\"placeholder\"],[\"complaintMessage\",\"\"],[4,\"ngIf\"],[\"align\",\"end\"],[2,\"margin-top\",\"15px\"],[\"for\",\"file\",\"translate\",\"\"],[\"ng2FileSelect\",\"\",\"id\",\"file\",\"type\",\"file\",\"accept\",\".pdf,.zip\",\"aria-label\",\"Input area for uploading a single invoice PDF or XML B2B order file or a ZIP archive containing multiple invoices or orders\\x3c!----\\x3e\",2,\"margin-left\",\"10px\",3,\"uploader\"],[\"fileControl\",\"\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to send the complaint\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[1,\"error\",\"fileUploadError\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"NAV_COMPLAIN\"),a.Vb(),a.Wb(4,\"div\",3),a.Jc(5),a.Vb(),a.Hc(6,$i,3,5,\"div\",4),a.Hc(7,ta,3,5,\"div\",4),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_CUSTOMER\"),a.Vb(),a.Rb(12,\"input\",7),a.Vb(),a.Wb(13,\"mat-form-field\",6),a.Wb(14,\"mat-label\",2),a.Jc(15,\"LABEL_MESSAGE\"),a.Vb(),a.Wb(16,\"mat-hint\",2),a.Rb(17,\"i\",8),a.Wb(18,\"em\",9),a.Jc(19),a.jc(20,\"translate\"),a.Vb(),a.Vb(),a.Rb(21,\"textarea\",10,11),a.jc(23,\"translate\"),a.Hc(24,ea,3,3,\"mat-error\",12),a.Wb(25,\"mat-hint\",13),a.Jc(26),a.Vb(),a.Vb(),a.Wb(27,\"div\",14),a.Wb(28,\"label\",15),a.Jc(29,\"LABEL_INVOICE\"),a.Wb(30,\"span\"),a.Jc(31,\":\"),a.Vb(),a.Vb(),a.Rb(32,\"input\",16,17),a.Vb(),a.Vb(),a.Wb(34,\"button\",18),a.ec(\"click\",(function(){return e.save()})),a.Wb(35,\"i\",19),a.Jc(36,\" send \"),a.Vb(),a.Jc(37),a.jc(38,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(22);a.Db(4),a.oc(\"hidden\",!(e.confirmation&&!e.messageControl.dirty)),a.Db(1),a.Kc(e.confirmation),a.Db(1),a.oc(\"ngIf\",e.fileUploadError&&\"mimeType\"==e.fileUploadError.name),a.Db(1),a.oc(\"ngIf\",e.fileUploadError&&\"fileSize\"==e.fileUploadError.name),a.Db(5),a.oc(\"formControl\",e.customerControl),a.Db(7),a.Kc(a.lc(20,13,\"MAX_TEXTAREA_LENGTH\",a.sc(20,ia))),a.Db(2),a.pc(\"placeholder\",a.kc(23,16,\"WRITE_MESSAGE_PLACEHOLDER\")),a.oc(\"formControl\",e.messageControl),a.Db(3),a.oc(\"ngIf\",e.messageControl.invalid&&(null==e.messageControl?null:e.messageControl.errors.required)),a.Db(2),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/160\"),a.Db(6),a.oc(\"uploader\",e.uploader),a.Db(2),a.oc(\"disabled\",e.messageControl.invalid||e.fileUploadError),a.Db(3),a.Lc(\" \",a.kc(38,18,\"BTN_SUBMIT\"),\" \")}},directives:[h.c,f.a,g.a,P.l,At.b,At.f,Tt.b,c.b,c.n,c.d,At.e,Tt.d,c.i,Yi.a,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:30%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}\"]}),t})(),oa=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Recycles\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),na=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Addresss\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getById(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t,e){return this.http.put(this.host+\"/\"+t,e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var ra=i(\"QibW\");function ca(t,e){1&t&&(a.Wb(0,\"h1\",5),a.Jc(1,\"TITLE_SELECT_ADDRESS\"),a.Vb())}function sa(t,e){1&t&&(a.Wb(0,\"h1\",5),a.Jc(1,\"MY_SAVED_ADRESSES\"),a.Vb())}function la(t,e){1&t&&a.Rb(0,\"mat-header-cell\",20)}function ba(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",20),a.Wb(1,\"mat-radio-button\",21),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).emitSelectionToParent(i.id)})),a.Vb(),a.Vb()}}function ua(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function da(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",null==t?null:t.fullName,\" \")}}function ma(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function pa(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",23),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Nc(\" \",null==t?null:t.streetAddress,\", \",null==t?null:t.city,\", \",null==t?null:t.state,\", \",null==t?null:t.zipCode,\" \")}}function ha(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function fa(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Kc(null==t?null:t.country)}}function ga(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function va(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",24),a.Wb(1,\"button\",25),a.Rb(2,\"i\",26),a.Vb(),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.qc(\"routerLink\",\"/address/edit/\",t.id,\"\")}}function Ca(t,e){1&t&&a.Rb(0,\"mat-header-cell\",22)}function wa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",24),a.Wb(1,\"button\",27),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).deleteAddress(i.id)})),a.Rb(2,\"i\",28),a.Vb(),a.Vb()}}function ya(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function Da(t,e){1&t&&a.Rb(0,\"mat-row\")}function Sa(t,e){if(1&t&&(a.Wb(0,\"mat-table\",6),a.Ub(1,7),a.Hc(2,la,1,0,\"mat-header-cell\",8),a.Hc(3,ba,2,0,\"mat-cell\",9),a.Tb(),a.Ub(4,10),a.Hc(5,ua,1,0,\"mat-header-cell\",11),a.Hc(6,da,2,1,\"mat-cell\",9),a.Tb(),a.Ub(7,12),a.Hc(8,ma,1,0,\"mat-header-cell\",11),a.Hc(9,pa,2,4,\"mat-cell\",13),a.Tb(),a.Ub(10,14),a.Hc(11,ha,1,0,\"mat-header-cell\",11),a.Hc(12,fa,2,1,\"mat-cell\",9),a.Tb(),a.Ub(13,15),a.Hc(14,ga,1,0,\"mat-header-cell\",11),a.Hc(15,va,3,1,\"mat-cell\",16),a.Tb(),a.Ub(16,17),a.Hc(17,Ca,1,0,\"mat-header-cell\",11),a.Hc(18,wa,3,0,\"mat-cell\",16),a.Tb(),a.Hc(19,ya,1,0,\"mat-header-row\",18),a.Hc(20,Da,1,0,\"mat-row\",19),a.Vb()),2&t){const t=a.ic();a.oc(\"dataSource\",t.dataSource),a.Db(19),a.oc(\"matHeaderRowDef\",t.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",t.displayedColumns)}}function Wa(t,e){1&t&&(a.Wb(0,\"div\",29),a.Wb(1,\"button\",30),a.Wb(2,\"mat-icon\"),a.Jc(3,\" add \"),a.Vb(),a.Wb(4,\"span\",5),a.Jc(5,\"ADD_NEW_ADDRESS\"),a.Vb(),a.Vb(),a.Vb())}function xa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",31),a.ec(\"click\",(function(){return a.zc(t),a.ic().chooseAddress()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" navigate_next \"),a.Vb(),a.Wb(3,\"span\",5),a.Jc(4,\"LABEL_CONTINUE\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"disabled\",void 0===t.addressId)}}u.b.add(p.c,p.g),u.a.watch();let Va=(()=>{class t{constructor(t,e,i,o,n){this.addressService=t,this.translate=e,this.router=i,this.ngZone=o,this.snackBarHelperService=n,this.emitSelection=new a.o,this.allowEdit=!1,this.addNewAddressDiv=!0,this.showNextButton=!1,this.addressId=void 0,this.displayedColumns=[\"Name\",\"Address\",\"Country\"],this.addressExist=!1}ngOnInit(){this.allowEdit?this.displayedColumns.push(\"Edit\",\"Remove\"):this.displayedColumns.unshift(\"Selection\"),this.load()}load(){this.addressService.get().subscribe(t=>{this.addressExist=t.length,this.storedAddresses=t,this.dataSource=new T.o(this.storedAddresses)},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})}emitSelectionToParent(t){this.emitSelection.emit(t),this.addressId=t}chooseAddress(){sessionStorage.setItem(\"addressId\",this.addressId),this.ngZone.run(()=>this.router.navigate([\"/delivery-method\"]))}deleteAddress(t){this.addressService.del(t).subscribe(()=>{this.error=null,this.translate.get(\"ADDRESS_REMOVED\").subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")}),this.load()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(na),a.Qb(g.e),a.Qb(S.b),a.Qb(a.A),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-address\"]],inputs:{allowEdit:\"allowEdit\",addNewAddressDiv:\"addNewAddressDiv\",showNextButton:\"showNextButton\"},outputs:{emitSelection:\"emitSelection\"},decls:6,vars:7,consts:[[1,\"mat-elevation-z6\"],[\"translate\",\"\",4,\"ngIf\"],[3,\"dataSource\",4,\"ngIf\"],[\"style\",\"margin-top: 20px;\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"class\",\"btn btn-next\",\"color\",\"primary\",\"aria-label\",\"Proceed to payment selection\",3,\"disabled\",\"click\",4,\"ngIf\"],[\"translate\",\"\"],[3,\"dataSource\"],[\"matColumnDef\",\"Selection\"],[\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"Name\"],[\"style\",\"display: none;\",4,\"matHeaderCellDef\"],[\"matColumnDef\",\"Address\"],[\"fxFlex\",\"40%\",4,\"matCellDef\"],[\"matColumnDef\",\"Country\"],[\"matColumnDef\",\"Edit\"],[\"fxflex\",\"10%\",4,\"matCellDef\"],[\"matColumnDef\",\"Remove\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxFlex\",\"20%\"],[3,\"click\"],[2,\"display\",\"none\"],[\"fxFlex\",\"40%\"],[\"fxflex\",\"10%\"],[\"mat-icon-button\",\"\",3,\"routerLink\"],[1,\"far\",\"fa-edit\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"far\",\"fa-trash-alt\"],[2,\"margin-top\",\"20px\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Add a new address\",\"routerLink\",\"/address/create\",1,\"btn\",\"btn-new-address\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Proceed to payment selection\",1,\"btn\",\"btn-next\",3,\"disabled\",\"click\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Hc(1,ca,2,0,\"h1\",1),a.Hc(2,sa,2,0,\"h1\",1),a.Hc(3,Sa,21,3,\"mat-table\",2),a.Hc(4,Wa,6,0,\"div\",3),a.Hc(5,xa,5,1,\"button\",4),a.Vb()),2&t&&(a.Hb(\"div-boundary\",!e.addNewAddressDiv),a.Db(1),a.oc(\"ngIf\",e.showNextButton),a.Db(1),a.oc(\"ngIf\",!e.showNextButton),a.Db(1),a.oc(\"ngIf\",e.addressExist),a.Db(1),a.oc(\"ngIf\",e.addNewAddressDiv),a.Db(1),a.oc(\"ngIf\",e.showNextButton))},directives:[f.a,P.l,g.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,h.b,T.a,ra.a,v.a,S.c,T.j,T.l,Ce.a],styles:[\".btn-new-address[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;display:block}.btn-next[_ngcontent-%COMP%]{margin-right:0;margin-left:auto;display:block;margin-top:-37px}mat-header-row[_ngcontent-%COMP%]{min-height:0!important}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large}.heading-text[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;padding:12px 20px}.div-boundary[_ngcontent-%COMP%]{border:1px solid hsla(0,0%,100%,.3);border-radius:5px}\"]}),t})();var Ia=i(\"iadO\");const _a=[\"addressComp\"];function ka(t,e){if(1&t&&(a.Wb(0,\"div\",22),a.Jc(1),a.Vb()),2&t){const t=a.ic();a.Db(1),a.Lc(\"\",t.confirmation,\" \")}}function Oa(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_QUANTITY \"),a.Vb())}const La=function(){return{range:\"10-1000\"}};function Aa(t,e){1&t&&(a.Wb(0,\"mat-error\",23),a.Jc(1,\"INVALID_QUANTITY \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,La))}function Ta(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"INVALID_DATE\"),a.Vb())}function Pa(t,e){if(1&t&&(a.Wb(0,\"mat-form-field\",5),a.Wb(1,\"mat-label\",2),a.Jc(2,\"LABEL_PICKUP_DATE\"),a.Vb(),a.Rb(3,\"input\",24),a.Rb(4,\"mat-datepicker-toggle\",25),a.Rb(5,\"mat-datepicker\",null,26),a.Hc(7,Ta,2,0,\"mat-error\",8),a.Vb()),2&t){const t=a.wc(6),e=a.ic();a.Db(3),a.oc(\"formControl\",e.pickUpDateControl)(\"matDatepicker\",t),a.Db(1),a.oc(\"for\",t),a.Db(3),a.oc(\"ngIf\",e.pickUpDateControl.invalid)}}function Ea(t,e){if(1&t&&(a.Wb(0,\"mat-checkbox\",27),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t){const t=a.ic();a.oc(\"formControl\",t.pickup),a.Db(1),a.Lc(\"\",a.kc(2,2,\"REQUEST_PICKUP\"),\" \")}}u.b.add(m.C),u.a.watch();let Ra=(()=>{class t{constructor(t,e,i,a,o){this.recycleService=t,this.userService=e,this.configurationService=i,this.formSubmitService=a,this.translate=o,this.requestorControl=new c.c({value:\"\",disabled:!0},[]),this.recycleQuantityControl=new c.c(\"\",[c.x.required,c.x.min(10),c.x.max(1e3)]),this.pickUpDateControl=new c.c,this.pickup=new c.c(!1),this.recycle={},this.addressId=void 0}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.recyclePage&&(this.topImage=\"assets/public/images/products/\"+t.application.recyclePage.topProductImage,this.bottomImage=\"assets/public/images/products/\"+t.application.recyclePage.bottomProductImage)},t=>console.log(t)),this.initRecycle(),this.findAll(),this.formSubmitService.attachEnterKeyHandler(\"recycle-form\",\"recycleButton\",()=>this.save())}initRecycle(){this.userService.whoAmI().subscribe(t=>{this.recycle={},this.recycle.UserId=t.id,this.userEmail=t.email,this.requestorControl.setValue(this.userEmail)},t=>console.log(t))}save(){this.recycle.AddressId=this.addressId,this.recycle.quantity=this.recycleQuantityControl.value,this.pickup.value&&(this.recycle.isPickUp=this.pickup.value,this.recycle.date=this.pickUpDateControl.value),this.recycleService.save(this.recycle).subscribe(t=>{t.isPickup?this.translate.get(\"CONFIRM_RECYCLING_PICKUP\",{pickupdate:t.pickupDate}).subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}):this.translate.get(\"CONFIRM_RECYCLING_BOX\").subscribe(t=>{this.confirmation=t},t=>{this.confirmation=t}),this.addressComponent.load(),this.initRecycle(),this.resetForm()},t=>console.log(t))}findAll(){this.recycleService.find().subscribe(t=>{this.recycles=t},t=>{console.log(t)})}resetForm(){this.addressId=void 0,this.recycleQuantityControl.setValue(\"\"),this.recycleQuantityControl.markAsPristine(),this.recycleQuantityControl.markAsUntouched(),this.pickUpDateControl.setValue(\"\"),this.pickUpDateControl.markAsPristine(),this.pickUpDateControl.markAsUntouched(),this.pickup.setValue(!1)}getMessage(t){this.addressId=t}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(oa),a.Qb(D),a.Qb(b),a.Qb(Lt),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-recycle\"]],viewQuery:function(t,e){var i;1&t&&a.Fc(_a,!0),2&t&&a.vc(i=a.fc())&&(e.addressComponent=i.first)},decls:43,vars:17,consts:[[\"fxLayout\",\"row\",\"fxLayoutGap\",\"5%\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap.lt-md\",\"20px\",1,\"main-wrapper\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxFlex\",\"50%\"],[\"translate\",\"\"],[\"id\",\"recycle-form\",1,\"form-container\"],[\"class\",\"confirmation\",4,\"ngIf\"],[\"appearance\",\"outline\"],[\"type\",\"text\",\"matInput\",\"\",3,\"formControl\"],[\"type\",\"number\",\"matInput\",\"\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",4,\"ngIf\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[3,\"addNewAddressDiv\",\"emitSelection\"],[\"addressComp\",\"\"],[\"appearance\",\"outline\",4,\"ngIf\"],[3,\"formControl\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"recycleButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-paper-plane\",\"fa-lg\"],[\"fxFlex\",\"50%\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxLayoutAlign\",\"center\"],[\"translate\",\"\",1,\"responsibility-header\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"20px\"],[\"mat-card-image\",\"\",3,\"src\"],[1,\"fill-remaining-space\"],[1,\"confirmation\"],[\"translate\",\"\",3,\"translateParams\"],[\"matInput\",\"\",3,\"formControl\",\"matDatepicker\"],[\"matSuffix\",\"\",3,\"for\"],[\"picker\",\"\"],[3,\"formControl\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"mat-card\"),a.Wb(3,\"h3\",2),a.Jc(4,\"TITLE_RECYCLE\"),a.Vb(),a.Wb(5,\"div\",3),a.Hc(6,ka,2,1,\"div\",4),a.Wb(7,\"mat-form-field\",5),a.Wb(8,\"mat-label\",2),a.Jc(9,\"LABEL_REQUESTOR\"),a.Vb(),a.Rb(10,\"input\",6),a.Vb(),a.Wb(11,\"mat-form-field\",5),a.Wb(12,\"mat-label\",2),a.Jc(13,\"LABEL_QUANTITY\"),a.Vb(),a.Rb(14,\"input\",7),a.jc(15,\"translate\"),a.Hc(16,Oa,2,0,\"mat-error\",8),a.Hc(17,Aa,2,2,\"mat-error\",9),a.Vb(),a.Wb(18,\"app-address\",10,11),a.ec(\"emitSelection\",(function(t){return e.getMessage(t)})),a.Vb(),a.Hc(20,Pa,8,4,\"mat-form-field\",12),a.Hc(21,Ea,3,4,\"mat-checkbox\",13),a.Vb(),a.Wb(22,\"button\",14),a.ec(\"click\",(function(){return e.save()})),a.Rb(23,\"i\",15),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(26,\"div\",16),a.Wb(27,\"div\",17),a.Wb(28,\"h4\",18),a.Jc(29,\"SECTION_PRESS_JUICE_RESPONSIBLY\"),a.Vb(),a.Wb(30,\"mat-card\",19),a.Rb(31,\"img\",20),a.Wb(32,\"mat-card-content\"),a.Wb(33,\"div\"),a.Wb(34,\"small\"),a.Jc(35,\"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(36,\"mat-card\",19),a.Rb(37,\"img\",20),a.Wb(38,\"mat-card-content\"),a.Wb(39,\"div\"),a.Wb(40,\"small\"),a.Jc(41,\"Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Rb(42,\"span\",21),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(6),a.oc(\"ngIf\",e.confirmation&&!e.recycleQuantityControl.dirty),a.Db(4),a.oc(\"formControl\",e.requestorControl),a.Db(4),a.oc(\"formControl\",e.recycleQuantityControl)(\"placeholder\",a.kc(15,13,\"IN_LITERS_PLACEHOLDER\")),a.Db(2),a.oc(\"ngIf\",e.recycleQuantityControl.invalid&&e.recycleQuantityControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.recycleQuantityControl.invalid&&(e.recycleQuantityControl.errors.min||e.recycleQuantityControl.errors.max)),a.Db(1),a.oc(\"addNewAddressDiv\",!1),a.Db(2),a.oc(\"ngIf\",e.pickup.value&&e.recycleQuantityControl.value>100),a.Db(1),a.oc(\"ngIf\",e.recycleQuantityControl.value>100),a.Db(1),a.oc(\"disabled\",void 0===e.addressId||e.recycleQuantityControl.invalid||e.pickUpDateControl.invalid),a.Db(2),a.Lc(\" \",a.kc(25,15,\"BTN_SUBMIT\"),\" \"),a.Db(7),a.oc(\"src\",e.topImage,a.Cc),a.Db(6),a.oc(\"src\",e.bottomImage,a.Cc))},directives:[h.d,h.e,h.b,f.a,g.a,P.l,At.b,At.f,Tt.b,c.b,c.n,c.d,c.s,Va,v.a,h.c,f.d,f.b,At.a,Ia.b,Ia.d,At.g,Ia.a,ui.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}button[_ngcontent-%COMP%]{margin-top:5px}mat-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100px;width:auto}mat-checkbox[_ngcontent-%COMP%]{margin-bottom:20px}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}\"]}),t})(),Ma=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Challenges\"}find(t){return this.http.get(this.host+\"/\",{params:t}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}repeatNotification(t){return this.http.get(this.hostServer+\"/rest/repeat-notification\",{params:{challenge:t}}).pipe(Object(l.a)(t=>{throw t}))}continueCode(){return this.http.get(this.hostServer+\"/rest/continue-code\").pipe(Object(s.a)(t=>t.continueCode),Object(l.a)(t=>{throw t}))}restoreProgress(t){return this.http.put(this.hostServer+\"/rest/continue-code/apply/\"+t,{}).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Ja=i(\"JqCM\"),Ha=i(\"bv9b\"),Na=i(\"jaxi\");function Fa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",3),a.ec(\"click\",(function(){return a.zc(t),a.ic().repeatNotification()})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\",4),a.Jc(3,\"flag\"),a.Vb(),a.Wb(4,\"mat-icon\",4),a.Jc(5,\"check_box\"),a.Vb(),a.Wb(6,\"span\",5),a.Jc(7),a.jc(8,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"id\",t.challenge.name+\".solved\")(\"matTooltip\",t.allowRepeatNotifications?a.kc(1,5,\"NOTIFICATION_RESEND_INSTRUCTIONS\"):null),a.Db(2),a.oc(\"hidden\",!t.allowRepeatNotifications),a.Db(2),a.oc(\"hidden\",t.allowRepeatNotifications),a.Db(3),a.Kc(a.kc(8,7,\"STATUS_SOLVED\"))}}function Ba(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",6),a.ec(\"click\",(function(){return a.zc(t),a.ic().openHint()})),a.Wb(1,\"mat-icon\",4),a.Jc(2,\"book\"),a.Vb(),a.Wb(3,\"mat-icon\",4),a.Jc(4,\"check_box_outline_blank\"),a.Vb(),a.Wb(5,\"span\",5),a.Jc(6),a.jc(7,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.oc(\"id\",t.challenge.name+\".notSolved\")(\"matTooltip\",t.showChallengeHints?t.challenge.hint:null),a.Db(1),a.oc(\"hidden\",!t.showChallengeHints||!t.challenge.hintUrl),a.Db(2),a.oc(\"hidden\",t.showChallengeHints&&t.challenge.hintUrl),a.Db(3),a.Kc(a.kc(7,5,\"STATUS_UNSOLVED\"))}}function Ua(t,e){if(1&t&&(a.Wb(0,\"button\",7),a.Wb(1,\"span\"),a.Rb(2,\"i\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb()),2&t){const t=a.ic();a.oc(\"id\",t.challenge.name+\".unavailable\")(\"matTooltip\",t.challenge.hint),a.Db(2),a.Fb(\"icon-\"+(null==t.challenge.disabledEnv?null:t.challenge.disabledEnv.toString().toLowerCase())),a.Db(1),a.Lc(\" \",a.kc(4,6,\"STATUS_UNAVAILABLE\"),\" \")}}let ja=(()=>{class t{constructor(t,e){this.challengeService=t,this.windowRefService=e,this.challenge={},this.allowRepeatNotifications=!1,this.showChallengeHints=!0}repeatNotification(){this.allowRepeatNotifications&&this.challengeService.repeatNotification(encodeURIComponent(this.challenge.name)).subscribe(()=>{this.windowRefService.nativeWindow.scrollTo(0,0)},t=>console.log(t))}openHint(){this.showChallengeHints&&this.challenge.hintUrl&&this.windowRefService.nativeWindow.open(this.challenge.hintUrl,\"_blank\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ma),a.Qb(bi))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-challenge-status-badge\"]],inputs:{challenge:\"challenge\",allowRepeatNotifications:\"allowRepeatNotifications\",showChallengeHints:\"showChallengeHints\"},decls:3,vars:3,consts:[[\"mat-raised-button\",\"\",\"color\",\"accent\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"accent\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\"],[3,\"hidden\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\",\"click\"],[\"mat-raised-button\",\"\",\"matTooltipPosition\",\"above\",3,\"id\",\"matTooltip\"]],template:function(t,e){1&t&&(a.Hc(0,Fa,9,9,\"button\",0),a.Hc(1,Ba,8,7,\"button\",1),a.Hc(2,Ua,5,8,\"button\",2)),2&t&&(a.oc(\"ngIf\",!e.challenge.disabledEnv&&e.challenge.solved),a.Db(1),a.oc(\"ngIf\",!e.challenge.disabledEnv&&!e.challenge.solved),a.Db(1),a.oc(\"ngIf\",e.challenge.disabledEnv))},directives:[P.l,v.a,we.a,Ce.a,E.b],pipes:[g.d],styles:[\"\"]}),t})();function Qa(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-button-toggle\",6),a.ec(\"change\",(function(){a.zc(t);const i=e.$implicit;return a.ic().toggleDifficulty(i)})),a.Wb(1,\"label\"),a.Wb(2,\"span\",17),a.hc(),a.Wb(3,\"svg\",18),a.Wb(4,\"linearGradient\",19),a.Rb(5,\"stop\",20),a.Rb(6,\"stop\",21),a.Vb(),a.Rb(7,\"path\",22),a.Vb(),a.gc(),a.Wb(8,\"span\",23),a.Jc(9),a.Vb(),a.Wb(10,\"span\"),a.Jc(11),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.oc(\"checked\",i.displayedDifficulties.includes(t)),a.Db(3),a.Gc(\"fill\",\"url(#\"+t+\")\"),a.Db(1),a.oc(\"id\",t),a.Db(1),a.Eb(\"offset\",i.challenges?i.offsetValue[t-1]:\"100%\"),a.Db(1),a.Eb(\"offset\",i.challenges?i.offsetValue[t-1]:\"100%\"),a.Db(1),a.Eb(\"fill\",\"inherit\"),a.Db(2),a.Kc(t),a.Db(1),a.Fb(\"fa-layers-counter \"+(i.solvedChallengesOfDifficulty[t-1].length===i.totalChallengesOfDifficulty[t-1].length?\"accent-notification\":0===i.solvedChallengesOfDifficulty[t-1].length?\"warn-notification\":\"primary-notification\")),a.Db(1),a.Lc(\" \",i.solvedChallengesOfDifficulty[t-1].length+\"/\"+i.totalChallengesOfDifficulty[t-1].length,\" \")}}function za(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-button-toggle\",6),a.ec(\"change\",(function(){return a.zc(t),a.ic().toggleShowDisabledChallenges()})),a.Rb(1,\"i\",24),a.Jc(2),a.jc(3,\"translate\"),a.Vb()}if(2&t){const t=a.ic();a.oc(\"checked\",t.showDisabledChallenges),a.Db(2),a.Lc(\" \",a.kc(3,2,\"BTN_SHOW_UNAVAILABLE\"),\" \")}}const Ga=function(t,e){return{num:t,env:e}};function qa(t,e){if(1&t&&(a.Rb(0,\"div\",25),a.jc(1,\"translate\")),2&t){const t=a.ic();a.oc(\"innerHTML\",a.lc(1,1,\"INFO_DISABLED_CHALLENGES\",a.uc(4,Ga,t.numDisabledChallenges,t.disabledEnv)),a.Ac)}}function Ya(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-button-toggle\",26),a.ec(\"change\",(function(){a.zc(t);const i=e.$implicit;return a.ic().toggleShowChallengeCategory(i)})),a.Jc(1),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.oc(\"checked\",i.displayedChallengeCategories.includes(t)),a.Db(1),a.Lc(\" \",t,\" \")}}function Ka(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",45),a.Jc(1,\"LABEL_NAME\"),a.Vb())}function Xa(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",46),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\"\")}}function $a(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",47),a.Jc(1,\"LABEL_DIFFICULTY\"),a.Vb())}function Za(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",48),a.Rb(1,\"bar-rating\",49),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"rate\",t.difficulty)(\"max\",t.difficulty)}}function to(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",50),a.Jc(1,\"LABEL_DESCRIPTION \"),a.Vb())}function eo(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",51),a.Rb(1,\"div\",52),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"innerHTML\",t.description,a.Ac)}}function io(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",53),a.Jc(1,\"LABEL_CATEGORY\"),a.Vb())}function ao(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",54),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.category,\"\")}}function oo(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",55),a.Jc(1,\"LABEL_STATUS\"),a.Vb())}function no(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",58),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic(2).startHackingInstructor(e.name)})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" school \"),a.Vb(),a.Vb()}2&t&&a.oc(\"matTooltip\",a.kc(1,1,\"INFO_HACKING_INSTRUCTOR\"))}function ro(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Rb(1,\"app-challenge-status-badge\",56),a.Hc(2,no,4,3,\"button\",57),a.Vb()),2&t){const t=e.$implicit,i=a.ic(2);a.Db(1),a.oc(\"challenge\",t)(\"allowRepeatNotifications\",i.allowRepeatNotifications)(\"showChallengeHints\",i.showChallengeHints),a.Db(1),a.oc(\"ngIf\",i.showHackingInstructor&&!t.disabledEnv&&t.hasTutorial)}}function co(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function so(t,e){1&t&&a.Rb(0,\"mat-row\")}function lo(t,e){if(1&t&&(a.Wb(0,\"mat-table\",27),a.Ub(1,28),a.Hc(2,Ka,2,0,\"mat-header-cell\",29),a.Hc(3,Xa,2,1,\"mat-cell\",30),a.Tb(),a.Ub(4,31),a.Hc(5,$a,2,0,\"mat-header-cell\",32),a.Hc(6,Za,2,2,\"mat-cell\",33),a.Tb(),a.Ub(7,34),a.Hc(8,to,2,0,\"mat-header-cell\",35),a.Hc(9,eo,2,1,\"mat-cell\",36),a.Tb(),a.Ub(10,37),a.Hc(11,io,2,0,\"mat-header-cell\",38),a.Hc(12,ao,2,1,\"mat-cell\",39),a.Tb(),a.Ub(13,40),a.Hc(14,oo,2,0,\"mat-header-cell\",41),a.Hc(15,ro,3,4,\"mat-cell\",42),a.Tb(),a.Hc(16,co,1,0,\"mat-header-row\",43),a.Hc(17,so,1,0,\"mat-row\",44),a.Vb()),2&t){const t=a.ic();a.oc(\"dataSource\",t.filterToDataSource(t.challenges))(\"trackBy\",t.trackById),a.Db(16),a.oc(\"matHeaderRowDef\",t.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",t.displayedColumns)}}function bo(t,e){1&t&&(a.Rb(0,\"mat-card\",63),a.jc(1,\"translate\")),2&t&&a.oc(\"innerHTML\",a.kc(1,1,\"CALL_FOR_CONTRIBUTIONS\"),a.Ac)}const uo=function(t,e){return{appname:t,questionnaire:e}};function mo(t,e){if(1&t&&(a.Rb(0,\"mat-card\",64),a.jc(1,\"translate\")),2&t){const t=a.ic(2);a.oc(\"innerHTML\",a.lc(1,1,\"CALL_FOR_FEEDBACK\",a.uc(4,uo,t.appName,t.questionnaireUrl)),a.Ac)}}function po(t,e){if(1&t&&(a.Wb(0,\"div\",59),a.Hc(1,bo,2,3,\"mat-card\",60),a.Rb(2,\"span\",61),a.Hc(3,mo,2,7,\"mat-card\",62),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngIf\",t.showContributionInfoBox),a.Db(2),a.oc(\"ngIf\",t.questionnaireUrl)}}u.b.add(m.L,p.d,d.e,d.d,d.b,m.X,m.E),u.a.watch();let ho=(()=>{class t{constructor(t,e,i,a,o,n,r){this.configurationService=t,this.challengeService=e,this.sanitizer=i,this.ngZone=a,this.io=o,this.spinner=n,this.translate=r,this.availableDifficulties=[1,2,3,4,5,6],this.displayedDifficulties=[],this.availableChallengeCategories=[],this.displayedChallengeCategories=[],this.toggledMajorityOfDifficulties=!1,this.toggledMajorityOfCategories=!0,this.showSolvedChallenges=!0,this.numDisabledChallenges=0,this.showDisabledChallenges=!1,this.displayedColumns=[\"name\",\"difficulty\",\"description\",\"category\",\"status\"],this.offsetValue=[\"100%\",\"100%\",\"100%\",\"100%\",\"100%\",\"100%\"],this.allowRepeatNotifications=!1,this.showChallengeHints=!0,this.showHackingInstructor=!0,this.challenges=[],this.percentChallengesSolved=\"0\",this.solvedChallengesOfDifficulty=[[],[],[],[],[],[]],this.totalChallengesOfDifficulty=[[],[],[],[],[],[]],this.showContributionInfoBox=!0,this.questionnaireUrl=\"https://forms.gle/2Tr5m1pqnnesApxN8\",this.appName=\"OWASP Juice Shop\"}ngOnInit(){this.spinner.show(),this.displayedDifficulties=localStorage.getItem(\"displayedDifficulties\")?JSON.parse(String(localStorage.getItem(\"displayedDifficulties\"))):[1],this.showSolvedChallenges=!localStorage.getItem(\"showSolvedChallenges\")||JSON.parse(String(localStorage.getItem(\"showSolvedChallenges\"))),this.showDisabledChallenges=!!localStorage.getItem(\"showDisabledChallenges\")&&JSON.parse(String(localStorage.getItem(\"showDisabledChallenges\"))),this.configurationService.getApplicationConfiguration().subscribe(t=>{this.allowRepeatNotifications=t.challenges.showSolvedNotifications&&t.ctf.showFlagsInNotifications,this.showChallengeHints=t.challenges.showHints,this.showHackingInstructor=t.hackingInstructor&&t.hackingInstructor.isEnabled,this.showContributionInfoBox=t.application.showGitHubLinks,this.questionnaireUrl=t.application.social&&t.application.social.questionnaireUrl,this.appName=t.application.name},t=>console.log(t)),this.challengeService.find({sort:\"name\"}).subscribe(t=>{this.challenges=t;for(let e=0;e<this.challenges.length;e++)this.augmentHintText(this.challenges[e]),this.trustDescriptionHtml(this.challenges[e]),\"Score Board\"===this.challenges[e].name&&(this.challenges[e].solved=!0),this.availableChallengeCategories.includes(t[e].category)||this.availableChallengeCategories.push(t[e].category),this.showHackingInstructor&&i.e(5).then(i.bind(null,\"s2oO\")).then(i=>{t[e].hasTutorial=i.hasInstructions(t[e].name)});this.availableChallengeCategories.sort(),this.displayedChallengeCategories=localStorage.getItem(\"displayedChallengeCategories\")?JSON.parse(String(localStorage.getItem(\"displayedChallengeCategories\"))):this.availableChallengeCategories,this.calculateProgressPercentage(),this.populateFilteredChallengeLists(),this.calculateGradientOffsets(t),this.toggledMajorityOfDifficulties=this.determineToggledMajorityOfDifficulties(),this.toggledMajorityOfCategories=this.determineToggledMajorityOfCategories(),this.spinner.hide()},t=>{this.challenges=[],console.log(t)}),this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{if(t&&t.challenge){for(let e=0;e<this.challenges.length;e++)if(this.challenges[e].name===t.name){this.challenges[e].solved=!0;break}this.calculateProgressPercentage(),this.populateFilteredChallengeLists(),this.calculateGradientOffsets(this.challenges)}})})}augmentHintText(t){t.disabledEnv?(this.numDisabledChallenges++,this.disabledEnv=t.disabledEnv,this.translate.get(\"CHALLENGE_UNAVAILABLE\",{env:t.disabledEnv}).subscribe(e=>{t.hint=e},e=>{t.hint=e})):t.hintUrl&&(t.hint?this.translate.get(\"CLICK_FOR_MORE_HINTS\").subscribe(e=>{t.hint+=` ${e}`},e=>{t.hint+=` ${e}`}):this.translate.get(\"CLICK_TO_OPEN_HINTS\").subscribe(e=>{t.hint=e},e=>{t.hint=e}))}trustDescriptionHtml(t){t.description=this.sanitizer.bypassSecurityTrustHtml(t.description)}calculateProgressPercentage(){let t=0;for(let e=0;e<this.challenges.length;e++)t+=this.challenges[e].solved?1:0;this.percentChallengesSolved=(100*t/this.challenges.length).toFixed(0)}calculateGradientOffsets(t){for(let e=1;e<=6;e++){let i=0,a=0;for(let n=0;n<t.length;n++)t[n].difficulty===e&&(a++,t[n].solved&&i++);let o=Math.round(100*i/a);o=100-o,o=+o+\"%\",this.offsetValue[e-1]=o}}toggleDifficulty(t){this.displayedDifficulties.includes(t)?this.displayedDifficulties=this.displayedDifficulties.filter(e=>e!==t):this.displayedDifficulties.push(t),localStorage.setItem(\"displayedDifficulties\",JSON.stringify(this.displayedDifficulties)),this.toggledMajorityOfDifficulties=this.determineToggledMajorityOfDifficulties()}toggleAllDifficulty(){this.toggledMajorityOfDifficulties?(this.displayedDifficulties=[],this.toggledMajorityOfDifficulties=!1):(this.displayedDifficulties=this.availableDifficulties,this.toggledMajorityOfDifficulties=!0),localStorage.setItem(\"displayedDifficulties\",JSON.stringify(this.displayedDifficulties))}toggleShowSolvedChallenges(){this.showSolvedChallenges=!this.showSolvedChallenges,localStorage.setItem(\"showSolvedChallenges\",JSON.stringify(this.showSolvedChallenges))}toggleShowDisabledChallenges(){this.showDisabledChallenges=!this.showDisabledChallenges,localStorage.setItem(\"showDisabledChallenges\",JSON.stringify(this.showDisabledChallenges))}toggleShowChallengeCategory(t){this.displayedChallengeCategories.includes(t)?this.displayedChallengeCategories=this.displayedChallengeCategories.filter(e=>e!==t):this.displayedChallengeCategories.push(t),localStorage.setItem(\"displayedChallengeCategories\",JSON.stringify(this.displayedChallengeCategories)),this.toggledMajorityOfCategories=this.determineToggledMajorityOfCategories()}toggleAllChallengeCategory(){this.toggledMajorityOfCategories?(this.displayedChallengeCategories=[],this.toggledMajorityOfCategories=!1):(this.displayedChallengeCategories=this.availableChallengeCategories,this.toggledMajorityOfCategories=!0),localStorage.setItem(\"displayedChallengeCategories\",JSON.stringify(this.displayedChallengeCategories))}determineToggledMajorityOfDifficulties(){return this.displayedDifficulties.length>this.availableDifficulties.length/2}determineToggledMajorityOfCategories(){return this.displayedChallengeCategories.length>this.availableChallengeCategories.length/2}filterToDataSource(t){t=t.filter(t=>!(!this.displayedDifficulties.includes(t.difficulty)||!this.displayedChallengeCategories.includes(t.category)||!this.showSolvedChallenges&&t.solved||!this.showDisabledChallenges&&t.disabledEnv));let e=new T.o;return e.data=t,e}populateFilteredChallengeLists(){for(const t of this.availableDifficulties)0===this.challenges.length?(this.totalChallengesOfDifficulty[t-1]=[],this.solvedChallengesOfDifficulty[t-1]=[]):(this.totalChallengesOfDifficulty[t-1]=this.challenges.filter(e=>e.difficulty===t),this.solvedChallengesOfDifficulty[t-1]=this.challenges.filter(e=>e.difficulty===t&&!0===e.solved))}startHackingInstructor(t){console.log(`Starting instructions for challenge \"${t}\"`),i.e(5).then(i.bind(null,\"s2oO\")).then(e=>{e.startHackingInstructorFor(t)})}trackById(t,e){return e.id}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(Ma),a.Qb(o.c),a.Qb(a.A),a.Qb(qe),a.Qb(Ja.c),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-score-board\"]],decls:31,vars:22,consts:[[\"fxLayout\",\"column\"],[1,\"confirmation\"],[\"mode\",\"determinate\",3,\"color\",\"value\"],[\"fxLayout\",\"row wrap\",1,\"star-container\"],[3,\"checked\",\"change\",4,\"ngFor\",\"ngForOf\"],[\"id\",\"btnToggleAllDifficulties\",1,\"mat-button\",3,\"click\"],[3,\"checked\",\"change\"],[\"aria-hidden\",\"true\",1,\"fa-2x\",\"fas\",\"fa-trophy\"],[3,\"checked\",\"change\",4,\"ngIf\"],[\"class\",\"disabled-challenges-infoBox mat-button\",3,\"innerHTML\",4,\"ngIf\"],[\"fxLayout\",\"row wrap\",1,\"category-container\"],[\"class\",\"category-toggle\",\"appearance\",\"legacy\",3,\"checked\",\"change\",4,\"ngFor\",\"ngForOf\"],[1,\"mat-button\",3,\"click\"],[3,\"dataSource\",\"trackBy\",4,\"ngIf\"],[\"fxLayout\",\"row\",\"fxLayout.lt-lg\",\"column\",4,\"ngIf\"],[\"src\",\"assets/public/images/padding/1px.png\"],[\"type\",\"timer\",\"size\",\"large\",1,\"overlay-fullscreen\"],[1,\"fa-4x\",\"fa-layers\",\"fa-fw\",2,\"display\",\"block\",\"margin\",\"5px\"],[\"aria-hidden\",\"true\",\"data-prefix\",\"fa\",\"data-icon\",\"star\",\"role\",\"img\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"viewBox\",\"0 0 576 512\",\"data-fa-i2svg\",\"\",\"stroke-width\",\"10\",1,\"svg-inline--fa\",\"fa-star\",\"fa-w-18\",\"star-border\"],[\"x1\",\"0\",\"x2\",\"0\",\"y1\",\"0\",\"y2\",\"100%\",3,\"id\"],[1,\"empty-star\"],[1,\"filled-star\"],[\"d\",\"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z\"],[\"data-fa-transform\",\"shrink-9\",1,\"fa-layers-text\",\"fa-inverse\",2,\"font-weight\",\"900\"],[\"aria-hidden\",\"true\",1,\"fa-2x\",\"fas\",\"fa-exclamation-circle\"],[1,\"disabled-challenges-infoBox\",\"mat-button\",3,\"innerHTML\"],[\"appearance\",\"legacy\",1,\"category-toggle\",3,\"checked\",\"change\"],[3,\"dataSource\",\"trackBy\"],[\"matColumnDef\",\"name\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"difficulty\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"description\"],[\"fxFlex\",\"1 1 50%\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"1 1 50%\",4,\"matCellDef\"],[\"matColumnDef\",\"category\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"status\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[4,\"matCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-md\",\"\"],[\"readOnly\",\"true\",3,\"rate\",\"max\"],[\"fxFlex\",\"1 1 50%\",\"translate\",\"\"],[\"fxFlex\",\"1 1 50%\"],[3,\"innerHTML\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",\"translate\",\"\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\"],[\"translate\",\"\"],[3,\"challenge\",\"allowRepeatNotifications\",\"showChallengeHints\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",\"class\",\"hacking-instructor-button\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",1,\"hacking-instructor-button\",3,\"matTooltip\",\"click\"],[\"fxLayout\",\"row\",\"fxLayout.lt-lg\",\"column\"],[\"fxFlex\",\"40%\",\"fxFlex.lt-lg\",\"100%\",\"class\",\"primary-notification\",3,\"innerHTML\",4,\"ngIf\"],[1,\"fill-remaining-space\"],[\"fxFlex\",\"20%\",\"fxFlex.lt-lg\",\"100%\",\"class\",\"warn-notification\",3,\"innerHTML\",4,\"ngIf\"],[\"fxFlex\",\"40%\",\"fxFlex.lt-lg\",\"100%\",1,\"primary-notification\",3,\"innerHTML\"],[\"fxFlex\",\"20%\",\"fxFlex.lt-lg\",\"100%\",1,\"warn-notification\",3,\"innerHTML\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\"),a.Wb(2,\"mat-card-title\"),a.Jc(3),a.jc(4,\"translate\"),a.Wb(5,\"small\",1),a.Jc(6),a.Vb(),a.Vb(),a.Rb(7,\"mat-progress-bar\",2),a.Vb(),a.Wb(8,\"mat-card\"),a.Wb(9,\"div\",3),a.Hc(10,Qa,12,11,\"mat-button-toggle\",4),a.Wb(11,\"button\",5),a.ec(\"click\",(function(){return e.toggleAllDifficulty()})),a.Jc(12),a.jc(13,\"translate\"),a.Vb(),a.Wb(14,\"mat-button-toggle\",6),a.ec(\"change\",(function(){return e.toggleShowSolvedChallenges()})),a.Rb(15,\"i\",7),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Hc(18,za,4,4,\"mat-button-toggle\",8),a.Hc(19,qa,2,7,\"div\",9),a.Vb(),a.Rb(20,\"mat-divider\"),a.Wb(21,\"div\",10),a.Hc(22,Ya,2,2,\"mat-button-toggle\",11),a.Wb(23,\"button\",12),a.ec(\"click\",(function(){return e.toggleAllChallengeCategory()})),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(26,\"mat-card\"),a.Hc(27,lo,18,4,\"mat-table\",13),a.Vb(),a.Hc(28,po,4,2,\"div\",14),a.Vb(),a.Rb(29,\"img\",15),a.Rb(30,\"ngx-spinner\",16)),2&t&&(a.Db(3),a.Lc(\"\",a.kc(4,14,\"TITLE_SCORE_BOARD\"),\" \"),a.Db(3),a.Lc(\"\",e.percentChallengesSolved,\"%\"),a.Db(1),a.oc(\"color\",\"accent\")(\"value\",e.percentChallengesSolved),a.Db(3),a.oc(\"ngForOf\",e.availableDifficulties),a.Db(2),a.Kc(a.kc(13,16,e.toggledMajorityOfDifficulties?\"BTN_HIDE_ALL\":\"BTN_SHOW_ALL\")),a.Db(2),a.oc(\"checked\",e.showSolvedChallenges),a.Db(2),a.Lc(\" \",a.kc(17,18,\"BTN_SHOW_SOLVED\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.numDisabledChallenges>0),a.Db(1),a.oc(\"ngIf\",e.numDisabledChallenges>0&&e.showDisabledChallenges),a.Db(3),a.oc(\"ngForOf\",e.availableChallengeCategories),a.Db(2),a.Kc(a.kc(25,20,e.toggledMajorityOfCategories?\"BTN_HIDE_ALL\":\"BTN_SHOW_ALL\")),a.Db(3),a.oc(\"ngIf\",e.challenges),a.Db(1),a.oc(\"ngIf\",e.showContributionInfoBox||e.questionnaireUrl))},directives:[h.d,f.a,f.f,Ha.a,P.k,Na.a,P.l,Re.a,Ja.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,E.b,g.a,T.a,Pt.a,h.b,ja,v.a,we.a,Ce.a,T.j,T.l],pipes:[g.d],styles:[\"footer[_ngcontent-%COMP%], mat-card[_ngcontent-%COMP%], mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:35px;margin-left:35px;margin-right:35px;min-width:300px}.category-container[_ngcontent-%COMP%], mat-table[_ngcontent-%COMP%]{margin-top:25px}.star-container[_ngcontent-%COMP%]{margin-bottom:10px;margin-top:25px}.star-container[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-column-status[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-button-toggle[_ngcontent-%COMP%]{cursor:auto}.mat-column-status[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   mat-button-toggle[_ngcontent-%COMP%]{cursor:pointer}.heading[_ngcontent-%COMP%]{padding-top:5px}.mat-raised-button[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.category-toggle[_ngcontent-%COMP%]{font-size:small}.overlay-fullscreen[_ngcontent-%COMP%]     .black-overlay{position:fixed}.hacking-instructor-button[_ngcontent-%COMP%]{margin-left:8px}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.disabled-challenges-infoBox[_ngcontent-%COMP%]{height:100%;margin:0;align-self:center;color:#e64a19;cursor:default}.disabled-challenges-infoBox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-style:normal;color:#546e7a}\"]}),t})(),fo=(()=>{class t{constructor(t){this.http=t}verify(t){return this.http.post(\"./rest/2fa/verify\",{tmpToken:localStorage.getItem(\"totp_tmp_token\"),totpToken:t}).pipe(Object(s.a)(t=>t.authentication),Object(l.a)(t=>{throw t}))}status(){return this.http.get(\"./rest/2fa/status\").pipe(Object(s.a)(t=>t),Object(l.a)(t=>{throw t}))}setup(t,e,i){return this.http.post(\"./rest/2fa/setup\",{password:t,setupToken:i,initialToken:e}).pipe(Object(s.a)(()=>{}),Object(l.a)(t=>{throw t}))}disable(t){return this.http.post(\"./rest/2fa/disable\",{password:t}).pipe(Object(s.a)(()=>{}),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function go(t,e){1&t&&(a.Wb(0,\"div\",13),a.Jc(1,\"INVALID_TWO_FACTOR_AUTH_TOKEN\"),a.Vb())}u.b.add(m.cb),u.a.watch();let vo=(()=>{class t{constructor(t,e,i,a,o){this.twoFactorAuthService=t,this.cookieService=e,this.userService=i,this.router=a,this.ngZone=o,this.twoFactorForm=new c.f({token:new c.c(\"\",[c.x.minLength(6),c.x.maxLength(6),c.x.required,c.x.pattern(\"^[\\\\d]{6}$\")])}),this.errored=!1}verify(){this.twoFactorAuthService.verify(this.twoFactorForm.value.token).subscribe(t=>{localStorage.setItem(\"token\",t.token),this.cookieService.put(\"token\",t.token),sessionStorage.setItem(\"bid\",t.bid.toString()),this.userService.isLoggedIn.next(!0),this.ngZone.run(()=>this.router.navigate([\"/search\"]))},t=>(this.errored=!0,setTimeout(()=>{this.errored=!1},5e3),t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(fo),a.Qb(r.b),a.Qb(D),a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-two-factor-auth-enter\"]],decls:27,vars:13,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"class\",\"error\",\"style\",\"margin-bottom: 10px;\",\"translate\",\"\",4,\"ngIf\"],[3,\"formGroup\",\"ngSubmit\"],[1,\"form-container\"],[\"id\",\"inputToken\",\"appearance\",\"outline\",\"color\",\"accent\"],[\"formControlName\",\"token\",\"type\",\"text\",\"minlength\",\"6\",\"maxlength\",\"6\",\"pattern\",\"^[\\\\d]{6}$\",\"matInput\",\"\",\"id\",\"totpToken\",\"aria-label\",\"Field for entering the Two Factor token\",3,\"placeholder\"],[\"tokenInput\",\"\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"The code to be entered from the authenticator must have 6 digits.\",3,\"matTooltip\"],[\"align\",\"end\"],[\"type\",\"submit\",\"color\",\"primary\",\"mat-raised-button\",\"\",\"id\",\"totpSubmitButton\",\"aria-label\",\"Button to confirm the input\",3,\"disabled\"],[1,\"material-icons\"],[\"translate\",\"\",1,\"error\",2,\"margin-bottom\",\"10px\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_TWO_FACTOR_AUTHENTICATION\"),a.Vb(),a.Wb(4,\"p\",2),a.Jc(5,\"TITLE_TWO_FACTOR_AUTH_ENTER\"),a.Vb(),a.Hc(6,go,2,0,\"div\",3),a.Wb(7,\"form\",4),a.ec(\"ngSubmit\",(function(){return e.verify()})),a.Wb(8,\"div\",5),a.Wb(9,\"mat-form-field\",6),a.Wb(10,\"mat-label\",2),a.Jc(11,\"LABEL_TWO_FACTOR_AUTH_TOKEN\"),a.Vb(),a.Rb(12,\"input\",7,8),a.jc(14,\"translate\"),a.Wb(15,\"mat-icon\",9),a.jc(16,\"translate\"),a.Jc(17,\" help_outline \"),a.Vb(),a.Wb(18,\"mat-hint\",10),a.Jc(19),a.Vb(),a.Wb(20,\"mat-error\",2),a.Jc(21,\"INVALID_TWO_FACTOR_AUTH_TOKEN\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(22,\"button\",11),a.Wb(23,\"i\",12),a.Jc(24,\" lock_open \"),a.Vb(),a.Jc(25),a.jc(26,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(13);a.Db(6),a.oc(\"ngIf\",e.errored),a.Db(1),a.oc(\"formGroup\",e.twoFactorForm),a.Db(5),a.pc(\"placeholder\",a.kc(14,7,\"2FA_ENTER_CODE_PLACEHOLDER\")),a.Db(3),a.pc(\"matTooltip\",a.kc(16,9,\"INITIAL_TOKEN_TOOLTIP\")),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/6\"),a.Db(3),a.oc(\"disabled\",e.twoFactorForm.invalid),a.Db(3),a.Lc(\" \",a.kc(26,11,\"BTN_LOGIN\"),\" \")}},directives:[h.c,f.a,g.a,P.l,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,c.j,c.i,c.t,Ce.a,At.g,we.a,At.e,At.a,v.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:25%}#totpSubmitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}#inputToken[_ngcontent-%COMP%]{width:100%}\"]}),t})();u.b.add(m.ib),u.a.watch();let Co=(()=>{class t{constructor(t,e){this.route=t,this.translate=e,this.error=null}ngOnInit(){const t=this.route.snapshot.queryParams.error;t&&this.translate.get(t).subscribe(t=>{this.error=t},t=>{this.error=t})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.a),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-error-page\"]],decls:8,vars:1,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"warn-notification\",\"mat-elevation-z6\"],[1,\"mat-display-3\"],[1,\"fas\",\"fa-user-slash\"],[1,\"mat-subheading-2\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"div\"),a.Wb(3,\"div\",2),a.Rb(4,\"i\",3),a.Jc(5,\" 403\"),a.Vb(),a.Wb(6,\"span\",4),a.Jc(7),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(7),a.Kc(e.error))},directives:[h.c,f.a],styles:[\"mat-card[_ngcontent-%COMP%]{width:20%}\"]}),t})();var wo=i(\"0MNC\"),yo=i(\"XhcP\");let Do=(()=>{class t{constructor(t){this.breakpointObserver=t,this.windowWidth=window.innerWidth,this.isHandset$=this.breakpointObserver.observe(wo.b.Handset).pipe(Object(s.a)(t=>t.matches))}ngAfterViewInit(){this.windowWidth=window.innerWidth}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(wo.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-privacy-security\"]],decls:3,vars:0,consts:[[1,\"sidenav-container\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-sidenav-container\",0),a.Wb(1,\"mat-sidenav-content\"),a.Rb(2,\"router-outlet\"),a.Vb(),a.Vb())},directives:[yo.b,yo.c,S.f],styles:[\"\"]}),t})();var So=i(\"O0x4\");function Wo(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",5),a.Wb(1,\"p\",6),a.Jc(2,\"2FA_SUCCESSFUL_SETUP\"),a.Vb(),a.Wb(3,\"form\",7),a.ec(\"ngSubmit\",(function(){return a.zc(t),a.ic().disable()})),a.Wb(4,\"h2\",8),a.Jc(5,\"REMOVE_TWO_FACTOR_AUTH\"),a.Vb(),a.Wb(6,\"div\",9),a.Jc(7,\"2FA_SETUP_ERROR\"),a.Vb(),a.Wb(8,\"mat-form-field\",10),a.Wb(9,\"mat-label\",6),a.Jc(10,\"LABEL_CURRENT_PASSWORD\"),a.Vb(),a.Rb(11,\"input\",11),a.jc(12,\"translate\"),a.Vb(),a.Wb(13,\"button\",12),a.Wb(14,\"i\",13),a.Jc(15,\" remove_circle_outline \"),a.Vb(),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(3),a.oc(\"formGroup\",t.twoFactorDisableForm),a.Db(3),a.oc(\"hidden\",!(t.errored&&!t.twoFactorDisableForm.dirty)),a.Db(5),a.pc(\"placeholder\",a.kc(12,5,\"MANDATORY_CURRENT_PASSWORD\")),a.Db(2),a.oc(\"disabled\",t.twoFactorDisableForm.invalid),a.Db(3),a.Lc(\" \",a.kc(17,7,\"BTN_REMOVE\"),\" \")}}function xo(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"form\",14),a.ec(\"ngSubmit\",(function(){return a.zc(t),a.ic().setup()})),a.Wb(1,\"span\",15),a.Jc(2,\"2FA_AUTH_SETUP_INSTRUCTIONS\"),a.Vb(),a.Wb(3,\"div\",16),a.Rb(4,\"qr-code\",17),a.Vb(),a.Wb(5,\"div\",9),a.Jc(6,\"2FA_SETUP_ERROR\"),a.Vb(),a.Wb(7,\"mat-form-field\",10),a.Wb(8,\"mat-label\",6),a.Jc(9,\"LABEL_CURRENT_PASSWORD\"),a.Vb(),a.Rb(10,\"input\",18),a.jc(11,\"translate\"),a.Vb(),a.Wb(12,\"mat-form-field\",10),a.Wb(13,\"mat-label\",6),a.Jc(14,\"INITIAL_CODE\"),a.Vb(),a.Rb(15,\"input\",19,20),a.jc(17,\"translate\"),a.Wb(18,\"mat-error\",6),a.Jc(19,\"INVALID_TWO_FACTOR_AUTH_TOKEN\"),a.Vb(),a.Wb(20,\"mat-icon\",21),a.jc(21,\"translate\"),a.Jc(22,\" help_outline \"),a.Vb(),a.Wb(23,\"mat-hint\",22),a.Jc(24),a.Vb(),a.Vb(),a.Wb(25,\"button\",23),a.Wb(26,\"i\",13),a.Jc(27,\" save \"),a.Vb(),a.Jc(28),a.jc(29,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.wc(16),e=a.ic();a.oc(\"formGroup\",e.twoFactorSetupForm),a.Db(4),a.oc(\"value\",e.totpUrl)(\"size\",300)(\"level\",\"L\"),a.Db(1),a.oc(\"hidden\",!(e.errored&&!e.twoFactorSetupForm.dirty)),a.Db(5),a.pc(\"placeholder\",a.kc(11,12,\"MANDATORY_CURRENT_PASSWORD\")),a.Db(5),a.pc(\"placeholder\",a.kc(17,14,\"INITIAL_CODE_PLACEHOLDER\")),a.Eb(\"data-test-totp-secret\",e.totpSecret),a.Db(5),a.pc(\"matTooltip\",a.kc(21,16,\"INITIAL_TOKEN_TOOLTIP\")),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/6\"),a.Db(1),a.oc(\"disabled\",e.twoFactorSetupForm.invalid),a.Db(3),a.Lc(\" \",a.kc(29,18,\"BTN_SAVE\"),\" \")}}u.b.add(m.cb,m.G),u.a.watch();let Vo=(()=>{class t{constructor(t,e,i,a,o){this.twoFactorAuthService=t,this.configurationService=e,this.snackBar=i,this.translateService=a,this.snackBarHelperService=o,this.twoFactorSetupForm=new c.f({passwordControl:new c.c(\"\",[c.x.required]),initalTokenControl:new c.c(\"\",[c.x.required,c.x.pattern(\"^[\\\\d]{6}$\")])}),this.twoFactorDisableForm=new c.f({passwordControl:new c.c(\"\",[c.x.required])}),this.setupStatus=null,this.errored=null,this.appName=\"OWASP Juice Shop\"}ngOnInit(){this.updateStatus()}updateStatus(){const t=this.twoFactorAuthService.status(),e=this.configurationService.getApplicationConfiguration();return Object(ze.a)([t,e]).subscribe(([{setup:t,email:e,secret:i,setupToken:a},o])=>{if(this.setupStatus=t,this.appName=o.application.name,!1===t){const t=encodeURIComponent(this.appName);this.totpUrl=`otpauth://totp/${t}:${e}?secret=${i}&issuer=${t}`,this.totpSecret=i,this.setupToken=a}},()=>{console.log(\"Failed to fetch 2fa status\")}),t}setup(){this.twoFactorAuthService.setup(this.twoFactorSetupForm.get(\"passwordControl\").value,this.twoFactorSetupForm.get(\"initalTokenControl\").value,this.setupToken).subscribe(()=>{this.setupStatus=!0,this.snackBarHelperService.open(\"CONFIRM_2FA_SETUP\")},()=>{this.twoFactorSetupForm.get(\"passwordControl\").markAsPristine(),this.twoFactorSetupForm.get(\"initalTokenControl\").markAsPristine(),this.errored=!0})}disable(){this.twoFactorAuthService.disable(this.twoFactorDisableForm.get(\"passwordControl\").value).subscribe(()=>{this.updateStatus().subscribe(()=>{this.setupStatus=!1}),this.snackBarHelperService.open(\"CONFIRM_2FA_DISABLE\")},()=>{this.twoFactorDisableForm.get(\"passwordControl\").markAsPristine(),this.errored=!0})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(fo),a.Qb(b),a.Qb(L.a),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-two-factor-auth\"]],decls:6,vars:2,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"id\",\"2fa-setup-title\",\"translate\",\"\"],[\"id\",\"2fa-setup-successfully\",4,\"ngIf\"],[\"class\",\"form-container\",\"id\",\"two-factor-auth-setup\",3,\"formGroup\",\"ngSubmit\",4,\"ngIf\"],[\"id\",\"2fa-setup-successfully\"],[\"translate\",\"\"],[\"id\",\"two-factor-auth-disable\",1,\"form-container\",3,\"formGroup\",\"ngSubmit\"],[\"id\",\"two-factor-auth-disable-title\",\"translate\",\"\"],[\"translate\",\"\",1,\"error\",3,\"hidden\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"id\",\"currentPasswordDisable\",\"formControlName\",\"passwordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to enter the current password\",\"autocomplete\",\"off\",3,\"placeholder\"],[\"type\",\"submit\",\"id\",\"disableTwoFactorAuth\",\"mat-raised-button\",\"\",\"color\",\"warn\",\"aria-label\",\"Button to remove the two-factor authentication\",3,\"disabled\"],[1,\"material-icons\"],[\"id\",\"two-factor-auth-setup\",1,\"form-container\",3,\"formGroup\",\"ngSubmit\"],[\"id\",\"2fa-setup-instructions\",\"translate\",\"\"],[\"fxLayoutAlign\",\"center\",1,\"two-factor-qr-code\"],[3,\"value\",\"size\",\"level\"],[\"id\",\"currentPasswordSetup\",\"formControlName\",\"passwordControl\",\"type\",\"password\",\"matInput\",\"\",\"aria-label\",\"Field to enter the current password\",\"autocomplete\",\"off\",3,\"placeholder\"],[\"id\",\"initalToken\",\"formControlName\",\"initalTokenControl\",\"type\",\"text\",\"matInput\",\"\",\"aria-label\",\"Field to enter the initial token. This must have 6 digits.\",\"minlength\",\"6\",\"maxlength\",\"6\",\"pattern\",\"^[\\\\d]{6}$\",3,\"placeholder\"],[\"initToken\",\"\"],[\"matSuffix\",\"\",\"matTooltipPosition\",\"right\",\"aria-label\",\"The token to be entered from the authenticator must have 6 digits.\",3,\"matTooltip\"],[\"align\",\"end\"],[\"type\",\"submit\",\"id\",\"setupTwoFactorAuth\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to complete the two-factor configuration\",3,\"disabled\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_TWO_FACTOR_AUTH_CONFIG\"),a.Vb(),a.Hc(4,Wo,18,9,\"div\",3),a.Hc(5,xo,30,20,\"form\",4),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.oc(\"ngIf\",!0===e.setupStatus),a.Db(1),a.oc(\"ngIf\",!1===e.setupStatus))},directives:[h.c,f.a,g.a,P.l,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,v.a,So.a,c.j,c.i,c.t,At.a,Ce.a,At.g,we.a,At.e],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-bottom:50px;margin-left:auto;margin-right:auto;min-width:320px;width:30%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}#disableTwoFactorAuth[_ngcontent-%COMP%], #setupTwoFactorAuth[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.two-factor-qr-code[_ngcontent-%COMP%]{margin:16px 0}#two-factor-auth-disable[_ngcontent-%COMP%]{margin-top:32px}#two-factor-auth-disable-title[_ngcontent-%COMP%]{margin-bottom:0}button[_ngcontent-%COMP%]{margin-top:5px}\"]}),t})(),Io=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\"}getCaptcha(){return this.http.get(this.hostServer+\"/rest/image-captcha/\").pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function _o(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"p\",13),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Kc(t.error)}}function ko(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CAPTCHA \"),a.Vb())}function Oo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_CAPTCHA \"),a.Vb())}const Lo=function(){return{length:\"5\"}};function Ao(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"div\"),a.Wb(2,\"span\",14),a.Jc(3,\"CAPTCHA \"),a.Wb(4,\"span\"),a.Jc(5,\":\"),a.Vb(),a.Vb(),a.Rb(6,\"div\",15),a.Vb(),a.Wb(7,\"mat-form-field\",16),a.Wb(8,\"mat-label\",2),a.Jc(9,\"ENTER_CAPTCHA\"),a.Vb(),a.Rb(10,\"input\",17,18),a.jc(12,\"translate\"),a.Wb(13,\"mat-hint\",19),a.Jc(14),a.Vb(),a.Hc(15,ko,2,0,\"mat-error\",20),a.Hc(16,Oo,2,0,\"mat-error\",20),a.Vb(),a.Vb()),2&t){const t=a.wc(11),e=a.ic();a.Db(6),a.oc(\"innerHTML\",e.captcha,a.Ac),a.Db(4),a.pc(\"placeholder\",a.lc(12,6,\"TYPE_THESE_LETTERS\",a.sc(9,Lo))),a.oc(\"formControl\",e.captchaControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/5\"),a.Db(1),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.captchaControl.invalid&&e.captchaControl.errors.minlength)}}let To=(()=>{class t{constructor(t,e,i){this.sanitizer=t,this.imageCaptchaService=e,this.dataSubjectService=i,this.captchaControl=new c.c(\"\",[c.x.required,c.x.minLength(5)]),this.formatControl=new c.c(\"\",[c.x.required]),this.dataRequest=void 0,this.presenceOfCaptcha=!1}ngOnInit(){this.needCaptcha(),this.dataRequest={}}needCaptcha(){let t=new Date,e=localStorage.getItem(\"lstdtxprt\")?new Date(JSON.parse(String(localStorage.getItem(\"lstdtxprt\")))):new Date(0);t.getTime()-e.getTime()<3e5&&(this.getNewCaptcha(),this.presenceOfCaptcha=!0)}getNewCaptcha(){this.imageCaptchaService.getCaptcha().subscribe(t=>{this.captcha=this.sanitizer.bypassSecurityTrustHtml(t.image)})}save(){this.presenceOfCaptcha&&(this.dataRequest.answer=this.captchaControl.value),this.dataRequest.format=this.formatControl.value,this.dataSubjectService.dataExport(this.dataRequest).subscribe(t=>{this.error=null,this.confirmation=t.confirmation,this.userData=t.userData,window.open(\"\",\"_blank\",\"width=500\").document.write(this.userData),this.lastSuccessfulTry=new Date,localStorage.setItem(\"lstdtxprt\",JSON.stringify(this.lastSuccessfulTry)),this.ngOnInit(),this.resetForm()},t=>{this.error=t.error,this.confirmation=null,this.resetFormError()})}resetForm(){this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\"),this.formatControl.markAsUntouched(),this.formatControl.markAsPristine(),this.formatControl.setValue(\"\")}resetFormError(){this.captchaControl.markAsUntouched(),this.captchaControl.markAsPristine(),this.captchaControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(o.c),a.Qb(Io),a.Qb(Ft))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-data-export\"]],decls:26,vars:7,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[4,\"ngIf\"],[\"id\",\"data-export-form\",1,\"form-container\"],[\"id\",\"formatControl\",\"aria-label\",\"Select an option\",3,\"formControl\"],[\"translate\",\"\",1,\"radio-label\"],[\"value\",\"1\",\"aria-label\",\"Export Option JSON\"],[\"value\",\"2\",\"aria-label\",\"Export Option PDF\",\"disabled\",\"\"],[\"value\",\"3\",\"aria-label\",\"Export Option Excel\",\"disabled\",\"\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"color\",\"primary\",\"mat-raised-button\",\"\",\"aria-label\",\"Button to send the request\",2,\"margin-top\",\"15px\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[1,\"hint\"],[1,\"error\"],[\"translate\",\"\",2,\"float\",\"left\",\"margin-top\",\"40px\",\"font-weight\",\"500\",\"margin-bottom\",\"20px\"],[1,\"captcha-image\",2,\"margin-left\",\"10px\",3,\"innerHTML\"],[\"appearance\",\"outline\",\"color\",\"accent\",2,\"margin-top\",\"10px\",\"width\",\"100%\"],[\"type\",\"text\",\"matInput\",\"\",\"maxlength\",\"5\",\"aria-label\",\"Input for the CAPTCHA\",3,\"formControl\",\"placeholder\"],[\"captchaInput\",\"\"],[\"align\",\"end\"],[\"translate\",\"\",4,\"ngIf\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_REQUEST_DATA_EXPORT\"),a.Vb(),a.Hc(4,_o,3,1,\"div\",3),a.Wb(5,\"div\",4),a.Wb(6,\"mat-radio-group\",5),a.Wb(7,\"mat-label\",6),a.Jc(8,\"EXPORT_LABEL \"),a.Wb(9,\"span\"),a.Jc(10,\":\"),a.Vb(),a.Vb(),a.Wb(11,\"mat-radio-button\",7),a.Jc(12,\"JSON\"),a.Vb(),a.Wb(13,\"mat-radio-button\",8),a.Jc(14,\"PDF\"),a.Vb(),a.Wb(15,\"mat-radio-button\",9),a.Jc(16,\"Excel\"),a.Vb(),a.Vb(),a.Hc(17,Ao,17,10,\"div\",3),a.Vb(),a.Wb(18,\"button\",10),a.ec(\"click\",(function(){return e.save()})),a.Wb(19,\"i\",11),a.Jc(20,\" save_alt \"),a.Vb(),a.Jc(21),a.jc(22,\"translate\"),a.Vb(),a.Wb(23,\"div\",12),a.Wb(24,\"span\",2),a.Jc(25,\"DATA_EXPORT_HINT\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.oc(\"ngIf\",e.error),a.Db(2),a.oc(\"formControl\",e.formatControl),a.Db(11),a.oc(\"ngIf\",e.presenceOfCaptcha),a.Db(1),a.oc(\"disabled\",e.formatControl.invalid||e.captchaControl.invalid&&e.presenceOfCaptcha),a.Db(3),a.Lc(\" \",a.kc(22,5,\"BTN_REQUEST\"),\" \"))},directives:[h.c,f.a,g.a,P.l,ra.b,c.n,c.d,At.f,ra.a,v.a,At.b,Tt.b,c.b,c.i,At.e,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;height:auto;margin-bottom:50px;margin-left:auto;margin-right:auto;min-width:320px;width:25%}#submitButton[_ngcontent-%COMP%]{margin-left:20%;width:60%}.hint[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:10px;-webkit-box-pack:center;justify-content:center;margin-top:5px}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-bottom:16px;margin-left:16px}.radio-label[_ngcontent-%COMP%]{font-weight:500;margin-right:8px}.captcha-image[_ngcontent-%COMP%]{float:left;margin-bottom:10px;margin-top:20px}\"]}),t})(),Po=(()=>{class t{constructor(t){this.sanitizer=t,this.lastLoginIp=\"?\"}ngOnInit(){try{this.parseAuthToken()}catch(t){console.log(t)}}parseAuthToken(){let t={};const e=localStorage.getItem(\"token\");e&&(t=V(e),t.data.lastLoginIp&&(this.lastLoginIp=this.sanitizer.bypassSecurityTrustHtml(`<small>${t.data.lastLoginIp}<\/small>`)))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(o.c))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-last-login-ip\"]],decls:8,vars:1,consts:[[1,\"ipCard\",\"mat-elevation-z6\"],[\"translate\",\"\"],[2,\"margin-bottom\",\"15px\"],[3,\"innerHTML\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"h1\",1),a.Jc(2,\"LAST_LOGIN_IP\"),a.Vb(),a.Wb(3,\"p\",2),a.Wb(4,\"span\",1),a.Jc(5,\"IP_ADDRESS\"),a.Vb(),a.Jc(6,\"\\xa0\\xa0\"),a.Rb(7,\"span\",3),a.Vb(),a.Vb()),2&t&&(a.Db(7),a.oc(\"innerHTML\",e.lastLoginIp,a.Ac))},directives:[f.a,g.a],styles:[\".ipCard[_ngcontent-%COMP%]{display:block;margin:0 auto 5%;min-width:320px;width:25%}\"]}),t})(),Eo=(()=>{class t{constructor(t,e){this._document=t,this.configurationService=e,this.applicationName=\"OWASP Juice Shop\"}ngOnInit(){this.applicationUrl=this._document.location.protocol+\"//\"+this._document.location.hostname,this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.name&&(this.applicationName=t.application.name),this.privacyContactEmail=t&&t.application&&t.application.privacyContactEmail?t.application.privacyContactEmail:`donotreply@${this._document.location.hostname}`},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.d),a.Qb(b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-privacy-policy\"]],decls:169,vars:9,consts:[[1,\"mat-elevation-z6\"],[1,\"privacy-policy\"],[\"translate\",\"\"],[1,\"hot\"],[\"href\",\"https://www.freeprivacypolicy.com/\",\"aria-label\",\"Link to the page where the privacy policy was created\"],[1,\"divider\"],[\"src\",\"assets/public/images/padding/81px.png\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"section\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"TITLE_PRIVACY_POLICY\"),a.Vb(),a.Wb(4,\"p\"),a.Jc(5,\"Effective date: March 15, 2019\"),a.Vb(),a.Wb(6,\"p\"),a.Jc(7),a.Wb(8,\"span\",3),a.Jc(9),a.Vb(),a.Jc(10,' website (the \"Service\").'),a.Vb(),a.Wb(11,\"p\"),a.Jc(12),a.Wb(13,\"a\",4),a.Jc(14,\"Free Privacy Policy website\"),a.Vb(),a.Jc(15,\".\"),a.Vb(),a.Wb(16,\"p\"),a.Jc(17),a.Vb(),a.Rb(18,\"mat-divider\",5),a.Wb(19,\"h2\"),a.Jc(20,\"A. Information Collection And Use\"),a.Vb(),a.Wb(21,\"p\"),a.Jc(22,\"We collect several different types of information for various purposes to provide and improve our Service to you.\"),a.Vb(),a.Wb(23,\"h3\"),a.Jc(24,\"A1. Types of Data Collected\"),a.Vb(),a.Wb(25,\"h4\"),a.Jc(26,\"A1.1 Personal Data\"),a.Vb(),a.Wb(27,\"p\"),a.Jc(28,'While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you (\"Personal Data\"). Personally identifiable information may include, but is not limited to:'),a.Vb(),a.Wb(29,\"ul\"),a.Wb(30,\"li\"),a.Jc(31,\"Email address\"),a.Vb(),a.Wb(32,\"li\"),a.Jc(33,\"Address, State, Province, ZIP/Postal code, City\"),a.Vb(),a.Wb(34,\"li\"),a.Jc(35,\"Cookies and Usage Data\"),a.Vb(),a.Vb(),a.Wb(36,\"h4\"),a.Jc(37,\"A1.2 Usage Data\"),a.Vb(),a.Wb(38,\"p\"),a.Wb(39,\"span\",3),a.Jc(40,\"We may also\"),a.Vb(),a.Jc(41,' collect information how the Service is accessed and used (\"Usage Data\"). This Usage Data may include information such as your computer\\'s Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that you visit, the time and date of your visit, the time spent on those pages, unique device identifiers and other diagnostic data.'),a.Vb(),a.Wb(42,\"h4\"),a.Jc(43,\"A1.3 Tracking & Cookies Data\"),a.Vb(),a.Wb(44,\"p\"),a.Jc(45,\"We use cookies and similar tracking technologies to track the activity on our Service and hold certain information.\"),a.Vb(),a.Wb(46,\"p\"),a.Jc(47,\"Cookies are files with small amount of data which may include an anonymous unique identifier. Cookies are sent to your browser from a website and stored on your device. Tracking technologies also used are beacons, tags, and scripts to collect and track information and to improve and analyze our Service.\"),a.Vb(),a.Wb(48,\"p\"),a.Jc(49,\"You can \"),a.Wb(50,\"span\",3),a.Jc(51,\"instruct you\"),a.Vb(),a.Jc(52,\"r browser \"),a.Wb(53,\"span\",3),a.Jc(54,\"to refuse all\"),a.Vb(),a.Jc(55,\" cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our Service.\"),a.Vb(),a.Wb(56,\"p\"),a.Jc(57,\"Examples of Cookies we use:\"),a.Vb(),a.Wb(58,\"ul\"),a.Wb(59,\"li\"),a.Wb(60,\"strong\"),a.Jc(61,\"Session Cookies:\"),a.Vb(),a.Jc(62,\" \\xa0We use Session Cookies to operate our Service.\"),a.Vb(),a.Wb(63,\"li\"),a.Wb(64,\"strong\"),a.Jc(65,\"Preference Cookies:\"),a.Vb(),a.Jc(66,\"\\xa0We use Preference Cookies to remember your preferences and various settings. \"),a.Vb(),a.Wb(67,\"li\"),a.Wb(68,\"strong\"),a.Jc(69,\"Security Cookies:\"),a.Vb(),a.Jc(70,\"\\xa0We use Security Cookies for security purposes.\"),a.Vb(),a.Vb(),a.Wb(71,\"h3\"),a.Jc(72,\"A2. Use of Data\"),a.Vb(),a.Wb(73,\"p\"),a.Jc(74),a.Vb(),a.Wb(75,\"ul\"),a.Wb(76,\"li\"),a.Jc(77,\"To provide and maintain the Service\"),a.Vb(),a.Wb(78,\"li\"),a.Jc(79,\"To notify you about changes to our Service\"),a.Vb(),a.Wb(80,\"li\"),a.Jc(81,\"To allow you to participate in interactive features of our Service when you choose to do so\"),a.Vb(),a.Wb(82,\"li\"),a.Jc(83,\"To provide customer care and support\"),a.Vb(),a.Wb(84,\"li\"),a.Jc(85,\"To provide analysis or valuable information so that we can improve the Service\"),a.Vb(),a.Wb(86,\"li\"),a.Jc(87,\"To monitor the usage of the Service\"),a.Vb(),a.Wb(88,\"li\"),a.Jc(89,\"To detect, prevent and address technical issues\"),a.Vb(),a.Vb(),a.Rb(90,\"mat-divider\",5),a.Wb(91,\"h2\"),a.Jc(92,\"B. Transfer Of Data\"),a.Vb(),a.Wb(93,\"p\"),a.Jc(94,\"Your information, including Personal Data, may be transferred to \\u2014 and maintained on \\u2014 computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from your jurisdiction.\"),a.Vb(),a.Wb(95,\"p\"),a.Jc(96,\"If you are located outside Germany and choose to provide information to us, please note that we transfer the data, including Personal Data, to Germany and process it there.\"),a.Vb(),a.Wb(97,\"p\"),a.Jc(98,\"Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.\"),a.Vb(),a.Wb(99,\"p\"),a.Jc(100),a.Wb(101,\"span\",3),a.Jc(102,\"reasonably necessary\"),a.Vb(),a.Jc(103,\" to ensure that your data is treated securely and in accordance with this Privacy Policy and no transfer of your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of your data and other personal information.\"),a.Vb(),a.Rb(104,\"mat-divider\",5),a.Wb(105,\"h2\"),a.Jc(106,\"C. Disclosure Of Data\"),a.Vb(),a.Wb(107,\"h3\"),a.Jc(108,\"C1. Legal Requirements\"),a.Vb(),a.Wb(109,\"p\"),a.Jc(110),a.Vb(),a.Wb(111,\"ul\"),a.Wb(112,\"li\"),a.Jc(113,\"To comply with a legal obligation\"),a.Vb(),a.Wb(114,\"li\"),a.Jc(115),a.Vb(),a.Wb(116,\"li\"),a.Jc(117,\"To prevent or investigate possible wrongdoing in connection with the Service\"),a.Vb(),a.Wb(118,\"li\"),a.Jc(119,\"To protect the personal safety of users of the Service or the public\"),a.Vb(),a.Wb(120,\"li\"),a.Jc(121,\"To protect against legal liability\"),a.Vb(),a.Vb(),a.Rb(122,\"mat-divider\",5),a.Wb(123,\"h2\"),a.Jc(124,\"D. Security Of Data\"),a.Vb(),a.Wb(125,\"p\"),a.Jc(126,\"The security of your data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.\"),a.Vb(),a.Rb(127,\"mat-divider\",5),a.Wb(128,\"h2\"),a.Jc(129,\"E. Service Providers\"),a.Vb(),a.Wb(130,\"p\"),a.Jc(131,'We may employ third party companies and individuals to facilitate our Service (\"Service Providers\"), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used.'),a.Vb(),a.Wb(132,\"p\"),a.Jc(133,\"These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.\"),a.Vb(),a.Rb(134,\"mat-divider\",5),a.Wb(135,\"h2\"),a.Jc(136,\"F. Links To Other Sites\"),a.Vb(),a.Wb(137,\"p\"),a.Jc(138,\"Our Service may contain links to other sites that are not operated by us. If you click on a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit.\"),a.Vb(),a.Wb(139,\"p\"),a.Jc(140,\"We have no control over and assume no \"),a.Wb(141,\"span\",3),a.Jc(142,\"responsibility\"),a.Vb(),a.Jc(143,\" for the content, privacy policies or practices of any third party sites or services.\"),a.Vb(),a.Rb(144,\"mat-divider\",5),a.Wb(145,\"h2\"),a.Jc(146,\"G. Children's Privacy\"),a.Vb(),a.Wb(147,\"p\"),a.Jc(148,'Our Service does not address anyone under the age of 18 (\"Children\").'),a.Vb(),a.Wb(149,\"p\"),a.Jc(150,\"We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Children has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.\"),a.Vb(),a.Rb(151,\"mat-divider\",5),a.Wb(152,\"h2\"),a.Jc(153,\"H. Changes To This Privacy Policy\"),a.Vb(),a.Wb(154,\"p\"),a.Jc(155,\"We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.\"),a.Vb(),a.Wb(156,\"p\"),a.Jc(157,'We will let you know via email and/or a prominent notice on our Service, prior to the change becoming effective and update the \"effective date\" at the top of this Privacy Policy.'),a.Vb(),a.Wb(158,\"p\"),a.Jc(159,\"You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.\"),a.Vb(),a.Rb(160,\"mat-divider\",5),a.Wb(161,\"h2\"),a.Jc(162,\"Contact Us\"),a.Vb(),a.Wb(163,\"p\"),a.Jc(164,\"If you have any questions about this Privacy Policy, please contact us:\"),a.Vb(),a.Wb(165,\"ul\"),a.Wb(166,\"li\"),a.Jc(167),a.Vb(),a.Vb(),a.Vb(),a.Rb(168,\"img\",6),a.Vb()),2&t&&(a.Db(7),a.Lc(\"\",e.applicationName,' (\"us\", \"we\", or \"our\") operates the '),a.Db(2),a.Kc(e.applicationUrl),a.Db(3),a.Lc(\"This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for \",e.applicationName,\" is created with the help of the \"),a.Db(5),a.Lc(\"We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, accessible from \",e.applicationUrl,\" .\"),a.Db(57),a.Lc(\"\",e.applicationName,\" uses the collected data for various purposes:\"),a.Db(26),a.Lc(\"\",e.applicationName,\" will take all steps \"),a.Db(10),a.Lc(\"\",e.applicationName,\" may disclose your Personal Data in the good faith belief that such action is necessary to:\"),a.Db(5),a.Lc(\"To protect and defend the rights or property of \",e.applicationName,\"\"),a.Db(52),a.Lc(\"By email: \",e.privacyContactEmail,\"\"))},directives:[f.a,g.a,Re.a],styles:[\".privacy-policy[_ngcontent-%COMP%]{margin-left:8.33333%;width:83.3333%}.privacy-policy[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin-bottom:15px}p[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}mat-card[_ngcontent-%COMP%]{display:block;margin-bottom:50px;margin-left:auto;margin-right:auto;width:90%}h2[_ngcontent-%COMP%]{padding-top:10px}h3[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:550}strong[_ngcontent-%COMP%]{font-style:italic}h4[_ngcontent-%COMP%]{text-decoration:underline}.hot[_ngcontent-%COMP%]:hover{text-shadow:0 0 20px #fefcc9,10px -10px 30px #feec85,-20px -20px 40px #ffae34,20px -40px 50px #ec760c,-20px -60px 60px #cd4606,0 -80px 70px #973716,10px -90px 80px #451b0e}.divider[_ngcontent-%COMP%]{border-top-width:4px!important;margin-left:9%!important;width:82%!important}\"]}),t})();function Ro(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_COUNTRY \"),a.Vb())}function Mo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_NAME \"),a.Vb())}function Jo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_NUMBER \"),a.Vb())}const Ho=function(){return{range:\"1000000-9999999999\"}};function No(t,e){1&t&&(a.Wb(0,\"mat-error\",18),a.Jc(1,\"INVALID_MOBILE_NUMBER \"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Ho))}function Fo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_ZIP \"),a.Vb())}function Bo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\"MANDATORY_ADDRESS\"),a.Vb())}function Uo(t,e){1&t&&(a.Wb(0,\"mat-error\",2),a.Jc(1,\" MANDATORY_CITY \"),a.Vb())}const jo=function(){return{length:\"160\"}};let Qo=(()=>{class t{constructor(t,e,i,a,o,n,r){this.location=t,this.formSubmitService=e,this.addressService=i,this.router=a,this.activatedRoute=o,this.translate=n,this.snackBarHelperService=r,this.countryControl=new c.c(\"\",[c.x.required]),this.nameControl=new c.c(\"\",[c.x.required]),this.numberControl=new c.c(\"\",[c.x.required,c.x.min(1111111),c.x.max(9999999999)]),this.pinControl=new c.c(\"\",[c.x.required,c.x.maxLength(8)]),this.addressControl=new c.c(\"\",[c.x.required,c.x.maxLength(160)]),this.cityControl=new c.c(\"\",[c.x.required]),this.stateControl=new c.c,this.address=void 0,this.mode=\"create\",this.addressId=void 0}ngOnInit(){this.address={},this.activatedRoute.paramMap.subscribe(t=>{t.has(\"addressId\")?(this.mode=\"edit\",this.addressId=t.get(\"addressId\"),this.addressService.getById(this.addressId).subscribe(t=>{this.initializeForm(t)})):(this.mode=\"create\",this.addressId=null)}),this.formSubmitService.attachEnterKeyHandler(\"address-form\",\"submitButton\",()=>this.save())}save(){this.address.country=this.countryControl.value,this.address.fullName=this.nameControl.value,this.address.mobileNum=this.numberControl.value,this.address.zipCode=this.pinControl.value,this.address.streetAddress=this.addressControl.value,this.address.city=this.cityControl.value,this.address.state=this.stateControl.value,\"edit\"===this.mode?this.addressService.put(this.addressId,this.address).subscribe(t=>{this.address={},this.ngOnInit(),this.resetForm(),this.routeToPreviousUrl(),this.translate.get(\"ADDRESS_UPDATED\",{city:t.city}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.address={},this.resetForm()}):this.addressService.save(this.address).subscribe(t=>{this.address={},this.ngOnInit(),this.resetForm(),this.routeToPreviousUrl(),this.translate.get(\"ADDRESS_ADDED\",{city:t.city}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")})},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.address={},this.resetForm()})}initializeForm(t){this.countryControl.setValue(t.country),this.nameControl.setValue(t.fullName),this.numberControl.setValue(t.mobileNum),this.pinControl.setValue(t.zipCode),this.addressControl.setValue(t.streetAddress),this.cityControl.setValue(t.city),this.stateControl.setValue(t.state)}routeToPreviousUrl(){this.location.back()}resetForm(){this.countryControl.markAsUntouched(),this.countryControl.markAsPristine(),this.countryControl.setValue(\"\"),this.nameControl.markAsUntouched(),this.nameControl.markAsPristine(),this.nameControl.setValue(\"\"),this.numberControl.markAsUntouched(),this.numberControl.markAsPristine(),this.numberControl.setValue(\"\"),this.pinControl.markAsUntouched(),this.pinControl.markAsPristine(),this.pinControl.setValue(\"\"),this.addressControl.markAsUntouched(),this.addressControl.markAsPristine(),this.addressControl.setValue(\"\"),this.cityControl.markAsUntouched(),this.cityControl.markAsPristine(),this.cityControl.setValue(\"\"),this.stateControl.markAsUntouched(),this.stateControl.markAsPristine(),this.stateControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.g),a.Qb(Lt),a.Qb(na),a.Qb(S.b),a.Qb(S.a),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-address-create\"]],decls:69,vars:49,consts:[[\"fxLayoutAlign\",\"center\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[\"id\",\"address-form\",1,\"form-container\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"type\",\"text\",\"matInput\",\"\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",4,\"ngIf\"],[\"type\",\"number\",\"matInput\",\"\",3,\"formControl\",\"placeholder\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[\"pin\",\"\"],[\"align\",\"end\"],[\"id\",\"address\",\"matInput\",\"\",\"matAutosizeMinRows\",\"4\",\"matAutosizeMaxRows\",\"4\",\"matTextareaAutosize\",\"\",\"cols\",\"50\",\"maxlength\",\"160\",3,\"formControl\",\"placeholder\"],[\"adress\",\"\"],[1,\"fas\",\"fa-exclamation-circle\"],[\"translate\",\"\",2,\"margin-left\",\"5px\"],[\"mat-stroked-button\",\"\",1,\"btn-return\",3,\"click\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[\"translate\",\"\",3,\"translateParams\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"mat-card\",1),a.Wb(2,\"h1\",2),a.Jc(3,\"ADD_NEW_ADDRESS\"),a.Vb(),a.Wb(4,\"div\",3),a.Wb(5,\"mat-form-field\",4),a.Wb(6,\"mat-label\",2),a.Jc(7,\"LABEL_COUNTRY\"),a.Vb(),a.Rb(8,\"input\",5),a.jc(9,\"translate\"),a.Hc(10,Ro,2,0,\"mat-error\",6),a.Vb(),a.Wb(11,\"mat-form-field\",4),a.Wb(12,\"mat-label\",2),a.Jc(13,\"LABEL_NAME\"),a.Vb(),a.Rb(14,\"input\",5),a.jc(15,\"translate\"),a.Hc(16,Mo,2,0,\"mat-error\",6),a.Vb(),a.Wb(17,\"mat-form-field\",4),a.Wb(18,\"mat-label\",2),a.Jc(19,\"LABEL_MOBILE_NUMBER\"),a.Vb(),a.Rb(20,\"input\",7),a.jc(21,\"translate\"),a.Hc(22,Jo,2,0,\"mat-error\",6),a.Hc(23,No,2,2,\"mat-error\",8),a.Vb(),a.Wb(24,\"mat-form-field\",4),a.Wb(25,\"mat-label\",2),a.Jc(26,\"LABEL_ZIP_CODE\"),a.Vb(),a.Rb(27,\"input\",5,9),a.jc(29,\"translate\"),a.Wb(30,\"mat-hint\",10),a.Jc(31),a.Vb(),a.Hc(32,Fo,2,0,\"mat-error\",6),a.Vb(),a.Wb(33,\"mat-form-field\",4),a.Wb(34,\"mat-label\",2),a.Jc(35,\"LABEL_ADDRESS\"),a.Vb(),a.Rb(36,\"textarea\",11,12),a.jc(38,\"translate\"),a.Wb(39,\"mat-hint\",2),a.Rb(40,\"i\",13),a.Wb(41,\"em\",14),a.Jc(42),a.jc(43,\"translate\"),a.Vb(),a.Vb(),a.Wb(44,\"mat-hint\",10),a.Jc(45),a.Vb(),a.Hc(46,Bo,2,0,\"mat-error\",6),a.Vb(),a.Wb(47,\"mat-form-field\",4),a.Wb(48,\"mat-label\",2),a.Jc(49,\"LABEL_CITY\"),a.Vb(),a.Rb(50,\"input\",5),a.jc(51,\"translate\"),a.Hc(52,Uo,2,0,\"mat-error\",6),a.Vb(),a.Wb(53,\"mat-form-field\",4),a.Wb(54,\"mat-label\",2),a.Jc(55,\"LABEL_STATE\"),a.Vb(),a.Rb(56,\"input\",5),a.jc(57,\"translate\"),a.Vb(),a.Vb(),a.Wb(58,\"div\"),a.Wb(59,\"button\",15),a.ec(\"click\",(function(){return e.routeToPreviousUrl()})),a.Wb(60,\"mat-icon\"),a.Jc(61,\" navigate_before \"),a.Vb(),a.Jc(62),a.jc(63,\"translate\"),a.Vb(),a.Wb(64,\"button\",16),a.ec(\"click\",(function(){return e.save()})),a.Wb(65,\"i\",17),a.Jc(66,\" send \"),a.Vb(),a.Jc(67),a.jc(68,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(28),i=a.wc(37);a.Db(8),a.oc(\"formControl\",e.countryControl)(\"placeholder\",a.kc(9,27,\"MANDATORY_COUNTRY\")),a.Db(2),a.oc(\"ngIf\",e.countryControl.invalid&&e.countryControl.errors.required),a.Db(4),a.oc(\"formControl\",e.nameControl)(\"placeholder\",a.kc(15,29,\"MANDATORY_NAME\")),a.Db(2),a.oc(\"ngIf\",e.nameControl.invalid&&e.nameControl.errors.required),a.Db(4),a.oc(\"formControl\",e.numberControl)(\"placeholder\",a.kc(21,31,\"MANDATORY_NUMBER\")),a.Db(2),a.oc(\"ngIf\",e.numberControl.invalid&&e.numberControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.numberControl.invalid&&(e.numberControl.errors.min||e.numberControl.errors.max)),a.Db(4),a.oc(\"formControl\",e.pinControl)(\"placeholder\",a.kc(29,33,\"MANDATORY_ZIP\")),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/8\"),a.Db(1),a.oc(\"ngIf\",e.pinControl.invalid&&e.pinControl.errors.required),a.Db(4),a.oc(\"formControl\",e.addressControl)(\"placeholder\",a.kc(38,35,\"MANDATORY_ADDRESS\")),a.Db(6),a.Kc(a.lc(43,37,\"MAX_TEXTAREA_LENGTH\",a.sc(48,jo))),a.Db(3),a.Lc(\"\",(null==i.value?null:i.value.length)||0,\"/160\"),a.Db(1),a.oc(\"ngIf\",e.addressControl.invalid&&e.addressControl.errors.required),a.Db(4),a.oc(\"formControl\",e.cityControl)(\"placeholder\",a.kc(51,40,\"MANDATORY_CITY\")),a.Db(2),a.oc(\"ngIf\",e.cityControl.invalid&&e.cityControl.errors.required),a.Db(4),a.oc(\"formControl\",e.stateControl)(\"placeholder\",a.kc(57,42,\"STATE_PLACEHOLDER\")),a.Db(6),a.Lc(\" \",a.kc(63,44,\"LABEL_BACK\"),\" \"),a.Db(2),a.oc(\"disabled\",e.countryControl.invalid||e.nameControl.invalid||e.numberControl.invalid||e.pinControl.invalid||e.addressControl.invalid||e.cityControl.invalid),a.Db(3),a.Lc(\" \",a.kc(68,46,\"BTN_SUBMIT\"),\" \")}},directives:[h.c,f.a,g.a,At.b,At.f,Tt.b,c.b,c.n,c.d,P.l,c.s,At.e,Tt.d,c.i,v.a,Ce.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{height:auto;min-width:320px;width:30%}#submitButton[_ngcontent-%COMP%]{float:right}.form-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:relative}.btn-return[_ngcontent-%COMP%]{float:left}input[_ngcontent-%COMP%]::-webkit-inner-spin-button, input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;margin:0}\"]}),t})(),zo=(()=>{class t{constructor(t,e){this.router=t,this.ngZone=e,this.addressId=void 0,this.showNextButton=!0}getMessage(t){this.addressId=t}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-address-select\"]],decls:2,vars:1,consts:[[\"id\",\"card\"],[3,\"showNextButton\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Rb(1,\"app-address\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"showNextButton\",e.showNextButton))},directives:[Va],styles:[\".btn-pay[_ngcontent-%COMP%]{display:block;width:100%}.mat-raised-button[_ngcontent-%COMP%]{margin-right:3px;margin-top:3px}#card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}\"]}),t})(),Go=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-saved-address\"]],decls:2,vars:1,consts:[[1,\"main-wrapper\"],[3,\"allowEdit\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Rb(1,\"app-address\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"allowEdit\",!0))},directives:[Va],styles:[\".main-wrapper[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}\"]}),t})();u.b.add(m.b),u.a.watch();let qo=(()=>{class t{constructor(t){this.dialogData=t}ngOnInit(){this.title=this.dialogData.title,this.url=this.dialogData.url,this.address=this.dialogData.address,this.data=this.dialogData.data}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-qr-code\"]],decls:17,vars:11,consts:[[1,\"qr-code\",\"mat-typography\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"10px\"],[1,\"container\"],[3,\"href\"],[3,\"value\",\"size\",\"level\"],[\"mat-raised-button\",\"\",\"mat-dialog-close\",\"\",1,\"close-dialog\"],[1,\"fas\",\"fa-arrow-circle-left\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"header\"),a.Wb(2,\"h3\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Wb(5,\"div\",1),a.Rb(6,\"mat-divider\"),a.Wb(7,\"div\",2),a.Wb(8,\"a\",3),a.Rb(9,\"qr-code\",4),a.Vb(),a.Vb(),a.Wb(10,\"small\"),a.Jc(11),a.Vb(),a.Vb(),a.Wb(12,\"footer\"),a.Wb(13,\"button\",5),a.Rb(14,\"i\",6),a.Jc(15),a.jc(16,\"translate\"),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Kc(a.kc(4,7,e.title)),a.Db(5),a.oc(\"href\",e.url,a.Cc),a.Db(1),a.oc(\"value\",e.data)(\"size\",300)(\"level\",\"M\"),a.Db(2),a.Kc(e.address),a.Db(4),a.Lc(\" \",a.kc(16,9,\"BTN_CLOSE\"),\"\"))},directives:[h.d,h.e,Re.a,So.a,v.a,Ae.d],pipes:[g.d],styles:[\"\"]}),t})(),Yo=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/wallet/balance\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}put(t){return this.http.put(this.host,t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Ko=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Deliverys\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getById(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})(),Xo=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/api/Cards\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getById(t){return this.http.get(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}save(t){return this.http.post(this.host+\"/\",t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}del(t){return this.http.delete(this.host+\"/\"+t).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function $o(t,e){1&t&&a.Rb(0,\"mat-header-cell\",33)}function Zo(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",33),a.Wb(1,\"mat-radio-button\",34),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).emitSelectionToParent(i.id)})),a.Vb(),a.Vb()}}function tn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",35)}function en(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.cardNum,\" \")}}function an(t,e){1&t&&a.Rb(0,\"mat-header-cell\",36)}function on(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",36),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Kc(t.fullName)}}function nn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",37)}function rn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Mc(\"\",t.expMonth,\"/\",t.expYear,\"\")}}function cn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",33)}function sn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",33),a.Wb(1,\"button\",38),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).delete(i.id)})),a.Rb(2,\"i\",39),a.Vb(),a.Vb()}}function ln(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function bn(t,e){1&t&&a.Rb(0,\"mat-row\")}function un(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Wb(1,\"mat-table\",17),a.Ub(2,18),a.Hc(3,$o,1,0,\"mat-header-cell\",19),a.Hc(4,Zo,2,0,\"mat-cell\",20),a.Tb(),a.Ub(5,21),a.Hc(6,tn,1,0,\"mat-header-cell\",22),a.Hc(7,en,2,1,\"mat-cell\",23),a.Tb(),a.Ub(8,24),a.Hc(9,an,1,0,\"mat-header-cell\",25),a.Hc(10,on,2,1,\"mat-cell\",26),a.Tb(),a.Ub(11,27),a.Hc(12,nn,1,0,\"mat-header-cell\",28),a.Hc(13,rn,2,2,\"mat-cell\",29),a.Tb(),a.Ub(14,30),a.Hc(15,cn,1,0,\"mat-header-cell\",19),a.Hc(16,sn,3,0,\"mat-cell\",20),a.Tb(),a.Hc(17,ln,1,0,\"mat-header-row\",31),a.Hc(18,bn,1,0,\"mat-row\",32),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"dataSource\",t.dataSource),a.Db(16),a.oc(\"matHeaderRowDef\",t.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",t.displayedColumns)}}function dn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_NAME \"),a.Vb())}function mn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_CARD_NUMBER \"),a.Vb())}function pn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" VALID_CARD_NUMBER \"),a.Vb())}function hn(t,e){if(1&t&&(a.Wb(0,\"option\",40),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.pc(\"value\",t),a.Db(1),a.Kc(t)}}function fn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_EXPIRY_MONTH \"),a.Vb())}function gn(t,e){if(1&t&&(a.Wb(0,\"option\",40),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.pc(\"value\",t),a.Db(1),a.Kc(t)}}function vn(t,e){1&t&&(a.Wb(0,\"mat-error\",5),a.Jc(1,\" MANDATORY_EXPIRY_YEAR \"),a.Vb())}u.b.add(m.C,p.g),u.a.watch();let Cn=(()=>{class t{constructor(t,e,i){this.paymentService=t,this.translate=e,this.snackBarHelperService=i,this.emitSelection=new a.o,this.allowDelete=!1,this.displayedColumns=[\"Number\",\"Name\",\"Expiry\"],this.nameControl=new c.c(\"\",[c.x.required]),this.numberControl=new c.c(\"\",[c.x.required,c.x.min(1e15),c.x.max(1e16)]),this.monthControl=new c.c(\"\",[c.x.required]),this.yearControl=new c.c(\"\",[c.x.required]),this.card={},this.cardsExist=!1,this.paymentId=void 0}ngOnInit(){this.monthRange=Array.from(Array(12).keys()).map(t=>t+1),this.yearRange=Array.from(Array(20).keys()).map(t=>t+2080),this.allowDelete?this.displayedColumns.push(\"Remove\"):this.displayedColumns.unshift(\"Selection\"),this.load()}load(){this.paymentService.get().subscribe(t=>{t.map(t=>{t.cardNum=\"************\"+String(t.cardNum).substring(String(t.cardNum).length-4)}),this.cardsExist=t.length,this.storedCards=t,this.dataSource=new T.o(this.storedCards)},t=>console.log(t))}save(){this.card.fullName=this.nameControl.value,this.card.cardNum=this.numberControl.value,this.card.expMonth=this.monthControl.value,this.card.expYear=this.yearControl.value,this.paymentService.save(this.card).subscribe(t=>{this.error=null,this.translate.get(\"CREDIT_CARD_SAVED\",{cardnumber:String(t.cardNum).substring(String(t.cardNum).length-4)}).subscribe(t=>{this.snackBarHelperService.open(t,\"confirmBar\")},t=>{this.snackBarHelperService.open(t,\"confirmBar\")}),this.load(),this.resetForm()},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),this.resetForm()})}delete(t){this.paymentService.del(t).subscribe(()=>{this.load()},t=>console.log(t))}emitSelectionToParent(t){this.emitSelection.emit(t)}resetForm(){this.nameControl.markAsUntouched(),this.nameControl.markAsPristine(),this.nameControl.setValue(\"\"),this.numberControl.markAsUntouched(),this.numberControl.markAsPristine(),this.numberControl.setValue(\"\"),this.monthControl.markAsUntouched(),this.monthControl.markAsPristine(),this.monthControl.setValue(\"\"),this.yearControl.markAsUntouched(),this.yearControl.markAsPristine(),this.yearControl.setValue(\"\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Xo),a.Qb(g.e),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-payment-method\"]],inputs:{allowDelete:\"allowDelete\"},outputs:{emitSelection:\"emitSelection\"},decls:46,vars:26,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\"],[4,\"ngIf\"],[1,\"mat-elevation-z0\"],[2,\"margin-bottom\",\"12px\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"translate\",\"\"],[\"type\",\"text\",\"matInput\",\"\",3,\"formControl\"],[\"translate\",\"\",4,\"ngIf\"],[\"type\",\"number\",\"matInput\",\"\",3,\"formControl\"],[\"cardIn\",\"\"],[\"align\",\"end\"],[\"appearance\",\"outline\",\"color\",\"accent\",2,\"width\",\"45%\",\"margin-right\",\"10%\"],[\"matNativeControl\",\"\",\"required\",\"\",3,\"formControl\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[\"appearance\",\"outline\",\"color\",\"accent\",2,\"width\",\"45%\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"margin-top\",\"5px\",\"float\",\"right\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[3,\"dataSource\"],[\"matColumnDef\",\"Selection\"],[\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"Number\"],[\"fxFlex\",\"35%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"35%\",4,\"matCellDef\"],[\"matColumnDef\",\"Name\"],[\"fxFlex\",\"30%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"30%\",4,\"matCellDef\"],[\"matColumnDef\",\"Expiry\"],[\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"Remove\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"fxFlex\",\"15%\"],[3,\"click\"],[\"fxFlex\",\"35%\"],[\"fxFlex\",\"30%\"],[\"fxFlex\",\"20%\"],[\"mat-icon-button\",\"\",3,\"click\"],[1,\"far\",\"fa-trash-alt\"],[3,\"value\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"h1\"),a.Jc(2),a.jc(3,\"translate\"),a.Vb(),a.Hc(4,un,19,3,\"div\",1),a.Wb(5,\"div\"),a.Wb(6,\"mat-expansion-panel\",2),a.Wb(7,\"mat-expansion-panel-header\",3),a.Wb(8,\"mat-panel-title\"),a.Jc(9),a.jc(10,\"translate\"),a.Vb(),a.Wb(11,\"mat-panel-description\"),a.Jc(12),a.jc(13,\"translate\"),a.Vb(),a.Vb(),a.Wb(14,\"div\"),a.Wb(15,\"mat-form-field\",4),a.Wb(16,\"mat-label\",5),a.Jc(17,\"LABEL_NAME\"),a.Vb(),a.Rb(18,\"input\",6),a.Hc(19,dn,2,0,\"mat-error\",7),a.Vb(),a.Wb(20,\"mat-form-field\",4),a.Wb(21,\"mat-label\",5),a.Jc(22,\"LABEL_CARD_NUMBER\"),a.Vb(),a.Rb(23,\"input\",8,9),a.Wb(25,\"mat-hint\",10),a.Jc(26),a.Vb(),a.Hc(27,mn,2,0,\"mat-error\",7),a.Hc(28,pn,2,0,\"mat-error\",7),a.Vb(),a.Wb(29,\"mat-form-field\",11),a.Wb(30,\"mat-label\",5),a.Jc(31,\"LABEL_EXPIRY_MONTH\"),a.Vb(),a.Wb(32,\"select\",12),a.Hc(33,hn,2,2,\"option\",13),a.Vb(),a.Hc(34,fn,2,0,\"mat-error\",7),a.Vb(),a.Wb(35,\"mat-form-field\",14),a.Wb(36,\"mat-label\",5),a.Jc(37,\"LABEL_EXPIRY_YEAR\"),a.Vb(),a.Wb(38,\"select\",12),a.Hc(39,gn,2,2,\"option\",13),a.Vb(),a.Hc(40,vn,2,0,\"mat-error\",7),a.Vb(),a.Vb(),a.Wb(41,\"button\",15),a.ec(\"click\",(function(){return e.save()})),a.Wb(42,\"i\",16),a.Jc(43,\" send \"),a.Vb(),a.Jc(44),a.jc(45,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.wc(24);a.Db(2),a.Kc(a.kc(3,18,\"MY_PAYMENT_OPTIONS\")),a.Db(2),a.oc(\"ngIf\",e.cardsExist),a.Db(5),a.Lc(\" \",a.kc(10,20,\"ADD_NEW_CARD\"),\" \"),a.Db(3),a.Lc(\" \",a.kc(13,22,\"ADD_NEW_CARD_DESCRIPTION\"),\" \"),a.Db(6),a.oc(\"formControl\",e.nameControl),a.Db(1),a.oc(\"ngIf\",e.nameControl.invalid&&e.nameControl.errors.required),a.Db(4),a.oc(\"formControl\",e.numberControl),a.Db(3),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/16\"),a.Db(1),a.oc(\"ngIf\",e.numberControl.invalid&&e.numberControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.numberControl.invalid&&(e.numberControl.errors.min||e.numberControl.errors.max)),a.Db(4),a.oc(\"formControl\",e.monthControl),a.Db(1),a.oc(\"ngForOf\",e.monthRange),a.Db(1),a.oc(\"ngIf\",e.monthControl.invalid&&e.monthControl.errors.required),a.Db(4),a.oc(\"formControl\",e.yearControl),a.Db(1),a.oc(\"ngForOf\",e.yearRange),a.Db(1),a.oc(\"ngIf\",e.yearControl.invalid&&e.yearControl.errors.required),a.Db(1),a.oc(\"disabled\",e.nameControl.invalid||e.numberControl.invalid||e.monthControl.invalid||e.yearControl.invalid),a.Db(3),a.Lc(\" \",a.kc(45,24,\"BTN_SUBMIT\"),\" \")}},directives:[h.d,h.e,P.l,Me.b,Me.d,Me.e,Me.c,At.b,At.f,g.a,Tt.b,c.b,c.n,c.d,c.s,At.e,c.w,c.v,P.k,v.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,h.b,T.a,ra.a,T.j,T.l,At.a,c.r,c.y],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.detail-divider[_ngcontent-%COMP%]{margin-bottom:12px;margin-top:12px}mat-header-row[_ngcontent-%COMP%]{min-height:0!important}input[_ngcontent-%COMP%]::-webkit-inner-spin-button, input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;margin:0}\"]}),t})();function wn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",11),a.Wb(1,\"div\",12),a.Wb(2,\"div\",13),a.Wb(3,\"span\",14),a.Jc(4,\"LABEL_PAY_USING_WALLET\"),a.Vb(),a.Vb(),a.Wb(5,\"div\",15),a.Wb(6,\"b\"),a.Wb(7,\"span\",14),a.Jc(8,\"LABEL_WALLET_BALANCE\"),a.Vb(),a.Wb(9,\"span\",16),a.Jc(10),a.Vb(),a.Vb(),a.Vb(),a.Wb(11,\"div\",17),a.Wb(12,\"button\",18),a.ec(\"click\",(function(){return a.zc(t),a.ic().useWallet()})),a.Rb(13,\"i\",19),a.Jc(14),a.jc(15,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(10),a.Lc(\" \",t.walletBalanceStr,\"\"),a.Db(2),a.oc(\"disabled\",t.walletBalance-t.totalPrice<0),a.Db(2),a.Mc(\" \",a.kc(15,4,\"LABEL_PAY\"),\" \",null==t.totalPrice?null:t.totalPrice.toFixed(2),\"\\xa4 \")}}function yn(t,e){if(1&t&&(a.Wb(0,\"div\",31),a.Jc(1),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.Lc(\"\",t.couponConfirmation,\" \")}}function Dn(t,e){if(1&t&&(a.Wb(0,\"div\",32),a.Jc(1),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.Lc(\"\",null==t.couponError?null:t.couponError.error,\" \")}}function Sn(t,e){1&t&&(a.Wb(0,\"mat-error\"),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Lc(\" \",a.kc(2,1,\"COUPON_CODE_HINT\"),\" \"))}const Wn=function(t,e){return{twitter:t,facebook:e}};function xn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-expansion-panel\",20),a.Wb(1,\"mat-expansion-panel-header\",21),a.Wb(2,\"mat-panel-title\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Wb(5,\"mat-panel-description\"),a.Jc(6),a.jc(7,\"translate\"),a.Vb(),a.Vb(),a.Hc(8,yn,2,1,\"div\",22),a.Hc(9,Dn,2,1,\"div\",23),a.Wb(10,\"mat-form-field\",24),a.Wb(11,\"mat-label\",8),a.Jc(12,\"LABEL_COUPON\"),a.Vb(),a.Rb(13,\"mat-hint\",25),a.jc(14,\"translate\"),a.Rb(15,\"input\",26,27),a.jc(17,\"translate\"),a.Wb(18,\"mat-hint\",28),a.Jc(19),a.Vb(),a.Hc(20,Sn,3,3,\"mat-error\",29),a.Vb(),a.Wb(21,\"button\",30),a.ec(\"click\",(function(){return a.zc(t),a.ic().applyCoupon()})),a.Wb(22,\"mat-icon\"),a.Jc(23,\" redeem \"),a.Vb(),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb()}if(2&t){const t=a.wc(16),e=a.ic();a.oc(\"expanded\",e.couponPanelExpanded),a.Db(3),a.Lc(\" \",a.kc(4,12,\"ADD_A_COUPON\"),\" \"),a.Db(3),a.Lc(\" \",a.kc(7,14,\"VOUCHERS_AND_PROMOTIONAL_CODE\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.couponConfirmation&&!e.couponControl.dirty),a.Db(1),a.oc(\"ngIf\",e.couponError&&!e.couponControl.dirty),a.Db(4),a.oc(\"innerHtml\",a.lc(14,16,\"FOLLOW_FOR_MONTHLY_COUPONS\",a.uc(23,Wn,e.twitterUrl,e.facebookUrl)),a.Ac),a.Db(2),a.pc(\"placeholder\",a.kc(17,19,\"ENTER_COUPON_CODE\")),a.oc(\"formControl\",e.couponControl),a.Db(4),a.Lc(\"\",(null==t.value?null:t.value.length)||0,\"/10\"),a.Db(1),a.oc(\"ngIf\",e.couponControl.invalid&&(e.couponControl.errors.minlength||e.couponControl.errors.maxlength)),a.Db(1),a.oc(\"disabled\",e.couponControl.invalid),a.Db(3),a.Lc(\" \",a.kc(25,21,\"BTN_REDEEM\"),\" \")}}const Vn=function(){return{juiceshop:\"OWASP Juice Shop\"}};function In(t,e){1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"THANKS_FOR_SUPPORT\"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Vn))}const _n=function(t){return{appname:t}};function kn(t,e){if(1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"THANKS_FOR_SUPPORT_CUSTOMIZED\"),a.Vb()),2&t){const t=a.ic(2);a.oc(\"translateParams\",a.tc(1,_n,t.applicationName))}}function On(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",55),a.ec(\"click\",(function(){return a.zc(t),a.ic(2).showBitcoinQrCode()})),a.Rb(1,\"i\",56),a.Jc(2,\" Bitcoin \"),a.Vb()}}function Ln(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",55),a.ec(\"click\",(function(){return a.zc(t),a.ic(2).showDashQrCode()})),a.Wb(1,\"i\",57),a.Jc(2,\"\\xd0\"),a.Vb(),a.Jc(3,\" Dash\"),a.Vb()}}function An(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",55),a.ec(\"click\",(function(){return a.zc(t),a.ic(2).showEtherQrCode()})),a.Rb(1,\"i\",58),a.Jc(2,\" Ether \"),a.Vb()}}function Tn(t,e){1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"OFFICIAL_MERCHANDISE_STORES\"),a.Vb()),2&t&&a.oc(\"translateParams\",a.sc(1,Vn))}function Pn(t,e){if(1&t&&(a.Wb(0,\"span\",54),a.Jc(1,\"OFFICIAL_MERCHANDISE_STORES_CUSTOMIZED\"),a.Vb()),2&t){const t=a.ic(2);a.oc(\"translateParams\",a.tc(1,_n,t.applicationName))}}function En(t,e){if(1&t&&(a.Wb(0,\"mat-expansion-panel\",33),a.Wb(1,\"mat-expansion-panel-header\",21),a.Wb(2,\"mat-panel-title\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Wb(5,\"div\",34),a.Wb(6,\"div\",35),a.Wb(7,\"div\",36),a.Wb(8,\"label\",8),a.Jc(9,\"LABEL_DONATIONS\"),a.Vb(),a.Vb(),a.Wb(10,\"small\"),a.Jc(11,\" (\"),a.Hc(12,In,2,2,\"span\",37),a.Hc(13,kn,2,3,\"span\",37),a.Rb(14,\"i\",38),a.Jc(15,\") \"),a.Vb(),a.Wb(16,\"div\",39),a.Wb(17,\"a\",40),a.Wb(18,\"button\",41),a.Rb(19,\"i\",42),a.Jc(20),a.jc(21,\"translate\"),a.Vb(),a.Vb(),a.Hc(22,On,3,0,\"button\",43),a.Hc(23,Ln,4,0,\"button\",43),a.Hc(24,An,3,0,\"button\",43),a.Vb(),a.Vb(),a.Rb(25,\"span\",44),a.Wb(26,\"div\",45),a.Wb(27,\"div\",36),a.Wb(28,\"label\",8),a.Jc(29,\"LABEL_MERCHANDISE\"),a.Vb(),a.Vb(),a.Wb(30,\"small\"),a.Jc(31,\" (\"),a.Hc(32,Tn,2,2,\"span\",37),a.Hc(33,Pn,2,3,\"span\",37),a.Rb(34,\"i\",46),a.Jc(35,\") \"),a.Vb(),a.Wb(36,\"div\",39),a.Wb(37,\"a\",47),a.Wb(38,\"button\",41),a.Rb(39,\"i\",48),a.Jc(40,\" Spreadshirt (US)\"),a.Vb(),a.Vb(),a.Wb(41,\"a\",49),a.Wb(42,\"button\",41),a.Rb(43,\"i\",48),a.Jc(44,\" Spreadshirt (DE)\"),a.Vb(),a.Vb(),a.Wb(45,\"a\",50),a.Wb(46,\"button\",41),a.Rb(47,\"i\",51),a.Jc(48,\" StickerYou\"),a.Vb(),a.Vb(),a.Wb(49,\"a\",52),a.Wb(50,\"button\",41),a.Rb(51,\"i\",53),a.Jc(52,\" Leanpub\"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.oc(\"expanded\",t.paymentPanelExpanded),a.Db(3),a.Lc(\" \",a.kc(4,10,\"OTHER_PAYMENT_OPTIONS\"),\" \"),a.Db(9),a.oc(\"ngIf\",\"OWASP Juice Shop\"===t.applicationName),a.Db(1),a.oc(\"ngIf\",\"OWASP Juice Shop\"!==t.applicationName),a.Db(7),a.Lc(\" \",a.kc(21,12,\"BTN_CREDIT_CARD\"),\"\"),a.Db(2),a.oc(\"ngIf\",!1),a.Db(1),a.oc(\"ngIf\",!1),a.Db(1),a.oc(\"ngIf\",!1),a.Db(8),a.oc(\"ngIf\",\"OWASP Juice Shop\"===t.applicationName),a.Db(1),a.oc(\"ngIf\",\"OWASP Juice Shop\"!==t.applicationName)}}function Rn(t,e){1&t&&(a.Wb(0,\"span\",8),a.Jc(1,\"REVIEW_ALERT\"),a.Vb())}function Mn(t,e){1&t&&(a.Wb(0,\"span\",8),a.Jc(1,\"REVIEW_DELUXE\"),a.Vb())}function Jn(t,e){1&t&&(a.Wb(0,\"span\",8),a.Jc(1,\"REVIEW_WALLET\"),a.Vb())}u.b.add(m.d,m.r,m.v,d.g,m.T,m.ab,m.M,m.u,m.h,m.U,d.j),u.a.watch();let Hn=(()=>{class t{constructor(t,e,i,a,o,n,r,s,l,b,u,d,m){this.location=t,this.cookieService=e,this.userService=i,this.deliveryService=a,this.walletService=o,this.router=n,this.dialog=r,this.configurationService=s,this.basketService=l,this.translate=b,this.activatedRoute=u,this.ngZone=d,this.snackBarHelperService=m,this.card={},this.twitterUrl=null,this.facebookUrl=null,this.applicationName=\"OWASP Juice Shop\",this.couponControl=new c.c(\"\",[c.x.required,c.x.minLength(10),c.x.maxLength(10)]),this.paymentId=void 0,this.couponPanelExpanded=!1,this.paymentPanelExpanded=!1,this.walletBalance=0,this.totalPrice=0,this.payUsingWallet=!1,this.campaigns={WMNSDY2019:{validOn:15519996e5,discount:75},WMNSDY2020:{validOn:1583622e6,discount:60},WMNSDY2021:{validOn:1615158e6,discount:60},WMNSDY2022:{validOn:1646694e6,discount:60},WMNSDY2023:{validOn:167823e7,discount:60},ORANGE2020:{validOn:15885468e5,discount:50},ORANGE2021:{validOn:16200828e5,discount:40},ORANGE2022:{validOn:16516188e5,discount:40},ORANGE2023:{validOn:16831548e5,discount:40}}}ngOnInit(){this.initTotal(),this.walletService.get().subscribe(t=>{this.walletBalance=t,this.walletBalanceStr=parseFloat(t).toFixed(2)},t=>console.log(t)),this.couponPanelExpanded=!!localStorage.getItem(\"couponPanelExpanded\")&&JSON.parse(localStorage.getItem(\"couponPanelExpanded\")),this.paymentPanelExpanded=!!localStorage.getItem(\"paymentPanelExpanded\")&&JSON.parse(localStorage.getItem(\"paymentPanelExpanded\")),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&(t.application.social.twitterUrl&&(this.twitterUrl=t.application.social.twitterUrl),t.application.social.facebookUrl&&(this.facebookUrl=t.application.social.facebookUrl),t.application.name&&(this.applicationName=t.application.name))},t=>console.log(t))}initTotal(){this.activatedRoute.paramMap.subscribe(t=>{if(this.mode=t.get(\"entity\"),\"wallet\"===this.mode)this.totalPrice=parseFloat(sessionStorage.getItem(\"walletTotal\"));else if(\"deluxe\"===this.mode)this.userService.deluxeStatus().subscribe(t=>{this.totalPrice=t.membershipCost},t=>console.log(t));else{const t=parseFloat(sessionStorage.getItem(\"itemTotal\")),e=sessionStorage.getItem(\"couponDiscount\")?parseFloat(sessionStorage.getItem(\"couponDiscount\"))/100*t:0;this.deliveryService.getById(sessionStorage.getItem(\"deliveryMethodId\")).subscribe(i=>{this.totalPrice=t+i.price-e})}},t=>console.log(t))}applyCoupon(){this.campaignCoupon=this.couponControl.value,this.clientDate=new Date;const t=60*(this.clientDate.getTimezoneOffset()+60)*1e3;this.clientDate.setHours(0,0,0,0),this.clientDate=this.clientDate.getTime()-t,sessionStorage.setItem(\"couponDetails\",this.campaignCoupon+\"-\"+this.clientDate);const e=this.campaigns[this.couponControl.value];e?this.clientDate===e.validOn?this.showConfirmation(e.discount):(this.couponConfirmation=void 0,this.translate.get(\"INVALID_COUPON\").subscribe(t=>{this.couponError={error:t}},t=>{this.couponError={error:t}}),this.resetCouponForm()):this.basketService.applyCoupon(Number(sessionStorage.getItem(\"bid\")),encodeURIComponent(this.couponControl.value)).subscribe(t=>{this.showConfirmation(t)},t=>{this.couponConfirmation=void 0,this.couponError=t,this.resetCouponForm()})}showConfirmation(t){this.resetCouponForm(),this.couponError=void 0,sessionStorage.setItem(\"couponDiscount\",t),this.translate.get(\"DISCOUNT_APPLIED\",{discount:t}).subscribe(t=>{this.couponConfirmation=t},t=>{this.couponConfirmation=t}),this.initTotal()}getMessage(t){this.paymentId=t,this.payUsingWallet=!1}routeToPreviousUrl(){this.location.back()}choosePayment(){sessionStorage.removeItem(\"itemTotal\"),\"wallet\"===this.mode?this.walletService.put({balance:this.totalPrice}).subscribe(()=>{sessionStorage.removeItem(\"walletTotal\"),this.ngZone.run(()=>this.router.navigate([\"/wallet\"])),this.snackBarHelperService.open(\"CHARGED_WALLET\",\"confirmBar\")},t=>{var e;console.log(t),this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\")}):\"deluxe\"===this.mode?this.userService.upgradeToDeluxe(this.payUsingWallet).subscribe(()=>{this.logout()},t=>console.log(t)):(this.payUsingWallet?sessionStorage.setItem(\"paymentId\",\"wallet\"):sessionStorage.setItem(\"paymentId\",this.paymentId),this.ngZone.run(()=>this.router.navigate([\"/order-summary\"])))}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/login\"]))}noop(){}showBitcoinQrCode(){this.dialog.open(qo,{data:{data:\"bitcoin:1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm\",url:\"/redirect?to=https://blockchain.info/address/1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm\",address:\"1AbKfgvw9psQ41NbLi8kufDQTezwG8DRZm\",title:\"TITLE_BITCOIN_ADDRESS\"}})}showDashQrCode(){this.dialog.open(qo,{data:{data:\"dash:Xr556RzuwX6hg5EGpkybbv5RanJoZN17kW\",url:\"/redirect?to=https://explorer.dash.org/address/Xr556RzuwX6hg5EGpkybbv5RanJoZN17kW\",address:\"Xr556RzuwX6hg5EGpkybbv5RanJoZN17kW\",title:\"TITLE_DASH_ADDRESS\"}})}showEtherQrCode(){this.dialog.open(qo,{data:{data:\"0x0f933ab9fCAAA782D0279C300D73750e1311EAE6\",url:\"/redirect?to=https://etherscan.io/address/0x0f933ab9fcaaa782d0279c300d73750e1311eae6\",address:\"0x0f933ab9fCAAA782D0279C300D73750e1311EAE6\",title:\"TITLE_ETHER_ADDRESS\"}})}useWallet(){this.payUsingWallet=!0}resetCouponForm(){this.couponControl.setValue(\"\"),this.couponControl.markAsPristine(),this.couponControl.markAsUntouched()}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.g),a.Qb(r.b),a.Qb(D),a.Qb(Ko),a.Qb(Yo),a.Qb(S.b),a.Qb(Ae.b),a.Qb(b),a.Qb(x),a.Qb(g.e),a.Qb(S.a),a.Qb(a.A),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-payment\"]],decls:25,vars:11,consts:[[1,\"mat-own-card\",\"mat-elevation-z6\"],[3,\"allowDelete\",\"emitSelection\"],[\"class\",\"mat-elevation-z0\",\"class\",\"custom-card\",4,\"ngIf\"],[\"class\",\"mat-elevation-z0\",\"id\",\"collapseCouponElement\",3,\"expanded\",4,\"ngIf\"],[\"class\",\"mat-elevation-z0\",3,\"expanded\",4,\"ngIf\"],[2,\"margin-top\",\"20px\"],[\"mat-stroked-button\",\"\",1,\"btn\",\"btn-return\",3,\"click\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Proceed to review\",1,\"btn\",\"nextButton\",3,\"disabled\",\"click\"],[\"translate\",\"\"],[2,\"text-align\",\"center\",\"margin-top\",\"-27px\"],[\"translate\",\"\",4,\"ngIf\"],[1,\"custom-card\"],[\"fxLayout\",\"row\"],[\"fxFlex\",\"42%\"],[\"translate\",\"\",1,\"card-title\"],[\"fxFlex\",\"38%\"],[1,\"confirmation\",\"card-title\"],[\"fxFlex\",\"20%\"],[\"type\",\"submit\",\"color\",\"primary\",\"mat-raised-button\",\"\",1,\"btn\",2,\"float\",\"right\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-hand-holding-usd\",\"fa-lg\"],[\"id\",\"collapseCouponElement\",1,\"mat-elevation-z0\",3,\"expanded\"],[1,\"detail-divider\"],[\"style\",\"margin-top:5px;\",\"class\",\"confirmation\",4,\"ngIf\"],[\"style\",\"margin-top:5px;\",\"class\",\"error\",4,\"ngIf\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[3,\"innerHtml\"],[\"id\",\"coupon\",\"matInput\",\"\",\"type\",\"text\",3,\"formControl\",\"placeholder\"],[\"coupon\",\"\"],[\"align\",\"end\"],[4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"applyCouponButton\",\"color\",\"accent\",\"mat-raised-button\",\"\",2,\"margin-top\",\"5px\",\"float\",\"right\",3,\"disabled\",\"click\"],[1,\"confirmation\",2,\"margin-top\",\"5px\"],[1,\"error\",2,\"margin-top\",\"5px\"],[1,\"mat-elevation-z0\",3,\"expanded\"],[\"fxLayout\",\"row\",\"fxLayout.lt-lg\",\"column\"],[\"fxFlex\",\"34%\",\"fxFlex.lt-lg\",\"100%\",1,\"mat-elevation-z0\"],[1,\"payment-label\"],[\"translate\",\"\",3,\"translateParams\",4,\"ngIf\"],[1,\"fas\",\"fa-heart\",\"error\",2,\"margin-left\",\"3px\"],[1,\"button-container\",2,\"margin-top\",\"6px\"],[\"href\",\"https://pwning.owasp-juice.shop/part3/donations.html\"],[\"mat-stroked-button\",\"\"],[1,\"fab\",\"fa-stripe\",\"fa-lg\"],[\"mat-stroked-button\",\"\",3,\"click\",4,\"ngIf\"],[1,\"fill-remaining-space\"],[\"fxFlex\",\"65%\",\"fxFlex.lt-lg\",\"100%\",1,\"mat-elevation-z0\"],[1,\"fas\",\"fa-thumbs-up\",\"confirmation\",2,\"margin-left\",\"3px\"],[\"href\",\"/redirect?to=http://shop.spreadshirt.com/juiceshop\"],[1,\"fas\",\"fa-tshirt\",\"fa-lg\"],[\"href\",\"/redirect?to=http://shop.spreadshirt.de/juiceshop\"],[\"href\",\"/redirect?to=https://www.stickeryou.com/products/owasp-juice-shop/794\"],[1,\"fas\",\"fa-sticky-note\",\"fa-lg\"],[\"href\",\"/redirect?to=http://leanpub.com/juice-shop\"],[1,\"fab\",\"fa-leanpub\",\"fa-lg\"],[\"translate\",\"\",3,\"translateParams\"],[\"mat-stroked-button\",\"\",3,\"click\"],[1,\"fab\",\"fa-btc\",\"fa-lg\"],[1,\"fa-lg\"],[1,\"fab\",\"fa-ethereum\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"div\"),a.Wb(2,\"app-payment-method\",1),a.ec(\"emitSelection\",(function(t){return e.getMessage(t)})),a.Vb(),a.Rb(3,\"mat-divider\"),a.Hc(4,wn,16,6,\"div\",2),a.Rb(5,\"mat-divider\"),a.Hc(6,xn,26,26,\"mat-expansion-panel\",3),a.Rb(7,\"mat-divider\"),a.Hc(8,En,53,14,\"mat-expansion-panel\",4),a.Rb(9,\"mat-divider\"),a.Wb(10,\"div\",5),a.Wb(11,\"button\",6),a.ec(\"click\",(function(){return e.routeToPreviousUrl()})),a.Wb(12,\"mat-icon\"),a.Jc(13,\" navigate_before \"),a.Vb(),a.Jc(14),a.jc(15,\"translate\"),a.Vb(),a.Wb(16,\"button\",7),a.ec(\"click\",(function(){return e.choosePayment()})),a.Wb(17,\"mat-icon\"),a.Jc(18,\" navigate_next \"),a.Vb(),a.Wb(19,\"span\",8),a.Jc(20,\"LABEL_CONTINUE\"),a.Vb(),a.Vb(),a.Wb(21,\"p\",9),a.Hc(22,Rn,2,0,\"span\",10),a.Hc(23,Mn,2,0,\"span\",10),a.Hc(24,Jn,2,0,\"span\",10),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(2),a.oc(\"allowDelete\",!1),a.Db(2),a.oc(\"ngIf\",\"wallet\"!==e.mode),a.Db(2),a.oc(\"ngIf\",\"wallet\"!==e.mode),a.Db(2),a.oc(\"ngIf\",\"wallet\"!==e.mode),a.Db(6),a.Lc(\" \",a.kc(15,9,\"LABEL_BACK\"),\" \"),a.Db(2),a.oc(\"disabled\",void 0===e.paymentId&&!1===e.payUsingWallet),a.Db(6),a.oc(\"ngIf\",\"deluxe\"!==e.mode&&\"wallet\"!==e.mode),a.Db(1),a.oc(\"ngIf\",\"deluxe\"===e.mode),a.Db(1),a.oc(\"ngIf\",\"wallet\"===e.mode))},directives:[f.a,Cn,Re.a,P.l,v.a,Ce.a,g.a,h.d,h.b,Me.b,Me.d,Me.e,Me.c,At.b,At.f,At.e,Tt.b,c.b,c.n,c.d,At.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-own-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}.btn-return[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;display:block}.nextButton[_ngcontent-%COMP%]{margin-right:0;margin-left:auto;display:block;margin-top:-37px}mat-card[_ngcontent-%COMP%]{height:auto}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.mat-raised-button[_ngcontent-%COMP%]{margin-right:3px}.custom-card[_ngcontent-%COMP%]{padding:18px 24px}.card-title[_ngcontent-%COMP%]{font-size:15px;line-height:36px;vertical-align:middle}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.detail-divider[_ngcontent-%COMP%]{margin-bottom:12px;margin-top:12px}\"]}),t})(),Nn=(()=>{class t{}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-saved-payment-methods\"]],decls:2,vars:1,consts:[[1,\"mat-own-card\",\"mat-elevation-z6\"],[3,\"allowDelete\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Rb(1,\"app-payment-method\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"allowDelete\",!0))},directives:[f.a,Cn],styles:[\".mat-own-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}\"]}),t})(),Fn=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/order-history\"}get(){return this.http.get(this.host).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}getAll(){return this.http.get(this.host+\"/orders\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}toggleDeliveryStatus(t,e){return this.http.put(this.host+\"/\"+t+\"/delivery-status\",e).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();const Bn=[\"paginatorOrderHistory\"],Un=[\"paginator\"];function jn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",31)}function Qn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",20),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.orderId,\"\")}}function zn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",32)}function Gn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",33),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",null==t.totalPrice?null:t.totalPrice.toFixed(2),\"\\xa4\")}}function qn(t,e){1&t&&a.Rb(0,\"mat-header-cell\",34)}function Yn(t,e){1&t&&(a.Wb(0,\"div\",38),a.Jc(1,\"LABEL_IN_TRANSIT\"),a.Vb())}function Kn(t,e){1&t&&(a.Wb(0,\"div\",39),a.Jc(1,\"LABEL_DELIVERED\"),a.Vb())}function Xn(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Hc(1,Yn,2,0,\"div\",36),a.Hc(2,Kn,2,0,\"div\",37),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"ngIf\",!t.delivered),a.Db(1),a.oc(\"ngIf\",t.delivered)}}function $n(t,e){1&t&&a.Rb(0,\"mat-header-cell\",33)}function Zn(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",41),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().changeDeliveryStatus(e.delivered,e.id)})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" cached \"),a.Vb(),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"LABEL_MARK_AS_TRANSIT\"))}function tr(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",41),a.ec(\"click\",(function(){a.zc(t);const e=a.ic().$implicit;return a.ic().changeDeliveryStatus(e.delivered,e.id)})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" check_circle \"),a.Vb(),a.Vb()}2&t&&a.pc(\"matTooltip\",a.kc(1,1,\"LABEL_MARK_AS_DELIVERED\"))}function er(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",33),a.Hc(1,Zn,4,3,\"button\",40),a.Hc(2,tr,4,3,\"button\",40),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.oc(\"ngIf\",t.delivered),a.Db(1),a.oc(\"ngIf\",!t.delivered)}}function ir(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function ar(t,e){1&t&&a.Rb(0,\"mat-row\")}function or(t,e){if(1&t&&(a.Wb(0,\"div\",42),a.Wb(1,\"p\",43),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Kc(t.confirmation)}}function nr(t,e){if(1&t&&(a.Wb(0,\"div\",42),a.Wb(1,\"p\",44),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(2),a.Kc(null==t.error?null:t.error.error)}}function rr(t,e){1&t&&a.Rb(0,\"mat-header-cell\",45)}function cr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",46),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\" \",t.name,\"\")}}function sr(t,e){1&t&&a.Rb(0,\"mat-header-cell\",47)}function lr(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",48),a.Wb(1,\"mat-form-field\",49),a.Rb(2,\"input\",50,51),a.Wb(4,\"button\",52),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit,o=a.wc(3);return a.ic().modifyPrice(i.id,o.value)})),a.Rb(5,\"i\",53),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit;a.Db(2),a.pc(\"value\",t.price)}}function br(t,e){1&t&&a.Rb(0,\"mat-header-cell\",54)}function ur(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",48),a.Wb(1,\"mat-form-field\",49),a.Rb(2,\"input\",50,55),a.Wb(4,\"button\",52),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit,o=a.wc(3),n=a.ic();return n.modifyQuantity(n.quantityMap[i.id].id,o.value)})),a.Rb(5,\"i\",53),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.Db(2),a.pc(\"value\",i.quantityMap[t.id].quantity)}}function dr(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function mr(t,e){1&t&&a.Rb(0,\"mat-row\")}const pr=function(){return[10,20,30]};u.b.add(m.f),u.a.watch();let hr=(()=>{class t{constructor(t,e,i){this.productService=t,this.quantityService=e,this.orderHistoryService=i,this.orderHistoryColumns=[\"OrderId\",\"Price\",\"Status\",\"StatusButton\"],this.displayedColumns=[\"Product\",\"Price\",\"Quantity\"],this.confirmation=void 0,this.error=void 0}ngAfterViewInit(){this.loadQuantity(),this.loadProducts(),this.loadOrders()}loadQuantity(){this.quantitySubscription=this.quantityService.getAll().subscribe(t=>{this.quantityMap={},t.map(t=>{this.quantityMap[t.ProductId]={id:t.id,quantity:t.quantity}})},t=>{this.error=t.error,this.confirmation=null,console.log(t)})}loadProducts(){this.productSubscription=this.productService.search(\"\").subscribe(t=>{this.tableData=t,this.dataSource=new T.o(this.tableData),this.dataSource.paginator=this.paginator},t=>console.log(t))}loadOrders(){this.orderHistoryService.getAll().subscribe(t=>{this.orderData=[];for(const e of t)this.orderData.push({id:e._id,orderId:e.orderId,totalPrice:e.totalPrice,delivered:e.delivered});this.orderSource=new T.o(this.orderData),this.orderSource.paginator=this.paginatorOrderHistory},t=>console.log(t))}ngOnDestroy(){this.productSubscription&&this.productSubscription.unsubscribe(),this.quantitySubscription&&this.quantitySubscription.unsubscribe()}modifyQuantity(t,e){this.error=null,this.quantityService.put(t,{quantity:e<0?0:e}).subscribe(t=>{const e=this.tableData.find(e=>e.id===t.ProductId);this.confirmation=\"Quantity for \"+e.name+\" has been updated.\",this.loadQuantity()},t=>{this.error=t.error,this.confirmation=null,console.log(t)})}modifyPrice(t,e){this.error=null,this.productService.put(t,{price:e<0?0:e}).subscribe(t=>{this.confirmation=\"Price for \"+t.name+\" has been updated.\",this.loadProducts()},t=>{this.error=t.error,this.confirmation=null,console.log(t)})}changeDeliveryStatus(t,e){this.orderHistoryService.toggleDeliveryStatus(e,{deliveryStatus:t}).subscribe(()=>{this.loadOrders()},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(je),a.Qb(Ye),a.Qb(Fn))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-accounting\"]],viewQuery:function(t,e){var i;1&t&&(a.Fc(Bn,!0),a.Fc(Un,!0)),2&t&&(a.vc(i=a.fc())&&(e.paginatorOrderHistory=i.first),a.vc(i=a.fc())&&(e.paginator=i.first))},decls:49,vars:20,consts:[[\"fxLayout\",\"row\",\"fxLayoutGap\",\"5%\",\"fxLayout.lt-md\",\"column\",\"fxLayoutGap.lt-md\",\"20px\",1,\"main-wrapper\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxFlex\",\"50%\"],[1,\"table-container\",\"custom-slate\",\"mat-elevation-z6\"],[1,\"heading\"],[3,\"dataSource\"],[\"matColumnDef\",\"OrderId\"],[\"translate\",\"LABEL_ORDER_ID\",\"fxFlex\",\"50%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"50%\",4,\"matCellDef\"],[\"matColumnDef\",\"Price\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"Status\"],[\"translate\",\"LABEL_STATUS\",\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"StatusButton\"],[\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[1,\"mat-elevation-z6\",3,\"pageSize\",\"pageSizeOptions\"],[\"paginatorOrderHistory\",\"\"],[\"fxFlex\",\"50%\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxLayoutAlign\",\"center\"],[\"style\",\"margin-top:5px;\",4,\"ngIf\"],[\"matColumnDef\",\"Product\"],[\"translate\",\"LABEL_PRODUCT\",\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\",4,\"matCellDef\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\",4,\"matCellDef\"],[\"matColumnDef\",\"Quantity\"],[\"translate\",\"LABEL_QUANTITY\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\",4,\"matHeaderCellDef\"],[\"paginator\",\"\"],[\"translate\",\"LABEL_ORDER_ID\",\"fxFlex\",\"50%\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"15%\"],[\"fxFlex\",\"15%\"],[\"translate\",\"LABEL_STATUS\",\"fxFlex\",\"20%\"],[\"fxFlex\",\"20%\"],[\"class\",\"error\",\"translate\",\"\",4,\"ngIf\"],[\"class\",\"confirmation\",\"translate\",\"\",4,\"ngIf\"],[\"translate\",\"\",1,\"error\"],[\"translate\",\"\",1,\"confirmation\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[2,\"margin-top\",\"5px\"],[1,\"confirmation\"],[1,\"error\"],[\"translate\",\"LABEL_PRODUCT\",\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\"],[\"fxFlex\",\"50%\",\"fxFlex.lt-md\",\"50%\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\"],[\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\"],[1,\"input-field\"],[\"matInput\",\"\",\"type\",\"number\",3,\"value\"],[\"price\",\"\"],[\"mat-icon-button\",\"\",\"matSuffix\",\"\",3,\"click\"],[1,\"fas\",\"fa-check\"],[\"translate\",\"LABEL_QUANTITY\",\"fxFlex\",\"25%\",\"fxFlex.lt-md\",\"25%\"],[\"quanitity\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Wb(3,\"div\",3),a.Wb(4,\"div\"),a.Jc(5),a.jc(6,\"translate\"),a.Vb(),a.Vb(),a.Wb(7,\"mat-table\",4),a.Ub(8,5),a.Hc(9,jn,1,0,\"mat-header-cell\",6),a.Hc(10,Qn,2,1,\"mat-cell\",7),a.Tb(),a.Ub(11,8),a.Hc(12,zn,1,0,\"mat-header-cell\",9),a.Hc(13,Gn,2,1,\"mat-cell\",10),a.Tb(),a.Ub(14,11),a.Hc(15,qn,1,0,\"mat-header-cell\",12),a.Hc(16,Xn,3,2,\"mat-cell\",13),a.Tb(),a.Ub(17,14),a.Hc(18,$n,1,0,\"mat-header-cell\",15),a.Hc(19,er,3,2,\"mat-cell\",10),a.Tb(),a.Hc(20,ir,1,0,\"mat-header-row\",16),a.Hc(21,ar,1,0,\"mat-row\",17),a.Vb(),a.Rb(22,\"mat-divider\"),a.Rb(23,\"mat-paginator\",18,19),a.Vb(),a.Vb(),a.Wb(25,\"div\",20),a.Wb(26,\"div\",21),a.Wb(27,\"div\",2),a.Wb(28,\"div\",3),a.Wb(29,\"div\"),a.Jc(30),a.jc(31,\"translate\"),a.Vb(),a.Hc(32,or,3,1,\"div\",22),a.Hc(33,nr,3,1,\"div\",22),a.Vb(),a.Wb(34,\"mat-table\",4),a.Ub(35,23),a.Hc(36,rr,1,0,\"mat-header-cell\",24),a.Hc(37,cr,2,1,\"mat-cell\",25),a.Tb(),a.Ub(38,8),a.Hc(39,sr,1,0,\"mat-header-cell\",26),a.Hc(40,lr,6,1,\"mat-cell\",27),a.Tb(),a.Ub(41,28),a.Hc(42,br,1,0,\"mat-header-cell\",29),a.Hc(43,ur,6,1,\"mat-cell\",27),a.Tb(),a.Hc(44,dr,1,0,\"mat-header-row\",16),a.Hc(45,mr,1,0,\"mat-row\",17),a.Vb(),a.Rb(46,\"mat-divider\"),a.Rb(47,\"mat-paginator\",18,30),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(5),a.Kc(a.kc(6,14,\"TITLE_TRACK_ORDERS\")),a.Db(2),a.oc(\"dataSource\",e.orderSource),a.Db(13),a.oc(\"matHeaderRowDef\",e.orderHistoryColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.orderHistoryColumns),a.Db(2),a.oc(\"pageSize\",10)(\"pageSizeOptions\",a.sc(18,pr)),a.Db(7),a.Kc(a.kc(31,16,\"TITLE_ALL_PRODUCTS\")),a.Db(2),a.oc(\"ngIf\",e.confirmation),a.Db(1),a.oc(\"ngIf\",e.error),a.Db(1),a.oc(\"dataSource\",e.dataSource),a.Db(10),a.oc(\"matHeaderRowDef\",e.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.displayedColumns),a.Db(2),a.oc(\"pageSize\",10)(\"pageSizeOptions\",a.sc(19,pr)))},directives:[h.d,h.e,h.b,T.n,T.c,T.i,T.b,T.k,T.m,Re.a,Qe.a,h.c,P.l,T.h,g.a,T.a,v.a,we.a,Ce.a,T.j,T.l,At.b,Tt.b,At.g],pipes:[g.d],styles:[\".table-container[_ngcontent-%COMP%]{min-width:350px}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.product[_ngcontent-%COMP%]{cursor:pointer}.input-field[_ngcontent-%COMP%]{width:80px}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}\"]}),t})();const fr=function(t){return{numberdays:t}};function gr(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Wb(1,\"div\",30),a.Jc(2,\"ESTIMATED_TIME_OF_DELIVERY\"),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.oc(\"translateParams\",a.tc(1,fr,t.orderDetails.eta))}}function vr(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Hc(1,gr,3,3,\"span\",7),a.Wb(2,\"div\"),a.Wb(3,\"b\",4),a.Jc(4,\"LABEL_DELIVERY_ADDRESS\"),a.Vb(),a.Vb(),a.Wb(5,\"div\"),a.Jc(6),a.Vb(),a.Wb(7,\"div\"),a.Jc(8),a.Vb(),a.Wb(9,\"div\"),a.Jc(10),a.Vb(),a.Wb(11,\"div\"),a.Wb(12,\"span\",4),a.Jc(13,\"PHONE_NUMBER\"),a.Vb(),a.Jc(14),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngIf\",\"?\"!==t.orderDetails.eta&&void 0!==t.orderDetails.eta),a.Db(5),a.Kc(null==t.address?null:t.address.fullName),a.Db(2),a.Nc(\"\",null==t.address?null:t.address.streetAddress,\", \",null==t.address?null:t.address.city,\", \",null==t.address?null:t.address.state,\", \",null==t.address?null:t.address.zipCode,\"\"),a.Db(2),a.Kc(null==t.address?null:t.address.country),a.Db(4),a.Lc(\" \",null==t.address?null:t.address.mobileNum,\"\")}}function Cr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_PRODUCT\"),a.Vb())}function wr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.name,\" \")}}function yr(t,e){1&t&&a.Rb(0,\"mat-footer-cell\")}function Dr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_PRICE\"),a.Vb())}function Sr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.price,\"\\xa4\")}}function Wr(t,e){1&t&&a.Rb(0,\"mat-footer-cell\")}function xr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_QUANTITY\"),a.Vb())}function Vr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\"),a.Wb(1,\"span\"),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=e.$implicit;a.Db(2),a.Kc(t.quantity)}}function Ir(t,e){1&t&&(a.Wb(0,\"mat-footer-cell\"),a.Wb(1,\"table\",31),a.Wb(2,\"tr\",32),a.Wb(3,\"td\",4),a.Jc(4,\"ITEMS\"),a.Vb(),a.Vb(),a.Wb(5,\"tr\",32),a.Wb(6,\"td\",4),a.Jc(7,\"DELIVERY\"),a.Vb(),a.Vb(),a.Wb(8,\"tr\",32),a.Wb(9,\"td\",4),a.Jc(10,\"PROMOTION\"),a.Vb(),a.Vb(),a.Wb(11,\"tr\",32),a.Wb(12,\"td\",4),a.Jc(13,\"LABEL_TOTAL_PRICE\"),a.Vb(),a.Vb(),a.Vb(),a.Vb())}function _r(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",4),a.Jc(1,\"LABEL_TOTAL_PRICE\"),a.Vb())}function kr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",33),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.total.toFixed(2),\"\\xa4\")}}function Or(t,e){if(1&t&&(a.Wb(0,\"mat-footer-cell\"),a.Wb(1,\"table\",33),a.Wb(2,\"tr\",32),a.Wb(3,\"td\"),a.Jc(4),a.Vb(),a.Vb(),a.Wb(5,\"tr\",32),a.Wb(6,\"td\"),a.Jc(7),a.Vb(),a.Vb(),a.Wb(8,\"tr\",32),a.Wb(9,\"td\"),a.Jc(10),a.Vb(),a.Vb(),a.Wb(11,\"tr\",32),a.Wb(12,\"td\"),a.Jc(13),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Lc(\"\",null==t.orderDetails.itemTotal?null:t.orderDetails.itemTotal.toFixed(2),\"\\xa4\"),a.Db(3),a.Lc(\"\",t.deliveryPrice.toFixed(2),\"\\xa4\"),a.Db(3),a.Lc(\"\",t.promotionalDiscount.toFixed(2),\"\\xa4\"),a.Db(3),a.Lc(\"\",null==t.orderDetails.totalPrice?null:t.orderDetails.totalPrice.toFixed(2),\"\\xa4\")}}function Lr(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function Ar(t,e){1&t&&a.Rb(0,\"mat-row\")}function Tr(t,e){1&t&&a.Rb(0,\"mat-footer-row\",34)}const Pr=function(t){return{id:t}},Er=function(t){return{bonus:t}};u.b.add(d.k),u.a.watch();let Rr=(()=>{class t{constructor(t,e,i,a,o){this.configurationService=t,this.addressService=e,this.trackOrderService=i,this.activatedRoute=a,this.basketService=o,this.tableColumns=[\"product\",\"price\",\"quantity\",\"total price\"],this.orderDetails={totalPrice:0},this.deliveryPrice=0,this.promotionalDiscount=0,this.tweetText=\"I just purchased\",this.truncateTweet=(t,e=140)=>{if(!t)return null;const i=t.length>e;return`${t.substring(0,e)}${i?\"...\":\"\"}`}}ngOnInit(){this.activatedRoute.paramMap.subscribe(t=>{this.orderId=t.get(\"id\"),this.trackOrderService.save(this.orderId).subscribe(t=>{this.promotionalDiscount=t.data[0].promotionalAmount?parseFloat(t.data[0].promotionalAmount):0,this.deliveryPrice=t.data[0].deliveryPrice?parseFloat(t.data[0].deliveryPrice):0,this.orderDetails.addressId=t.data[0].addressId,this.orderDetails.paymentId=t.data[0].paymentId,this.orderDetails.totalPrice=t.data[0].totalPrice,this.orderDetails.itemTotal=t.data[0].totalPrice+this.promotionalDiscount-this.deliveryPrice,this.orderDetails.eta=t.data[0].eta||\"?\",this.orderDetails.products=t.data[0].products,this.orderDetails.bonus=t.data[0].bonus,this.dataSource=new T.o(this.orderDetails.products);for(const e of this.orderDetails.products)this.tweetText+=\"%0a- \"+e.name;this.tweetText=this.truncateTweet(this.tweetText),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&(this.tweetText+=\"%0afrom \",this.tweetText+=t.application.social.twitterUrl?t.application.social.twitterUrl.replace(\"https://twitter.com/\",\"@\"):t.application.name)},t=>console.log(t)),this.addressService.getById(this.orderDetails.addressId).subscribe(t=>{this.address=t},t=>console.log(t))},t=>console.log(t))},t=>console.log(t))}openConfirmationPDF(){window.open(this.basketService.hostServer+\"/ftp/order_\"+this.orderId+\".pdf\",\"_blank\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(b),a.Qb(na),a.Qb(ct),a.Qb(S.a),a.Qb(x))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-order-completion\"]],decls:51,vars:18,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"10px\",1,\"main-wrapper\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\"],[\"fxFlex\",\"60%\",1,\"mat-elevation-z6\"],[\"translate\",\"\",1,\"confirmation\"],[\"translate\",\"\"],[\"routerLink\",\"/track-result/new\",\"translate\",\"\",3,\"queryParams\"],[\"fxFlex\",\"40%\",1,\"mat-elevation-z6\"],[4,\"ngIf\"],[1,\"mat-elevation-z6\",\"table-container\",\"custom-slate\"],[1,\"heading\"],[1,\"heading-text\"],[\"fxFlex\",\"\"],[3,\"href\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Tweet\"],[1,\"fab\",\"fa-twitter\",\"fa-lg\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[3,\"dataSource\"],[\"matColumnDef\",\"product\"],[\"translate\",\"\",4,\"matHeaderCellDef\"],[4,\"matCellDef\"],[4,\"matFooterCellDef\"],[\"matColumnDef\",\"price\"],[\"matColumnDef\",\"quantity\"],[\"matColumnDef\",\"total price\"],[\"class\",\"price-align\",4,\"matCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"mat-footer-row\",\"\",4,\"matFooterRowDef\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\",3,\"translateParams\"],[\"translate\",\"\",1,\"confirmation\",3,\"translateParams\"],[1,\"mat-table\"],[1,\"mat-row\"],[1,\"price-align\"],[\"mat-footer-row\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\"),a.Wb(2,\"div\",1),a.Wb(3,\"mat-card\",2),a.Wb(4,\"div\"),a.Wb(5,\"h1\",3),a.Jc(6,\"THANKS_FOR_PURCHASE\"),a.Vb(),a.Wb(7,\"div\",4),a.Jc(8,\"PURCHASE_COMMENT_PREFIX \"),a.Wb(9,\"a\",5),a.Jc(10,\"TITLE_TRACK_ORDERS\"),a.Vb(),a.Jc(11,\" PURCHASE_COMMENT_SUFFIX\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(12,\"mat-card\",6),a.Hc(13,vr,15,8,\"div\",7),a.Vb(),a.Vb(),a.Vb(),a.Wb(14,\"div\",8),a.Wb(15,\"div\",9),a.Wb(16,\"span\",10),a.Jc(17),a.jc(18,\"translate\"),a.Vb(),a.Rb(19,\"span\",11),a.Wb(20,\"a\",12),a.Wb(21,\"button\",13),a.Rb(22,\"i\",14),a.Vb(),a.Vb(),a.Wb(23,\"button\",15),a.ec(\"click\",(function(){return e.openConfirmationPDF()})),a.jc(24,\"translate\"),a.Wb(25,\"mat-icon\"),a.Jc(26,\" note \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(27,\"mat-table\",16),a.Ub(28,17),a.Hc(29,Cr,2,0,\"mat-header-cell\",18),a.Hc(30,wr,2,1,\"mat-cell\",19),a.Hc(31,yr,1,0,\"mat-footer-cell\",20),a.Tb(),a.Ub(32,21),a.Hc(33,Dr,2,0,\"mat-header-cell\",18),a.Hc(34,Sr,2,1,\"mat-cell\",19),a.Hc(35,Wr,1,0,\"mat-footer-cell\",20),a.Tb(),a.Ub(36,22),a.Hc(37,xr,2,0,\"mat-header-cell\",18),a.Hc(38,Vr,3,1,\"mat-cell\",19),a.Hc(39,Ir,14,0,\"mat-footer-cell\",20),a.Tb(),a.Ub(40,23),a.Hc(41,_r,2,0,\"mat-header-cell\",18),a.Hc(42,kr,2,1,\"mat-cell\",24),a.Hc(43,Or,14,4,\"mat-footer-cell\",20),a.Tb(),a.Hc(44,Lr,1,0,\"mat-header-row\",25),a.Hc(45,Ar,1,0,\"mat-row\",26),a.Hc(46,Tr,1,0,\"mat-footer-row\",27),a.Vb(),a.Vb(),a.Wb(47,\"div\"),a.Wb(48,\"mat-card\",28),a.Wb(49,\"div\",29),a.Jc(50,\"BONUS_POINTS_COUNT\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(9),a.oc(\"queryParams\",a.tc(14,Pr,e.orderId)),a.Db(4),a.oc(\"ngIf\",e.address),a.Db(4),a.Kc(a.kc(18,10,\"ORDER_SUMMARY\")),a.Db(3),a.qc(\"href\",\"https://twitter.com/intent/tweet?text=\",e.tweetText,\"&hashtags=security\",a.Cc),a.Db(3),a.pc(\"matTooltip\",a.kc(24,12,\"PRINT_ORDER_CONFIRMATION\")),a.Db(4),a.oc(\"dataSource\",e.dataSource),a.Db(17),a.oc(\"matHeaderRowDef\",e.tableColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.tableColumns),a.Db(1),a.oc(\"matFooterRowDef\",e.tableColumns),a.Db(3),a.oc(\"translateParams\",a.tc(16,Er,e.orderDetails.bonus)))},directives:[h.d,h.e,f.a,h.b,g.a,S.d,P.l,v.a,we.a,Ce.a,T.n,T.c,T.i,T.b,T.e,T.k,T.m,T.g,T.h,T.a,T.d,T.j,T.l,T.f],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large}.heading-text[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;padding:12px 20px}mat-card[_ngcontent-%COMP%]{height:auto}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}mat-cell[_ngcontent-%COMP%], mat-footer-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.price-align[_ngcontent-%COMP%]{text-align:right}.tweet-logo[_ngcontent-%COMP%]{height:24px}\"]}),t})();function Mr(t,e){if(1&t&&(a.Wb(0,\"mat-card\",20),a.Wb(1,\"div\"),a.Wb(2,\"div\"),a.Wb(3,\"b\",14),a.Jc(4,\"PAYMENT_METHOD\"),a.Vb(),a.Vb(),a.Wb(5,\"div\"),a.Wb(6,\"span\",14),a.Jc(7,\"CARD_ENDING_IN\"),a.Vb(),a.Jc(8),a.Vb(),a.Wb(9,\"div\"),a.Wb(10,\"span\",14),a.Jc(11,\"CARD_HOLDER\"),a.Vb(),a.Jc(12),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic(2);a.Db(8),a.Lc(\" \",null==t.paymentMethod?null:t.paymentMethod.cardNum,\"\"),a.Db(4),a.Lc(\" \",null==t.paymentMethod?null:t.paymentMethod.fullName,\"\")}}function Jr(t,e){1&t&&(a.Wb(0,\"mat-card\",20),a.Wb(1,\"div\"),a.Wb(2,\"div\"),a.Wb(3,\"b\",14),a.Jc(4,\"PAYMENT_METHOD\"),a.Vb(),a.Vb(),a.Wb(5,\"div\"),a.Wb(6,\"span\",14),a.Jc(7,\"DIGITAL_WALLET\"),a.Vb(),a.Vb(),a.Vb(),a.Vb())}function Hr(t,e){if(1&t&&(a.Wb(0,\"div\",16),a.Wb(1,\"mat-card\",17),a.Wb(2,\"div\"),a.Wb(3,\"div\"),a.Wb(4,\"b\",14),a.Jc(5,\"LABEL_DELIVERY_ADDRESS\"),a.Vb(),a.Vb(),a.Wb(6,\"div\"),a.Jc(7),a.Vb(),a.Wb(8,\"div\"),a.Jc(9),a.Vb(),a.Wb(10,\"div\"),a.Jc(11),a.Vb(),a.Wb(12,\"div\"),a.Wb(13,\"span\",14),a.Jc(14,\"PHONE_NUMBER\"),a.Vb(),a.Jc(15),a.Vb(),a.Vb(),a.Vb(),a.Hc(16,Mr,13,2,\"mat-card\",18),a.Hc(17,Jr,8,0,\"ng-template\",null,19,a.Ic),a.Vb()),2&t){const t=a.wc(18),e=a.ic();a.Db(7),a.Kc(null==e.address?null:e.address.fullName),a.Db(2),a.Nc(\"\",null==e.address?null:e.address.streetAddress,\", \",null==e.address?null:e.address.city,\", \",null==e.address?null:e.address.state,\", \",null==e.address?null:e.address.zipCode,\"\"),a.Db(2),a.Kc(null==e.address?null:e.address.country),a.Db(4),a.Lc(\" \",null==e.address?null:e.address.mobileNum,\"\"),a.Db(1),a.oc(\"ngIf\",\"wallet\"!==e.paymentMethod)(\"ngIfElse\",t)}}const Nr=function(t){return{bonus:t}};let Fr=(()=>{class t{constructor(t,e,i,a,o,n){this.router=t,this.addressService=e,this.paymentService=i,this.basketService=a,this.deliveryService=o,this.ngZone=n,this.bonus=0,this.itemTotal=0,this.deliveryPrice=0,this.promotionalDiscount=0}ngOnInit(){this.deliveryService.getById(sessionStorage.getItem(\"deliveryMethodId\")).subscribe(t=>{this.deliveryPrice=t.price}),this.addressService.getById(sessionStorage.getItem(\"addressId\")).subscribe(t=>{this.address=t},t=>console.log(t)),\"wallet\"!==sessionStorage.getItem(\"paymentId\")?this.paymentService.getById(sessionStorage.getItem(\"paymentId\")).subscribe(t=>{t.cardNum=String(t.cardNum).substring(String(t.cardNum).length-4),this.paymentMethod=t},t=>console.log(t)):\"wallet\"===sessionStorage.getItem(\"paymentId\")&&(this.paymentMethod=\"wallet\")}getMessage(t){this.itemTotal=t[0],this.promotionalDiscount=sessionStorage.getItem(\"couponDiscount\")?parseFloat(sessionStorage.getItem(\"couponDiscount\"))/100*this.itemTotal:0,this.bonus=t[1]}placeOrder(){const t={paymentId:sessionStorage.getItem(\"paymentId\"),addressId:sessionStorage.getItem(\"addressId\"),deliveryMethodId:sessionStorage.getItem(\"deliveryMethodId\")};this.basketService.checkout(Number(sessionStorage.getItem(\"bid\")),btoa(sessionStorage.getItem(\"couponDetails\")),t).subscribe(t=>{sessionStorage.removeItem(\"paymentId\"),sessionStorage.removeItem(\"addressId\"),sessionStorage.removeItem(\"deliveryMethodId\"),sessionStorage.removeItem(\"couponDetails\"),sessionStorage.removeItem(\"couponDiscount\"),this.ngZone.run(()=>this.router.navigate([\"/order-completion\",t]))},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(na),a.Qb(Xo),a.Qb(x),a.Qb(Ko),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-order-summary\"]],decls:36,vars:9,consts:[[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10%\",\"fxLayout.lt-md\",\"column\",1,\"main-wrapper\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",\"fxFlex\",\"70%\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\",4,\"ngIf\"],[3,\"allowEdit\",\"emitTotal\"],[\"fxFlex\",\"30%\"],[1,\"mat-elevation-z6\"],[\"translate\",\"\",1,\"order-summary\"],[1,\"mat-table\"],[1,\"mat-row\"],[\"translate\",\"\",1,\"mat-cell\",\"label\"],[1,\"mat-cell\",\"price\"],[\"translate\",\"\",1,\"mat-footer-cell\",\"label\"],[1,\"mat-footer-cell\",\"price\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Complete your purchase\",\"id\",\"checkoutButton\",1,\"btn\",\"btn-pay\",3,\"click\"],[\"translate\",\"\"],[\"translate\",\"\",1,\"bonus-points\",3,\"translateParams\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\"],[\"fxFlex\",\"60%\",1,\"mat-elevation-z6\"],[\"class\",\"mat-elevation-z6\",\"fxFlex\",\"40%\",4,\"ngIf\",\"ngIfElse\"],[\"walletPayment\",\"\"],[\"fxFlex\",\"40%\",1,\"mat-elevation-z6\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Hc(2,Hr,19,9,\"div\",2),a.Wb(3,\"app-purchase-basket\",3),a.ec(\"emitTotal\",(function(t){return e.getMessage(t)})),a.Vb(),a.Vb(),a.Wb(4,\"div\",4),a.Wb(5,\"mat-card\",5),a.Wb(6,\"div\",6),a.Jc(7,\"ORDER_SUMMARY\"),a.Vb(),a.Wb(8,\"table\",7),a.Wb(9,\"tr\",8),a.Wb(10,\"td\",9),a.Jc(11,\"ITEMS\"),a.Vb(),a.Wb(12,\"td\",10),a.Jc(13),a.Vb(),a.Vb(),a.Wb(14,\"tr\",8),a.Wb(15,\"td\",9),a.Jc(16,\"DELIVERY\"),a.Vb(),a.Wb(17,\"td\",10),a.Jc(18),a.Vb(),a.Vb(),a.Wb(19,\"tr\",8),a.Wb(20,\"td\",9),a.Jc(21,\"PROMOTION\"),a.Vb(),a.Wb(22,\"td\",10),a.Jc(23),a.Vb(),a.Vb(),a.Wb(24,\"tr\",8),a.Wb(25,\"td\",11),a.Jc(26,\"LABEL_TOTAL_PRICE\"),a.Vb(),a.Wb(27,\"td\",12),a.Jc(28),a.Vb(),a.Vb(),a.Vb(),a.Wb(29,\"button\",13),a.ec(\"click\",(function(){return e.placeOrder()})),a.Wb(30,\"mat-icon\"),a.Jc(31,\" monetization_on \"),a.Vb(),a.Wb(32,\"span\",14),a.Jc(33,\"PLACE_ORDER_AND_PAY\"),a.Vb(),a.Vb(),a.Wb(34,\"div\",15),a.Jc(35,\"CHECKOUT_FOR_BONUS_POINTS\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(2),a.oc(\"ngIf\",e.address&&e.paymentMethod),a.Db(1),a.oc(\"allowEdit\",!1),a.Db(10),a.Lc(\"\",null==e.itemTotal?null:e.itemTotal.toFixed(2),\"\\xa4\"),a.Db(5),a.Lc(\"\",e.deliveryPrice.toFixed(2),\"\\xa4\"),a.Db(5),a.Lc(\"\",e.promotionalDiscount.toFixed(2),\"\\xa4\"),a.Db(5),a.Lc(\"\",e.itemTotal+e.deliveryPrice-e.promotionalDiscount==null?null:(e.itemTotal+e.deliveryPrice-e.promotionalDiscount).toFixed(2),\"\\xa4\"),a.Db(6),a.oc(\"translateParams\",a.tc(7,Nr,e.bonus)))},directives:[h.d,h.e,h.b,P.l,ot,f.a,g.a,v.a,Ce.a],styles:[\".btn-pay[_ngcontent-%COMP%]{display:block;margin-top:10px;width:100%}mat-card[_ngcontent-%COMP%]{height:auto;margin-top:20px}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}mat-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.price[_ngcontent-%COMP%]:last-of-type{padding-right:10px;text-align:right}.label[_ngcontent-%COMP%]:first-of-type{padding-left:10px}table[_ngcontent-%COMP%]{width:100%}.mat-footer-cell[_ngcontent-%COMP%]{font-weight:700}.order-summary[_ngcontent-%COMP%]{font-size:x-large;padding-bottom:10px;padding-left:10px}.bonus-points[_ngcontent-%COMP%]{margin-top:5px;text-align:center}\"]}),t})();function Br(t,e){1&t&&(a.Wb(0,\"mat-error\",1),a.Jc(1,\" MANDATORY_AMOUNT \"),a.Vb())}function Ur(t,e){1&t&&(a.Wb(0,\"mat-error\",1),a.Jc(1,\" AMOUNT_LIMIT \"),a.Vb())}let jr=(()=>{class t{constructor(t,e,i){this.router=t,this.walletService=e,this.ngZone=i,this.balanceControl=new c.c(\"\",[c.x.required,c.x.min(10),c.x.max(1e3)])}ngOnInit(){this.walletService.get().subscribe(t=>{this.balance=parseFloat(t).toFixed(2)},t=>{console.log(t)})}continue(){sessionStorage.setItem(\"walletTotal\",this.balanceControl.value),this.ngZone.run(()=>this.router.navigate([\"/payment\",\"wallet\"]))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(Yo),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-wallet\"]],decls:25,vars:14,consts:[[1,\"mat-elevation-z6\"],[\"translate\",\"\"],[1,\"confirmation\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"type\",\"number\",\"matInput\",\"\",\"aria-label\",\"Enter an amount\",3,\"formControl\"],[\"translate\",\"\",4,\"ngIf\"],[\"type\",\"submit\",\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Button to continue to payment\",3,\"disabled\",\"click\"],[1,\"material-icons\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"h1\"),a.Wb(2,\"div\"),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Wb(5,\"h3\",1),a.Jc(6,\"LABEL_ADD_MONEY\"),a.Vb(),a.Wb(7,\"p\"),a.Wb(8,\"b\"),a.Wb(9,\"span\",1),a.Jc(10,\"LABEL_WALLET_BALANCE\"),a.Vb(),a.Wb(11,\"span\",2),a.Jc(12),a.Vb(),a.Vb(),a.Vb(),a.Wb(13,\"mat-form-field\",3),a.Wb(14,\"mat-label\"),a.Jc(15),a.jc(16,\"translate\"),a.Vb(),a.Rb(17,\"input\",4),a.Hc(18,Br,2,0,\"mat-error\",5),a.Hc(19,Ur,2,0,\"mat-error\",5),a.Vb(),a.Wb(20,\"button\",6),a.ec(\"click\",(function(){return e.continue()})),a.Wb(21,\"i\",7),a.Jc(22,\" send \"),a.Vb(),a.Jc(23),a.jc(24,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Kc(a.kc(4,8,\"DIGITAL_WALLET\")),a.Db(9),a.Lc(\" \",e.balance,\"\"),a.Db(3),a.Kc(a.kc(16,10,\"LABEL_AMOUNT\")),a.Db(2),a.oc(\"formControl\",e.balanceControl),a.Db(1),a.oc(\"ngIf\",e.balanceControl.invalid&&e.balanceControl.errors.required),a.Db(1),a.oc(\"ngIf\",e.balanceControl.invalid&&(e.balanceControl.errors.min||e.balanceControl.errors.max)),a.Db(1),a.oc(\"disabled\",e.balanceControl.invalid),a.Db(3),a.Lc(\" \",a.kc(24,12,\"LABEL_CONTINUE\"),\" \"))},directives:[f.a,g.a,At.b,At.f,c.s,Tt.b,c.b,c.n,c.d,P.l,v.a,At.a],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-left:30%;margin-right:30%}mat-form-field[_ngcontent-%COMP%]{padding-top:10px;width:100%}.form-container[_ngcontent-%COMP%]{min-width:350px}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:30px;width:60%}.heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}\"]}),t})();function Qr(t,e){1&t&&(a.Wb(0,\"div\",32),a.Jc(1,\"LABEL_IN_TRANSIT\"),a.Vb())}function zr(t,e){1&t&&(a.Wb(0,\"div\",33),a.Jc(1,\"LABEL_DELIVERED\"),a.Vb())}function Gr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",34),a.Jc(1,\"LABEL_PRODUCT\"),a.Vb())}function qr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",35),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.name,\" \")}}function Yr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_PRICE\"),a.Vb())}function Kr(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.price,\"\\xa4\")}}function Xr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_QUANTITY\"),a.Vb())}function $r(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",37),a.Wb(1,\"span\"),a.Jc(2),a.Vb(),a.Vb()),2&t){const t=e.$implicit;a.Db(2),a.Kc(t.quantity)}}function Zr(t,e){1&t&&(a.Wb(0,\"mat-header-cell\",36),a.Jc(1,\"LABEL_TOTAL_PRICE\"),a.Vb())}function tc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",38),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.total.toFixed(2),\"\\xa4\")}}function ec(t,e){1&t&&a.Rb(0,\"mat-header-cell\",36)}function ic(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",37),a.Wb(1,\"button\",18),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(3).showDetail(i.id)})),a.jc(2,\"translate\"),a.Wb(3,\"mat-icon\"),a.Jc(4,\" rate_review \"),a.Vb(),a.Vb(),a.Vb()}2&t&&(a.Db(1),a.pc(\"matTooltip\",a.kc(2,1,\"WRITE_REVIEW\")))}function ac(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function oc(t,e){1&t&&a.Rb(0,\"mat-row\")}function nc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"div\",7),a.Wb(2,\"div\",8),a.Wb(3,\"div\",9),a.Wb(4,\"div\",10),a.Wb(5,\"div\",11),a.Jc(6,\"LABEL_ORDER_ID\"),a.Vb(),a.Wb(7,\"div\"),a.Jc(8),a.Vb(),a.Vb(),a.Wb(9,\"div\",12),a.Wb(10,\"div\",11),a.Jc(11,\"LABEL_TOTAL_PRICE\"),a.Vb(),a.Wb(12,\"div\"),a.Jc(13),a.Vb(),a.Vb(),a.Wb(14,\"div\",12),a.Wb(15,\"div\",11),a.Jc(16,\"LABEL_BONUS\"),a.Vb(),a.Wb(17,\"div\"),a.Jc(18),a.Vb(),a.Vb(),a.Wb(19,\"div\",13),a.Hc(20,Qr,2,0,\"div\",14),a.Hc(21,zr,2,0,\"div\",15),a.Vb(),a.Wb(22,\"div\",16),a.Wb(23,\"button\",17),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).trackOrder(i.orderId)})),a.jc(24,\"translate\"),a.Wb(25,\"mat-icon\"),a.Jc(26,\" local_shipping \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(27,\"div\",16),a.Wb(28,\"button\",18),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic(2).openConfirmationPDF(i.orderId)})),a.jc(29,\"translate\"),a.Wb(30,\"mat-icon\"),a.Jc(31,\" note \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Wb(32,\"mat-table\",19),a.Ub(33,20),a.Hc(34,Gr,2,0,\"mat-header-cell\",21),a.Hc(35,qr,2,1,\"mat-cell\",22),a.Tb(),a.Ub(36,23),a.Hc(37,Yr,2,0,\"mat-header-cell\",24),a.Hc(38,Kr,2,1,\"mat-cell\",25),a.Tb(),a.Ub(39,26),a.Hc(40,Xr,2,0,\"mat-header-cell\",24),a.Hc(41,$r,3,1,\"mat-cell\",25),a.Tb(),a.Ub(42,27),a.Hc(43,Zr,2,0,\"mat-header-cell\",24),a.Hc(44,tc,2,1,\"mat-cell\",28),a.Tb(),a.Ub(45,29),a.Hc(46,ec,1,0,\"mat-header-cell\",24),a.Hc(47,ic,5,3,\"mat-cell\",25),a.Tb(),a.Hc(48,ac,1,0,\"mat-header-row\",30),a.Hc(49,oc,1,0,\"mat-row\",31),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic(2);a.Db(8),a.Lc(\"#\",t.orderId,\"\"),a.Db(5),a.Lc(\"\",t.totalPrice.toFixed(2),\"\\xa4\"),a.Db(5),a.Kc(t.bonus),a.Db(2),a.oc(\"ngIf\",!t.delivered),a.Db(1),a.oc(\"ngIf\",t.delivered),a.Db(2),a.pc(\"matTooltip\",a.kc(24,10,\"LABEL_TRACK_ORDER\")),a.Db(5),a.pc(\"matTooltip\",a.kc(29,12,\"PRINT_ORDER_CONFIRMATION\")),a.Db(4),a.oc(\"dataSource\",t.products),a.Db(16),a.oc(\"matHeaderRowDef\",i.tableColumns),a.Db(1),a.oc(\"matRowDefColumns\",i.tableColumns)}}function rc(t,e){if(1&t&&(a.Wb(0,\"div\",5),a.Hc(1,nc,50,14,\"div\",6),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngForOf\",t.orders)}}function cc(t,e){1&t&&(a.Wb(0,\"mat-card\",39),a.Rb(1,\"img\",40),a.Wb(2,\"mat-card-title\"),a.Wb(3,\"span\",41),a.Jc(4,\" NO_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Wb(5,\"mat-card-content\"),a.Wb(6,\"span\",41),a.Jc(7,\" NO_ORDERS_PLACED \"),a.Vb(),a.Vb(),a.Vb())}let sc=(()=>{class t{constructor(t,e,i,a,o,n){this.router=t,this.dialog=e,this.orderHistoryService=i,this.basketService=a,this.productService=o,this.ngZone=n,this.tableColumns=[\"product\",\"price\",\"quantity\",\"total price\",\"review\"],this.orders=[],this.emptyState=!0}ngOnInit(){this.orderHistoryService.get().subscribe(t=>{t=t.reverse(),this.emptyState=0===t.length;for(const e of t){const t=[];for(const i of e.products)t.push({id:i.id,name:i.name,price:i.price,quantity:i.quantity,total:i.total});this.orders.push({orderId:e.orderId,totalPrice:e.totalPrice,bonus:e.bonus,products:new T.o(t),delivered:e.delivered})}},t=>console.log(t))}showDetail(t){this.productService.get(t).subscribe(t=>{const e={id:t.id,name:t.name,description:t.description,image:t.image,price:t.price,points:Math.round(t.price/10)};this.dialog.open(Ue,{width:\"500px\",height:\"max-content\",data:{productData:e}})},t=>console.log(t))}openConfirmationPDF(t){window.open(this.basketService.hostServer+\"/ftp/order_\"+t+\".pdf\",\"_blank\")}trackOrder(t){this.ngZone.run(()=>this.router.navigate([\"/track-result\"],{queryParams:{id:t}}))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(Ae.b),a.Qb(Fn),a.Qb(x),a.Qb(je),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-order-history\"]],decls:8,vars:5,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",1,\"main-wrapper\"],[1,\"heading\",\"mat-elevation-z6\"],[1,\"heading-main\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\",4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[\"fxLayout\",\"column\",\"fxLayoutGap\",\"20px\"],[4,\"ngFor\",\"ngForOf\"],[1,\"mat-elevation-z6\",\"table-container\",\"custom-slate\"],[1,\"heading\"],[\"fxLayout\",\"row\"],[\"fxFlex\",\"40%\",\"fxLayout\",\"column\"],[\"translate\",\"\"],[\"fxFlex\",\"15%\",\"fxLayout\",\"column\"],[\"fxFlex\",\"20%\"],[\"class\",\"error\",\"translate\",\"\",4,\"ngIf\"],[\"class\",\"confirmation\",\"translate\",\"\",4,\"ngIf\"],[\"fxFlex\",\"5%\",\"fxLayoutAlign\",\"end\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Track Your Order\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Print order confirmation\",\"matTooltipPosition\",\"below\",3,\"matTooltip\",\"click\"],[3,\"dataSource\"],[\"matColumnDef\",\"product\"],[\"translate\",\"\",\"fxFlex\",\"40%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"40%\",4,\"matCellDef\"],[\"matColumnDef\",\"price\"],[\"translate\",\"\",\"fxFlex\",\"15%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"quantity\"],[\"matColumnDef\",\"total price\"],[\"class\",\"price-align\",\"fxFlex\",\"15%\",4,\"matCellDef\"],[\"matColumnDef\",\"review\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[\"translate\",\"\",1,\"error\"],[\"translate\",\"\",1,\"confirmation\"],[\"translate\",\"\",\"fxFlex\",\"40%\"],[\"fxFlex\",\"40%\"],[\"translate\",\"\",\"fxFlex\",\"15%\"],[\"fxFlex\",\"15%\"],[\"fxFlex\",\"15%\",1,\"price-align\"],[1,\"mat-elevation-z6\",\"emptyState\"],[\"alt\",\" No results found\",\"src\",\"assets/public/images/products/no-results.png\",1,\"img-responsive\",\"noResult\"],[\"translate\",\"\",1,\"noResultText\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"div\",1),a.Wb(2,\"div\",2),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb(),a.Hc(5,rc,2,1,\"div\",3),a.Hc(6,cc,8,0,\"ng-template\",null,4,a.Ic),a.Vb()),2&t){const t=a.wc(7);a.Db(3),a.Kc(a.kc(4,3,\"LABEL_ORDER_HISTORY\")),a.Db(2),a.oc(\"ngIf\",!e.emptyState)(\"ngIfElse\",t)}},directives:[h.d,h.e,P.l,P.k,h.b,g.a,h.c,v.a,we.a,Ce.a,T.n,T.c,T.i,T.b,T.k,T.m,T.h,T.a,T.j,T.l,f.a,f.f,f.b],pipes:[g.d],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);padding:12px 20px}.heading-main[_ngcontent-%COMP%]{font-size:x-large}.heading-main[_ngcontent-%COMP%], .heading-text[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.heading-text[_ngcontent-%COMP%]{padding:12px 20px}mat-card[_ngcontent-%COMP%]{height:auto}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}mat-cell[_ngcontent-%COMP%], mat-footer-cell[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.price-align[_ngcontent-%COMP%]{text-align:right}.emptyState[_ngcontent-%COMP%]{display:block;height:auto!important;margin:20px auto;width:50%}.noResult[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:60%}.noResultText[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center}\"]}),t})();function lc(t,e){if(1&t&&(a.Wb(0,\"div\",22),a.Wb(1,\"h1\",4),a.Jc(2,\"LABEL_DELIVERY_ADDRESS\"),a.Vb(),a.Wb(3,\"div\"),a.Jc(4),a.Vb(),a.Wb(5,\"div\"),a.Jc(6),a.Vb(),a.Wb(7,\"div\"),a.Jc(8),a.Vb(),a.Wb(9,\"div\"),a.Wb(10,\"span\",4),a.Jc(11,\"PHONE_NUMBER\"),a.Vb(),a.Jc(12),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(4),a.Kc(null==t.address?null:t.address.fullName),a.Db(2),a.Nc(\"\",null==t.address?null:t.address.streetAddress,\", \",null==t.address?null:t.address.city,\", \",null==t.address?null:t.address.state,\", \",null==t.address?null:t.address.zipCode,\"\"),a.Db(2),a.Kc(null==t.address?null:t.address.country),a.Db(4),a.Lc(\" \",null==t.address?null:t.address.mobileNum,\"\")}}function bc(t,e){1&t&&a.Rb(0,\"mat-divider\",23)}function uc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",24)}function dc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-cell\",24),a.Wb(1,\"mat-radio-button\",25),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().selectMethod(i.id)})),a.Vb(),a.Vb()}}function mc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",26)}function pc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",26),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Kc(t.name)}}function hc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",27)}function fc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",28),a.Jc(1),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Lc(\"\",t.price.toFixed(2),\"\\xa4\")}}function gc(t,e){1&t&&a.Rb(0,\"mat-header-cell\",29)}function vc(t,e){if(1&t&&(a.Wb(0,\"mat-cell\",28),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t){const t=e.$implicit;a.Db(1),a.Mc(\"\",t.eta,\" \",a.kc(2,2,\"LABEL_DAYS\"),\"\")}}function Cc(t,e){1&t&&a.Rb(0,\"mat-header-row\")}function wc(t,e){1&t&&a.Rb(0,\"mat-row\")}let yc=(()=>{class t{constructor(t,e,i,a,o){this.location=t,this.deliverySerivce=e,this.addressService=i,this.router=a,this.ngZone=o,this.displayedColumns=[\"Selection\",\"Name\",\"Price\",\"ETA\"],this.deliveryMethodId=void 0}ngOnInit(){this.addressService.getById(sessionStorage.getItem(\"addressId\")).subscribe(t=>{this.address=t},t=>console.log(t)),this.deliverySerivce.get().subscribe(t=>{this.methods=t,this.dataSource=new T.o(this.methods)},t=>console.log(t))}selectMethod(t){this.deliveryMethodId=t}routeToPreviousUrl(){this.location.back()}chooseDeliveryMethod(){sessionStorage.setItem(\"deliveryMethodId\",this.deliveryMethodId.toString()),this.ngZone.run(()=>this.router.navigate([\"/payment\",\"shop\"]))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.g),a.Qb(Ko),a.Qb(na),a.Qb(S.b),a.Qb(a.A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-delivery-method\"]],decls:33,vars:9,consts:[[1,\"mat-elevation-z6\"],[\"class\",\"addressCont\",4,\"ngIf\"],[\"class\",\"detail-divider\",4,\"ngIf\"],[2,\"height\",\"12px\"],[\"translate\",\"\"],[3,\"dataSource\"],[\"matColumnDef\",\"Selection\"],[\"fxFlex\",\"20%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"20%\",4,\"matCellDef\"],[\"matColumnDef\",\"Name\"],[\"fxFlex\",\"30%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"30%\",4,\"matCellDef\"],[\"matColumnDef\",\"Price\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\",4,\"matHeaderCellDef\"],[\"fxFlex\",\"25%\",4,\"matCellDef\"],[\"matColumnDef\",\"ETA\"],[\"translate\",\"LABEL_EXPECTED_DELIVERY\",\"fxFlex\",\"25%\",4,\"matHeaderCellDef\"],[4,\"matHeaderRowDef\"],[4,\"matRowDef\",\"matRowDefColumns\"],[2,\"margin-top\",\"20px\"],[\"mat-stroked-button\",\"\",1,\"btn\",\"btn-return\",3,\"click\"],[\"mat-raised-button\",\"\",\"mat-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Proceed to delivery method selection\",1,\"btn\",\"nextButton\",3,\"disabled\",\"click\"],[1,\"addressCont\"],[1,\"detail-divider\"],[\"fxFlex\",\"20%\"],[3,\"click\"],[\"fxFlex\",\"30%\"],[\"translate\",\"LABEL_PRICE\",\"fxFlex\",\"25%\"],[\"fxFlex\",\"25%\"],[\"translate\",\"LABEL_EXPECTED_DELIVERY\",\"fxFlex\",\"25%\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-card\",0),a.Hc(1,lc,13,7,\"div\",1),a.Hc(2,bc,1,0,\"mat-divider\",2),a.Rb(3,\"div\",3),a.Wb(4,\"div\"),a.Wb(5,\"h1\",4),a.Jc(6,\"LABEL_CHOOSE_A_DELIVERY_SPEED\"),a.Vb(),a.Wb(7,\"mat-table\",5),a.Ub(8,6),a.Hc(9,uc,1,0,\"mat-header-cell\",7),a.Hc(10,dc,2,0,\"mat-cell\",8),a.Tb(),a.Ub(11,9),a.Hc(12,mc,1,0,\"mat-header-cell\",10),a.Hc(13,pc,2,1,\"mat-cell\",11),a.Tb(),a.Ub(14,12),a.Hc(15,hc,1,0,\"mat-header-cell\",13),a.Hc(16,fc,2,1,\"mat-cell\",14),a.Tb(),a.Ub(17,15),a.Hc(18,gc,1,0,\"mat-header-cell\",16),a.Hc(19,vc,3,4,\"mat-cell\",14),a.Tb(),a.Hc(20,Cc,1,0,\"mat-header-row\",17),a.Hc(21,wc,1,0,\"mat-row\",18),a.Vb(),a.Vb(),a.Wb(22,\"div\",19),a.Wb(23,\"button\",20),a.ec(\"click\",(function(){return e.routeToPreviousUrl()})),a.Wb(24,\"mat-icon\"),a.Jc(25,\" navigate_before \"),a.Vb(),a.Jc(26),a.jc(27,\"translate\"),a.Vb(),a.Wb(28,\"button\",21),a.ec(\"click\",(function(){return e.chooseDeliveryMethod()})),a.Wb(29,\"mat-icon\"),a.Jc(30,\" navigate_next \"),a.Vb(),a.Wb(31,\"span\",4),a.Jc(32,\"LABEL_CONTINUE\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(1),a.oc(\"ngIf\",e.address),a.Db(1),a.oc(\"ngIf\",e.address),a.Db(5),a.oc(\"dataSource\",e.dataSource),a.Db(13),a.oc(\"matHeaderRowDef\",e.displayedColumns),a.Db(1),a.oc(\"matRowDefColumns\",e.displayedColumns),a.Db(5),a.Lc(\" \",a.kc(27,7,\"LABEL_BACK\"),\" \"),a.Db(2),a.oc(\"disabled\",void 0===e.deliveryMethodId))},directives:[f.a,P.l,g.a,T.n,T.c,T.i,T.b,T.k,T.m,v.a,Ce.a,Re.a,T.h,h.b,T.a,ra.a,T.j,T.l],pipes:[g.d],styles:[\"mat-card[_ngcontent-%COMP%]{display:block;margin-left:20%;margin-right:20%}.addressCont[_ngcontent-%COMP%]{margin-bottom:12px}.detail-divider[_ngcontent-%COMP%]{border-top-width:4px!important;margin-left:1%!important;width:98%!important}.btn-return[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;display:block}.nextButton[_ngcontent-%COMP%]{margin-right:0;margin-left:auto;display:block;margin-top:-37px}\"]}),t})();var Dc=i(\"LRne\"),Sc=i(\"HDdC\");const Wc=t=>{if(\"string\"==typeof t.value)return Object(Dc.a)(null);const e=t.value,i=new FileReader;return new Sc.a(t=>{i.addEventListener(\"loadend\",()=>{const e=new Uint8Array(i.result).subarray(0,4);let a=\"\",o=!1;for(let t=0;t<e.length;t++)a+=e[t].toString(16);switch(a){case\"89504e47\":o=!0;break;case\"ffd8ffe0\":case\"ffd8ffe1\":case\"ffd8ffe2\":case\"ffd8ffe3\":case\"ffd8ffe8\":o=!0;break;default:o=!1}t.next(o?null:{invalidMimeType:!0}),t.complete()}),i.readAsArrayBuffer(e)})};let xc=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/memories\"}addMemory(t,e){const i=new FormData;return i.append(\"image\",e,t),i.append(\"caption\",t),this.http.post(this.host,i).pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}get(){return this.http.get(this.host+\"/\").pipe(Object(s.a)(t=>t.data),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function Vc(t,e){if(1&t&&(a.Wb(0,\"a\",10),a.Wb(1,\"button\",11),a.Rb(2,\"i\",12),a.Vb(),a.Vb()),2&t){const t=a.ic().$implicit,e=a.ic(2);a.rc(\"href\",\"https://twitter.com/intent/tweet?text=\",t.caption,\" \",e.twitterHandle,\"&hashtags=appsec\",a.Cc)}}function Ic(t,e){if(1&t&&(a.Wb(0,\"span\",6),a.Rb(1,\"img\",7),a.Wb(2,\"div\",8),a.Wb(3,\"div\"),a.Jc(4),a.Vb(),a.Hc(5,Vc,3,2,\"a\",9),a.Vb(),a.Vb()),2&t){const t=e.$implicit,i=a.ic(2);a.Db(1),a.pc(\"src\",t.url,a.Cc),a.pc(\"alt\",t.caption),a.Db(3),a.Kc(t.caption),a.Db(1),a.oc(\"ngIf\",i.twitterHandle)}}function _c(t,e){if(1&t&&(a.Wb(0,\"div\",4),a.Hc(1,Ic,6,4,\"span\",5),a.Vb()),2&t){const t=a.ic();a.Db(1),a.oc(\"ngForOf\",t.slideshowDataSource)}}function kc(t,e){1&t&&(a.Wb(0,\"mat-card\",13),a.Rb(1,\"img\",14),a.Wb(2,\"mat-card-title\"),a.Wb(3,\"span\",15),a.Jc(4,\" NO_SEARCH_RESULT \"),a.Vb(),a.Vb(),a.Wb(5,\"mat-card-content\"),a.Wb(6,\"span\",15),a.Jc(7,\" EMPTY_MEMORY_LIST \"),a.Vb(),a.Vb(),a.Vb())}function Oc(t,e){if(1&t&&(a.Wb(0,\"div\",28),a.Rb(1,\"img\",29),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.oc(\"src\",t.imagePreview,a.Cc)(\"alt\",t.form.value.caption)}}function Lc(t,e){1&t&&(a.Wb(0,\"mat-error\",17),a.Jc(1),a.jc(2,\"translate\"),a.Vb()),2&t&&(a.Db(1),a.Kc(a.kc(2,1,\"MANDATORY_CAPTION\")))}function Ac(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"div\",16),a.Wb(2,\"h2\",17),a.Jc(3,\"LABEL_SHARE_A_MEMORY\"),a.Vb(),a.Wb(4,\"form\",18),a.Wb(5,\"div\"),a.Wb(6,\"button\",19),a.ec(\"click\",(function(){return a.zc(t),a.wc(10).click()})),a.Jc(7),a.jc(8,\"translate\"),a.Vb(),a.Wb(9,\"input\",20,21),a.ec(\"change\",(function(e){return a.zc(t),a.ic().onImagePicked(e)})),a.Vb(),a.Vb(),a.Hc(11,Oc,2,2,\"div\",22),a.Wb(12,\"mat-form-field\",23),a.Wb(13,\"mat-label\",17),a.Jc(14,\"LABEL_CAPTION\"),a.Vb(),a.Rb(15,\"input\",24),a.Hc(16,Lc,3,3,\"mat-error\",25),a.Vb(),a.Wb(17,\"button\",26),a.ec(\"click\",(function(){return a.zc(t),a.ic().save()})),a.Wb(18,\"i\",27),a.Jc(19,\" send \"),a.Vb(),a.Jc(20),a.jc(21,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.oc(\"formGroup\",t.form),a.Db(3),a.Lc(\"\",a.kc(8,6,\"LABEL_PICK_IMAGE\"),\" \"),a.Db(4),a.oc(\"ngIf\",\"\"!==t.imagePreview&&t.imagePreview&&t.form.get(\"image\").valid),a.Db(5),a.oc(\"ngIf\",t.form.get(\"caption\").invalid),a.Db(1),a.oc(\"disabled\",t.form.get(\"image\").invalid||t.form.get(\"caption\").invalid),a.Db(3),a.Lc(\" \",a.kc(21,8,\"BTN_SUBMIT\"),\" \")}}u.b.add(d.k),u.a.watch();let Tc=(()=>{class t{constructor(t,e,i){this.photoWallService=t,this.configurationService=e,this.snackBarHelperService=i,this.emptyState=!0,this.form=new c.f({image:new c.c(\"\",{validators:[c.x.required],asyncValidators:[Wc]}),caption:new c.c(\"\",[c.x.required])}),this.slideshowDataSource=[],this.twitterHandle=null}ngOnInit(){this.slideshowDataSource=[],this.photoWallService.get().subscribe(t=>{this.emptyState=0===t.length;for(const e of t)this.slideshowDataSource.push({url:e.imagePath,caption:e.caption})},t=>console.log(t)),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.social&&t.application.social.twitterUrl&&(this.twitterHandle=t.application.social.twitterUrl.replace(\"https://twitter.com/\",\"@\"))},t=>console.log(t))}onImagePicked(t){const e=t.target.files[0];this.form.patchValue({image:e}),this.form.get(\"image\").updateValueAndValidity();const i=new FileReader;i.onload=()=>{this.imagePreview=i.result},i.readAsDataURL(e)}save(){this.photoWallService.addMemory(this.form.value.caption,this.form.value.image).subscribe(()=>{this.resetForm(),this.ngOnInit(),this.snackBarHelperService.open(\"IMAGE_UPLOAD_SUCCESS\",\"confirmBar\")},t=>{var e;this.snackBarHelperService.open(null===(e=t.error)||void 0===e?void 0:e.error,\"errorBar\"),console.log(t)})}isLoggedIn(){return localStorage.getItem(\"token\")}resetForm(){this.form.get(\"image\").setValue(\"\"),this.form.get(\"image\").markAsPristine(),this.form.get(\"image\").markAsUntouched(),this.form.get(\"caption\").setValue(\"\"),this.form.get(\"caption\").markAsPristine(),this.form.get(\"caption\").markAsUntouched(),this.form.get(\"caption\").setErrors(null)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(xc),a.Qb(b),a.Qb(A))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-photo-wall\"]],decls:9,vars:6,consts:[[1,\"heading\",\"mat-elevation-z6\",\"mat-own-card\",2,\"margin-bottom\",\"10px\"],[\"class\",\"grid\",4,\"ngIf\",\"ngIfElse\"],[\"emptyResult\",\"\"],[4,\"ngIf\"],[1,\"grid\"],[\"class\",\"container mat-elevation-z6\",4,\"ngFor\",\"ngForOf\"],[1,\"container\",\"mat-elevation-z6\"],[1,\"image\",3,\"src\",\"alt\"],[1,\"overlay\"],[\"target\",\"_blank\",3,\"href\",4,\"ngIf\"],[\"target\",\"_blank\",3,\"href\"],[\"mat-icon-button\",\"\",\"aria-label\",\"Tweet\"],[1,\"fab\",\"fa-twitter\",\"fa-lg\"],[1,\"mat-elevation-z0\",\"emptyState\"],[\"alt\",\" No results found\",\"src\",\"assets/public/images/products/no-results.png\",1,\"img-responsive\",\"noResult\"],[\"translate\",\"\",1,\"noResultText\"],[2,\"margin-top\",\"10px\"],[\"translate\",\"\"],[\"enctype\",\"multipart/form-data\",3,\"formGroup\"],[\"mat-stroked-button\",\"\",\"type\",\"button\",3,\"click\"],[\"type\",\"file\",\"name\",\"file\",3,\"change\"],[\"filePicker\",\"\"],[\"class\",\"image-preview\",4,\"ngIf\"],[\"appearance\",\"outline\",\"color\",\"accent\"],[\"formControlName\",\"caption\",\"type\",\"text\",\"matInput\",\"\"],[\"translate\",\"\",4,\"ngIf\"],[\"id\",\"submitButton\",\"mat-raised-button\",\"\",\"color\",\"primary\",3,\"disabled\",\"click\"],[1,\"material-icons\"],[1,\"image-preview\"],[3,\"src\",\"alt\"]],template:function(t,e){if(1&t&&(a.Wb(0,\"mat-card\",0),a.Wb(1,\"h1\"),a.Jc(2),a.jc(3,\"translate\"),a.Vb(),a.Wb(4,\"div\"),a.Hc(5,_c,2,1,\"div\",1),a.Vb(),a.Hc(6,kc,8,0,\"ng-template\",null,2,a.Ic),a.Hc(8,Ac,22,10,\"div\",3),a.Vb()),2&t){const t=a.wc(7);a.Db(2),a.Kc(a.kc(3,4,\"LABEL_PHOTO_WALL\")),a.Db(3),a.oc(\"ngIf\",!e.emptyState)(\"ngIfElse\",t),a.Db(3),a.oc(\"ngIf\",e.isLoggedIn())}},directives:[f.a,P.l,P.k,v.a,f.f,g.a,f.b,c.z,c.o,c.g,At.b,At.f,c.b,Tt.b,c.n,c.e,At.a],pipes:[g.d],styles:[\"mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-own-card[_ngcontent-%COMP%]{display:block;margin-left:10%;margin-right:10%}#submitButton[_ngcontent-%COMP%]{margin-left:20%;margin-top:10px;width:60%}input[type=file][_ngcontent-%COMP%]{visibility:hidden}.image-preview[_ngcontent-%COMP%]{height:5rem;margin:1rem 0}.image-preview[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%}.heading-main[_ngcontent-%COMP%]{font-size:x-large;-webkit-box-pack:center;justify-content:center}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}.grid[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:grid;grid-gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.grid[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:4px;box-shadow:2px 2px 6px 0 rgba(0,0,0,.3);max-width:100%}.container[_ngcontent-%COMP%]{position:relative}.image[_ngcontent-%COMP%]{display:block}.overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.5);bottom:0;font-size:20px;left:0;opacity:0;padding:20px;position:absolute;right:0;text-align:center;-webkit-transition:.5s ease;transition:.5s ease}.container[_ngcontent-%COMP%]:hover   .overlay[_ngcontent-%COMP%]{opacity:1}.emptyState[_ngcontent-%COMP%]{display:block;height:auto!important;margin:20px auto;width:50%}.noResult[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:60%}.noResultText[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center}.tweet-logo[_ngcontent-%COMP%]{height:24px}\"]}),t})();function Pc(t,e){if(1&t&&(a.Wb(0,\"div\",22),a.Wb(1,\"div\",23),a.Wb(2,\"p\",24),a.Jc(3),a.Vb(),a.Vb(),a.Vb()),2&t){const t=a.ic();a.Db(3),a.Kc(t.error)}}function Ec(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\"),a.Wb(1,\"div\",14),a.Jc(2),a.Vb(),a.Wb(3,\"div\",14),a.Wb(4,\"button\",25),a.ec(\"click\",(function(){return a.zc(t),a.ic().upgradeToDeluxe()})),a.Wb(5,\"span\",13),a.Jc(6,\"LABEL_BECOME_MEMBER\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(2),a.Lc(\" \",t.membershipCost,\"\\xa4 \")}}const Rc=function(t){return{appname:t}},Mc=[{path:\"administration\",component:Ni,canActivate:[_]},{path:\"accounting\",component:hr,canActivate:[k]},{path:\"about\",component:te},{path:\"address/select\",component:zo,canActivate:[I]},{path:\"address/saved\",component:Go,canActivate:[I]},{path:\"address/create\",component:Qo,canActivate:[I]},{path:\"address/edit/:addressId\",component:Qo,canActivate:[I]},{path:\"delivery-method\",component:yc},{path:\"deluxe-membership\",component:(()=>{class t{constructor(t,e,i,a,o,n,r){this.router=t,this.userService=e,this.cookieService=i,this.configurationService=a,this.route=o,this.ngZone=n,this.io=r,this.membershipCost=0,this.error=void 0,this.applicationName=\"OWASP Juice Shop\",this.logoSrc=\"assets/public/images/JuiceShop_Logo.png\"}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{let e=this.route.snapshot.queryParams.testDecal;if(t&&t.application&&(t.application.name&&(this.applicationName=t.application.name),t.application.logo)){let i=t.application.logo;\"http\"===i.substring(0,4)&&(i=decodeURIComponent(i.substring(i.lastIndexOf(\"/\")+1))),this.logoSrc=\"assets/public/images/\"+(e||i)}e&&this.ngZone.runOutsideAngular(()=>{this.io.socket().emit(\"verifySvgInjectionChallenge\",e)})},t=>console.log(t)),this.userService.deluxeStatus().subscribe(t=>{this.membershipCost=t.membershipCost},t=>{this.error=t.error.error})}upgradeToDeluxe(){this.ngZone.run(()=>this.router.navigate([\"/payment\",\"deluxe\"]))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(S.b),a.Qb(D),a.Qb(r.b),a.Qb(b),a.Qb(S.a),a.Qb(a.A),a.Qb(qe))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-deluxe-user\"]],decls:50,vars:10,consts:[[\"fxLayout\",\"column\",\"fxLayoutGap\",\"10px\",1,\"main-wrapper\"],[\"class\",\"heading mat-elevation-z6\",4,\"ngIf\"],[1,\"mat-elevation-z6\",\"deluxe-membership\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"30%\",1,\"img-container\"],[\"viewBox\",\"0 0 720 720\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"href\",\"assets/public/images/deluxe/blankBoxes.png\",\"x\",\"0\",\"y\",\"0\",\"height\",\"720\",\"width\",\"720\"],[\"x\",\"260\",\"y\",\"130\",\"height\",\"50\"],[\"x\",\"230\",\"y\",\"330\",\"height\",\"70\"],[\"x\",\"70\",\"y\",\"355\",\"height\",\"40\"],[\"x\",\"120\",\"y\",\"450\",\"height\",\"55\"],[\"x\",\"500\",\"y\",\"410\",\"height\",\"45\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"60%\"],[1,\"item-name\"],[\"translate\",\"\"],[1,\"item-description\"],[\"translate\",\"\",3,\"translateParams\"],[4,\"ngIf\"],[\"fxLayout\",\"row\",\"fxLayoutGap\",\"10px\",\"fxLayout.lt-md\",\"column\"],[\"fxFlex\",\"33.33%\",1,\"mat-elevation-z6\"],[\"fxFlexAlign\",\"center\",\"fxFlex\",\"40%\",1,\"img-container\"],[1,\"img-responsive\",\"img-thumbnail\",2,\"font-size\",\"100px\"],[\"translate\",\"\",1,\"item-description\"],[1,\"heading\",\"mat-elevation-z6\"],[2,\"margin-top\",\"5px\"],[1,\"error\"],[\"aria-label\",\"Add to Basket\",\"color\",\"primary\",\"mat-button\",\"\",\"mat-raised-button\",\"\",1,\"btn-member\",3,\"click\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Hc(1,Pc,4,1,\"div\",1),a.Wb(2,\"mat-card\",2),a.Wb(3,\"div\",3),a.hc(),a.Wb(4,\"svg\",4),a.Rb(5,\"image\",5),a.Rb(6,\"image\",6),a.Rb(7,\"image\",7),a.Rb(8,\"image\",8),a.Rb(9,\"image\",9),a.Rb(10,\"image\",10),a.Vb(),a.Vb(),a.gc(),a.Wb(11,\"div\",11),a.Wb(12,\"div\",12),a.Wb(13,\"b\",13),a.Jc(14,\"LABEL_DELUXE_MEMBERSHIP\"),a.Vb(),a.Vb(),a.Wb(15,\"div\",14),a.Wb(16,\"span\",15),a.Jc(17,\"DESCRIPTION_DELUXE_MEMBERSHIP\"),a.Vb(),a.Vb(),a.Hc(18,Ec,7,1,\"div\",16),a.Vb(),a.Vb(),a.Wb(19,\"div\",17),a.Wb(20,\"mat-card\",18),a.Wb(21,\"div\",19),a.Wb(22,\"mat-icon\",20),a.Jc(23,\" slideshow \"),a.Vb(),a.Vb(),a.Wb(24,\"div\",11),a.Wb(25,\"div\",12),a.Wb(26,\"b\",13),a.Jc(27,\"LABEL_DEALS_OFFERS\"),a.Vb(),a.Vb(),a.Wb(28,\"div\",21),a.Jc(29,\" DESCRIPTION_DEALS_OFFERS \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(30,\"mat-card\",18),a.Wb(31,\"div\",19),a.Wb(32,\"mat-icon\",20),a.Jc(33,\" directions_car \"),a.Vb(),a.Vb(),a.Wb(34,\"div\",11),a.Wb(35,\"div\",12),a.Wb(36,\"b\",13),a.Jc(37,\"LABEL_FREE_FAST_DELIVERY\"),a.Vb(),a.Vb(),a.Wb(38,\"div\",21),a.Jc(39,\" DESCRIPTION_FREE_FAST_DELIVERY \"),a.Vb(),a.Vb(),a.Vb(),a.Wb(40,\"mat-card\",18),a.Wb(41,\"div\",19),a.Wb(42,\"mat-icon\",20),a.Jc(43,\" add \"),a.Vb(),a.Vb(),a.Wb(44,\"div\",11),a.Wb(45,\"div\",12),a.Wb(46,\"b\",13),a.Jc(47,\"LABEL_UNLIMITED_PURCHASE\"),a.Vb(),a.Vb(),a.Wb(48,\"div\",21),a.Jc(49,\" DESCRIPTION_UNLIMITED_PURCHASE \"),a.Vb(),a.Vb(),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(1),a.oc(\"ngIf\",e.error),a.Db(5),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(1),a.Eb(\"href\",e.logoSrc),a.Db(6),a.oc(\"translateParams\",a.tc(8,Rc,e.applicationName)),a.Db(2),a.oc(\"ngIf\",!e.error))},directives:[h.d,h.e,P.l,f.a,h.a,h.b,g.a,Ce.a,v.a],styles:[\".heading[_ngcontent-%COMP%]{background:rgba(0,0,0,.2);font-size:x-large;-webkit-box-pack:center;justify-content:center;padding:12px 20px}.main-wrapper[_ngcontent-%COMP%]{margin-left:10%;margin-right:10%}.img-thumbnail[_ngcontent-%COMP%]{background:none;border:0;width:100%}.btn-member[_ngcontent-%COMP%]{bottom:10%}.item-description[_ngcontent-%COMP%]{font-size:medium;margin-top:12px;text-align:center}.item-name[_ngcontent-%COMP%]{font-size:large;text-align:center}\"]}),t})(),canActivate:[I]},{path:\"saved-payment-methods\",component:Nn},{path:\"basket\",component:rt},{path:\"order-completion/:id\",component:Rr},{path:\"contact\",component:Ht},{path:\"photo-wall\",component:Tc},{path:\"complain\",component:aa},{path:\"order-summary\",component:Fr},{path:\"order-history\",component:sc},{path:\"payment/:entity\",component:Hn},{path:\"wallet\",component:jr},{path:\"login\",component:Ci},{path:\"forgot-password\",component:Le},{path:\"recycle\",component:Ra},{path:\"register\",component:ve},{path:\"search\",component:li},{path:\"score-board\",component:ho},{path:\"track-result\",component:_t},{path:\"track-result/new\",component:_t,data:{type:\"new\"}},{path:\"2fa/enter\",component:vo},{path:\"privacy-security\",component:Do,children:[{path:\"privacy-policy\",component:Eo},{path:\"change-password\",component:Gi},{path:\"two-factor-authentication\",component:Vo},{path:\"data-export\",component:To},{path:\"erasure-request\",component:zt},{path:\"last-login-ip\",component:Po}]},{matcher:function(t){return 0===t.length?null:window.location.href.includes(\"#access_token=\")?{consumed:t}:null},data:{params:window.location.href.substr(window.location.href.indexOf(\"#\"))},component:W},{matcher:function(t){return 0===t.length?null:t[0].toString().match(function(...t){let e=Array.prototype.slice.call([25,184,174,179,182,186]),i=e.shift();return e.reverse().map((function(t,e){return String.fromCharCode(t-i-45-e)})).join(\"\")}()+36669..toString(36).toLowerCase()+function(...t){let e=Array.prototype.slice.call(arguments),i=e.shift();return e.reverse().map((function(t,e){return String.fromCharCode(t-i-24-e)})).join(\"\")}(13,144,87,152,139,144,83,138)+10..toString(36).toLowerCase())?{consumed:t}:null},component:w},{path:\"403\",component:Co},{path:\"**\",component:li}],Jc=S.e.forRoot(Mc,{useHash:!0});var Hc=i(\"mqiu\"),Nc=i(\"Dvla\");let Fc=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\",this.host=this.hostServer+\"/rest/admin\"}getApplicationVersion(){return this.http.get(this.host+\"/application-version\").pipe(Object(s.a)(t=>t.version),Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var Bc=i(\"/t3+\"),Uc=i(\"MutI\");function jc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",34),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" exit_to_app \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGIN\"),\" \"))}function Qc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",35),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.onToggleSidenav(),e.goToProfilePage()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_circle \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",t.userEmail,\" \")}}function zc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",36),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"ACCOUNTING\"),\" \"))}const Gc=function(t){return{rotated:t}};function qc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-list-item\",37),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" check_circle_outline \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"mat-icon\",38),a.Jc(7,\" expand_more \"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",a.kc(5,2,\"ORDERS_AND_PAYMENT\"),\" \"),a.Db(2),a.oc(\"ngClass\",a.tc(4,Gc,t.showOrdersSubmenu))}}function Yc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",45),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" archive \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"LABEL_ORDER_HISTORY\"),\" \"))}function Kc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",46),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" autorenew \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"NAV_RECYCLE\"),\" \"))}function Xc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",47),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" my_location \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_SAVED_ADRESSES\"),\" \"))}function $c(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",48),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" credit_card \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_PAYMENT_OPTIONS\"),\" \"))}function Zc(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",49),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showOrdersSubmenu=!e.showOrdersSubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance_wallet \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"DIGITAL_WALLET\"),\" \"))}const ts=function(t){return{expanded:t}};function es(t,e){if(1&t&&(a.Wb(0,\"div\",39),a.Hc(1,Yc,6,3,\"a\",40),a.Hc(2,Kc,6,3,\"a\",41),a.Rb(3,\"mat-divider\"),a.Hc(4,Xc,6,3,\"a\",42),a.Hc(5,$c,6,3,\"a\",43),a.Hc(6,Zc,6,3,\"a\",44),a.Vb()),2&t){const t=a.ic();a.oc(\"ngClass\",a.tc(6,ts,t.showOrdersSubmenu)),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(2),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn())}}function is(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-list-item\",50),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" security \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Wb(6,\"mat-icon\",38),a.Jc(7,\" expand_more \"),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",a.kc(5,2,\"PRIVACY_AND_SECURITY\"),\" \"),a.Db(2),a.oc(\"ngClass\",a.tc(4,Gc,t.showPrivacySubmenu))}}function as(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",57),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" assignment \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_PRIVACY_POLICY\"),a.Vb(),a.Vb()}}function os(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",59),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" get_app \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_REQUEST_DATA_EXPORT\"),a.Vb(),a.Vb()}}function ns(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",60),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" delete_forever \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"DATA_SUBJECT_TITLE\"),a.Vb(),a.Vb()}}function rs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",61),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" edit \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_CHANGE_PASSWORD\"),a.Vb(),a.Vb()}}function cs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",62),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" exposure_plus_2 \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"TITLE_TWO_FACTOR_AUTH_CONFIG\"),a.Vb(),a.Vb()}}function ss(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",63),a.ec(\"click\",(function(){a.zc(t);const e=a.ic(2);return e.onToggleSidenav(),e.showPrivacySubmenu=!e.showPrivacySubmenu})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" place \"),a.Vb(),a.Wb(3,\"span\",58),a.Jc(4,\"LAST_LOGIN_IP\"),a.Vb(),a.Vb()}}function ls(t,e){if(1&t&&(a.Wb(0,\"div\",39),a.Hc(1,as,5,0,\"a\",51),a.Hc(2,os,5,0,\"a\",52),a.Hc(3,ns,5,0,\"a\",53),a.Rb(4,\"mat-divider\"),a.Hc(5,rs,5,0,\"a\",54),a.Hc(6,cs,5,0,\"a\",55),a.Hc(7,ss,5,0,\"a\",56),a.Vb()),2&t){const t=a.ic();a.oc(\"ngClass\",a.tc(7,ts,t.showPrivacySubmenu)),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(2),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",t.isLoggedIn())}}function bs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",64),a.ec(\"click\",(function(){a.zc(t);const e=a.ic();return e.onToggleSidenav(),e.logout()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" power_settings_new \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGOUT\"),\" \"))}function us(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",65),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"i\",13),a.Jc(2,\" sentiment_dissatisfied \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"NAV_COMPLAIN\"),\" \"))}function ds(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",66),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Wb(1,\"i\",13),a.Jc(2,\" card_membership \"),a.Vb(),a.Wb(3,\"span\",14),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"LABEL_DELUXE_MEMBERSHIP\"),\" \"))}function ms(t,e){1&t&&a.Rb(0,\"mat-divider\",67)}function ps(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"a\",68),a.ec(\"click\",(function(){return a.zc(t),a.ic().onToggleSidenav()})),a.Rb(1,\"mat-icon\",69),a.Wb(2,\"span\",14),a.Jc(3),a.jc(4,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(3),a.Lc(\" \",a.kc(4,1,\"TITLE_SCORE_BOARD\"),\" \"))}function hs(t,e){1&t&&(a.Wb(0,\"a\",70),a.Rb(1,\"mat-icon\",71),a.Wb(2,\"span\",14),a.Jc(3,\" GitHub \"),a.Vb(),a.Vb())}let fs=(()=>{class t{constructor(t,e,i,o,n,r,c,s,l){this.administrationService=t,this.challengeService=e,this.ngZone=i,this.io=o,this.userService=n,this.cookieService=r,this.router=c,this.configurationService=s,this.loginGuard=l,this.applicationName=\"OWASP Juice Shop\",this.showGitHubLink=!0,this.userEmail=\"\",this.scoreBoardVisible=!1,this.version=\"\",this.isExpanded=!0,this.showPrivacySubmenu=!1,this.showOrdersSubmenu=!1,this.isShowing=!1,this.sizeOfMail=0,this.sidenavToggle=new a.o,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.administrationService.getApplicationVersion().subscribe(t=>{t&&(this.version=\"v\"+t)},t=>console.log(t)),this.getApplicationDetails(),this.getScoreBoardStatus(),localStorage.getItem(\"token\")?this.getUserDetails():this.userEmail=\"\",this.userService.getLoggedInState().subscribe(t=>{t?this.getUserDetails():this.userEmail=\"\"}),this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{\"scoreBoardChallenge\"===t.key&&(this.scoreBoardVisible=!0)})})}isLoggedIn(){return localStorage.getItem(\"token\")}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/\"]))}goToProfilePage(){window.location.replace(\"/profile\")}noop(){}getScoreBoardStatus(){this.challengeService.find({name:\"Score Board\"}).subscribe(t=>{this.ngZone.run(()=>{this.scoreBoardVisible=t[0].solved})},t=>console.log(t))}getUserDetails(){this.userService.whoAmI().subscribe(t=>{this.userEmail=t.email,this.sizeOfMail=(\"\"+t.email).length},t=>console.log(t))}getApplicationDetails(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.name&&(this.applicationName=t.application.name),t&&t.application&&(this.showGitHubLink=t.application.showGitHubLinks)},t=>console.log(t))}isAccounting(){const t=this.loginGuard.tokenDecode();return!(!t||!t.data||\"accounting\"!==t.data.role)}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Fc),a.Qb(Ma),a.Qb(a.A),a.Qb(qe),a.Qb(D),a.Qb(r.b),a.Qb(S.b),a.Qb(b),a.Qb(I))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"sidenav\"]],outputs:{sidenavToggle:\"sidenavToggle\"},decls:70,vars:25,consts:[[\"color\",\"primary\",1,\"mat-elevation-z6\"],[\"mat-button\",\"\",2,\"height\",\"0\",\"position\",\"absolute\"],[\"mat-subheader\",\"\",\"translate\",\"\",\"fxHide\",\"\",\"fxShow.lt-md\",\"\",1,\"side-subHeader\"],[\"fxHide\",\"\",\"fxShow.lt-md\",\"\"],[\"mat-list-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\",3,\"click\",4,\"ngIf\"],[\"class\",\"parent\",\"aria-label\",\"Show Orders and Payment Menu\",3,\"click\",4,\"ngIf\"],[\"class\",\"submenu\",3,\"ngClass\",4,\"ngIf\"],[\"class\",\"parent\",\"aria-label\",\"Show Privacy and Security Menu\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"aria-label\",\"Logout\",3,\"click\",4,\"ngIf\"],[\"mat-subheader\",\"\",\"translate\",\"\",1,\"side-subHeader\"],[\"mat-list-item\",\"\",\"routerLink\",\"/contact\",\"aria-label\",\"Go to contact us page\",3,\"click\"],[1,\"material-icons\"],[1,\"menu-text\",\"truncate\"],[\"mat-list-item\",\"\",\"routerLink\",\"/complain\",\"aria-label\",\"Go to complain page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/about\",\"aria-label\",\"Go to about us page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/photo-wall\",\"aria-label\",\"Go to photo wall\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/deluxe-membership\",\"aria-label\",\"Go to deluxe membership page\",3,\"click\",4,\"ngIf\"],[\"style\",\"margin-bottom: 10px;\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/score-board\",\"aria-label\",\"Open score-board\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"href\",\"/redirect?to=https://github.com/bkimminich/juice-shop\",\"aria-label\",\"Go to OWASP Juice Shop GitHub page\",4,\"ngIf\"],[1,\"appVersion\"],[2,\"font-size\",\"13px\"],[2,\"font-size\",\"12px\"],[2,\"margin-top\",\"10px\"],[1,\"icon-angular\"],[1,\"icon-html5\"],[1,\"icon-sass\"],[1,\"icon-css3\"],[1,\"icon-javascript-alt\"],[1,\"icon-nodejs\"],[1,\"icon-database-alt2\"],[1,\"icon-mongodb\"],[\"mat-list-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",3,\"click\"],[\"mat-list-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\",3,\"click\"],[\"aria-label\",\"Show Orders and Payment Menu\",1,\"parent\",3,\"click\"],[1,\"menu-button\",3,\"ngClass\"],[1,\"submenu\",3,\"ngClass\"],[\"mat-list-item\",\"\",\"routerLink\",\"/order-history\",\"aria-label\",\"Go to order history page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/recycle\",\"aria-label\",\"Go to recycling page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"/order-history\",\"aria-label\",\"Go to order history page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/recycle\",\"aria-label\",\"Go to recycling page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\",3,\"click\"],[\"aria-label\",\"Show Privacy and Security Menu\",1,\"parent\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/privacy-policy\",\"aria-label\",\"Go to privacy policy page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/data-export\",\"aria-label\",\"Go to data export page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/erasure-request\",\"aria-label\",\"Go to data subject page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/change-password\",\"aria-label\",\"Go to change password page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/two-factor-authentication\",\"aria-label\",\"Go to two factor authentication page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/last-login-ip\",\"aria-label\",\"Go to last login ip page\",3,\"click\",4,\"ngIf\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/privacy-policy\",\"aria-label\",\"Go to privacy policy page\",3,\"click\"],[\"translate\",\"\",1,\"menu-text\",\"truncate\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/data-export\",\"aria-label\",\"Go to data export page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/erasure-request\",\"aria-label\",\"Go to data subject page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/change-password\",\"aria-label\",\"Go to change password page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/two-factor-authentication\",\"aria-label\",\"Go to two factor authentication page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"privacy-security/last-login-ip\",\"aria-label\",\"Go to last login ip page\",3,\"click\"],[\"mat-list-item\",\"\",\"aria-label\",\"Logout\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/complain\",\"aria-label\",\"Go to complain page\",3,\"click\"],[\"mat-list-item\",\"\",\"routerLink\",\"/deluxe-membership\",\"aria-label\",\"Go to deluxe membership page\",3,\"click\"],[2,\"margin-bottom\",\"10px\"],[\"mat-list-item\",\"\",\"routerLink\",\"/score-board\",\"aria-label\",\"Open score-board\",3,\"click\"],[\"matListIcon\",\"\",1,\"fas\",\"fa-trophy\",\"fa-lg\"],[\"mat-list-item\",\"\",\"href\",\"/redirect?to=https://github.com/bkimminich/juice-shop\",\"aria-label\",\"Go to OWASP Juice Shop GitHub page\"],[\"matListIcon\",\"\",1,\"fab\",\"fa-github\",\"fa-lg\"]],template:function(t,e){1&t&&(a.Wb(0,\"mat-toolbar\",0),a.Wb(1,\"mat-toolbar-row\"),a.Wb(2,\"h2\"),a.Jc(3),a.Vb(),a.Vb(),a.Vb(),a.Wb(4,\"mat-nav-list\"),a.Rb(5,\"button\",1),a.Wb(6,\"h3\",2),a.Jc(7,\"ACCOUNT\"),a.Vb(),a.Wb(8,\"div\",3),a.Hc(9,jc,6,3,\"a\",4),a.Hc(10,Qc,5,1,\"a\",5),a.Hc(11,zc,6,3,\"a\",6),a.Hc(12,qc,8,6,\"mat-list-item\",7),a.Hc(13,es,7,8,\"div\",8),a.Hc(14,is,8,6,\"mat-list-item\",9),a.Hc(15,ls,8,9,\"div\",8),a.Hc(16,bs,6,3,\"a\",10),a.Vb(),a.Rb(17,\"mat-divider\",3),a.Wb(18,\"h3\",11),a.Jc(19,\"TITLE_CONTACT\"),a.Vb(),a.Wb(20,\"a\",12),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.Wb(21,\"i\",13),a.Jc(22,\" feedback \"),a.Vb(),a.Wb(23,\"span\",14),a.Jc(24),a.jc(25,\"translate\"),a.Vb(),a.Vb(),a.Hc(26,us,6,3,\"a\",15),a.Rb(27,\"mat-divider\"),a.Wb(28,\"h3\",11),a.Jc(29,\"COMPANY\"),a.Vb(),a.Wb(30,\"a\",16),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.Wb(31,\"i\",13),a.Jc(32,\" business_center \"),a.Vb(),a.Wb(33,\"span\",14),a.Jc(34),a.jc(35,\"translate\"),a.Vb(),a.Vb(),a.Wb(36,\"a\",17),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.Wb(37,\"i\",13),a.Jc(38,\" camera \"),a.Vb(),a.Wb(39,\"span\",14),a.Jc(40),a.jc(41,\"translate\"),a.Vb(),a.Vb(),a.Hc(42,ds,6,3,\"a\",18),a.Hc(43,ms,1,0,\"mat-divider\",19),a.Hc(44,ps,5,3,\"a\",20),a.Hc(45,hs,4,0,\"a\",21),a.Vb(),a.Wb(46,\"div\",22),a.Wb(47,\"span\"),a.Wb(48,\"span\",23),a.Jc(49),a.Vb(),a.Rb(50,\"br\"),a.Wb(51,\"span\",24),a.Jc(52),a.Vb(),a.Rb(53,\"br\"),a.Wb(54,\"div\",25),a.Rb(55,\"i\",26),a.Jc(56,\"\\xa0 \"),a.Rb(57,\"i\",27),a.Jc(58,\"\\xa0 \"),a.Rb(59,\"i\",28),a.Jc(60,\"\\xa0 \"),a.Rb(61,\"i\",29),a.Jc(62,\"\\xa0 \"),a.Rb(63,\"i\",30),a.Jc(64,\"\\xa0 \"),a.Rb(65,\"i\",31),a.Jc(66,\"\\xa0 \"),a.Rb(67,\"i\",32),a.Jc(68,\"\\xa0 \"),a.Rb(69,\"i\",33),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Lc(\" \",e.applicationName,\"\"),a.Db(6),a.oc(\"ngIf\",!e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()&&e.isAccounting()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.showOrdersSubmenu),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.showPrivacySubmenu),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(8),a.Lc(\" \",a.kc(25,19,\"SECTION_CUSTOMER_FEEDBACK\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(8),a.Lc(\" \",a.kc(35,21,\"TITLE_ABOUT\"),\" \"),a.Db(6),a.Lc(\" \",a.kc(41,23,\"LABEL_PHOTO_WALL\"),\" \"),a.Db(2),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.scoreBoardVisible||e.showGitHubLink),a.Db(1),a.oc(\"ngIf\",e.scoreBoardVisible),a.Db(1),a.oc(\"ngIf\",e.showGitHubLink),a.Db(4),a.Kc(e.applicationName),a.Db(3),a.Kc(e.version))},directives:[Bc.a,Bc.c,Uc.e,v.a,Uc.d,g.a,E.b,P.l,Re.a,Uc.b,S.d,Ce.a,P.j,E.a,Uc.a],pipes:[g.d],styles:[\"mat-toolbar[_ngcontent-%COMP%]{height:auto;min-width:100%;padding-bottom:5px;width:100%}a[_ngcontent-%COMP%]{text-decoration:none!important}.menu-text[_ngcontent-%COMP%]{padding-left:10px}.mat-list-base[_ngcontent-%COMP%], .mat-list-icon[_ngcontent-%COMP%], .mat-list-item[_ngcontent-%COMP%]{padding:0!important}.toolbar-title[_ngcontent-%COMP%]{margin:0 16px}.mat-subheader[_ngcontent-%COMP%]{font-size:18px;font-weight:900}.app-nav-list-icon[_ngcontent-%COMP%]{margin:0 12px}.side-subHeader[_ngcontent-%COMP%]{font-weight:300}mat-nav-list[_ngcontent-%COMP%]{margin-bottom:50px}.menu-button[_ngcontent-%COMP%]{-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.menu-button.rotated[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.submenu[_ngcontent-%COMP%]{overflow-y:hidden;padding-left:30px;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:top;transform-origin:top;-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.submenu.expanded[_ngcontent-%COMP%]{-webkit-transform:scaleY(1);transform:scaleY(1)}.appVersion[_ngcontent-%COMP%]{margin-bottom:20px;margin-top:20px;text-align:center}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\"]}),t})(),gs=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\"}getLanguages(){return this.http.get(`${this.hostServer}/rest/languages`).pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();var vs=i(\"oWl+\"),Cs=i(\"STbY\");function ws(t,e){1&t&&(a.Wb(0,\"button\",38),a.Wb(1,\"mat-icon\"),a.Jc(2,\" exit_to_app \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGIN\"),\" \"))}function ys(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",39),a.ec(\"click\",(function(){return a.zc(t),a.ic().goToProfilePage()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_circle \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(4),a.Lc(\" \",t.userEmail,\" \")}}function Ds(t,e){1&t&&(a.Wb(0,\"button\",40),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"ACCOUNTING\"),\" \"))}function Ss(t,e){if(1&t&&(a.Wb(0,\"button\",41),a.Wb(1,\"mat-icon\"),a.Jc(2,\" check_circle_outline \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){a.ic();const t=a.wc(71);a.oc(\"matMenuTriggerFor\",t),a.Db(4),a.Lc(\" \",a.kc(5,2,\"ORDERS_AND_PAYMENT\"),\" \")}}function Ws(t,e){if(1&t&&(a.Wb(0,\"button\",42),a.Wb(1,\"mat-icon\"),a.Jc(2,\" security \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t){a.ic();const t=a.wc(38);a.oc(\"matMenuTriggerFor\",t),a.Db(4),a.Lc(\" \",a.kc(5,2,\"PRIVACY_AND_SECURITY\"),\" \")}}function xs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",43),a.ec(\"click\",(function(){return a.zc(t),a.ic().logout()})),a.Wb(1,\"mat-icon\"),a.Jc(2,\" power_settings_new \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()}2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_LOGOUT\"),\" \"))}function Vs(t,e){1&t&&(a.Wb(0,\"button\",44),a.Wb(1,\"mat-icon\"),a.Jc(2,\" shopping_cart \"),a.Vb(),a.Wb(3,\"span\",20),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"TITLE_BASKET\"),\"\"))}function Is(t,e){1&t&&a.Rb(0,\"span\"),2&t&&a.Fb(\"flag-icon flag-icon-\"+e.$implicit)}function _s(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-radio-button\",45),a.ec(\"click\",(function(){a.zc(t);const i=e.$implicit;return a.ic().changeLanguage(i.key)})),a.Wb(1,\"div\",46),a.Hc(2,Is,1,2,\"span\",47),a.Jc(3),a.Vb(),a.Rb(4,\"i\"),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.pc(\"checked\",i.selectedLanguage===t),a.pc(\"aria-label\",t.lang),a.oc(\"value\",t),a.Db(2),a.oc(\"ngForOf\",t.icons),a.Db(1),a.Lc(\" \",null==t?null:t.lang,\" \"),a.Db(1),a.Fb(\"fas fa-thermometer-\"+t.gauge+(t.percentage>70?\" confirmation\":\" error\"))}}function ks(t,e){1&t&&(a.Wb(0,\"button\",48),a.Wb(1,\"mat-icon\"),a.Jc(2,\" my_location \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_SAVED_ADRESSES\"),\" \"))}function Os(t,e){1&t&&(a.Wb(0,\"button\",49),a.Wb(1,\"mat-icon\"),a.Jc(2,\" credit_card \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"MY_PAYMENT_OPTIONS\"),\" \"))}function Ls(t,e){1&t&&(a.Wb(0,\"button\",50),a.Wb(1,\"mat-icon\"),a.Jc(2,\" account_balance_wallet \"),a.Vb(),a.Wb(3,\"span\"),a.Jc(4),a.jc(5,\"translate\"),a.Vb(),a.Vb()),2&t&&(a.Db(4),a.Lc(\" \",a.kc(5,1,\"DIGITAL_WALLET\"),\" \"))}const As=function(){return[\"privacy-security/privacy-policy\"]},Ts=function(){return[\"privacy-security/data-export\"]},Ps=function(){return[\"privacy-security/erasure-request\"]},Es=function(){return[\"privacy-security/change-password\"]},Rs=function(){return[\"privacy-security/two-factor-authentication\"]},Ms=function(){return[\"privacy-security/last-login-ip\"]};u.b.add(m.z,m.H,m.J,m.K,m.i,m.c,m.X,m.x,m.I,m.hb,m.F,m.A,m.eb,d.d,p.b,m.O,m.R,m.Q,m.S,m.P),u.a.watch();let Js=(()=>{class t{constructor(t,e,i,o,n,r,c,s,l,b,u,d){this.administrationService=t,this.challengeService=e,this.configurationService=i,this.userService=o,this.ngZone=n,this.cookieService=r,this.router=c,this.translate=s,this.io=l,this.langService=b,this.loginGuard=u,this.snackBar=d,this.userEmail=\"\",this.languages=[],this.selectedLanguage=\"placeholder\",this.version=\"\",this.applicationName=\"OWASP Juice Shop\",this.showGitHubLink=!0,this.logoSrc=\"assets/public/images/JuiceShop_Logo.png\",this.scoreBoardVisible=!1,this.shortKeyLang=\"placeholder\",this.sidenavToggle=new a.o,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.getLanguages(),this.administrationService.getApplicationVersion().subscribe(t=>{t&&(this.version=\"v\"+t)},t=>console.log(t)),this.configurationService.getApplicationConfiguration().subscribe(t=>{if(t&&t.application&&t.application.name&&(this.applicationName=t.application.name),t&&t.application&&(this.showGitHubLink=t.application.showGitHubLinks),t&&t.application&&t.application.logo){let e=t.application.logo;\"http\"===e.substring(0,4)&&(e=decodeURIComponent(e.substring(e.lastIndexOf(\"/\")+1))),this.logoSrc=\"assets/public/images/\"+e}},t=>console.log(t)),localStorage.getItem(\"token\")?this.getUserDetails():this.userEmail=\"\",this.userService.getLoggedInState().subscribe(t=>{t?this.getUserDetails():this.userEmail=\"\"}),this.getScoreBoardStatus(),this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{\"scoreBoardChallenge\"===t.key&&(this.scoreBoardVisible=!0)})})}checkLanguage(){if(this.cookieService.get(\"language\")){const t=this.cookieService.get(\"language\");this.translate.use(t),this.selectedLanguage=this.languages.find(e=>e.key===t),this.shortKeyLang=this.languages.find(e=>e.key===t).shortKey}else this.changeLanguage(\"en\"),this.selectedLanguage=this.languages.find(t=>\"en\"===t.key),this.shortKeyLang=this.languages.find(t=>\"en\"===t.key).shortKey}search(t){if(t){const e={queryParams:{q:t}};this.ngZone.run(()=>this.router.navigate([\"/search\"],e))}else this.ngZone.run(()=>this.router.navigate([\"/search\"]))}getUserDetails(){this.userService.whoAmI().subscribe(t=>{this.userEmail=t.email},t=>console.log(t))}isLoggedIn(){return localStorage.getItem(\"token\")}logout(){this.userService.saveLastLoginIp().subscribe(t=>{this.noop()},t=>console.log(t)),localStorage.removeItem(\"token\"),this.cookieService.remove(\"token\"),sessionStorage.removeItem(\"bid\"),this.userService.isLoggedIn.next(!1),this.ngZone.run(()=>this.router.navigate([\"/\"]))}changeLanguage(t){this.translate.use(t);let e=new Date;if(e.setFullYear(e.getFullYear()+1),this.cookieService.put(\"language\",t,{expires:e}),this.languages.find(e=>e.key===t)){const e=this.languages.find(e=>e.key===t);this.shortKeyLang=e.shortKey,this.snackBar.open(\"Language has been changed to \"+e.lang,\"Force page reload\",{duration:5e3}).onAction().subscribe(()=>{location.reload()})}}getScoreBoardStatus(){this.challengeService.find({name:\"Score Board\"}).subscribe(t=>{this.ngZone.run(()=>{this.scoreBoardVisible=t[0].solved})},t=>console.log(t))}goToProfilePage(){window.location.replace(\"/profile\")}noop(){}getLanguages(){this.langService.getLanguages().subscribe(t=>{this.languages=t,this.checkLanguage()})}isAccounting(){const t=this.loginGuard.tokenDecode();return t&&t.data&&\"accounting\"===t.data.role}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Fc),a.Qb(Ma),a.Qb(b),a.Qb(D),a.Qb(a.A),a.Qb(r.b),a.Qb(S.b),a.Qb(g.e),a.Qb(qe),a.Qb(gs),a.Qb(I),a.Qb(L.a))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-navbar\"]],outputs:{sidenavToggle:\"sidenavToggle\"},decls:88,vars:45,consts:[[\"color\",\"primary\",\"fxLayout\",\"column\",\"xmlns\",\"http://www.w3.org/1999/html\",1,\"mat-elevation-z6\"],[\"fxLayout\",\"row\"],[\"mat-button\",\"\",\"aria-label\",\"Open Sidenav\",\"matTooltipPosition\",\"below\",2,\"height\",\"48px\",\"width\",\"48px\",3,\"matTooltip\",\"click\"],[\"mat-button\",\"\",\"routerLink\",\"/search\",\"aria-label\",\"Back to homepage\",1,\"buttons\",2,\"height\",\"60px\"],[1,\"logo\",3,\"src\",\"alt\"],[\"fxHide.lt-sm\",\"\",\"fxShow\",\"\",2,\"font-size\",\"x-large\"],[1,\"fill-remaining-space\"],[\"id\",\"searchQuery\",\"aria-label\",\"Click to search\",3,\"onEnter\"],[\"searchControl\",\"\"],[\"mat-button\",\"\",\"fxHide.lt-md\",\"\",\"fxShow\",\"\",\"aria-label\",\"Show/hide account menu\",\"id\",\"navbarAccount\",1,\"buttons\",2,\"vertical-align\",\"middle\",\"height\",\"48px\",3,\"matMenuTriggerFor\"],[1,\"material-icons\"],[\"userMenu\",\"matMenu\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",\"id\",\"navbarLoginButton\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Orders and Payment Menu\",3,\"matMenuTriggerFor\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Privacy and Security Menu\",3,\"matMenuTriggerFor\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Logout\",\"id\",\"navbarLogoutButton\",3,\"click\",4,\"ngIf\"],[\"mat-button\",\"\",\"routerLink\",\"/basket\",\"style\",\"height:48px;\",\"class\",\"buttons\",\"aria-label\",\"Show the shopping cart\",4,\"ngIf\"],[\"mat-button\",\"\",\"aria-label\",\"Language selection menu\",\"matTooltipPosition\",\"below\",1,\"buttons\",2,\"height\",\"48px\",\"width\",\"48px\",3,\"matMenuTriggerFor\",\"matTooltip\"],[\"fxHide.lt-md\",\"\",\"fxShow\",\"\"],[3,\"overlapTrigger\"],[\"menu\",\"matMenu\"],[\"class\",\"mat-menu-item\",\"style\",\"width: 240px;\",3,\"value\",\"checked\",\"aria-label\",\"click\",4,\"ngFor\",\"ngForOf\"],[\"privacySubMenu\",\"matMenu\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to privacy policy page\",3,\"routerLink\"],[\"translate\",\"\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to data export page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to data subject page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to change password page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to two factor authentication page\",3,\"routerLink\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to last login ip page\",3,\"routerLink\"],[\"ordersSubMenu\",\"matMenu\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/order-history\",\"aria-label\",\"Go to order history page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/recycle\",\"aria-label\",\"Go to recycling page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\",4,\"ngIf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/login\",\"aria-label\",\"Go to login page\",\"id\",\"navbarLoginButton\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Go to user profile\",3,\"click\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/accounting\",\"aria-label\",\"Go to accounting page\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Orders and Payment Menu\",3,\"matMenuTriggerFor\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Show Privacy and Security Menu\",3,\"matMenuTriggerFor\"],[\"mat-menu-item\",\"\",\"aria-label\",\"Logout\",\"id\",\"navbarLogoutButton\",3,\"click\"],[\"mat-button\",\"\",\"routerLink\",\"/basket\",\"aria-label\",\"Show the shopping cart\",1,\"buttons\",2,\"height\",\"48px\"],[1,\"mat-menu-item\",2,\"width\",\"240px\",3,\"value\",\"checked\",\"aria-label\",\"click\"],[2,\"display\",\"inline-block\",\"width\",\"200px\",\"margin-left\",\"5px\"],[3,\"class\",4,\"ngFor\",\"ngForOf\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/address/saved\",\"aria-label\",\"Go to saved address page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/saved-payment-methods\",\"aria-label\",\"Go to saved payment methods page\"],[\"mat-menu-item\",\"\",\"routerLink\",\"/wallet\",\"aria-label\",\"Go to wallet page\"]],template:function(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-toolbar\",0),a.Wb(1,\"mat-toolbar-row\",1),a.Wb(2,\"button\",2),a.ec(\"click\",(function(){return e.onToggleSidenav()})),a.jc(3,\"translate\"),a.Wb(4,\"mat-icon\"),a.Jc(5,\"menu\"),a.Vb(),a.Vb(),a.Wb(6,\"button\",3),a.Rb(7,\"img\",4),a.Wb(8,\"span\",5),a.Jc(9),a.Vb(),a.Vb(),a.Rb(10,\"span\",6),a.Wb(11,\"mat-search-bar\",7,8),a.ec(\"onEnter\",(function(){a.zc(t);const i=a.wc(12);return e.search(i.value)})),a.Vb(),a.Wb(13,\"button\",9),a.Wb(14,\"i\",10),a.Jc(15,\" account_circle \"),a.Vb(),a.Wb(16,\"span\"),a.Jc(17),a.jc(18,\"translate\"),a.Vb(),a.Vb(),a.Wb(19,\"mat-menu\",null,11),a.Hc(21,ws,6,3,\"button\",12),a.Hc(22,ys,5,1,\"button\",13),a.Hc(23,Ds,6,3,\"button\",14),a.Hc(24,Ss,6,4,\"button\",15),a.Hc(25,Ws,6,4,\"button\",16),a.Hc(26,xs,6,3,\"button\",17),a.Vb(),a.Hc(27,Vs,6,3,\"button\",18),a.Wb(28,\"button\",19),a.jc(29,\"translate\"),a.Wb(30,\"mat-icon\"),a.Jc(31,\" language \"),a.Vb(),a.Wb(32,\"span\",20),a.Jc(33),a.Vb(),a.Vb(),a.Wb(34,\"mat-menu\",21,22),a.Hc(36,_s,5,7,\"mat-radio-button\",23),a.Vb(),a.Wb(37,\"mat-menu\",null,24),a.Wb(39,\"button\",25),a.Wb(40,\"mat-icon\"),a.Jc(41,\" assignment \"),a.Vb(),a.Wb(42,\"span\",26),a.Jc(43,\"TITLE_PRIVACY_POLICY\"),a.Vb(),a.Vb(),a.Wb(44,\"button\",27),a.Wb(45,\"mat-icon\"),a.Jc(46,\" get_app \"),a.Vb(),a.Wb(47,\"span\",26),a.Jc(48,\"TITLE_REQUEST_DATA_EXPORT\"),a.Vb(),a.Vb(),a.Wb(49,\"button\",28),a.Wb(50,\"mat-icon\"),a.Jc(51,\" delete_forever \"),a.Vb(),a.Wb(52,\"span\",26),a.Jc(53,\"DATA_SUBJECT_TITLE\"),a.Vb(),a.Vb(),a.Rb(54,\"mat-divider\"),a.Wb(55,\"button\",29),a.Wb(56,\"mat-icon\"),a.Jc(57,\" edit \"),a.Vb(),a.Wb(58,\"span\",26),a.Jc(59,\"TITLE_CHANGE_PASSWORD\"),a.Vb(),a.Vb(),a.Wb(60,\"button\",30),a.Wb(61,\"mat-icon\"),a.Jc(62,\" exposure_plus_2 \"),a.Vb(),a.Wb(63,\"span\",26),a.Jc(64,\"TITLE_TWO_FACTOR_AUTH_CONFIG\"),a.Vb(),a.Vb(),a.Wb(65,\"button\",31),a.Wb(66,\"mat-icon\"),a.Jc(67,\" place \"),a.Vb(),a.Wb(68,\"span\",26),a.Jc(69,\"LAST_LOGIN_IP\"),a.Vb(),a.Vb(),a.Vb(),a.Wb(70,\"mat-menu\",null,32),a.Wb(72,\"button\",33),a.Wb(73,\"mat-icon\"),a.Jc(74,\" archive \"),a.Vb(),a.Wb(75,\"span\"),a.Jc(76),a.jc(77,\"translate\"),a.Vb(),a.Vb(),a.Wb(78,\"button\",34),a.Wb(79,\"mat-icon\"),a.Jc(80,\" autorenew \"),a.Vb(),a.Wb(81,\"span\"),a.Jc(82),a.jc(83,\"translate\"),a.Vb(),a.Vb(),a.Rb(84,\"mat-divider\"),a.Hc(85,ks,6,3,\"button\",35),a.Hc(86,Os,6,3,\"button\",36),a.Hc(87,Ls,6,3,\"button\",37),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.wc(20),i=a.wc(35);a.Db(2),a.pc(\"matTooltip\",a.kc(3,29,\"SIDENAV_HINT\")),a.Db(5),a.pc(\"alt\",e.applicationName),a.oc(\"src\",e.logoSrc,a.Cc),a.Db(2),a.Lc(\" \",e.applicationName,\" \"),a.Db(4),a.oc(\"matMenuTriggerFor\",t),a.Db(4),a.Lc(\" \",a.kc(18,31,\"ACCOUNT\"),\" \"),a.Db(4),a.oc(\"ngIf\",!e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()&&e.isAccounting()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.pc(\"matTooltip\",a.kc(29,33,\"LANGUAGE_SEL_HINT\")),a.oc(\"matMenuTriggerFor\",i),a.Db(5),a.Lc(\" \",e.shortKeyLang,\" \"),a.Db(1),a.oc(\"overlapTrigger\",!0),a.Db(2),a.oc(\"ngForOf\",e.languages),a.Db(3),a.oc(\"routerLink\",a.sc(39,As)),a.Db(5),a.oc(\"routerLink\",a.sc(40,Ts)),a.Db(5),a.oc(\"routerLink\",a.sc(41,Ps)),a.Db(6),a.oc(\"routerLink\",a.sc(42,Es)),a.Db(5),a.oc(\"routerLink\",a.sc(43,Rs)),a.Db(5),a.oc(\"routerLink\",a.sc(44,Ms)),a.Db(11),a.Lc(\" \",a.kc(77,35,\"LABEL_ORDER_HISTORY\"),\" \"),a.Db(6),a.Lc(\" \",a.kc(83,37,\"NAV_RECYCLE\"),\" \"),a.Db(3),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn()),a.Db(1),a.oc(\"ngIf\",e.isLoggedIn())}},directives:[Bc.a,h.d,Bc.c,v.a,we.a,Ce.a,S.c,E.b,vs.b,Cs.c,Cs.d,P.l,P.k,Cs.a,g.a,Re.a,ra.a],pipes:[g.d],styles:[\"mat-toolbar[_ngcontent-%COMP%]{height:auto;min-width:100%;padding-bottom:5px;width:100%}.mat-button[_ngcontent-%COMP%]{padding-left:8px;padding-right:8px}.logo[_ngcontent-%COMP%]{max-height:60px;width:auto}.avatar[_ngcontent-%COMP%]{background-repeat:no-repeat;border-radius:50%;display:inline-block;max-height:35px;max-width:35px;padding:0;pointer-events:none}.fill-remaining-space[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.language-select[_ngcontent-%COMP%]{margin-left:10px;width:11%}  .mat-select-value-text{font-size:15px}.user-info[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}.flag-icon[_ngcontent-%COMP%]{margin-right:2px}[_nghost-%COMP%]     mat-form-field, [_nghost-%COMP%]     mat-icon{background:transparent!important}mat-search-bar[_ngcontent-%COMP%]{font-size:13px;margin-right:14px}.buttons[_ngcontent-%COMP%]{width:auto}@media screen and (max-width:959px){.buttons[_ngcontent-%COMP%]{width:48px}}[_nghost-%COMP%]     .mat-form-field-infix{max-width:250px!important;width:14vw!important}\"]}),t})();function Hs(t,e){1&t&&(a.Wb(0,\"span\",2),a.Jc(1,\"RESTART_REQUIRED\"),a.Vb())}function Ns(t,e){1&t&&(a.Wb(0,\"span\",2),a.Jc(1,\"RESET_HACKING_PROGRESS\"),a.Vb())}function Fs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-card\",1),a.Rb(1,\"mat-card-header\"),a.Wb(2,\"mat-card-content\"),a.Wb(3,\"span\",2),a.Jc(4,\"NOTIFICATION_SERVER_STARTED\"),a.Vb(),a.Jc(5),a.Wb(6,\"span\",3),a.ec(\"click\",(function(){return a.zc(t),a.ic().closeNotification()})),a.Jc(7,\"X\"),a.Vb(),a.Wb(8,\"button\",4),a.ec(\"click\",(function(){return a.zc(t),a.ic().clearProgress()})),a.Rb(9,\"i\",5),a.Hc(10,Hs,2,0,\"span\",6),a.Hc(11,Ns,2,0,\"span\",6),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=a.ic();a.Db(5),a.Lc(\": \",t.hackingProgress.autoRestoreMessage,\"\"),a.Db(3),a.oc(\"disabled\",t.hackingProgress.cleared),a.Db(2),a.oc(\"ngIf\",t.hackingProgress.cleared),a.Db(1),a.oc(\"ngIf\",!t.hackingProgress.cleared)}}u.b.add(m.V),u.a.watch();let Bs=(()=>{class t{constructor(t,e,i,a,o,n){this.ngZone=t,this.challengeService=e,this.translate=i,this.cookieService=a,this.ref=o,this.io=n,this.hackingProgress={}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"server started\",()=>{let t=this.cookieService.get(\"continueCode\");t&&this.challengeService.restoreProgress(encodeURIComponent(t)).subscribe(()=>{this.translate.get(\"AUTO_RESTORED_PROGRESS\").subscribe(t=>{this.hackingProgress.autoRestoreMessage=t},t=>{this.hackingProgress.autoRestoreMessage=t})},t=>{console.log(t),this.translate.get(\"AUTO_RESTORE_PROGRESS_FAILED\",{error:t}).subscribe(t=>{this.hackingProgress.autoRestoreMessage=t},t=>{this.hackingProgress.autoRestoreMessage=t})}),this.ref.detectChanges()})})}closeNotification(){this.hackingProgress.autoRestoreMessage=null}clearProgress(){this.cookieService.remove(\"continueCode\"),this.hackingProgress.cleared=!0}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.A),a.Qb(Ma),a.Qb(g.e),a.Qb(r.b),a.Qb(a.h),a.Qb(qe))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-server-started-notification\"]],decls:1,vars:1,consts:[[\"class\",\"container primary-notification mat-elevation-z4\",4,\"ngIf\"],[1,\"container\",\"primary-notification\",\"mat-elevation-z4\"],[\"translate\",\"\"],[2,\"float\",\"right\",\"cursor\",\"pointer\",3,\"click\"],[\"mat-raised-button\",\"\",3,\"disabled\",\"click\"],[\"aria-hidden\",\"true\",1,\"fas\",\"fa-trash\"],[\"translate\",\"\",4,\"ngIf\"]],template:function(t,e){1&t&&a.Hc(0,Fs,12,4,\"mat-card\",0),2&t&&a.oc(\"ngIf\",e.hackingProgress.autoRestoreMessage)},directives:[P.l,f.a,f.c,f.b,g.a,v.a],styles:[\".container[_ngcontent-%COMP%]{font-size:14px;margin:40px}\"]}),t})(),Us=(()=>{class t{constructor(t){this.http=t,this.hostServer=\".\"}getCountryMapping(){return this.http.get(this.hostServer+\"/rest/country-mapping\").pipe(Object(l.a)(t=>{throw t}))}}return t.\\u0275fac=function(e){return new(e||t)(a.ac(n.b))},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac,providedIn:\"root\"}),t})();function js(t,e){if(1&t&&(a.Rb(0,\"span\"),a.jc(1,\"lowercase\")),2&t){const t=a.ic(2).$implicit;a.Gb(\"flag-icon flag-icon-\",a.kc(1,3,t.country.code),\"\")}}function Qs(t,e){1&t&&a.Rb(0,\"i\",11)}function zs(t,e){if(1&t&&(a.Wb(0,\"span\"),a.Jc(1),a.Vb()),2&t){const t=a.ic(2).$implicit;a.Db(1),a.Lc(\" \",t.country.name,\" \")}}function Gs(t,e){if(1&t&&(a.Wb(0,\"div\"),a.Hc(1,js,2,5,\"span\",9),a.Hc(2,Qs,1,0,\"i\",10),a.Hc(3,zs,2,1,\"span\",5),a.Rb(4,\"br\"),a.Vb()),2&t){const t=a.ic(2);a.Db(1),a.oc(\"ngIf\",\"flag\"===t.showCtfCountryDetailsInNotifications||\"both\"===t.showCtfCountryDetailsInNotifications),a.Db(1),a.oc(\"ngIf\",\"name\"===t.showCtfCountryDetailsInNotifications),a.Db(1),a.oc(\"ngIf\",\"name\"===t.showCtfCountryDetailsInNotifications||\"both\"===t.showCtfCountryDetailsInNotifications)}}function qs(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"mat-card\",2),a.Wb(1,\"div\"),a.Jc(2),a.Wb(3,\"span\",3),a.ec(\"click\",(function(i){a.zc(t);const o=e.index;return a.ic().closeNotification(o,i.shiftKey)})),a.Jc(4,\"X\"),a.Vb(),a.Vb(),a.Rb(5,\"br\"),a.Wb(6,\"div\",4),a.Hc(7,Gs,5,3,\"div\",5),a.Rb(8,\"i\",6),a.Jc(9),a.Wb(10,\"button\",7),a.ec(\"cbOnSuccess\",(function(){return e.$implicit.copied=!0})),a.Rb(11,\"i\",8),a.Wb(12,\"span\",4),a.Jc(13),a.jc(14,\"translate\"),a.Vb(),a.Wb(15,\"span\",4),a.Jc(16),a.jc(17,\"translate\"),a.Vb(),a.Vb(),a.Vb(),a.Vb()}if(2&t){const t=e.$implicit,i=a.ic();a.Db(2),a.Lc(\" \",t.message,\"\"),a.Db(4),a.oc(\"hidden\",!i.showCtfFlagsInNotifications),a.Db(1),a.oc(\"ngIf\",\"none\"!==i.showCtfCountryDetailsInNotifications),a.Db(2),a.Lc(\" \",t.flag,\" \"),a.Db(1),a.oc(\"cbContent\",t.flag)(\"disabled\",t.copied),a.Db(2),a.oc(\"hidden\",!t.copied),a.Db(1),a.Kc(a.kc(14,10,\"COPY_SUCCESS\")),a.Db(2),a.oc(\"hidden\",t.copied),a.Db(1),a.Kc(a.kc(17,12,\"COPY_TO_CLIPBOARD\"))}}u.b.add(m.s,m.q,m.g),u.a.watch();let Ys=(()=>{class t{constructor(t,e,i,a,o,n,r,c){this.ngZone=t,this.configurationService=e,this.challengeService=i,this.countryMappingService=a,this.translate=o,this.cookieService=n,this.ref=r,this.io=c,this.notifications=[],this.showCtfFlagsInNotifications=!1,this.showCtfCountryDetailsInNotifications=\"none\"}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.io.socket().on(\"challenge solved\",t=>{t&&t.challenge&&(t.hidden||this.showNotification(t),t.isRestore||this.saveProgress(),this.io.socket().emit(\"notification received\",t.flag))})}),this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.ctf&&(this.showCtfFlagsInNotifications=!!t.ctf.showFlagsInNotifications&&t.ctf.showFlagsInNotifications,t.ctf.showCountryDetailsInNotifications?(this.showCtfCountryDetailsInNotifications=t.ctf.showCountryDetailsInNotifications,\"none\"!==t.ctf.showCountryDetailsInNotifications&&this.countryMappingService.getCountryMapping().subscribe(t=>{this.countryMap=t},t=>console.log(t))):this.showCtfCountryDetailsInNotifications=\"none\")})}closeNotification(t,e=!1){e?this.notifications=[]:this.notifications.splice(t,1),this.ref.detectChanges()}showNotification(t){this.translate.get(\"CHALLENGE_SOLVED\",{challenge:t.challenge}).toPromise().then(t=>t,t=>t).then(e=>{let i;this.showCtfCountryDetailsInNotifications&&\"none\"!==this.showCtfCountryDetailsInNotifications&&(i=this.countryMap[t.key]),this.notifications.push({message:e,flag:t.flag,country:i,copied:!1}),this.ref.detectChanges()})}saveProgress(){this.challengeService.continueCode().subscribe(t=>{if(!t)throw new Error(\"Received invalid continue code from the sever!\");let e=new Date;e.setFullYear(e.getFullYear()+1),this.cookieService.put(\"continueCode\",t,{expires:e})},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(a.A),a.Qb(b),a.Qb(Ma),a.Qb(Us),a.Qb(g.e),a.Qb(r.b),a.Qb(a.h),a.Qb(qe))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-challenge-solved-notification\"]],decls:2,vars:1,consts:[[1,\"container\",\"challenge-solved-toast\",\"mat-elevation-z4\"],[\"class\",\"accent-notification\",4,\"ngFor\",\"ngForOf\"],[1,\"accent-notification\"],[2,\"float\",\"right\",\"cursor\",\"pointer\",3,\"click\"],[3,\"hidden\"],[4,\"ngIf\"],[1,\"fas\",\"fa-flag-checkered\"],[\"ngxClipboard\",\"\",\"mat-raised-button\",\"\",3,\"cbContent\",\"disabled\",\"cbOnSuccess\"],[\"aria-hidden\",\"true\",1,\"fas\",\"fa-clipboard\"],[3,\"class\",4,\"ngIf\"],[\"class\",\"fa fa-globe\",4,\"ngIf\"],[1,\"fa\",\"fa-globe\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Hc(1,qs,18,14,\"mat-card\",1),a.Vb()),2&t&&(a.Db(1),a.oc(\"ngForOf\",e.notifications))},directives:[P.k,f.a,P.l,v.a,Nc.a],pipes:[g.d,P.i],styles:[\".container[_ngcontent-%COMP%]{font-size:14px;margin:40px}mat-card[_ngcontent-%COMP%]{margin-bottom:10px}\"]}),t})();function Ks(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"button\",5),a.ec(\"click\",(function(){return a.zc(t),a.ic().startHackingInstructor()})),a.jc(1,\"translate\"),a.Wb(2,\"mat-icon\"),a.Jc(3,\" school \"),a.Vb(),a.Wb(4,\"span\",6),a.Jc(5,\"BTN_GETTING_STARTED\"),a.Vb(),a.Vb()}2&t&&a.oc(\"matTooltip\",a.kc(1,1,\"SCORE_BOARD_HACKING_INSTRUCTOR\"))}let Xs=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.configurationService=e,this.cookieService=i,this.title=\"Welcome to OWASP Juice Shop\",this.message=\"<p>Being a web application with a vast number of intended security vulnerabilities, the <strong>OWASP Juice Shop<\/strong> is supposed to be the opposite of a best practice or template application for web developers: It is an awareness, training, demonstration and exercise tool for security risks in modern web applications. The <strong>OWASP Juice Shop<\/strong> is an open-source project hosted by the non-profit <a href='https://owasp.org' target='_blank'>Open Web Application Security Project (OWASP)<\/a> and is developed and maintained by volunteers. Check out the link below for more information and documentation on the project.<\/p><h1><a href='https://owasp-juice.shop' target='_blank'>https://owasp-juice.shop<\/a><\/h1>\",this.showHackingInstructor=!0,this.welcomeBannerStatusCookieKey=\"welcomebanner_status\"}ngOnInit(){this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.welcomeBanner&&(this.title=t.application.welcomeBanner.title,this.message=t.application.welcomeBanner.message),t&&t.application&&(this.showHackingInstructor=t.hackingInstructor&&t.hackingInstructor.isEnabled)},t=>console.log(t))}startHackingInstructor(){console.log('Starting instructions for challenge \"Score Board\"'),i.e(5).then(i.bind(null,\"s2oO\")).then(t=>{t.startHackingInstructorFor(\"Score Board\")})}closeWelcome(){this.dialogRef.close();let t=new Date;t.setFullYear(t.getFullYear()+1),this.cookieService.put(this.welcomeBannerStatusCookieKey,\"dismiss\",{expires:t})}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.g),a.Qb(b),a.Qb(r.b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-welcome-banner\"]],decls:11,vars:3,consts:[[1,\"mat-typography\"],[1,\"text-justify\",3,\"innerHtml\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",3,\"matTooltip\",\"click\",4,\"ngIf\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",\"aria-label\",\"Close Welcome Banner\",1,\"close-dialog\",3,\"click\"],[\"fxShow\",\"\",\"fxHide.lt-sm\",\"\",\"translate\",\"\"],[\"mat-raised-button\",\"\",\"color\",\"warn\",\"matTooltipPosition\",\"above\",3,\"matTooltip\",\"click\"],[\"fxShow\",\"\",\"fxHide.lt-lg\",\"\",\"translate\",\"\"]],template:function(t,e){1&t&&(a.Wb(0,\"div\",0),a.Wb(1,\"h1\"),a.Wb(2,\"span\"),a.Jc(3),a.Vb(),a.Vb(),a.Rb(4,\"div\",1),a.Hc(5,Ks,6,3,\"button\",2),a.Wb(6,\"button\",3),a.ec(\"click\",(function(){return e.closeWelcome()})),a.Wb(7,\"mat-icon\"),a.Jc(8,\" visibility_off \"),a.Vb(),a.Wb(9,\"span\",4),a.Jc(10,\"BTN_DISMISS\"),a.Vb(),a.Vb(),a.Vb()),2&t&&(a.Db(3),a.Kc(e.title),a.Db(1),a.oc(\"innerHtml\",e.message,a.Ac),a.Db(1),a.oc(\"ngIf\",e.showHackingInstructor))},directives:[P.l,v.a,Ce.a,E.b,g.a,we.a],pipes:[g.d],styles:[\".text-justify[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}[_nghost-%COMP%]     h1 a{font-size:20px}[_nghost-%COMP%]     strong{font-style:italic}\"]}),t})(),$s=(()=>{class t{constructor(t,e,i){this.dialog=t,this.configurationService=e,this.cookieService=i,this.welcomeBannerStatusCookieKey=\"welcomebanner_status\"}ngOnInit(){\"dismiss\"!==this.cookieService.get(this.welcomeBannerStatusCookieKey)&&this.configurationService.getApplicationConfiguration().subscribe(t=>{t&&t.application&&t.application.welcomeBanner&&!t.application.welcomeBanner.showOnFirstStart||this.dialog.open(Xs,{minWidth:\"320px\",width:\"35%\",position:{top:\"50px\"}})},t=>console.log(t))}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(Ae.b),a.Qb(b),a.Qb(r.b))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-welcome\"]],decls:1,vars:0,template:function(t,e){1&t&&a.Rb(0,\"div\")},styles:[\".welcome-style[_ngcontent-%COMP%]   .mat-dialog-container[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:50%;min-width:320px}\"]}),t})(),Zs=(()=>{class t{constructor(t,e){this._document=t,this.translate=e,this.translate.setDefaultLang(\"en\")}}return t.\\u0275fac=function(e){return new(e||t)(a.Qb(P.d),a.Qb(g.e))},t.\\u0275cmp=a.Kb({type:t,selectors:[[\"app-root\"]],decls:10,vars:0,consts:[[1,\"mat-typography\"],[\"fullscreen\",\"\"],[\"mode\",\"over\"],[\"sidenav\",\"\"],[3,\"sidenavToggle\"]],template:function(t,e){if(1&t){const t=a.Xb();a.Wb(0,\"div\",0),a.Wb(1,\"mat-sidenav-container\",1),a.Wb(2,\"mat-sidenav\",2,3),a.Wb(4,\"sidenav\",4),a.ec(\"sidenavToggle\",(function(){return a.zc(t),a.wc(3).toggle()})),a.Vb(),a.Vb(),a.Wb(5,\"app-navbar\",4),a.ec(\"sidenavToggle\",(function(){return a.zc(t),a.wc(3).toggle()})),a.Vb(),a.Rb(6,\"app-server-started-notification\"),a.Rb(7,\"app-challenge-solved-notification\"),a.Rb(8,\"app-welcome\"),a.Rb(9,\"router-outlet\"),a.Vb(),a.Vb()}},directives:[yo.b,yo.a,fs,Js,Bs,Ys,$s,S.f],styles:[\".mat-sidenav[_ngcontent-%COMP%]{width:280px}\"]}),t})(),tl=(()=>{class t{intercept(t,e){return localStorage.getItem(\"token\")&&(t=t.clone({setHeaders:{Authorization:`Bearer ${localStorage.getItem(\"token\")}`}})),localStorage.getItem(\"email\")&&(t=t.clone({setHeaders:{\"X-User-Email\":String(localStorage.getItem(\"email\"))}})),e.handle(t)}}return t.\\u0275fac=function(e){return new(e||t)},t.\\u0275prov=a.Mb({token:t,factory:t.\\u0275fac}),t})();var el=i(\"YUcS\"),il=i(\"R1ws\"),al=i(\"TU8p\"),ol=i(\"rDax\");function nl(t){return new Hc.a(t,\"./assets/i18n/\",\".json\")}let rl=(()=>{class t{constructor(t,e){t.getApplicationConfiguration().subscribe(t=>{e.getContainerElement().classList.add(t.application.theme+\"-theme\")})}}return t.\\u0275mod=a.Ob({type:t,bootstrap:[Zs]}),t.\\u0275inj=a.Nb({factory:function(e){return new(e||t)(a.ac(b),a.ac(ol.e))},providers:[{provide:n.a,useClass:tl,multi:!0},je,b,Fc,Nt,Ft,D,ee,Ot,kt,bi,Te,qi,ct,oa,x,Ma,r.b,_,I,Xo,k,O,Io,na,Ye,Yo,Fn,Ko,xc],imports:[[o.a,Jc,g.c.forRoot({loader:{provide:g.b,useFactory:nl,deps:[n.b]}}),r.a.forRoot(),ae.c.forRoot(),el.a,n.c,c.u,il.b,Gt.a,So.b,Pt.b,Yi.b,Nc.b,Ja.b,Bc.b,Ce.b,At.d,oe.b,v.b,yo.d,T.p,Qe.b,f.e,Tt.c,ui.b,Ae.f,Re.b,Ia.c,ne.i,Me.a,Ha.b,we.b,Cs.b,Uc.c,Na.b,wo.c,Ke.b,vs.a,al.a,ra.c,L.b,ie.b]]}),t})();Object(a.U)(),o.g().bootstrapModule(rl).catch(t=>console.log(t))}}<\/p>","reference":"<p>http://blogs.wsj.com/cio/2013/10/08/adobe-source-code-leak-is-bad-news-for-u-s-government/<\/p>","cweid":"540","wascid":"13","sourceid":"3"},{"pluginid":"40029","alert":"Trace.axd Information Leak","name":"Trace.axd Information Leak","riskcode":"0","confidence":"3","riskdesc":"Informational (High)","desc":"<p>The ASP.NET Trace Viewer (trace.axd) was found to be available. This component can leak a significant amount of valuable information.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/api/Challenges/trace.axd","method":"GET","evidence":"HTTP/1.1 401 Unauthorized"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/quarantine/trace.axd","method":"GET","evidence":"HTTP/1.1 403 Forbidden"},{"uri":"http://juice-shop.demo-targets.svc:3000/ftp/trace.axd","method":"GET","evidence":"HTTP/1.1 403 Forbidden"}],"count":"3","solution":"<p>Consider whether or not Trace Viewer is actually required in production, if it isn't then disable it. If it is then ensure access to it requires authentication and authorization.<\/p>","otherinfo":"<p>Based on response status code Trace Viewer may be protected by an authentication or authorization mechanism.  <\/p>","reference":"<p>https://msdn.microsoft.com/en-us/library/bb386420.aspx<\/p><p>https://msdn.microsoft.com/en-us/library/wwh16c6c.aspx<\/p><p>https://www.dotnetperls.com/trace<\/p>","cweid":"215","wascid":"13","sourceid":"1"},{"pluginid":"40028","alert":"ELMAH Information Leak","name":"ELMAH Information Leak","riskcode":"2","confidence":"2","riskdesc":"Medium (Medium)","desc":"<p>The Error Logging Modules and Handlers (ELMAH [elmah.axd]) HTTP Module was found to be available. This module can leak a significant amount of valuable information.<\/p>","instances":[{"uri":"http://juice-shop.demo-targets.svc:3000/elmah.axd","method":"GET","evidence":"HTTP/1.1 200 OK"}],"count":"1","solution":"<p>Consider whether or not ELMAH is actually required in production, if it isn't then disable it. If it is then ensure access to it requires authentication and authorization. See also: https://elmah.github.io/a/securing-error-log-pages/<\/p>","reference":"<p>https://www.troyhunt.com/aspnet-session-hijacking-with-google/<\/p><p>https://www.nuget.org/packages/elmah<\/p><p>https://elmah.github.io/<\/p>","cweid":"215","wascid":"13","sourceid":"1"}]}]}