diff --git a/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.WUomah b/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.WUomah new file mode 100644 index 0000000..64c56b6 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.WUomah @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"servers":[{"anonymization":["GAAAABEAAABodHRwczovL2JyYXZlLmNvbQAAAA==",false],"server":"https://dict.brave.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://camo.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://private-user-images.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://github.githubassets.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://api.github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://collector.github.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224605631","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731227270758","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://b.basemaps.cartocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://a.basemaps.cartocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731221770687","port":443,"protocol_str":"quic"}],"anonymization":["JAAAAB0AAABodHRwczovL2dvb2dsZXVzZXJjb250ZW50LmNvbQAAAA==",false],"network_stats":{"srtt":19209},"server":"https://lh5.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224433503","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20408},"server":"https://id.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224476301","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18704},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224480590","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":21404},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731225282708","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":35926},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731226126164","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"network_stats":{"srtt":17628},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225627551870","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":12232},"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225628835405","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":15246},"server":"https://status.chaotic.cx","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225628923607","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":18970},"server":"https://cdnjs.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225629403994","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":15710},"server":"https://aur.chaotic.cx","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381142911575236","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2FyY2hsaW51eC5vcmcAAAA=",false],"network_stats":{"srtt":302665},"server":"https://aur.archlinux.org","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://builds.garudalinux.org","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731568529929","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731568606375","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569150265","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731571893561","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731562608309","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2dzdGF0aWMuY29tAA==",false],"network_stats":{"srtt":16915},"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731566337868","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18019},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731567691339","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":17121},"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569189755","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":18567},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569548210","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":18883},"server":"https://jnn-pa.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731571475064","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":17081},"server":"https://lh3.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731626459865","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":18639},"server":"https://music.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731630727581","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":10918},"server":"https://rr3---sn-905qg5ou-qxaz.googlevideo.com"}],"supports_quic":{"address":"192.168.1.29","used_quic":true},"version":5},"network_qualities":{"CAISABiAgICA+P////8B":"4G"}}} \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.fG5TTu b/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.fG5TTu new file mode 100644 index 0000000..29769a0 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.fG5TTu @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"broken_alternative_services":[{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"broken_count":3,"host":"static.elfsight.com","port":443,"protocol_str":"quic"},{"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"broken_count":1,"host":"www.ebnhost.com","port":443,"protocol_str":"quic"},{"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"broken_count":1,"host":"use.fontawesome.com","port":443,"protocol_str":"quic"},{"anonymization":["GAAAABQAAABodHRwczovL3BpY2p1bWJvLmNvbQ==",false],"broken_count":3,"host":"picjumbo.com","port":443,"protocol_str":"quic"},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"broken_count":3,"host":"www.instagram.com","port":443,"protocol_str":"quic"}],"servers":[{"anonymization":["GAAAABEAAABodHRwczovL2JyYXZlLmNvbQAAAA==",false],"server":"https://dict.brave.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731227270758","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://b.basemaps.cartocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://a.basemaps.cartocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://status.chaotic.cx","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://cdnjs.cloudflare.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://aur.chaotic.cx","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://builds.garudalinux.org","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731567691339","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":17121},"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731568529929","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731568606375","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569189755","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":18567},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569150265","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731692912697","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":15281},"server":"https://lh3.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731690493718","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":22564},"server":"https://jnn-pa.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731696767648","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":6656},"server":"https://rr2---sn-905qg5ou-qxa6.googlevideo.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731693013808","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":16631},"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731695641053","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":17707},"server":"https://music.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732769978139","port":443,"protocol_str":"quic"}],"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://eshanized.github.io","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732770392148","port":443,"protocol_str":"quic"}],"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://api.github.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://opengraph.githubassets.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://lookaside.fbsbx.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwOi8vam9iaGl2ZXMuY29tAA==",false],"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwOi8vam9iaGl2ZXMuY29tAA==",false],"server":"https://api.qrserver.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383741995486193","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL25ob3N0YmQuY29tAA==",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742038597638","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL25ob3N0YmQuY29tAA==",false],"network_stats":{"srtt":20963},"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"server":"https://challenges.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383741996490315","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL25ob3N0YmQuY29tAA==",false],"network_stats":{"srtt":268736},"server":"https://www.nhostbd.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742075129223","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"server":"https://tawk.link","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",true],"network_stats":{"srtt":13383},"server":"https://challenges.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742078404745","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"network_stats":{"srtt":19504},"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"network_stats":{"srtt":20169},"server":"https://embed.tawk.to","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"network_stats":{"srtt":20169},"server":"https://va.tawk.to"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742123779961","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742124716530","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"server":"https://www.gstatic.com","supports_spdy":true},{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"server":"https://universe-static.elfsightcdn.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2hvc3RldmVyLmNvbQ==",false],"network_stats":{"srtt":210451},"server":"https://www.hostever.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742125788383","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",true],"server":"https://www.gstatic.com","supports_spdy":true},{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"server":"https://static.elfsight.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742147623818","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"network_stats":{"srtt":17460},"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"network_stats":{"srtt":19570},"server":"https://embed.tawk.to","supports_spdy":true},{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"network_stats":{"srtt":19570},"server":"https://va.tawk.to"},{"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"network_stats":{"srtt":16573},"server":"https://core.service.elfsight.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742148751922","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",true],"network_stats":{"srtt":21427},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742199958714","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200534229","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200590283","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"server":"https://yt3.ggpht.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200891234","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742202637356","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742202807716","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200105713","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"network_stats":{"srtt":19663},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200887941","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"network_stats":{"srtt":17933},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200952499","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",true],"network_stats":{"srtt":18883},"server":"https://jnn-pa.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742242352910","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742242685594","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"server":"https://www.ebnhost.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742119568803","port":444,"protocol_str":"quic"}],"anonymization":["HAAAABgAAABodHRwczovL2JsYWNraG9zdC5jb20uYmQ=",false],"network_stats":{"srtt":203221},"server":"https://www.blackhost.com.bd"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742200074549","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3pob3N0YmQuY29tAA==",false],"network_stats":{"srtt":287868},"server":"https://www.zhostbd.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"network_stats":{"srtt":17699},"server":"https://embed.tawk.to","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742377098256","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742377332335","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"server":"https://www.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"server":"https://merchant-ui-api.stripe.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"server":"https://hcaptcha.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"server":"https://m.stripe.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742378113944","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":21342},"server":"https://www.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":30772},"server":"https://js.stripe.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742378508383","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":19199},"server":"https://www.google.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":14822},"server":"https://api.hcaptcha.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":14822},"server":"https://newassets.hcaptcha.com"},{"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":18489},"server":"https://js.stripe.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742437445210","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://code.jquery.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742438771021","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://ajax.googleapis.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://tile.openstreetmap.org","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://api.ipify.org","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://g.ezoic.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742447436236","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",true],"server":"https://maps.gstatic.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"server":"https://www.iplocation.net","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"network_stats":{"srtt":16099},"server":"https://stackpath.bootstrapcdn.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"network_stats":{"srtt":21276},"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"network_stats":{"srtt":17282},"server":"https://challenges.cloudflare.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"network_stats":{"srtt":20733},"server":"https://cdnjs.cloudflare.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",false],"network_stats":{"srtt":140321},"server":"https://www.ezojs.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742452648223","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",true],"network_stats":{"srtt":18783},"server":"https://maps.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742454715638","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",true],"network_stats":{"srtt":55118},"server":"https://maps.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742455039850","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABYAAABodHRwczovL2lwbG9jYXRpb24ubmV0AAA=",true],"network_stats":{"srtt":35297},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742538639103","port":443,"protocol_str":"quic"}],"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"server":"https://static.libsyn.com","supports_spdy":true},{"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"server":"https://maps.whatismyipaddress.info","supports_spdy":true},{"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"network_stats":{"srtt":278873},"server":"https://app.fusebox.fm","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL25vcmR2cG4uY29tAA==",false],"server":"https://s1.nordcdn.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742577260283","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL25vcmR2cG4uY29tAA==",false],"server":"https://www.googletagmanager.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL25vcmR2cG4uY29tAA==",false],"server":"https://sb.nordcdn.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL25vcmR2cG4uY29tAA==",false],"network_stats":{"srtt":231642},"server":"https://web-api.nordvpn.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383742556046195","port":443,"protocol_str":"quic"}],"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"network_stats":{"srtt":303049},"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"network_stats":{"srtt":301692},"server":"https://zipthelake.com","supports_spdy":true},{"anonymization":["JAAAAB0AAABodHRwczovL3doYXRpc215aXBhZGRyZXNzLmNvbQAAAA==",false],"network_stats":{"srtt":296723},"server":"https://whatismyipaddress.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL25vcmR2cG4uY29tAA==",false],"network_stats":{"srtt":283202},"server":"https://nordvpn.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2Vibmhvc3QuY29tAA==",false],"network_stats":{"srtt":17699},"server":"https://va.tawk.to"},{"anonymization":["GAAAABMAAABodHRwczovL25vcmR2cG4uY29tAA==",false],"network_stats":{"srtt":78262},"server":"https://d.nordvpn.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747263206364","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"server":"https://apis.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747263839648","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747264291433","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747265354479","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",true],"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747279504586","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",true],"server":"https://accounts.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747280167589","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",true],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"network_stats":{"srtt":20028},"server":"https://connect.facebook.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"network_stats":{"srtt":13194},"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"network_stats":{"srtt":19493},"server":"https://media.istockphoto.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747274058094","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",true],"network_stats":{"srtt":16503},"server":"https://www.google.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"network_stats":{"srtt":17522},"server":"https://cdn.pixabay.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383747279186836","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"network_stats":{"srtt":178273},"server":"https://accounts.google.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3BpeGFiYXkuY29tAA==",false],"network_stats":{"srtt":17522},"server":"https://pixabay.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"server":"https://challenges.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383748018463653","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL29wZW5haS5jb20AAA==",false],"server":"https://featureassets.org","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL29wZW5haS5jb20AAA==",false],"server":"https://chatgpt.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":26280},"server":"https://lh5.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383748022262067","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"server":"https://accounts.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383748032646715","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://accounts.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383748033262190","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2dvb2dsZS5jby5pbg==",false],"server":"https://accounts.google.co.in","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",true],"network_stats":{"srtt":18775},"server":"https://challenges.cloudflare.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL29wZW5haS5jb20AAA==",false],"network_stats":{"srtt":34150},"server":"https://auth.openai.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"server":"https://tse3.mm.bing.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3NvbWVnaXQuZGV2AA==",false],"server":"https://somegit.dev","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",false],"server":"https://cdn.iframe.ly","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",false],"server":"https://ka-p.fontawesome.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"server":"https://cdn.iframe.ly","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755679205832","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755679413136","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755679439112","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755679449110","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"server":"https://yt3.ggpht.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",false],"server":"https://4236364459-files.gitbook.io","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"server":"https://facebook.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755678980519","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"network_stats":{"srtt":24546},"server":"https://www.youtube.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",false],"network_stats":{"srtt":13538},"server":"https://api.gitbook.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",false],"network_stats":{"srtt":13538},"server":"https://static.gitbook.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755679782190","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"network_stats":{"srtt":19601},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383755679914084","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",true],"network_stats":{"srtt":18713},"server":"https://jnn-pa.googleapis.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2kxOG5leHQuY29tAA==",false],"network_stats":{"srtt":17825},"server":"https://react.i18next.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"server":"https://reg-e2ee.facebook.com","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://www.facebook.com","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://external-atl3-2.xx.fbcdn.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":19101},"server":"https://scontent.cdninstagram.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":19631},"server":"https://static.cdninstagram.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":9885},"server":"https://instagram.fixc2-1.fna.fbcdn.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":15603},"server":"https://instagram.fixc2-2.fna.fbcdn.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":80591},"server":"https://www.threads.net","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL3NoaWVsZHMuaW8AAA==",false],"network_stats":{"srtt":149389},"server":"https://img.shields.io"},{"anonymization":["GAAAABIAAABodHRwczovL3NoaWVsZHMuaW8AAA==",false],"network_stats":{"srtt":149389},"server":"https://shields.io","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"network_stats":{"srtt":144178},"server":"https://img.shields.io","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3JlYWRtZS5zbwAAAA==",false],"network_stats":{"srtt":234325},"server":"https://img.shields.io","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JsYWNrYm94LmFpAA==",false],"server":"https://blackbox.ai","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JsYWNrYm94LmFpAA==",false],"server":"https://www.useblackbox.io","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383766350070323","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JsYWNrYm94LmFpAA==",false],"network_stats":{"srtt":91744},"server":"https://accounts.google.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JsYWNrYm94LmFpAA==",false],"server":"https://www.blackbox.ai","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://l.instagram.com","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://scontent-atl3-2.xx.fbcdn.net","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://cdn.cookielaw.org","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://geolocation.onetrust.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383767640361096","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",true],"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://app.launchdarkly.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383767641799345","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",true],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://epsilon.6sense.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://i.vimeocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://s.swiftypecdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",true],"server":"https://c.navattic.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://about.gitlab.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://images.ctfassets.net","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",true],"server":"https://capture.navattic.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383766909732802","port":443,"protocol_str":"quic"}],"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383766912922167","port":443,"protocol_str":"quic"}],"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"server":"https://cdn.pixabay.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"server":"https://api.github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://user-content.gitlab-static.net","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGxhYi5jb20AAA==",false],"server":"https://gitlab.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL3R3aXR0ZXIuY29tAA==",false],"server":"https://twitter.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824433680658","port":443,"protocol_str":"quic"}],"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",true],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://twitter.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://analytics.twitter.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://ads-api.x.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://ton.twitter.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824433358841","port":443,"protocol_str":"quic"}],"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"network_stats":{"srtt":80548},"server":"https://accounts.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824437749173","port":443,"protocol_str":"quic"}],"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",true],"network_stats":{"srtt":86044},"server":"https://accounts.google.com","supports_spdy":true},{"anonymization":["EAAAAAwAAABodHRwczovL3QuY28=",false],"server":"https://t.co","supports_spdy":true},{"anonymization":["FAAAAA4AAABodHRwczovL2Rldi50bwAA",false],"server":"https://unpkg.com","supports_spdy":true},{"anonymization":["FAAAAA4AAABodHRwczovL2Rldi50bwAA",false],"server":"https://media2.dev.to","supports_spdy":true},{"anonymization":["FAAAAA4AAABodHRwczovL2Rldi50bwAA",false],"server":"https://assets.dev.to","supports_spdy":true},{"anonymization":["FAAAAA4AAABodHRwczovL2Rldi50bwAA",false],"server":"https://dev.to","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824536099934","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":87249},"server":"https://accounts.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824766178707","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":19408},"server":"https://r5---sn-qxaeen7l.googlevideo.com"},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20113},"server":"https://r2---sn-qxaeenld.googlevideo.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824802626311","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":29142},"server":"https://youtube.googleapis.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824802933623","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":51039},"server":"https://peoplestackwebexperiments-pa.clients6.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824803342418","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":52685},"server":"https://peoplestack-pa.clients6.google.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18372},"server":"https://r5---sn-qxaelnl7.googlevideo.com"},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":19828},"server":"https://r5---sn-qxaeense.googlevideo.com"},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":22115},"server":"https://r4---sn-qxaeenlz.googlevideo.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824841151125","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":16835},"server":"https://r3---sn-qxaeenlz.googlevideo.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824845558221","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":22426},"server":"https://scone-pa.clients6.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824845560600","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18017},"server":"https://photos.fife.usercontent.google.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2pwZzJwbmcuY29tAA==",false],"server":"https://jpg2png.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824767742698","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":38246},"server":"https://apis.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383825023595379","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":38246},"server":"https://photos.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383765509792126","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABEAAABodHRwczovL3JlYWRtZS5zbwAAAA==",false],"network_stats":{"srtt":18434},"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3JlYWRtZS5zbwAAAA==",false],"network_stats":{"srtt":16211},"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3JlYWRtZS5zbwAAAA==",false],"server":"https://readme.so","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381319559577545","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABEAAABodHRwczovL3JlYWRtZS5zbwAAAA==",false],"network_stats":{"srtt":23355},"server":"https://cdnjs.buymeacoffee.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"server":"https://medium.zendesk.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"server":"https://static.zdassets.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"server":"https://use.fontawesome.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"server":"https://help.medium.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381320022217981","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":78468},"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3R3aW1nLmNvbQAAAA==",false],"server":"https://pbs.twimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381320170099972","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":15532},"server":"https://cdn-images-1.medium.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381320170097758","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"server":"https://cdnjs.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381320170560010","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":15532},"server":"https://cdn-static-1.medium.com"},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://prod-fastly-eu-west-3.video.pscp.tv","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://prod-fastly-us-east-1.video.pscp.tv","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://prod-fastly-us-west-2.video.pscp.tv","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824535915186","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383824536431736","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",true],"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381320395736346","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":28462},"server":"https://glyph.medium.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381320596615464","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":55507},"server":"https://miro.medium.com"},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://abs-0.twimg.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://video.twimg.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://api.x.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://abs.twimg.com","supports_spdy":true},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://pbs.twimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383827822565730","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":38077},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383827823171359","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",true],"network_stats":{"srtt":48103},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381322217242697","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":17038},"server":"https://cdn-client.medium.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381322223739339","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":17038},"server":"https://medium.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381322218621340","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL21lZGl1bS5jb20AAA==",false],"network_stats":{"srtt":17038},"server":"https://eshanized.medium.com"},{"anonymization":["FAAAAA0AAABodHRwczovL3guY29tAAAA",false],"server":"https://x.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383828080944937","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"network_stats":{"srtt":31277},"server":"https://t2.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383829663387389","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"server":"https://t1.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383767164510606","port":443,"protocol_str":"quic"}],"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"network_stats":{"srtt":47370},"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"server":"https://cdn.pixabay.com","supports_spdy":true},{"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"server":"https://snigdha-os.github.io","supports_spdy":true},{"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"server":"https://api.github.com","supports_spdy":true},{"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383829663488683","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"network_stats":{"srtt":29174},"server":"https://t3.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383829674331593","port":443,"protocol_str":"quic"}],"anonymization":["IAAAABwAAABodHRwczovL3NuaWdkaGEtb3MuZ2l0aHViLmlv",false],"network_stats":{"srtt":19582},"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383829979788003","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"network_stats":{"srtt":66311},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383829979968108","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"network_stats":{"srtt":30787},"server":"https://t0.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL2pvYmhpdmVzLmNvbQ==",false],"server":"https://api.qrserver.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"server":"https://ab.chatgpt.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381325284287759","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"network_stats":{"srtt":38036},"server":"https://cdn.oaistatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383830790187021","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2pvYmhpdmVzLmNvbQ==",false],"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2NoYXRncHQuY29tAA==",false],"server":"https://chatgpt.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383830790135685","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2pvYmhpdmVzLmNvbQ==",false],"network_stats":{"srtt":173812},"server":"https://jobhives.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383830729170981","port":443,"protocol_str":"quic"}],"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"network_stats":{"srtt":23626},"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwOi8vbG9jYWxob3N0",false],"server":"https://api.qrserver.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383831817338748","port":443,"protocol_str":"quic"}],"anonymization":["JAAAAB0AAABodHRwczovL2dvb2dsZXVzZXJjb250ZW50LmNvbQAAAA==",false],"network_stats":{"srtt":24146},"server":"https://lh5.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381326221950075","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":38498},"server":"https://hostnil.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383831822198728","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":86790},"server":"https://hostnil.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851059419256","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":240045},"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851060452655","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":15527},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851060675817","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":172480},"server":"https://accounts.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851060896743","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":16772},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381326377528495","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABEAAABodHRwczovL3Byb3Rvbi5tZQAAAA==",false],"network_stats":{"srtt":18140},"server":"https://pmecdn.protonweb.com","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3Byb3Rvbi5tZQAAAA==",false],"server":"https://proton.me","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3Byb3Rvbi5tZQAAAA==",false],"server":"https://account-api.proton.me","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851634991677","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://img.youtube.com","supports_spdy":true},{"anonymization":["GAAAABEAAABodHRwczovL3Byb3Rvbi5tZQAAAA==",false],"server":"https://account.proton.me","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851915047822","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",true],"network_stats":{"srtt":243813},"server":"https://accounts.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851879717769","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2hvc3RuaWwuY29tAA==",false],"network_stats":{"srtt":222085},"server":"https://clients.hostnil.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851859758606","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20340},"server":"https://play.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383854470013733","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://csp.withgoogle.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851637968404","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18208},"server":"https://ssl.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383854469569130","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":17777},"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383854473282364","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":54921},"server":"https://ogs.google.com","supports_spdy":true},{"anonymization":["GAAAABQAAABodHRwczovL3BpY2p1bWJvLmNvbQ==",false],"server":"https://picjumbo.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381349346558735","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://instagram.fgau1-2.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381349353917292","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://scontent.cdninstagram.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381349333312198","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL3BpY2p1bWJvLmNvbQ==",false],"network_stats":{"srtt":20179},"server":"https://media.istockphoto.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381349333374149","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL3BpY2p1bWJvLmNvbQ==",false],"network_stats":{"srtt":44425},"server":"https://i0.wp.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381349364240030","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"network_stats":{"srtt":300925},"server":"https://scontent-atl3-1.xx.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350819647391","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"network_stats":{"srtt":16967},"server":"https://scontent.xx.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350820768659","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",true],"server":"https://www.fbsbx.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381349344599103","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",true],"server":"https://static.xx.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350828712556","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"server":"https://external.fixc2-1.fna.fbcdn.net"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350815964443","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"network_stats":{"srtt":73589},"server":"https://instagram.fixc2-2.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350815971752","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"network_stats":{"srtt":90674},"server":"https://instagram.fixc2-1.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350821051002","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",true],"network_stats":{"srtt":28035},"server":"https://static.xx.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350821964831","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",true],"network_stats":{"srtt":81677},"server":"https://www.facebook.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350853274858","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"network_stats":{"srtt":78989},"server":"https://scontent.fixc2-2.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350854343465","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"network_stats":{"srtt":91832},"server":"https://scontent.fixc2-1.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383857659531407","port":443,"protocol_str":"quic"}],"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383857659729768","port":443,"protocol_str":"quic"}],"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",true],"server":"https://c.staticblitz.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",false],"server":"https://bolt.new","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",true],"server":"https://stackblitz.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",true],"server":"https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3.w-credentialless-staticblitz.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",true],"server":"https://w-credentialless-staticblitz.com","supports_spdy":true},{"anonymization":["FAAAABAAAABodHRwczovL2JvbHQubmV3",true],"server":"https://local.webcontainer.io","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL3N0YWNrYmxpdHouY29tAAA=",false],"server":"https://c.staticblitz.com","supports_spdy":true},{"anonymization":["HAAAABYAAABodHRwczovL3N0YWNrYmxpdHouY29tAAA=",false],"server":"https://stackblitz.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381352186826889","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"network_stats":{"srtt":22905},"server":"https://static.xx.fbcdn.net","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"server":"https://edge-chat.facebook.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350446024130","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"network_stats":{"srtt":21051},"server":"https://static.cdninstagram.com","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"network_stats":{"srtt":35352},"server":"https://www.instagram.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381350445338876","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2luc3RhZ3JhbS5jb20AAAA=",false],"network_stats":{"srtt":17522},"server":"https://graph.instagram.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381352091814487","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABQAAABodHRwczovL2ZhY2Vib29rLmNvbQ==",false],"network_stats":{"srtt":29343},"server":"https://www.facebook.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://private-user-images.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://camo.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://github.githubassets.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://api.github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://collector.github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20974},"server":"https://lh3.googleusercontent.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851656451475","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20766},"server":"https://play-lh.googleusercontent.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851637135760","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":15988},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862033872113","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://encrypted-tbn3.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851656111499","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20217},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383851635281850","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"network_stats":{"srtt":23194},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381356439754040","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABEAAABodHRwczovL2dub21lLm9yZwAAAA==",false],"server":"https://secure.gravatar.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862032829567","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":112440},"server":"https://id.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862033113377","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":60685},"server":"https://ogads-pa.clients6.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862033116857","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":55019},"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862033873817","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20637},"server":"https://encrypted-tbn2.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862033863090","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18356},"server":"https://encrypted-tbn1.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862034014034","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":15584},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862034416972","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":87132},"server":"https://accounts.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862034552816","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"network_stats":{"srtt":24876},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862034995163","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"network_stats":{"srtt":18009},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862035090158","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"network_stats":{"srtt":22856},"server":"https://jnn-pa.googleapis.com","supports_spdy":true},{"anonymization":["HAAAABcAAABodHRwczovL2dhcnVkYWxpbnV4Lm9yZwA=",false],"server":"https://builds.garudalinux.org","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862081475490","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":59323},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383862081573386","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2dzdGF0aWMuY29tAA==",false],"network_stats":{"srtt":21412},"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381273696446835","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2FyY2hsaW51eC5vcmcAAAA=",false],"network_stats":{"srtt":230786},"server":"https://aur.archlinux.org","supports_spdy":true}],"supports_quic":{"address":"192.168.1.69","used_quic":true},"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"3G","CAISABiAgICA+P////8B":"4G","CAYSABiAgICA+P////8B":"Offline"}}} \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.qRnbkP b/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.qRnbkP new file mode 100644 index 0000000..67c45aa --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/.org.chromium.Chromium.qRnbkP @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"servers":[{"anonymization":["GAAAABEAAABodHRwczovL2JyYXZlLmNvbQAAAA==",false],"server":"https://dict.brave.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://private-user-images.githubusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224605631","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731227270758","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://b.basemaps.cartocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://a.basemaps.cartocdn.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731221770687","port":443,"protocol_str":"quic"}],"anonymization":["JAAAAB0AAABodHRwczovL2dvb2dsZXVzZXJjb250ZW50LmNvbQAAAA==",false],"network_stats":{"srtt":19209},"server":"https://lh5.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224433503","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":20408},"server":"https://id.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731225282708","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":35926},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731226126164","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",true],"network_stats":{"srtt":17628},"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225627551870","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":12232},"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225628835405","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":15246},"server":"https://status.chaotic.cx","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225628923607","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":18970},"server":"https://cdnjs.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381225629403994","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"network_stats":{"srtt":15710},"server":"https://aur.chaotic.cx","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2NoYW90aWMuY3gAAA==",false],"server":"https://builds.garudalinux.org","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731567691339","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":17121},"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731568529929","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731568606375","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://www.youtube.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569189755","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":18567},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731569150265","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731692912697","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":15281},"server":"https://lh3.googleusercontent.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731690493718","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":22564},"server":"https://jnn-pa.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731696767648","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":6656},"server":"https://rr2---sn-905qg5ou-qxa6.googlevideo.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731693013808","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":16631},"server":"https://i.ytimg.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731695641053","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3lvdXR1YmUuY29tAA==",false],"network_stats":{"srtt":17707},"server":"https://music.youtube.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://camo.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://collector.github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://github.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://github.githubassets.com","supports_spdy":true},{"anonymization":["HAAAABcAAABodHRwczovL2dhcnVkYWxpbnV4Lm9yZwA=",false],"server":"https://builds.garudalinux.org","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dpdGh1Yi5jb20AAA==",false],"server":"https://api.github.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381144090787941","port":443,"protocol_str":"quic"}],"anonymization":["HAAAABUAAABodHRwczovL2FyY2hsaW51eC5vcmcAAAA=",false],"network_stats":{"srtt":330510},"server":"https://aur.archlinux.org","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383731224476301","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":18704},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732769978139","port":443,"protocol_str":"quic"}],"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://eshanized.github.io","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732770392148","port":443,"protocol_str":"quic"}],"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732765352831","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2dzdGF0aWMuY29tAA==",false],"network_stats":{"srtt":62030},"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://api.github.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://opengraph.githubassets.com","supports_spdy":true},{"anonymization":["IAAAABsAAABodHRwczovL2VzaGFuaXplZC5naXRodWIuaW8A",false],"server":"https://avatars.githubusercontent.com","supports_spdy":true},{"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"server":"https://lookaside.fbsbx.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381227237599654","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"server":"https://instagram.fixc2-2.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732834408609","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":16395},"server":"https://encrypted-tbn0.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732834411641","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":15693},"server":"https://www.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732834407091","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":16829},"server":"https://encrypted-tbn2.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13383732835733091","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABIAAABodHRwczovL2dvb2dsZS5jb20AAA==",false],"network_stats":{"srtt":17193},"server":"https://www.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381227239183936","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":23130},"server":"https://static.cdninstagram.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381227237379488","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":12810},"server":"https://instagram.fixc2-1.fna.fbcdn.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13381227316920950","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL3RocmVhZHMubmV0AA==",false],"network_stats":{"srtt":96758},"server":"https://www.threads.net","supports_spdy":true}],"supports_quic":{"address":"192.168.1.29","used_quic":true},"version":5},"network_qualities":{"CAISABiAgICA+P////8B":"4G"}}} \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Affiliation Database b/BraveSoftware/Brave-Browser/Default/Affiliation Database new file mode 100644 index 0000000..9d19f9d Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Affiliation Database differ diff --git a/BraveSoftware/Brave-Browser/Default/Affiliation Database-journal b/BraveSoftware/Brave-Browser/Default/Affiliation Database-journal new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/AutofillStrikeDatabase/LOCK b/BraveSoftware/Brave-Browser/Default/AutofillStrikeDatabase/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/AutofillStrikeDatabase/LOG b/BraveSoftware/Brave-Browser/Default/AutofillStrikeDatabase/LOG new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/AutofillStrikeDatabase/LOG.old b/BraveSoftware/Brave-Browser/Default/AutofillStrikeDatabase/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Bookmarks b/BraveSoftware/Brave-Browser/Default/Bookmarks new file mode 100644 index 0000000..a66145a --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Bookmarks @@ -0,0 +1,65 @@ +{ + "checksum": "b81ce88b1c1d48e0a21a7b818bddc01f", + "roots": { + "bookmark_bar": { + "children": [ ], + "date_added": "13381355416679344", + "date_last_used": "0", + "date_modified": "0", + "guid": "0bc5d13f-2cba-5d74-951f-3f233fe6c908", + "id": "1", + "name": "Bookmarks", + "type": "folder" + }, + "other": { + "children": [ { + "children": [ { + "children": [ { + "date_added": "13381525130302734", + "date_last_used": "0", + "guid": "1bda7ae6-8907-4247-8577-436e23c18560", + "id": "9", + "meta_info": { + "power_bookmark_meta": "" + }, + "name": "SNIGDHA OS · GitLab", + "type": "url", + "url": "https://gitlab.com/SnigdhaOS" + } ], + "date_added": "13381356153748966", + "date_last_used": "0", + "date_modified": "13381525130302734", + "guid": "f4e43918-bd39-4cd0-887e-ba1fa59e51f5", + "id": "6", + "name": "Bookmarks", + "type": "folder" + } ], + "date_added": "13381356134574670", + "date_last_used": "0", + "date_modified": "13381356153749043", + "guid": "33d20769-71b4-4df8-9e8a-a163c23a8106", + "id": "5", + "name": "Homey", + "type": "folder" + } ], + "date_added": "13381355416679346", + "date_last_used": "0", + "date_modified": "13381525108632025", + "guid": "82b081ec-3dd3-529c-8475-ab6c344590dd", + "id": "2", + "name": "Other bookmarks", + "type": "folder" + }, + "synced": { + "children": [ ], + "date_added": "13381355416679348", + "date_last_used": "0", + "date_modified": "0", + "guid": "4cf2e351-0e85-532b-bb37-df045d8f8d0f", + "id": "3", + "name": "Mobile bookmarks", + "type": "folder" + } + }, + "version": 1 +} diff --git a/BraveSoftware/Brave-Browser/Default/Bookmarks.bak b/BraveSoftware/Brave-Browser/Default/Bookmarks.bak new file mode 100644 index 0000000..a66145a --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Bookmarks.bak @@ -0,0 +1,65 @@ +{ + "checksum": "b81ce88b1c1d48e0a21a7b818bddc01f", + "roots": { + "bookmark_bar": { + "children": [ ], + "date_added": "13381355416679344", + "date_last_used": "0", + "date_modified": "0", + "guid": "0bc5d13f-2cba-5d74-951f-3f233fe6c908", + "id": "1", + "name": "Bookmarks", + "type": "folder" + }, + "other": { + "children": [ { + "children": [ { + "children": [ { + "date_added": "13381525130302734", + "date_last_used": "0", + "guid": "1bda7ae6-8907-4247-8577-436e23c18560", + "id": "9", + "meta_info": { + "power_bookmark_meta": "" + }, + "name": "SNIGDHA OS · GitLab", + "type": "url", + "url": "https://gitlab.com/SnigdhaOS" + } ], + "date_added": "13381356153748966", + "date_last_used": "0", + "date_modified": "13381525130302734", + "guid": "f4e43918-bd39-4cd0-887e-ba1fa59e51f5", + "id": "6", + "name": "Bookmarks", + "type": "folder" + } ], + "date_added": "13381356134574670", + "date_last_used": "0", + "date_modified": "13381356153749043", + "guid": "33d20769-71b4-4df8-9e8a-a163c23a8106", + "id": "5", + "name": "Homey", + "type": "folder" + } ], + "date_added": "13381355416679346", + "date_last_used": "0", + "date_modified": "13381525108632025", + "guid": "82b081ec-3dd3-529c-8475-ab6c344590dd", + "id": "2", + "name": "Other bookmarks", + "type": "folder" + }, + "synced": { + "children": [ ], + "date_added": "13381355416679348", + "date_last_used": "0", + "date_modified": "0", + "guid": "4cf2e351-0e85-532b-bb37-df045d8f8d0f", + "id": "3", + "name": "Mobile bookmarks", + "type": "folder" + } + }, + "version": 1 +} diff --git a/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/000003.log b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/000003.log new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/CURRENT b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOCK b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOG b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOG new file mode 100644 index 0000000..3def8dc --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOG @@ -0,0 +1,3 @@ +2025/01/18-01:45:23.067 1450 Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/MANIFEST-000001 +2025/01/18-01:45:23.067 1450 Recovering log #3 +2025/01/18-01:45:23.067 1450 Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOG.old b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOG.old new file mode 100644 index 0000000..dd5cdb2 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/LOG.old @@ -0,0 +1,3 @@ +2025/01/18-01:39:15.444 e4a Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/MANIFEST-000001 +2025/01/18-01:39:15.444 e4a Recovering log #3 +2025/01/18-01:39:15.444 e4a Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/MANIFEST-000001 b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/BraveWallet/Brave Wallet Storage/MANIFEST-000001 differ diff --git a/BraveSoftware/Brave-Browser/Default/BudgetDatabase/LOCK b/BraveSoftware/Brave-Browser/Default/BudgetDatabase/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/BudgetDatabase/LOG b/BraveSoftware/Brave-Browser/Default/BudgetDatabase/LOG new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/BudgetDatabase/LOG.old b/BraveSoftware/Brave-Browser/Default/BudgetDatabase/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/ClientCertificates/LOCK b/BraveSoftware/Brave-Browser/Default/ClientCertificates/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/ClientCertificates/LOG b/BraveSoftware/Brave-Browser/Default/ClientCertificates/LOG new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/ClientCertificates/LOG.old b/BraveSoftware/Brave-Browser/Default/ClientCertificates/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Cookies b/BraveSoftware/Brave-Browser/Default/Cookies new file mode 100644 index 0000000..a69b61f Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Cookies differ diff --git a/BraveSoftware/Brave-Browser/Default/Cookies-journal b/BraveSoftware/Brave-Browser/Default/Cookies-journal new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/DNR Extension Rules/lllnjdmfnfjifcfpppjmcnanpokikcpl/rules.fbs b/BraveSoftware/Brave-Browser/Default/DNR Extension Rules/lllnjdmfnfjifcfpppjmcnanpokikcpl/rules.fbs new file mode 100644 index 0000000..3e46b55 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DNR Extension Rules/lllnjdmfnfjifcfpppjmcnanpokikcpl/rules.fbs differ diff --git a/BraveSoftware/Brave-Browser/Default/DNR Extension Rules/lllnjdmfnfjifcfpppjmcnanpokikcpl/rules.json b/BraveSoftware/Brave-Browser/Default/DNR Extension Rules/lllnjdmfnfjifcfpppjmcnanpokikcpl/rules.json new file mode 100644 index 0000000..36f09c0 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/DNR Extension Rules/lllnjdmfnfjifcfpppjmcnanpokikcpl/rules.json @@ -0,0 +1 @@ +[{"action":{"requestHeaders":[{"header":"Sec-Fetch-Dest","operation":"set","value":"document"}],"responseHeaders":[{"header":"X-Frame-Options","operation":"remove"},{"header":"report-to","operation":"remove"},{"header":"content-security-policy-report-only","operation":"remove"},{"header":"content-security-policy","operation":"remove"}],"type":"modifyHeaders"},"condition":{"initiatorDomains":["lllnjdmfnfjifcfpppjmcnanpokikcpl"],"requestDomains":["translate.google.com","drive.google.com","keep.google.com","www.google.com","news.google.com","photos.google.com","www.youtube.com","music.youtube.com","chatgpt.com","gemini.google.com","web.whatsapp.com","www.tiktok.com","www.instagram.com","www.youtube.com"],"resourceTypes":["sub_frame"]},"id":1,"priority":1}] \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_0 b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_0 new file mode 100644 index 0000000..d76fb77 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_0 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_1 b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_1 new file mode 100644 index 0000000..fd70f92 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_1 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_2 b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_2 new file mode 100644 index 0000000..c7e2eb9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_2 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_3 b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_3 new file mode 100644 index 0000000..5eec973 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/data_3 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/index b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/index new file mode 100644 index 0000000..4e5aa4c Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnGraphiteCache/index differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_0 b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_0 new file mode 100644 index 0000000..d76fb77 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_0 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_1 b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_1 new file mode 100644 index 0000000..535fda5 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_1 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_2 b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_2 new file mode 100644 index 0000000..c7e2eb9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_2 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_3 b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_3 new file mode 100644 index 0000000..5eec973 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/data_3 differ diff --git a/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/index b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/index new file mode 100644 index 0000000..9200da6 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/DawnWebGPUCache/index differ diff --git a/BraveSoftware/Brave-Browser/Default/Download Service/EntryDB/LOCK b/BraveSoftware/Brave-Browser/Default/Download Service/EntryDB/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Download Service/EntryDB/LOG b/BraveSoftware/Brave-Browser/Default/Download Service/EntryDB/LOG new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Download Service/EntryDB/LOG.old b/BraveSoftware/Brave-Browser/Default/Download Service/EntryDB/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Extension Cookies b/BraveSoftware/Brave-Browser/Default/Extension Cookies new file mode 100644 index 0000000..b911f5b Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension Cookies differ diff --git a/BraveSoftware/Brave-Browser/Default/Extension Cookies-journal b/BraveSoftware/Brave-Browser/Default/Extension Cookies-journal new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Extension Rules/000003.log b/BraveSoftware/Brave-Browser/Default/Extension Rules/000003.log new file mode 100644 index 0000000..8414c83 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension Rules/000003.log differ diff --git a/BraveSoftware/Brave-Browser/Default/Extension Rules/CURRENT b/BraveSoftware/Brave-Browser/Default/Extension Rules/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension Rules/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/BraveSoftware/Brave-Browser/Default/Extension Rules/LOCK b/BraveSoftware/Brave-Browser/Default/Extension Rules/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Extension Rules/LOG b/BraveSoftware/Brave-Browser/Default/Extension Rules/LOG new file mode 100644 index 0000000..840d17b --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension Rules/LOG @@ -0,0 +1,3 @@ +2025/01/17-21:29:27.133 1756d Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Rules/MANIFEST-000001 +2025/01/17-21:29:27.133 1756d Recovering log #3 +2025/01/17-21:29:27.133 1756d Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Rules/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/Extension Rules/LOG.old b/BraveSoftware/Brave-Browser/Default/Extension Rules/LOG.old new file mode 100644 index 0000000..e7182ba --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension Rules/LOG.old @@ -0,0 +1,3 @@ +2025/01/15-00:52:13.850 7e7 Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Rules/MANIFEST-000001 +2025/01/15-00:52:13.850 7e7 Recovering log #3 +2025/01/15-00:52:13.850 7e7 Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Rules/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/Extension Rules/MANIFEST-000001 b/BraveSoftware/Brave-Browser/Default/Extension Rules/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension Rules/MANIFEST-000001 differ diff --git a/BraveSoftware/Brave-Browser/Default/Extension Scripts/000003.log b/BraveSoftware/Brave-Browser/Default/Extension Scripts/000003.log new file mode 100644 index 0000000..8414c83 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension Scripts/000003.log differ diff --git a/BraveSoftware/Brave-Browser/Default/Extension Scripts/CURRENT b/BraveSoftware/Brave-Browser/Default/Extension Scripts/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension Scripts/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOCK b/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOG b/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOG new file mode 100644 index 0000000..1f2a983 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOG @@ -0,0 +1,3 @@ +2025/01/17-21:29:27.134 1756d Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Scripts/MANIFEST-000001 +2025/01/17-21:29:27.134 1756d Recovering log #3 +2025/01/17-21:29:27.134 1756d Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Scripts/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOG.old b/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOG.old new file mode 100644 index 0000000..14f499b --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension Scripts/LOG.old @@ -0,0 +1,3 @@ +2025/01/15-00:52:13.850 7e7 Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Scripts/MANIFEST-000001 +2025/01/15-00:52:13.850 7e7 Recovering log #3 +2025/01/15-00:52:13.850 7e7 Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension Scripts/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/Extension Scripts/MANIFEST-000001 b/BraveSoftware/Brave-Browser/Default/Extension Scripts/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension Scripts/MANIFEST-000001 differ diff --git a/BraveSoftware/Brave-Browser/Default/Extension State/000003.log b/BraveSoftware/Brave-Browser/Default/Extension State/000003.log new file mode 100644 index 0000000..2dc5db9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension State/000003.log differ diff --git a/BraveSoftware/Brave-Browser/Default/Extension State/CURRENT b/BraveSoftware/Brave-Browser/Default/Extension State/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension State/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/BraveSoftware/Brave-Browser/Default/Extension State/LOCK b/BraveSoftware/Brave-Browser/Default/Extension State/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/BraveSoftware/Brave-Browser/Default/Extension State/LOG b/BraveSoftware/Brave-Browser/Default/Extension State/LOG new file mode 100644 index 0000000..b71d69d --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension State/LOG @@ -0,0 +1,3 @@ +2025/01/18-01:45:23.522 145d Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension State/MANIFEST-000001 +2025/01/18-01:45:23.522 145d Recovering log #3 +2025/01/18-01:45:23.523 145d Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension State/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/Extension State/LOG.old b/BraveSoftware/Brave-Browser/Default/Extension State/LOG.old new file mode 100644 index 0000000..1992073 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extension State/LOG.old @@ -0,0 +1,3 @@ +2025/01/18-01:39:15.836 e4a Reusing MANIFEST /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension State/MANIFEST-000001 +2025/01/18-01:39:15.837 e4a Recovering log #3 +2025/01/18-01:39:15.838 e4a Reusing old log /home/whoami/.config/BraveSoftware/Brave-Browser/Default/Extension State/000003.log diff --git a/BraveSoftware/Brave-Browser/Default/Extension State/MANIFEST-000001 b/BraveSoftware/Brave-Browser/Default/Extension State/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extension State/MANIFEST-000001 differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/_metadata/computed_hashes.json b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/_metadata/computed_hashes.json new file mode 100644 index 0000000..03bd11e --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/_metadata/computed_hashes.json @@ -0,0 +1 @@ +{"file_hashes":[{"block_hashes":["DtMMHloOFoCIcrQL/KjRDJCoLXqgFRXEVw05eoCErzE=","uAEmK7JBCSwY6Bg783S92DPDxwO4MC8vexvYOjqd8y0=","Q6qGvwrKeAYeTyt79Gwvdyc6nUJx3XMyiXsaw2LhlZ4=","bdYmgeam2IIubkCSD+vcdlD1PYNi2RKrnR32fRyfmNQ="],"block_size":4096,"path":"android-chrome-192x192.png"},{"block_hashes":["lCdpFgGmKDXDgnUayt6ukkkNQWAAgtermaTWk0YfPyE=","ObhMHhF20nNhTjlBX2McFPlpsYEwGymzTDZAxOcrW68=","dTT3v5hde5RfbMi6D3fvcJlN1qWF+Ytv2QKjkapsfCQ=","8RujeYMej0mEjACZWJ1xjTJPNkK4ZiSnoWUtlKm6Zos=","+H6wvOzwd8bjGDsEx0JPN4clY3WwwGOUX8Dg86KMhcE=","aut0TPk28fXMVx2fQj2hSfjS58BXzXdxwYkyu4EZ0Zs=","L+OdtALtTpgir1AoqdMlb4T07ETYELMtqXfL2+PWYUQ=","Gz47uKij4QtHXNDmTbe5oVGIbsRXU2wrmQ86JRfrT+M=","QdxBBJZ9EvavsRx2l+WYSBNf8o2LZYf5bj3dOW9QACE=","sCzj8mkzjS2ZVTkTnASYYmLgieCH0iWdFYQnYmnR6o0=","zTj9Oi2o9OWYr4beyxP3XBzr+uP1OjEQgsBj69y4VRw=","hF8BzDA01xB7E2eh7yk/hKPoPdWkaaT91UB5lBHQiPY=","PjcqgJJo6i2YP3cPHeoLTg5LgkyNlesMG1+5x2YkmkA=","OTbA6QeROgVHNrLWfcbeAi2dXcYGZ82ovHnF+0nrYhc="],"block_size":4096,"path":"android-chrome-512x512.png"},{"block_hashes":["Q72dqMgnKJnThBmOlEGTZBbbz7Jwlg0swe8sstv9360=","LnVLrEHTJ92w6ovEGEzafnRmqAo+3vjlvVnotwsg5PE="],"block_size":4096,"path":"apple-touch-icon.png"},{"block_hashes":["jo6UanfkAP6IV16YZYCsMjiqXj0GQaKGotDFCmU93gs=","vR5T2ud7PlchKxl8q5QnSP+uDTueCYxAN8Q/Zq6XXeA="],"block_size":4096,"path":"assets/Logger-kUgoCvAm.js"},{"block_hashes":["NiMoKsMBdvbFOgGi+C/suqAT9eGNFQV3KucICxPLZkY="],"block_size":4096,"path":"assets/MessageBridge-C2lz_3Ul.js"},{"block_hashes":["qZEuOKPyZgzYxNvEGgKl7FXVvRwFRPT2LpYwpsA0Rj0="],"block_size":4096,"path":"assets/RuntimeBridge-DW3w8fNi.js"},{"block_hashes":["THGIDZO/pXmvorIwlps/7O4Gezmh1wIjSCV66QCR8sA=","IqUd0PMjknO9ZpzzCO/GCz/1GxiCIcwJw3Nnuf5Kkt0="],"block_size":4096,"path":"assets/SandboxBridge-D2h3sBK3.js"},{"block_hashes":["p7LVnWbgzyxx5qXxg9XFRWMh3bQOrHY7MrKZgZ/aK+g=","0n/s3n3qXaQaxcZiDkOynuv1zvHnQwlL4Wvtixgg/Fk=","olltejFlFp26XopvVPx4a83KvCZ/yPwDdsv9Ann/K7o=","/M5QQDO1Bg1UDoU3HVNjSB2A1hpqYUHlXF5HltiNswg=","JmSBiQB9Z0j7ewuQLEVYvwzlbl4GZEpAzw+sCN0L3lc=","4PLESyY6rTCNL3EC790J46Y2JDAqFo1Z9dRfQiViKCw=","5mQlF/NUEi72u/4rUD4SIg1GbQOK8jAAMxiAGru17iE=","uflvnXrkm8S7/HifJWLLMT6E7lCIURxOVwUUa3kurUw=","Raqa5Jv9NFIx/4o4Cmfhrluy/mXWL6gKTeU09cCM3gM=","K88I6MwNdutUzjYsNLgIUITLoswihl6ZLCdtPSqK2V8=","gYb6Nx5RpxxJFtd1RhfKqRzUxhtPZ8a3yxUEy30h75g=","LGB7NOdIuoDUZk9TwD5+Gw/4+qUzC5840GY1sS2cx4k=","r8JhAus4/r0wOKWqkkNDp6WN0lo4PtTUJI5lm9y2XDU=","sfBJbj2nj4718vbJSDpgKZmve0JyNwVtIJtZPVg3QAA=","cRVDcs/EZnQjA9mEx8Pe+dHzHWUdcqtq0ulLYoLyNrc=","OY0F8pi/pWCB0om69jxHxvorBweCwmkgs+BKUx3D6AU=","HzEf2HF5Y2oEIf6sK21Xq31oDdiLgXtwPcntQW0Ob/I=","oevI9ywVBQoWNZ7b9XfopEQ+Cy3cJ28aH+M6qYzTbSQ=","cWkJY7QqLf1p7JMytWxd+P0rj+BloZ0XdUxnL3yFQo0=","kmUBAX023e+Yzw5yGxaNmevXsrLQLSxC3Z8ZrpAYvLo=","tVSbMI/jIQ57QqoMGKDbmG+jiuXkYkC3MjqLcX6bTek=","bTKMPGzQgutfLjLswGo2ECX9yr7gfqmYox2mGUcEb8Q=","XUpsAeDUE+PXAEauH5ajMCMVTuhe8bk2D18PKTENL+8=","rS6DcxfW9+lv8DqmO0NotrZvnVyJPj7cPQpWNiD6bpg=","6+2F3hrLwJVdAlZSlL59WyfDn8GZXsZVUA1ZgG02dLM=","Gf3Gx7ygBvfLi04681mjJ2bJg05nm/rQ8QR+oIAZIg8=","dp+5uJzz2DxsqDD9booq+tJuz0XJb8J1p6nik+08n4g=","xatZ3SVpSOy4nBcUvzImjiykZMvL8gmKk/xftxCP3cc=","aFPsWXl7hc6ZfmSimZ4d9L83x2MDYRnGwQKx6BtNTnI=","gg1BTfNICosA4ZxzZtXN/qi2OvvpxwPCdDTd8MIqaK4=","azfuUVZgpTJhXxM2PebaE7EwI6ZnwwzZdslbaRyVjXM=","TIXDXal0Ub+W2eq6lxkxe7pjDA4+06+S2vEji/HyhhY=","n7qbaO5Q5HUByBgcoN2VehWyWz3LMClZsOmLJBPwfuQ=","Q3CuFW1PZdbH+k0OqIxPZOERoyBsknhexmDeyre9sa0=","NpC8ngrVwDNndB1y0dQMCrrDugUv+eHCoBL/iSOqKzo=","L3DET7Fl3nXsjy6Cvo2Tp9PTG/flal7nc+5ZHuh0tZs=","SFHxb2XNWfg8smiverOxuGlbaP1UYv64nOE5zUe4E/s=","CRcczNlPGAH+BvLogye0QWx3ZQJkd9LJCC1JF8RcK3A=","fe/Ig5dr5CQlMe5TSO35MN1PvHXgQDjLuFVRJ3M+oT0=","zHrH7ijokJYGosUM7sGOREQObTfGW6ygHITql3InfvA=","UT2yG96KUq5gl3yJ8R4yxxMkaIXxABnvgYgbhjMZdZc=","uG7p/gZomQSfv0jzgSXQvB3caqzoliJvAGrjg1dnoUI=","kVk1lOavN7y07da53qkt1fVyinjzpmCj0iq9zXty6f4=","lkpoUPUGIS5VEayBmpy9TMHCSuSIJ6o5E4rv49Gc0BY=","eUpTfd9YRrTjpMyxhYzMAWf3GzqXymbDbWJAAviphJk=","3crMSyCbX+n4/SpUm0bA7NOAd9ixpzPAQrN68SndC8g=","DZ5MOvpf4g5fFZ4EvNao3sdTS+aUXtdh/O75defOjb0=","Msy+ycBJYQ868tXAkBHI27msgClTCkrdFsh5WkVRm/k=","Yh0jWH0W1oEtthAtj3qfgRIhxMkVmMYBeTwZanaWCGA=","SM2WbLZ99739UfEN711/l/3R1xYGGDZSTZOhfV0Iuug=","j+qAiomUynEcfbCRk20exMEu5RWs71jcXWOd1ChdWRI=","+BoYTaz8ckiQ0Qo6RJLtTDwYKusAMogFwvX6hoqKhJo=","1SJzyBsOKPiAkwBmZPKWEXmqZ1NywAE31x4e1waXnQM=","pqRZgBuqD5/t3efCTP4jiCwnAkEcl6/tELW0pmkL5yY=","8f9GtPJjUVvhfTMNAyEZwc5W6B0dSpWt/lHBl29qZ9E=","T5QnVz2yLd1/uMIFvzNeHoUsTbSPiAbpjhhqcZk3D04=","r57gCGTPX3rKR5ckosYnVbBwbj6vRZ0Bik2U7cd2vLk=","qJ9RyLabsRf5Qy709UytoRTmHCg9wmJPGISZFmbSpF8=","5q4IL0zyp+GyEznE81T6KoHVA7krdv+cRdgYxoHxepw=","NCaGUzKn+n/izAQv7QoiZwisHzZQeRTCBv2q0Y60qu4=","qOYw91sTfQj/P9fcW4Hf1xVK2uXtEcplnnigBSV8Hps=","y/T4TY6h7oqogmiDMeED29KiQtVCy4jLh6malz9YktA=","ijBflbm2uPf9pkB9QkqHJTzVELdfxEl+9G8VhgS8hJg=","hvEa3zD4wPb1QVC2VtgDDHpFjzBHljGIvNjYseUx0hk=","QqW3wNHyTAjYmH6OLZ668API09+7yjv9r+CScYkxYmA=","7tx3yG2Cs89ieAuu+wYKA+gmlgEceg6g00ov+Xx/Tys=","v9h4Y5Udu1PGoyDrETtP3WnKuh8+q7Cvzh0KGjCQwls=","BiF8TCOG5atmzG58fkrwYUBXUbQJw6KFFT1YZUtPIbo=","4CcJ1VxYpkidic33S+lPzyk7qEY1Qw7r4+ygKmr6b+s=","mER4JkhTQvsDREAhdHkocafGc9jCTQrpCiJRAQkNA34=","EG2qHIKbogW/hUiCqoWtb8ZwEd2sczTmbNl7Q3Sbw9U=","7NPrCYX40i6W1YiHvNXM+n/s1IuN8GeWk4/n45Pj9rI=","niBIAYTllGZGgtwDkzCqVrxLy6uSMezJJfyK+u+ED9w=","TJpA3ffFzT30/J/QervsnR5kC5EDGhhzAkDMz7L5bt4=","hWl6pLNf3NYiu4tqoXCQRr0Ou7mLGQasrJwmKwIzSMg=","2uXszV8cwJFn6t86FAZEx/2IJLatEjsmKF6ceACYfWU=","ROBZncZXRLXzL6Zi1umfni+vy0gRLTvEEqYUSKUDnDY=","aqifVMRHirwOkQAS7KmlDTk5qV3kawgqx4ePzDuEcYo=","Z+3VFHgXw1/M2i3kmtxIEfgGxmztOd2AU3ZDcPr4k0o=","d83MZASCBHSXJaSz6PMVP6a7PjU73ky/7Gilwhgh3aE=","U0QLtYOKIZZGPnovDx6hVcmVNvktFkKUzJe3JRVc/Ic=","dkHbktdP6xPxZ8IOO4BAgIwKsrH/Eheeu6F3/s/Ne5s=","NAgMqNDtx9Ul5ZQWt7senFlQ3aTmaU04fN8stqU/2oE=","OzDDDoperXzZEOb84Ycy/pSCPX5Z1+z/AyH+2y/HkYg=","VKq75NTYkhL049NWRS1gxU93HUc0Bsu0Smsk77VCc7A=","Tng3GvsHVOy4PMNPLJPeHz7NFHWbKsLoAwiRGpImQYw=","ErffiP7SqmRLZzzIiFmbAtU6L1V+hApEtwGrT6Ew9dM=","7Rkx1rCsbPxpPIe+We9i+bf2vQcmGAa7tdhoHjsSDjY=","MjlAR5ZlUrfvmlHrkNX9TZMheThYKXHI34ZramyUi+g=","9noo6RBXX7uMaQiw6pjSy8f5C+SjMs//qwPssQvSoEg=","CeQt5lOL9CnFx5mqy8ypmnP8zeQB2W1vigJqsOLa44Q="],"block_size":4096,"path":"assets/Scheduler-ITpj7yeF.js"},{"block_hashes":["WRybuztY0y8tMqqKE9+ARWe3rpOPBY6FrsNd0ShF+To=","5atgp9p0ZTzgZOJ4TLah8t1FjxPUdLXLWXifEOULgJg=","kR+ui82p+n/YvD506RU76TGbX5izKCVs5QJ4isr570Y="],"block_size":4096,"path":"assets/author-icon-BlHhmamu.png"},{"block_hashes":["j4ZQ1iByrt4fF/rZal+FwHEje60hR+ZZZlO1/AG2XcU="],"block_size":4096,"path":"assets/index.esm-DBQD-6dI.js"},{"block_hashes":["f1zNbrdA8x00fWnLyIf+JQPHLek4TwowTD+csg8CYU0=","sLHNi1jAOdsU7cVk/Z0jAWo0FVOOUgHVhzbOwi+wm7U=","8q2a+w6o/eaFY+ajB2OMAZHs66sXG5QE5lF3H5z+4PU=","VOoCMw3IV2YY/BAA367MuV2CT0v40NMtAohpap+6Zuk=","azBDOujpa1Aevjmd56pnVpikRFRd/riiunLEDkc2g3I="],"block_size":4096,"path":"assets/logo-Cduupf-4.png"},{"block_hashes":["0qMoQEIUluhyreWRYY0vpcM3l2BdGuwEMBcX5akHV9A="],"block_size":4096,"path":"assets/modulepreload-polyfill-B5Qt9EMX.js"},{"block_hashes":["c3faIxmmG/FK3BydSB/XLiwEPBaJAQpctH03GXMB5wo="],"block_size":4096,"path":"assets/offscreenSandbox-BWLdCiSi.js"},{"block_hashes":["CKVtuEO2lz6bH1K+Mk+VmFFk1lDLgAKTF6qVTtJu6zo="],"block_size":4096,"path":"assets/offscreenStorage-BlM5-N0D.js"},{"block_hashes":["PojyX/5yfeKy00hk9/Ce+UGncOUHHkwYcmUcN3LNOrI=","VSgPBeTpott2GV8fOSOJoqC8ENmq461XLkpbvZGMjTU=","U/JP/7ZMIuR/03xfMb3q8KWJLu/CPbRjqC9F3ESrOyM=","G3jLu0rU6VWniPvttyiCUcdG+4riZQkSiZg7R8yQRBI=","w7bdRILDN8izRMJ0YiB37Vd7TLWy12QCdBZI6IAHRU8=","ip4XMp8jCsJesqX0aV8e3RLNNyPYdgt4PIOoA3xZ+/8=","yyLyuRICr6tuVYuC/5Kfs5sO/ALZxPD3eyDTWtDbNcM=","29L2TVCvZkxKBciFA85skY7z+6jtEhf1vS0hwBpw8pw=","fQbYiAGk5/tZWkBixqY/UIygaLqQ7QBRWtFf6DjIU1o=","G4tNvbVHK09sSIXcL4+xTvB8fYuygQaDv9hMo/jmU1E=","V7c8OszwzIQtAYQQF07Qn55QkXHqDbuQSETlzBQomtk=","pji1N3giG9r5oo5eqFtVbnj2DIyELt2Ny48704vtGvo=","qXYqn9mVxYBtH0glVNm7Suj0MUGJzEv3/9v6h6dmiMM=","kJ+V2xygJyxhxDscmZKlFyAeRpXiWzC0tkmt3zDeNFc=","WCfZnjS2mYQIKbVfhgLQPesXq45qFHFkZzLENrQfP5c=","TfT6orxFBy5zH8LRV18Ayo7r93Pi46rXrLPa9SDFYJo=","8+WUkCu+KP99IC68cb7+C+YcKaGJ08RnsCG+RIsuMeE=","ZIlDqS6fNLUdxZKyWCoqHNTrWjBzr3rJjzn+OfJARbw=","Y1vX0E/iv0L8OeVmy8r0P92nXjnWwROnzAaLufYSJtQ="],"block_size":4096,"path":"assets/options-BaWLMde0.css"},{"block_hashes":["Oi3qhDR8PssYdtd0QMB+IeukmgXgJonatCeoEzYnkdM=","CG1X3OmXDOLZY7IPsWYaS6GhnytcC1CqgyVrvH0yBlA=","GX7HkYbhxe46eLjQ8UZYIiDFxYIVWP+kZS4nrvabjgA=","eZwwO4vqprzxQgdVfDFVfuP7m66GD4C+mwqHQ4r+HmA=","ryCrHQEOAt2PfNe9Xj9YJu3Boa8vw1n5xm9eH4PfErc=","awXGJ8e/1H01Y8o0mH1Vadv1sacoUTC/TykieTz5P9A=","SfpLWa8LXVK5ajtDg3xhpCpmZPqcA8pYCedffJ/cDRI=","Vf6EYxphYLpGi2zY1oF9FnsWfaC08Hlxn6UTxIvYJlo=","v1vGN5kNvn4a4jVaeZZ1EmeYr4bkQ+csbTjWJa3IV+o=","wyOTQ8SmL0tSyGY3GaDT+c0kmmQiZCxT9wgRO0mj1Yo=","sqO5X5yf3WrojZWsdSh/5qu37XHMpYpXfBvpk5DnTcc=","k4hTGwFXz/63Fm193VjHzRhH9V5uv27e3Z4BgQ7sHjU=","Aa0L6U17gdt4lf3GOpINTUbL0UJLAQedp6N8hM/8MVI=","GoQ14FHYMbBBQsabUqs+P349pTUWLihAdlKqDVEa1zQ=","T7Bd6PLmLo6pGnt030R06lmnlNhzpiFRmbAY6f0WO/c=","nUhD+Zat/k7euY6uAGRUCB6sah19xLLapPLV5KX9hnE=","6on3ej8MFd4LidP80YJkKf7hkc4TT1S/+PUQGqXdpGY=","1nJfdwNc8bFddbe9YhDRsU/GGmVTnrSpXSjRmRqEmr0=","lgIdzRt1plg+cXbqXoQy2ewGlsppv+505PNBAK5iSBI=","fZzi+gYje9LHCzYFHSu2l7zMQCgvV7Zb6n6DviOjyWs=","GZNnaegKDkr74+7oMcq+bde6ig/X7r5TSrvj52ODpHI=","LQtojjbkRpjQK09rlq50jeGDWDZbCJdFQHr6GH4Is+g=","F3C+kSGonf/nE85UckCzg+2tfw6z0tCz5pbMjgcWuAM=","ideeSqr0zPSBAWNKuBM7WvJjbqJKGpDy3avRb873gBE=","b0LLYvts4L5voL6i0RvNAMCzKdqOMs5jEk8D2L3mk8Y=","WDmKFQLTNhUaBT+jUAs+sghIzxvLYcRHMETBU8F8mMk=","CNn0F2pB59t5xWEvcp5Pt84f5whMLokT9T2L4cGZZXs=","+rSI2DP7ozXX+n7vkSAwgLK/ynDensk7/LF/QfvUbvA=","Lx0n5cetySUf0Ay/d0qf/dipkB2QEVUrw33eYFrstL0=","LyZ1IWocFDjCz/ppqtCGtO2gHehs3+D16aUzf0dj+NU=","jRRfu5mPVTCRh8mjbfg6X48uT2dN2wmcFwOF957dq2k=","bW+Y8KHE5Wbjcf6zXkH1DtbbgZUrX3hGldFVEq76whE=","yUpk7xD6xdMpkhBoJtEhurw3TxwuzMWRlJCKAOn1d5Q=","cVZujl1LW8LiakSz6BFCYnRXFdi1FASxqdgBvPYz1To=","diM6dYVgFL+Z/3SvLD5wfEf3T5YPIbcC9emRG89fQDU="],"block_size":4096,"path":"assets/options-CbWKPqh7.js"},{"block_hashes":["8lPl1/d19D2KBRbXpbRMU59e/VXxkIG480l11S/NZEQ="],"block_size":4096,"path":"assets/sandbox-BK1e-51W.js"},{"block_hashes":["IQHmdd0dv+BwhsS/lyDpUMvr+S/p/eiG9QOIDOnVsOs=","gYxvjWss41L2p5nwFpZw5JBhUOfpDgOQkNPNI8S6fg8=","ZHjEsFf2bHBB80OX+wNmkJZcRFk3uwgc2GdwamJ6WMs="],"block_size":4096,"path":"assets/service-worker.ts-1zxD9f1g.js"},{"block_hashes":["fEjk5rD2hwGpGGjTKbNsnvYSul3WY5mse8UxawKCgQw=","GkMHnxC8sk+CoeXV2lWWN0tRDv3k9tzSwx1m4eVdtRg=","hWNNb+ib3Ge/Ba4vjtdqn1jUb2+o7wX8g0CXoUvdsUo=","3Dbrxg5KYioxcAYNKFGjIWPp2fTq6EmxXu5Cn0JCMbY=","15GWfFrmypw38KJYqSuDZ1bwvakvCX21XEGEwd09BBc=","/HsxOqym88pPCoODPgFy3ez3sNTfMpzUvclmYNWpYI0=","Op7aL5sNWl8QhshOVuvSaWHYbPt1gb5JKpvjyywVlI4=","n/H2Neh/L7S44mrcRj+KQjmXcHQx8GesUYQbD16FVlk=","WHdpWuZAvz+wAxr8Lp6AYX0fgeF+XpC5S2v2YKw6D3U=","2cbSr/Xl4pkR5P4O7JYcXbmXscqgdCUiLGMtKvlsLX0=","jugqiD+vN0MMU/YiwKDt8TuoFLNPTDDGIdkPb0wOmIA=","WS3Qye2MjT9qYxFP+CG+5uFB2jgOVb6MvCmw/JsKiBg=","gIAB/F+AliBF0mht1iXeCEKvCdKuaKFBOioCIKt4iiM=","HBaRQqGrrchQGYL7xa8LXDt7+vX0GSZ/nNNtkZCkSqg=","R3LnzPKDwjsz4OoQFdEk+LUJRp+fA8f4DrAeA3fIT5I=","nuT3wymKVUyCV4CFBn/XHfJcmj3gv0MmwU3DQqE+md4=","mU59c5gR+kculp+sapgIQUlgjSAVg1roiG1kunBC634=","FPpR5XyDETIb9E9Gu2Ps64jcN7Utcv+W1Do8xgTnQqE=","QQQMT6tS6qBp6ivpcmqZ0C5FB5CxBNlflyeb0U8c0Ws=","bhOhqzBASdJPRxKZzcqWX0XIcXCA/wPWJTvv8Q4mHow=","tGRcB28RGDJvwfNUUcVomUnn+Gp/mR6+/27Cf1Fxwi0=","p8rNGItDODtNLV+umg9SWq+2Mx7HymP+3/tvFDmcH00=","gjJDnMpoYBMJQPSzzDeUGrRpOBx2aLKC3gUBJEpx0/U=","tcMz5PK47A8p7RrxAbOE+ee1QC/HbeZR1zR2VEk8D0U=","Kf0BU4jhkhRtOHev1FaBalkSHv+1uI1UwNAdSSBms/I=","yOOENTzOsUcsdbqCnu3fpB1o0KgNOZBL9wr5FwhQTLw=","tJWhI7vFZiZHisMoX7y765tSI+KY/9J9+Qo6d+j8sXk=","zD/kBk+KQT/swzZd82ZHLyw/FiYzJz+wZq+zf5X5Pl0=","frXGqKpN+mBerYWSd1k9iJpd2L3WpIr9CAqCO7PRzaY=","tt6yni8X1MJBGMb/p65n+mm3nFZyl7GY2+wFe0I2kME="],"block_size":4096,"path":"assets/vendor/aws-C9aIMT75.js"},{"block_hashes":["SdGSA30CHvMhGVSFX4G5dIUm6ECjJ+D/qBc6IG18ZPQ=","+uUv4HcOujijtetscy710DFBOKzNyyP/2c6R8JTNfXU=","xvyAS2Cd1J2jPem1YQ0SBZhIYmGM1+vj+Wegi2XrsNw=","SqowDdijtuCEEiKCCM2q9PQzxCTnG/Q756jJvprVIMM=","2NsOivPI5PtvJMnpJ4bTB5f1pnIbtwVk7LXaoNFtjnw=","wOTOiwhjVDiPjjN25dZppI1AhhP5b5ZUqpHGwkwrETs=","HcbpgPLU9e1xaafzhjIhSQGbJAktcEDiQ1wZKTf27sI=","cNPrPkJG+zaC6cc5ZBUvBFbFSIf/7CdI64Q+1FZy/4U=","gnx7k9TrzlncSHweNZa9ZRi34ESCq4sHrekyXrfd6LI=","cWZWZrv6zAUFohZSmaO79A2QJR9e1LSD4HwrqJZbFG0=","HErLcK773+1I9e3eE/HdVSnnmh565JQUI3cDXREHwwA=","yRNeVj60S9Twrp++y2jIfeC+0YjzgcJ+/k1y7pnYJE8=","z/PLzsAjOjsRB68NuHlplxSuKXVQ/mn4aGTwYx82Ns0=","BxePKxCu8oc1++3v5bnQOT6X9oMtJEL2xe2/0dnuchE=","Q4RDCYKeLgfYUJdn6sdJHMLZhUt58SsiiNtsbrUyaGo=","jr3vRa9bIdso/LgN6fW+9Q4W+2gbVbDpDgYdfLsKy/Q=","yOJ35kh/CxihmlZDc8b5emw4/mEq3y66PCurOZiJ20k=","l6FokdjUvEGPICa5CFlidZ9jNW1JpV8meoBfN2gTQTU=","KfGZz+APayo4vY71vKPh/sZmNZ4jEikTUcp+rWt0D4c=","7TQusUXuGnidyxiQGaYmfO3aKhmLLcuaBRNUTudeG88=","D97nJbH+JxYEDd2e+32Ws+mj99A8mQ7n4nNFmfv4KFs=","yeyQpOG6jR7YGOirDHXx4HCS7GFGrLY+4P5XbBHHTvA=","2X+nHiusgmlJKBNt/YxhXHZcKfnVKLoq+Ln9zZodfUc=","6qQr3TtO+jDqyhhlOCFkURRjo0y98AKGmlUuoM4yBVk=","wGBGiLFIMnu3DkuDKbZKJfVMfU25+6OxrabXCfKYcOw=","/xrsg7iMyjhSgAGpvmmwtVUJ1MUuR9iFEkvnZK6eQgU=","3uUUtYD/3ixyS8MO/74O4kRwhPOe+Pc0PhXWBC1TO5k=","wjMOo87qBfp0giQXdAAT9Snpixo3R2YtczGm0vmCdB8=","S3IVCQlL8P4iom0/bg7ZUKGeGndKv0PcI0xvdXoJQuc=","/7XHOZshQhO9/omdk8djH3xsGL6s/mBs00rjk3IBIok=","iSQWf7BUXZDmoj9IRbThGhIChSESDyNIpUOX+zg3Elg=","HkKg2C8HVQnldn2jrgqYk77MEciPRLMisYsNEpO04yg=","AdMdta38UfpaJt9ZYlIhh2zGn4F6EN/K2/qqip+YMHI=","caPzltsI1mMxOjUFpW2ABq8O0SonYs1ggWC26ey3iXY=","xjsVGPGQ7mOp1ZK0TWHuchKuHHqbr0OEXB+uxY5Vj+Y=","0DsiD7qxuspcm4phBgINItP29eKlF49zly3OGKsdxDI=","euQ2izoIy4ZKAmzomtZgTaZb0QFZhi56v1KzaRd366k=","m61KzaWO1vHTKiV9VG7Oiozzb89+vxb7aE+wZBaQSNA=","9xjWSq6L+pLyNwirEZKAPiAkxFPbKY+l8i/iZF+xqQc=","Q/6JQ9t+gW9ifaoCt29vgIdQLRycd6GyD1NH0GDLlYU=","SUEQL7620KC2bN3/QMX83JrlfOAfAmsFRdV9+OpfIHk=","Tf3O+vWyc1TOPRpV+IQG+cQOdBzYGHyfRZiVqg+aMzE=","uLInD8iSWkKuePPjbdV5/ha0yXw00tiVf8uWnMrfE1M=","9UaEgbwFk4v4tiMb3JfuXjfuCAD6PekXgp1f4DWBx3Y=","0BVN9onXKmXRAoCiHiX9SHSWG+XAlQM6BMrT9hfN3r0=","BJxKBwMr0dc6Gw1pOe3CYkZLZ7x+CeO38mV4ErWFXok=","EQM7ymvCgP+u4wb+9WcD7V2oNbmyzfnjC990xF5rJrg=","HznbS1j9oxQLULw0MF4tO708BV0wimtq68mnOpEawlQ=","kS84Do42dCBnII1WbtfxNX5WymoMCDtK5HdmUylTFmQ=","o8dsCzSsWJ7BkbUZIGI4kmxTtEu8ze5YyZZQGWZMjpA=","jn+etT/7B49jOGMwgQ2+UOsZ20KEJDxg6r8xMtWqKJI=","uQBJHCfPtEH8A3cp4mt2pGJYQnWoDohrQBRifPsIeyk=","rMSIGnfsb9Pup6mCDvLim/Xt+ameSy+HnZ2rNBWmUEc=","5tzqeGA7U01DNuRE9wDD4hR4Ccvmba8i8Zl6FcS9A30=","6RmmkhehaKsRAuV6D2OS8TKqNl65B7BCPMQRFO1wgV8=","JRnke0w6Y6JxlaU4XclNHmjb1fvH0k5zY9xCZV3Sooo=","W4wQrZswSynddKkmwIJDq5rcVsG4g4qWk5QQx+L4lr4=","DnVKP9G1zX3QGvIF/RtjLcz9ZIKEWOnd9HBGen5dmMI=","Lv59epZh0spQsUtAOtjfZPguZlgSTkR8maoJC2ViIPM=","TAko5bq4u6bR9BuUn5buW+X/STi1a3klS4B6OSG76sg=","MM1Ts4/OtJU3NdSZJwdwGe32afZMygxDQtJStpdLtKg=","Pop6/hHBpgIpT9mpc40ruLoK7f1LDQYAziOEF5yX4CA=","/Bn2r0QLas2W4BFx/F7cgyB4AL4VfvqNWcIninO9ySk=","Uxx3vQ8hZBNEpc0n4h4Ew9VnSH7vTWYQP8GHXntMcec=","Zy9H26RTLiR5KkbL3hZe9Nzwq5xMcEqOIBerYixcyzg=","I5K0Ipjo9hs1FCbYlh3vhmzuzLdwPixhOvdhJTGLj8k=","Epqa4l+AFnINJ3mYA0PhtN5CYeSPPOBHsDIuIWH3Kf8=","HiJ/ZA2bLv19qrR5h9xj9X8/kZ5fEmrllcw7a/TjWug=","hnTZqf89He5yh3NqfF9buzqhBwBBgUPwQoMJnuZgvY0=","dEG6OgFHMHLNIulzEIejeWlZlhbM1GhaRMAONERKz+E=","F4GiaKWtad9nNzzBE4DwbsBG5q94VZNHOCtWjg4x+V8=","1z5dtJtssEryrgf4gdPHw6fic26nqgJhLA8SZ/fKklw=","8Ajg01trGOXRRNDeyP1k6XhV+PO0O0WeHaRf/FRw9ss=","PbXGn8c0gOBJVesPB8mrNb8yV2jjE42Ub1jHmCkxIV4=","EUrb+kZpt+rzRj5rDPl+QnIibJ0okD6N2I1bjYy81Dc=","MPHDytAfpCXNi29sxokFM1re2AFeIdlpy2SOsRXhvf4=","y41f+jjc3nh9nOtLKyCsMgXgmCrFOdVJYm8y2zsPivE=","PO2YGscMldPZTbgW8LLEF+B6znz5JW8GdxJDCqqROy8=","XYUSKv1xC5nFZAaPyYj4OnNWH2GAlEqbAXcABnMW2E8=","cv4Vh4uaE3lr+Ctg/ri6HFKi0VK7RRcgTpFmX6Vm5aE=","VDQIWt2eYv7uyC8CjnUa55Ky64Uhor3/pvNd1ZW7XuQ=","Nvga9HIlzWht7+3ALqCtUN4HgZmwYphdg9+GXXK+gCE=","5ZfKKn6zzUzzsXN+YFTDBAyjwUOuaSuEljE7BXHlXQw="],"block_size":4096,"path":"assets/vendor/ui-wAfM84aV.js"},{"block_hashes":["Z8V7+mp38sJ5XFA9479UBYat6YdR1IpKBFaDFaqNFUY=","rLsdWFTzleDZeBIKkxBoz/L2bQ1eK6h6hdL28GLT7sg=","WqM63MqsDpcLw7iClBpLFqL8IFlsQEX2GPekrAiTvqg=","N1tqWEKigfUYUSAN47y3VvxzSKt40cKUuhjZbsIStRE=","hFKgiKVJLPey6icEQXyfrM/8dZI/FjDq060aImF1TIo=","mmiDqCXOf5+na58r9HzmohXepunjwcuSKIXwQUv4DsM=","UYRqooaJRtu6UMQUA5RM0XuT9ggfohJ9yh+C0EhHfdI=","RBLi7882U06AjHPuk3xKhKlRaLl1Pol0dJ4WTIpadjM=","QuFYwlW74JdtknwKhiNlveRgqRg+/wKKKTr3hP+OHBI=","XFjD1SvtXi9aG1rsaZYOddomGos3NfYZeyNKmRgmnIU=","omljVrpdqDaqybhjk8t5IGywXeQhCffd1JA3VFUnCW8=","JbftDwgBjUXxGFVGnz11s+U16MCbdlBmjVwxfTAxE+s=","8nn9InjqZz+/CsBFqA1KjfJ+YUeOS+wymdL5V/vjbB4=","kXkq4RQ9Pd6Pq0myzh/3xPfKyxYq8pa8ueiQxAgjcjg=","hjL9RmDJGd4UCEecIqeutbVe2maW44fW7KlNJnuDi7U=","bbtSuDSk95gHB5Jq44kQOKxktrSUEYDdIVSBSSsA0xs=","7hygXAUSpndlAMCI7DjgQo79L8Ojk/LJjNZo4pEAv4Q=","73ducxTZI4/u5rJx5O6eUhUBY8OnlMcfgaXI/9D/ots=","3+wz5hYHIS1q92ixpcZrM19T1j3QC/lZieFxAVc7tmc=","Amqe/jMaLIYgoXGbW310DyrHzETp9vldaj74Zb+avCA="],"block_size":4096,"path":"assets/vendor/vue-D7guW3iV.js"},{"block_hashes":["T72E+sDuZfV9DmXdV1c5Ve1f3Qgug6bcW9ywPtFEx7o="],"block_size":4096,"path":"browserconfig.xml"},{"block_hashes":["dmR8ZXTf1Vs+9yh0BI87G+6GTasf5TG3AmTodGyRXws="],"block_size":4096,"path":"favicon-16x16.png"},{"block_hashes":["u0/PmQQuKyXk6C6xF3mAlvnV7iA2KBifzaouE1wZE6o="],"block_size":4096,"path":"favicon-32x32.png"},{"block_hashes":["MayS/vvlO0lk7c5NfD7cEDfHOkrr5WGHvVPirdkYtU0=","VF/1AysjXvkT8MT3xkj7RwKtqO7Uwx8GaFM1HE3aoN8=","SwXBwI4kxwGWsRMj4xBRARLZlpBcqqLFg00cAl1H+1g=","ZqdMocm8LyTyGQfpSvffji7yDH7wtCr7Q/LAhR8c11w="],"block_size":4096,"path":"favicon.ico"},{"block_hashes":["aRIMhYQ+FLa/Qp96D3YvMxVZgCTk+or3ldoq06qnk68=","9HIdTSqSdMjubd/jQAhCYxBM+0b51ieMfdoPxW6kxUI=","lkM/bA2rpkTPRVymbl+2nfmdKfdTOoJ5oBNk242wk28=","UHsdh2vCnvkNl6lsI7F7SUBhKHiynslMc07YJtcdZ/g=","YJyEo2Xgye6IcFnzhNVFmqymVJ9jKj6Wr3EbNB4LthM=","PXuGkyn8RLKjuqC41m1yM9wrsq8WC/DWLMfAbeXnEBU=","aLeJBfB3yAr/OVS/W/BGOfolOQKOLUUrltI1diXB2PI=","WFyavfUlzNYTFYKOGCrPFkCW0seDgLkMzvgR4Wl+bkE=","JXcWvDvdQLqSyq7vuxzrUtLakVl5ZgDv5IviefbgajQ=","1eBCK2TViKnslNlr266W5OwJadg2JlyC1/K2RTJNVYI=","RxEuF+FSSa7sAWSQaRUCWgoxYcI8ocgCFX/qtIe5a8g="],"block_size":4096,"path":"favicon.png"},{"block_hashes":["irZDMHN3l2OoohmJ1p7lx1MvCVwzJflYEZYY2P8bBMc=","4RtBMgQPFoNo56eUGbqJjgROzroP8pkMQ49lSeQxwT0=","Or2HydN5e0W7NTQp7Njk92HGNs9OrIy+7EmMNO5FeWI="],"block_size":4096,"path":"mstile-150x150.png"},{"block_hashes":["jIXZCRiR5toJjL5cJFShWbDP4dQr47uvz16wz12V4Lo="],"block_size":4096,"path":"pages/offscreen/sandbox/index.html"},{"block_hashes":["7jPww6r78HjVD4g61sfVVoYekTbJ4t/KNM7Z60Q4zTo="],"block_size":4096,"path":"pages/offscreen/storage/index.html"},{"block_hashes":["zSWZTMzQutV8NxIpl/fn8bTqkALg2PJc4ldAAsl6t4Y="],"block_size":4096,"path":"pages/options/index.html"},{"block_hashes":["Cm0Osg+q18IJrU3izwyZFfotg52Uk76HHahgxZZktwA="],"block_size":4096,"path":"pages/sandbox/index.html"},{"block_hashes":["gx2Y2BDe/9qFJ3XXM6Ypy42RUzYkX5DInWKVYDxJuqI=","Cs6GyGJSz8+9tZLJ46QecO5+3SeUWgwCrGVZuHz/TLg=","enGvT3FFr7PlTHHU64TvNVleARTA+GjQp40riRs/ksE=","gfVWGkmmsgLj+Aq5QoQd3b9oMiKLuNbWcVvLRaIHVkA=","z0qIZA+NK6t1ocqyH7SSXolXV51DqGogshlub90blHA=","uZqq1AIWXB9Z8WbhsS6AgJzh4bzguESIv72mszj8e9Q=","+uvVx7umG9dXNXXMSgqFmhEhieFibhi64j2ph7l8v24=","aHqwnvqC2YXE3pdoeKuqn5rLPEEgXaZtFuGyusuT2hw=","8zJYOoR5VuFTlllE/VnqZlIkFm6jBpabSVBreraS2vk=","n8MOf7QT/TOtLEMO10eYNnqncic3eskubGyPbCdxXVA=","/E/iLKxphGF6CPqLyUUxHJu6B3r6DePJez5e6qZ3vb0=","9WOC7tNZhuyUzUxL6Ao3AS5Ek+ynnLm0dqj/y809HgU=","dIAE14YHPZ3Mbpf6xtjxvq2As0Y2gnJODwmxHKFpx1I=","2KviI5y8h4qILOyLJMyqOA2RwB8axH1bc+GChfgFsmk=","UsmPZbX2GC0rtunzii9i1eg86zkn2mTwoW51cVenS+8=","nTUUYzkqh4SsUvMcfKQUGxx6vgtYFW3GqsIo8BmW0ic=","q2TxgfIBa/n59t1aaU3gjXqgmCABbpi41ngdinPPbOs=","BtrpD8kVj3bdJMGFSI1hIlkMB9zdegJr4uZaYb/CYVs=","tS9l1by4RhmA468RuOkdoiKymJpBJ+d/d4z/ii6JSek=","Ykcw4X+EYs8FZ0LEZge52acjiaPHz6/2TUHPCHGh/Ms=","bFi+SCnd9+t9hn/985+L1IR+Sfo/MDCE+UKYNNX8ENA=","PjY8EXoC4tKR9o9lNtxZwn2gWneBHnIxGNt3aiW4UDI=","p1UeReFJUTX63KdgliGwp5NCcYjyCxvwAhRvvmHLqL8=","QuhR5xidND/IVeYg+38whUuohYF7d95iOYgttDSHel4=","9W9EjXhwwLGTHqRtIr3JjnVgwFblC+nChC2Hj730SM0=","9Vh+FsoEn7ciIvLrmdc/wbO1quw7Zv0C2PwRnLME3H0=","8EtS9L5gAZoWw5ykLIaSgdnvcbNRFyeIHA/tVXY1770=","VqljLh13tsErckwQ6qHpDPSGOWQal/bB/MCvXK6neDg=","qKflTw60cdSgYxOyzyh4rPd2XzBiRxyId4vdm9yoOvM=","1qKGFmJ50RF/BOBstd74GlRDa3pAddBdTCtTNkRe+JY=","beoUiXCINBYbKHScO0pLvQJSBsljQSO1gbjdGtjMmac=","W0GHDYMNk2PbAe+bmEZMkQ1mkQhOuY30rb4LP4FmVV4=","KkL+pjq2xv56NkfyLYoZLLe54iYOSWUCWssgx5WO1Bs=","LI5J6+w2uQID87iWQfMCHMAxpWUVFVS7KqGP7oH+UiI="],"block_size":4096,"path":"safari-pinned-tab.svg"},{"block_hashes":["HCF7OLC9eumxHhqQ3+YiG7F5DbveKhrYOlr250BtqfI="],"block_size":4096,"path":"service-worker-loader.js"},{"block_hashes":["AnIBf3+0FEiwaRixVDFUqWZyHyL6uZeLVlJlzyONyBo="],"block_size":4096,"path":"site.webmanifest"}],"version":2} \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/_metadata/verified_contents.json b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/_metadata/verified_contents.json new file mode 100644 index 0000000..173ff59 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/_metadata/verified_contents.json @@ -0,0 +1 @@ +[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJhbmRyb2lkLWNocm9tZS0xOTJ4MTkyLnBuZyIsInJvb3RfaGFzaCI6IlF0dXhENE91cl9naFZEVXYtTWJfSE9EYnFzZ2FZdEdCNEp2aGdBdHNLeVUifSx7InBhdGgiOiJhbmRyb2lkLWNocm9tZS01MTJ4NTEyLnBuZyIsInJvb3RfaGFzaCI6IjUzRE1UVFFQdXc2N01fakEwM3NaalU5SnJtc0FVMVpuMkN5NnpmR3ZNSkUifSx7InBhdGgiOiJhcHBsZS10b3VjaC1pY29uLnBuZyIsInJvb3RfaGFzaCI6IkZZMHVxeUpONmszenMxWDhLZFdUNXRuZFFwX3ZOeGtFSW8xcXYwZTlEb0kifSx7InBhdGgiOiJhc3NldHMvTG9nZ2VyLWtVZ29DdkFtLmpzIiwicm9vdF9oYXNoIjoiR3lRTHIyTFRpdGZ5Q2wtOUJtZEdNRmM4VTlxazBKQm9mYVVZYWFFS0FGdyJ9LHsicGF0aCI6ImFzc2V0cy9NZXNzYWdlQnJpZGdlLUMybHpfM1VsLmpzIiwicm9vdF9oYXNoIjoiTmlNb0tzTUJkdmJGT2dHaS1DX3N1cUFUOWVHTkZRVjNLdWNJQ3hQTFprWSJ9LHsicGF0aCI6ImFzc2V0cy9SdW50aW1lQnJpZGdlLURXM3c4Zk5pLmpzIiwicm9vdF9oYXNoIjoicVpFdU9LUHlaZ3pZeE52RUdnS2w3RlhWdlJ3RlJQVDJMcFl3cHNBMFJqMCJ9LHsicGF0aCI6ImFzc2V0cy9TYW5kYm94QnJpZGdlLUQyaDNzQkszLmpzIiwicm9vdF9oYXNoIjoidEZJd1VJQlhfemhhYzd4Njk4LU40MTF4dWZySGlSQ3QtV25oMmxRMnRMcyJ9LHsicGF0aCI6ImFzc2V0cy9TY2hlZHVsZXItSVRwajd5ZUYuanMiLCJyb290X2hhc2giOiItR2FrTXNkbFNKWHp3Y2N3eWFIeXpFMmVWcVdFZ3JqbU9rNkh0eDVHeW8wIn0seyJwYXRoIjoiYXNzZXRzL2F1dGhvci1pY29uLUJsSGhtYW11LnBuZyIsInJvb3RfaGFzaCI6IkpKWWVxRmNKSy0wT3B3Q0RYYnU4T2tZbDlaekFhdUNWQzU4LUdwcE5iRXMifSx7InBhdGgiOiJhc3NldHMvaW5kZXguZXNtLURCUUQtNmRJLmpzIiwicm9vdF9oYXNoIjoiajRaUTFpQnlydDRmRl9yWmFsLUZ3SEVqZTYwaFItWlpabE8xX0FHMlhjVSJ9LHsicGF0aCI6ImFzc2V0cy9sb2dvLUNkdXVwZi00LnBuZyIsInJvb3RfaGFzaCI6IllhWWVUQ1VnT19uek5DU04yeDFLcXIxSHg0c1lQYXJ5LTRuaWxURXJ0NWMifSx7InBhdGgiOiJhc3NldHMvbW9kdWxlcHJlbG9hZC1wb2x5ZmlsbC1CNVF0OUVNWC5qcyIsInJvb3RfaGFzaCI6IjBxTW9RRUlVbHVoeXJlV1JZWTB2cGNNM2wyQmRHdXdFTUJjWDVha0hWOUEifSx7InBhdGgiOiJhc3NldHMvb2Zmc2NyZWVuU2FuZGJveC1CV0xkQ2lTaS5qcyIsInJvb3RfaGFzaCI6ImMzZmFJeG1tR19GSzNCeWRTQl9YTGl3RVBCYUpBUXBjdEgwM0dYTUI1d28ifSx7InBhdGgiOiJhc3NldHMvb2Zmc2NyZWVuU3RvcmFnZS1CbE01LU4wRC5qcyIsInJvb3RfaGFzaCI6IkNLVnR1RU8ybHo2YkgxSy1Nay1WbUZGazFsRExnQUtURjZxVlR0SnU2em8ifSx7InBhdGgiOiJhc3NldHMvb3B0aW9ucy1CYVdMTWRlMC5jc3MiLCJyb290X2hhc2giOiJGcUYwWG9VOXlWZnRPYUFnMXZTOW5PYmVSZmxaVUJQckhSQnJrY21jOHJvIn0seyJwYXRoIjoiYXNzZXRzL29wdGlvbnMtQ2JXS1BxaDcuanMiLCJyb290X2hhc2giOiJlS3R5TUxFSDZoQnI0QlpoWE5UR2VNT0RBZ0JDMUlTR0lJRnh5REJrMzVzIn0seyJwYXRoIjoiYXNzZXRzL3NhbmRib3gtQksxZS01MVcuanMiLCJyb290X2hhc2giOiI4bFBsMV9kMTlEMktCUmJYcGJSTVU1OWVfVlh4a0lHNDgwbDExU19OWkVRIn0seyJwYXRoIjoiYXNzZXRzL3NlcnZpY2Utd29ya2VyLnRzLTF6eEQ5ZjFnLmpzIiwicm9vdF9oYXNoIjoiSGxtc3J6UWJHYlRaODhaUnF3Z1dvZEV4NzF1bm44TVdSRFo3U3pJQzdXTSJ9LHsicGF0aCI6ImFzc2V0cy92ZW5kb3IvYXdzLUM5YUlNVDc1LmpzIiwicm9vdF9oYXNoIjoibFhVU0tjY3IyTklJb0MwUDRSM3pESkx1VmxmU2tfc2tEbmF5eGFQUU1XQSJ9LHsicGF0aCI6ImFzc2V0cy92ZW5kb3IvdWktd0FmTTg0YVYuanMiLCJyb290X2hhc2giOiJ3QWI4cDU4T3V5QmFDeUg5dk1UZ2gzaGFUVnI5Nm5IbTczdWNUQmNraWtzIn0seyJwYXRoIjoiYXNzZXRzL3ZlbmRvci92dWUtRDdndVczaVYuanMiLCJyb290X2hhc2giOiJsaGs1Q2ZHaExJLTlQalBGMUdWT0dOaTYzLVJ5R19VMm5vNjI2YTRnSzR3In0seyJwYXRoIjoiYnJvd3NlcmNvbmZpZy54bWwiLCJyb290X2hhc2giOiJUNzJFLXNEdVpmVjlEbVhkVjFjNVZlMWYzUWd1ZzZiY1c5eXdQdEZFeDdvIn0seyJwYXRoIjoiZmF2aWNvbi0xNngxNi5wbmciLCJyb290X2hhc2giOiJkbVI4WlhUZjFWcy05eWgwQkk4N0ctNkdUYXNmNVRHM0FtVG9kR3lSWHdzIn0seyJwYXRoIjoiZmF2aWNvbi0zMngzMi5wbmciLCJyb290X2hhc2giOiJ1MF9QbVFRdUt5WGs2QzZ4RjNtQWx2blY3aUEyS0JpZnphb3VFMXdaRTZvIn0seyJwYXRoIjoiZmF2aWNvbi5pY28iLCJyb290X2hhc2giOiJxUm8xaGNCR3ZTaldjR3k1blFOU2ZvY2J4V2tWSjQwRVFzNVNLY3g5Q0U4In0seyJwYXRoIjoiZmF2aWNvbi5wbmciLCJyb290X2hhc2giOiJlZkN1cE5kVnUwckxjajBIYm82aHlrSjBXNWpPeEd0YXQwWjE5amZCRHVVIn0seyJwYXRoIjoiaW1nL2ljb24vaWNvbl8xMjgucG5nIiwicm9vdF9oYXNoIjoiblAzaWhXTF95OFlKeU1tMGxLNVVjY0JtZ3dhSm1XdUlEZm1oN3F0UHhQQSJ9LHsicGF0aCI6ImltZy9pY29uL2ljb25fMTYucG5nIiwicm9vdF9oYXNoIjoiZG1SOFpYVGYxVnMtOXloMEJJODdHLTZHVGFzZjVURzNBbVRvZEd5Ulh3cyJ9LHsicGF0aCI6ImltZy9pY29uL2ljb25fMjQucG5nIiwicm9vdF9oYXNoIjoibDRkTnphVGNOeU1JeWY2Q083M0luRXBMTkNid0ZKVEhWcTBWQnNwbnJndyJ9LHsicGF0aCI6ImltZy9pY29uL2ljb25fMzIucG5nIiwicm9vdF9oYXNoIjoidTBfUG1RUXVLeVhrNkM2eEYzbUFsdm5WN2lBMktCaWZ6YW91RTF3WkU2byJ9LHsicGF0aCI6ImltZy9pY29uL2ljb25fNDgucG5nIiwicm9vdF9oYXNoIjoiaERVVGktbnBWSUdCOVB0eUdpNG11RnB2VGZuT3BnY3UwQVN5X19idkg1USJ9LHsicGF0aCI6ImltZy9pY29uL2ljb25fNjQucG5nIiwicm9vdF9oYXNoIjoiRGZMeVhBSjdwWlhRUHdtQTl4NjZMNGpxb3RPcE5KTzRLcXptYUhqZmFoNCJ9LHsicGF0aCI6ImltZy9pY29uL2ljb25fOTYucG5nIiwicm9vdF9oYXNoIjoiSU84bjhqVHRaQVpJb2hKVzR2QVBNQW5XcGdBTWZTZm9IUGJUQ0duWFZDRSJ9LHsicGF0aCI6Im1hbmlmZXN0Lmpzb24iLCJyb290X2hhc2giOiJScGs4UXNwVDdBblA1Z2Z0REhEZXRUNGEtYlhjM0tNbkpjX1BtbDJzZ1lFIn0seyJwYXRoIjoibXN0aWxlLTE1MHgxNTAucG5nIiwicm9vdF9oYXNoIjoiNkVoSG52R0R3V0l6ZVlkTV9Od3BCbUx5bWhWVHdqMWdBUVU0VUpoN1BLYyJ9LHsicGF0aCI6InBhZ2VzL29mZnNjcmVlbi9zYW5kYm94L2luZGV4Lmh0bWwiLCJyb290X2hhc2giOiJqSVhaQ1JpUjV0b0pqTDVjSkZTaFdiRFA0ZFFyNDd1dnoxNnd6MTJWNExvIn0seyJwYXRoIjoicGFnZXMvb2Zmc2NyZWVuL3N0b3JhZ2UvaW5kZXguaHRtbCIsInJvb3RfaGFzaCI6IjdqUHd3NnI3OEhqVkQ0ZzYxc2ZWVm9ZZWtUYko0dF9LTk03WjYwUTR6VG8ifSx7InBhdGgiOiJwYWdlcy9vcHRpb25zL2luZGV4Lmh0bWwiLCJyb290X2hhc2giOiJ6U1daVE16UXV0VjhOeElwbF9mbjhiVHFrQUxnMlBKYzRsZEFBc2w2dDRZIn0seyJwYXRoIjoicGFnZXMvc2FuZGJveC9pbmRleC5odG1sIiwicm9vdF9oYXNoIjoiQ20wT3NnLXExOElKclUzaXp3eVpGZm90ZzUyVWs3NkhIYWhneFpaa3R3QSJ9LHsicGF0aCI6InNhZmFyaS1waW5uZWQtdGFiLnN2ZyIsInJvb3RfaGFzaCI6Im5vS3YwNXA3MnNjVmhQUFhEeDhOOHlwUy1VTEtvQnBIUkhqMVhpTjBQQ2MifSx7InBhdGgiOiJzZXJ2aWNlLXdvcmtlci1sb2FkZXIuanMiLCJyb290X2hhc2giOiJIQ0Y3T0xDOWV1bXhIaHFRMy1ZaUc3RjVEYnZlS2hyWU9scjI1MEJ0cWZJIn0seyJwYXRoIjoic2l0ZS53ZWJtYW5pZmVzdCIsInJvb3RfaGFzaCI6IkFuSUJmMy0wRkVpd2FSaXhWREZVcVdaeUh5TDZ1WmVMVmxKbHp5T055Qm8ifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJjcHBqa25lZWtiamFlZWxsYmZrbWduaG9ua2tqZnBkbiIsIml0ZW1fdmVyc2lvbiI6IjIuMS4xMC40IiwicHJvdG9jb2xfdmVyc2lvbiI6MX0","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"AjsgwD0WwfRUiq5h6FUtphp6sMrYplEqOYFNz6HNbRYmDNNfg1_l9yXmdpi4rjXMrO1EGANv8xR0vn4Hs7ky2jnp5c7yJ8Nyhvg3Fjd1_YyRxDbwNsNJciNOpUkenyF67zC_JfrM5KboiJ2gZJnt0KE7IkZKxZhDVb0_VjuhWYk"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"DdOtD-cGUwssLLqgwD9PMuPVx4_dedx4ZGwEjdmzdmZ4BSSbN09fDX2ZRe0adiMxWO9iC7-P4Az1hcX3ewLnK0jaYIeDIy9JcHj6uMzHb6XAgrzLWoXk1-ZiI5epu0KewXZ5f6TzSbKPCKZ44oF7EvTaMM-z6TRJxgkDU84ygrqDzW5wosb2FHLzfKKyu9sAv3YTv7aDqK9BjAkQUzo5-EWod-cmHcOZ8E2INlkJMeLNFPveceeidwLQvIT70eq6_dHCRhq_Cf4Qr8JlBbCMTDqQoxO6tI_rzVzPlRDUeU8M67jCKlt7qtmKQLkA0Ric4B_-nfZRXw_HHdJBAIFamA"}]}}] \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/android-chrome-192x192.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/android-chrome-192x192.png new file mode 100644 index 0000000..224e242 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/android-chrome-192x192.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/android-chrome-512x512.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/android-chrome-512x512.png new file mode 100644 index 0000000..26305db Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/android-chrome-512x512.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/apple-touch-icon.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/apple-touch-icon.png new file mode 100644 index 0000000..dfa6b6e Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/apple-touch-icon.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/Logger-kUgoCvAm.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/Logger-kUgoCvAm.js new file mode 100644 index 0000000..d632ab3 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/Logger-kUgoCvAm.js @@ -0,0 +1,5 @@ +var V=Object.defineProperty;var $=t=>{throw TypeError(t)};var _=(t,e,r)=>e in t?V(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var b=(t,e,r)=>_(t,typeof e!="symbol"?e+"":e,r),E=(t,e,r)=>e.has(t)||$("Cannot "+r);var c=(t,e,r)=>(E(t,e,"read from private field"),r?r.call(t):e.get(t)),v=(t,e,r)=>e.has(t)?$("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),k=(t,e,r,n)=>(E(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);const I=(t=0)=>e=>`\x1B[${e+t}m`,P=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,D=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(l.modifier);const q=Object.keys(l.color),H=Object.keys(l.bgColor);[...q,...H];function J(){const t=new Map;for(const[e,r]of Object.entries(l)){for(const[n,o]of Object.entries(r))l[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},r[n]=l[n],t.set(o[0],o[1]);Object.defineProperty(l,e,{value:r,enumerable:!1})}return Object.defineProperty(l,"codes",{value:t,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi=I(),l.color.ansi256=P(),l.color.ansi16m=D(),l.bgColor.ansi=I(10),l.bgColor.ansi256=P(10),l.bgColor.ansi16m=D(10),Object.defineProperties(l,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));const o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:e=>l.rgbToAnsi256(...l.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,o;if(e>=232)r=((e-232)*10+8)/255,n=r,o=r;else{e-=16;const h=e%36;r=Math.floor(e/36)/5,n=Math.floor(h/6)/5,o=h%6/5}const s=Math.max(r,n,o)*2;if(s===0)return 30;let i=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>l.ansi256ToAnsi(l.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>l.ansi256ToAnsi(l.hexToAnsi256(e)),enumerable:!1}}),l}const u=J(),C=(()=>{if(navigator.userAgentData){const t=navigator.userAgentData.brands.find(({brand:e})=>e==="Chromium");if(t&&t.version>93)return 3}return/\b(Chrome|Chromium)\//.test(navigator.userAgent)?1:0})(),G=C!==0&&{level:C,hasBasic:!0,has256:C>=2,has16m:C>=3},Q={stdout:G,stderr:G};function X(t,e,r){let n=t.indexOf(e);if(n===-1)return t;const o=e.length;let s=0,i="";do i+=t.slice(s,n)+e+r,s=n+o,n=t.indexOf(e,s);while(n!==-1);return i+=t.slice(s),i}function Z(t,e,r,n){let o=0,s="";do{const i=t[n-1]==="\r";s+=t.slice(o,i?n-1:n)+e+(i?`\r +`:` +`)+r,o=n+1,n=t.indexOf(` +`,o)}while(n!==-1);return s+=t.slice(o),s}const{stdout:L,stderr:z}=Q,j=Symbol("GENERATOR"),d=Symbol("STYLER"),p=Symbol("IS_EMPTY"),Y=["ansi","ansi","ansi256","ansi16m"],m=Object.create(null),ee=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=L?L.level:0;t.level=e.level===void 0?r:e.level},te=t=>{const e=(...r)=>r.join(" ");return ee(e,t),Object.setPrototypeOf(e,O.prototype),e};function O(t){return te(t)}Object.setPrototypeOf(O.prototype,Function.prototype);for(const[t,e]of Object.entries(u))m[t]={get(){const r=S(this,F(e.open,e.close,this[d]),this[p]);return Object.defineProperty(this,t,{value:r}),r}};m.visible={get(){const t=S(this,this[d],!0);return Object.defineProperty(this,"visible",{value:t}),t}};const M=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?u[r].ansi16m(...n):e==="ansi256"?u[r].ansi256(u.rgbToAnsi256(...n)):u[r].ansi(u.rgbToAnsi(...n)):t==="hex"?M("rgb",e,r,...u.hexToRgb(...n)):u[r][t](...n),re=["rgb","hex","ansi256"];for(const t of re){m[t]={get(){const{level:r}=this;return function(...n){const o=F(M(t,Y[r],"color",...n),u.color.close,this[d]);return S(this,o,this[p])}}};const e="bg"+t[0].toUpperCase()+t.slice(1);m[e]={get(){const{level:r}=this;return function(...n){const o=F(M(t,Y[r],"bgColor",...n),u.bgColor.close,this[d]);return S(this,o,this[p])}}}}const ne=Object.defineProperties(()=>{},{...m,level:{enumerable:!0,get(){return this[j].level},set(t){this[j].level=t}}}),F=(t,e,r)=>{let n,o;return r===void 0?(n=t,o=e):(n=r.openAll+t,o=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:o,parent:r}},S=(t,e,r)=>{const n=(...o)=>oe(n,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(n,ne),n[j]=t,n[d]=e,n[p]=r,n},oe=(t,e)=>{if(t.level<=0||!e)return t[p]?"":e;let r=t[d];if(r===void 0)return e;const{openAll:n,closeAll:o}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=X(e,r.close,r.open),r=r.parent;const s=e.indexOf(` +`);return s!==-1&&(e=Z(e,o,n,s)),n+e+o};Object.defineProperties(O.prototype,m);const a=O();O({level:z?z.level:0});let K;try{K=window}catch{}const le=K!==void 0?"onscreen":"offscreen",U=()=>le==="offscreen",se={0:"debug",1:"info",2:"warn",3:"error"};var f,A,w,g;const y=class y{constructor(e={level:1,timestamp:!0,cacheSize:y.DefaultCacheSize}){v(this,f,[]);v(this,A);v(this,w,e=>{c(this,f).push(e);const r=c(this,f).length-(c(this,A).cacheSize??y.DefaultCacheSize);r>0&&c(this,f).splice(0,r)});v(this,g,(e,r,n,o)=>{const s=U()?"service-worker":"options-page",i=U()?"🧵":"⚙️";return(h,...x)=>{const N=typeof h=="string",R=new Date().toLocaleTimeString();if(c(this,w).call(this,{timeLabel:R,level:r,msg:h,context:s,args:x}),r[...c(this,f)]);k(this,A,e),this.debug=c(this,g).call(this,e,0,console.debug.bind(console),a.gray.bind(a)),this.info=c(this,g).call(this,e,1,console.info.bind(console),a.reset.bind(a)),this.warn=c(this,g).call(this,e,2,console.warn.bind(console),a.yellow.bind(a)),this.error=c(this,g).call(this,e,3,console.error.bind(console),a.red.bind(a))}};f=new WeakMap,A=new WeakMap,w=new WeakMap,g=new WeakMap,b(y,"DefaultCacheSize",128);let T=y;const W=1,ie=new T({level:W,timestamp:!0,cacheSize:T.DefaultCacheSize});ie.info(`Log level is set to ${a.magenta(se[W])}`);export{a as c,U as i,ie as l}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/MessageBridge-C2lz_3Ul.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/MessageBridge-C2lz_3Ul.js new file mode 100644 index 0000000..ebce6c8 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/MessageBridge-C2lz_3Ul.js @@ -0,0 +1 @@ +var h=Object.defineProperty;var a=s=>{throw TypeError(s)};var v=(s,e,o)=>e in s?h(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o;var i=(s,e,o)=>v(s,typeof e!="symbol"?e+"":e,o),p=(s,e,o)=>e.has(s)||a("Cannot "+o);var u=(s,e,o)=>(p(s,e,"read from private field"),o?o.call(s):e.get(s)),f=(s,e,o)=>e.has(s)?a("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(s):e.set(s,o),n=(s,e,o,t)=>(p(s,e,"write to private field"),t?t.call(s,o):e.set(s,o),o);var R=(s=>(s.Offscreen="offscreen",s.Onscreen="options",s.Popup="popup",s.Service="service",s))(R||{});const w=(s,e)=>new Promise((o,t)=>{try{s(e,void 0,l=>{o(l)})!==!0&&o(void 0)}catch(c){t(c)}});var r;class d{constructor(e,o){i(this,"callback");f(this,r);n(this,r,e),this.callback=o}get origin(){return u(this,r)}set origin(e){n(this,r,e)}}r=new WeakMap;export{R as B,d as M,w as p}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/RuntimeBridge-DW3w8fNi.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/RuntimeBridge-DW3w8fNi.js new file mode 100644 index 0000000..ca3799e --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/RuntimeBridge-DW3w8fNi.js @@ -0,0 +1 @@ +var d=Object.defineProperty;var c=e=>{throw TypeError(e)};var h=(e,s,r)=>s in e?d(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r;var n=(e,s,r)=>h(e,typeof s!="symbol"?s+"":s,r),m=(e,s,r)=>s.has(e)||c("Cannot "+r);var a=(e,s,r)=>(m(e,s,"read from private field"),r?r.call(e):s.get(e)),u=(e,s,r)=>s.has(e)?c("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(e):s.set(e,r),o=(e,s,r,i)=>(m(e,s,"write to private field"),i?i.call(e,r):s.set(e,r),r);import{M as l}from"./MessageBridge-C2lz_3Ul.js";import"./Logger-kUgoCvAm.js";var t;class f extends l{constructor(r,i){super(r,i);u(this,t,!1);n(this,"init",async()=>{a(this,t)||(o(this,t,!0),chrome.runtime.onMessage.addListener(this.callback))});n(this,"destroy",async()=>{a(this,t)&&(o(this,t,!1),chrome.runtime.onMessage.removeListener(this.callback))});n(this,"sendMessage",async r=>await chrome.runtime.sendMessage(r))}}t=new WeakMap;export{f as R}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/SandboxBridge-D2h3sBK3.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/SandboxBridge-D2h3sBK3.js new file mode 100644 index 0000000..745e166 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/SandboxBridge-D2h3sBK3.js @@ -0,0 +1,11 @@ +var I=Object.defineProperty;var L=t=>{throw TypeError(t)};var O=(t,s,e)=>s in t?I(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e;var m=(t,s,e)=>O(t,typeof s!="symbol"?s+"":s,e),x=(t,s,e)=>s.has(t)||L("Cannot "+e);var i=(t,s,e)=>(x(t,s,"read from private field"),e?e.call(t):s.get(t)),a=(t,s,e)=>s.has(t)?L("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(t):s.set(t,e),c=(t,s,e,r)=>(x(t,s,"write to private field"),r?r.call(t,e):s.set(t,e),e);import{b as S,E as U}from"./index.esm-DBQD-6dI.js";import{M as W,B as z,p as B}from"./MessageBridge-C2lz_3Ul.js";import{l}from"./Logger-kUgoCvAm.js";var y=(t=>(t.Init="init-paddle",t.Checkout="paddle-checkout",t.PreviewPrices="paddle-preview-pricing",t.UpdateSession="paddle-update-session",t.CancelSubscription="paddle-cancel-subscription",t.Initialized="paddle-initialized",t.Updated="paddle-updated",t.CheckoutStarted="paddle-checkout-started",t.CheckoutLoaded="paddle-checkout-loaded",t.CheckoutCompleted="paddle-checkout-completed",t.CheckoutFailed="paddle-checkout-failed",t.CheckoutClosed="paddle-checkout-closed",t.CancelFlowFinished="paddle-cancel-flow-finished",t.CancelCompleted="paddle-cancel-completed",t.CancelFailed="paddle-cancel-failed",t.CancelAborted="paddle-cancel-aborted",t.PaddleEvent="paddle-paddle-event",t))(y||{}),h,p,d,n,k,f,g,b,C,v,w,E;class H extends W{constructor(e,r,o){o||(o=u=>(chrome.runtime.sendMessage(u),!1));super(r,o);a(this,h);a(this,p);a(this,d);a(this,n);m(this,"init",async()=>i(this,h)?i(this,h):(c(this,h,i(this,k).call(this)),l.info("Sandbox bridge initialized"),i(this,h)));a(this,k,async()=>{var e,r;c(this,d,i(this,p).document),c(this,n,i(this,d).createElement("iframe")),i(this,n).addEventListener("click",i(this,C),!0),i(this,n).style.cssText=i(this,E).call(this),(r=(e=i(this,n))==null?void 0:e.contentWindow)==null||r.addEventListener("message",i(this,g)),i(this,n).src=i(this,w).call(this),i(this,d).body.appendChild(i(this,n)),chrome.runtime.onMessage.addListener(i(this,f))});m(this,"destroy",async()=>{var e,r,o,u;try{(e=i(this,n))==null||e.removeEventListener("click",i(this,C)),(o=(r=i(this,n))==null?void 0:r.contentWindow)==null||o.removeEventListener("message",i(this,g))}catch(F){l.error("Error removing event listeners:",F)}chrome.runtime.onMessage.hasListener(i(this,f))&&chrome.runtime.onMessage.removeListener(i(this,f)),(u=i(this,n))==null||u.remove(),c(this,n,void 0),c(this,d,void 0),c(this,h,void 0)});m(this,"sendMessage",async e=>{var r,o;if(e={...e,origin:this.origin},!i(this,n)){l.warn("Can't send to sandbox: iframe not initialized yet.");return}try{(o=(r=i(this,n))==null?void 0:r.contentWindow)==null||o.postMessage(e,"*")}catch(u){l.error("Error sending message to sandbox:",u)}});m(this,"showFrame",()=>{var e,r,o;(e=i(this,d))==null||e.documentElement.style.setProperty("pointer-events","none"),(r=i(this,n))==null||r.style.setProperty("pointer-events","auto"),(o=i(this,n))==null||o.style.setProperty("display","block")});m(this,"hideFrame",()=>{var e,r,o;(e=i(this,n))==null||e.style.setProperty("display","none"),(r=i(this,n))==null||r.style.setProperty("pointer-events","none"),(o=i(this,d))==null||o.documentElement.style.setProperty("pointer-events","auto")});a(this,f,(e,r,o)=>(this.sendMessage(e),!1));a(this,g,async e=>{var o;if(e.source&&e.source!==((o=i(this,n))==null?void 0:o.contentWindow)){l.info("Ignoring message from unknown source:",e.source);return}const r=e.data??{};if(r.origin!=="paddle"){l.info("Ignoring message from unknown origin:",e.source);return}switch(r.origin=this.origin,r.type){case y.CheckoutStarted:this.showFrame();break;case y.CheckoutClosed:this.hideFrame();break;case"paddle-event":i(this,b).call(this,r.data);break}return i(this,v).call(this,r)});a(this,b,async e=>{switch(l.debug("Paddle event:",e),e.name){case S.CHECKOUT_CLOSED:this.hideFrame();break;case S.CHECKOUT_LOADED:this.showFrame();break}});a(this,C,e=>{e==null||e.stopPropagation()});a(this,v,async e=>(e={...e,origin:this.origin},this.origin===z.Onscreen?B(this.callback,e):chrome.runtime.sendMessage(e)));a(this,w,()=>{{const e=U.resources.sandboxSrc??"";return e.startsWith("http")?e:e.startsWith("/")?chrome.runtime.getURL(`${e}`):chrome.runtime.getURL(`/${e}`)}});a(this,E,()=>` + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; + display: none; + background: rgba(0, 0, 0, 0.25); + z-index: 9999; + `);c(this,p,e),i(this,p).addEventListener("message",i(this,g))}}h=new WeakMap,p=new WeakMap,d=new WeakMap,n=new WeakMap,k=new WeakMap,f=new WeakMap,g=new WeakMap,b=new WeakMap,C=new WeakMap,v=new WeakMap,w=new WeakMap,E=new WeakMap;export{y as P,H as S}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/Scheduler-ITpj7yeF.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/Scheduler-ITpj7yeF.js new file mode 100644 index 0000000..c19bdb3 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/Scheduler-ITpj7yeF.js @@ -0,0 +1,59 @@ +var Ec=Object.defineProperty;var j0=u=>{throw TypeError(u)};var _c=(u,e,t)=>e in u?Ec(u,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):u[e]=t;var g=(u,e,t)=>_c(u,typeof e!="symbol"?e+"":e,t),z0=(u,e,t)=>e.has(u)||j0("Cannot "+t);var d=(u,e,t)=>(z0(u,e,"read from private field"),t?t.call(u):e.get(u)),A=(u,e,t)=>e.has(u)?j0("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(u):e.set(u,t),$=(u,e,t,r)=>(z0(u,e,"write to private field"),r?r.call(u,t):e.set(u,t),t);var H0=(u,e,t,r)=>({set _(i){$(u,e,i,t)},get _(){return d(u,e,r)}});import{M as Cc,B as An}from"./MessageBridge-C2lz_3Ul.js";import{i as Ac,l as D,c as z}from"./Logger-kUgoCvAm.js";import{E as fe,C as V0}from"./index.esm-DBQD-6dI.js";import{a9 as xa,aa as ya}from"./vendor/vue-D7guW3iV.js";import{P as re,S as kc}from"./SandboxBridge-D2h3sBK3.js";import{D as Sc,H as Dc,c as G0,u as Tc,s as Ic,a as Oc,b as Rc,d as Fc,g as Nc,f as Lc,e as Pc,p as $c,h as Mc}from"./vendor/aws-C9aIMT75.js";var j=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $i(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}function wa(u){if(u.__esModule)return u;var e=u.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(u).forEach(function(r){var i=Object.getOwnPropertyDescriptor(u,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return u[r]}})}),t}const qc={trailing:!0};function e0(u,e=25,t={}){if(t={...qc,...t},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,i,n=[],s,a;const o=(c,h)=>(s=Bc(u,c,h),s.finally(()=>{if(s=null,t.trailing&&a&&!i){const p=o(c,a);return a=null,p}}),s);return function(...c){return s?(t.trailing&&(a=c),s):new Promise(h=>{const p=!i&&t.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const l=t.leading?r:o(this,c);for(const f of n)f(l);n=[]},e),p?(r=o(this,c),h(r)):n.push(h)})}}async function Bc(u,e,t){return await u.apply(e,t)}class Wr extends Event{constructor(e){super(e)}}g(Wr,"Updated","cachedStorageUpdated");var ru,Fe,Yu,Gt,et,ni;class Uc extends EventTarget{constructor(t){super();A(this,ru);A(this,Fe,{});A(this,Yu,Promise.resolve());g(this,"load",async()=>d(this,Gt).call(this));g(this,"save",async()=>d(this,et).call(this));g(this,"setItem",async(t,r)=>{d(this,Fe)[t]=r,this.save()});g(this,"getItem",async t=>d(this,Fe)[t]);g(this,"removeItem",async t=>(delete d(this,Fe)[t],this.save()));g(this,"clear",async()=>($(this,Fe,{}),this.save()));g(this,"isEmpty",()=>Object.keys(d(this,Fe)).length===0);A(this,Gt,async()=>{await d(this,Yu);const t=await chrome.storage.local.get(d(this,ru));$(this,Fe,(t==null?void 0:t[d(this,ru)])??{})});A(this,et,async()=>($(this,Yu,chrome.storage.local.set({[d(this,ru)]:d(this,Fe)})),d(this,Yu)));A(this,ni,async t=>{d(this,ru)in t&&($(this,Fe,{...t[d(this,ru)].newValue??{}}),this.dispatchEvent(new Wr(Wr.Updated)))});$(this,ru,t),$(this,et,e0(d(this,et),100)),chrome.storage.local.onChanged.addListener(d(this,ni)),d(this,Gt).call(this)}}ru=new WeakMap,Fe=new WeakMap,Yu=new WeakMap,Gt=new WeakMap,et=new WeakMap,ni=new WeakMap;var jc=function u(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,i,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(i=r;i--!==0;)if(!u(e[i],t[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(i=r;i--!==0;){var s=n[i];if(!u(e[s],t[s]))return!1}return!0}return e!==e&&t!==t};const u0=$i(jc);var va={};function Te(u,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(u)),this._timeouts=u,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var zc=Te;Te.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Te.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Te.prototype.retry=function(u){if(this._timeout&&clearTimeout(this._timeout),!u)return!1;var e=new Date().getTime();if(u&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(u),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(u);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};Te.prototype.attempt=function(u,e){this._fn=u,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Te.prototype.try=function(u){console.log("Using RetryOperation.try() is deprecated"),this.attempt(u)};Te.prototype.start=function(u){console.log("Using RetryOperation.start() is deprecated"),this.attempt(u)};Te.prototype.start=Te.prototype.try;Te.prototype.errors=function(){return this._errors};Te.prototype.attempts=function(){return this._attempts};Te.prototype.mainError=function(){if(this._errors.length===0)return null;for(var u={},e=null,t=0,r=0;r=t&&(e=i,t=s)}return e};(function(u){var e=zc;u.operation=function(t){var r=u.timeouts(t);return new e(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},u.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var i in t)r[i]=t[i];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],s=0;sGc.call(u)==="[object Error]",Zc=new Set(["network error","Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Load failed","Network request failed","fetch failed","terminated"]);function Xc(u){return u&&Wc(u)&&u.name==="TypeError"&&typeof u.message=="string"?u.message==="Load failed"?u.stack===void 0:Zc.has(u.message):!1}class kn extends Error{constructor(e){super(),e instanceof Error?(this.originalError=e,{message:e}=e):(this.originalError=new Error(e),this.originalError.stack=this.stack),this.name="AbortError",this.message=e}}const W0=(u,e,t)=>{const r=t.retries-(e-1);return u.attemptNumber=e,u.retriesLeft=r,u};async function t0(u,e){return new Promise((t,r)=>{e={onFailedAttempt(){},retries:10,shouldRetry:()=>!0,...e};const i=Vc.operation(e),n=()=>{var a;i.stop(),r((a=e.signal)==null?void 0:a.reason)};e.signal&&!e.signal.aborted&&e.signal.addEventListener("abort",n,{once:!0});const s=()=>{var a;(a=e.signal)==null||a.removeEventListener("abort",n),i.stop()};i.attempt(async a=>{try{const o=await u(a);s(),t(o)}catch(o){try{if(!(o instanceof Error))throw new TypeError(`Non-error was thrown: "${o}". You should only throw errors.`);if(o instanceof kn)throw o.originalError;if(o instanceof TypeError&&!Xc(o))throw o;if(W0(o,a,e),await e.shouldRetry(o)||(i.stop(),r(o)),await e.onFailedAttempt(o),!i.retry(o))throw i.mainError()}catch(c){W0(c,a,e),s(),r(c)}}})})}const Z0={};function Kc(u){let e=Z0[u];if(e)return e;e=Z0[u]=[];for(let t=0;t<128;t++){const r=String.fromCharCode(t);e.push(r)}for(let t=0;t=55296&&h<=57343?i+="���":i+=String.fromCharCode(h),n+=6;continue}}if((a&248)===240&&n+91114111?i+="����":(p-=65536,i+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),n+=9;continue}}i+="�"}return i})}pt.defaultChars=";/?:@&=+$,#";pt.componentChars="";const X0={};function Qc(u){let e=X0[u];if(e)return e;e=X0[u]=[];for(let t=0;t<128;t++){const r=String.fromCharCode(t);/^[0-9a-z]$/i.test(r)?e.push(r):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t"u"&&(t=!0);const r=Qc(e);let i="";for(let n=0,s=u.length;n=55296&&a<=57343){if(a>=55296&&a<=56319&&n+1=56320&&o<=57343){i+=encodeURIComponent(u[n]+u[n+1]),n++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(u[n])}return i}pr.defaultChars=";/?:@&=+$,-_.!~*'()#";pr.componentChars="-_.!~*'()";function r0(u){let e="";return e+=u.protocol||"",e+=u.slashes?"//":"",e+=u.auth?u.auth+"@":"",u.hostname&&u.hostname.indexOf(":")!==-1?e+="["+u.hostname+"]":e+=u.hostname||"",e+=u.port?":"+u.port:"",e+=u.pathname||"",e+=u.search||"",e+=u.hash||"",e}function Zr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Jc=/^([a-z0-9.+-]+:)/i,Yc=/:[0-9]*$/,el=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ul=["<",">",'"',"`"," ","\r",` +`," "],tl=["{","}","|","\\","^","`"].concat(ul),rl=["'"].concat(tl),K0=["%","/","?",";","#"].concat(rl),Q0=["/","?","#"],il=255,J0=/^[+a-z0-9A-Z_-]{0,63}$/,nl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Y0={javascript:!0,"javascript:":!0},es={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function i0(u,e){if(u&&u instanceof Zr)return u;const t=new Zr;return t.parse(u,e),t}Zr.prototype.parse=function(u,e){let t,r,i,n=u;if(n=n.trim(),!e&&u.split("#").length===1){const c=el.exec(n);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let s=Jc.exec(n);if(s&&(s=s[0],t=s.toLowerCase(),this.protocol=s,n=n.substr(s.length)),(e||s||n.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=n.substr(0,2)==="//",i&&!(s&&Y0[s])&&(n=n.substr(2),this.slashes=!0)),!Y0[s]&&(i||s&&!es[s])){let c=-1;for(let b=0;b127?C+="x":C+=T[I];if(!C.match(J0)){const I=b.slice(0,k),O=b.slice(k+1),N=T.match(nl);N&&(I.push(N[1]),O.unshift(N[2])),O.length&&(n=O.join(".")+n),this.hostname=I.join(".");break}}}}this.hostname.length>il&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=n.indexOf("#");a!==-1&&(this.hash=n.substr(a),n=n.slice(0,a));const o=n.indexOf("?");return o!==-1&&(this.search=n.substr(o),n=n.slice(0,o)),n&&(this.pathname=n),es[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Zr.prototype.parseHost=function(u){let e=Yc.exec(u);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),u=u.substr(0,u.length-e.length)),u&&(this.hostname=u)};const sl=Object.freeze(Object.defineProperty({__proto__:null,decode:pt,encode:pr,format:r0,parse:i0},Symbol.toStringTag,{value:"Module"})),Ea=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,_a=/[\0-\x1F\x7F-\x9F]/,al=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,n0=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ca=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Aa=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ol=Object.freeze(Object.defineProperty({__proto__:null,Any:Ea,Cc:_a,Cf:al,P:n0,S:Ca,Z:Aa},Symbol.toStringTag,{value:"Module"})),cl=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(u=>u.charCodeAt(0))),ll=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(u=>u.charCodeAt(0)));var nn;const fl=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),dl=(nn=String.fromCodePoint)!==null&&nn!==void 0?nn:function(u){let e="";return u>65535&&(u-=65536,e+=String.fromCharCode(u>>>10&1023|55296),u=56320|u&1023),e+=String.fromCharCode(u),e};function hl(u){var e;return u>=55296&&u<=57343||u>1114111?65533:(e=fl.get(u))!==null&&e!==void 0?e:u}var ae;(function(u){u[u.NUM=35]="NUM",u[u.SEMI=59]="SEMI",u[u.EQUALS=61]="EQUALS",u[u.ZERO=48]="ZERO",u[u.NINE=57]="NINE",u[u.LOWER_A=97]="LOWER_A",u[u.LOWER_F=102]="LOWER_F",u[u.LOWER_X=120]="LOWER_X",u[u.LOWER_Z=122]="LOWER_Z",u[u.UPPER_A=65]="UPPER_A",u[u.UPPER_F=70]="UPPER_F",u[u.UPPER_Z=90]="UPPER_Z"})(ae||(ae={}));const pl=32;var Eu;(function(u){u[u.VALUE_LENGTH=49152]="VALUE_LENGTH",u[u.BRANCH_LENGTH=16256]="BRANCH_LENGTH",u[u.JUMP_TABLE=127]="JUMP_TABLE"})(Eu||(Eu={}));function Sn(u){return u>=ae.ZERO&&u<=ae.NINE}function bl(u){return u>=ae.UPPER_A&&u<=ae.UPPER_F||u>=ae.LOWER_A&&u<=ae.LOWER_F}function ml(u){return u>=ae.UPPER_A&&u<=ae.UPPER_Z||u>=ae.LOWER_A&&u<=ae.LOWER_Z||Sn(u)}function gl(u){return u===ae.EQUALS||ml(u)}var ne;(function(u){u[u.EntityStart=0]="EntityStart",u[u.NumericStart=1]="NumericStart",u[u.NumericDecimal=2]="NumericDecimal",u[u.NumericHex=3]="NumericHex",u[u.NamedEntity=4]="NamedEntity"})(ne||(ne={}));var _e;(function(u){u[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute"})(_e||(_e={}));class ka{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=ne.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=_e.Strict}startEntity(e){this.decodeMode=e,this.state=ne.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case ne.EntityStart:return e.charCodeAt(t)===ae.NUM?(this.state=ne.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=ne.NamedEntity,this.stateNamedEntity(e,t));case ne.NumericStart:return this.stateNumericStart(e,t);case ne.NumericDecimal:return this.stateNumericDecimal(e,t);case ne.NumericHex:return this.stateNumericHex(e,t);case ne.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|pl)===ae.LOWER_X?(this.state=ne.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=ne.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,i){if(t!==r){const n=r-t;this.result=this.result*Math.pow(i,n)+parseInt(e.substr(t,n),i),this.consumed+=n}}stateNumericHex(e,t){const r=t;for(;t>14;for(;t>14,n!==0){if(s===ae.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==_e.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,i=(r[t]&Eu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,i,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:i}=this;return this.emitCodePoint(t===1?i[e]&~Eu.VALUE_LENGTH:i[e+1],r),t===3&&this.emitCodePoint(i[e+2],r),r}end(){var e;switch(this.state){case ne.NamedEntity:return this.result!==0&&(this.decodeMode!==_e.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ne.NumericDecimal:return this.emitNumericEntity(0,2);case ne.NumericHex:return this.emitNumericEntity(0,3);case ne.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ne.EntityStart:return 0}}}function Sa(u){let e="";const t=new ka(u,r=>e+=dl(r));return function(i,n){let s=0,a=0;for(;(a=i.indexOf("&",a))>=0;){e+=i.slice(s,a),t.startEntity(n);const c=t.write(i,a+1);if(c<0){s=a+t.end();break}s=a+c,a=c===0?s+1:s}const o=e+i.slice(s);return e="",o}}function xl(u,e,t,r){const i=(e&Eu.BRANCH_LENGTH)>>7,n=e&Eu.JUMP_TABLE;if(i===0)return n!==0&&r===n?t:-1;if(n){const o=r-n;return o<0||o>=i?-1:u[t+o]-1}let s=t,a=s+i-1;for(;s<=a;){const o=s+a>>>1,c=u[o];if(cr)a=o-1;else return u[o+i]}return-1}const s0=Sa(cl),yl=Sa(ll);function Qu(u,e=_e.Legacy){return s0(u,e)}function wl(u){return s0(u,_e.Attribute)}function sn(u){return s0(u,_e.Strict)}function Dn(u){return yl(u,_e.Strict)}function _r(u){for(let e=1;e$\x80-\uFFFF]/g,Da=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Ta=String.prototype.codePointAt!=null?(u,e)=>u.codePointAt(e):(u,e)=>(u.charCodeAt(e)&64512)===55296?(u.charCodeAt(e)-55296)*1024+u.charCodeAt(e+1)-56320+65536:u.charCodeAt(e);function a0(u){let e="",t=0,r;for(;(r=Tn.exec(u))!==null;){const i=r.index,n=u.charCodeAt(i),s=Da.get(n);s!==void 0?(e+=u.substring(t,i)+s,t=i+1):(e+=`${u.substring(t,i)}&#x${Ta(u,i).toString(16)};`,t=Tn.lastIndex+=+((n&64512)===55296))}return e+u.substr(t)}const El=a0;function o0(u,e){return function(r){let i,n=0,s="";for(;i=u.exec(r);)n!==i.index&&(s+=r.substring(n,i.index)),s+=e.get(i[0].charCodeAt(0)),n=i.index+1;return s+r.substring(n)}}const Ia=o0(/[&<>'"]/g,Da),Oa=o0(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Ra=o0(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),_l=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function jr(u){return Na(_l,u)}function Fa(u){return Na(Tn,u)}function Na(u,e){let t="",r=0,i;for(;(i=u.exec(e))!==null;){const n=i.index;t+=e.substring(r,n);const s=e.charCodeAt(n);let a=vl.get(s);if(typeof a=="object"){if(n+1=55296&&u<=57343||u>=64976&&u<=65007||(u&65535)===65535||(u&65535)===65534||u>=0&&u<=8||u===11||u>=14&&u<=31||u>=127&&u<=159||u>1114111)}function Xr(u){if(u>65535){u-=65536;const e=55296+(u>>10),t=56320+(u&1023);return String.fromCharCode(e,t)}return String.fromCharCode(u)}const $a=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Il=/&([a-z#][a-z0-9]{1,31});/gi,Ol=new RegExp($a.source+"|"+Il.source,"gi"),Rl=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Fl(u,e){if(e.charCodeAt(0)===35&&Rl.test(e)){const r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return l0(r)?Xr(r):u}const t=Qu(u);return t!==u?t:u}function Nl(u){return u.indexOf("\\")<0?u:u.replace($a,"$1")}function bt(u){return u.indexOf("\\")<0&&u.indexOf("&")<0?u:u.replace(Ol,function(e,t,r){return t||Fl(e,r)})}const Ll=/[&<>"]/,Pl=/[&<>"]/g,$l={"&":"&","<":"<",">":">",'"':"""};function Ml(u){return $l[u]}function Su(u){return Ll.test(u)?u.replace(Pl,Ml):u}const ql=/[.?*+^$[\]\\(){}|-]/g;function Bl(u){return u.replace(ql,"\\$&")}function Y(u){switch(u){case 9:case 32:return!0}return!1}function Lt(u){if(u>=8192&&u<=8202)return!0;switch(u){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Pt(u){return n0.test(u)||Ca.test(u)}function $t(u){switch(u){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function qi(u){return u=u.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(u=u.replace(/ẞ/g,"ß")),u.toLowerCase().toUpperCase()}const Ul={mdurl:sl,ucmicro:ol},jl=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Pa,assign:Mi,escapeHtml:Su,escapeRE:Bl,fromCodePoint:Xr,has:Tl,isMdAsciiPunct:$t,isPunctChar:Pt,isSpace:Y,isString:c0,isValidEntityCode:l0,isWhiteSpace:Lt,lib:Ul,normalizeReference:qi,unescapeAll:bt,unescapeMd:Nl},Symbol.toStringTag,{value:"Module"}));function zl(u,e,t){let r,i,n,s;const a=u.posMax,o=u.pos;for(u.pos=e+1,r=1;u.pos32))return n;if(r===41){if(s===0)break;s--}i++}return e===i||s!==0||(n.str=bt(u.slice(e,i)),n.pos=i,n.ok=!0),n}function Vl(u,e,t,r){let i,n=e;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)s.str=r.str,s.marker=r.marker;else{if(n>=t)return s;let a=u.charCodeAt(n);if(a!==34&&a!==39&&a!==40)return s;e++,n++,a===40&&(a=41),s.marker=a}for(;n"+Su(n.content)+""};Qe.code_block=function(u,e,t,r,i){const n=u[e];return""+Su(u[e].content)+` +`};Qe.fence=function(u,e,t,r,i){const n=u[e],s=n.info?bt(n.info).trim():"";let a="",o="";if(s){const h=s.split(/(\s+)/g);a=h[0],o=h.slice(2).join("")}let c;if(t.highlight?c=t.highlight(n.content,a,o)||Su(n.content):c=Su(n.content),c.indexOf("${c} +`}return`
${c}
+`};Qe.image=function(u,e,t,r,i){const n=u[e];return n.attrs[n.attrIndex("alt")][1]=i.renderInlineAsText(n.children,t,r),i.renderToken(u,e,t)};Qe.hardbreak=function(u,e,t){return t.xhtmlOut?`
+`:`
+`};Qe.softbreak=function(u,e,t){return t.breaks?t.xhtmlOut?`
+`:`
+`:` +`};Qe.text=function(u,e){return Su(u[e].content)};Qe.html_block=function(u,e){return u[e].content};Qe.html_inline=function(u,e){return u[e].content};function vt(){this.rules=Mi({},Qe)}vt.prototype.renderAttrs=function(e){let t,r,i;if(!e.attrs)return"";for(i="",t=0,r=e.attrs.length;t +`:">",n};vt.prototype.renderInline=function(u,e,t){let r="";const i=this.rules;for(let n=0,s=u.length;n=0&&(r=this.attrs[t][1]),r};Me.prototype.attrJoin=function(e,t){const r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};function Ma(u,e,t){this.src=u,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=e}Ma.prototype.Token=Me;const Wl=/\r\n?|\n/g,Zl=/\0/g;function Xl(u){let e;e=u.src.replace(Wl,` +`),e=e.replace(Zl,"�"),u.src=e}function Kl(u){let e;u.inlineMode?(e=new u.Token("inline","",0),e.content=u.src,e.map=[0,1],e.children=[],u.tokens.push(e)):u.md.block.parse(u.src,u.md,u.env,u.tokens)}function Ql(u){const e=u.tokens;for(let t=0,r=e.length;t\s]/i.test(u)}function Yl(u){return/^<\/a\s*>/i.test(u)}function ef(u){const e=u.tokens;if(u.md.options.linkify)for(let t=0,r=e.length;t=0;s--){const a=i[s];if(a.type==="link_close"){for(s--;i[s].level!==a.level&&i[s].type!=="link_open";)s--;continue}if(a.type==="html_inline"&&(Jl(a.content)&&n>0&&n--,Yl(a.content)&&n++),!(n>0)&&a.type==="text"&&u.md.linkify.test(a.content)){const o=a.content;let c=u.md.linkify.match(o);const h=[];let p=a.level,l=0;c.length>0&&c[0].index===0&&s>0&&i[s-1].type==="text_special"&&(c=c.slice(1));for(let f=0;fl){const N=new u.Token("text","",0);N.content=o.slice(l,T),N.level=p,h.push(N)}const C=new u.Token("link_open","a",1);C.attrs=[["href",k]],C.level=p++,C.markup="linkify",C.info="auto",h.push(C);const I=new u.Token("text","",0);I.content=x,I.level=p,h.push(I);const O=new u.Token("link_close","a",-1);O.level=--p,O.markup="linkify",O.info="auto",h.push(O),l=c[f].lastIndex}if(l=0;t--){const r=u[t];r.type==="text"&&!e&&(r.content=r.content.replace(tf,nf)),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function af(u){let e=0;for(let t=u.length-1;t>=0;t--){const r=u[t];r.type==="text"&&!e&&qa.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&e--,r.type==="link_close"&&r.info==="auto"&&e++}}function of(u){let e;if(u.md.options.typographer)for(e=u.tokens.length-1;e>=0;e--)u.tokens[e].type==="inline"&&(uf.test(u.tokens[e].content)&&sf(u.tokens[e].children),qa.test(u.tokens[e].content)&&af(u.tokens[e].children))}const cf=/['"]/,us=/['"]/g,ts="’";function Cr(u,e,t){return u.slice(0,e)+t+u.slice(e+1)}function lf(u,e){let t;const r=[];for(let i=0;i=0&&!(r[t].level<=s);t--);if(r.length=t+1,n.type!=="text")continue;let a=n.content,o=0,c=a.length;e:for(;o=0)b=a.charCodeAt(h.index-1);else for(t=i-1;t>=0&&!(u[t].type==="softbreak"||u[t].type==="hardbreak");t--)if(u[t].content){b=u[t].content.charCodeAt(u[t].content.length-1);break}let k=32;if(o=48&&b<=57&&(l=p=!1),p&&l&&(p=x,l=T),!p&&!l){f&&(n.content=Cr(n.content,h.index,ts));continue}if(l)for(t=r.length-1;t>=0;t--){let O=r[t];if(r[t].level=0;e--)u.tokens[e].type!=="inline"||!cf.test(u.tokens[e].content)||lf(u.tokens[e].children,u)}function df(u){let e,t;const r=u.tokens,i=r.length;for(let n=0;n0&&this.level++,this.tokens.push(r),r};Je.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Je.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!Y(this.src.charCodeAt(--e)))return e+1;return e};Je.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Je.prototype.getLines=function(e,t,r,i){if(e>=t)return"";const n=new Array(t-e);for(let s=0,a=e;ar?n[s]=new Array(o-r+1).join(" ")+this.src.slice(h,p):n[s]=this.src.slice(h,p)}return n.join("")};Je.prototype.Token=Me;const hf=65536;function on(u,e){const t=u.bMarks[e]+u.tShift[e],r=u.eMarks[e];return u.src.slice(t,r)}function rs(u){const e=[],t=u.length;let r=0,i=u.charCodeAt(r),n=!1,s=0,a="";for(;rt)return!1;let i=e+1;if(u.sCount[i]=4)return!1;let n=u.bMarks[i]+u.tShift[i];if(n>=u.eMarks[i])return!1;const s=u.src.charCodeAt(n++);if(s!==124&&s!==45&&s!==58||n>=u.eMarks[i])return!1;const a=u.src.charCodeAt(n++);if(a!==124&&a!==45&&a!==58&&!Y(a)||s===45&&Y(a))return!1;for(;n=4)return!1;c=rs(o),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const p=c.length;if(p===0||p!==h.length)return!1;if(r)return!0;const l=u.parentType;u.parentType="table";const f=u.md.block.ruler.getRules("blockquote"),b=u.push("table_open","table",1),k=[e,0];b.map=k;const x=u.push("thead_open","thead",1);x.map=[e,e+1];const T=u.push("tr_open","tr",1);T.map=[e,e+1];for(let O=0;O=4||(c=rs(o),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),I+=p-c.length,I>hf))break;if(i===e+2){const M=u.push("tbody_open","tbody",1);M.map=C=[e+2,0]}const N=u.push("tr_open","tr",1);N.map=[i,i+1];for(let M=0;M=4){r++,i=r;continue}break}u.line=i;const n=u.push("code_block","code",0);return n.content=u.getLines(e,i,4+u.blkIndent,!1)+` +`,n.map=[e,u.line],!0}function mf(u,e,t,r){let i=u.bMarks[e]+u.tShift[e],n=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||i+3>n)return!1;const s=u.src.charCodeAt(i);if(s!==126&&s!==96)return!1;let a=i;i=u.skipChars(i,s);let o=i-a;if(o<3)return!1;const c=u.src.slice(a,i),h=u.src.slice(i,n);if(s===96&&h.indexOf(String.fromCharCode(s))>=0)return!1;if(r)return!0;let p=e,l=!1;for(;p++,!(p>=t||(i=a=u.bMarks[p]+u.tShift[p],n=u.eMarks[p],i=4)&&(i=u.skipChars(i,s),!(i-a=4||u.src.charCodeAt(i)!==62)return!1;if(r)return!0;const a=[],o=[],c=[],h=[],p=u.md.block.ruler.getRules("blockquote"),l=u.parentType;u.parentType="blockquote";let f=!1,b;for(b=e;b=n)break;if(u.src.charCodeAt(i++)===62&&!I){let N=u.sCount[b]+1,M,X;u.src.charCodeAt(i)===32?(i++,N++,X=!1,M=!0):u.src.charCodeAt(i)===9?(M=!0,(u.bsCount[b]+N)%4===3?(i++,N++,X=!1):X=!0):M=!1;let Z=N;for(a.push(u.bMarks[b]),u.bMarks[b]=i;i=n,o.push(u.bsCount[b]),u.bsCount[b]=u.sCount[b]+1+(M?1:0),c.push(u.sCount[b]),u.sCount[b]=Z-N,h.push(u.tShift[b]),u.tShift[b]=i-u.bMarks[b];continue}if(f)break;let O=!1;for(let N=0,M=p.length;N";const T=[e,0];x.map=T,u.md.block.tokenize(u,e,b);const C=u.push("blockquote_close","blockquote",-1);C.markup=">",u.lineMax=s,u.parentType=l,T[1]=u.line;for(let I=0;I=4)return!1;let n=u.bMarks[e]+u.tShift[e];const s=u.src.charCodeAt(n++);if(s!==42&&s!==45&&s!==95)return!1;let a=1;for(;n=r)return-1;let n=u.src.charCodeAt(i++);if(n<48||n>57)return-1;for(;;){if(i>=r)return-1;if(n=u.src.charCodeAt(i++),n>=48&&n<=57){if(i-t>=10)return-1;continue}if(n===41||n===46)break;return-1}return i=4||u.listIndent>=0&&u.sCount[o]-u.listIndent>=4&&u.sCount[o]=u.blkIndent&&(h=!0);let p,l,f;if((f=ns(u,o))>=0){if(p=!0,s=u.bMarks[o]+u.tShift[o],l=Number(u.src.slice(s,f-1)),h&&l!==1)return!1}else if((f=is(u,o))>=0)p=!1;else return!1;if(h&&u.skipSpaces(f)>=u.eMarks[o])return!1;if(r)return!0;const b=u.src.charCodeAt(f-1),k=u.tokens.length;p?(a=u.push("ordered_list_open","ol",1),l!==1&&(a.attrs=[["start",l]])):a=u.push("bullet_list_open","ul",1);const x=[o,0];a.map=x,a.markup=String.fromCharCode(b);let T=!1;const C=u.md.block.ruler.getRules("list"),I=u.parentType;for(u.parentType="list";o=i?X=1:X=N-O,X>4&&(X=1);const Z=O+X;a=u.push("list_item_open","li",1),a.markup=String.fromCharCode(b);const ee=[o,0];a.map=ee,p&&(a.info=u.src.slice(s,f-1));const te=u.tight,E=u.tShift[o],R=u.sCount[o],w=u.listIndent;if(u.listIndent=u.blkIndent,u.blkIndent=Z,u.tight=!0,u.tShift[o]=M-u.bMarks[o],u.sCount[o]=N,M>=i&&u.isEmpty(o+1)?u.line=Math.min(u.line+2,t):u.md.block.tokenize(u,o,t,!0),(!u.tight||T)&&(c=!1),T=u.line-o>1&&u.isEmpty(u.line-1),u.blkIndent=u.listIndent,u.listIndent=w,u.tShift[o]=E,u.sCount[o]=R,u.tight=te,a=u.push("list_item_close","li",-1),a.markup=String.fromCharCode(b),o=u.line,ee[1]=o,o>=t||u.sCount[o]=4)break;let _=!1;for(let m=0,v=C.length;m=4||u.src.charCodeAt(i)!==91)return!1;function a(C){const I=u.lineMax;if(C>=I||u.isEmpty(C))return null;let O=!1;if(u.sCount[C]-u.blkIndent>3&&(O=!0),u.sCount[C]<0&&(O=!0),!O){const X=u.md.block.ruler.getRules("reference"),Z=u.parentType;u.parentType="reference";let ee=!1;for(let te=0,E=X.length;te"u"&&(u.env.references={}),typeof u.env.references[T]>"u"&&(u.env.references[T]={title:x,href:p}),u.line=s),!0):!1}const Ef=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],_f="[a-zA-Z_:][a-zA-Z0-9:._-]*",Cf="[^\"'=<>`\\x00-\\x20]+",Af="'[^']*'",kf='"[^"]*"',Sf="(?:"+Cf+"|"+Af+"|"+kf+")",Df="(?:\\s+"+_f+"(?:\\s*=\\s*"+Sf+")?)",Ba="<[A-Za-z][A-Za-z0-9\\-]*"+Df+"*\\s*\\/?>",Ua="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Tf="",If="<[?][\\s\\S]*?[?]>",Of="]*>",Rf="",Ff=new RegExp("^(?:"+Ba+"|"+Ua+"|"+Tf+"|"+If+"|"+Of+"|"+Rf+")"),Nf=new RegExp("^(?:"+Ba+"|"+Ua+")"),Gu=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Nf.source+"\\s*$"),/^$/,!1]];function Lf(u,e,t,r){let i=u.bMarks[e]+u.tShift[e],n=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||!u.md.options.html||u.src.charCodeAt(i)!==60)return!1;let s=u.src.slice(i,n),a=0;for(;a=4)return!1;let s=u.src.charCodeAt(i);if(s!==35||i>=n)return!1;let a=1;for(s=u.src.charCodeAt(++i);s===35&&i6||ii&&Y(u.src.charCodeAt(o-1))&&(n=o),u.line=e+1;const c=u.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[e,u.line];const h=u.push("inline","",0);h.content=u.src.slice(i,n).trim(),h.map=[e,u.line],h.children=[];const p=u.push("heading_close","h"+String(a),-1);return p.markup="########".slice(0,a),!0}function $f(u,e,t){const r=u.md.block.ruler.getRules("paragraph");if(u.sCount[e]-u.blkIndent>=4)return!1;const i=u.parentType;u.parentType="paragraph";let n=0,s,a=e+1;for(;a3)continue;if(u.sCount[a]>=u.blkIndent){let f=u.bMarks[a]+u.tShift[a];const b=u.eMarks[a];if(f=b))){n=s===61?1:2;break}}if(u.sCount[a]<0)continue;let l=!1;for(let f=0,b=r.length;f3||u.sCount[n]<0)continue;let c=!1;for(let h=0,p=r.length;h=t||u.sCount[s]=n){u.line=t;break}const o=u.line;let c=!1;for(let h=0;h=u.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");u.tight=!a,u.isEmpty(u.line-1)&&(a=!0),s=u.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};br.prototype.scanDelims=function(u,e){const t=this.posMax,r=this.src.charCodeAt(u),i=u>0?this.src.charCodeAt(u-1):32;let n=u;for(;n0)return!1;const t=u.pos,r=u.posMax;if(t+3>r||u.src.charCodeAt(t)!==58||u.src.charCodeAt(t+1)!==47||u.src.charCodeAt(t+2)!==47)return!1;const i=u.pending.match(Uf);if(!i)return!1;const n=i[1],s=u.md.linkify.matchAtStart(u.src.slice(t-n.length));if(!s)return!1;let a=s.url;if(a.length<=n.length)return!1;a=a.replace(/\*+$/,"");const o=u.md.normalizeLink(a);if(!u.md.validateLink(o))return!1;if(!e){u.pending=u.pending.slice(0,-n.length);const c=u.push("link_open","a",1);c.attrs=[["href",o]],c.markup="linkify",c.info="auto";const h=u.push("text","",0);h.content=u.md.normalizeLinkText(a);const p=u.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return u.pos+=a.length-n.length,!0}function zf(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==10)return!1;const r=u.pending.length-1,i=u.posMax;if(!e)if(r>=0&&u.pending.charCodeAt(r)===32)if(r>=1&&u.pending.charCodeAt(r-1)===32){let n=r-1;for(;n>=1&&u.pending.charCodeAt(n-1)===32;)n--;u.pending=u.pending.slice(0,n),u.push("hardbreak","br",0)}else u.pending=u.pending.slice(0,-1),u.push("softbreak","br",0);else u.push("softbreak","br",0);for(t++;t?@[]^_`{|}~-".split("").forEach(function(u){d0[u.charCodeAt(0)]=1});function Hf(u,e){let t=u.pos;const r=u.posMax;if(u.src.charCodeAt(t)!==92||(t++,t>=r))return!1;let i=u.src.charCodeAt(t);if(i===10){for(e||u.push("hardbreak","br",0),t++;t=55296&&i<=56319&&t+1=56320&&a<=57343&&(n+=u.src[t+1],t++)}const s="\\"+n;if(!e){const a=u.push("text_special","",0);i<256&&d0[i]!==0?a.content=n:a.content=s,a.markup=s,a.info="escape"}return u.pos=t+1,!0}function Vf(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==96)return!1;const i=t;t++;const n=u.posMax;for(;t=0;r--){const i=e[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const n=e[i.end],s=r>0&&e[r-1].end===i.end+1&&e[r-1].marker===i.marker&&e[r-1].token===i.token-1&&e[i.end+1].token===n.token+1,a=String.fromCharCode(i.marker),o=u.tokens[i.token];o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="";const c=u.tokens[n.token];c.type=s?"strong_close":"em_close",c.tag=s?"strong":"em",c.nesting=-1,c.markup=s?a+a:a,c.content="",s&&(u.tokens[e[r-1].token].content="",u.tokens[e[i.end+1].token].content="",r--)}}function Xf(u){const e=u.tokens_meta,t=u.tokens_meta.length;as(u,u.delimiters);for(let r=0;r=p)return!1;if(o=b,i=u.md.helpers.parseLinkDestination(u.src,b,u.posMax),i.ok){for(s=u.md.normalizeLink(i.str),u.md.validateLink(s)?b=i.pos:s="",o=b;b=p||u.src.charCodeAt(b)!==41)&&(c=!0),b++}if(c){if(typeof u.env.references>"u")return!1;if(b=0?r=u.src.slice(o,b++):b=f+1):b=f+1,r||(r=u.src.slice(l,f)),n=u.env.references[qi(r)],!n)return u.pos=h,!1;s=n.href,a=n.title}if(!e){u.pos=l,u.posMax=f;const k=u.push("link_open","a",1),x=[["href",s]];k.attrs=x,a&&x.push(["title",a]),u.linkLevel++,u.md.inline.tokenize(u),u.linkLevel--,u.push("link_close","a",-1)}return u.pos=b,u.posMax=p,!0}function Qf(u,e){let t,r,i,n,s,a,o,c,h="";const p=u.pos,l=u.posMax;if(u.src.charCodeAt(u.pos)!==33||u.src.charCodeAt(u.pos+1)!==91)return!1;const f=u.pos+2,b=u.md.helpers.parseLinkLabel(u,u.pos+1,!1);if(b<0)return!1;if(n=b+1,n=l)return!1;for(c=n,a=u.md.helpers.parseLinkDestination(u.src,n,u.posMax),a.ok&&(h=u.md.normalizeLink(a.str),u.md.validateLink(h)?n=a.pos:h=""),c=n;n=l||u.src.charCodeAt(n)!==41)return u.pos=p,!1;n++}else{if(typeof u.env.references>"u")return!1;if(n=0?i=u.src.slice(c,n++):n=b+1):n=b+1,i||(i=u.src.slice(f,b)),s=u.env.references[qi(i)],!s)return u.pos=p,!1;h=s.href,o=s.title}if(!e){r=u.src.slice(f,b);const k=[];u.md.inline.parse(r,u.md,u.env,k);const x=u.push("image","img",0),T=[["src",h],["alt",""]];x.attrs=T,x.children=k,x.content=r,o&&T.push(["title",o])}return u.pos=n,u.posMax=l,!0}const Jf=/^([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])?)*)$/,Yf=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function ed(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==60)return!1;const r=u.pos,i=u.posMax;for(;;){if(++t>=i)return!1;const s=u.src.charCodeAt(t);if(s===60)return!1;if(s===62)break}const n=u.src.slice(r+1,t);if(Yf.test(n)){const s=u.md.normalizeLink(n);if(!u.md.validateLink(s))return!1;if(!e){const a=u.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";const o=u.push("text","",0);o.content=u.md.normalizeLinkText(n);const c=u.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return u.pos+=n.length+2,!0}if(Jf.test(n)){const s=u.md.normalizeLink("mailto:"+n);if(!u.md.validateLink(s))return!1;if(!e){const a=u.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";const o=u.push("text","",0);o.content=u.md.normalizeLinkText(n);const c=u.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return u.pos+=n.length+2,!0}return!1}function ud(u){return/^\s]/i.test(u)}function td(u){return/^<\/a\s*>/i.test(u)}function rd(u){const e=u|32;return e>=97&&e<=122}function id(u,e){if(!u.md.options.html)return!1;const t=u.posMax,r=u.pos;if(u.src.charCodeAt(r)!==60||r+2>=t)return!1;const i=u.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!rd(i))return!1;const n=u.src.slice(r).match(Ff);if(!n)return!1;if(!e){const s=u.push("html_inline","",0);s.content=n[0],ud(s.content)&&u.linkLevel++,td(s.content)&&u.linkLevel--}return u.pos+=n[0].length,!0}const nd=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,sd=/^&([a-z][a-z0-9]{1,31});/i;function ad(u,e){const t=u.pos,r=u.posMax;if(u.src.charCodeAt(t)!==38||t+1>=r)return!1;if(u.src.charCodeAt(t+1)===35){const n=u.src.slice(t).match(nd);if(n){if(!e){const s=n[1][0].toLowerCase()==="x"?parseInt(n[1].slice(1),16):parseInt(n[1],10),a=u.push("text_special","",0);a.content=l0(s)?Xr(s):Xr(65533),a.markup=n[0],a.info="entity"}return u.pos+=n[0].length,!0}}else{const n=u.src.slice(t).match(sd);if(n){const s=Qu(n[0]);if(s!==n[0]){if(!e){const a=u.push("text_special","",0);a.content=s,a.markup=n[0],a.info="entity"}return u.pos+=n[0].length,!0}}}return!1}function os(u){const e={},t=u.length;if(!t)return;let r=0,i=-2;const n=[];for(let s=0;so;c-=n[c]+1){const p=u[c];if(p.marker===a.marker&&p.open&&p.end<0){let l=!1;if((p.close||a.open)&&(p.length+a.length)%3===0&&(p.length%3!==0||a.length%3!==0)&&(l=!0),!l){const f=c>0&&!u[c-1].open?n[c-1]+1:0;n[s]=s-c+f,n[c]=f,a.open=!1,p.end=s,p.close=!1,h=-1,i=-2;break}}}h!==-1&&(e[a.marker][(a.open?3:0)+(a.length||0)%3]=h)}}function od(u){const e=u.tokens_meta,t=u.tokens_meta.length;os(u.delimiters);for(let r=0;r0&&r++,i[e].type==="text"&&e+1=u.pos)throw new Error("inline rule didn't increment state.pos");break}}else u.pos=u.posMax;s||u.pos++,n[e]=u.pos};mr.prototype.tokenize=function(u){const e=this.ruler.getRules(""),t=e.length,r=u.posMax,i=u.md.options.maxNesting;for(;u.pos=u.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(u.pos>=r)break;continue}u.pending+=u.src[u.pos++]}u.pending&&u.pushPending()};mr.prototype.parse=function(u,e,t,r){const i=new this.State(u,e,t,r);this.tokenize(i);const n=this.ruler2.getRules(""),s=n.length;for(let a=0;a|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function In(u){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){u[r]=t[r]})}),u}function Ui(u){return Object.prototype.toString.call(u)}function fd(u){return Ui(u)==="[object String]"}function dd(u){return Ui(u)==="[object Object]"}function hd(u){return Ui(u)==="[object RegExp]"}function cs(u){return Ui(u)==="[object Function]"}function pd(u){return u.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Ha={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function bd(u){return Object.keys(u||{}).reduce(function(e,t){return e||Ha.hasOwnProperty(t)},!1)}const md={"http:":{validate:function(u,e,t){const r=u.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(r)?r.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(u,e,t){const r=u.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(r)?e>=3&&u[e-3]===":"||e>=3&&u[e-3]==="/"?0:r.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(u,e,t){const r=u.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(r)?r.match(t.re.mailto)[0].length:0}}},gd="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",xd="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function yd(u){u.__index__=-1,u.__text_cache__=""}function wd(u){return function(e,t){const r=e.slice(t);return u.test(r)?r.match(u)[0].length:0}}function ls(){return function(u,e){e.normalize(u)}}function Kr(u){const e=u.re=ld(u.__opts__),t=u.__tlds__.slice();u.onCompile(),u.__tlds_replaced__||t.push(gd),t.push(e.src_xn),e.src_tlds=t.join("|");function r(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const i=[];u.__compiled__={};function n(a,o){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+o)}Object.keys(u.__schemas__).forEach(function(a){const o=u.__schemas__[a];if(o===null)return;const c={validate:null,link:null};if(u.__compiled__[a]=c,dd(o)){hd(o.validate)?c.validate=wd(o.validate):cs(o.validate)?c.validate=o.validate:n(a,o),cs(o.normalize)?c.normalize=o.normalize:o.normalize?n(a,o):c.normalize=ls();return}if(fd(o)){i.push(a);return}n(a,o)}),i.forEach(function(a){u.__compiled__[u.__schemas__[a]]&&(u.__compiled__[a].validate=u.__compiled__[u.__schemas__[a]].validate,u.__compiled__[a].normalize=u.__compiled__[u.__schemas__[a]].normalize)}),u.__compiled__[""]={validate:null,normalize:ls()};const s=Object.keys(u.__compiled__).filter(function(a){return a.length>0&&u.__compiled__[a]}).map(pd).join("|");u.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),u.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),u.re.schema_at_start=RegExp("^"+u.re.schema_search.source,"i"),u.re.pretest=RegExp("("+u.re.schema_test.source+")|("+u.re.host_fuzzy_test.source+")|@","i"),yd(u)}function vd(u,e){const t=u.__index__,r=u.__last_index__,i=u.__text_cache__.slice(t,r);this.schema=u.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function On(u,e){const t=new vd(u,e);return u.__compiled__[t.schema].normalize(t,u),t}function ke(u,e){if(!(this instanceof ke))return new ke(u,e);e||bd(u)&&(e=u,u={}),this.__opts__=In({},Ha,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=In({},md,u),this.__compiled__={},this.__tlds__=xd,this.__tlds_replaced__=!1,this.re={},Kr(this)}ke.prototype.add=function(e,t){return this.__schemas__[e]=t,Kr(this),this};ke.prototype.set=function(e){return this.__opts__=In(this.__opts__,e),this};ke.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,r,i,n,s,a,o,c,h;if(this.re.schema_test.test(e)){for(o=this.re.schema_search,o.lastIndex=0;(t=o.exec(e))!==null;)if(n=this.testSchemaAt(e,t[2],o.lastIndex),n){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=e.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=a))),this.__index__>=0};ke.prototype.pretest=function(e){return this.re.pretest.test(e)};ke.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0};ke.prototype.match=function(e){const t=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(On(this,r)),r=this.__last_index__);let i=r?e.slice(r):e;for(;this.test(i);)t.push(On(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null};ke.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,On(this,0)):null};ke.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,i,n){return r!==n[i-1]}).reverse(),Kr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Kr(this),this)};ke.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};ke.prototype.onCompile=function(){};const Ju=2147483647,Ze=36,h0=1,Mt=26,Ed=38,_d=700,Va=72,Ga=128,Wa="-",Cd=/^xn--/,Ad=/[^\0-\x7F]/,kd=/[\x2E\u3002\uFF0E\uFF61]/g,Sd={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fn=Ze-h0,Xe=Math.floor,dn=String.fromCharCode;function cu(u){throw new RangeError(Sd[u])}function Dd(u,e){const t=[];let r=u.length;for(;r--;)t[r]=e(u[r]);return t}function Za(u,e){const t=u.split("@");let r="";t.length>1&&(r=t[0]+"@",u=t[1]),u=u.replace(kd,".");const i=u.split("."),n=Dd(i,e).join(".");return r+n}function Xa(u){const e=[];let t=0;const r=u.length;for(;t=55296&&i<=56319&&tString.fromCodePoint(...u),Id=function(u){return u>=48&&u<58?26+(u-48):u>=65&&u<91?u-65:u>=97&&u<123?u-97:Ze},fs=function(u,e){return u+22+75*(u<26)-((e!=0)<<5)},Ka=function(u,e,t){let r=0;for(u=t?Xe(u/_d):u>>1,u+=Xe(u/e);u>fn*Mt>>1;r+=Ze)u=Xe(u/fn);return Xe(r+(fn+1)*u/(u+Ed))},Qa=function(u){const e=[],t=u.length;let r=0,i=Ga,n=Va,s=u.lastIndexOf(Wa);s<0&&(s=0);for(let a=0;a=128&&cu("not-basic"),e.push(u.charCodeAt(a));for(let a=s>0?s+1:0;a=t&&cu("invalid-input");const l=Id(u.charCodeAt(a++));l>=Ze&&cu("invalid-input"),l>Xe((Ju-r)/h)&&cu("overflow"),r+=l*h;const f=p<=n?h0:p>=n+Mt?Mt:p-n;if(lXe(Ju/b)&&cu("overflow"),h*=b}const c=e.length+1;n=Ka(r-o,c,o==0),Xe(r/c)>Ju-i&&cu("overflow"),i+=Xe(r/c),r%=c,e.splice(r++,0,i)}return String.fromCodePoint(...e)},Ja=function(u){const e=[];u=Xa(u);const t=u.length;let r=Ga,i=0,n=Va;for(const o of u)o<128&&e.push(dn(o));const s=e.length;let a=s;for(s&&e.push(Wa);a=r&&hXe((Ju-i)/c)&&cu("overflow"),i+=(o-r)*c,r=o;for(const h of u)if(hJu&&cu("overflow"),h===r){let p=i;for(let l=Ze;;l+=Ze){const f=l<=n?h0:l>=n+Mt?Mt:l-n;if(p=0))try{e.hostname=Ya.toASCII(e.hostname)}catch{}return pr(r0(e))}function Ud(u){const e=i0(u,!0);if(e.hostname&&(!e.protocol||eo.indexOf(e.protocol)>=0))try{e.hostname=Ya.toUnicode(e.hostname)}catch{}return pt(r0(e),pt.defaultChars+"%")}function Ie(u,e){if(!(this instanceof Ie))return new Ie(u,e);e||c0(u)||(e=u||{},u="default"),this.inline=new mr,this.block=new Bi,this.core=new f0,this.renderer=new vt,this.linkify=new ke,this.validateLink=qd,this.normalizeLink=Bd,this.normalizeLinkText=Ud,this.utils=jl,this.helpers=Mi({},Gl),this.options={},this.configure(u),e&&this.set(e)}Ie.prototype.set=function(u){return Mi(this.options,u),this};Ie.prototype.configure=function(u){const e=this;if(c0(u)){const t=u;if(u=Pd[t],!u)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!u)throw new Error("Wrong `markdown-it` preset, can't be empty");return u.options&&e.set(u.options),u.components&&Object.keys(u.components).forEach(function(t){u.components[t].rules&&e[t].ruler.enableOnly(u.components[t].rules),u.components[t].rules2&&e[t].ruler2.enableOnly(u.components[t].rules2)}),this};Ie.prototype.enable=function(u,e){let t=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(i){t=t.concat(this[i].ruler.enable(u,!0))},this),t=t.concat(this.inline.ruler2.enable(u,!0));const r=u.filter(function(i){return t.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Ie.prototype.disable=function(u,e){let t=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(i){t=t.concat(this[i].ruler.disable(u,!0))},this),t=t.concat(this.inline.ruler2.disable(u,!0));const r=u.filter(function(i){return t.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Ie.prototype.use=function(u){const e=[this].concat(Array.prototype.slice.call(arguments,1));return u.apply(u,e),this};Ie.prototype.parse=function(u,e){if(typeof u!="string")throw new Error("Input data should be a String");const t=new this.core.State(u,this,e);return this.core.process(t),t.tokens};Ie.prototype.render=function(u,e){return e=e||{},this.renderer.render(this.parse(u,e),this.options,e)};Ie.prototype.parseInline=function(u,e){const t=new this.core.State(u,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens};Ie.prototype.renderInline=function(u,e){return e=e||{},this.renderer.render(this.parseInline(u,e),this.options,e)};var uo={},qt={},p0={},b0={},m0={};Object.defineProperty(m0,"__esModule",{value:!0});m0.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(u){return u.charCodeAt(0)}));var g0={};Object.defineProperty(g0,"__esModule",{value:!0});g0.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(u){return u.charCodeAt(0)}));var Rn={};(function(u){var e;Object.defineProperty(u,"__esModule",{value:!0}),u.replaceCodePoint=u.fromCodePoint=void 0;var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);u.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(n){var s="";return n>65535&&(n-=65536,s+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),s+=String.fromCharCode(n),s};function r(n){var s;return n>=55296&&n<=57343||n>1114111?65533:(s=t.get(n))!==null&&s!==void 0?s:n}u.replaceCodePoint=r;function i(n){return(0,u.fromCodePoint)(r(n))}u.default=i})(Rn);(function(u){var e=j&&j.__createBinding||(Object.create?function(E,R,w,_){_===void 0&&(_=w);var m=Object.getOwnPropertyDescriptor(R,w);(!m||("get"in m?!R.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return R[w]}}),Object.defineProperty(E,_,m)}:function(E,R,w,_){_===void 0&&(_=w),E[_]=R[w]}),t=j&&j.__setModuleDefault||(Object.create?function(E,R){Object.defineProperty(E,"default",{enumerable:!0,value:R})}:function(E,R){E.default=R}),r=j&&j.__importStar||function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var w in E)w!=="default"&&Object.prototype.hasOwnProperty.call(E,w)&&e(R,E,w);return t(R,E),R},i=j&&j.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(u,"__esModule",{value:!0}),u.decodeXML=u.decodeHTMLStrict=u.decodeHTMLAttribute=u.decodeHTML=u.determineBranch=u.EntityDecoder=u.DecodingMode=u.BinTrieFlags=u.fromCodePoint=u.replaceCodePoint=u.decodeCodePoint=u.xmlDecodeTree=u.htmlDecodeTree=void 0;var n=i(m0);u.htmlDecodeTree=n.default;var s=i(g0);u.xmlDecodeTree=s.default;var a=r(Rn);u.decodeCodePoint=a.default;var o=Rn;Object.defineProperty(u,"replaceCodePoint",{enumerable:!0,get:function(){return o.replaceCodePoint}}),Object.defineProperty(u,"fromCodePoint",{enumerable:!0,get:function(){return o.fromCodePoint}});var c;(function(E){E[E.NUM=35]="NUM",E[E.SEMI=59]="SEMI",E[E.EQUALS=61]="EQUALS",E[E.ZERO=48]="ZERO",E[E.NINE=57]="NINE",E[E.LOWER_A=97]="LOWER_A",E[E.LOWER_F=102]="LOWER_F",E[E.LOWER_X=120]="LOWER_X",E[E.LOWER_Z=122]="LOWER_Z",E[E.UPPER_A=65]="UPPER_A",E[E.UPPER_F=70]="UPPER_F",E[E.UPPER_Z=90]="UPPER_Z"})(c||(c={}));var h=32,p;(function(E){E[E.VALUE_LENGTH=49152]="VALUE_LENGTH",E[E.BRANCH_LENGTH=16256]="BRANCH_LENGTH",E[E.JUMP_TABLE=127]="JUMP_TABLE"})(p=u.BinTrieFlags||(u.BinTrieFlags={}));function l(E){return E>=c.ZERO&&E<=c.NINE}function f(E){return E>=c.UPPER_A&&E<=c.UPPER_F||E>=c.LOWER_A&&E<=c.LOWER_F}function b(E){return E>=c.UPPER_A&&E<=c.UPPER_Z||E>=c.LOWER_A&&E<=c.LOWER_Z||l(E)}function k(E){return E===c.EQUALS||b(E)}var x;(function(E){E[E.EntityStart=0]="EntityStart",E[E.NumericStart=1]="NumericStart",E[E.NumericDecimal=2]="NumericDecimal",E[E.NumericHex=3]="NumericHex",E[E.NamedEntity=4]="NamedEntity"})(x||(x={}));var T;(function(E){E[E.Legacy=0]="Legacy",E[E.Strict=1]="Strict",E[E.Attribute=2]="Attribute"})(T=u.DecodingMode||(u.DecodingMode={}));var C=function(){function E(R,w,_){this.decodeTree=R,this.emitCodePoint=w,this.errors=_,this.state=x.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=T.Strict}return E.prototype.startEntity=function(R){this.decodeMode=R,this.state=x.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},E.prototype.write=function(R,w){switch(this.state){case x.EntityStart:return R.charCodeAt(w)===c.NUM?(this.state=x.NumericStart,this.consumed+=1,this.stateNumericStart(R,w+1)):(this.state=x.NamedEntity,this.stateNamedEntity(R,w));case x.NumericStart:return this.stateNumericStart(R,w);case x.NumericDecimal:return this.stateNumericDecimal(R,w);case x.NumericHex:return this.stateNumericHex(R,w);case x.NamedEntity:return this.stateNamedEntity(R,w)}},E.prototype.stateNumericStart=function(R,w){return w>=R.length?-1:(R.charCodeAt(w)|h)===c.LOWER_X?(this.state=x.NumericHex,this.consumed+=1,this.stateNumericHex(R,w+1)):(this.state=x.NumericDecimal,this.stateNumericDecimal(R,w))},E.prototype.addToNumericResult=function(R,w,_,m){if(w!==_){var v=_-w;this.result=this.result*Math.pow(m,v)+parseInt(R.substr(w,v),m),this.consumed+=v}},E.prototype.stateNumericHex=function(R,w){for(var _=w;w>14;w>14,v!==0){if(y===c.SEMI)return this.emitNamedEntityData(this.treeIndex,v,this.consumed+this.excess);this.decodeMode!==T.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},E.prototype.emitNotTerminatedNamedEntity=function(){var R,w=this,_=w.result,m=w.decodeTree,v=(m[_]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(_,v,this.consumed),(R=this.errors)===null||R===void 0||R.missingSemicolonAfterCharacterReference(),this.consumed},E.prototype.emitNamedEntityData=function(R,w,_){var m=this.decodeTree;return this.emitCodePoint(w===1?m[R]&~p.VALUE_LENGTH:m[R+1],_),w===3&&this.emitCodePoint(m[R+2],_),_},E.prototype.end=function(){var R;switch(this.state){case x.NamedEntity:return this.result!==0&&(this.decodeMode!==T.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case x.NumericDecimal:return this.emitNumericEntity(0,2);case x.NumericHex:return this.emitNumericEntity(0,3);case x.NumericStart:return(R=this.errors)===null||R===void 0||R.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case x.EntityStart:return 0}},E}();u.EntityDecoder=C;function I(E){var R="",w=new C(E,function(_){return R+=(0,a.fromCodePoint)(_)});return function(m,v){for(var y=0,S=0;(S=m.indexOf("&",S))>=0;){R+=m.slice(y,S),w.startEntity(v);var P=w.write(m,S+1);if(P<0){y=S+w.end();break}y=S+P,S=P===0?y+1:y}var B=R+m.slice(y);return R="",B}}function O(E,R,w,_){var m=(R&p.BRANCH_LENGTH)>>7,v=R&p.JUMP_TABLE;if(m===0)return v!==0&&_===v?w:-1;if(v){var y=_-v;return y<0||y>=m?-1:E[w+y]-1}for(var S=w,P=S+m-1;S<=P;){var B=S+P>>>1,L=E[B];if(L<_)S=B+1;else if(L>_)P=B-1;else return E[B+m]}return-1}u.determineBranch=O;var N=I(n.default),M=I(s.default);function X(E,R){return R===void 0&&(R=T.Legacy),N(E,R)}u.decodeHTML=X;function Z(E){return N(E,T.Attribute)}u.decodeHTMLAttribute=Z;function ee(E){return N(E,T.Strict)}u.decodeHTMLStrict=ee;function te(E){return M(E,T.Strict)}u.decodeXML=te})(b0);(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.QuoteType=void 0;var e=b0,t;(function(l){l[l.Tab=9]="Tab",l[l.NewLine=10]="NewLine",l[l.FormFeed=12]="FormFeed",l[l.CarriageReturn=13]="CarriageReturn",l[l.Space=32]="Space",l[l.ExclamationMark=33]="ExclamationMark",l[l.Number=35]="Number",l[l.Amp=38]="Amp",l[l.SingleQuote=39]="SingleQuote",l[l.DoubleQuote=34]="DoubleQuote",l[l.Dash=45]="Dash",l[l.Slash=47]="Slash",l[l.Zero=48]="Zero",l[l.Nine=57]="Nine",l[l.Semi=59]="Semi",l[l.Lt=60]="Lt",l[l.Eq=61]="Eq",l[l.Gt=62]="Gt",l[l.Questionmark=63]="Questionmark",l[l.UpperA=65]="UpperA",l[l.LowerA=97]="LowerA",l[l.UpperF=70]="UpperF",l[l.LowerF=102]="LowerF",l[l.UpperZ=90]="UpperZ",l[l.LowerZ=122]="LowerZ",l[l.LowerX=120]="LowerX",l[l.OpeningSquareBracket=91]="OpeningSquareBracket"})(t||(t={}));var r;(function(l){l[l.Text=1]="Text",l[l.BeforeTagName=2]="BeforeTagName",l[l.InTagName=3]="InTagName",l[l.InSelfClosingTag=4]="InSelfClosingTag",l[l.BeforeClosingTagName=5]="BeforeClosingTagName",l[l.InClosingTagName=6]="InClosingTagName",l[l.AfterClosingTagName=7]="AfterClosingTagName",l[l.BeforeAttributeName=8]="BeforeAttributeName",l[l.InAttributeName=9]="InAttributeName",l[l.AfterAttributeName=10]="AfterAttributeName",l[l.BeforeAttributeValue=11]="BeforeAttributeValue",l[l.InAttributeValueDq=12]="InAttributeValueDq",l[l.InAttributeValueSq=13]="InAttributeValueSq",l[l.InAttributeValueNq=14]="InAttributeValueNq",l[l.BeforeDeclaration=15]="BeforeDeclaration",l[l.InDeclaration=16]="InDeclaration",l[l.InProcessingInstruction=17]="InProcessingInstruction",l[l.BeforeComment=18]="BeforeComment",l[l.CDATASequence=19]="CDATASequence",l[l.InSpecialComment=20]="InSpecialComment",l[l.InCommentLike=21]="InCommentLike",l[l.BeforeSpecialS=22]="BeforeSpecialS",l[l.SpecialStartSequence=23]="SpecialStartSequence",l[l.InSpecialTag=24]="InSpecialTag",l[l.BeforeEntity=25]="BeforeEntity",l[l.BeforeNumericEntity=26]="BeforeNumericEntity",l[l.InNamedEntity=27]="InNamedEntity",l[l.InNumericEntity=28]="InNumericEntity",l[l.InHexEntity=29]="InHexEntity"})(r||(r={}));function i(l){return l===t.Space||l===t.NewLine||l===t.Tab||l===t.FormFeed||l===t.CarriageReturn}function n(l){return l===t.Slash||l===t.Gt||i(l)}function s(l){return l>=t.Zero&&l<=t.Nine}function a(l){return l>=t.LowerA&&l<=t.LowerZ||l>=t.UpperA&&l<=t.UpperZ}function o(l){return l>=t.UpperA&&l<=t.UpperF||l>=t.LowerA&&l<=t.LowerF}var c;(function(l){l[l.NoValue=0]="NoValue",l[l.Unquoted=1]="Unquoted",l[l.Single=2]="Single",l[l.Double=3]="Double"})(c=u.QuoteType||(u.QuoteType={}));var h={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},p=function(){function l(f,b){var k=f.xmlMode,x=k===void 0?!1:k,T=f.decodeEntities,C=T===void 0?!0:T;this.cbs=b,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=x,this.decodeEntities=C,this.entityTrie=x?e.xmlDecodeTree:e.htmlDecodeTree}return l.prototype.reset=function(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},l.prototype.write=function(f){this.offset+=this.buffer.length,this.buffer=f,this.parse()},l.prototype.end=function(){this.running&&this.finish()},l.prototype.pause=function(){this.running=!1},l.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&f===t.Amp&&(this.state=r.BeforeEntity)},l.prototype.stateSpecialStartSequence=function(f){var b=this.sequenceIndex===this.currentSequence.length,k=b?n(f):(f|32)===this.currentSequence[this.sequenceIndex];if(!k)this.isSpecial=!1;else if(!b){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(f)},l.prototype.stateInSpecialTag=function(f){if(this.sequenceIndex===this.currentSequence.length){if(f===t.Gt||i(f)){var b=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&f!==t.Semi)this.trieIndex+=k;else{var x=this.index-this.entityExcess+1;x>this.sectionStart&&this.emitPartial(this.sectionStart,x),this.entityResult=this.trieIndex,this.trieIndex+=k,this.entityExcess=0,this.sectionStart=this.index+1,k===0&&this.emitNamedEntity()}}},l.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var f=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(f){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},l.prototype.stateBeforeNumericEntity=function(f){(f|32)===t.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(f))},l.prototype.emitNumericEntity=function(f){var b=this.index-this.entityExcess-1,k=b+2+ +(this.state===r.InHexEntity);k!==this.index&&(b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.sectionStart=this.index+Number(f),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},l.prototype.stateInNumericEntity=function(f){f===t.Semi?this.emitNumericEntity(!0):s(f)?(this.entityResult=this.entityResult*10+(f-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},l.prototype.stateInHexEntity=function(f){f===t.Semi?this.emitNumericEntity(!0):s(f)?(this.entityResult=this.entityResult*16+(f-t.Zero),this.entityExcess++):o(f)?(this.entityResult=this.entityResult*16+((f|32)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},l.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},l.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},l.prototype.shouldContinue=function(){return this.index0&&s.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),ms.has(e)?this.foreignContext.push(!0):gs.has(e)&&this.foreignContext.push(!1)),(n=(i=this.cbs).onopentagname)===null||n===void 0||n.call(i,e),this.cbs.onopentag&&(this.attribs={})},u.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},u.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},u.prototype.onclosetag=function(e,t){var r,i,n,s,a,o;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(ms.has(c)||gs.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))!this.options.xmlMode&&c==="br"&&((i=(r=this.cbs).onopentagname)===null||i===void 0||i.call(r,"br"),(s=(n=this.cbs).onopentag)===null||s===void 0||s.call(n,"br",{},!0),(o=(a=this.cbs).onclosetag)===null||o===void 0||o.call(a,"br",!1));else{var h=this.stack.lastIndexOf(c);if(h!==-1)if(this.cbs.onclosetag)for(var p=this.stack.length-h;p--;)this.cbs.onclosetag(this.stack.pop(),p!==0);else this.stack.length=h;else!this.options.xmlMode&&c==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},u.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},u.prototype.closeCurrentTag=function(e){var t,r,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,i,!e),this.stack.pop())},u.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},u.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},u.prototype.onattribentity=function(e){this.attribvalue+=(0,ds.fromCodePoint)(e)},u.prototype.onattribend=function(e,t){var r,i;this.endIndex=t,(i=(r=this.cbs).onattribute)===null||i===void 0||i.call(r,this.attribname,this.attribvalue,e===kr.QuoteType.Double?'"':e===kr.QuoteType.Single?"'":e===kr.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},u.prototype.getInstructionName=function(e){var t=e.search(Wd),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(i),"!".concat(r))}this.startIndex=t+1},u.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(i),"?".concat(r))}this.startIndex=t+1},u.prototype.oncomment=function(e,t,r){var i,n,s,a;this.endIndex=t,(n=(i=this.cbs).oncomment)===null||n===void 0||n.call(i,this.getSlice(e,t-r)),(a=(s=this.cbs).oncommentend)===null||a===void 0||a.call(s),this.startIndex=t+1},u.prototype.oncdata=function(e,t,r){var i,n,s,a,o,c,h,p,l,f;this.endIndex=t;var b=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?((n=(i=this.cbs).oncdatastart)===null||n===void 0||n.call(i),(a=(s=this.cbs).ontext)===null||a===void 0||a.call(s,b),(c=(o=this.cbs).oncdataend)===null||c===void 0||c.call(o)):((p=(h=this.cbs).oncomment)===null||p===void 0||p.call(h,"[CDATA[".concat(b,"]]")),(f=(l=this.cbs).oncommentend)===null||f===void 0||f.call(l)),this.startIndex=t+1},u.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)},u.prototype.reset=function(){var e,t,r,i;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(i=(r=this.cbs).onparserinit)===null||i===void 0||i.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},u.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},u.prototype.write=function(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},u.prototype.end=function(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},u.prototype.pause=function(){this.tokenizer.pause()},u.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(x0);G.NodeWithChildren=zi;var no=function(u){Du(e,u);function e(){var t=u!==null&&u.apply(this,arguments)||this;return t.type=xe.ElementType.CDATA,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(zi);G.CDATA=no;var so=function(u){Du(e,u);function e(){var t=u!==null&&u.apply(this,arguments)||this;return t.type=xe.ElementType.Root,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(zi);G.Document=so;var ao=function(u){Du(e,u);function e(t,r,i,n){i===void 0&&(i=[]),n===void 0&&(n=t==="script"?xe.ElementType.Script:t==="style"?xe.ElementType.Style:xe.ElementType.Tag);var s=u.call(this,i)||this;return s.name=t,s.attribs=r,s.type=n,s}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map(function(r){var i,n;return{name:r,value:t.attribs[r],namespace:(i=t["x-attribsNamespace"])===null||i===void 0?void 0:i[r],prefix:(n=t["x-attribsPrefix"])===null||n===void 0?void 0:n[r]}})},enumerable:!1,configurable:!0}),e}(zi);G.Element=ao;function oo(u){return(0,xe.isTag)(u)}G.isTag=oo;function co(u){return u.type===xe.ElementType.CDATA}G.isCDATA=co;function lo(u){return u.type===xe.ElementType.Text}G.isText=lo;function fo(u){return u.type===xe.ElementType.Comment}G.isComment=fo;function ho(u){return u.type===xe.ElementType.Directive}G.isDirective=ho;function po(u){return u.type===xe.ElementType.Root}G.isDocument=po;function Xd(u){return Object.prototype.hasOwnProperty.call(u,"children")}G.hasChildren=Xd;function y0(u,e){e===void 0&&(e=!1);var t;if(lo(u))t=new to(u.data);else if(fo(u))t=new ro(u.data);else if(oo(u)){var r=e?hn(u.children):[],i=new ao(u.name,It({},u.attribs),r);r.forEach(function(o){return o.parent=i}),u.namespace!=null&&(i.namespace=u.namespace),u["x-attribsNamespace"]&&(i["x-attribsNamespace"]=It({},u["x-attribsNamespace"])),u["x-attribsPrefix"]&&(i["x-attribsPrefix"]=It({},u["x-attribsPrefix"])),t=i}else if(co(u)){var r=e?hn(u.children):[],n=new no(r);r.forEach(function(c){return c.parent=n}),t=n}else if(po(u)){var r=e?hn(u.children):[],s=new so(r);r.forEach(function(c){return c.parent=s}),u["x-mode"]&&(s["x-mode"]=u["x-mode"]),t=s}else if(ho(u)){var a=new io(u.name,u.data);u["x-name"]!=null&&(a["x-name"]=u["x-name"],a["x-publicId"]=u["x-publicId"],a["x-systemId"]=u["x-systemId"]),t=a}else throw new Error("Not implemented yet: ".concat(u.type));return t.startIndex=u.startIndex,t.endIndex=u.endIndex,u.sourceCodeLocation!=null&&(t.sourceCodeLocation=u.sourceCodeLocation),t}G.cloneNode=y0;function hn(u){for(var e=u.map(function(r){return y0(r,!0)}),t=1;t0&&(r+=Hi(u.children,e)),(e.xmlMode||!xs.has(u.name))&&(r+=""))),r}function a1(u){return"<".concat(u.data,">")}function o1(u,e){var t,r=u.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&u.parent&&e1.has(u.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?(0,Qr.encodeXML)(r):(0,Qr.escapeText)(r)),r}function c1(u){return"")}function l1(u){return"")}var f1=j&&j.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.innerText=Ce.textContent=Ce.getText=Ce.getInnerHTML=Ce.getOuterHTML=void 0;var Ke=au,d1=f1(gr),h1=Et;function mo(u,e){return(0,d1.default)(u,e)}Ce.getOuterHTML=mo;function p1(u,e){return(0,Ke.hasChildren)(u)?u.children.map(function(t){return mo(t,e)}).join(""):""}Ce.getInnerHTML=p1;function Hr(u){return Array.isArray(u)?u.map(Hr).join(""):(0,Ke.isTag)(u)?u.name==="br"?` +`:Hr(u.children):(0,Ke.isCDATA)(u)?Hr(u.children):(0,Ke.isText)(u)?u.data:""}Ce.getText=Hr;function Fn(u){return Array.isArray(u)?u.map(Fn).join(""):(0,Ke.hasChildren)(u)&&!(0,Ke.isComment)(u)?Fn(u.children):(0,Ke.isText)(u)?u.data:""}Ce.textContent=Fn;function Nn(u){return Array.isArray(u)?u.map(Nn).join(""):(0,Ke.hasChildren)(u)&&(u.type===h1.ElementType.Tag||(0,Ke.isCDATA)(u))?Nn(u.children):(0,Ke.isText)(u)?u.data:""}Ce.innerText=Nn;var se={};Object.defineProperty(se,"__esModule",{value:!0});se.prevElementSibling=se.nextElementSibling=se.getName=se.hasAttrib=se.getAttributeValue=se.getSiblings=se.getParent=se.getChildren=void 0;var w0=au;function go(u){return(0,w0.hasChildren)(u)?u.children:[]}se.getChildren=go;function xo(u){return u.parent||null}se.getParent=xo;function b1(u){var e,t,r=xo(u);if(r!=null)return go(r);for(var i=[u],n=u.prev,s=u.next;n!=null;)i.unshift(n),e=n,n=e.prev;for(;s!=null;)i.push(s),t=s,s=t.next;return i}se.getSiblings=b1;function m1(u,e){var t;return(t=u.attribs)===null||t===void 0?void 0:t[e]}se.getAttributeValue=m1;function g1(u,e){return u.attribs!=null&&Object.prototype.hasOwnProperty.call(u.attribs,e)&&u.attribs[e]!=null}se.hasAttrib=g1;function x1(u){return u.name}se.getName=x1;function y1(u){for(var e,t=u.next;t!==null&&!(0,w0.isTag)(t);)e=t,t=e.next;return t}se.nextElementSibling=y1;function w1(u){for(var e,t=u.prev;t!==null&&!(0,w0.isTag)(t);)e=t,t=e.prev;return t}se.prevElementSibling=w1;var ge={};Object.defineProperty(ge,"__esModule",{value:!0});ge.prepend=ge.prependChild=ge.append=ge.appendChild=ge.replaceElement=ge.removeElement=void 0;function xr(u){if(u.prev&&(u.prev.next=u.next),u.next&&(u.next.prev=u.prev),u.parent){var e=u.parent.children,t=e.lastIndexOf(u);t>=0&&e.splice(t,1)}u.next=null,u.prev=null,u.parent=null}ge.removeElement=xr;function v1(u,e){var t=e.prev=u.prev;t&&(t.next=e);var r=e.next=u.next;r&&(r.prev=e);var i=e.parent=u.parent;if(i){var n=i.children;n[n.lastIndexOf(u)]=e,u.parent=null}}ge.replaceElement=v1;function E1(u,e){if(xr(e),e.next=null,e.parent=u,u.children.push(e)>1){var t=u.children[u.children.length-2];t.next=e,e.prev=t}else e.prev=null}ge.appendChild=E1;function _1(u,e){xr(e);var t=u.parent,r=u.next;if(e.next=r,e.prev=u,u.next=e,e.parent=t,r){if(r.prev=e,t){var i=t.children;i.splice(i.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}ge.append=_1;function C1(u,e){if(xr(e),e.parent=u,e.prev=null,u.children.unshift(e)!==1){var t=u.children[1];t.prev=e,e.next=t}else e.next=null}ge.prependChild=C1;function A1(u,e){xr(e);var t=u.parent;if(t){var r=t.children;r.splice(r.indexOf(u),0,e)}u.prev&&(u.prev.next=e),e.parent=t,e.prev=u.prev,e.next=u,u.prev=e}ge.prepend=A1;var de={};Object.defineProperty(de,"__esModule",{value:!0});de.findAll=de.existsOne=de.findOne=de.findOneChild=de.find=de.filter=void 0;var Vi=au;function k1(u,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),yo(u,Array.isArray(e)?e:[e],t,r)}de.filter=k1;function yo(u,e,t,r){for(var i=[],n=[e],s=[0];;){if(s[0]>=n[0].length){if(s.length===1)return i;n.shift(),s.shift();continue}var a=n[0][s[0]++];if(u(a)&&(i.push(a),--r<=0))return i;t&&(0,Vi.hasChildren)(a)&&a.children.length>0&&(s.unshift(0),n.unshift(a.children))}}de.find=yo;function S1(u,e){return e.find(u)}de.findOneChild=S1;function wo(u,e,t){t===void 0&&(t=!0);for(var r=null,i=0;i0&&(r=wo(u,n.children,!0));else continue}return r}de.findOne=wo;function vo(u,e){return e.some(function(t){return(0,Vi.isTag)(t)&&(u(t)||vo(u,t.children))})}de.existsOne=vo;function D1(u,e){for(var t=[],r=[e],i=[0];;){if(i[0]>=r[0].length){if(r.length===1)return t;r.shift(),i.shift();continue}var n=r[0][i[0]++];(0,Vi.isTag)(n)&&(u(n)&&t.push(n),n.children.length>0&&(i.unshift(0),r.unshift(n.children)))}}de.findAll=D1;var Ae={};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.getElementsByTagType=Ae.getElementsByTagName=Ae.getElementById=Ae.getElements=Ae.testElement=void 0;var Iu=au,Gi=de,Jr={tag_name:function(u){return typeof u=="function"?function(e){return(0,Iu.isTag)(e)&&u(e.name)}:u==="*"?Iu.isTag:function(e){return(0,Iu.isTag)(e)&&e.name===u}},tag_type:function(u){return typeof u=="function"?function(e){return u(e.type)}:function(e){return e.type===u}},tag_contains:function(u){return typeof u=="function"?function(e){return(0,Iu.isText)(e)&&u(e.data)}:function(e){return(0,Iu.isText)(e)&&e.data===u}}};function Eo(u,e){return typeof e=="function"?function(t){return(0,Iu.isTag)(t)&&e(t.attribs[u])}:function(t){return(0,Iu.isTag)(t)&&t.attribs[u]===e}}function T1(u,e){return function(t){return u(t)||e(t)}}function _o(u){var e=Object.keys(u).map(function(t){var r=u[t];return Object.prototype.hasOwnProperty.call(Jr,t)?Jr[t](r):Eo(t,r)});return e.length===0?null:e.reduce(T1)}function I1(u,e){var t=_o(u);return t?t(e):!0}Ae.testElement=I1;function O1(u,e,t,r){r===void 0&&(r=1/0);var i=_o(u);return i?(0,Gi.filter)(i,e,t,r):[]}Ae.getElements=O1;function R1(u,e,t){return t===void 0&&(t=!0),Array.isArray(e)||(e=[e]),(0,Gi.findOne)(Eo("id",u),e,t)}Ae.getElementById=R1;function F1(u,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,Gi.filter)(Jr.tag_name(u),e,t,r)}Ae.getElementsByTagName=F1;function N1(u,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,Gi.filter)(Jr.tag_type(u),e,t,r)}Ae.getElementsByTagType=N1;var Co={};(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.uniqueSort=u.compareDocumentPosition=u.DocumentPosition=u.removeSubsets=void 0;var e=au;function t(s){for(var a=s.length;--a>=0;){var o=s[a];if(a>0&&s.lastIndexOf(o,a-1)>=0){s.splice(a,1);continue}for(var c=o.parent;c;c=c.parent)if(s.includes(c)){s.splice(a,1);break}}return s}u.removeSubsets=t;var r;(function(s){s[s.DISCONNECTED=1]="DISCONNECTED",s[s.PRECEDING=2]="PRECEDING",s[s.FOLLOWING=4]="FOLLOWING",s[s.CONTAINS=8]="CONTAINS",s[s.CONTAINED_BY=16]="CONTAINED_BY"})(r=u.DocumentPosition||(u.DocumentPosition={}));function i(s,a){var o=[],c=[];if(s===a)return 0;for(var h=(0,e.hasChildren)(s)?s:s.parent;h;)o.unshift(h),h=h.parent;for(h=(0,e.hasChildren)(a)?a:a.parent;h;)c.unshift(h),h=h.parent;for(var p=Math.min(o.length,c.length),l=0;lb.indexOf(x)?f===a?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:f===s?r.PRECEDING|r.CONTAINS:r.PRECEDING}u.compareDocumentPosition=i;function n(s){return s=s.filter(function(a,o,c){return!c.includes(a,o+1)}),s.sort(function(a,o){var c=i(a,o);return c&r.PRECEDING?-1:c&r.FOLLOWING?1:0}),s}u.uniqueSort=n})(Co);var Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.getFeed=void 0;var L1=Ce,yr=Ae;function P1(u){var e=Yr(U1,u);return e?e.name==="feed"?$1(e):M1(e):null}Wi.getFeed=P1;function $1(u){var e,t=u.children,r={type:"atom",items:(0,yr.getElementsByTagName)("entry",t).map(function(s){var a,o=s.children,c={media:Ao(o)};me(c,"id","id",o),me(c,"title","title",o);var h=(a=Yr("link",o))===null||a===void 0?void 0:a.attribs.href;h&&(c.link=h);var p=_u("summary",o)||_u("content",o);p&&(c.description=p);var l=_u("updated",o);return l&&(c.pubDate=new Date(l)),c})};me(r,"id","id",t),me(r,"title","title",t);var i=(e=Yr("link",t))===null||e===void 0?void 0:e.attribs.href;i&&(r.link=i),me(r,"description","subtitle",t);var n=_u("updated",t);return n&&(r.updated=new Date(n)),me(r,"author","email",t,!0),r}function M1(u){var e,t,r=(t=(e=Yr("channel",u.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],i={type:u.name.substr(0,3),id:"",items:(0,yr.getElementsByTagName)("item",u.children).map(function(s){var a=s.children,o={media:Ao(a)};me(o,"id","guid",a),me(o,"title","title",a),me(o,"link","link",a),me(o,"description","description",a);var c=_u("pubDate",a)||_u("dc:date",a);return c&&(o.pubDate=new Date(c)),o})};me(i,"title","title",r),me(i,"link","link",r),me(i,"description","description",r);var n=_u("lastBuildDate",r);return n&&(i.updated=new Date(n)),me(i,"author","managingEditor",r,!0),i}var q1=["url","type","lang"],B1=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Ao(u){return(0,yr.getElementsByTagName)("media:content",u).map(function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},i=0,n=q1;i{if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},v0={};Object.defineProperty(v0,"__esModule",{value:!0});/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function ys(u){return Object.prototype.toString.call(u)==="[object Object]"}function z1(u){var e,t;return ys(u)===!1?!1:(e=u.constructor,e===void 0?!0:(t=e.prototype,!(ys(t)===!1||t.hasOwnProperty("isPrototypeOf")===!1)))}v0.isPlainObject=z1;var H1=function(e){return V1(e)&&!G1(e)};function V1(u){return!!u&&typeof u=="object"}function G1(u){var e=Object.prototype.toString.call(u);return e==="[object RegExp]"||e==="[object Date]"||X1(u)}var W1=typeof Symbol=="function"&&Symbol.for,Z1=W1?Symbol.for("react.element"):60103;function X1(u){return u.$$typeof===Z1}function K1(u){return Array.isArray(u)?[]:{}}function Bt(u,e){return e.clone!==!1&&e.isMergeableObject(u)?gt(K1(u),u,e):u}function Q1(u,e,t){return u.concat(e).map(function(r){return Bt(r,t)})}function J1(u,e){if(!e.customMerge)return gt;var t=e.customMerge(u);return typeof t=="function"?t:gt}function Y1(u){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(u).filter(function(e){return Object.propertyIsEnumerable.call(u,e)}):[]}function ws(u){return Object.keys(u).concat(Y1(u))}function ko(u,e){try{return e in u}catch{return!1}}function eh(u,e){return ko(u,e)&&!(Object.hasOwnProperty.call(u,e)&&Object.propertyIsEnumerable.call(u,e))}function uh(u,e,t){var r={};return t.isMergeableObject(u)&&ws(u).forEach(function(i){r[i]=Bt(u[i],t)}),ws(e).forEach(function(i){eh(u,i)||(ko(u,i)&&t.isMergeableObject(e[i])?r[i]=J1(i,t)(u[i],e[i],t):r[i]=Bt(e[i],t))}),r}function gt(u,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Q1,t.isMergeableObject=t.isMergeableObject||H1,t.cloneUnlessOtherwiseSpecified=Bt;var r=Array.isArray(e),i=Array.isArray(u),n=r===i;return n?r?t.arrayMerge(u,e,t):uh(u,e,t):Bt(e,t)}gt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return gt(r,i,t)},{})};var th=gt,So=th;const rh=$i(So);var Do={exports:{}};(function(u){(function(e,t){u.exports?u.exports=t():e.parseSrcset=t()})(j,function(){return function(e){function t(O){return O===" "||O===" "||O===` +`||O==="\f"||O==="\r"}function r(O){var N,M=O.exec(e.substring(x));if(M)return N=M[0],x+=N.length,N}for(var i=e.length,n=/^[ \t\n\r\u000c]+/,s=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,o=/[,]+$/,c=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,l,f,b,k,x=0,T=[];;){if(r(s),x>=i)return T;p=r(a),l=[],p.slice(-1)===","?(p=p.replace(o,""),I()):C()}function C(){for(r(n),f="",b="in descriptor";;){if(k=e.charAt(x),b==="in descriptor")if(t(k))f&&(l.push(f),f="",b="after descriptor");else if(k===","){x+=1,f&&l.push(f),I();return}else if(k==="(")f=f+k,b="in parens";else if(k===""){f&&l.push(f),I();return}else f=f+k;else if(b==="in parens")if(k===")")f=f+k,b="in descriptor";else if(k===""){l.push(f),I();return}else f=f+k;else if(b==="after descriptor"&&!t(k))if(k===""){I();return}else b="in descriptor",x-=1;x+=1}}function I(){var O=!1,N,M,X,Z,ee={},te,E,R,w,_;for(Z=0;Z",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=vs.isColorSupported),Es&&e&&(t=Es(t));let r=t.split(/\r?\n/),i=Math.max(this.line-3,0),n=Math.min(this.line+2,r.length),s=String(n).length,a,o;if(e){let{bold:c,gray:h,red:p}=vs.createColors(!0);a=l=>c(p(l)),o=l=>h(l)}else a=o=c=>c;return r.slice(i,n).map((c,h)=>{let p=i+1+h,l=" "+(" "+p).slice(-s)+" | ";if(p===this.line){let f=o(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+o(l)+c+` + `+f+a("^")}return" "+o(l)+c}).join(` +`)}toString(){let e=this.showSourceCode();return e&&(e=` + +`+e+` +`),this.name+": "+this.message+e}};var _0=Ln;Ln.default=Ln;var wr={};wr.isClean=Symbol("isClean");wr.my=Symbol("my");const _s={after:` +`,beforeClose:` +`,beforeComment:` +`,beforeDecl:` +`,beforeOpen:" ",beforeRule:` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function oh(u){return u[0].toUpperCase()+u.slice(1)}let Pn=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:i&&(r+=" "),e.nodes)this.block(e,r+i);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+i+n,e)}}beforeAfter(e,t){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):t==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let i=e.parent,n=0;for(;i&&i.type!=="root";)n+=1,i=i.parent;if(r.includes(` +`)){let s=this.raw(e,null,"indent");if(s.length)for(let a=0;a0&&e.nodes[t].type==="comment";)t-=1;let r=this.raw(e,"semicolon");for(let i=0;i{if(i=o.raws[t],typeof i<"u")return!1})}return typeof i>"u"&&(i=_s[r]),s.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return t=r.raws.after,t.includes(` +`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!=="decl"&&(t=r.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return t=r.raws.before,t.includes(` +`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return t=r.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let i=r.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof r.raws.before<"u"){let n=r.raws.before.split(` +`);return t=n[n.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],i=e.raws[t];return i&&i.value===r?i.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var Oo=Pn;Pn.default=Pn;let ch=Oo;function $n(u,e){new ch(e).stringify(u)}var Zi=$n;$n.default=$n;let{isClean:Sr,my:lh}=wr,fh=_0,dh=Oo,hh=Zi;function Mn(u,e){let t=new u.constructor;for(let r in u){if(!Object.prototype.hasOwnProperty.call(u,r)||r==="proxyCache")continue;let i=u[r],n=typeof i;r==="parent"&&n==="object"?e&&(t[r]=e):r==="source"?t[r]=i:Array.isArray(i)?t[r]=i.map(s=>Mn(s,t)):(n==="object"&&i!==null&&(i=Mn(i)),t[r]=i)}return t}let qn=class{constructor(e={}){this.raws={},this[Sr]=!1,this[lh]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let r of e[t])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Mn(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new fh(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Sr]){this[Sr]=!1;let e=this;for(;e=e.parent;)e[Sr]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){t=this.toString();let i=t.indexOf(e.word);i!==-1&&(r=this.positionInside(i,t))}return r}positionInside(e,t){let r=t||this.toString(),i=this.source.start.column,n=this.source.start.line;for(let s=0;stypeof o=="object"&&o.toJSON?o.toJSON(null,t):o);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,t);else if(s==="source"){let o=t.get(a.input);o==null&&(o=n,t.set(a.input,n),n++),r[s]={end:a.end,inputId:o,start:a.start}}else r[s]=a}return i&&(r.inputs=[...t.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=hh){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let i={node:this};for(let n in r)i[n]=r[n];return e.warn(t,i)}get proxyOf(){return this}};var Xi=qn;qn.default=qn;let ph=Xi,Bn=class extends ph{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var Ki=Bn;Bn.default=Bn;let bh="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",mh=(u,e=21)=>(t=e)=>{let r="",i=t;for(;i--;)r+=u[Math.random()*u.length|0];return r},gh=(u=21)=>{let e="",t=u;for(;t--;)e+=bh[Math.random()*64|0];return e};var xh={nanoid:gh,customAlphabet:mh};let{SourceMapConsumer:Cs,SourceMapGenerator:As}=qe,{existsSync:yh,readFileSync:wh}=qe,{dirname:pn,join:vh}=qe;function Eh(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}let Un=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,i=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=pn(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Cs(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(i.test(e)||n.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||r.test(e))return Eh(e.substr(RegExp.lastMatch.length));let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),i=e.indexOf("*/",r);r>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,i)))}loadFile(e){if(this.root=pn(e),yh(e))return this.mapFile=e,wh(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let i=this.loadFile(r);if(!i)throw new Error("Unable to load previous source map: "+r.toString());return i}}else{if(t instanceof Cs)return As.fromSourceMap(t).toString();if(t instanceof As)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=vh(pn(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Ro=Un;Un.default=Un;let{SourceMapConsumer:_h,SourceMapGenerator:Ch}=qe,{fileURLToPath:ks,pathToFileURL:Dr}=qe,{isAbsolute:jn,resolve:zn}=qe,{nanoid:Ah}=xh,bn=qe,Ss=_0,kh=Ro,mn=Symbol("fromOffsetCache"),Sh=!!(_h&&Ch),Ds=!!(zn&&jn),ei=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Ds||/^\w+:\/\//.test(t.from)||jn(t.from)?this.file=t.from:this.file=zn(t.from)),Ds&&Sh){let r=new kh(this.css,t);if(r.text){this.map=r;let i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,t,r,i={}){let n,s,a;if(t&&typeof t=="object"){let c=t,h=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);t=p.line,r=p.col}else t=c.line,r=c.column;if(typeof h.offset=="number"){let p=this.fromOffset(h.offset);s=p.line,a=p.col}else s=h.line,a=h.column}else if(!r){let c=this.fromOffset(t);t=c.line,r=c.col}let o=this.origin(t,r,s,a);return o?n=new Ss(e,o.endLine===void 0?o.line:{column:o.column,line:o.line},o.endLine===void 0?o.column:{column:o.endColumn,line:o.endLine},o.source,o.file,i.plugin):n=new Ss(e,s===void 0?t:{column:r,line:t},s===void 0?r:{column:a,line:s},this.css,this.file,i.plugin),n.input={column:r,endColumn:a,endLine:s,line:t,source:this.css},this.file&&(Dr&&(n.input.url=Dr(this.file).toString()),n.input.file=this.file),n}fromOffset(e){let t,r;if(this[mn])r=this[mn];else{let n=this.css.split(` +`);r=new Array(n.length);let s=0;for(let a=0,o=n.length;a=t)i=r.length-1;else{let n=r.length-2,s;for(;i>1),e=r[s+1])i=s+1;else{i=s;break}}return{col:e-r[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:zn(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,i){if(!this.map)return!1;let n=this.map.consumer(),s=n.originalPositionFor({column:t,line:e});if(!s.source)return!1;let a;typeof r=="number"&&(a=n.originalPositionFor({column:i,line:r}));let o;jn(s.source)?o=Dr(s.source):o=new URL(s.source,this.map.consumer().sourceRoot||Dr(this.map.mapFile));let c={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:o.toString()};if(o.protocol==="file:")if(ks)c.file=ks(o);else throw new Error("file: protocol is not available in this PostCSS build");let h=n.sourceContentFor(s.source);return h&&(c.source=h),c}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var Qi=ei;ei.default=ei;bn&&bn.registerInput&&bn.registerInput(ei);let{SourceMapConsumer:Fo,SourceMapGenerator:Vr}=qe,{dirname:Gr,relative:No,resolve:Lo,sep:Po}=qe,{pathToFileURL:Ts}=qe,Dh=Qi,Th=!!(Fo&&Vr),Ih=!!(Gr&&Lo&&No&&Po),Oh=class{constructor(e,t,r,i){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=` +`;this.css.includes(`\r +`)&&(t=`\r +`),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||Gr(e.file),i;this.mapOpts.sourcesContent===!1?(i=new Fo(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,t,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),Ih&&Th&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Vr.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Vr({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Vr({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,r="",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},n,s;this.stringify(this.root,(a,o,c)=>{if(this.css+=a,o&&c!=="end"&&(i.generated.line=e,i.generated.column=t-1,o.source&&o.source.start?(i.source=this.sourcePath(o),i.original.line=o.source.start.line,i.original.column=o.source.start.column-1,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,this.map.addMapping(i))),n=a.match(/\n/g),n?(e+=n.length,s=a.lastIndexOf(` +`),t=a.length-s):t+=a.length,o&&c!=="start"){let h=o.parent||{raws:{}};(!(o.type==="decl"||o.type==="atrule"&&!o.nodes)||o!==h.last||h.raws.semicolon)&&(o.source&&o.source.end?(i.source=this.sourcePath(o),i.original.line=o.source.end.line,i.original.column=o.source.end.column-1,i.generated.line=e,i.generated.column=t-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=t-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Gr(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=Gr(Lo(r,this.mapOpts.annotation)));let i=No(r,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new Dh(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Ts){let r=Ts(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;Po==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};var $o=Oh;let Rh=Xi,Hn=class extends Rh{constructor(e){super(e),this.type="comment"}};var Ji=Hn;Hn.default=Hn;let{isClean:Mo,my:qo}=wr,Bo=Ki,Uo=Ji,Fh=Xi,jo,C0,A0,zo;function Ho(u){return u.map(e=>(e.nodes&&(e.nodes=Ho(e.nodes)),delete e.source,e))}function Vo(u){if(u[Mo]=!1,u.proxyOf.nodes)for(let e of u.proxyOf.nodes)Vo(e)}let ou=class Go extends Fh{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]e[t](...r.map(i=>typeof i=="function"?(n,s)=>i(n.toProxy(),s):i)):t==="every"||t==="some"?r=>e[t]((i,...n)=>r(i.toProxy(),...n)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let s of i)this.proxyOf.nodes.splice(r+1,0,s);let n;for(let s in this.indexes)n=this.indexes[s],r"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Bo(e)]}else if(e.selector)e=[new C0(e)];else if(e.name)e=[new A0(e)];else if(e.text)e=[new Uo(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[qo]||Go.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Mo]&&Vo(i),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r)}catch(n){throw t.addToError(n)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="atrule")return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="decl")return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="rule")return t(r,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ou.registerParse=u=>{jo=u};ou.registerRule=u=>{C0=u};ou.registerAtRule=u=>{A0=u};ou.registerRoot=u=>{zo=u};var Vu=ou;ou.default=ou;ou.rebuild=u=>{u.type==="atrule"?Object.setPrototypeOf(u,A0.prototype):u.type==="rule"?Object.setPrototypeOf(u,C0.prototype):u.type==="decl"?Object.setPrototypeOf(u,Bo.prototype):u.type==="comment"?Object.setPrototypeOf(u,Uo.prototype):u.type==="root"&&Object.setPrototypeOf(u,zo.prototype),u[qo]=!0,u.nodes&&u.nodes.forEach(e=>{ou.rebuild(e)})};let Nh=Vu,Wo,Zo,Ut=class extends Nh{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Wo(new Zo,this,e).stringify()}};Ut.registerLazyResult=u=>{Wo=u};Ut.registerProcessor=u=>{Zo=u};var k0=Ut;Ut.default=Ut;let Vn=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Xo=Vn;Vn.default=Vn;let Lh=Xo,Gn=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Lh(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};var S0=Gn;Gn.default=Gn;const gn=39,Is=34,Tr=92,Os=47,Ir=10,Ct=32,Or=12,Rr=9,Fr=13,Ph=91,$h=93,Mh=40,qh=41,Bh=123,Uh=125,jh=59,zh=42,Hh=58,Vh=64,Nr=/[\t\n\f\r "#'()/;[\\\]{}]/g,Lr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Gh=/.[\r\n"'(/\\]/,Rs=/[\da-f]/i;var Wh=function(e,t={}){let r=e.css.valueOf(),i=t.ignoreErrors,n,s,a,o,c,h,p,l,f,b,k=r.length,x=0,T=[],C=[];function I(){return x}function O(Z){throw e.error("Unclosed "+Z,x)}function N(){return C.length===0&&x>=k}function M(Z){if(C.length)return C.pop();if(x>=k)return;let ee=Z?Z.ignoreUnclosed:!1;switch(n=r.charCodeAt(x),n){case Ir:case Ct:case Rr:case Fr:case Or:{s=x;do s+=1,n=r.charCodeAt(s);while(n===Ct||n===Ir||n===Rr||n===Fr||n===Or);b=["space",r.slice(x,s)],x=s-1;break}case Ph:case $h:case Bh:case Uh:case Hh:case jh:case qh:{let te=String.fromCharCode(n);b=[te,te,x];break}case Mh:{if(l=T.length?T.pop()[1]:"",f=r.charCodeAt(x+1),l==="url"&&f!==gn&&f!==Is&&f!==Ct&&f!==Ir&&f!==Rr&&f!==Or&&f!==Fr){s=x;do{if(h=!1,s=r.indexOf(")",s+1),s===-1)if(i||ee){s=x;break}else O("bracket");for(p=s;r.charCodeAt(p-1)===Tr;)p-=1,h=!h}while(h);b=["brackets",r.slice(x,s+1),x,s],x=s}else s=r.indexOf(")",x+1),o=r.slice(x,s+1),s===-1||Gh.test(o)?b=["(","(",x]:(b=["brackets",o,x,s],x=s);break}case gn:case Is:{a=n===gn?"'":'"',s=x;do{if(h=!1,s=r.indexOf(a,s+1),s===-1)if(i||ee){s=x+1;break}else O("string");for(p=s;r.charCodeAt(p-1)===Tr;)p-=1,h=!h}while(h);b=["string",r.slice(x,s+1),x,s],x=s;break}case Vh:{Nr.lastIndex=x+1,Nr.test(r),Nr.lastIndex===0?s=r.length-1:s=Nr.lastIndex-2,b=["at-word",r.slice(x,s+1),x,s],x=s;break}case Tr:{for(s=x,c=!0;r.charCodeAt(s+1)===Tr;)s+=1,c=!c;if(n=r.charCodeAt(s+1),c&&n!==Os&&n!==Ct&&n!==Ir&&n!==Rr&&n!==Fr&&n!==Or&&(s+=1,Rs.test(r.charAt(s)))){for(;Rs.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===Ct&&(s+=1)}b=["word",r.slice(x,s+1),x,s],x=s;break}default:{n===Os&&r.charCodeAt(x+1)===zh?(s=r.indexOf("*/",x+2)+1,s===0&&(i||ee?s=r.length:O("comment")),b=["comment",r.slice(x,s+1),x,s],x=s):(Lr.lastIndex=x+1,Lr.test(r),Lr.lastIndex===0?s=r.length-1:s=Lr.lastIndex-2,b=["word",r.slice(x,s+1),x,s],T.push(b),x=s);break}}return x++,b}function X(Z){C.push(Z)}return{back:X,endOfFile:N,nextToken:M,position:I}};let Ko=Vu,ui=class extends Ko{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var D0=ui;ui.default=ui;Ko.registerAtRule(ui);let Qo=Vu,Jo,Yo,xt=class extends Qo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let i=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let n of i)n.raws.before=t.raws.before}return i}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Jo(new Yo,this,e).stringify()}};xt.registerLazyResult=u=>{Jo=u};xt.registerProcessor=u=>{Yo=u};var vr=xt;xt.default=xt;Qo.registerRoot(xt);let jt={comma(u){return jt.split(u,[","],!0)},space(u){let e=[" ",` +`," "];return jt.split(u,e)},split(u,e,t){let r=[],i="",n=!1,s=0,a=!1,o="",c=!1;for(let h of u)c?c=!1:h==="\\"?c=!0:a?h===o&&(a=!1):h==='"'||h==="'"?(a=!0,o=h):h==="("?s+=1:h===")"?s>0&&(s-=1):s===0&&e.includes(h)&&(n=!0),n?(i!==""&&r.push(i.trim()),i="",n=!1):i+=h;return(t||i!=="")&&r.push(i.trim()),r}};var ec=jt;jt.default=jt;let uc=Vu,Zh=ec,ti=class extends uc{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Zh.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var T0=ti;ti.default=ti;uc.registerRule(ti);let Xh=Ki,Kh=Wh,Qh=Ji,Jh=D0,Yh=vr,Fs=T0;const Ns={empty:!0,space:!0};function e2(u){for(let e=u.length-1;e>=0;e--){let t=u[e],r=t[3]||t[2];if(r)return r}}let u2=class{constructor(e){this.input=e,this.root=new Yh,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Jh;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,i,n,s=!1,a=!1,o=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(o.length>0){for(n=o.length-1,i=o[n];i&&i[0]==="space";)i=o[--n];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}else o.push(e);else o.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(o),o.length?(t.raws.afterName=this.spacesAndCommentsFromStart(o),this.raw(t,"params",o),s&&(e=o[o.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,i;for(let n=t-1;n>=0&&(i=e[n],!(i[0]!=="space"&&(r+=1,r===2)));n--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let t=0,r,i,n;for(let[s,a]of e.entries()){if(r=a,i=r[0],i==="("&&(t+=1),i===")"&&(t-=1),t===0&&i===":")if(!n)this.doubleColon(r);else{if(n[0]==="word"&&n[1]==="progid")continue;return s}n=r}return!1}comment(e){let t=new Qh;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let i=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=i[2],t.raws.left=i[1],t.raws.right=i[3]}}createTokenizer(){this.tokenizer=Kh(this.input)}decl(e,t){let r=new Xh;this.init(r,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||e2(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let n;for(;e.length;)if(n=e.shift(),n[0]===":"){r.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(n=e[c],n[1].toLowerCase()==="!important"){r.important=!0;let h=this.stringFrom(e,c);h=this.spacesFromEnd(e)+h,h!==" !important"&&(r.raws.important=h);break}else if(n[1].toLowerCase()==="important"){let h=e.slice(0),p="";for(let l=c;l>0;l--){let f=h[l][0];if(p.trim().indexOf("!")===0&&f!=="space")break;p=h.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=h)}if(n[0]!=="space"&&n[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=s.map(c=>c[1]).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Fs;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,i=!1,n=null,s=[],a=e[1].startsWith("--"),o=[],c=e;for(;c;){if(r=c[0],o.push(c),r==="("||r==="[")n||(n=c),s.push(r==="("?")":"]");else if(a&&i&&r==="{")n||(n=c),s.push("}");else if(s.length===0)if(r===";")if(i){this.decl(o,a);return}else break;else if(r==="{"){this.rule(o);return}else if(r==="}"){this.tokenizer.back(o.pop()),t=!0;break}else r===":"&&(i=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(n=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(n),t&&i){if(!a)for(;o.length&&(c=o[o.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(o.pop());this.decl(o,a)}else this.unknownWord(o)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,i){let n,s,a=r.length,o="",c=!0,h,p;for(let l=0;lf+b[1],"");e.raws[t]={raw:l,value:o}}e[t]=o}rule(e){e.pop();let t=new Fs;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let i=t;iWn(e)),u}let Zn={},wt=class rc{constructor(e,t,r){this.stringified=!1,this.processed=!1;let i;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))i=Wn(t);else if(t instanceof rc||t instanceof Ls)i=Wn(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let n=f2;r.syntax&&(n=r.syntax.parse),r.parser&&(n=r.parser),n.parse&&(n=n.parse);try{i=n(t,r)}catch(s){this.processed=!0,this.error=s}i&&!i[s2]&&c2.rebuild(i)}this.result=new Ls(e,i,r),this.helpers={...Zn,postcss:Zn,result:this.result},this.plugins=this.processor.plugins.map(n=>typeof n=="object"&&n.prepare?{...n,...n.prepare(this.result)}:n)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(t,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,i])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!p2[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!b2[r])if(typeof t[r]=="object")for(let i in t[r])i==="*"?e(t,r,t[r][i]):e(t,r+"-"+i.toLowerCase(),t[r][i]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(t);if(At(r))try{await r}catch(i){let n=t[t.length-1].node;throw this.handleError(i,n)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let i=e.nodes.map(n=>r(n,this.helpers));await Promise.all(i)}else await r(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return At(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o2;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new a2(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(At(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ze];)e[ze]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,i]of e){this.result.lastPlugin=r;let n;try{n=i(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(At(n))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:i}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(i.length>0&&t.visitorIndex{i[ze]||this.walkSync(i)});else{let i=this.listeners[r];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};wt.registerPostcss=u=>{Zn=u};var ic=wt;wt.default=wt;d2.registerLazyResult(wt);l2.registerLazyResult(wt);let m2=$o,g2=Zi,x2=I0;const y2=S0;let Xn=class{constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let i,n=g2;this.result=new y2(this._processor,i,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new m2(n,i,this._opts,t);if(a.isMap()){let[o,c]=a.generate();o&&(this.result.css=o),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=x2;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var w2=Xn;Xn.default=Xn;let v2=w2,E2=ic,_2=k0,C2=vr,zt=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new v2(this,e,t):new E2(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var A2=zt;zt.default=zt;C2.registerProcessor(zt);_2.registerProcessor(zt);let k2=Ki,S2=Ro,D2=Ji,T2=D0,I2=Qi,O2=vr,R2=T0;function Ht(u,e){if(Array.isArray(u))return u.map(i=>Ht(i));let{inputs:t,...r}=u;if(t){e=[];for(let i of t){let n={...i,__proto__:I2.prototype};n.map&&(n.map={...n.map,__proto__:S2.prototype}),e.push(n)}}if(r.nodes&&(r.nodes=u.nodes.map(i=>Ht(i,e))),r.source){let{inputId:i,...n}=r.source;r.source=n,i!=null&&(r.source.input=e[i])}if(r.type==="root")return new O2(r);if(r.type==="decl")return new k2(r);if(r.type==="rule")return new R2(r);if(r.type==="comment")return new D2(r);if(r.type==="atrule")return new T2(r);throw new Error("Unknown node type: "+u.type)}var F2=Ht;Ht.default=Ht;var $s={};let N2=_0,nc=Ki,L2=ic,P2=Vu,O0=A2,$2=Zi,M2=F2,sc=k0,q2=Xo,ac=Ji,oc=D0,B2=S0,U2=Qi,j2=I0,z2=ec,cc=T0,lc=vr,H2=Xi;function Q(...u){return u.length===1&&Array.isArray(u[0])&&(u=u[0]),new O0(u)}Q.plugin=function(e,t){let r=!1;function i(...s){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`),$s.LANG&&$s.LANG.startsWith("cn")&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南: +https://www.w3ctech.com/topic/2226`));let a=t(...s);return a.postcssPlugin=e,a.postcssVersion=new O0().version,a}let n;return Object.defineProperty(i,"postcss",{get(){return n||(n=i()),n}}),i.process=function(s,a,o){return Q([i(o)]).process(s,a)},i};Q.stringify=$2;Q.parse=j2;Q.fromJSON=M2;Q.list=z2;Q.comment=u=>new ac(u);Q.atRule=u=>new oc(u);Q.decl=u=>new nc(u);Q.rule=u=>new cc(u);Q.root=u=>new lc(u);Q.document=u=>new sc(u);Q.CssSyntaxError=N2;Q.Declaration=nc;Q.Container=P2;Q.Processor=O0;Q.Document=sc;Q.Comment=ac;Q.Warning=q2;Q.AtRule=oc;Q.Result=B2;Q.Input=U2;Q.Rule=cc;Q.Root=lc;Q.Node=H2;L2.registerPostcss(Q);var V2=Q;Q.default=Q;const G2=uo,Ms=j1,{isPlainObject:W2}=v0,qs=So,Z2=ih,{parse:X2}=V2,K2=["img","audio","video","picture","svg","object","map","iframe","embed"],Q2=["script","style"];function Dt(u,e){u&&Object.keys(u).forEach(function(t){e(u[t],t)})}function uu(u,e){return{}.hasOwnProperty.call(u,e)}function Bs(u,e){const t=[];return Dt(u,function(r){e(r)&&t.push(r)}),t}function J2(u){for(const e in u)if(uu(u,e))return!1;return!0}function Y2(u){return u.map(function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", ")}var ep=Vt;const up=/^[^\0\t\n\f\r /<=>]+$/;function Vt(u,e,t){if(u==null)return"";typeof u=="number"&&(u=u.toString());let r="",i="";function n(m,v){const y=this;this.tag=m,this.attribs=v||{},this.tagPosition=r.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(x.length){const S=x[x.length-1];S.text+=y.text}},this.updateParentNodeMediaChildren=function(){x.length&&K2.includes(this.tag)&&x[x.length-1].mediaChildren.push(this.tag)}}e=Object.assign({},Vt.defaults,e),e.parser=Object.assign({},tp,e.parser);const s=function(m){return e.allowedTags===!1||(e.allowedTags||[]).indexOf(m)>-1};Q2.forEach(function(m){s(m)&&!e.allowVulnerableTags&&console.warn(` + +⚠️ Your \`allowedTags\` option includes, \`${m}\`, which is inherently +vulnerable to XSS attacks. Please remove it from \`allowedTags\`. +Or, to disable this warning, add the \`allowVulnerableTags\` option +and ensure you are accounting for this risk. + +`)});const a=e.nonTextTags||["script","style","textarea","option"];let o,c;e.allowedAttributes&&(o={},c={},Dt(e.allowedAttributes,function(m,v){o[v]=[];const y=[];m.forEach(function(S){typeof S=="string"&&S.indexOf("*")>=0?y.push(Ms(S).replace(/\\\*/g,".*")):o[v].push(S)}),y.length&&(c[v]=new RegExp("^("+y.join("|")+")$"))}));const h={},p={},l={};Dt(e.allowedClasses,function(m,v){if(o&&(uu(o,v)||(o[v]=[]),o[v].push("class")),h[v]=m,Array.isArray(m)){const y=[];h[v]=[],l[v]=[],m.forEach(function(S){typeof S=="string"&&S.indexOf("*")>=0?y.push(Ms(S).replace(/\\\*/g,".*")):S instanceof RegExp?l[v].push(S):h[v].push(S)}),y.length&&(p[v]=new RegExp("^("+y.join("|")+")$"))}});const f={};let b;Dt(e.transformTags,function(m,v){let y;typeof m=="function"?y=m:typeof m=="string"&&(y=Vt.simpleTransform(m)),v==="*"?b=y:f[v]=y});let k,x,T,C,I,O,N=!1;X();const M=new G2.Parser({onopentag:function(m,v){if(e.enforceHtmlBoundary&&m==="html"&&X(),I){O++;return}const y=new n(m,v);x.push(y);let S=!1;const P=!!y.text;let B;if(uu(f,m)&&(B=f[m](m,v),y.attribs=v=B.attribs,B.text!==void 0&&(y.innerText=B.text),m!==B.tagName&&(y.name=m=B.tagName,C[k]=B.tagName)),b&&(B=b(m,v),y.attribs=v=B.attribs,m!==B.tagName&&(y.name=m=B.tagName,C[k]=B.tagName)),(!s(m)||e.disallowedTagsMode==="recursiveEscape"&&!J2(T)||e.nestingLimit!=null&&k>=e.nestingLimit)&&(S=!0,T[k]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&a.indexOf(m)!==-1&&(I=!0,O=1),T[k]=!0),k++,S){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")return;i=r,r=""}r+="<"+m,m==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(y.innerText=""),(!o||uu(o,m)||o["*"])&&Dt(v,function(L,q){if(!up.test(q)){delete y.attribs[q];return}if(L===""&&!e.allowedEmptyAttributes.includes(q)&&(e.nonBooleanAttributes.includes(q)||e.nonBooleanAttributes.includes("*"))){delete y.attribs[q];return}let oe=!1;if(!o||uu(o,m)&&o[m].indexOf(q)!==-1||o["*"]&&o["*"].indexOf(q)!==-1||uu(c,m)&&c[m].test(q)||c["*"]&&c["*"].test(q))oe=!0;else if(o&&o[m]){for(const U of o[m])if(W2(U)&&U.name&&U.name===q){oe=!0;let W="";if(U.multiple===!0){const Tu=L.split(" ");for(const Ye of Tu)U.values.indexOf(Ye)!==-1&&(W===""?W=Ye:W+=" "+Ye)}else U.values.indexOf(L)>=0&&(W=L);L=W}}if(oe){if(e.allowedSchemesAppliedToAttributes.indexOf(q)!==-1&&ee(m,L)){delete y.attribs[q];return}if(m==="script"&&q==="src"){let U=!0;try{const W=te(L);if(e.allowedScriptHostnames||e.allowedScriptDomains){const Tu=(e.allowedScriptHostnames||[]).find(function(Oe){return Oe===W.url.hostname}),Ye=(e.allowedScriptDomains||[]).find(function(Oe){return W.url.hostname===Oe||W.url.hostname.endsWith(`.${Oe}`)});U=Tu||Ye}}catch{U=!1}if(!U){delete y.attribs[q];return}}if(m==="iframe"&&q==="src"){let U=!0;try{const W=te(L);if(W.isRelativeUrl)U=uu(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const Tu=(e.allowedIframeHostnames||[]).find(function(Oe){return Oe===W.url.hostname}),Ye=(e.allowedIframeDomains||[]).find(function(Oe){return W.url.hostname===Oe||W.url.hostname.endsWith(`.${Oe}`)});U=Tu||Ye}}catch{U=!1}if(!U){delete y.attribs[q];return}}if(q==="srcset")try{let U=Z2(L);if(U.forEach(function(W){ee("srcset",W.url)&&(W.evil=!0)}),U=Bs(U,function(W){return!W.evil}),U.length)L=Y2(Bs(U,function(W){return!W.evil})),y.attribs[q]=L;else{delete y.attribs[q];return}}catch{delete y.attribs[q];return}if(q==="class"){const U=h[m],W=h["*"],Tu=p[m],Ye=l[m],Oe=p["*"],U0=[Tu,Oe].concat(Ye).filter(function(vc){return vc});if(U&&W?L=_(L,qs(U,W),U0):L=_(L,U||W,U0),!L.length){delete y.attribs[q];return}}if(q==="style"){if(e.parseStyleAttributes)try{const U=X2(m+" {"+L+"}",{map:!1}),W=E(U,e.allowedStyles);if(L=R(W),L.length===0){delete y.attribs[q];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+m+" {"+L+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete y.attribs[q];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}r+=" "+q,L&&L.length?r+='="'+Z(L,!0)+'"':e.allowedEmptyAttributes.includes(q)&&(r+='=""')}else delete y.attribs[q]}),e.selfClosing.indexOf(m)!==-1?r+=" />":(r+=">",y.innerText&&!P&&!e.textFilter&&(r+=Z(y.innerText),N=!0)),S&&(r=i+Z(r),i="")},ontext:function(m){if(I)return;const v=x[x.length-1];let y;if(v&&(y=v.tag,m=v.innerText!==void 0?v.innerText:m),e.disallowedTagsMode==="completelyDiscard"&&!s(y))m="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(y==="script"||y==="style"))r+=m;else{const S=Z(m,!1);e.textFilter&&!N?r+=e.textFilter(S,y):N||(r+=S)}if(x.length){const S=x[x.length-1];S.text+=m}},onclosetag:function(m,v){if(I)if(O--,!O)I=!1;else return;const y=x.pop();if(!y)return;if(y.tag!==m){x.push(y);return}I=e.enforceHtmlBoundary?m==="html":!1,k--;const S=T[k];if(S){if(delete T[k],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){y.updateParentNodeText();return}i=r,r=""}if(C[k]&&(m=C[k],delete C[k]),e.exclusiveFilter&&e.exclusiveFilter(y)){r=r.substr(0,y.tagPosition);return}if(y.updateParentNodeMediaChildren(),y.updateParentNodeText(),e.selfClosing.indexOf(m)!==-1||v&&!s(m)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){S&&(r=i,i="");return}r+="",S&&(r=i+Z(r),i=""),N=!1}},e.parser);return M.write(u),M.end(),r;function X(){r="",k=0,x=[],T={},C={},I=!1,O=0}function Z(m,v){return typeof m!="string"&&(m=m+""),e.parser.decodeEntities&&(m=m.replace(/&/g,"&").replace(//g,">"),v&&(m=m.replace(/"/g,"""))),m=m.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),v&&(m=m.replace(/"/g,""")),m}function ee(m,v){for(v=v.replace(/[\x00-\x20]+/g,"");;){const P=v.indexOf("",P+4);if(B===-1)break;v=v.substring(0,P)+v.substring(B+3)}const y=v.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!y)return v.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const S=y[1].toLowerCase();return uu(e.allowedSchemesByTag,m)?e.allowedSchemesByTag[m].indexOf(S)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(S)===-1}function te(m){if(m=m.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),m.startsWith("relative:"))throw new Error("relative: exploit attempt");let v="relative://relative-site";for(let P=0;P<100;P++)v+=`/${P}`;const y=new URL(m,v);return{isRelativeUrl:y&&y.hostname==="relative-site"&&y.protocol==="relative:",url:y}}function E(m,v){if(!v)return m;const y=m.nodes[0];let S;return v[y.selector]&&v["*"]?S=qs(v[y.selector],v["*"]):S=v[y.selector]||v["*"],S&&(m.nodes[0].nodes=y.nodes.reduce(w(S),[])),m}function R(m){return m.nodes[0].nodes.reduce(function(v,y){return v.push(`${y.prop}:${y.value}${y.important?" !important":""}`),v},[]).join(";")}function w(m){return function(v,y){return uu(m,y.prop)&&m[y.prop].some(function(P){return P.test(y.value)})&&v.push(y),v}}function _(m,v,y){return v?(m=m.split(/\s+/),m.filter(function(S){return v.indexOf(S)!==-1||y.some(function(P){return P.test(S)})}).join(" ")):m}}const tp={decodeEntities:!0};Vt.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0};Vt.simpleTransform=function(u,e,t){return t=t===void 0?!0:t,e=e||{},function(r,i){let n;if(t)for(n in e)i[n]=e[n];else i=e;return{tagName:u,attribs:i}}};const rp=$i(ep),ip=Ie(),mm=u=>rp(ip.render(u)),gm=u=>u?Date.parse(u)-Date.now():0,xm=u=>{const e=new Intl.RelativeTimeFormat("en",{numeric:"auto",style:"long"}),t=Math.floor(u/(1e3*60*60*24)),r=Math.floor(t/7),i=Math.floor(t/30),n=Math.floor(t/365);return n>1?e.format(n,"years"):i>1?e.format(i,"months"):r>1?e.format(r,"weeks"):t>1?e.format(t,"days"):"less than a day"};function np(u,e=!0){if(!(u instanceof Date))throw new Error("Input must be a Date object");const t=c=>c.toString().padStart(2,"0"),r=u.getUTCFullYear(),i=t(u.getUTCMonth()+1),n=t(u.getUTCDate());if(!e)return`${r}-${i}-${n}`;const s=t(u.getUTCHours()),a=t(u.getUTCMinutes()),o=t(u.getUTCSeconds());return`${r}-${i}-${n} ${s}:${a}:${o} UTC`}class $e extends Event{constructor(t,r){super(t);g(this,"session");this.session=r}}g($e,"Changed","authChanged"),g($e,"UpdateStorage","updateStorage"),g($e,"LoggedIn","loggedIn"),g($e,"LoggedOut","loggedOut");var Fu,De,Ne,V,si,Wt,Zt,ai,oi,ci,li,fi;const Re=class Re extends EventTarget{constructor(){super();A(this,Fu);A(this,De);A(this,Ne);A(this,V,{username:"",loggedIn:!1,aws:{user:void 0,attributes:void 0,session:void 0},paddle:{pwCustomer:{id:void 0,email:void 0}}});g(this,"init",async()=>d(this,Fu)?d(this,Fu):($(this,Fu,new Promise(async(t,r)=>{try{Sc.configure(d(this,fi).call(this)),Dc.listen("auth",async({payload:i})=>{switch(D.debug(z.yellow("Auth event"),i.event),i.event){case"signedIn":case"signedOut":D.debug(`Updating auth session after event: ${z.yellow(i.event)}`),await this.update();break;default:D.debug(`Unhandled auth event: ${z.yellow(i.event)}`);break}}),await d(this,De).load(),G0.setKeyValueStorage(d(this,De)),await this.update(),D.debug("Auth initialized"),t()}catch(i){D.error("Error initializing auth",i),r(i)}})),d(this,Fu)));g(this,"getSession",()=>d(this,V));g(this,"getUser",()=>d(this,V).aws.user);g(this,"getUserId",()=>{var t;return((t=d(this,V).aws.user)==null?void 0:t.userId)??""});g(this,"getUserEmail",()=>d(this,V).username);g(this,"isLoggedIn",()=>!!d(this,V).loggedIn);g(this,"getCustomerId",()=>d(this,V).paddle.pwCustomer.id??"");g(this,"saveCustomerId",async t=>{if(!d(this,V).loggedIn)throw new Error("Can't save customer ID: User is not logged in");return D.debug("Saving customerId"),d(this,V).paddle.pwCustomer.id=t,Tc({userAttribute:{attributeKey:fe.aws.cognito.CUSTOMER_ID_ATTR_NAME,value:t}})});g(this,"signUp",async(t,r)=>{const i=np(r);return await Ic({username:t,password:d(this,oi).call(this,30),options:{userAttributes:{[fe.aws.cognito.TERMS_ACCEPTED_AT_ATTR_NAME]:i}}})});g(this,"signIn",async t=>await Oc({username:t,options:{authFlowType:"CUSTOM_WITHOUT_SRP"}}));g(this,"confirmSignIn",async t=>{if(!t)throw new Error("Code is required");return await Rc({challengeResponse:t})});g(this,"resendSignInCode",async t=>await this.signIn(t));g(this,"signOut",async()=>{try{await Fc()}catch(t){D.error("Error while signing out",(t==null?void 0:t.message)??t)}await d(this,Wt).call(this)});g(this,"update",async(t={numRetries:0,forceRefresh:!1})=>{const r=t.numRetries??0,i=t.forceRefresh??!1;await t0(()=>d(this,si).call(this,!0,i),{retries:r>=0?r:void 0,forever:r<0,minTimeout:500,shouldRetry(n){return(n==null?void 0:n.name)==="NetworkError"||(n==null?void 0:n.message)==="Network error"},onFailedAttempt(n){D.info(z.yellow(`Could not update session (attempt: ${n.attemptNumber}, error: ${(n==null?void 0:n.message)??n})`))}}).catch(n=>{D.error("All attempts to update the auth session have failed",(n==null?void 0:n.message)??n)})});A(this,si,async(t=!1,r=!1)=>{var a,o;const i=JSON.parse(JSON.stringify(d(this,V)));try{d(this,Ne)==="pull"&&d(this,Zt).call(this),d(this,De).isEmpty()&&d(this,V).loggedIn?(D.debug(z.yellow("Auth storage is empty - signing out")),d(this,Ne)==="pull"?await this.signOut():await d(this,Wt).call(this)):d(this,De).isEmpty()||(d(this,V).aws.user=await Nc(),d(this,V).aws.session=await Lc({forceRefresh:r}),d(this,V).aws.attributes=await Pc(),d(this,V).username=d(this,ci).call(this,d(this,V)),d(this,V).loggedIn=!!d(this,V).aws.user||!1,d(this,V).paddle.pwCustomer.id=(a=d(this,V).aws.attributes)==null?void 0:a[fe.aws.cognito.CUSTOMER_ID_ATTR_NAME],d(this,V).paddle.pwCustomer.email=(o=d(this,V).aws.attributes)==null?void 0:o.email,D.debug(`Session updated (${d(this,V).loggedIn?z.green("logged in"):z.red("logged out")})`))}catch(c){if(t&&((c==null?void 0:c.name)==="NetworkError"||(c==null?void 0:c.message)==="Network error"))throw c;(c==null?void 0:c.name)==="UserUnAuthenticatedException"?this.isLoggedIn()&&D.warn("Session expired. Can't update session",(c==null?void 0:c.message)??c):D.error("Could not update session:",(c==null?void 0:c.message)??c,c.name)}const n=!u0(i,d(this,V));d(this,Ne)==="push"&&n&&await d(this,De).save();const s=this.isLoggedIn()!==i.loggedIn;return n&&s&&(D.debug(z.magenta("Auth session state changed")),this.dispatchEvent(new $e($e.Changed,d(this,V))),this.isLoggedIn()?(D.debug(z.green("User logged in")),this.dispatchEvent(new $e($e.LoggedIn,d(this,V)))):(D.debug(z.yellow("User logged out")),this.dispatchEvent(new $e($e.LoggedOut,d(this,V))))),d(this,V)});A(this,Wt,async()=>{d(this,Ne)==="push"&&(D.debug("Clearing auth storage"),await d(this,De).clear()),d(this,V).loggedIn=!1,d(this,V).username="",d(this,V).aws.attributes=void 0,d(this,V).aws.session=void 0,d(this,V).aws.user=void 0,d(this,V).paddle.pwCustomer.id=void 0,d(this,V).paddle.pwCustomer.email=void 0,D.info("Auth session cleared 🧹")});A(this,Zt,async()=>{d(this,Ne)==="pull"&&(D.debug("Updating auth session from storage"),await d(this,De).load(),await G0.authTokenStore.loadTokens())});A(this,ai,async()=>{d(this,Ne)==="pull"&&(D.debug("Auth storage has signaled an update"),await d(this,Zt).call(this),await this.update())});A(this,oi,t=>{const r=new Uint8Array(t);return window.crypto.getRandomValues(r),Array.from(r).map(d(this,li)).join("")});A(this,ci,t=>{var r,i,n,s;return((r=t.aws.attributes)==null?void 0:r.email)||((n=(i=t.aws.user)==null?void 0:i.signInDetails)==null?void 0:n.loginId)||((s=t.aws.user)==null?void 0:s.username)||"Plus User"});A(this,li,t=>t.toString(16).padStart(2,"0"));A(this,fi,()=>({Auth:{Cognito:{loginWith:{email:!0},userPoolId:fe.aws.cognito.USER_POOL_ID,identityPoolId:fe.aws.cognito.IDENTITY_POOL_ID,userPoolClientId:fe.aws.cognito.APP_CLIENT_ID}},API:{REST:{[Re.ApiNAme]:{endpoint:fe.aws.apiGateway.URL,region:fe.aws.apiGateway.REGION}}}}));$(this,Ne,Ac()?"pull":"push"),$(this,De,new Uc(Re.StorageKey)),d(this,Ne)==="pull"&&d(this,De).addEventListener(Wr.Updated,d(this,ai))}static getInstance(){return Re.instance||(Re.instance=new Re),Re.instance}};Fu=new WeakMap,De=new WeakMap,Ne=new WeakMap,V=new WeakMap,si=new WeakMap,Wt=new WeakMap,Zt=new WeakMap,ai=new WeakMap,oi=new WeakMap,ci=new WeakMap,li=new WeakMap,fi=new WeakMap,g(Re,"instance"),g(Re,"StorageKey","auth"),g(Re,"ApiNAme",fe.apiName);let Ku=Re;var ut;const F=class F{constructor(e,t,r={}){g(this,"flags");g(this,"description");g(this,"source");this.key=e,this.label=t,this.flags={requiresPlus:!1,confirmFirst:!1,supportsOrigins:!1,...r},this.description=F.descriptions.get(e),this.source=F.sources.get(e),d(F,ut).set(e,this)}static get allItems(){return d(this,ut)}static getName(e){var t;return((t=d(this,ut).get(e))==null?void 0:t.label)??e}};ut=new WeakMap,A(F,ut,new Map),g(F,"AppCacheKey","appcache"),g(F,"CacheKey","cache"),g(F,"CacheStorageKey","cacheStorage"),g(F,"CookiesKey","cookies"),g(F,"FileSystemsKey","fileSystems"),g(F,"IndexedDBKey","indexedDB"),g(F,"LocalStorageKey","localStorage"),g(F,"ServiceWorkersKey","serviceWorkers"),g(F,"WebSQLKey","webSQL"),g(F,"DownloadsKey","downloads"),g(F,"FormDataKey","formData"),g(F,"HistoryKey","history"),g(F,"PasswordsKey","passwords"),g(F,"descriptions",new Map([[F.AppCacheKey,"Websites could previously use AppCache to save data for offline use. This feature is now deprecated, but clearing this data can free up space and may ensure you see the latest content for old apps. However, offline functionality may be lost until the cache is rebuilt."],[F.CacheKey,"Clearing the cache frees up space and ensures you load the latest website versions, but initial load times may be slower until the cache is repopulated."],[F.CacheStorageKey,"Similar to regular cache, but uses a different API. Clearing ensures the latest data is fetched, but may Impact performance until the cache is rebuilt."],[F.CookiesKey,"Clearing cookies can improve privacy and free up a small amount of space, but you'll be logged out of sites and lose preferences. Some site functionality may be impacted until cookies are recreated."],[F.FileSystemsKey,"Websites using the File System API can store data which can be cleared to free up space, but site functionality relying on this data may be impacted."],[F.IndexedDBKey,"Websites can store structured data for offline use or performance. Clearing this can free up significant space, but site functionality may be impacted until the data is recreated."],[F.LocalStorageKey,"Clearing locally stored data can free up space and improve privacy, but site functionality relying on this data may be impacted and preferences may be lost."],[F.ServiceWorkersKey,"Clearing service worker data may impact offline functionality and background processing until the scripts are fetched and executed again."],[F.WebSQLKey,"Clearing data from the deprecated Web SQL Database API can free up space and improve privacy, but some older sites may lose saved data and functionality until it's recreated."],[F.DownloadsKey,"Clearing download history doesn't delete the actual files, just the browser's record. This improves privacy but doesn't free up space."],[F.FormDataKey,"Clearing auto-fill form data improves privacy but means you'll need to re-enter information on future form fills."],[F.HistoryKey,"Clearing history improves privacy but you lose the convenience of easily accessing previously visited sites."],[F.PasswordsKey,"Clearing saved passwords improves security if someone else has access to your browser, but you'll need to manually re-enter passwords afterward."]])),g(F,"sources",new Map([[F.AppCacheKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeAppcache"],[F.CacheKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeCache"],[F.CacheStorageKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeCacheStorage"],[F.CookiesKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeCookies"],[F.FileSystemsKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeFileSystems"],[F.IndexedDBKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeIndexedDB"],[F.LocalStorageKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeLocalStorage"],[F.ServiceWorkersKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeServiceWorkers"],[F.WebSQLKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeWebSQL"],[F.DownloadsKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#method-removeDownloads"],[F.FormDataKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#type-DataTypeSet"],[F.HistoryKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#type-DataTypeSet"],[F.PasswordsKey,"https://developer.chrome.com/docs/extensions/reference/api/browsingData#type-DataTypeSet"]])),g(F,"AppCache",new F("appcache","App Cache",{supportsOrigins:!0,requiresPlus:!0})),g(F,"Cache",new F("cache","Cache",{supportsOrigins:!0,requiresPlus:!0})),g(F,"CacheStorage",new F("cacheStorage","Cache Storage",{supportsOrigins:!0,requiresPlus:!0})),g(F,"Cookies",new F("cookies","Cookies",{supportsOrigins:!0,requiresPlus:!1})),g(F,"FileSystems",new F("fileSystems","File Systems",{supportsOrigins:!0,requiresPlus:!0})),g(F,"IndexedDB",new F("indexedDB","IndexedDB",{supportsOrigins:!0,requiresPlus:!0})),g(F,"LocalStorage",new F("localStorage","Local Storage",{supportsOrigins:!0,requiresPlus:!0})),g(F,"ServiceWorkers",new F("serviceWorkers","Service Workers",{supportsOrigins:!0,requiresPlus:!0})),g(F,"WebSQL",new F("webSQL","WebSQL",{supportsOrigins:!0,requiresPlus:!0})),g(F,"Downloads",new F("downloads","Downloads",{supportsOrigins:!1})),g(F,"FormData",new F("formData","Form Data",{supportsOrigins:!1,confirmFirst:!0})),g(F,"History",new F("history","History",{supportsOrigins:!1})),g(F,"Passwords",new F("passwords","Passwords",{supportsOrigins:!1,confirmFirst:!0}));let ii=F;var R0=(u=>(u.Last15Minutes="last_15_minutes",u.LastHour="last_hour",u.LastDay="last_day",u.LastWeek="last_week",u.LastMonth="last_month",u.Everything="everything",u))(R0||{});const ym=["last_15_minutes","last_hour","last_day","last_week","last_month","everything"],sp=new Map([["last_15_minutes","15 Min"],["last_hour","1 Hour"],["last_day","1 Day"],["last_week","1 Week"],["last_month","1 Month"],["everything","Everything"]]),ap=new Map([["last_15_minutes","Last 15 Min"],["last_hour","Last Hour"],["last_day","Last Day"],["last_week","Last Week"],["last_month","Last Month"],["everything","Everything"]]),wm=(u,e=!1)=>(e?ap.get(u):sp.get(u))||"",vm=u=>{switch(u){case"last_15_minutes":return Date.now()-9e5;case"last_hour":return Date.now()-36e5;case"last_day":return Date.now()-864e5;case"last_week":return Date.now()-6048e5;case"last_month":return Date.now()-2592e6;case"everything":return 0;default:return 0}},op=u=>{const t=Date.now()-u;return t<9e5?"last_15_minutes":t<36e5?"last_hour":t<864e5?"last_day":t<6048e5?"last_week":t<2592e6?"last_month":"everything"},cp="default",lp="Default";var Tt=(u=>(u.All="all",u.ActiveTab="activeTab",u.Include="include",u.Exclude="exclude",u))(Tt||{});const Em={all:"All",activeTab:"Active tab",include:"Include",exclude:"Exclude"},_m={all:"All domains",activeTab:"Active tab only",include:"Included domains",exclude:"Excluded domains"},Cm={all:"Clear data for all domains/origins",activeTab:"Only clear data for the current tab",include:"Only clear data from these domains",exclude:"Don't clear data from these domains"},Am=(u,e)=>{const t=Kn(e??Ot());return t.meta.id=fp([t]),t.meta.name=u,t.meta.createdAt=Date.now(),t.meta.updatedAt=Date.now(),t},Kn=(u,e=!0)=>{u=xa(u)?ya(u):u;const t={};return t.extension=structuredClone(u.extension),t.browser=structuredClone(u.browser),t.dataOptions=structuredClone(u.dataOptions),e&&(t.meta=structuredClone(u.meta)),t},fp=u=>{const e=u.map(t=>t.meta.id);for(let t=0;t<100;t++){let r=crypto.randomUUID();if(!e.includes(r))return r}throw new Error("Could not generate unique ID")},Ot=(u=cp)=>({meta:{id:u,name:lp,createdAt:Date.now(),updatedAt:Date.now()},extension:{sync:!0,reloadOnClear:!0,timeperiod:R0.LastDay,originMode:"all",alwaysClearBrowserData:!0,removePresetsOnReset:!1,closeAllWindows:!1,popup:{enabled:!1,errors:!0,info:!0},scheduler:{clearOnIdle:!1,clearOnTabClose:!1,clearOnStartup:!1,clearInterval:-1}},browser:{options:fc(),dataToRemove:hp()},dataOptions:pp()}),fc=()=>({since:0,originTypes:dp(),origins:[],excludeOrigins:[]}),dp=()=>({unprotectedWeb:!0,protectedWeb:!1,extension:!1}),hp=u=>({appcache:u??!1,cache:u??!0,cacheStorage:u??!1,cookies:u??!1,downloads:u??!1,fileSystems:u??!1,formData:u??!1,history:u??!1,indexedDB:u??!1,localStorage:u??!1,passwords:u??!1,serviceWorkers:u??!1,webSQL:u??!1}),pp=()=>{const u={};return ii.allItems.forEach((e,t)=>{u[t]=e.flags.supportsOrigins?dc():void 0}),u},dc=()=>({override:!1,removalOptions:fc(),originMode:"all"}),bp=(u,e=!1)=>{try{u=u.replace(/\*/g,""),u=u.replace(/^\./,""),u.includes("://")||(u=`https://${u}`);const t=new URL(u);if(!t.origin||t.origin==="null"||!t.protocol||!t.hostname)throw new Error(`Invalid origin: ${t}`);return t.origin}catch(t){if(e)return u;throw D.error(`Invalid origin: ${u}`),t}},Nt=class Nt extends Event{constructor(t=Nt.Updated,r,i){super(t);g(this,"changes",{});g(this,"config");this.config=r,this.changes=i}};g(Nt,"Updated","Updated"),g(Nt,"SyncChanged","SyncChanged");let Cu=Nt;var ie,di,Xt,Kt,fu,Qt;const we=class we extends EventTarget{constructor(){super();A(this,ie,Ot());g(this,"save",async t=>{if(!t)throw new Error("No config to save. Aborting.");if(xa(t)&&(t=ya(t)),t=structuredClone(t),u0(t,d(this,ie)))return D.debug("Config unchanged. Aborting save."),t;const r=d(this,fu).call(this,d(this,ie)),i=d(this,fu).call(this,t);return await t0(async()=>d(this,Xt).call(this,t),{retries:2,maxRetryTime:5e3}),r!==i&&this.dispatchEvent(new Cu(Cu.SyncChanged,t,{})),D.debug(`${d(this,Qt).call(this,t)} config saved`,t),t});g(this,"load",async()=>($(this,ie,await d(this,di).call(this)),D.debug(`${d(this,Qt).call(this,d(this,ie))} config loaded`,d(this,ie)),structuredClone(d(this,ie))));g(this,"reset",async(t=!0)=>(await d(this,Xt).call(this,Ot(),t),d(this,ie)));g(this,"clearFromSettings",async()=>{const t=await chrome.browsingData.settings();return chrome.browsingData.remove(t.options,t.dataToRemove)});g(this,"loadBrowserSettings",async()=>{const t=await this.getBrowserConfig();return $(this,ie,{...d(this,ie),...t}),structuredClone(d(this,ie))});g(this,"getBrowserConfig",async()=>{const t=await chrome.browsingData.settings(),r=Kn(d(this,ie));return r.extension.timeperiod=op(t.options.since||0),r.browser.options={...r.browser.options,...t.options},r.browser.dataToRemove={...r.browser.dataToRemove,...t.dataToRemove},Kn(r)});g(this,"shouldSync",()=>d(this,fu).call(this,d(this,ie)));A(this,di,async()=>{const t=await chrome.storage.local.get(we.StorageKey)??{};let r={...Ot(),...t==null?void 0:t[we.StorageKey]};if(d(this,fu).call(this,r)){const i=await chrome.storage.sync.get(we.StorageKey);r={...r,...i==null?void 0:i[we.StorageKey]}}return r});A(this,Xt,async(t,r)=>{$(this,ie,t);const i={[we.StorageKey]:t};return await chrome.storage.local.set(i),(r??t.extension.sync)&&await chrome.storage.sync.set(i),t});A(this,Kt,async t=>{t.config&&t.config.newValue&&($(this,ie,{...d(this,ie),...t.config.newValue}),this.dispatchEvent(new Cu(Cu.Updated,d(this,ie),t)))});A(this,fu,t=>t.extension.sync);A(this,Qt,t=>d(this,fu).call(this,t)?"Local + sync":"Local");chrome.storage.local.onChanged.addListener(d(this,Kt)),chrome.storage.sync.onChanged.addListener(d(this,Kt))}static getInstance(){return we.instance||(we.instance=new we),we.instance}};ie=new WeakMap,di=new WeakMap,Xt=new WeakMap,Kt=new WeakMap,fu=new WeakMap,Qt=new WeakMap,g(we,"instance"),g(we,"StorageKey","config");let su=we;const Ve=class Ve{};g(Ve,"ensure",async(e,t=!1)=>{if(e=Ve.toPermissions(e),!await Ve.has(e)){D.info("Requesting permissions:",e.permissions);try{if(!await chrome.permissions.request(e))throw new Error(`Permission denied ${e}`)}catch(i){if(D.info(z.red("Failed to request permissions:"),e,i),t)return!1;throw i}}return!0}),g(Ve,"ensureOrigins",async(e,t=!1)=>{const r={origins:e};return Ve.ensure(r,t)}),g(Ve,"toPermissions",e=>typeof e=="string"?{permissions:[e]}:e),g(Ve,"has",async e=>(e=Ve.toPermissions(e),chrome.permissions.contains(e)));let Hu=Ve;var Jt,du,hu,pu,tt,rt,hi,pi,bi;const ve=class ve extends Cc{constructor(t,r,i,n){super(An.Offscreen,r);A(this,hu,!1);A(this,pu);A(this,tt,[chrome.offscreen.Reason.IFRAME_SCRIPTING]);A(this,rt,"Manage subscriptions via sandboxed paddle-js.");g(this,"init",async()=>{if(!d(this,hu)){D.info(z.green("Initializing offscreen bridge"),d(this,pu)),$(this,hu,!0),chrome.runtime.onMessage.addListener(this.callback);try{await Hu.ensure("offscreen"),await d(this,hi).call(this,d(this,pu))}catch(t){D.error("Failed to initialize offscreen bridge",t)}}});g(this,"destroy",async()=>{if(d(this,hu)){D.info(z.red("Destroying offscreen bridge"),d(this,pu)),chrome.runtime.onMessage.removeListener(this.callback),$(this,hu,!1);try{await d(this,bi).call(this)}catch(t){D.error("Failed to destroy offscreen bridge",t)}}});g(this,"sendMessage",async t=>{const r=await chrome.runtime.sendMessage(t);return r});g(this,"handleMessage",(t,r,i)=>this.callback(t,r,i));A(this,hi,async t=>{d(ve,du)&&await d(ve,du);try{await ve.closeAll(),$(ve,du,chrome.offscreen.createDocument({url:t,reasons:d(this,tt),justification:d(this,rt)})),await d(ve,du)}catch(r){D.error(`Failed to create offscreen document ${t}`,r)}$(ve,du,void 0)});A(this,pi,async t=>{if("getContexts"in chrome.runtime){const r=chrome.runtime.getURL(t);return(await chrome.runtime.getContexts({contextTypes:[chrome.runtime.ContextType.OFFSCREEN_DOCUMENT],documentUrls:[r]})).length>0}else return await(await clients.matchAll()).some(i=>{i.url.includes(chrome.runtime.id)})});A(this,bi,async()=>{await d(this,pi).call(this,d(this,pu))&&await chrome.offscreen.closeDocument()});$(this,pu,t),$(this,tt,i??d(this,tt)),$(this,rt,n??d(this,rt)),d(ve,Jt).add(t)}get isInitialized(){return d(this,hu)}};Jt=new WeakMap,du=new WeakMap,hu=new WeakMap,pu=new WeakMap,tt=new WeakMap,rt=new WeakMap,hi=new WeakMap,pi=new WeakMap,bi=new WeakMap,A(ve,Jt,new Set),A(ve,du),g(ve,"closeAll",async()=>{for(const t of d(ve,Jt))try{await chrome.offscreen.hasDocument()&&await chrome.offscreen.closeDocument()}catch(r){D.error("Failed to close offscreen document",t,r)}});let Qn=ve;var bu,Le,mi;class mp{constructor(){A(this,bu);A(this,Le);g(this,"init",async()=>(d(this,Le)||$(this,Le,d(this,bu).init().then(()=>{d(this,bu).sendMessage({type:"init"})})),d(this,Le)));g(this,"destroy",async()=>{d(this,Le)&&(await d(this,Le),$(this,Le,void 0),await d(this,bu).destroy())});g(this,"get",async e=>(d(this,Le)&&await d(this,Le),new Promise((t,r)=>{d(this,bu).sendMessage({type:"get-local-storage",data:{key:e}}).then(i=>{t(i.data)}).catch(r)})));A(this,mi,(e,t,r)=>{switch(e.type){case"local-storage":return!1;case"initialized":return!1;default:return!1}});$(this,bu,new Qn(fe.resources.offscreenStorageSrc,d(this,mi),[chrome.offscreen.Reason.LOCAL_STORAGE],"Get local storage to migrate from previous versions of the extension."))}}bu=new WeakMap,Le=new WeakMap,mi=new WeakMap;const gp={versions:{from:"1.x.x",to:"2.x.x"},openOptions:!1,run:async(u,e)=>{var f;let t;try{t=localStorage}catch{D.info("Loading localStorage from offscreen document");const k=new mp;await k.init(),t=await k.get(),await k.destroy()}const r={from:u,to:e,message:"",payload:{}},i=((f=await chrome.storage.local.get("backups"))==null?void 0:f.backups)??{},n={...t,timestamp:Date.now()};i[u]=n,await chrome.storage.local.set({backups:i}),D.info(`Backed up previous localStorage from version ${u}:`,n);const s=await su.getInstance().load();s.extension.reloadOnClear=t.autorefresh?t.autorefresh==="true":s.extension.reloadOnClear,s.extension.timeperiod=xp(t.timeperiod,s.extension.timeperiod),s.browser.dataToRemove={...s.browser.dataToRemove,...JSON.parse(t.data_to_remove??"{}")};const a=JSON.parse(t.cookie_settings??"{}"),o=dc(),c=a.inclusive?Tt.Include:Tt.Exclude,h=a.filters??[],p=[],l=[];return h.forEach(b=>{try{p.push(bp(b,!0))}catch{l.push(b)}}),p.length>0&&(o.override=!0,o.originMode=c,c===Tt.Include?o.removalOptions.origins=[...p]:c===Tt.Exclude&&(o.removalOptions.excludeOrigins=[...p]),s.dataOptions[ii.Cookies.key]=o,D.info("Imported cookie settings:",o)),r.payload.backup=n,l.length>0&&(r.message+="Some cookie domain settings could not be imported: ",r.message+=yp(l),r.message+=`. + +Please review and re-add them manually.`),await su.getInstance().save(s),r}},xp=(u,e)=>Object.values(R0).includes(u)?u:e,yp=(u,e=1/0)=>(u.length>e&&(u=u.slice(0,e).concat(`... and ${u.length-e} more`)),u=u.map(t=>`\`${t}\``),u.join(", ")),je=(u,e)=>{if(typeof u=="string"){if(!e)throw new Error("To version is required when from is a string");return`${u} ~> ${e}`}return`${u.from} ~> ${u.to}`},Us=u=>{const e=u.split(" ");for(let t=0;tconsole.error("SEMVER",...u):()=>{};var en=Ap;(function(u,e){const{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=Yi,n=en;e=u.exports={};const s=e.re=[],a=e.safeRe=[],o=e.src=[],c=e.t={};let h=0;const p="[a-zA-Z0-9-]",l=[["\\s",1],["\\d",i],[p,r]],f=k=>{for(const[x,T]of l)k=k.split(`${x}*`).join(`${x}{0,${T}}`).split(`${x}+`).join(`${x}{1,${T}}`);return k},b=(k,x,T)=>{const C=f(x),I=h++;n(k,I,x),c[k]=I,o[I]=x,s[I]=new RegExp(x,T?"g":void 0),a[I]=new RegExp(C,T?"g":void 0)};b("NUMERICIDENTIFIER","0|[1-9]\\d*"),b("NUMERICIDENTIFIERLOOSE","\\d+"),b("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),b("MAINVERSION",`(${o[c.NUMERICIDENTIFIER]})\\.(${o[c.NUMERICIDENTIFIER]})\\.(${o[c.NUMERICIDENTIFIER]})`),b("MAINVERSIONLOOSE",`(${o[c.NUMERICIDENTIFIERLOOSE]})\\.(${o[c.NUMERICIDENTIFIERLOOSE]})\\.(${o[c.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASEIDENTIFIER",`(?:${o[c.NUMERICIDENTIFIER]}|${o[c.NONNUMERICIDENTIFIER]})`),b("PRERELEASEIDENTIFIERLOOSE",`(?:${o[c.NUMERICIDENTIFIERLOOSE]}|${o[c.NONNUMERICIDENTIFIER]})`),b("PRERELEASE",`(?:-(${o[c.PRERELEASEIDENTIFIER]}(?:\\.${o[c.PRERELEASEIDENTIFIER]})*))`),b("PRERELEASELOOSE",`(?:-?(${o[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[c.PRERELEASEIDENTIFIERLOOSE]})*))`),b("BUILDIDENTIFIER",`${p}+`),b("BUILD",`(?:\\+(${o[c.BUILDIDENTIFIER]}(?:\\.${o[c.BUILDIDENTIFIER]})*))`),b("FULLPLAIN",`v?${o[c.MAINVERSION]}${o[c.PRERELEASE]}?${o[c.BUILD]}?`),b("FULL",`^${o[c.FULLPLAIN]}$`),b("LOOSEPLAIN",`[v=\\s]*${o[c.MAINVERSIONLOOSE]}${o[c.PRERELEASELOOSE]}?${o[c.BUILD]}?`),b("LOOSE",`^${o[c.LOOSEPLAIN]}$`),b("GTLT","((?:<|>)?=?)"),b("XRANGEIDENTIFIERLOOSE",`${o[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),b("XRANGEIDENTIFIER",`${o[c.NUMERICIDENTIFIER]}|x|X|\\*`),b("XRANGEPLAIN",`[v=\\s]*(${o[c.XRANGEIDENTIFIER]})(?:\\.(${o[c.XRANGEIDENTIFIER]})(?:\\.(${o[c.XRANGEIDENTIFIER]})(?:${o[c.PRERELEASE]})?${o[c.BUILD]}?)?)?`),b("XRANGEPLAINLOOSE",`[v=\\s]*(${o[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[c.XRANGEIDENTIFIERLOOSE]})(?:${o[c.PRERELEASELOOSE]})?${o[c.BUILD]}?)?)?`),b("XRANGE",`^${o[c.GTLT]}\\s*${o[c.XRANGEPLAIN]}$`),b("XRANGELOOSE",`^${o[c.GTLT]}\\s*${o[c.XRANGEPLAINLOOSE]}$`),b("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`),b("COERCE",`${o[c.COERCEPLAIN]}(?:$|[^\\d])`),b("COERCEFULL",o[c.COERCEPLAIN]+`(?:${o[c.PRERELEASE]})?(?:${o[c.BUILD]})?(?:$|[^\\d])`),b("COERCERTL",o[c.COERCE],!0),b("COERCERTLFULL",o[c.COERCEFULL],!0),b("LONETILDE","(?:~>?)"),b("TILDETRIM",`(\\s*)${o[c.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",b("TILDE",`^${o[c.LONETILDE]}${o[c.XRANGEPLAIN]}$`),b("TILDELOOSE",`^${o[c.LONETILDE]}${o[c.XRANGEPLAINLOOSE]}$`),b("LONECARET","(?:\\^)"),b("CARETTRIM",`(\\s*)${o[c.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",b("CARET",`^${o[c.LONECARET]}${o[c.XRANGEPLAIN]}$`),b("CARETLOOSE",`^${o[c.LONECARET]}${o[c.XRANGEPLAINLOOSE]}$`),b("COMPARATORLOOSE",`^${o[c.GTLT]}\\s*(${o[c.LOOSEPLAIN]})$|^$`),b("COMPARATOR",`^${o[c.GTLT]}\\s*(${o[c.FULLPLAIN]})$|^$`),b("COMPARATORTRIM",`(\\s*)${o[c.GTLT]}\\s*(${o[c.LOOSEPLAIN]}|${o[c.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",b("HYPHENRANGE",`^\\s*(${o[c.XRANGEPLAIN]})\\s+-\\s+(${o[c.XRANGEPLAIN]})\\s*$`),b("HYPHENRANGELOOSE",`^\\s*(${o[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[c.XRANGEPLAINLOOSE]})\\s*$`),b("STAR","(<|>)?=?\\s*\\*"),b("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),b("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Jn,Jn.exports);var Er=Jn.exports;const kp=Object.freeze({loose:!0}),Sp=Object.freeze({}),Dp=u=>u?typeof u!="object"?kp:u:Sp;var F0=Dp;const js=/^[0-9]+$/,pc=(u,e)=>{const t=js.test(u),r=js.test(e);return t&&r&&(u=+u,e=+e),u===e?0:t&&!r?-1:r&&!t?1:upc(e,u);var bc={compareIdentifiers:pc,rcompareIdentifiers:Tp};const Pr=en,{MAX_LENGTH:zs,MAX_SAFE_INTEGER:$r}=Yi,{safeRe:Hs,t:Vs}=Er,Ip=F0,{compareIdentifiers:Zu}=bc;let Op=class He{constructor(e,t){if(t=Ip(t),e instanceof He){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>zs)throw new TypeError(`version is longer than ${zs} characters`);Pr("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?Hs[Vs.LOOSE]:Hs[Vs.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>$r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>$r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>$r||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const n=+i;if(n>=0&&n<$r)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Pr("SemVer.compare",this.version,this.options,e),!(e instanceof He)){if(typeof e=="string"&&e===this.version)return 0;e=new He(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof He||(e=new He(e,this.options)),Zu(this.major,e.major)||Zu(this.minor,e.minor)||Zu(this.patch,e.patch)}comparePre(e){if(e instanceof He||(e=new He(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(Pr("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return Zu(r,i)}while(++t)}compareBuild(e){e instanceof He||(e=new He(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(Pr("build compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return Zu(r,i)}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const i=Number(r)?1:0;if(!t&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(t===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(t){let n=[t,i];r===!1&&(n=[t]),Zu(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var he=Op;const Gs=he,Rp=(u,e,t=!1)=>{if(u instanceof Gs)return u;try{return new Gs(u,e)}catch(r){if(!t)return null;throw r}};var _t=Rp;const Fp=_t,Np=(u,e)=>{const t=Fp(u,e);return t?t.version:null};var Lp=Np;const Pp=_t,$p=(u,e)=>{const t=Pp(u.trim().replace(/^[=v]+/,""),e);return t?t.version:null};var Mp=$p;const Ws=he,qp=(u,e,t,r,i)=>{typeof t=="string"&&(i=r,r=t,t=void 0);try{return new Ws(u instanceof Ws?u.version:u,t).inc(e,r,i).version}catch{return null}};var Bp=qp;const Zs=_t,Up=(u,e)=>{const t=Zs(u,null,!0),r=Zs(e,null,!0),i=t.compare(r);if(i===0)return null;const n=i>0,s=n?t:r,a=n?r:t,o=!!s.prerelease.length;if(!!a.prerelease.length&&!o)return!a.patch&&!a.minor?"major":s.patch?"patch":s.minor?"minor":"major";const h=o?"pre":"";return t.major!==r.major?h+"major":t.minor!==r.minor?h+"minor":t.patch!==r.patch?h+"patch":"prerelease"};var jp=Up;const zp=he,Hp=(u,e)=>new zp(u,e).major;var Vp=Hp;const Gp=he,Wp=(u,e)=>new Gp(u,e).minor;var Zp=Wp;const Xp=he,Kp=(u,e)=>new Xp(u,e).patch;var Qp=Kp;const Jp=_t,Yp=(u,e)=>{const t=Jp(u,e);return t&&t.prerelease.length?t.prerelease:null};var eb=Yp;const Xs=he,ub=(u,e,t)=>new Xs(u,t).compare(new Xs(e,t));var Be=ub;const tb=Be,rb=(u,e,t)=>tb(e,u,t);var ib=rb;const nb=Be,sb=(u,e)=>nb(u,e,!0);var ab=sb;const Ks=he,ob=(u,e,t)=>{const r=new Ks(u,t),i=new Ks(e,t);return r.compare(i)||r.compareBuild(i)};var N0=ob;const cb=N0,lb=(u,e)=>u.sort((t,r)=>cb(t,r,e));var fb=lb;const db=N0,hb=(u,e)=>u.sort((t,r)=>db(r,t,e));var pb=hb;const bb=Be,mb=(u,e,t)=>bb(u,e,t)>0;var un=mb;const gb=Be,xb=(u,e,t)=>gb(u,e,t)<0;var L0=xb;const yb=Be,wb=(u,e,t)=>yb(u,e,t)===0;var mc=wb;const vb=Be,Eb=(u,e,t)=>vb(u,e,t)!==0;var gc=Eb;const _b=Be,Cb=(u,e,t)=>_b(u,e,t)>=0;var P0=Cb;const Ab=Be,kb=(u,e,t)=>Ab(u,e,t)<=0;var $0=kb;const Sb=mc,Db=gc,Tb=un,Ib=P0,Ob=L0,Rb=$0,Fb=(u,e,t,r)=>{switch(e){case"===":return typeof u=="object"&&(u=u.version),typeof t=="object"&&(t=t.version),u===t;case"!==":return typeof u=="object"&&(u=u.version),typeof t=="object"&&(t=t.version),u!==t;case"":case"=":case"==":return Sb(u,t,r);case"!=":return Db(u,t,r);case">":return Tb(u,t,r);case">=":return Ib(u,t,r);case"<":return Ob(u,t,r);case"<=":return Rb(u,t,r);default:throw new TypeError(`Invalid operator: ${e}`)}};var xc=Fb;const Nb=he,Lb=_t,{safeRe:Mr,t:qr}=Er,Pb=(u,e)=>{if(u instanceof Nb)return u;if(typeof u=="number"&&(u=String(u)),typeof u!="string")return null;e=e||{};let t=null;if(!e.rtl)t=u.match(e.includePrerelease?Mr[qr.COERCEFULL]:Mr[qr.COERCE]);else{const o=e.includePrerelease?Mr[qr.COERCERTLFULL]:Mr[qr.COERCERTL];let c;for(;(c=o.exec(u))&&(!t||t.index+t[0].length!==u.length);)(!t||c.index+c[0].length!==t.index+t[0].length)&&(t=c),o.lastIndex=c.index+c[1].length+c[2].length;o.lastIndex=-1}if(t===null)return null;const r=t[2],i=t[3]||"0",n=t[4]||"0",s=e.includePrerelease&&t[5]?`-${t[5]}`:"",a=e.includePrerelease&&t[6]?`+${t[6]}`:"";return Lb(`${r}.${i}.${n}${s}${a}`,e)};var $b=Pb;class Mb{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(e,t)}return this}}var qb=Mb,yn,Qs;function Ue(){if(Qs)return yn;Qs=1;class u{constructor(_,m){if(m=r(m),_ instanceof u)return _.loose===!!m.loose&&_.includePrerelease===!!m.includePrerelease?_:new u(_.raw,m);if(_ instanceof i)return this.raw=_.value,this.set=[[_]],this.format(),this;if(this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease,this.raw=_.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const v=this.set[0];if(this.set=this.set.filter(y=>!b(y[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(const y of this.set)if(y.length===1&&k(y[0])){this.set=[y];break}}}this.format()}format(){return this.range=this.set.map(_=>_.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(_){const v=((this.options.includePrerelease&&l)|(this.options.loose&&f))+":"+_,y=t.get(v);if(y)return y;const S=this.options.loose,P=S?a[o.HYPHENRANGELOOSE]:a[o.HYPHENRANGE];_=_.replace(P,E(this.options.includePrerelease)),n("hyphen replace",_),_=_.replace(a[o.COMPARATORTRIM],c),n("comparator trim",_),_=_.replace(a[o.TILDETRIM],h),n("tilde trim",_),_=_.replace(a[o.CARETTRIM],p),n("caret trim",_);let B=_.split(" ").map(U=>T(U,this.options)).join(" ").split(/\s+/).map(U=>te(U,this.options));S&&(B=B.filter(U=>(n("loose invalid filter",U,this.options),!!U.match(a[o.COMPARATORLOOSE])))),n("range list",B);const L=new Map,q=B.map(U=>new i(U,this.options));for(const U of q){if(b(U))return[U];L.set(U.value,U)}L.size>1&&L.has("")&&L.delete("");const oe=[...L.values()];return t.set(v,oe),oe}intersects(_,m){if(!(_ instanceof u))throw new TypeError("a Range is required");return this.set.some(v=>x(v,m)&&_.set.some(y=>x(y,m)&&v.every(S=>y.every(P=>S.intersects(P,m)))))}test(_){if(!_)return!1;if(typeof _=="string")try{_=new s(_,this.options)}catch{return!1}for(let m=0;mw.value==="<0.0.0-0",k=w=>w.value==="",x=(w,_)=>{let m=!0;const v=w.slice();let y=v.pop();for(;m&&v.length;)m=v.every(S=>y.intersects(S,_)),y=v.pop();return m},T=(w,_)=>(n("comp",w,_),w=N(w,_),n("caret",w),w=I(w,_),n("tildes",w),w=X(w,_),n("xrange",w),w=ee(w,_),n("stars",w),w),C=w=>!w||w.toLowerCase()==="x"||w==="*",I=(w,_)=>w.trim().split(/\s+/).map(m=>O(m,_)).join(" "),O=(w,_)=>{const m=_.loose?a[o.TILDELOOSE]:a[o.TILDE];return w.replace(m,(v,y,S,P,B)=>{n("tilde",w,v,y,S,P,B);let L;return C(y)?L="":C(S)?L=`>=${y}.0.0 <${+y+1}.0.0-0`:C(P)?L=`>=${y}.${S}.0 <${y}.${+S+1}.0-0`:B?(n("replaceTilde pr",B),L=`>=${y}.${S}.${P}-${B} <${y}.${+S+1}.0-0`):L=`>=${y}.${S}.${P} <${y}.${+S+1}.0-0`,n("tilde return",L),L})},N=(w,_)=>w.trim().split(/\s+/).map(m=>M(m,_)).join(" "),M=(w,_)=>{n("caret",w,_);const m=_.loose?a[o.CARETLOOSE]:a[o.CARET],v=_.includePrerelease?"-0":"";return w.replace(m,(y,S,P,B,L)=>{n("caret",w,y,S,P,B,L);let q;return C(S)?q="":C(P)?q=`>=${S}.0.0${v} <${+S+1}.0.0-0`:C(B)?S==="0"?q=`>=${S}.${P}.0${v} <${S}.${+P+1}.0-0`:q=`>=${S}.${P}.0${v} <${+S+1}.0.0-0`:L?(n("replaceCaret pr",L),S==="0"?P==="0"?q=`>=${S}.${P}.${B}-${L} <${S}.${P}.${+B+1}-0`:q=`>=${S}.${P}.${B}-${L} <${S}.${+P+1}.0-0`:q=`>=${S}.${P}.${B}-${L} <${+S+1}.0.0-0`):(n("no pr"),S==="0"?P==="0"?q=`>=${S}.${P}.${B}${v} <${S}.${P}.${+B+1}-0`:q=`>=${S}.${P}.${B}${v} <${S}.${+P+1}.0-0`:q=`>=${S}.${P}.${B} <${+S+1}.0.0-0`),n("caret return",q),q})},X=(w,_)=>(n("replaceXRanges",w,_),w.split(/\s+/).map(m=>Z(m,_)).join(" ")),Z=(w,_)=>{w=w.trim();const m=_.loose?a[o.XRANGELOOSE]:a[o.XRANGE];return w.replace(m,(v,y,S,P,B,L)=>{n("xRange",w,v,y,S,P,B,L);const q=C(S),oe=q||C(P),U=oe||C(B),W=U;return y==="="&&W&&(y=""),L=_.includePrerelease?"-0":"",q?y===">"||y==="<"?v="<0.0.0-0":v="*":y&&W?(oe&&(P=0),B=0,y===">"?(y=">=",oe?(S=+S+1,P=0,B=0):(P=+P+1,B=0)):y==="<="&&(y="<",oe?S=+S+1:P=+P+1),y==="<"&&(L="-0"),v=`${y+S}.${P}.${B}${L}`):oe?v=`>=${S}.0.0${L} <${+S+1}.0.0-0`:U&&(v=`>=${S}.${P}.0${L} <${S}.${+P+1}.0-0`),n("xRange return",v),v})},ee=(w,_)=>(n("replaceStars",w,_),w.trim().replace(a[o.STAR],"")),te=(w,_)=>(n("replaceGTE0",w,_),w.trim().replace(a[_.includePrerelease?o.GTE0PRE:o.GTE0],"")),E=w=>(_,m,v,y,S,P,B,L,q,oe,U,W)=>(C(v)?m="":C(y)?m=`>=${v}.0.0${w?"-0":""}`:C(S)?m=`>=${v}.${y}.0${w?"-0":""}`:P?m=`>=${m}`:m=`>=${m}${w?"-0":""}`,C(q)?L="":C(oe)?L=`<${+q+1}.0.0-0`:C(U)?L=`<${q}.${+oe+1}.0-0`:W?L=`<=${q}.${oe}.${U}-${W}`:w?L=`<${q}.${oe}.${+U+1}-0`:L=`<=${L}`,`${m} ${L}`.trim()),R=(w,_,m)=>{for(let v=0;v0){const y=w[v].semver;if(y.major===_.major&&y.minor===_.minor&&y.patch===_.patch)return!0}return!1}return!0};return yn}var wn,Js;function tn(){if(Js)return wn;Js=1;const u=Symbol("SemVer ANY");class e{static get ANY(){return u}constructor(h,p){if(p=t(p),h instanceof e){if(h.loose===!!p.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),s("comparator",h,p),this.options=p,this.loose=!!p.loose,this.parse(h),this.semver===u?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(h){const p=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],l=h.match(p);if(!l)throw new TypeError(`Invalid comparator: ${h}`);this.operator=l[1]!==void 0?l[1]:"",this.operator==="="&&(this.operator=""),l[2]?this.semver=new a(l[2],this.options.loose):this.semver=u}toString(){return this.value}test(h){if(s("Comparator.test",h,this.options.loose),this.semver===u||h===u)return!0;if(typeof h=="string")try{h=new a(h,this.options)}catch{return!1}return n(h,this.operator,this.semver,this.options)}intersects(h,p){if(!(h instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new o(h.value,p).test(this.value):h.operator===""?h.value===""?!0:new o(this.value,p).test(h.semver):(p=t(p),p.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||n(this.semver,"<",h.semver,p)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||n(this.semver,">",h.semver,p)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}}wn=e;const t=F0,{safeRe:r,t:i}=Er,n=xc,s=en,a=he,o=Ue();return wn}const Bb=Ue(),Ub=(u,e,t)=>{try{e=new Bb(e,t)}catch{return!1}return e.test(u)};var rn=Ub;const jb=Ue(),zb=(u,e)=>new jb(u,e).set.map(t=>t.map(r=>r.value).join(" ").trim().split(" "));var Hb=zb;const Vb=he,Gb=Ue(),Wb=(u,e,t)=>{let r=null,i=null,n=null;try{n=new Gb(e,t)}catch{return null}return u.forEach(s=>{n.test(s)&&(!r||i.compare(s)===-1)&&(r=s,i=new Vb(r,t))}),r};var Zb=Wb;const Xb=he,Kb=Ue(),Qb=(u,e,t)=>{let r=null,i=null,n=null;try{n=new Kb(e,t)}catch{return null}return u.forEach(s=>{n.test(s)&&(!r||i.compare(s)===1)&&(r=s,i=new Xb(r,t))}),r};var Jb=Qb;const vn=he,Yb=Ue(),Ys=un,e3=(u,e)=>{u=new Yb(u,e);let t=new vn("0.0.0");if(u.test(t)||(t=new vn("0.0.0-0"),u.test(t)))return t;t=null;for(let r=0;r{const a=new vn(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!n||Ys(a,n))&&(n=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),n&&(!t||Ys(t,n))&&(t=n)}return t&&u.test(t)?t:null};var u3=e3;const t3=Ue(),r3=(u,e)=>{try{return new t3(u,e).range||"*"}catch{return null}};var i3=r3;const n3=he,yc=tn(),{ANY:s3}=yc,a3=Ue(),o3=rn,ea=un,ua=L0,c3=$0,l3=P0,f3=(u,e,t,r)=>{u=new n3(u,r),e=new a3(e,r);let i,n,s,a,o;switch(t){case">":i=ea,n=c3,s=ua,a=">",o=">=";break;case"<":i=ua,n=l3,s=ea,a="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o3(u,e,r))return!1;for(let c=0;c{f.semver===s3&&(f=new yc(">=0.0.0")),p=p||f,l=l||f,i(f.semver,p.semver,r)?p=f:s(f.semver,l.semver,r)&&(l=f)}),p.operator===a||p.operator===o||(!l.operator||l.operator===a)&&n(u,l.semver))return!1;if(l.operator===o&&s(u,l.semver))return!1}return!0};var M0=f3;const d3=M0,h3=(u,e,t)=>d3(u,e,">",t);var p3=h3;const b3=M0,m3=(u,e,t)=>b3(u,e,"<",t);var g3=m3;const ta=Ue(),x3=(u,e,t)=>(u=new ta(u,t),e=new ta(e,t),u.intersects(e,t));var y3=x3;const w3=rn,v3=Be;var E3=(u,e,t)=>{const r=[];let i=null,n=null;const s=u.sort((h,p)=>v3(h,p,t));for(const h of s)w3(h,e,t)?(n=h,i||(i=h)):(n&&r.push([i,n]),n=null,i=null);i&&r.push([i,null]);const a=[];for(const[h,p]of r)h===p?a.push(h):!p&&h===s[0]?a.push("*"):p?h===s[0]?a.push(`<=${p}`):a.push(`${h} - ${p}`):a.push(`>=${h}`);const o=a.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return o.length{if(u===e)return!0;u=new ra(u,t),e=new ra(e,t);let r=!1;e:for(const i of u.set){for(const n of e.set){const s=A3(i,n,t);if(r=r||s!==null,s)continue e}if(r)return!1}return!0},C3=[new q0(">=0.0.0-0")],ia=[new q0(">=0.0.0")],A3=(u,e,t)=>{if(u===e)return!0;if(u.length===1&&u[0].semver===En){if(e.length===1&&e[0].semver===En)return!0;t.includePrerelease?u=C3:u=ia}if(e.length===1&&e[0].semver===En){if(t.includePrerelease)return!0;e=ia}const r=new Set;let i,n;for(const f of u)f.operator===">"||f.operator===">="?i=na(i,f,t):f.operator==="<"||f.operator==="<="?n=sa(n,f,t):r.add(f.semver);if(r.size>1)return null;let s;if(i&&n){if(s=B0(i.semver,n.semver,t),s>0)return null;if(s===0&&(i.operator!==">="||n.operator!=="<="))return null}for(const f of r){if(i&&!kt(f,String(i),t)||n&&!kt(f,String(n),t))return null;for(const b of e)if(!kt(f,String(b),t))return!1;return!0}let a,o,c,h,p=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1,l=i&&!t.includePrerelease&&i.semver.prerelease.length?i.semver:!1;p&&p.prerelease.length===1&&n.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(const f of e){if(h=h||f.operator===">"||f.operator===">=",c=c||f.operator==="<"||f.operator==="<=",i){if(l&&f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===l.major&&f.semver.minor===l.minor&&f.semver.patch===l.patch&&(l=!1),f.operator===">"||f.operator===">="){if(a=na(i,f,t),a===f&&a!==i)return!1}else if(i.operator===">="&&!kt(i.semver,String(f),t))return!1}if(n){if(p&&f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===p.major&&f.semver.minor===p.minor&&f.semver.patch===p.patch&&(p=!1),f.operator==="<"||f.operator==="<="){if(o=sa(n,f,t),o===f&&o!==n)return!1}else if(n.operator==="<="&&!kt(n.semver,String(f),t))return!1}if(!f.operator&&(n||i)&&s!==0)return!1}return!(i&&c&&!n&&s!==0||n&&h&&!i&&s!==0||l||p)},na=(u,e,t)=>{if(!u)return e;const r=B0(u.semver,e.semver,t);return r>0?u:r<0||e.operator===">"&&u.operator===">="?e:u},sa=(u,e,t)=>{if(!u)return e;const r=B0(u.semver,e.semver,t);return r<0?u:r>0||e.operator==="<"&&u.operator==="<="?e:u};var k3=_3;const _n=Er,aa=Yi,S3=he,oa=bc,D3=_t,T3=Lp,I3=Mp,O3=Bp,R3=jp,F3=Vp,N3=Zp,L3=Qp,P3=eb,$3=Be,M3=ib,q3=ab,B3=N0,U3=fb,j3=pb,z3=un,H3=L0,V3=mc,G3=gc,W3=P0,Z3=$0,X3=xc,K3=$b,Q3=tn(),J3=Ue(),Y3=rn,e6=Hb,u6=Zb,t6=Jb,r6=u3,i6=i3,n6=M0,s6=p3,a6=g3,o6=y3,c6=E3,l6=k3;var Br={parse:D3,valid:T3,clean:I3,inc:O3,diff:R3,major:F3,minor:N3,patch:L3,prerelease:P3,compare:$3,rcompare:M3,compareLoose:q3,compareBuild:B3,sort:U3,rsort:j3,gt:z3,lt:H3,eq:V3,neq:G3,gte:W3,lte:Z3,cmp:X3,coerce:K3,Comparator:Q3,Range:J3,satisfies:Y3,toComparators:e6,maxSatisfying:u6,minSatisfying:t6,minVersion:r6,validRange:i6,outside:n6,gtr:s6,ltr:a6,intersects:o6,simplifyRange:c6,subset:l6,SemVer:S3,re:_n.re,src:_n.src,tokens:_n.t,SEMVER_SPEC_VERSION:aa.SEMVER_SPEC_VERSION,RELEASE_TYPES:aa.RELEASE_TYPES,compareIdentifiers:oa.compareIdentifiers,rcompareIdentifiers:oa.rcompareIdentifiers};const f6={versions:{from:">=2.0.0 <2.1.5",to:">=2.1.x"},openOptions:!1,run:async(u,e)=>{D.info("Migrating config from",u,"to",e);const t=su.getInstance(),r=Ot(),i=await t.load(),n=rh(r,i,{clone:!0});return D.debug("Merged config:",n,` +Default:`,r,` +User:`,i),await t.save(n),{from:u,to:e,message:"",payload:{}}}};var it,Nu,Lu,nt,gi,xi;const lu=class lu{constructor(){A(this,Nu);A(this,Lu,[gp,f6]);g(this,"addOperation",e=>{d(this,Lu).push(e)});g(this,"queueFor",async(e,t)=>{e=Us(e),t=Us(t),D.info(`Checking for migrations from ${z.gray(e)} to ${z.gray(t)}`);const r=d(this,nt).call(this,e,t);if(r.length>0){const n=(await chrome.storage.local.get("migrations")).migrations??[];return n.some(s=>je(s)===je(e,t))||(D.info(`Queueing ${r.length} migration operations`),n.push({from:e,to:t})),chrome.storage.local.set({migrations:n})}});g(this,"shouldOpenOptions",async()=>{D.debug("Checking if options should be opened for migration...");const t=(await chrome.storage.local.get("migrations")).migrations??[];for(const r of t)if(d(this,nt).call(this,r.from,r.to).some(n=>n.openOptions))return D.info(z.blue("...at least one migration requires options to be opened.")),!0;return D.debug("...no migrations require options to be opened"),!1});g(this,"hasPending",async()=>{var t;const e=await chrome.storage.local.get("migrations");return((t=e==null?void 0:e.migrations)==null?void 0:t.length)>0});g(this,"run",async e=>(d(this,Nu)&&await d(this,Nu),$(this,Nu,(async()=>{const t=[];try{let i=(await chrome.storage.local.get("migrations")).migrations??[];i=d(this,xi).call(this,i),i=d(this,gi).call(this,i);const n=i.map(s=>je(s)).join(", ");D.info(`Running ${z.magenta(i.length)} migration(s): ${n}`);for(const s of i){const a=await this.runMigration(s,e);t.push(...a)}i.length>0&&(D.info(z.green("Migrations completed")),await chrome.storage.local.set({migrations:[]}))}catch(r){D.error(r),t.push({message:"An unknown error occurred during migration.",errors:[r==null?void 0:r.message]})}return t})()),d(this,Nu)));g(this,"runMigration",async(e,t)=>{let r=d(this,nt).call(this,e.from,e.to),i=[];t!=null&&t.backgroundOnly&&(D.info("Running background-only migrations"),r=r.filter(n=>!n.openOptions)),D.info(`Running ${z.magenta(r.length)} operations for migration ${z.magenta(je(e))}`);for(const n of r)try{const s=n.versions;D.info(z.blue(`Running migration ${z.green(je(s))}...`));const a=await n.run(e.from,e.to);D.info(z.blue(`...completed migration ${z.green(je(s))}`)),i.push(a)}catch(s){D.error("Migration failed:",s),i.push({from:e.from,to:e.to,errors:[s==null?void 0:s.message]})}return i});g(this,"addBackup",async(e,t)=>{const i=(await chrome.storage.local.get("backups")).backups??{};return i[e]=t,chrome.storage.local.set({backups:i})});g(this,"getBackups",async e=>{const r=(await chrome.storage.local.get("backups")).backups??{};return e?r[e]:r});A(this,nt,(e,t)=>(D.debug(`Loading operations for update from ${e} to ${t} (num ops total: ${d(this,Lu).length})`),d(this,Lu).filter(r=>{const i=Br.satisfies(e,r.versions.from,{includePrerelease:!0}),n=Br.satisfies(t,r.versions.to,{includePrerelease:!0}),s=r.versions;return D.debug(`Checking if operation (${z.green(je(s))}) should run for update (${z.green(je(e,t))}): (${z.blue(je(i+"",n+""))})`),i&&n})));A(this,gi,e=>e.sort((t,r)=>Br.compareBuild(t.from,r.from)||Br.compareBuild(t.to,r.to)));A(this,xi,e=>{const t=new Set;return e.filter(r=>{const i=je(r);return t.has(i)?!1:(t.add(i),!0)})})}get operations(){return d(this,Lu)}};it=new WeakMap,Nu=new WeakMap,Lu=new WeakMap,nt=new WeakMap,gi=new WeakMap,xi=new WeakMap,A(lu,it),g(lu,"getInstance",()=>(d(lu,it)===void 0&&$(lu,it,new lu),d(lu,it)));let ca=lu;var Pu,mu,gu,Yt,yi,wi,er;class d6{constructor(){A(this,Pu,{});A(this,mu,{});A(this,gu,{});g(this,"waitForAny",async e=>{const t=[];for(const r of e)t.push(this.waitFor(r));return Promise.race(t)});g(this,"waitFor",async e=>{const t=new Promise((r,i)=>{d(this,wi).call(this,e,r,i)});return d(this,yi).call(this,e,t),t});g(this,"resolve",(e,t)=>{d(this,Yt).call(this,e,!0,t)});g(this,"reject",(e,t)=>{d(this,Yt).call(this,e,!1,t)});g(this,"clear",e=>{d(this,er).call(this,e)});A(this,Yt,(e,t,r)=>{const i=t?d(this,mu)[e]:d(this,gu)[e];if(i)for(const n of i)n(r);d(this,er).call(this,e)});A(this,yi,(e,t)=>{d(this,Pu)[e]||(d(this,Pu)[e]=[]),d(this,Pu)[e].push(t)});A(this,wi,(e,t,r)=>{d(this,mu)[e]||(d(this,mu)[e]=[]),d(this,gu)[e]||(d(this,gu)[e]=[]),d(this,mu)[e].push(t),d(this,gu)[e].push(r)});A(this,er,e=>{d(this,mu)[e]=[],d(this,gu)[e]=[],d(this,Pu)[e]=[]})}}Pu=new WeakMap,mu=new WeakMap,gu=new WeakMap,Yt=new WeakMap,yi=new WeakMap,wi=new WeakMap,er=new WeakMap;class wc extends Error{constructor(e,t){super(e),this.response=t,this.name="ApiManagerError"}}var st,vi,ur,tr,rr,Ei,ir,_i;const tu=class tu extends EventTarget{constructor(){super();A(this,ur,0);A(this,tr);A(this,rr);g(this,"getPricePreviews",async(t,r=!1)=>{const i=Date.now(),n=t?d(this,tr):d(this,rr),s=i-d(this,ur);if(!r&&n&&s<=d(tu,vi))return D.debug(`Using cached prices for ${t?"logged in":"logged out"}`),n;const a={method:"GET"},h=(t?d(this,ir):d(this,Ei))(t?"/private/prices":"/public/prices",a);return t?$(this,tr,h):$(this,rr,h),$(this,ur,i),h});g(this,"getBestMatchingPlanId",async(t,r,i,n=!1)=>{if(i||(i=(await this.getPricePreviews(n)).data.details.lineItems),!i)throw new Error("Could not load any available plans from the API");if(t&&r){const s=i.find(a=>a.price.id===t);if(s)return s;{const a=r??V0.YEAR;return i.find(c=>{var h;return((h=c.price.billingCycle)==null?void 0:h.interval)===a})??this.getDefaultLineItem(i)}}else return this.getDefaultLineItem(i)});g(this,"getDefaultLineItem",(t,r)=>{if(t.length===0)throw new Error("No line items found");return r=r??V0.YEAR,t.find(n=>{var s;return((s=n.price.billingCycle)==null?void 0:s.interval)===r})??t[t.length-1]});g(this,"validate",async()=>{const t=d(this,_i).call(this);return await d(this,ir).call(this,"/private/billing/validate",t)});A(this,Ei,async(t,r)=>{const i=`${fe.apiUrl}${t}`;return await(await fetch(i,r)).json()});A(this,ir,async(t,r)=>{var i,n;try{D.debug("Fetching private API",t,r);const c=await(await(await((r==null?void 0:r.method)==="POST"?$c:Mc)({apiName:fe.apiName,path:t,options:r})).response).body.text();return JSON.parse(c)}catch(s){const a=(i=s.response)!=null&&i.body?JSON.parse(s.response.body):void 0,o=((n=a==null?void 0:a.error)==null?void 0:n.message)||(a==null?void 0:a.error)||s.message||"Unknown error";throw new wc(o,s.response)}});A(this,_i,t=>{const r={method:"POST"};return t&&(r.headers={Accept:"application/json","Content-Type":"application/json"},r.body=JSON.stringify(t)),r})}static getInstance(){return d(tu,st)||$(tu,st,new tu),d(tu,st)}};st=new WeakMap,vi=new WeakMap,ur=new WeakMap,tr=new WeakMap,rr=new WeakMap,Ei=new WeakMap,ir=new WeakMap,_i=new WeakMap,A(tu,st),A(tu,vi,1e3*60*30);let Yn=tu;const h6=1001,p6=[fe.resources.checkoutDomain],b6=u=>{var e,t,r,i,n,s,a,o,c,h,p,l,f,b;return{id:h6,priority:1,action:{type:((t=(e=chrome.declarativeNetRequest)==null?void 0:e.RuleActionType)==null?void 0:t.MODIFY_HEADERS)??"modifyHeaders",responseHeaders:[{header:"Cookie",operation:((i=(r=chrome.declarativeNetRequest)==null?void 0:r.HeaderOperation)==null?void 0:i.REMOVE)??"remove"},{header:"X-Frame-Options",operation:((s=(n=chrome.declarativeNetRequest)==null?void 0:n.HeaderOperation)==null?void 0:s.REMOVE)??"remove"},{header:"Frame-Options",operation:((o=(a=chrome.declarativeNetRequest)==null?void 0:a.HeaderOperation)==null?void 0:o.REMOVE)??"remove"},{header:"Content-Security-Policy",operation:((h=(c=chrome.declarativeNetRequest)==null?void 0:c.HeaderOperation)==null?void 0:h.REMOVE)??"remove"}]},condition:{resourceTypes:[((l=(p=chrome.declarativeNetRequest)==null?void 0:p.ResourceType)==null?void 0:l.MAIN_FRAME)??"main_frame",((b=(f=chrome.declarativeNetRequest)==null?void 0:f.ResourceType)==null?void 0:b.SUB_FRAME)??"sub_frame"],tabIds:u}}},m6=async u=>{const e=u.map(t=>new URL(t).origin);return D.debug(z.magenta("Removing service workers for origins:"),e),chrome.browsingData.remove({origins:e},{serviceWorkers:!0})},g6=async()=>{await m6(p6.map(r=>`https://${r}`));const u=await chrome.runtime.getContexts({}).then(r=>r.map(i=>i.tabId).filter(i=>i!==-1));if(!u||!u.length)throw new Error("Failed to get extension tab ids");const e=await chrome.declarativeNetRequest.getSessionRules(),t=[b6(u)];D.debug(z.magenta("Applying CSP rules:"),...t),await chrome.declarativeNetRequest.updateSessionRules({removeRuleIds:e.map(r=>r.id),addRules:t})};var x6=(u=>(u.CheckoutFailed="SubscriptionCheckoutFailed",u.CheckoutClosed="SubscriptionCheckoutClosed",u.CancelFailed="SubscriptionCancelFailed",u))(x6||{});class Cn extends Error{constructor(e,t){super(t),this.name=e}}class ue extends Event{constructor(e,t){super(e),this.options=t}}g(ue,"Initialized","subscriptionInitialized"),g(ue,"CheckoutRequested","subscriptionCheckoutRequested"),g(ue,"CheckoutCompleted","subscriptionCheckoutCompleted"),g(ue,"SubscriptionValidated","subscriptionValidated"),g(ue,"SubscriptionInvalidated","subscriptionInvalidated");const la={permissions:["declarativeNetRequestWithHostAccess"],origins:[fe.resources.checkoutOrigin]};var at,xu,nr,$u,pe,ot,Ee,We,ce,Ci,Ai,ki,Si,ct,lt;const Ou=class Ou extends EventTarget{constructor(){super();A(this,xu);A(this,nr,!1);A(this,$u,!1);A(this,pe,new d6);A(this,ot);A(this,Ee);A(this,We);A(this,ce);A(this,Ci,!1);g(this,"isInitialized",()=>d(this,nr));g(this,"init",async t=>{if(d(this,xu))return d(this,xu);$(this,xu,d(this,pe).waitFor(ue.Initialized)),$(this,ot,t);try{Ku.getInstance().addEventListener($e.Changed,d(this,Si)),$(this,nr,!0),d(this,pe).resolve(ue.Initialized)}catch(r){D.error("Error initializing subscription manager:",r),d(this,pe).reject(ue.Initialized,r)}return d(this,xu)});g(this,"waitForInit",async()=>d(this,xu));g(this,"hasPermissions",async()=>Hu.has(la));g(this,"ensurePermissions",async()=>(D.info("Requesting required permissions for checkout..."),Hu.ensure(la).then(()=>{D.info(z.green("Checkout permissions granted"))}).catch(t=>{throw D.error("Failed to get checkout host permissions",t),new Error('Please select "Allow" to connect to our payment processor, Paddle.')})));g(this,"checkout",async t=>{D.info("Checking out..."),D.debug(z.magenta("Initializing CSP rules...")),await this.ensurePermissions(),await g6(),await d(this,Ai).call(this);const r=d(this,pe).waitFor(re.Checkout);return await d(this,lt).call(this,re.Checkout,{options:t,user:Ku.getInstance().getUser()}),r});g(this,"requestCheckout",t=>{this.dispatchEvent(new ue(ue.CheckoutRequested,t))});g(this,"update",async(t=0,r=!1)=>{$(this,$u,!0);const i={abortIfUnauthorized:r===!1};return t0(async()=>d(this,ki).call(this,i),{onFailedAttempt:n=>{D.info(`Subscription update attempt ${n.attemptNumber}/${t+1} failed`)},retries:t}).then(()=>{$(this,$u,!1),this.isSubscribed(!0)?(this.dispatchEvent(new ue(ue.SubscriptionValidated)),d(this,ct).call(this,{type:ue.SubscriptionValidated})):(this.dispatchEvent(new ue(ue.SubscriptionInvalidated)),d(this,ct).call(this,{type:ue.SubscriptionInvalidated}))}).catch(n=>{$(this,$u,!1),D.info("Could not validate subscription:",(n==null?void 0:n.message)||n),this.dispatchEvent(new ue(ue.SubscriptionInvalidated)),d(this,ct).call(this,{type:ue.SubscriptionInvalidated})})});g(this,"isLoading",()=>d(this,$u));g(this,"isSubscribed",(t=!0)=>{try{const r=Ku.getInstance(),i=r.getCustomerId(),n=d(this,We),s=d(this,ce);if(!r.isLoggedIn()||!i||!n||!s)return(d(this,We)||d(this,ce))&&D.debug(z.yellow("Invalidating subscription because user is not logged in or missing data"),d(this,We),d(this,ce)),$(this,ce,void 0),$(this,We,void 0),!1;if(!n.status)throw new Error((n==null?void 0:n.error)||"Validation request has no status");if(s.customerId!==i)throw new Error((n==null?void 0:n.error)||"Customer ID mismatch");if(s.status!=="active"&&s.status!=="trialing")throw new Error((n==null?void 0:n.error)||`Subscription is inactive (status is ${s==null?void 0:s.status})`);return!0}catch(r){if(!t)throw D.debug("Could not validate subscription:",(r==null?void 0:r.message)||r),r;return!1}});g(this,"cancel",async()=>{var i;if(D.info("Canceling subscription..."),!d(this,Ci)){D.info("Opening cancel url"),await chrome.tabs.create({url:this.getCancelUrl()});return}D.info("Starting cancelation process...");const t=d(this,pe).waitFor(re.CancelFlowFinished);await d(this,lt).call(this,re.CancelSubscription,{subscriptionId:(i=d(this,ce))==null?void 0:i.id});const r=await t.then(n=>{if(!n||!n.data||!n.data.status)throw new Error("No status received");return n==null?void 0:n.data}).catch(()=>({status:"error"}));switch(D.info("Cancelation process finished",r),r==null?void 0:r.status){case"chose_to_cancel":return this.update(1);case"aborted":case"retained":return;case"error":default:throw new Cn("SubscriptionCancelFailed")}});g(this,"getSubscription",()=>d(this,ce));g(this,"getStatus",()=>{var t;return(t=d(this,ce))==null?void 0:t.status});g(this,"getScheduledChange",()=>{var t;return(t=d(this,ce))==null?void 0:t.scheduledChange});g(this,"getUpdatePaymentUrl",()=>{var t,r;return(r=(t=d(this,ce))==null?void 0:t.managementUrls)==null?void 0:r.updatePaymentMethod});g(this,"getCancelUrl",()=>{var t,r;return((r=(t=d(this,ce))==null?void 0:t.managementUrls)==null?void 0:r.cancel)??fe.links.fallbackCancel});A(this,Ai,async()=>{if(D.info("Initializing Paddle sandbox..."),d(this,Ee))await d(this,Ee).destroy();else if(d(this,ot))$(this,Ee,new kc(d(this,ot),An.Onscreen,this.handleBridgeMessage));else throw new Error("Window object is required to initialize the bridge");const t=d(this,pe).waitFor(re.Initialized);return await d(this,Ee).init(),await d(this,lt).call(this,re.Init),t.then(()=>{D.info(z.green("...Paddle sandbox initialized"))})});A(this,ki,async(t={abortIfUnauthorized:!0})=>{var n;$(this,We,void 0),$(this,ce,void 0);const r=Ku.getInstance(),i=t.abortIfUnauthorized?kn:Error;if(!r.isLoggedIn())throw new i("User is logged out");D.debug("Fetching subscriptions...");try{const s=await Yn.getInstance().validate(),a=s.subscription;return $(this,We,s),$(this,ce,a),a}catch(s){if(s instanceof wc)switch((n=s.response)==null?void 0:n.statusCode){case 400:throw D.error("Error fetching subscription:",s.message),new kn(s.message);case 401:case 403:throw new i(s.message)}throw s}});A(this,Si,async t=>{var s;$(this,We,void 0),await this.update();const i=this.isSubscribed()?z.green("subscribed"):z.yellow("unsubscribed");let n=((s=d(this,ce))==null?void 0:s.status)??"no subscription found";switch(n){case"active":n=z.green(n);break;case"trialing":n=z.yellow(n);break;default:n=z.red(n);break}D.debug(`User is ${i} (${n})`)});A(this,ct,async t=>{var r,i;if(((r=d(this,Ee))==null?void 0:r.origin)===An.Onscreen){t.origin=(i=d(this,Ee))==null?void 0:i.origin;const n=await chrome.runtime.sendMessage(t);return n}});A(this,lt,async(t,r)=>{if(!d(this,Ee)){D.error("Subscription manager not initialized",new Error("No bridge available"));return}return d(this,Ee).sendMessage({type:t,data:r})});g(this,"handleBridgeMessage",(t,r,i)=>{var n,s,a;switch(t.type){case"log":D.debug([...t.data.args].join(" "));break;case re.Initialized:D.info(z.green("Paddle initialized")),d(this,pe).resolve(re.Initialized);break;case re.PaddleEvent:D.debug("Paddle event: "+JSON.stringify(t.data));break;case re.Updated:D.debug("Paddle updated");break;case re.CheckoutCompleted:D.info(z.green("Checkout completed"));const o=(n=t.data)==null?void 0:n.data;d(this,pe).resolve(re.Checkout,o);break;case re.CheckoutFailed:D.warn("Checkout failed"),d(this,pe).reject(re.Checkout,new Cn("SubscriptionCheckoutFailed"));break;case re.CheckoutClosed:D.info("Checkout window closed"),d(this,pe).reject(re.Checkout,new Cn("SubscriptionCheckoutClosed"));break;case re.CancelFlowFinished:d(this,pe).resolve(re.CancelFlowFinished,t.data);break;case re.CancelCompleted:this.update(1);break;case ue.SubscriptionValidated:!this.isSubscribed()&&t.origin!==((s=d(this,Ee))==null?void 0:s.origin)&&this.update(10);break;case ue.SubscriptionInvalidated:this.isSubscribed()&&t.origin!==((a=d(this,Ee))==null?void 0:a.origin)&&this.update(1);break;default:return!1}return i(),!0});this.update=e0(this.update,500)}static getInstance(){return d(Ou,at)||$(Ou,at,new Ou),d(Ou,at)}};at=new WeakMap,xu=new WeakMap,nr=new WeakMap,$u=new WeakMap,pe=new WeakMap,ot=new WeakMap,Ee=new WeakMap,We=new WeakMap,ce=new WeakMap,Ci=new WeakMap,Ai=new WeakMap,ki=new WeakMap,Si=new WeakMap,ct=new WeakMap,lt=new WeakMap,A(Ou,at);let Rt=Ou;const St=u=>u,Ur=u=>0,y6=u=>1,w6=u=>u*u*u,v6=u=>--u*u*u+1,E6=u=>u*u*u*u*u,_6=u=>1- --u*u*u*u*u*u*u*u,C6="Clear Cache",A6="Clear your cache and browsing data with a single click of a button.",k6="#999",S6="#999",D6="#999",T6="#999",I6="#999",O6="#fff",R6="#fff",F6="#fff",N6="#fff",L6="#fff",P6="rgba(100, 100, 100, 1)",fa={title:C6,description:A6,errorColor:k6,warningColor:S6,infoColor:D6,successColor:T6,clearColor:I6,errorColorForeground:O6,warningColorForeground:R6,infoColorForeground:F6,successColorForeground:N6,clearColorForeground:L6,logoColor:P6};class Au extends Event{}g(Au,"AnimationStart","animationstart"),g(Au,"AnimationStop","animationstop"),g(Au,"AnimationUpdate","animationupdate"),g(Au,"ImageUpdate","imageupdate");var $6=(u=>(u.fade="fade",u.spin="spin",u))($6||{}),ma,ga,sr,K,be,Pe,ar,iu,ft,Mu,Di,yu,nu,Ti,or,Ii,Oi,qu,Ri,cr,Fi,Ni,Bu,wu,Uu;const Ge=class Ge extends EventTarget{constructor(t=128,r=128,i){super();A(this,K);A(this,be);A(this,Pe);A(this,ar);A(this,iu);A(this,ft,NaN);A(this,Mu,NaN);A(this,Di,1e3/60);A(this,yu,!1);A(this,nu,0);g(this,"animationDuration",Ge.defaultAnimationDuration);g(this,"animationRotations",3);g(this,"startColorA",{r:0,g:0,b:255,a:1});g(this,"startColorB",{r:0,g:0,b:255,a:1});g(this,"endColorA",d(ma=Ge,sr).call(ma,fa.logoColor));g(this,"endColorB",d(ga=Ge,sr).call(ga,fa.logoColor));g(this,"gradientStopA",{r:0,g:200,b:64,a:1});g(this,"gradientStopB",{r:0,g:0,b:255,a:1});g(this,"shadowColorString","rgba(0, 0, 0, 0.5)");g(this,"animationStyle","spin");g(this,"offset",{x:0,y:8});g(this,"scale",1.1);g(this,"gradientCenter",.5);g(this,"preload",async(t,r=!1)=>{try{if($(this,iu,t||d(this,iu)),!d(this,iu)){D.warn("No image path provided for logo preload");return}await d(this,Ni).call(this,d(this,iu),r),await d(this,or).call(this,1)}catch(i){D.error(`Failed to preload logo at ${d(this,iu)}:`,i)}});g(this,"reload",async(t=!0)=>{await this.preload(d(this,iu),t)});g(this,"getImageData",()=>d(this,ar));g(this,"getCanvas",()=>d(this,K));g(this,"startAnimation",(t,r,i=!1)=>{this.clearAnimation(),$(this,ft,Date.now()),$(this,nu,0),$(this,yu,i),this.animationDuration=t??this.animationDuration,this.animationRotations=r??this.animationRotations,$(this,Mu,setInterval(d(this,or),d(this,Di))),this.dispatchEvent(new Event(Au.AnimationStart))});g(this,"finishAnimation",(t,r)=>this.startAnimation(t,r,!1));g(this,"clearAnimation",()=>{isNaN(d(this,Mu))||(clearInterval(d(this,Mu)),$(this,Mu,NaN),$(this,nu,0),this.dispatchEvent(new Event(Au.AnimationStop)))});A(this,Ti,()=>{const t=Date.now()-d(this,ft),r=d(this,nu)===0;let i=this.animationDuration;return d(this,yu)&&r&&(i*=.5),Math.min(1,t/i)});A(this,or,t=>{if(t=t??d(this,Ti).call(this),d(this,be)&&d(this,Pe)){switch(d(this,be).clearRect(0,0,d(this,K).width,d(this,K).height),d(this,Ri).call(this,d(this,be),this.scale,this.scale),d(this,be).translate(this.offset.x,this.offset.x),d(this,be).globalCompositeOperation="destination-over",this.animationStyle){case"fade":d(this,Ii).call(this,d(this,be),t);break;case"spin":d(this,Oi).call(this,d(this,be),t);break}d(this,Fi).call(this,d(this,be),d(this,Pe)),$(this,ar,d(this,be).getImageData(0,0,d(this,K).width,d(this,K).height)),d(this,be).resetTransform(),this.dispatchEvent(new Event(Au.ImageUpdate)),this.dispatchEvent(new Event(Au.AnimationUpdate))}(isNaN(t)||t>=1)&&(d(this,yu)&&d(this,nu)>=Ge.maxCycles?this.finishAnimation():d(this,yu)?($(this,ft,Date.now()),H0(this,nu)._++):this.clearAnimation())});A(this,Ii,(t,r)=>{r=d(this,qu).call(this,r,Ur,Ur,w6),t.fillStyle=d(this,Uu).call(this,d(this,wu).call(this,r,this.gradientStopA,this.endColorA)),t.fillRect(0,0,d(this,K).width,d(this,K).height)});A(this,Oi,(t,r)=>{const i=this.animationRotations,n=d(this,qu).call(this,r,St,y6,_6),s=d(this,qu).call(this,r,Ur,Ur,E6),a=d(this,qu).call(this,r,St,St,v6),o=d(this,K).width*this.gradientCenter,c=d(this,K).height*this.gradientCenter,h=t.createConicGradient(0,o,c),p=d(this,wu).call(this,n,this.startColorA,this.gradientStopA),l=d(this,wu).call(this,n,this.startColorB,this.gradientStopB),f=d(this,wu).call(this,s,p,this.endColorA),b=d(this,wu).call(this,s,l,this.endColorB);h.addColorStop(0,d(this,Uu).call(this,f)),h.addColorStop(.8,d(this,Uu).call(this,b)),h.addColorStop(1,d(this,Uu).call(this,f));const k=a*Math.PI*2*i;d(this,cr).call(this,t,k),t.fillStyle=h,t.fillRect(0,0,d(this,K).width,d(this,K).height),d(this,cr).call(this,t,-k)});A(this,qu,(t,r,i=St,n=St)=>d(this,yu)?d(this,nu)===0?r(t):i(t):n(t));A(this,Ri,(t,r,i)=>{t.translate(d(this,K).width/2,d(this,K).height/2),t.scale(r,i),t.translate(-d(this,K).width/2,-d(this,K).height/2)});A(this,cr,(t,r)=>{t.translate(d(this,K).width/2,d(this,K).height/2),t.rotate(r),t.translate(-d(this,K).width/2,-d(this,K).height/2)});A(this,Fi,(t,r)=>{t.globalCompositeOperation="destination-in",t.drawImage(r,0,0,d(this,K).width,d(this,K).height),t.globalCompositeOperation="destination-over",t.shadowBlur=12,t.shadowColor=this.shadowColorString,t.shadowOffsetX=4,t.shadowOffsetY=4,t.drawImage(r,0,0,d(this,K).width,d(this,K).height),t.shadowBlur=0,t.shadowColor="transparent",t.shadowOffsetX=0,t.shadowOffsetY=0});A(this,Ni,async(t,r=!1)=>{if(!r&&d(this,Pe)&&d(this,Pe).width>0&&d(this,Pe).height>0)return d(this,Pe);const i=await fetch(t).then(n=>n.blob());return $(this,Pe,await createImageBitmap(i)),d(this,Pe)});A(this,Bu,(t,r,i)=>t+(r-t)*i);A(this,wu,(t,r,i)=>({r:d(this,Bu).call(this,r.r,i.r,t),g:d(this,Bu).call(this,r.g,i.g,t),b:d(this,Bu).call(this,r.b,i.b,t),a:d(this,Bu).call(this,r.a,i.a,t)}));A(this,Uu,t=>`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`);$(this,K,i??new OffscreenCanvas(t,r)),d(this,K).width=t,d(this,K).height=r,$(this,be,d(this,K).getContext("2d",{alpha:!0,willReadFrequently:!0}))}};sr=new WeakMap,K=new WeakMap,be=new WeakMap,Pe=new WeakMap,ar=new WeakMap,iu=new WeakMap,ft=new WeakMap,Mu=new WeakMap,Di=new WeakMap,yu=new WeakMap,nu=new WeakMap,Ti=new WeakMap,or=new WeakMap,Ii=new WeakMap,Oi=new WeakMap,qu=new WeakMap,Ri=new WeakMap,cr=new WeakMap,Fi=new WeakMap,Ni=new WeakMap,Bu=new WeakMap,wu=new WeakMap,Uu=new WeakMap,A(Ge,sr,t=>{const[r,i,n,s]=t.slice(5,-1).split(",").map(a=>parseFloat(a));return{r,g:i,b:n,a:s}}),g(Ge,"defaultAnimationDuration",1e3),g(Ge,"defaultNumRotations",3),g(Ge,"maxCycles",64);let da=Ge;const M6="/assets/logo-Cduupf-4.png",q6="/assets/author-icon-BlHhmamu.png",km={logoImgPath:M6,authorIconPath:q6},ha=u=>Number.isFinite(u)?u:0;function B6(u){return{days:Math.trunc(u/864e5),hours:Math.trunc(u/36e5%24),minutes:Math.trunc(u/6e4%60),seconds:Math.trunc(u/1e3%60),milliseconds:Math.trunc(u%1e3),microseconds:Math.trunc(ha(u*1e3)%1e3),nanoseconds:Math.trunc(ha(u*1e6)%1e3)}}function U6(u){return{days:u/86400000n,hours:u/3600000n%24n,minutes:u/60000n%60n,seconds:u/1000n%60n,milliseconds:u%1000n,microseconds:0n,nanoseconds:0n}}function j6(u){switch(typeof u){case"number":{if(Number.isFinite(u))return B6(u);break}case"bigint":return U6(u)}throw new TypeError("Expected a finite number or bigint")}const z6=u=>u===0||u===0n,H6=(u,e)=>e===1||e===1n?u:`${u}s`,V6=1e-7,G6=24n*60n*60n*1000n;function pa(u,e){const t=typeof u=="bigint";if(!t&&!Number.isFinite(u))throw new TypeError("Expected a finite number or bigint");e={...e},e.colonNotation&&(e.compact=!1,e.formatSubMilliseconds=!1,e.separateMilliseconds=!1,e.verbose=!1),e.compact&&(e.unitCount=1,e.secondsDecimalDigits=0,e.millisecondsDecimalDigits=0);let r=[];const i=(c,h)=>{const p=Math.floor(c*10**h+V6);return(Math.round(p)/10**h).toFixed(h)},n=(c,h,p,l)=>{if(!((r.length===0||!e.colonNotation)&&z6(c)&&!(e.colonNotation&&p==="m"))){if(l=l??String(c),e.colonNotation){const f=l.includes(".")?l.split(".")[0].length:l.length,b=r.length>0?2:1;l="0".repeat(Math.max(0,b-f))+l}else l+=e.verbose?" "+H6(h,c):p;r.push(l)}},s=j6(u),a=BigInt(s.days);if(n(a/365n,"year","y"),n(a%365n,"day","d"),n(Number(s.hours),"hour","h"),n(Number(s.minutes),"minute","m"),e.separateMilliseconds||e.formatSubMilliseconds||!e.colonNotation&&u<1e3){const c=Number(s.seconds),h=Number(s.milliseconds),p=Number(s.microseconds),l=Number(s.nanoseconds);if(n(c,"second","s"),e.formatSubMilliseconds)n(h,"millisecond","ms"),n(p,"microsecond","µs"),n(l,"nanosecond","ns");else{const f=h+p/1e3+l/1e6,b=typeof e.millisecondsDecimalDigits=="number"?e.millisecondsDecimalDigits:0,k=f>=1?Math.round(f):Math.ceil(f),x=b?f.toFixed(b):k;n(Number.parseFloat(x),"millisecond","ms",x)}}else{const c=(t?Number(u%G6):u)/1e3%60,h=typeof e.secondsDecimalDigits=="number"?e.secondsDecimalDigits:1,p=i(c,h),l=e.keepDecimalsOnWholeSeconds?p:p.replace(/\.0+$/,"");n(Number.parseFloat(l),"second","s",l)}if(r.length===0)return"0"+(e.verbose?" milliseconds":"ms");const o=e.colonNotation?":":" ";return typeof e.unitCount=="number"&&(r=r.slice(0,Math.max(e.unitCount,1))),r.join(o)}class Ft extends Event{constructor(e,t){super(e),this.origin=t}}g(Ft,"Paused","paused"),g(Ft,"Resumed","resumed"),g(Ft,"ClearCache","clear-cache");var ju,dt,le,ht,Li,lr,fr,dr,hr,Pi,zu,vu;const Se=class Se extends EventTarget{constructor(){super();A(this,ju,null);A(this,dt,[]);A(this,le,null);A(this,ht,new Map);g(this,"init",async()=>d(this,ju)?d(this,ju):($(this,ju,d(this,Li).call(this)),d(this,ju)));g(this,"pause",async()=>{var t,r,i,n,s;(t=chrome.tabs)==null||t.onRemoved.removeListener(d(this,dr)),(r=chrome.tabs)==null||r.onUpdated.removeListener(d(this,fr)),(i=chrome.idle)==null||i.onStateChanged.removeListener(d(this,hr)),(n=chrome.alarms)==null||n.onAlarm.removeListener(d(this,lr));for(const a of d(this,dt))await((s=chrome.alarms)==null?void 0:s.clear(a));$(this,dt,[])});g(this,"resume",async()=>{if(!d(this,le)){D.warn("No scheduler options found in config");return}if(d(this,le).clearOnTabClose&&d(this,vu).call(this)&&(await Hu.has("tabs")?(D.info("👀 Listening for tab removal events"),chrome.tabs.onUpdated.addListener(d(this,fr)),chrome.tabs.onRemoved.addListener(d(this,dr))):D.warn("Cannot listen for tab removal events without tabs permission")),d(this,le).clearOnIdle&&d(this,vu).call(this)&&(await Hu.has("idle")?(D.info("👀 Listening for idle state change events"),chrome.idle.onStateChanged.addListener(d(this,hr))):D.warn("Cannot listen for tab removal events without tabs permission")),d(this,le).clearOnStartup&&d(this,vu).call(this)&&D.info("👀 Listening for startup events"),d(this,le).clearInterval>0&&d(this,vu).call(this)){const t=d(this,le).clearInterval,r=t/6e4;d(this,dt).push(Se.AlarmClearOnInterval),D.info(`🔄️ Scheduling automatic cache clearing every ${pa(t)}`),chrome.alarms.onAlarm.addListener(d(this,lr)),await chrome.alarms.create(Se.AlarmClearOnInterval,{periodInMinutes:r})}});g(this,"update",async t=>{var r;await this.pause(),t=t??await su.getInstance().load(),$(this,le,(r=t==null?void 0:t.extension)==null?void 0:r.scheduler),await this.resume()});A(this,Li,async()=>{D.debug(z.magenta("Initializing scheduler...")),su.getInstance().addEventListener(Cu.Updated,async r=>{var n,s,a,o;if(!(r instanceof Cu))return;const i=(o=(a=(s=(n=r.changes)==null?void 0:n.config)==null?void 0:s.newValue)==null?void 0:a.extension)==null?void 0:o.scheduler;!i||u0(i,d(this,le))||this.update(r.config)}),Rt.getInstance().addEventListener(ue.SubscriptionValidated,()=>this.update),Rt.getInstance().addEventListener(ue.SubscriptionInvalidated,()=>this.update);const t=await su.getInstance().load();await this.update(t),D.debug(z.magenta("Scheduler initialized"))});A(this,lr,async t=>{var r;t.name===Se.AlarmClearOnInterval&&((((r=d(this,le))==null?void 0:r.clearInterval)??0)>0?d(this,zu).call(this,"interval"):(D.info("🔄️ Removing automatic clear schedule"),await chrome.alarms.clear(Se.AlarmClearOnInterval)))});A(this,fr,async(t,r,i)=>{var n;try{if((n=d(this,le))!=null&&n.clearOnTabClose&&i.url){const s=new URL(i.url).origin;d(this,ht).set(t,s)}}catch(s){D.error("Error getting origin for tab",t,s)}});A(this,dr,async(t,r)=>{var i;try{const n=d(this,ht).get(t);d(this,ht).delete(t),(i=d(this,le))!=null&&i.clearOnTabClose&&n&&d(this,zu).call(this,"tabClose",n)}catch(n){D.error("Error handling removed tab",t,n)}});A(this,hr,async t=>{var r;(r=d(this,le))!=null&&r.clearOnIdle&&t==="idle"&&d(this,zu).call(this,"idle")});A(this,Pi,async()=>{(await su.getInstance().load()).extension.scheduler.clearOnStartup&&d(this,zu).call(this,"startup")});A(this,zu,async(t,r)=>{var s;let i=d(this,vu).call(this);const n=[];switch(r&&n.push(`origin: ${r}`),t){case"startup":i=!0;break;case"interval":n.push(`interval: ${pa(((s=d(this,le))==null?void 0:s.clearInterval)??0)}`);break}if(i){const a=n.length>0?` (${n.join(", ")})`:"";D.info(`♻️ Clearing cache on ${t}${a}`),this.dispatchEvent(new Ft(Ft.ClearCache,r))}else D.debug(`Not clearing data on ${t} because user is not subscribed`)});A(this,vu,()=>Rt.getInstance().isSubscribed());this.update=e0(this.update,100,{trailing:!0}),chrome.runtime.onStartup.addListener(d(this,Pi))}static getInstance(){return Se.instance||(Se.instance=new Se),Se.instance}};ju=new WeakMap,dt=new WeakMap,le=new WeakMap,ht=new WeakMap,Li=new WeakMap,lr=new WeakMap,fr=new WeakMap,dr=new WeakMap,hr=new WeakMap,Pi=new WeakMap,zu=new WeakMap,vu=new WeakMap,g(Se,"AlarmClearOnInterval","clearOnInterval"),g(Se,"instance");let ba=Se;export{Ku as A,t0 as B,su as C,ii as D,pa as E,vm as F,Ft as G,da as L,ca as M,Tt as O,Hu as P,Rt as S,dp as a,Em as b,Cm as c,_m as d,ue as e,wm as f,$i as g,Ot as h,gm as i,$e as j,Yn as k,x6 as l,mm as m,bp as n,Au as o,$6 as p,km as q,xm as r,rp as s,ym as t,e0 as u,cp as v,Am as w,Kn as x,ba as y,Cu as z}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/author-icon-BlHhmamu.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/author-icon-BlHhmamu.png new file mode 100644 index 0000000..000446c Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/author-icon-BlHhmamu.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/index.esm-DBQD-6dI.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/index.esm-DBQD-6dI.js new file mode 100644 index 0000000..9889768 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/index.esm-DBQD-6dI.js @@ -0,0 +1 @@ +const R={BASE_URL:"/",DEV:!1,MODE:"release",PROD:!0,SSR:!1,VITE_API_NAME:"prod-clear-cache-Api",VITE_API_URL:"https://api.clearcache.io",VITE_CHECKOUT_DOMAIN:"paddle.com",VITE_CHECKOUT_ORIGIN:"https://*.paddle.com/",VITE_CHECKOUT_URL:"https://clearcache.io/checkout/index.html",VITE_CUSTOMER_ID_ATTR_NAME:"custom:customerId",VITE_EXTENSION_HOST:"",VITE_EXTENSION_PORT:"",VITE_IDENTITY_POOL_ID:"us-east-1:3eb0088c-5f55-4e61-bde5-650f67bec1bd",VITE_OFFSCREEN_SANDBOX_SRC:"pages/offscreen/sandbox/index.html",VITE_OFFSCREEN_STORAGE_SRC:"pages/offscreen/storage/index.html",VITE_OPTIONS_SRC:"pages/options/index.html",VITE_PADDLE_API_URL:"https://api.paddle.com",VITE_PADDLE_ENVIRONMENT:"production",VITE_PADDLE_TOKEN:"live_46d5a27538475e9f3da4fb14051",VITE_REGION:"us-east-1",VITE_SANDBOX_SRC:"pages/sandbox/index.html",VITE_TERMS_ACCEPTED_AT_ATTR_NAME:"custom:termsAcceptedAt",VITE_USER_POOL_CLIENT_ID:"6h57vqvod34l886jtjr8krut9e",VITE_USER_POOL_ID:"us-east-1_7zoIi1cKO",VITE_WEBSITE_URL:"https://clearcache.io"},E=R,a={websiteUrl:E.VITE_WEBSITE_URL,apiName:E.VITE_API_NAME,apiUrl:E.VITE_API_URL,emailCodeLength:6,testUser:void 0,paddle:{apiUrl:E.VITE_PADDLE_API_URL,token:E.VITE_PADDLE_TOKEN,environment:E.VITE_PADDLE_ENVIRONMENT},links:{privacy:E.VITE_PRIVACY_LINK??"https://clearcache.io/privacy",terms:E.VITE_TERMS_LINK??"https://clearcache.io/terms",support:E.VITE_SUPPORT_LINK??"https://clearcache.io/support",listing:E.VITE_WEB_STORE_LISTING??"https://chromewebstore.google.com/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn",reviews:E.VITE_REVIEWS_LINK??"https://chromewebstore.google.com/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn/reviews",coffee:E.VITE_COFFEE_LINK??"https://buymeacoffee.com/benjaminbojko",author:E.VITE_AUTHOR_LINK??"https://buymeacoffee.com/benjaminbojko",fallbackCancel:E.VITE_FALLBACK_CANCEL_LINK??"https://paddle.net/"},aws:{s3:{REGION:E.VITE_REGION},apiGateway:{REGION:E.VITE_REGION,URL:E.VITE_API_URL},cognito:{REGION:E.VITE_REGION,USER_POOL_ID:E.VITE_USER_POOL_ID,APP_CLIENT_ID:E.VITE_USER_POOL_CLIENT_ID,IDENTITY_POOL_ID:E.VITE_IDENTITY_POOL_ID,CUSTOMER_ID_ATTR_NAME:E.VITE_CUSTOMER_ID_ATTR_NAME,TERMS_ACCEPTED_AT_ATTR_NAME:E.VITE_TERMS_ACCEPTED_AT_ATTR_NAME}},resources:{checkoutUrl:E.VITE_CHECKOUT_URL,checkoutDomain:E.VITE_CHECKOUT_DOMAIN,checkoutOrigin:E.VITE_CHECKOUT_ORIGIN,websiteUrl:E.VITE_WEBSITE_URL,sandboxSrc:E.VITE_SANDBOX_SRC,offscreenSandboxSrc:E.VITE_OFFSCREEN_SANDBOX_SRC,offscreenStorageSrc:E.VITE_OFFSCREEN_STORAGE_SRC}};var T;(function(_){_.CHECKOUT_LOADED="checkout.loaded",_.CHECKOUT_CLOSED="checkout.closed",_.CHECKOUT_UPDATED="checkout.updated",_.CHECKOUT_COMPLETED="checkout.completed",_.CHECKOUT_ERROR="checkout.error",_.CHECKOUT_FAILED="checkout.failed",_.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",_.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",_.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",_.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",_.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",_.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",_.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",_.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",_.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",_.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed"})(T||(T={}));var I;(function(_){_.DAY="day",_.WEEK="week",_.MONTH="month",_.YEAR="year"})(I||(I={}));var O;(function(_){_.ALIPAY="alipay",_.APPLE_PAY="apple-pay",_.CARD="card",_.GOOGLE_PAY="google-pay",_.IDEAL="ideal",_.PAYPAL="paypal",_.WIRE_TRANSFER="wire-transfer",_.NONE="none"})(O||(O={}));var c;(function(_){_.AMERICAN_EXPRESS="american_express",_.DINERS_CLUB="diners_club",_.DISCOVER="discover",_.JCB="jcb",_.MADA="mada",_.MAESTRO="maestro",_.MASTER_CARD="mastercard",_.UNION_PAY="union_pay",_.VISA="visa",_.UNKNOWN="unknown"})(c||(c={}));var A;(function(_){_.DRAFT="draft",_.READY="ready",_.COMPLETED="completed",_.BILLED="billed",_.canceled="canceled",_.PAST_DUE="past_due"})(A||(A={}));export{I as C,a as E,A as a,T as b}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/logo-Cduupf-4.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/logo-Cduupf-4.png new file mode 100644 index 0000000..e9d8666 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/logo-Cduupf-4.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/modulepreload-polyfill-B5Qt9EMX.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/modulepreload-polyfill-B5Qt9EMX.js new file mode 100644 index 0000000..3e0a78a --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/modulepreload-polyfill-B5Qt9EMX.js @@ -0,0 +1 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=s(e);fetch(e.href,r)}})(); diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/offscreenSandbox-BWLdCiSi.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/offscreenSandbox-BWLdCiSi.js new file mode 100644 index 0000000..ae252a9 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/offscreenSandbox-BWLdCiSi.js @@ -0,0 +1 @@ +import"./modulepreload-polyfill-B5Qt9EMX.js";import{S as o}from"./SandboxBridge-D2h3sBK3.js";import{B as r}from"./MessageBridge-C2lz_3Ul.js";import"./index.esm-DBQD-6dI.js";import"./Logger-kUgoCvAm.js";let i;const n=async()=>{i=new o(window,r.Offscreen),await i.init()};n(); diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/offscreenStorage-BlM5-N0D.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/offscreenStorage-BlM5-N0D.js new file mode 100644 index 0000000..2c139ee --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/offscreenStorage-BlM5-N0D.js @@ -0,0 +1 @@ +import"./modulepreload-polyfill-B5Qt9EMX.js";import{R as s}from"./RuntimeBridge-DW3w8fNi.js";import{B as g}from"./MessageBridge-C2lz_3Ul.js";import"./Logger-kUgoCvAm.js";const n=t=>t?{[t]:localStorage.getItem(t)}:localStorage,i=t=>({type:"initialized",data:{...n(t)}}),c=async()=>{const t=new s(g.Offscreen,(e,d,r)=>{var a;switch(e.type){case"get-local-storage":const o=n((a=e.data)==null?void 0:a.key);return r({type:"local-storage",data:{...o}}),!0;case"init":return r(i()),!0}return!1});await t.init(),await t.sendMessage(i())};c(); diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/options-BaWLMde0.css b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/options-BaWLMde0.css new file mode 100644 index 0000000..09b7cf4 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/options-BaWLMde0.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Work Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 224 71.4% 4.1%;--card: 0 0% 100%;--card-foreground: 224 71.4% 4.1%;--popover: 0 0% 100%;--popover-foreground: 224 71.4% 4.1%;--primary: 137 71.4% 40.8%;--primary-foreground: 210 20% 98%;--secondary: 220 14.3% 95.9%;--secondary-foreground: 220.9 39.3% 11%;--muted: 220 14.3% 95.9%;--muted-foreground: 220 8.9% 46.1%;--accent: 220 14.3% 95.9%;--accent-foreground: 220.9 39.3% 11%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 20% 98%;--border: 220 13% 91%;--input: 220 13% 91%;--ring: var(--primary);--radius: .5rem;--logo: var(--background);--gradient-start: 207 100% 38%;--gradient-stop: 137 100% 41%;--warning: 31 84% 60%;--warning-foreground: 31 20% 98%;--plus: 207 100% 38%;--plus-foreground: 207 100% 100%;--plus-gradient-start: 207 100% 38%;--plus-gradient-stop: 137 100% 41%;--success: 137 100% 41%;--success-foreground: 137 100% 92%}.dark{--background: 225 35% 10%;--foreground: 210 20% 98%;--card: 224 35% 8%;--card-foreground: 210 20% 98%;--popover: 224 71.4% 4.1%;--popover-foreground: 210 20% 98%;--primary: 137 71.4% 40.8%;--primary-foreground: 210 20% 98%;--secondary: 215 27.9% 16.9%;--secondary-foreground: 210 20% 98%;--muted: 215 27.9% 16.9%;--muted-foreground: 217.9 10.6% 64.9%;--accent: 215 27.9% 16.9%;--accent-foreground: 210 20% 98%;--destructive: 0 75.8% 60.6%;--destructive-foreground: 210 20% 98%;--border: 215 27.9% 20%;--input: 215 27.9% 20%;--ring: var(--primary);--logo: 137 71.4% 50%;--gradient-start: 220 100% 15%;--gradient-stop: 137 100% 15%;--warning: 31 75.8% 60.6%;--warning-foreground: 31 20% 98%;--success: 137 100% 41%;--success-foreground: 137 100% 7%;--plus: 207 100% 38%;--plus-foreground: 207 100% 98%;--plus-gradient-start: 207 100% 38%;--plus-gradient-stop: 137 100% 41%}*{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity))}body{font-family:Work Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";background-color:transparent;--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}html{min-height:100%;background-color:var(--gradient-stop)}html:before{content:"";width:100%;height:100%;position:fixed;z-index:-1;background-image:linear-gradient(to top right,var(--tw-gradient-stops));--tw-gradient-from: hsl(var(--gradient-start) / 1) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--gradient-start) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: hsl(var(--gradient-stop) / 1) var(--tw-gradient-to-position)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}@property --angle{syntax: ""; inherits: false; initial-value: 45deg;}@property --from{syntax: ""; inherits: false; initial-value: 0%;}@property --to{syntax: ""; inherits: false; initial-value: 100%;}.bg-plus-gradient,.text-plus-gradient{--easing: ease;--dur: .5s;background:linear-gradient(var(--angle),hsl(var(--plus-gradient-start)) var(--from),hsl(var(--plus-gradient-stop)) var(--to));transition:all .4s ease,--angle var(--dur) var(--easing),--from var(--dur) var(--easing),--to var(--dur) var(--easing)}.text-plus-gradient{font-weight:700;text-transform:uppercase;font-style:italic;--angle: 10deg;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.bg-plus-gradient:hover,.bg-plus-gradient-rotated,.text-plus-gradient:hover{--easing: ease-out;--dur: .2s;--angle: 405deg ;--from: -20%;--to: 120%}.text-plus-gradient:hover{--angle: 10deg ;--from: -200%;--to: 300%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-8{left:2rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.right-5{right:1.25rem}.right-8{right:2rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-5{top:1.25rem}.top-8{top:2rem}.top-\[60\%\]{top:60%}.top-full{top:100%}.top-px{top:1px}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.col-span-2{grid-column:span 2 / span 2}.m-0{margin:0}.m-2{margin:.5rem}.m-8{margin:2rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-16{margin-left:4rem;margin-right:4rem}.mx-\[5\%\]{margin-left:5%;margin-right:5%}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[-1px\]{margin-top:-1px}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.list-item{display:list-item}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-20{width:5rem;height:5rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[--radix-navigation-menu-viewport-height\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-\[1\.2rem\]{height:1.2rem}.h-\[1rem\]{height:1rem}.h-\[3em\]{height:3em}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-32{max-height:8rem}.max-h-48{max-height:12rem}.max-h-96{max-height:24rem}.max-h-\[300px\]{max-height:300px}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-20{min-height:5rem}.min-h-6{min-height:1.5rem}.min-h-full{min-height:100%}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[16vw\]{width:16vw}.w-\[1px\]{width:1px}.w-\[248px\]{width:248px}.w-\[400px\]{width:400px}.w-\[40vw\]{width:40vw}.w-\[4em\]{width:4em}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-32{min-width:8rem}.min-w-48{min-width:12rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-96{min-width:24rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.min-w-\[22rem\]{min-width:22rem}.min-w-\[400px\]{min-width:400px}.max-w-48{max-width:12rem}.max-w-96{max-width:24rem}.max-w-\[50\%\]{max-width:50%}.max-w-\[500px\]{max-width:500px}.max-w-\[50vw\]{max-width:50vw}.max-w-\[650px\]{max-width:650px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-screen-md{max-width:768px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.origin-left{transform-origin:left}.origin-right{transform-origin:right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-4{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.touch-manipulation{touch-action:manipulation}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.scroll-m-20{scroll-margin:5rem}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.break-inside-avoid{-moz-column-break-inside:avoid;break-inside:avoid}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-content-end{place-content:end}.place-content-between{place-content:space-between}.place-items-center{place-items:center}.content-center{align-content:center}.content-stretch{align-content:stretch}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-stretch{justify-content:stretch}.justify-items-stretch{justify-items:stretch}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-0{row-gap:0px}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.gap-y-8{row-gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.hyphens-auto{-webkit-hyphens:auto;hyphens:auto}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.text-nowrap{text-wrap:nowrap}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-\[1px\]{border-width:1px}.border-\[4px\]{border-width:4px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-border{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity))}.border-destructive{--tw-border-opacity: 1;border-color:hsl(var(--destructive) / var(--tw-border-opacity))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{--tw-border-opacity: 1;border-color:hsl(var(--input) / var(--tw-border-opacity))}.border-muted{--tw-border-opacity: 1;border-color:hsl(var(--muted) / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:hsl(var(--primary) / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-background{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity))}.bg-black\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-border{--tw-bg-opacity: 1;background-color:hsl(var(--border) / var(--tw-bg-opacity))}.bg-card{--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity))}.bg-card\/50{background-color:hsl(var(--card) / .5)}.bg-card\/75{background-color:hsl(var(--card) / .75)}.bg-card\/80{background-color:hsl(var(--card) / .8)}.bg-destructive{--tw-bg-opacity: 1;background-color:hsl(var(--destructive) / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-muted{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity))}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-popover{--tw-bg-opacity: 1;background-color:hsl(var(--popover) / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:hsl(var(--secondary) / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-warning{--tw-bg-opacity: 1;background-color:hsl(var(--warning) / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-opacity-75{--tw-bg-opacity: .75}.bg-opacity-90{--tw-bg-opacity: .9}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))}.from-plus-gradient-stop\/15{--tw-gradient-from: hsl(var(--plus-gradient-stop) / .15) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--plus-gradient-stop) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-plus-gradient-start\/15{--tw-gradient-to: hsl(var(--plus-gradient-start) / .15) var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.fill-popover{fill:hsl(var(--popover) / 1)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-px{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pl-0{padding-left:0}.pl-0\.5{padding-left:.125rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pl-9{padding-left:2.25rem}.pr-0{padding-right:0}.pr-0\.5{padding-right:.125rem}.pr-2{padding-right:.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-baseline{vertical-align:baseline}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.align-text-top{vertical-align:text-top}.align-text-bottom{vertical-align:text-bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\[1\.7rem\]{font-size:1.7rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-7{line-height:1.75rem}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-card-foreground{--tw-text-opacity: 1;color:hsl(var(--card-foreground) / var(--tw-text-opacity))}.text-current{color:currentColor}.text-destructive{--tw-text-opacity: 1;color:hsl(var(--destructive) / var(--tw-text-opacity))}.text-destructive-foreground{--tw-text-opacity: 1;color:hsl(var(--destructive-foreground) / var(--tw-text-opacity))}.text-foreground{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-logo{--tw-text-opacity: 1;color:hsl(var(--logo) / var(--tw-text-opacity))}.text-muted-foreground{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.text-plus-foreground{--tw-text-opacity: 1;color:hsl(var(--plus-foreground) / var(--tw-text-opacity))}.text-popover-foreground{--tw-text-opacity: 1;color:hsl(var(--popover-foreground) / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity))}.text-primary-foreground{--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-secondary-foreground{--tw-text-opacity: 1;color:hsl(var(--secondary-foreground) / var(--tw-text-opacity))}.text-secondary-foreground\/50{color:hsl(var(--secondary-foreground) / .5)}.text-secondary-foreground\/60{color:hsl(var(--secondary-foreground) / .6)}.text-success{--tw-text-opacity: 1;color:hsl(var(--success) / var(--tw-text-opacity))}.text-warning{--tw-text-opacity: 1;color:hsl(var(--warning) / var(--tw-text-opacity))}.text-warning-foreground{--tw-text-opacity: 1;color:hsl(var(--warning-foreground) / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.placeholder-muted::-moz-placeholder{--tw-placeholder-opacity: 1;color:hsl(var(--muted) / var(--tw-placeholder-opacity))}.placeholder-muted::placeholder{--tw-placeholder-opacity: 1;color:hsl(var(--muted) / var(--tw-placeholder-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-1{outline-width:1px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-border{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--border) / var(--tw-ring-opacity))}.ring-primary{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--primary) / var(--tw-ring-opacity))}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background) / 1)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-125{--tw-brightness: brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-\[75\%\]{--tw-brightness: brightness(75%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.contrast-\[250\%\]{--tw-contrast: contrast(250%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.saturate-\[115\%\]{--tw-saturate: saturate(115%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.fade-in-80{--tw-enter-opacity: .8}.zoom-in-95{--tw-enter-scale: .95}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.first-letter\:capitalize:first-letter{text-transform:capitalize}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.placeholder\:text-muted-foreground::placeholder{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.first\:mt-0:first-child{margin-top:0}.first\:rounded-l-md:first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.first\:border-l:first-child{border-left-width:1px}.last\:rounded-r-md:last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-accent-foreground:hover{--tw-border-opacity: 1;border-color:hsl(var(--accent-foreground) / var(--tw-border-opacity))}.hover\:bg-accent:hover{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity))}.hover\:bg-card:hover{--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity))}.hover\:bg-destructive:hover{--tw-bg-opacity: 1;background-color:hsl(var(--destructive) / var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{--tw-bg-opacity: 1;background-color:hsl(var(--secondary) / var(--tw-bg-opacity))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:text-accent-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--accent-foreground) / var(--tw-text-opacity))}.hover\:text-destructive-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--destructive-foreground) / var(--tw-text-opacity))}.hover\:text-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}.hover\:text-muted-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity))}.hover\:text-primary-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-85:hover{opacity:.85}.hover\:ring-1:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\:brightness-125:hover{--tw-brightness: brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\:drop-shadow-lg:hover{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\:relative:focus{position:relative}.focus\:z-10:focus{z-index:10}.focus\:bg-accent:focus{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity))}.focus\:text-accent-foreground:focus{--tw-text-opacity: 1;color:hsl(var(--accent-foreground) / var(--tw-text-opacity))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--ring) / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-destructive:focus-visible{outline-color:hsl(var(--destructive) / 1)}.focus-visible\:outline-primary:focus-visible{outline-color:hsl(var(--primary) / 1)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--ring) / var(--tw-ring-opacity))}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width: 1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background) / 1)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.toaster .group-\[\.toaster\]\:border-border{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity))}.group.toast .group-\[\.toast\]\:bg-muted{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity))}.group.toast .group-\[\.toast\]\:bg-primary{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity))}.group.toaster .group-\[\.toaster\]\:bg-background{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity))}.group.selected .group-\[\.selected\]\:font-semibold{font-weight:600}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.group.toast .group-\[\.toast\]\:text-muted-foreground{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.group.toast .group-\[\.toast\]\:text-primary-foreground{--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity))}.group.toaster .group-\[\.toaster\]\:text-foreground{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{--tw-bg-opacity: 1;background-color:hsl(var(--destructive) / var(--tw-bg-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--destructive-foreground) / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--destructive) / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.peer.selected~.peer-\[\.selected\]\:translate-y-2{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer.selected~.peer-\[\.selected\]\:scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer.selected~.peer-\[\.selected\]\:opacity-100{opacity:1}.peer.selected~.peer-\[\.selected\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[--radix-toast-swipe-end-x\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[--radix-toast-swipe-move-x\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[selected\=true\]\:scale-105[data-selected=true]{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes collapsible-up{0%{height:var(--radix-collapsible-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-collapsible-up[data-state=closed]{animation:collapsible-up .2s ease-in-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}@keyframes collapsible-down{0%{height:0}to{height:var(--radix-collapsible-content-height)}}.data-\[state\=open\]\:animate-collapsible-down[data-state=open]{animation:collapsible-down .2s ease-in-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[highlighted\]\:bg-accent[data-highlighted]{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-background[data-state=active]{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{--tw-bg-opacity: 1;background-color:hsl(var(--secondary) / var(--tw-bg-opacity))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{--tw-bg-opacity: 1;background-color:hsl(var(--input) / var(--tw-bg-opacity))}.data-\[state\=active\]\:text-foreground[data-state=active]{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{--tw-text-opacity: 1;color:hsl(var(--accent-foreground) / var(--tw-text-opacity))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[selected\=false\]\:opacity-80[data-selected=false]{opacity:.8}.data-\[selected\=true\]\:shadow-xl[data-selected=true]{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=active\]\:ring-2[data-state=active]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.data-\[state\=active\]\:ring-ring[data-state=active]{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--ring) / var(--tw-ring-opacity))}.data-\[state\=active\]\:ring-offset-2[data-state=active]{--tw-ring-offset-width: 2px}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media not all and (min-width: 768px){.max-md\:hidden{display:none}.max-md\:basis-full{flex-basis:100%}.max-md\:flex-wrap{flex-wrap:wrap}.max-md\:space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-\[425px\]{max-width:425px}.sm\:max-w-sm{max-width:24rem}.sm\:grow-0{flex-grow:0}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2{gap:.5rem}.sm\:gap-2\.5{gap:.625rem}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:row-span-2{grid-row:span 2 / span 2}.md\:mt-24{margin-top:6rem}.md\:grid{display:grid}.md\:w-1\/2{width:50%}.md\:w-\[--radix-navigation-menu-viewport-width\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-\[420px\]{max-width:420px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:py-12{padding-top:3rem;padding-bottom:3rem}.md\:pb-8{padding-bottom:2rem}}@media (min-width: 1024px){.lg\:mt-32{margin-top:8rem}.lg\:w-auto{width:auto}.lg\:min-w-20{min-width:5rem}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-4{gap:1rem}.lg\:py-24{padding-top:6rem;padding-bottom:6rem}.lg\:pb-20{padding-bottom:5rem}.lg\:text-5xl{font-size:3rem;line-height:1}}.dark\:border-destructive:where(.dark,.dark *){--tw-border-opacity: 1;border-color:hsl(var(--destructive) / var(--tw-border-opacity))}.dark\:bg-card:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity))}.dark\:bg-foreground:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:hsl(var(--foreground) / var(--tw-bg-opacity))}.dark\:contrast-\[150\%\]:where(.dark,.dark *){--tw-contrast: contrast(150%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:text-destructive>svg{--tw-text-opacity: 1;color:hsl(var(--destructive) / var(--tw-text-opacity))}.\[\&\>svg\]\:text-foreground>svg{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&\[data-orientation\=vertical\]\>div\]\:rotate-90[data-orientation=vertical]>div{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-orientation\=vertical\]\]\:h-px[data-orientation=vertical]{height:1px}.\[\&\[data-orientation\=vertical\]\]\:w-full[data-orientation=vertical]{width:100%}.\[\&\[data-orientation\=vertical\]\]\:after\:left-0[data-orientation=vertical]:after{content:var(--tw-content);left:0}.\[\&\[data-orientation\=vertical\]\]\:after\:h-1[data-orientation=vertical]:after{content:var(--tw-content);height:.25rem}.\[\&\[data-orientation\=vertical\]\]\:after\:w-full[data-orientation=vertical]:after{content:var(--tw-content);width:100%}.\[\&\[data-orientation\=vertical\]\]\:after\:-translate-y-1\/2[data-orientation=vertical]:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-orientation\=vertical\]\]\:after\:translate-x-0[data-orientation=vertical]:after{content:var(--tw-content);--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}[disabled][data-v-abbd0dc1],.disabled[data-v-abbd0dc1]{opacity:.5}ul[data-v-f993e580]{margin-top:0;line-height:2}[data-v-f993e580] li{margin-left:1rem;list-style-position:inside;list-style-type:disc}[data-v-f993e580] li ul{margin-bottom:0}code[data-v-88a1e09a]{border-radius:calc(var(--radius) - 4px);--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity));padding:.125rem}Button[data-v-2e0237ea]{--tw-bg-opacity: 1;background-color:hsl(var(--secondary) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--secondary-foreground) / var(--tw-text-opacity))}Button[data-v-2e0237ea]:hover{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity))}Button.variant-destructive[data-v-2e0237ea]:hover{--tw-bg-opacity: 1;background-color:hsl(var(--destructive) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--destructive-foreground) / var(--tw-text-opacity))}Button.variant-active[data-v-2e0237ea]{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity))}Button.variant-active[data-v-2e0237ea]:hover{--tw-bg-opacity: 1;background-color:hsl(var(--secondary) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--secondary-foreground) / var(--tw-text-opacity))}Button.variant-outline[data-v-2e0237ea]{background-color:transparent;--tw-text-opacity: 1;color:hsl(var(--secondary-foreground) / var(--tw-text-opacity));outline-width:1px;outline-color:hsl(var(--foreground) / 1)}Button.variant-outline[data-v-2e0237ea]:hover{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity))}Button.variant-ghost[data-v-2e0237ea]{background-color:transparent;--tw-text-opacity: 1;color:hsl(var(--secondary-foreground) / var(--tw-text-opacity))}Button.variant-ghost[data-v-2e0237ea]:hover{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity))}[data-v-2e0237ea] svg{max-height:100%;padding:.25rem}.has-text[data-v-2e0237ea] svg{margin-right:.375rem;padding-left:0}.no-text[data-v-2e0237ea]{place-content:center;align-items:center;padding:.25rem .125rem}.size-xs.has-text[data-v-2e0237ea] svg{margin-right:.125rem;width:1.25rem;height:1.25rem}Button.no-padding[data-v-2e0237ea]{margin:0;padding:0}.list-enter-active[data-v-c0470c1b],.list-leave-active[data-v-c0470c1b]{transition:all .3s ease}.list-enter-from[data-v-c0470c1b],.list-leave-to[data-v-c0470c1b]{opacity:0;transform:translate(-30px)}[disabled][data-v-08b78220],.disabled[data-v-08b78220]{opacity:.25}[data-v-7c2a5d80] .tag{border-radius:var(--radius);--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity));padding:.125rem .25rem}.locked[data-v-b5fbc69f]{@property --lock-gradient-a{syntax: ""; inherits: false; initial-value: transparent;}@property --lock-gradient-b{syntax: ""; inherits: false; initial-value: transparent;}@property --lock-fill{syntax: ""; inherits: false; initial-value: transparent;}@property --lock-angle{syntax: ""; inherits: false; initial-value: 0deg;}--lock-fill: hsl(var(--card));--gradient-a: hsl(var(--plus-gradient-start));--gradient-b: hsl(var(--plus-gradient-stop));--lock-easing: ease-in-out;--lock-dur: .25s;--lock-angle: 45deg;position:relative;cursor:pointer}.locked[data-v-b5fbc69f],.locked .content[data-v-b5fbc69f],.locked .overlay[data-v-b5fbc69f],.locked[data-v-b5fbc69f]:before{transition:all var(--lock-dur) var(--lock-easing)}.locked .content[data-v-b5fbc69f]{width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.locked:not(.shallow) .content[data-v-b5fbc69f]>*>*{opacity:.25}.locked.shallow .content[data-v-b5fbc69f]>*{opacity:.25}.locked .overlay[data-v-b5fbc69f]{position:absolute;top:0;left:0;display:flex;width:100%;height:100%;align-items:center;justify-content:center;border-radius:calc(var(--radius) + 4px);background-color:hsl(var(--card) / .5);opacity:0;transition:all var(--lock-dur) var(--lock-easing)}.locked[data-v-b5fbc69f]:before{position:absolute;display:block;border-radius:calc(var(--radius) + 4px);border-width:4px;border-color:transparent;opacity:0;content:"";left:-4px;top:-4px;right:-4px;bottom:-4px;z-index:0;transition:all var(--lock-dur) var(--lock-easing),--lock-fill var(--lock-dur) var(--lock-easing),--gradient-a var(--lock-dur) var(--lock-easing),--gradient-b var(--lock-dur) var(--lock-easing),--lock-angle var(--lock-dur) var(--lock-easing);background:linear-gradient(var(--lock-angle),var(--lock-fill),var(--lock-fill)) padding-box,linear-gradient(var(--lock-angle),var(--gradient-a),var(--gradient-b)) border-box}.locked:hover .overlay[data-v-b5fbc69f]{opacity:1}.locked:hover .content[data-v-b5fbc69f]{--tw-blur: blur(4px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.locked[data-v-b5fbc69f]:hover:before{opacity:1}.spinner[data-v-04b76cf7]{animation:spin-04b76cf7 2s linear infinite}@keyframes spin-04b76cf7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.v-enter-active[data-v-0ad062e3],.v-leave-active[data-v-0ad062e3]{transition:all .2s ease}.v-enter-from[data-v-0ad062e3],.v-leave-to[data-v-0ad062e3]{opacity:0}.outer[data-v-cf8fef8b]{position:relative;display:block;cursor:pointer;--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);--x: 50%;--y: 50%;--direction: 45deg;--border-pos: 0;--radius: 10px;--color-a: hsl(var(--plus-gradient-start));--color-b: hsl(var(--plus-gradient-stop));z-index:0;transition:all ease-in .2s;border-radius:var(--radius);-webkit-user-select:none;-moz-user-select:none;user-select:none}.outer[data-v-cf8fef8b]:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / .03)) drop-shadow(0 8px 5px rgb(0 0 0 / .08));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);transition:all ease-out .2s}.outer:hover .inner-bg[data-v-cf8fef8b]{background-color:hsl(var(--card) / .35)}.outer .inner[data-v-cf8fef8b]{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:calc(var(--radius))}.outer .inner-bg[data-v-cf8fef8b]{position:relative;display:block;width:100%;height:100%;background-color:hsl(var(--card) / 0);transition:background-color ease .4s}.outer[data-v-cf8fef8b]:before{position:absolute;display:block;overflow:hidden;transition-property:all;transition-timing-function:cubic-bezier(.555,0,.76,1.01);transition-duration:.15s;content:"";top:var(--border-pos);left:var(--border-pos);right:var(--border-pos);bottom:var(--border-pos);border-radius:calc(var(--radius));background:repeating-linear-gradient(var(--direction),var(--color-b),var(--color-a),var(--color-b));background-size:300% 300%;background-position:0% 0%;z-index:-1}.outer.selected[data-v-cf8fef8b]:before,.outer[data-v-cf8fef8b]:hover:before{--border-pos: -5px;border-radius:calc(1.5 * var(--radius));background-position:-50% 50%}.outer.selected .inner[data-v-cf8fef8b],.outer:hover .inner[data-v-cf8fef8b]{--tw-brightness: brightness(75%);--tw-contrast: contrast(250%);--tw-saturate: saturate(115%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.outer.selected .inner[data-v-cf8fef8b]:where(.dark,.dark *),.outer:hover .inner[data-v-cf8fef8b]:where(.dark,.dark *){--tw-brightness: brightness(.95);--tw-contrast: contrast(150%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.outer.selected .inner-bg[data-v-cf8fef8b],.outer.muted .inner-bg[data-v-cf8fef8b]{background-color:hsl(var(--card) / .4)}.outer[data-v-cf8fef8b]:hover:before{transition-timing-function:cubic-bezier(0,.765,.19,1);transition-duration:.25s;animation:gradient-cf8fef8b 2s ease-in-out infinite}@keyframes gradient-cf8fef8b{0%{background-position:-50% 50%}50%{background-position:100% 100%}to{background-position:-50% 50%}}.v-enter-active[data-v-5e9204d5],.v-leave-active[data-v-5e9204d5]{transition:opacity .5s ease}.v-enter-from[data-v-5e9204d5],.v-leave-to[data-v-5e9204d5]{opacity:0}.v-enter-active[data-v-2d21b508],.v-leave-active[data-v-2d21b508]{transition:opacity .5s ease}.v-enter-from[data-v-2d21b508],.v-leave-to[data-v-2d21b508]{opacity:0}.blinking-warning[data-v-2d21b508]{border-radius:calc(var(--radius) - 2px);padding:.25rem;--tw-text-opacity: 1;color:hsl(var(--warning) / var(--tw-text-opacity));animation:blinking-warning-2d21b508 1s ease-out infinite alternate}@keyframes blinking-warning-2d21b508{0%{background-color:hsl(var(--warning) / .35)}to{background-color:hsl(var(--warning) / .1)}}.expand-enter-active[data-v-39d8b29b],.expand-leave-active[data-v-39d8b29b]{transition-property:opacity,height;transition-duration:.4s;transition-timing-function:ease-in-out;overflow-y:hidden}.expand-enter[data-v-39d8b29b],.expand-leave-to[data-v-39d8b29b]{height:0;opacity:0}[data-v-39d8b29b]{will-change:height;transform:translateZ(0);backface-visibility:hidden;perspective:1000px}[data-v-6626d182]:not(.bg-plus-gradient){transition:all .25s ease-out}.status[data-v-bee7c488]{display:inline-block;border-radius:calc(var(--radius) - 2px)}.warning[data-v-bee7c488]{--tw-text-opacity: 1;color:hsl(var(--warning) / var(--tw-text-opacity))}.success[data-v-bee7c488]{--tw-text-opacity: 1;color:hsl(var(--success) / var(--tw-text-opacity))}.checkout-description[data-v-23e44516] li{display:list-item;list-style-position:inside;list-style-type:disc;text-wrap:balance}.checkout-description[data-v-23e44516] ul{padding-bottom:1rem}.v-enter-active[data-v-13a0d6cb],.v-leave-active[data-v-13a0d6cb]{transition:all .5s ease}.v-enter-from[data-v-13a0d6cb]{opacity:0;transform:translate(-10px)}.v-leave-to[data-v-13a0d6cb]{opacity:0;transform:translate(10px)}em[data-v-c93e9142]{font-weight:600}strong[data-v-c93e9142]{font-weight:500;--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity))}:root:has(.is-migrating) .fixed[data-state=open]:not([role=dialog],[data-dismissable-layer]){-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:1;background-color:#00000040}[data-v-3b7c1778] .icon{width:1.25rem;height:1.25rem;flex-shrink:0;align-self:center;padding:.25rem}[data-v-3b7c1778] .icon.hover{cursor:pointer;border-radius:calc(var(--radius) - 4px);border-width:1px;border-color:transparent}[data-v-3b7c1778] .icon.hover:hover{--tw-border-opacity: 1;border-color:hsl(var(--secondary-foreground) / var(--tw-border-opacity))}aside[data-v-ff724ff4]{display:flex;align-items:center}aside[data-v-ff724ff4]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}aside[data-v-ff724ff4]{font-style:italic;--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity))} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/options-CbWKPqh7.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/options-CbWKPqh7.js new file mode 100644 index 0000000..9d4b01a --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/options-CbWKPqh7.js @@ -0,0 +1,7 @@ +var za=Object.defineProperty;var Ds=e=>{throw TypeError(e)};var Fa=(e,t,s)=>t in e?za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var ve=(e,t,s)=>Fa(e,typeof t!="symbol"?t+"":t,s),Rs=(e,t,s)=>t.has(e)||Ds("Cannot "+s);var X=(e,t,s)=>(Rs(e,t,"read from private field"),s?s.call(e):t.get(e)),$e=(e,t,s)=>t.has(e)?Ds("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),Oe=(e,t,s,n)=>(Rs(e,t,"write to private field"),n?n.call(e,s):t.set(e,s),s);import"./modulepreload-polyfill-B5Qt9EMX.js";import{a9 as js,aa as gs,d as V,o as m,b as w,i as J,n as A,t as i,x as f,j as a,h as o,f as r,g as U,q as E,R as Na,ab as pe,ac as z,r as I,c as D,l as re,a as ne,y as j,F as ye,ad as Ve,ae as De,P as Z,Q as te,z as wt,af as ea,N as ge,e as Be,$ as Cs,ag as Wa,ah as Ha,_ as Ge,ai as ts,m as Ss,A as Ya,p as Ka,aj as ta,ak as sa,al as Ja,am as qs,k as Xa,X as Qa,an as Ga,ao as Za}from"./vendor/vue-D7guW3iV.js";import{g as aa,A as Ie,C as hs,O as ae,S as Le,n as en,s as xt,a as tn,b as na,c as ms,d as zs,e as Ae,D as _s,t as sn,f as an,h as Is,r as la,i as oa,j as Ft,k as Et,l as nn,m as ia,L as ln,o as Fs,p as on,q as Ms,M as ra,u as ua,v as rn,w as un,x as je,P as Ns,y as cn,z as Ws,B as dn}from"./Scheduler-ITpj7yeF.js";import{_ as ie,R as ca,a as fn,b as pn,c as mn,d as vn,e as gn,f as ss,g as pt,h as at,i as da,j as fa,k as pa,l as hn,m as _n,n as yn,o as bn,p as wn,q as Te,r as xn,s as $n,t as kn,u as Cn,v as Q,w as Ps,x as as,y as ns,z as ls,A as os,B as ma,C as is,X as va,D as ga,E as rs,F as ha,G as _a,H as fe,I as Ot,J as Ut,K as At,L as Es,M as Rt,N as jt,O as qt,P as Sn,Q as In,S as Mn,T as Pn,U as ya,V as En,W as On,Y as Un,Z as An,$ as Tn,a0 as Bn,a1 as Ln,a2 as us,a3 as ot,a4 as Nt,a5 as $t,a6 as kt,a7 as Ct,a8 as Vn,a9 as Dn,aa as Rn,ab as jn,ac as gt,ad as be,ae as zt,af as Wt,ag as ys,ah as qn,ai as zn,aj as ba,ak as wa,al as xa,am as Fn,an as Hs,ao as $a,ap as Nn,aq as Wn,ar as Hn,as as Yn,at as Kn,au as Jn,av as Xn,aw as Qn,ax as Gn,ay as Zn,az as el,aA as tl,aB as sl,aC as al,aD as nl,aE as ll,aF as ol,aG as il,aH as rl,aI as ul}from"./vendor/ui-wAfM84aV.js";import{l as Y,c as bt}from"./Logger-kUgoCvAm.js";import{E as le,C as cs,a as Ys}from"./index.esm-DBQD-6dI.js";import{R as cl}from"./RuntimeBridge-DW3w8fNi.js";import{B as dl}from"./MessageBridge-C2lz_3Ul.js";import"./SandboxBridge-D2h3sBK3.js";import"./vendor/aws-C9aIMT75.js";const ka=new Set,_e=new WeakMap,it=new WeakMap,Xe=new WeakMap,bs=new WeakMap,fl=new WeakMap,rt=new WeakMap,Ht=new WeakMap,ht=new WeakSet;let ze,Os=0,Us=0;const Re="__aa_tgt",St="__aa_del",Yt="__aa_new",pl=e=>{const t=yl(e);t&&t.forEach(s=>bl(s))},ml=e=>{e.forEach(t=>{t.target===ze&&gl(),_e.has(t.target)&&Ze(t.target)})};function vl(e){const t=bs.get(e);t==null||t.disconnect();let s=_e.get(e),n=0;const l=5;s||(s=ut(e),_e.set(e,s));const{offsetWidth:c,offsetHeight:u}=ze,p=[s.top-l,c-(s.left+l+s.width),u-(s.top+l+s.height),s.left-l].map(g=>`${-1*Math.floor(g)}px`).join(" "),v=new IntersectionObserver(()=>{++n>1&&Ze(e)},{root:ze,threshold:1,rootMargin:p});v.observe(e),bs.set(e,v)}function Ze(e){clearTimeout(Ht.get(e));const t=ds(e),s=It(t)?500:t.duration;Ht.set(e,setTimeout(async()=>{const n=Xe.get(e);try{await(n==null?void 0:n.finished),_e.set(e,ut(e)),vl(e)}catch{}},s))}function gl(){clearTimeout(Ht.get(ze)),Ht.set(ze,setTimeout(()=>{ka.forEach(e=>Ma(e,t=>Ca(()=>Ze(t))))},100))}function hl(e){setTimeout(()=>{fl.set(e,setInterval(()=>Ca(Ze.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function Ca(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let ws,st;const _l=typeof window<"u"&&"ResizeObserver"in window;_l&&(ze=document.documentElement,ws=new MutationObserver(pl),st=new ResizeObserver(ml),window.addEventListener("scroll",()=>{Us=window.scrollY,Os=window.scrollX}),st.observe(ze));function yl(e){return e.reduce((n,l)=>[...n,...Array.from(l.addedNodes),...Array.from(l.removedNodes)],[]).every(n=>n.nodeName==="#comment")?!1:e.reduce((n,l)=>{if(n===!1)return!1;if(l.target instanceof Element){if(vs(l.target),!n.has(l.target)){n.add(l.target);for(let c=0;cs(e,rt.has(e)));for(let s=0;sl(n,rt.has(n)))}}function Ts(e){return Array.isArray(e)?e:[e]}function It(e){return typeof e=="function"}function xl(e){const t=_e.get(e),s=ut(e);if(!As(e))return _e.set(e,s);let n;if(!t)return;const l=ds(e);if(typeof l!="function"){const c=t.left-s.left,u=t.top-s.top,[d,p,v,g]=Sa(e,t,s),h={transform:`translate(${c}px, ${u}px)`},$={transform:"translate(0, 0)"};d!==p&&(h.width=`${d}px`,$.width=`${p}px`),v!==g&&(h.height=`${v}px`,$.height=`${g}px`),n=e.animate([h,$],{duration:l.duration,easing:l.easing})}else{const[c]=Ts(l(e,"remain",t,s));n=new Animation(c),n.play()}Xe.set(e,n),_e.set(e,s),n.addEventListener("finish",Ze.bind(null,e))}function Ks(e){Yt in e&&delete e[Yt];const t=ut(e);_e.set(e,t);const s=ds(e);if(!As(e))return;let n;if(typeof s!="function")n=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:s.duration*1.5,easing:"ease-in"});else{const[l]=Ts(s(e,"add",t));n=new Animation(l),n.play()}Xe.set(e,n),n.addEventListener("finish",Ze.bind(null,e))}function Js(e,t){var s;e.remove(),_e.delete(e),it.delete(e),Xe.delete(e),(s=bs.get(e))===null||s===void 0||s.disconnect(),setTimeout(()=>{if(St in e&&delete e[St],Object.defineProperty(e,Yt,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(const n in t)e.style[n]=""},0)}function $l(e){var t;if(!it.has(e)||!_e.has(e))return;const[s,n]=it.get(e);Object.defineProperty(e,St,{value:!0,configurable:!0});const l=window.scrollX,c=window.scrollY;if(n&&n.parentNode&&n.parentNode instanceof Element?n.parentNode.insertBefore(e,n):s&&s.parentNode?s.parentNode.appendChild(e):(t=Ia(e))===null||t===void 0||t.appendChild(e),!As(e))return Js(e);const[u,d,p,v]=Cl(e),g=ds(e),h=_e.get(e);(l!==Os||c!==Us)&&kl(e,l,c,g);let $,x={position:"absolute",top:`${u}px`,left:`${d}px`,width:`${p}px`,height:`${v}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!It(g))Object.assign(e.style,x),$=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:g.duration,easing:"ease-out"});else{const[y,_]=Ts(g(e,"remove",h));(_==null?void 0:_.styleReset)!==!1&&(x=(_==null?void 0:_.styleReset)||x,Object.assign(e.style,x)),$=new Animation(y),$.play()}Xe.set(e,$),$.addEventListener("finish",Js.bind(null,e,x))}function kl(e,t,s,n){const l=Os-t,c=Us-s,u=document.documentElement.style.scrollBehavior;if(getComputedStyle(ze).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+l,window.scrollY+c),!e.parentElement)return;const p=e.parentElement;let v=p.clientHeight,g=p.clientWidth;const h=performance.now();function $(){requestAnimationFrame(()=>{if(!It(n)){const x=v-p.clientHeight,y=g-p.clientWidth;h+n.duration>performance.now()?(window.scrollTo({left:window.scrollX-y,top:window.scrollY-x}),v=p.clientHeight,g=p.clientWidth,$()):document.documentElement.style.scrollBehavior=u}})}$()}function Cl(e){const t=_e.get(e),[s,,n]=Sa(e,t,ut(e));let l=e.parentElement;for(;l&&(getComputedStyle(l).position==="static"||l instanceof HTMLBodyElement);)l=l.parentElement;l||(l=document.body);const c=getComputedStyle(l),u=_e.get(l)||ut(l),d=Math.round(t.top-u.top)-Ue(c.borderTopWidth),p=Math.round(t.left-u.left)-Ue(c.borderLeftWidth);return[d,p,s,n]}function Sl(e,t={}){return ws&&st&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!It(t)&&!t.disrespectUserMotionPreference||(ht.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),Ma(e,Ze,hl,l=>st==null?void 0:st.observe(l)),It(t)?rt.set(e,t):rt.set(e,{duration:250,easing:"ease-in-out",...t}),ws.observe(e,{childList:!0}),ka.add(e))),Object.freeze({parent:e,enable:()=>{ht.add(e)},disable:()=>{ht.delete(e)},isEnabled:()=>ht.has(e)})}const Il={mounted:(e,t)=>{Sl(e,t.value||{})},getSSRProps:()=>({})},Ml=Il,Pl={install(e){e.directive("auto-animate",Ml)}};var El=function e(t,s){if(t===s)return!0;if(t&&s&&typeof t=="object"&&typeof s=="object"){if(t.constructor!==s.constructor)return!1;var n,l,c;if(Array.isArray(t)){if(n=t.length,n!=s.length)return!1;for(l=n;l--!==0;)if(!e(t[l],s[l]))return!1;return!0}if(t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(l of t.entries())if(!s.has(l[0]))return!1;for(l of t.entries())if(!e(l[1],s.get(l[0])))return!1;return!0}if(t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(l of t.entries())if(!s.has(l[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(s)){if(n=t.length,n!=s.length)return!1;for(l=n;l--!==0;)if(t[l]!==s[l])return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if(c=Object.keys(t),n=c.length,n!==Object.keys(s).length)return!1;for(l=n;l--!==0;)if(!Object.prototype.hasOwnProperty.call(s,c[l]))return!1;for(l=n;l--!==0;){var u=c[l];if(!e(t[u],s[u]))return!1}return!0}return t!==t&&s!==s};const Pa=aa(El);var Ol=e=>new Promise(t=>setTimeout(t,e));const Ul=aa(Ol);async function Al(e,t,{delayRejection:s=!0}={}){const n=Ul(t);return await(s?n:Promise.all([e,n])),e}class Kt extends Event{}ve(Kt,"PresetsUpdated","presets-updated");var se,Xt,Mt;const ce=class ce extends EventTarget{constructor(){super();$e(this,se,[]);$e(this,Xt,100);$e(this,Mt,async s=>{s.presets&&(Oe(this,se,[...s.presets.newValue??[]]),this.dispatchEvent(new Kt(Kt.PresetsUpdated)))});this.load(),chrome.storage.local.onChanged.addListener(X(this,Mt)),chrome.storage.sync.onChanged.addListener(X(this,Mt))}static getInstance(){return ce.instance||(ce.instance=new ce),ce.instance}get presets(){return X(this,se)}async load(s=!0){let n=await chrome.storage.local.get(ce.StorageKey),l=(n==null?void 0:n[ce.StorageKey])??[],c=[];if(s){const d=await chrome.storage.sync.get(ce.StorageKey);c=(d==null?void 0:d[ce.StorageKey])??[]}const u=new Map;[...l,...c].sort((d,p)=>{var v,g;return((v=d[1])==null?void 0:v.updatedAt)-((g=p[1])==null?void 0:g.updatedAt)}).forEach(d=>u.set(d.meta.id,d)),Oe(this,se,[...u.values()]),X(this,se).length>0&&Y.info(`Loaded ${X(this,se).length} presets`)}async save(s,n=!0){Oe(this,se,s),await chrome.storage.local.set({[ce.StorageKey]:X(this,se)}),n&&await chrome.storage.sync.set({[ce.StorageKey]:X(this,se)}),Y.info(`Saved ${X(this,se).length} presets`)}async add(s){js(s)&&(s=gs(s)),X(this,se).push(s),await this.save(X(this,se))}async remove(s){const n=new Set(Array.isArray(s)?s.map(l=>l.meta.id):[s.meta.id]);Oe(this,se,X(this,se).filter(l=>!n.has(l.meta.id))),await this.save(X(this,se))}async update(s){js(s)&&(s=gs(s)),Oe(this,se,X(this,se).map(n=>n.meta.id===s.meta.id?s:n)),await this.save(X(this,se))}async clear(s=!0){await chrome.storage.local.remove(ce.StorageKey),s&&await chrome.storage.sync.remove(ce.StorageKey),Oe(this,se,[]),Y.info("Cleared presets")}async has(s){return X(this,se).some(n=>{var l;return((l=n==null?void 0:n.meta)==null?void 0:l.id)===s})}async get(s){return X(this,se).find(n=>{var l;return((l=n==null?void 0:n.meta)==null?void 0:l.id)===s})}hasName(s,n){return X(this,se).some(l=>l.meta.name===s&&l.meta.id!==n)}getUniqueName(s="New preset"){const n=parseInt(s.replace(/\D/g,""))||1,l=s.replace(/\s*\(\d+\)$/,"");let c=s,u=n;for(;this.hasName(c);)if(c=`${l} (${u++})`,u>X(this,Xt))throw new Error("Could not generate unique name");return c}};se=new WeakMap,Xt=new WeakMap,Mt=new WeakMap,ve(ce,"instance"),ve(ce,"DefaultPresetName","Default"),ve(ce,"DefaultPresetId","default"),ve(ce,"StorageKey","presets");let ct=ce;class dt{}ve(dt,"read",async t=>{if(!t)throw new Error("No file provided to import");return new Promise((s,n)=>{const l=new FileReader;l.onload=()=>s(l),l.onerror=c=>n(c),l.readAsDataURL(t)}).then(async s=>{const n=s.result;return await fetch(n)}).catch(s=>{throw new Error(`Could not read file. ${s}`)})}),ve(dt,"download",async(t,s)=>{s=s||`clearcache.download.${Date.now()}.json`,t=typeof t=="string"?t:JSON.stringify(t,void 0,2);const n=new Blob([t],{type:"application/json"}),l=URL.createObjectURL(n),c=document.createElement("a");c.setAttribute("href",l),c.setAttribute("download",s),c.style.display="none",c.click(),URL.revokeObjectURL(l)});var Qt,Gt,Zt,es,Pt;const Ce=class Ce extends EventTarget{constructor(){super();ve(this,"reset",async(s=!0,n=X(Ce,Qt))=>{const l=await chrome.storage.local.get().then(p=>Object.keys(p)),c=await chrome.storage.sync.get().then(p=>Object.keys(p)),d=[...new Set([...l,...c]).values()].filter(p=>!n.includes(p));Y.info("Removing keys:",d),await chrome.storage.local.remove(d),s&&await chrome.storage.sync.remove(d),Y.info("Storage was reset")});ve(this,"import",async s=>{try{const n=await dt.read(s),l=X(this,Pt).call(this,await n.json());await X(this,es).call(this,l),Y.info(`Settings imported from ${s==null?void 0:s.name}`)}catch(n){throw new Error(`Could not import settings. ${n}`)}});ve(this,"export",async()=>{try{const s=await this.getData(),n=JSON.stringify(s,void 0,2),l=`clearcache.config.${Date.now()}.json`;return dt.download(n,l)}catch(s){throw new Error(`Could not export settings. ${s}`)}});ve(this,"getData",async()=>{const s=await X(this,Zt).call(this);return X(this,Pt).call(this,s)});$e(this,Zt,async()=>{var l;const s=await chrome.storage.local.get();if(s&&!((l=s==null?void 0:s.extension)!=null&&l.sync))return s;const n=await chrome.storage.sync.get();return{...s??{},...n??{}}});$e(this,es,async s=>{var l,c;const n=((c=(l=s[hs.StorageKey])==null?void 0:l.extension)==null?void 0:c.sync)??!1;await chrome.storage.local.set(s),n&&await chrome.storage.sync.set(s)});$e(this,Pt,s=>{const n={};return X(Ce,Gt).forEach(l=>{l in s&&(n[l]={...s[l]})}),n})}static getInstance(){return Ce.instance||(Ce.instance=new Ce),Ce.instance}};Qt=new WeakMap,Gt=new WeakMap,Zt=new WeakMap,es=new WeakMap,Pt=new WeakMap,ve(Ce,"instance"),$e(Ce,Qt,[ct.StorageKey,Ie.StorageKey]),$e(Ce,Gt,[ct.StorageKey,hs.StorageKey]);let Jt=Ce;const Tl=["href","target"],T=V({__name:"Link",props:{href:String,target:{type:String,default:"_blank"},useBrowserApi:{type:Boolean,default:!1},highContrast:{type:Boolean,default:!1}},setup(e){const{href:t,target:s,useBrowserApi:n}=e,l=c=>{s==="_blank"&&n&&(c.preventDefault(),chrome.tabs.create({url:t}))};return(c,u)=>(m(),w("a",{href:e.href,onClick:l,target:e.target,class:A(["font-medium text-primary hover:underline underline-offset-2 cursor-pointer",{"brightness-125":e.highContrast}])},[J(c.$slots,"default")],10,Tl))}}),Bl={class:"max-md:flex-wrap max-md:space-y-2 flex space-x-4 items-center justify-center text-sm text-primary-foreground"},Ll={class:"max-md:basis-full text-center"},Vl={class:"flex space-x-4 text-center"},Dl=V({__name:"Footer",props:{isExtension:{type:Boolean,default:!0}},setup(e){const{isExtension:t}=e,s=t?"https://clearcache.io":"",n=s+"/support",l=s+"/privacy",c=s+"/terms",u=s+"/refunds",d=t?"_blank":"_self";return(p,v)=>(m(),w("footer",Bl,[J(p.$slots,"before"),i("span",Ll,[f("© 2024 "),a(T,{"high-contrast":!0,href:r(le).links.author,target:"_blank"},{default:o(()=>[f("Little Void LLC")]),_:1},8,["href"]),f(" all rights reserved. ")]),a(r(ie),{orientation:"vertical",class:"h-3 border-muted max-md:hidden"}),i("span",Vl,[a(T,{"high-contrast":!0,href:n,target:r(d)},{default:o(()=>[f("Support")]),_:1},8,["target"]),a(r(ie),{orientation:"vertical",class:"h-3 border-muted max-md:hidden"}),a(T,{"high-contrast":!0,href:u,target:r(d)},{default:o(()=>[f("Refunds")]),_:1},8,["target"]),a(r(ie),{orientation:"vertical",class:"h-3 border-muted max-md:hidden"}),a(T,{"high-contrast":!0,href:l,target:r(d)},{default:o(()=>[f("Privacy")]),_:1},8,["target"]),a(r(ie),{orientation:"vertical",class:"h-3 border-muted max-md:hidden"}),a(T,{"high-contrast":!0,href:c,target:r(d)},{default:o(()=>[f("Terms")]),_:1},8,["target"]),e.isExtension?(m(),U(r(ie),{key:0,orientation:"vertical",class:"h-3 border-muted max-md:hidden"})):E("",!0),e.isExtension?(m(),U(T,{key:1,"high-contrast":!0,href:r(s),target:"_blank"},{default:o(()=>[f("clearcache.io")]),_:1},8,["href"])):E("",!0)]),J(p.$slots,"after")]))}}),Rl={key:0,class:"scroll-m-20 text-5xl font-medium tracking-tight lg:text-5xl"},jl={key:1,class:"scroll-m-20 pb-2 text-3xl font-medium tracking-tight transition-colors first:mt-0"},ql={key:2,class:"scroll-m-20 text-2xl font-medium tracking-tight"},zl={key:3,class:"scroll-m-20 text-xl font-medium tracking-tight"},Fl={key:4,class:"scroll-m-20 text-lg font-medium tracking-tight"},Nl={key:5,class:"scroll-m-20 text-md font-medium tracking-tight"},we=V({__name:"Heading",props:{level:{default:1}},setup(e){return(t,s)=>t.level===1?(m(),w("h1",Rl,[J(t.$slots,"default")])):t.level===2?(m(),w("h2",jl,[J(t.$slots,"default")])):t.level===3?(m(),w("h3",ql,[J(t.$slots,"default")])):t.level===4?(m(),w("h4",zl,[J(t.$slots,"default")])):t.level===5?(m(),w("h5",Fl,[J(t.$slots,"default")])):(m(),w("h6",Nl,[J(t.$slots,"default")]))}}),Wl=V({__name:"Logo",setup(e){return(t,s)=>(m(),U(r(ca),{class:"drop-shadow-md"}))}}),Hl={class:"flex flex-col items-center gap-2 py-8 md:py-12 md:pb-8 lg:py-24 lg:pb-20 pb-8 text-logo"},Yl=V({__name:"Header",setup(e){return(t,s)=>(m(),w("header",Hl,[a(Wl,{class:"w-1/2 max-w-48 size-full"}),a(we,{level:1,class:"drop-shadow-md"},{default:o(()=>[f("Clear Cache")]),_:1})]))}}),et=V({__name:"Section",setup(e){const t=Na(),s=()=>t.title||t.description;return(n,l)=>(m(),U(r(ss),{class:"break-inside-avoid drop-shadow-md"},{default:o(()=>[s()?(m(),U(r(fn),{key:0},{default:o(()=>[n.$slots.title?(m(),U(r(pn),{key:0,class:"text-2xl font-medium"},{default:o(()=>[J(n.$slots,"title")]),_:3})):E("",!0),n.$slots.description?(m(),U(r(mn),{key:1},{default:o(()=>[J(n.$slots,"description")]),_:3})):E("",!0)]),_:3})):E("",!0),n.$slots.default?(m(),U(r(vn),{key:1,class:A({"pt-6":!s()})},{default:o(()=>[J(n.$slots,"default")]),_:3},8,["class"])):E("",!0),n.$slots.footer?(m(),U(r(gn),{key:2},{default:o(()=>[J(n.$slots,"footer")]),_:3})):E("",!0)]),_:3}))}}),Kl=V({__name:"HoverLabel",props:pe({forProp:{}},{disabled:{type:Boolean,default:!1},disabledModifiers:{}}),emits:["update:disabled"],setup(e){const t=z(e,"disabled");return(s,n)=>(m(),U(r(pt),{for:s.forProp,class:A(["gap-x-4 p-2 rounded-md transition-colors cursor-pointer hover:bg-muted",{disabled:t.value}])},{default:o(()=>[J(s.$slots,"default",{},void 0,!0)]),_:3},8,["for","class"]))}}),oe=(e,t)=>{const s=e.__vccOpts||e;for(const[n,l]of t)s[n]=l;return s},de=oe(Kl,[["__scopeId","data-v-abbd0dc1"]]),Jl={},Xl={class:"font-light text-sm text-muted-foreground font"};function Ql(e,t){return m(),w("p",Xl,[J(e.$slots,"default")])}const Se=oe(Jl,[["render",Ql]]),Gl={class:"space-y-1"},Zl=i("span",null,"Active Tab Only",-1),eo=V({__name:"ActiveTabOnly",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=I(ae.All);const s=z(e,"modelValue"),n=D({get:()=>s.value===ae.ActiveTab,set:l=>s.value=l?ae.ActiveTab:t.value});return re(()=>{t.value=s.value??ae.All}),ne(s,l=>{l!==ae.ActiveTab&&(t.value=l)}),(l,c)=>(m(),U(de,{class:"flex grow justify-between items-center"},{default:o(()=>[i("div",Gl,[Zl,a(Se,null,{default:o(()=>[f("Only clear data for the current tab")]),_:1})]),a(r(at),{checked:n.value,"onUpdate:checked":c[0]||(c[0]=u=>n.value=u)},null,8,["checked"])]),_:1}))}}),to={class:"space-y-1"},so=i("span",null,"Auto Reload",-1),ao=V({__name:"AutoReload",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=z(e,"modelValue");return(s,n)=>(m(),U(de,{class:"flex grow justify-between items-center"},{default:o(()=>[i("div",to,[so,a(Se,null,{default:o(()=>[f("Reload active tab after clearing data")]),_:1})]),a(r(at),{checked:t.value,"onUpdate:checked":n[0]||(n[0]=l=>t.value=l)},null,8,["checked"])]),_:1}))}}),no={};function lo(e,t){return m(),w("ul",null,[J(e.$slots,"default",{},void 0,!0)])}const tt=oe(no,[["render",lo],["__scopeId","data-v-f993e580"]]),oo={class:"text-muted-foreground"},ke=V({__name:"ChangelogVersion",props:{version:String,date:String},setup(e){return(t,s)=>(m(),w(ye,null,[a(we,{level:6,class:"flex flex-row justify-between"},{default:o(()=>[i("code",null,j(e.version),1),i("span",oo,j(e.date),1)]),_:1}),a(tt,{class:"pb-8"},{default:o(()=>[J(t.$slots,"default")]),_:3})],64))}}),H=e=>(Ve("data-v-88a1e09a"),e=e(),De(),e),io=H(()=>i("li",null,"Fixed random clear delay",-1)),ro=H(()=>i("li",null,"Added diagnostics button for troubleshooting",-1)),uo=H(()=>i("li",null,"Fixed reloading wrong tab when quickly switching tabs after clearing cache",-1)),co=H(()=>i("li",null,"Toolbar icon now remains highlighted while cache is being cleared",-1)),fo=H(()=>i("li",null,"Added 1 minute time interval option for Automation",-1)),po=H(()=>i("li",null,"Minor copy and UI changes to Time Span",-1)),mo=H(()=>i("li",null,"Fixed options page opening from background",-1)),vo=H(()=>i("li",null,"Minor copy changes and fixes",-1)),go=H(()=>i("li",null,"Fixed subscription checkout error",-1)),ho=H(()=>i("li",null,"Clear cache at custom intervals",-1)),_o=H(()=>i("li",null,"Clear cache at browser startup",-1)),yo=H(()=>i("li",null,"Clear cache when computer is idle",-1)),bo=H(()=>i("li",null,"Clear cache when a tab is closed",-1)),wo=H(()=>i("li",null,"Streamline options page layout with new Time period UI",-1)),xo=H(()=>i("li",null,"Add quick option to select default data to remove types",-1)),$o=H(()=>i("li",null,"Minor bug fixes",-1)),ko=H(()=>i("li",null,"Import/export your settings",-1)),Co=H(()=>i("li",null,"Create and manage presets",-1)),So=H(()=>i("li",null,[f("Custom domain filters "),i("em",null,"per data type")],-1)),Io=H(()=>i("li",null,"Close all windows after clearing data",-1)),Mo=H(()=>i("li",null,"New icon animation",-1)),Po=H(()=>i("li",null,"Added dark/light mode toggles in options",-1)),Eo=H(()=>i("li",null,"Added domain filters for all browser data (previously just cookies)",-1)),Oo=H(()=>i("li",null,"Added support to sync settings across devices (on by default)",-1)),Uo=H(()=>i("li",null,"Added ability to import settings from Chrome's native browsing data dialog",-1)),Ao=H(()=>i("li",null,[f("Better privacy by removing "),i("code",null,j("")),f(" and "),i("code",null,j("cookies")),f(" permissions")],-1)),To=H(()=>i("li",null,"UI and code rewritten from scratch using modern standards",-1)),Bo=H(()=>i("li",null,"Directly preview and link to key board shortcut in options",-1)),Lo=H(()=>i("li",null,[f("Added "),i("em",null,"Last 15 Minutes"),f(" time period")],-1)),Vo=H(()=>i("li",null,"Added options save status indicator",-1)),Do=H(()=>i("li",null,"Fix auto reload in saved tab groups",-1)),Ro=H(()=>i("li",null,[f("Added "),i("code",null,"cacheStorage"),f(" and "),i("code",null,"serviceWorkers"),f(" options")],-1)),jo=H(()=>i("li",null,"Updated icon for better dark mode and high dpi support",-1)),qo=H(()=>i("li",null,"Updated keyboard shortcut link in Options page",-1)),zo=H(()=>i("li",null,"Added descriptions for data types to remove",-1)),Fo=V({__name:"Changelog",setup(e){const t=I(!1);return(s,n)=>(m(),U(r(pa),{open:t.value,"onUpdate:open":n[2]||(n[2]=l=>t.value=l),class:"flex flex-col text-left space-y-4 text-xs"},{default:o(()=>[a(ke,{version:"2.1.10",date:"November 22, 2024"},{default:o(()=>[io,ro]),_:1}),a(r(da),null,{default:o(()=>[a(T,null,{default:o(()=>[i("span",null,j(t.value?"Hide":"Show")+" older versions",1)]),_:1})]),_:1}),a(r(fa),null,{default:o(()=>[a(r(ie),{class:"my-4"}),a(ke,{version:"2.1.9",date:"November 22, 2024"},{default:o(()=>[uo,co,fo,po]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"2.1.8",date:"July 22, 2024"},{default:o(()=>[mo]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"2.1.7",date:"July 22, 2024"},{default:o(()=>[vo]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"2.1.6",date:"July 22, 2024"},{default:o(()=>[go]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"2.1.5",date:"July 18, 2024"},{default:o(()=>[i("li",null,[f("New "),a(T,{onClick:n[0]||(n[0]=l=>r(Le).getInstance().requestCheckout()),class:"text-plus-gradient font-bold"},{default:o(()=>[f("Plus")]),_:1}),f(" Automation features "),a(tt,null,{default:o(()=>[ho,_o,yo,bo]),_:1})]),wo,xo,$o]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"2.1.0",date:"June 21, 2024"},{default:o(()=>[i("li",null,[i("span",null,[f("Introducing Clear Cache "),a(T,{onClick:n[1]||(n[1]=l=>r(Le).getInstance().requestCheckout()),class:"text-plus-gradient font-bold"},{default:o(()=>[f("Plus")]),_:1}),f(": ")]),a(tt,null,{default:o(()=>[ko,Co,So,Io,Mo]),_:1})]),Po,Eo,Oo,Uo]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"2.0.0",date:"June 3, 2024"},{default:o(()=>[i("li",null,[f("Upgraded to "),a(T,{href:"https://developer.chrome.com/docs/extensions/develop/migrate"},{default:o(()=>[f("Chrome Extensions Manifest V3")]),_:1})]),Ao,To,Bo,Lo,Vo,Do]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"1.1.4",date:"July 11, 2021"},{default:o(()=>[a(tt,{class:"mt-0"},{default:o(()=>[i("li",null,[f("Simplified options to replace "),a(T,{href:"https://developer.chrome.com/docs/extensions/reference/tabs/",target:"_blank"},{default:o(()=>[f("tabs")]),_:1}),f(" permission with "),a(T,{href:"https://developer.chrome.com/docs/extensions/mv3/manifest/activeTab/",target:"_blank"},{default:o(()=>[f(" activeTab")]),_:1})])]),_:1})]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"1.1.3",date:"April 11, 2020"},{default:o(()=>[a(tt,{class:"mt-0"},{default:o(()=>[Ro,jo,qo]),_:1})]),_:1}),a(r(ie),{class:"my-4"}),a(ke,{version:"1.1",date:"September 21, 2014"},{default:o(()=>[a(tt,{class:"mt-0"},{default:o(()=>[zo]),_:1})]),_:1})]),_:1})]),_:1},8,["open"]))}}),No=oe(Fo,[["__scopeId","data-v-88a1e09a"]]),Wo=i("span",null,"Don't ask again",-1),Qe=V({__name:"Confirm",props:pe({destructive:{type:Boolean,required:!1,default:!0},suppressionId:{type:String,required:!1,default:void 0}},{open:{type:Boolean,required:!1,default:void 0},openModifiers:{},defaultOpen:{type:Boolean,required:!1,default:void 0},defaultOpenModifiers:{}}),emits:pe(["cancelled","confirmed","opened","closed"],["update:open","update:defaultOpen"]),setup(e,{emit:t}){const{destructive:s,suppressionId:n}=e,l=t,c=z(e,"open"),u=z(e,"defaultOpen"),d=b=>{c.value=c.value===void 0?b:c.value,l(b?"opened":"closed")},p=D({get:()=>c.value&&!v.value,set:b=>{c.value=b&&!v.value}}),v=I(!1),g=I(!1),h=async b=>{if(b=b??g.value,n){const M=await chrome.storage.local.get("suppressedAlerts"),O=(M==null?void 0:M.suppressedAlerts)??{};O[n]=b,v.value=b,g.value=v.value,await chrome.storage.local.set({suppressedAlerts:O})}},$=async()=>{if(n){const b=await chrome.storage.local.get("suppressedAlerts"),M=(b==null?void 0:b.suppressedAlerts)??{};return v.value=M[n]===!0,g.value=v.value,v.value}return!1};re(async()=>{await $(),chrome.storage.onChanged.addListener(async(b,M)=>{M==="local"&&n&&b.suppressedAlerts&&await $()}),ne(c,async b=>{b&&v.value?(await wt(),l("confirmed")):!b&&g.value&&await h(!0)})});const x=async()=>{l("cancelled")},y=async()=>{await h(g.value),l("confirmed")},_=D(()=>s?"bg-destructive text-destructive-foreground hover:bg-destructive hover:text-destructive-foreground hover:opacity-85":"");return(b,M)=>(m(),w("div",null,[a(r(Cn),{open:p.value,defaultOpen:u.value,"onUpdate:open":d},{default:o(()=>[b.$slots.trigger?(m(),U(r(hn),{key:0,class:"size-full"},{default:o(()=>[J(b.$slots,"trigger")]),_:3})):E("",!0),a(r(_n),null,{default:o(()=>[a(r(yn),null,{default:o(()=>[a(r(bn),null,{default:o(()=>[J(b.$slots,"title",{},()=>[f(" Are you sure? ")])]),_:3}),b.$slots.default?(m(),U(r(wn),{key:0},{default:o(()=>[J(b.$slots,"default")]),_:3})):E("",!0)]),_:3}),Z(a(de,{class:"flex items-center"},{default:o(()=>[a(Te,{checked:g.value,"onUpdate:checked":M[0]||(M[0]=O=>g.value=O)},null,8,["checked"]),Wo]),_:1},512),[[te,e.suppressionId]]),a(r(xn),null,{default:o(()=>[a(r($n),{onClick:x},{default:o(()=>[f("Cancel")]),_:1}),a(r(kn),{onClick:y,class:A(_.value)},{default:o(()=>[f("Continue")]),_:1},8,["class"])]),_:1})]),_:3})]),_:3},8,["open","defaultOpen"])]))}}),Ho={class:"space-y-1 grow"},Yo=i("span",null,"Close all Windows",-1),Ko=i("div",{class:"flex flex-col space-y-4"},[i("p",null,"Any unsaved progress in your browser will be lost once you clear your cache with this option enabled.")],-1),Jo=V({__name:"CloseAllWindows",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=z(e,"modelValue"),s=I(!1),n=async()=>{t.value?s.value=!1:s.value=!0},l=async()=>{t.value=!0,s.value=!1},c=()=>{t.value=!1,s.value=!1};return(u,d)=>(m(),w("div",null,[a(de,{class:"flex grow justify-between items-center",onClickCapture:n},{default:o(()=>[i("div",Ho,[Yo,a(Se,null,{default:o(()=>[f("Close all open Chrome windows after clearing data")]),_:1})]),a(r(at),{checked:t.value,"onUpdate:checked":d[0]||(d[0]=p=>t.value=p)},null,8,["checked"])]),_:1}),a(Qe,{open:s.value,"onUpdate:open":d[1]||(d[1]=p=>s.value=p),onConfirmed:l,onCancelled:c,class:"w-full lg:w-auto","suppression-id":"closeAllWindows"},{default:o(()=>[Ko]),_:1},8,["open"])]))}}),Xo=V({__name:"IconButton",props:["variant","size","noPadding"],setup(e){return(t,s)=>(m(),U(r(Q),{variant:e.variant??"default",size:e.size,class:A({[`variant-${e.variant??"default"}`]:!0,[`size-${e.size??"default"}`]:!0,"no-text":t.$slots.default===void 0,"has-text":t.$slots.default!==void 0,"no-padding":e.noPadding!==void 0})},{default:o(()=>[J(t.$slots,"icon",{},void 0,!0),J(t.$slots,"default",{},void 0,!0)]),_:3},8,["variant","size","class"]))}}),_t=oe(Xo,[["__scopeId","data-v-2e0237ea"]]),fs=e=>(Ve("data-v-c0470c1b"),e=e(),De(),e),Qo=fs(()=>i("button",{type:"submit",class:"hidden"},null,-1)),Go={name:"list",tag:"ul",class:"space-y-4 p-4"},Zo={class:"flex flex-row gap-2"},ei={class:"flex h-[3em] w-[4em] self-center items-center justify-center rounded-full border cursor-default"},ti=["innerHTML"],si=["innerHTML"],ai={class:"flex flex-col pt-4 pb-8 items-center"},ni=fs(()=>i("p",null,[f("This will remove "),i("em",null,"all"),f(" domains from the list. "),i("strong",null,"Any edits will be lost.")],-1)),li={class:"absolute inset-0 content-center text-center"},oi=fs(()=>i("span",{class:"text-muted-foreground"},"No domains added",-1)),ii=[oi],ri=["innerHTML"],ui=fs(()=>i("p",null,[f("You have unsaved changes. "),i("strong",null,"Any edits will be lost.")],-1)),Xs="https://sub.domain.com",ci=V({__name:"OriginsList",props:pe({label:String,description:String},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=0;const s=Xs,n=z(e,"modelValue"),l=I([]),c=I([]),u=I([]),d=I(""),p=I(!1),v=I(!1),g=I([]),h=()=>`origin-${t++}`,$=(S="")=>{l==null||l.value.push({origin:S,id:h()}),c==null||c.value.push(""),u==null||u.value.push(""),wt(()=>{_(g.value.length-1)})},x=S=>{var q;(q=l.value)==null||q.splice(S,1),c.value.splice(S,1),u.value.splice(S,1)},y=()=>{l.value=[],c.value=[],u.value=[]},_=S=>{const q=g.value[S],K=q==null?void 0:q.querySelector("input");K==null||K.focus()},b=()=>{for(const S of g.value){const q=S==null?void 0:S.querySelector("input");q==null||q.blur()}},M=()=>F()?(n.value=[...l.value].map(S=>S.origin),d.value="",c.value=l.value.map(()=>""),u.value=l.value.map(()=>""),!0):!1,O=()=>{l.value=[...n.value].map(S=>({origin:S,id:h()})),d.value="",c.value=l.value.map(()=>""),u.value=l.value.map(()=>"")},N=S=>{if(S<0||S>=l.value.length)return!1;const q=l.value[S],K=(q==null?void 0:q.origin)??"";Y.debug("Validating",S,K),c.value[S]="",u.value[S]="";try{const ee=en(K);if(ee!==K){const P=`Normalized from ${K}`;c.value[S]=xt(P),l.value[S].origin=ee}return!0}catch{const P=`Please enter a valid URL (e.g. ${Xs})`;return u.value[S]=xt(P),!1}},F=()=>{d.value="",c.value=l.value.map(()=>""),u.value=l.value.map(()=>"");let S=!0;return[...l.value].forEach((K,ee)=>{N(ee)||(S=!1,S&&_(ee))}),S},G=D(()=>{for(let S=0;S{if(p.value&&!S){if(!F()){d.value="Please fix all errors before saving";return}if(G.value){Y.debug("Confirm close"),v.value=!0;return}C()}else!p.value&&S&&O()},C=()=>{p.value=!1};return re(()=>{O()}),(S,q)=>{const K=ea("auto-animate");return m(),w("div",null,[a(r(rs),{open:p.value,"onUpdate:open":k},{default:o(()=>[a(r(Ps),{"as-child":""},{default:o(()=>[a(T,{class:"p-2 cursor-pointer",onClick:q[0]||(q[0]=ee=>p.value=!0)},{default:o(()=>[f("Edit")]),_:1})]),_:1}),a(r(as),{class:"sm:max-w-[425px] h-[600px] gap-y-4 flex flex-col justify-between"},{default:o(()=>[a(r(ns),{class:"gap-y-2"},{default:o(()=>[a(r(ls),{class:"capitalize"},{default:o(()=>[f(j(e.label),1)]),_:1}),a(r(os),{innerHTML:e.description},null,8,["innerHTML"])]),_:1}),a(r(ma),{class:"rounded-md border h-full flex flex-col justify-stretch content-stretch"},{default:o(()=>{var ee,P;return[Z(i("form",{onSubmit:ge(b,["prevent"])},[Qo,Z((m(),w("ul",Go,[(m(!0),w(ye,null,Be(l.value,(B,L)=>(m(),w("li",{key:B.id,class:"flex flex-col",ref_for:!0,ref_key:"listItemRefs",ref:g},[i("div",Zo,[i("code",ei,j(L+1),1),a(r(is),{modelValue:l.value[L].origin,"onUpdate:modelValue":xe=>l.value[L].origin=xe,placeholder:r(s),onBlur:xe=>N(L),class:A(["flex-grow font-normal placeholder-muted",{"border-primary":c.value[L],"border-destructive":u.value[L],"focus-visible:outline-primary":c.value[L],"focus-visible:outline-destructive":u.value[L]}])},null,8,["modelValue","onUpdate:modelValue","placeholder","onBlur","class"]),a(r(Q),{variant:"ghost",class:"self-center p-2",title:"Remove",onClick:xe=>x(L)},{default:o(()=>[a(r(va),{size:16})]),_:2},1032,["onClick"])]),Z(i("p",{class:"py-1 px-3 text-primary",innerHTML:c.value[L]},null,8,ti),[[te,c.value[L]]]),Z(i("p",{class:"py-1 px-3 text-destructive",innerHTML:u.value[L]},null,8,si),[[te,u.value[L]]])]))),128))])),[[K]]),i("p",ai,[a(Qe,{onConfirmed:y},{trigger:o(()=>[a(r(Q),{variant:"destructive"},{default:o(()=>[f("Remove All")]),_:1})]),default:o(()=>[ni]),_:1})]),Z(i("div",li,ii,512),[[te,((ee=l.value)==null?void 0:ee.length)===0]])],544),[[te,((P=l.value)==null?void 0:P.length)>0]])]}),_:1}),a(r(Q),{variant:"default",onClick:q[1]||(q[1]=ee=>$()),class:"gap-x-1"},{default:o(()=>[f(" Add Domain ")]),_:1}),a(r(ga),{class:"flex flex-wrap w-full gap-4"},{default:o(()=>[a(r(Q),{variant:"outline",onClick:q[2]||(q[2]=ee=>{O(),C()})},{default:o(()=>[f("Cancel")]),_:1}),a(r(Q),{variant:"default",onClick:q[3]||(q[3]=ee=>{M()&&C()}),class:"grow w-full sm:w-auto sm:grow-0",disabled:!G.value},{default:o(()=>[f("Save")]),_:1},8,["disabled"]),Z(i("p",{class:"basis-full text-destructive text-right",innerHTML:d.value},null,8,ri),[[te,d.value]])]),_:1}),a(Qe,{open:v.value,onConfirmed:q[4]||(q[4]=ee=>{v.value=!1,C()}),onCancelled:q[5]||(q[5]=ee=>v.value=!1),class:"self-center w-full"},{title:o(()=>[f("Close without saving?")]),trigger:o(()=>[Z(a(r(Q),{variant:"destructive"},{default:o(()=>[f("Cancel")]),_:1},512),[[te,!1]])]),default:o(()=>[ui]),_:1},8,["open"])]),_:1})]),_:1},8,["open"])])}}}),Qs=oe(ci,[["__scopeId","data-v-c0470c1b"]]),Tt=e=>(Ve("data-v-08b78220"),e=e(),De(),e),di={class:"gap-0 w-full"},fi=Tt(()=>i("span",{class:"grow"},"Websites",-1)),pi=Tt(()=>i("span",{class:"text-muted-foreground font-light"},"Unprotected Web",-1)),mi=Tt(()=>i("span",{class:"grow"},"Web Apps",-1)),vi=Tt(()=>i("span",{class:"text-muted-foreground font-light"},"Protected Web",-1)),gi=Tt(()=>i("span",{class:"grow"},"Extensions",-1)),hi={class:"space-x-1"},_i=V({__name:"OriginTypes",props:pe({showWarning:{type:Boolean,default:!0}},{modelValue:{required:!0},modelModifiers:{},disabled:{type:Boolean},disabledModifiers:{},tooltip:{},tooltipModifiers:{}}),emits:["update:modelValue","update:disabled","update:tooltip"],setup(e){const t=z(e,"modelValue"),s=z(e,"disabled"),n=z(e,"tooltip"),l=I({protectedWeb:{isOpen:!1,message:"This will clear data for all installed apps, which may cause them to break.",link:"chrome://apps",linkText:"Review your installed apps here",get value(){return t.value.protectedWeb},set value(c){t.value.protectedWeb=c}},extension:{isOpen:!1,message:"This will clear data for all extensions, which may cause them to break.",link:"chrome://extensions",linkText:"Review your extensions here",get value(){return t.value.extension},set value(c){t.value.extension=c}}});return re(()=>{ne(()=>t.value.protectedWeb,c=>{l.value.protectedWeb.isOpen=!s.value&&(c??!1)}),ne(()=>t.value.extension,c=>{l.value.extension.isOpen=!s.value&&(c??!1)})}),(c,u)=>(m(),w("div",di,[a(de,{class:A(["flex items-center",{disabled:s.value}]),title:n.value,onClickCapture:u[1]||(u[1]=ge(d=>t.value.unprotectedWeb=!t.value.unprotectedWeb,["prevent"]))},{default:o(()=>[a(r(Te),{checked:t.value.unprotectedWeb,"onUpdate:checked":u[0]||(u[0]=d=>t.value.unprotectedWeb=d)},null,8,["checked"]),fi,pi]),_:1},8,["class","title"]),a(de,{class:A(["flex items-center",{disabled:s.value}]),title:n.value,onClickCapture:u[3]||(u[3]=ge(d=>t.value.protectedWeb=!t.value.protectedWeb,["prevent"]))},{default:o(()=>[a(r(Te),{checked:t.value.protectedWeb,"onUpdate:checked":u[2]||(u[2]=d=>t.value.protectedWeb=d)},null,8,["checked"]),mi,vi]),_:1},8,["class","title"]),a(de,{class:A(["flex items-center",{disabled:s.value}]),title:n.value,onClickCapture:u[5]||(u[5]=ge(d=>t.value.extension=!t.value.extension,["prevent"]))},{default:o(()=>[a(r(Te),{checked:t.value.extension,"onUpdate:checked":u[4]||(u[4]=d=>t.value.extension=d)},null,8,["checked"]),gi]),_:1},8,["class","title"]),(m(!0),w(ye,null,Be(l.value,(d,p)=>(m(),U(Qe,{open:d.isOpen,"suppression-id":p,onCancelled:v=>{d.isOpen=!1,d.value=!1},onConfirmed:v=>{d.isOpen=!1,d.value=!0}},{default:o(()=>[i("div",hi,[i("span",null,j(d.message),1),a(T,{href:d.link,"use-browser-api":!0},{default:o(()=>[f(j(d.linkText),1)]),_:2},1032,["href"])])]),_:2},1032,["open","suppression-id","onCancelled","onConfirmed"]))),256))]))}}),yi=oe(_i,[["__scopeId","data-v-08b78220"]]),bi={class:"flex flex-col lg:flex-row lg: lg:items-center lg:gap-4"},wi={class:"lg:min-w-20"},xi=["innerHTML"],$i={key:0},ki=i("span",{class:"grow"},"Include browser data even when filtering by domains",-1),Ea=V({__name:"Origins",props:pe({idPrefix:{default:""}},{removalOptions:{required:!0},removalOptionsModifiers:{},originMode:{required:!0},originModeModifiers:{},alwaysClearBrowserData:{type:Boolean,required:!1,default:void 0},alwaysClearBrowserDataModifiers:{},disabled:{type:Boolean,required:!1,default:void 0},disabledModifiers:{}}),emits:["update:removalOptions","update:originMode","update:alwaysClearBrowserData","update:disabled"],setup(e){const t=z(e,"removalOptions"),s=z(e,"originMode"),n=z(e,"alwaysClearBrowserData"),l=z(e,"disabled"),{idPrefix:c}=e,u=D(()=>Object.values(ae)),d=D({get:()=>g.value?{unprotectedWeb:!0,protectedWeb:!0,extension:!0}:t.value.originTypes??tn(),set:x=>t.value.originTypes=x}),p=D({get:()=>t.value.origins??[],set:x=>t.value.origins=x}),v=D({get:()=>t.value.excludeOrigins??[],set:x=>t.value.excludeOrigins=x}),g=D(()=>s.value===ae.ActiveTab||l.value),h=D(()=>s.value===ae.All),$=D(()=>g.value?"Overriden by Active Tab filter":"");return(x,y)=>(m(),w("div",{class:A(["flex flex-col space-y-4",{"text-muted-foreground":l.value}])},[i("div",null,[a(we,{level:6},{default:o(()=>[f("Origins")]),_:1}),a(r(ha),{modelValue:s.value,"onUpdate:modelValue":y[2]||(y[2]=_=>s.value=_),class:"gap-y-0",disabled:l.value},{default:o(()=>[(m(!0),w(ye,null,Be(u.value,_=>(m(),w("div",{class:"flex flex-row grow items-center",key:_},[a(de,{for:c+_,class:"flex flex-row grow items-center",disabled:l.value,onClick:b=>s.value=_},{default:o(()=>[a(r(_a),{value:_,id:c+_},null,8,["value","id"]),i("div",bi,[i("span",wi,j(r(na)[_]),1),a(Se,null,{default:o(()=>[i("span",{innerHTML:r(ms)[_]},null,8,xi)]),_:2},1024)])]),_:2},1032,["for","disabled","onClick"]),_===r(ae).Include&&!l.value?(m(),U(Qs,{key:0,modelValue:p.value,"onUpdate:modelValue":y[0]||(y[0]=b=>p.value=b),mode:_,label:r(zs)[_],description:r(ms)[_]},null,8,["modelValue","mode","label","description"])):_===r(ae).Exclude&&!l.value?(m(),U(Qs,{key:1,modelValue:v.value,"onUpdate:modelValue":y[1]||(y[1]=b=>v.value=b),mode:_,label:r(zs)[_],description:r(ms)[_]},null,8,["modelValue","mode","label","description"])):E("",!0)]))),128))]),_:1},8,["modelValue","disabled"])]),n.value!==void 0?(m(),w("div",$i,[a(we,{level:6},{default:o(()=>[f("Browser Data")]),_:1}),a(de,{class:A(["flex items-center",{disabled:h.value}])},{default:o(()=>[a(r(Te),{checked:n.value,"onUpdate:checked":y[3]||(y[3]=_=>n.value=_),disabled:h.value||l.value},null,8,["checked","disabled"]),ki]),_:1},8,["class"])])):E("",!0),i("div",null,[a(we,{level:6},{default:o(()=>[f("Types")]),_:1}),a(yi,{modelValue:d.value,"onUpdate:modelValue":y[4]||(y[4]=_=>d.value=_),disabled:g.value,"onUpdate:disabled":y[5]||(y[5]=_=>g.value=_),tooltip:$.value,"onUpdate:tooltip":y[6]||(y[6]=_=>$.value=_),"show-warning":!0},null,8,["modelValue","disabled","tooltip"])])],2))}}),Ci={class:"font-light text-muted-foreground space-x-1 max-w-full text-ellipsis truncate"},Si={class:"text-primary font-normal"},Ii={class:"tag text-warning"},Mi={class:"text-primary font-normal"},Pi=["innerHTML"],Ei={key:1,class:"tag text-warning"},Oi=V({__name:"OriginsSummary",props:{removalOptions:{required:!0},removalOptionsModifiers:{},originMode:{required:!0},originModeModifiers:{}},emits:["update:removalOptions","update:originMode"],setup(e){const t=z(e,"removalOptions"),s=z(e,"originMode"),n=D(()=>t.value.originTypes),l=D(()=>s.value===ae.Include||s.value===ae.Exclude),c=D(()=>s.value===ae.ActiveTab),u=D(()=>{switch(s.value){case ae.All:return"All";case ae.Include:return"Only";case ae.Exclude:return"All";case ae.ActiveTab:return"All"}}),d=D(()=>{switch(s.value){case ae.All:return"";case ae.Include:return"on";case ae.Exclude:return"except on";case ae.ActiveTab:return"on the active tab"}}),p=D(()=>{let g=[];switch(s.value){case ae.Include:g=[...t.value.origins??[]];break;case ae.Exclude:g=[...t.value.excludeOrigins??[]];break;default:return""}const h='',$="";return g=g.map(x=>`${h}${xt(x)}${$}`),g.join(", ")}),v=D(()=>{var h,$,x;let g=[];return((h=n.value)!=null&&h.unprotectedWeb||c.value)&&g.push("websites"),(($=n.value)!=null&&$.protectedWeb||c.value)&&g.push("apps"),((x=n.value)!=null&&x.extension||c.value)&&g.push("extensions"),g.join(", ")});return(g,h)=>(m(),w("span",Ci,[i("span",Si,j(u.value),1),Z(i("span",null,j(v.value),513),[[te,v.value.length]]),Z(i("span",Ii,"(no types selected)",512),[[te,!v.value.length]]),i("span",Mi,j(d.value),1),p.value.length?(m(),w("span",{key:0,innerHTML:p.value},null,8,Pi)):l.value?(m(),w("span",Ei,"(no "+j(r(na)[s.value].toLowerCase())+"d domains selected)",1)):E("",!0)]))}}),Oa=oe(Oi,[["__scopeId","data-v-7c2a5d80"]]);var qe;const He=class He{constructor(){$e(this,qe);ve(this,"isShowing",()=>X(this,qe)!==void 0);ve(this,"clearIfShowing",t=>{t!==void 0&&X(this,qe)===t&&Oe(this,qe,void 0)})}static get(t){return He.groups[t]||(He.groups[t]=new He),He.groups[t]}get toastId(){return X(this,qe)}set toastId(t){Oe(this,qe,t)}};qe=new WeakMap,ve(He,"groups",{});let xs=He;const Ui=e=>(Ve("data-v-b5fbc69f"),e=e(),De(),e),Ai={class:"content"},Ti={class:"overlay"},Bi={class:"block text-sm text-secondary-foreground/60 w-full text-center"},Li={key:0,class:"text-plus-gradient"},Vi=Ui(()=>i("span",{class:"text-plus-gradient"},"PLUS",-1)),Di={key:1,class:"unlocked","data-unlocked":"true"},Ri=V({__name:"Lock",props:pe({size:{default:"normal"},shallow:{type:Boolean,default:!1}},{isSubscribed:{type:Boolean,default:!1},isSubscribedModifiers:{},alwaysUnlocked:{type:Boolean,default:!1},alwaysUnlockedModifiers:{},isLocked:{type:Boolean,default:!0},isLockedModifiers:{}}),emits:["update:isSubscribed","update:alwaysUnlocked","update:isLocked"],setup(e){const{size:t,shallow:s}=e,n=z(e,"isSubscribed"),l=z(e,"alwaysUnlocked"),c=z(e,"isLocked"),u=xs.get("lock"),d=Le.getInstance();Cs("isLocked",c);const p=(h,$=!1)=>(h.preventDefault(),h.stopPropagation(),$&&!u.isShowing()&&(u.toastId=fe.info("This feature is only availbale with Clear Cache PLUS.",{action:{label:"Try 7 days for free",onClick:()=>{d.requestCheckout()}},icon:x=>"♻️",onAutoClose(x){u.clearIfShowing(x==null?void 0:x.id)},onDismiss(x){u.clearIfShowing(x==null?void 0:x.id)}})),!1),v=()=>{n.value=d.isSubscribed()},g=()=>{c.value=!l.value&&!n.value};return re(()=>{d.addEventListener(Ae.SubscriptionValidated,v),d.addEventListener(Ae.SubscriptionInvalidated,v),ne(n,g),ne(l,g),v()}),(h,$)=>c.value?(m(),w("div",{key:0,class:A(["locked",{shallow:s,[`size-${t}`]:!0}]),"data-locked":"true",onClickCapture:$[0]||($[0]=x=>p(x,!0)),onTouchstartCapturePassive:p,onPointerdownCapture:p,onFocusCapture:p,onFocusinCapture:p,onBeforeinputCapture:p,onKeydownCapture:p},[i("div",Ai,[J(h.$slots,"default",{},void 0,!0)]),i("div",Ti,[i("span",Bi,[t==="small"?(m(),w("span",Li,"PLUS")):(m(),w("span",{key:1,class:A({"text-xl":t==="large"})},[f("Requires a "),Vi,f(" subscription")],2))])])],34)):(m(),w("div",Di,[J(h.$slots,"default",{},void 0,!0)]))}}),nt=oe(Ri,[["__scopeId","data-v-b5fbc69f"]]),ji={class:"flex flex-row gap-x-2 items-center max-w-full truncate"},qi={class:"grow shrink-0"},zi={class:"truncate text-ellipsis text-right"},Fi={key:1},Ni={class:"flex flex-col space-y-1"},Wi=i("span",{class:"text-muted-foreground font-light"},"Overrides global settings for this type",-1),Hi=["cite"],Yi={key:0},Ki={key:1},Gs=V({__name:"DataRemovalType",props:pe({id:{}},{modelValue:{type:Boolean,required:!0,default:void 0},modelModifiers:{},disabled:{type:Boolean},disabledModifiers:{},options:{required:!1,default:void 0},optionsModifiers:{}}),emits:["update:modelValue","update:disabled","update:options"],setup(e){const{id:t}=e,s=z(e,"modelValue"),n=z(e,"disabled"),l=z(e,"options"),c=D(()=>{var x;return((x=p==null?void 0:p.value)==null?void 0:x.flags.requiresPlus)??!1}),u=D(()=>{var x;return((x=p==null?void 0:p.value)==null?void 0:x.flags.confirmFirst)??!1}),d=I(!1),p=I(),v=I(!1),g=I(!1),h=I(!1),$=()=>{u.value&&!s.value?g.value=!0:g.value=!1};return re(()=>{p.value=_s.allItems.get(t)}),(x,y)=>(m(),w("div",null,[a(r(qt),{open:v.value,"onUpdate:open":y[14]||(y[14]=_=>v.value=_)},{default:o(()=>[i("div",ji,[a(de,{class:"flex grow shrink-0 items-center",disabled:n.value},{default:o(()=>{var _;return[a(r(Te),{checked:s.value,"onUpdate:checked":y[0]||(y[0]=b=>s.value=b),disabled:n.value,onClick:$},null,8,["checked","disabled"]),i("span",qi,j((_=p.value)==null?void 0:_.label),1),a(Qe,{"suppression-id":x.id,open:g.value,"onUpdate:open":y[1]||(y[1]=b=>g.value=b),onConfirmed:y[2]||(y[2]=b=>{s.value=!0,g.value=!1}),onCancelled:y[3]||(y[3]=b=>{s.value=!1,g.value=!1})},{title:o(()=>{var b;return[f(" Are you sure you want to remove "+j((b=p.value)==null?void 0:b.label)+"? ",1)]}),default:o(()=>{var b;return[f(j((b=p.value)==null?void 0:b.description),1)]}),_:1},8,["suppression-id","open"])]}),_:1},8,["disabled"]),l.value?(m(),U(nt,{key:0,"is-locked":d.value,"onUpdate:isLocked":y[12]||(y[12]=_=>d.value=_),"always-unlocked":!c.value,size:"small",class:A({"max-w-[50%] truncate":!d.value&&l.value.override,"grow-0":d.value})},{default:o(()=>[i("div",zi,[a(r(Ot),{open:h.value,"onUpdate:open":y[11]||(y[11]=_=>h.value=_)},{default:o(()=>[a(T,{onClick:y[6]||(y[6]=_=>h.value=!h.value)},{default:o(()=>[l.value.override&&!d.value?(m(),U(Oa,{key:0,"removal-options":l.value.removalOptions,"onUpdate:removalOptions":y[4]||(y[4]=_=>l.value.removalOptions=_),"origin-mode":l.value.originMode,"onUpdate:originMode":y[5]||(y[5]=_=>l.value.originMode=_)},null,8,["removal-options","origin-mode"])):(m(),w("span",Fi,"Advanced"))]),_:1}),a(r(Ut)),a(r(At),{class:"w-[40vw] min-w-96 max-w-[500px] space-y-4"},{default:o(()=>{var _;return[a(de,{class:"flex items-center"},{default:o(()=>{var b;return[a(r(Te),{checked:l.value.override,"onUpdate:checked":y[7]||(y[7]=M=>l.value.override=M)},null,8,["checked"]),i("div",Ni,[i("span",null,[f("Custom domain settings for "),i("em",null,j(((b=p.value)==null?void 0:b.label)||"this type"),1)]),Wi])]}),_:1}),a(Ea,{class:A({disabled:!l.value.override}),disabled:!l.value.override,onClick:y[8]||(y[8]=ge(()=>{},["stop","prevent"])),"id-prefix":((_=p.value)==null?void 0:_.key)+"-","removal-options":l.value.removalOptions,"onUpdate:removalOptions":y[9]||(y[9]=b=>l.value.removalOptions=b),"origin-mode":l.value.originMode,"onUpdate:originMode":y[10]||(y[10]=b=>l.value.originMode=b)},null,8,["class","disabled","id-prefix","removal-options","origin-mode"])]}),_:1})]),_:1},8,["open"])])]),_:1},8,["is-locked","always-unlocked","class"])):E("",!0),a(_t,{class:"shrink-0 grow-0",size:"xs",title:"More info",variant:v.value?"outline":"ghost",onClick:y[13]||(y[13]=_=>v.value=!v.value)},{icon:o(()=>[a(r(Es))]),_:1},8,["variant"]),a(r(Rt),{class:"flex justify-end"})]),a(r(jt),{class:"space-y-2 w-[16vw] min-w-80 max-w-96"},{default:o(()=>{var _,b,M,O,N;return[i("blockquote",{cite:(_=p.value)==null?void 0:_.source},[(b=p.value)!=null&&b.description?(m(),w("p",Yi,j((M=p.value)==null?void 0:M.description),1)):E("",!0),(O=p.value)!=null&&O.source?(m(),w("p",Ki,[a(T,{href:(N=p.value)==null?void 0:N.source,isInfoOpen:"_blank"},{default:o(()=>[f("More Info")]),_:1},8,["href"])])):E("",!0)],8,Hi)]}),_:1})]),_:1},8,["open"])]))}}),Ji=V({__name:"TimePeriod",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=z(e,"modelValue");return(s,n)=>(m(),U(r(In),{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=l=>t.value=l),"default-value":t.value},{default:o(()=>[a(r(Sn),{class:"flex-1 flex-wrap w-full h-auto rounded-lg"},{default:o(()=>[(m(!0),w(ye,null,Be(r(sn),l=>(m(),U(r(Mn),{value:l,class:"transition-all flex-1 rounded-md hover:text-primary hover:bg-card hover:bg-opacity-50"},{default:o(()=>[i("span",{class:A({"text-primary":t.value===l})},j(r(an)(l)),3)]),_:2},1032,["value"]))),256))]),_:1})]),_:1},8,["modelValue","default-value"]))}}),Xi={class:"flex flex-col gap-y-8"},Qi={class:"space-y-1"},Gi={class:"space-y-1"},Zi={class:"space-y-1"},er={class:"flex justify-start space-x-2"},tr=i("span",null,"Select",-1),sr=V({__name:"DataToRemove",props:{dataTypes:{required:!0},dataTypesModifiers:{},dataOptions:{required:!0},dataOptionsModifiers:{},disableBrowserData:{type:Boolean,required:!0},disableBrowserDataModifiers:{},timeperiod:{required:!0},timeperiodModifiers:{}},emits:["update:dataTypes","update:dataOptions","update:disableBrowserData","update:timeperiod"],setup(e){const t=z(e,"dataTypes"),s=z(e,"dataOptions"),n=z(e,"disableBrowserData"),l=z(e,"timeperiod"),c=D(()=>[..._s.allItems].filter(([v,g])=>g.flags.supportsOrigins)),u=D(()=>[..._s.allItems].filter(([v,g])=>!g.flags.supportsOrigins)),d=v=>{for(const g in t.value)t.value[g]=v},p=()=>{const g=Is().browser.dataToRemove;for(const h in t.value)t.value[h]=g[h]};return(v,g)=>(m(),w("div",Xi,[i("div",Qi,[a(we,{level:5},{default:o(()=>[f("Time Span")]),_:1}),a(Ji,{modelValue:l.value,"onUpdate:modelValue":g[0]||(g[0]=h=>l.value=h)},null,8,["modelValue"])]),i("div",Gi,[a(we,{level:5},{default:o(()=>[f("Websites")]),_:1}),(m(!0),w(ye,null,Be(c.value,([h,$])=>(m(),U(Gs,{key:h,id:h,modelValue:t.value[h],"onUpdate:modelValue":x=>t.value[h]=x,options:s.value[h],"onUpdate:options":x=>s.value[h]=x},null,8,["id","modelValue","onUpdate:modelValue","options","onUpdate:options"]))),128))]),i("div",Zi,[a(we,{level:5},{default:o(()=>[f("Browser")]),_:1}),Z(a(Se,null,{default:o(()=>[f("Your domain settings override these options.")]),_:1},512),[[te,n.value]]),(m(!0),w(ye,null,Be(u.value,([h,$])=>(m(),U(Gs,{key:h,id:h,modelValue:t.value[h],"onUpdate:modelValue":x=>t.value[h]=x,disabled:n.value,"onUpdate:disabled":g[1]||(g[1]=x=>n.value=x),options:s.value[h],"onUpdate:options":x=>s.value[h]=x},null,8,["id","modelValue","onUpdate:modelValue","disabled","options","onUpdate:options"]))),128))]),i("div",er,[tr,a(T,{onClick:g[2]||(g[2]=h=>d(!0))},{default:o(()=>[f("All")]),_:1}),a(r(ie),{class:"h-[1rem]",orientation:"vertical"}),a(T,{onClick:g[3]||(g[3]=h=>p())},{default:o(()=>[f("Default")]),_:1}),a(r(ie),{class:"h-[1rem]",orientation:"vertical"}),a(T,{onClick:g[4]||(g[4]=h=>d(!1))},{default:o(()=>[f("None")]),_:1})])]))}});var lt;const Ye=class Ye{static getInstance(){return X(Ye,lt)||Oe(Ye,lt,new Ye),X(Ye,lt)}constructor(){}getCommands(){return chrome.commands.getAll()}getActionCommand(){return chrome.commands.getAll().then(t=>t.find(s=>s.name==="_execute_action"))}getActionShortcut(){return this.getActionCommand().then(t=>t==null?void 0:t.shortcut)}};lt=new WeakMap,$e(Ye,lt);let $s=Ye;const ar={class:"space-y-1"},nr=i("span",null,"Keyboard Shortcut",-1),lr=V({__name:"KeyboardShortcut",setup(e){const t=I(void 0),s=Wa();ne(s,()=>{s.value&&n()});const n=async()=>{t.value=await $s.getInstance().getActionShortcut()},l=async()=>{chrome.tabs.create({url:"chrome://extensions/shortcuts#:~:text=Clear%20Cache"})};return re(async()=>{n()}),(c,u)=>(m(),U(de,{class:"flex grow justify-between items-center",onClick:l,title:"Click to edit"},{default:o(()=>[i("div",ar,[nr,a(Se,null,{default:o(()=>[f("Clear from anywhere within Chrome")]),_:1})]),i("code",{class:A(["font-light bg-muted px-1.5 py-1 rounded-lg text-xs",t.value?"bg-primary text-white align-middle":"bg-muted text-muted-foreground"])},j(t.value||"Not set"),3)]),_:1}))}}),or={class:"flex flex-col gap-2 w-full"},ir={class:"flex grow"},rr=i("span",null,"Sync across devices",-1),ur={class:"grid grid-cols-2 gap-2 justify-items-stretch"},cr={class:"flex flex-col space-y-4"},dr=i("em",null,"Data to Remove",-1),fr=i("em",null,"Time Period",-1),pr=i("p",{class:"font-light"},"Please note that Chrome bundles certain settings in a way that may select more data to be removed than you might expect.",-1),mr={class:"flex flex-col space-y-4"},vr=i("p",null,[f("This will reset "),i("em",null,"all"),f(" Clear Cache extension settings to their default values. "),i("strong",null,"This action cannot be undone.")],-1),gr=i("span",null,"Also remove all presets",-1),hr=V({__name:"Manage",props:{includePresetsOnReset:{type:Boolean,required:!1,default:!1},includePresetsOnResetModifiers:{},config:{required:!0},configModifiers:{}},emits:pe(["export","import","reset","loadBrowser"],["update:includePresetsOnReset","update:config"]),setup(e,{emit:t}){const s=z(e,"includePresetsOnReset"),n=z(e,"config"),l=t,c=()=>{document.getElementById("fileInput").click()},u=()=>{var h;const g=(h=document.getElementById("fileInput").files)==null?void 0:h.item(0);l("import",g)},d=()=>{l("loadBrowser",null)},p=()=>{l("reset")};return(v,g)=>(m(),w("div",or,[i("div",ir,[a(de,{class:"space-x-2 sm:w-full lg:w-auto align-middle"},{default:o(()=>[a(r(Te),{checked:n.value.extension.sync,"onUpdate:checked":g[0]||(g[0]=h=>n.value.extension.sync=h),class:"align-top"},null,8,["checked"]),rr]),_:1})]),i("div",ur,[a(Qe,{onConfirmed:d,class:"flex w-full lg:w-auto order-1"},{trigger:o(()=>[a(_t,{class:"w-full"},{default:o(()=>[a(r(Pn)),f(" Import from Browser ")]),_:1})]),default:o(()=>[i("div",cr,[i("p",null,[f("This will import "),a(T,{"use-browser-api":!0,href:"chrome://settings/clearBrowserData"},{default:o(()=>[f("your chrome settings")]),_:1}),f(" and overwrite Clear Cache extension settings for "),dr,f(" and "),fr,f(". ")]),pr])]),_:1}),a(Qe,{onConfirmed:p,class:"w-full lg:w-auto order-3"},{trigger:o(()=>[a(_t,{variant:"destructive",class:"w-full"},{default:o(()=>[a(r(ya)),f(" Reset to Defaults ")]),_:1})]),default:o(()=>[i("div",mr,[vr,a(r(pt),{class:"flex flex-row w-full space-x-2 items-center"},{default:o(()=>[a(r(Te),{checked:s.value,"onUpdate:checked":g[1]||(g[1]=h=>s.value=h)},null,8,["checked"]),gr]),_:1})])]),_:1}),a(nt,{class:"flex w-full lg:w-auto order-2",shallow:!0,size:"small"},{default:o(()=>[a(_t,{class:"w-full",onClick:c},{default:o(()=>[a(r(En)),f(" Import from File "),i("input",{type:"file",id:"fileInput",hidden:"",onChange:u},null,32)]),_:1})]),_:1}),a(nt,{class:"flex w-full lg:w-auto order-4",shallow:!0,size:"small"},{default:o(()=>[a(_t,{class:"w-full",onClick:g[2]||(g[2]=h=>v.$emit("export"))},{default:o(()=>[a(r(On)),f(" Export to File ")]),_:1})]),_:1})])]))}}),_r={class:"group flex flex-row align-end gap-x-4 items-center drop-shadow-md"},yr=V({__name:"DarkModeToggle",setup(e){const{system:t,store:s}=Ha();function n(){switch(s.value){case"auto":s.value=t.value==="light"?"dark":"light";break;case"dark":s.value=t.value==="dark"?"auto":"light";break;case"light":s.value=t.value==="light"?"auto":"dark";break}}function l(){switch(s.value){case"auto":return"System";case"dark":return"Dark";case"light":return"Light"}}return(c,u)=>(m(),w("div",_r,[a(r(pt),{class:"transition-all opacity-0 translate-x-4 group-hover:opacity-100 group-hover:translate-x-0 text-primary-foreground"},{default:o(()=>[f(j(l()),1)]),_:1}),a(r(Q),{variant:"outline",onClick:n},{default:o(()=>[Z(a(r(Un),{class:"absolute h-[1.2rem] w-[1.2rem]"},null,512),[[te,r(s)==="auto"]]),Z(a(r(An),{class:"absolute h-[1.2rem] w-[1.2rem]"},null,512),[[te,r(s)==="dark"]]),Z(a(r(Tn),{class:"absolute h-[1.2rem] w-[1.2rem]"},null,512),[[te,r(s)==="light"]])]),_:1})]))}}),br={key:0},Ke=V({__name:"FormStep",setup(e){const t=Ge("wizardContext");if(!t)throw new Error("FormStep must be used within a FormWizard");const s=t.addStep(),n=D(()=>t.isCurrent(s));return Cs("stepIndex",s),(l,c)=>n.value?(m(),w("div",br,[J(l.$slots,"default")])):E("",!0)}});class he extends Error{constructor(t,s){super(s),this.field=t,this.name="FormError"}}const wr=V({__name:"Spinner",setup(e){return(t,s)=>(m(),U(r(Bn),{class:"spinner text-primary"}))}}),ft=oe(wr,[["__scopeId","data-v-04b76cf7"]]),xr={key:0,class:"absolute flex items-center justify-center top-0 left-0 right-0 bottom-0 bg-card/75 pointer-events-none z-10"},$r={class:"flex flex-row-reverse pt-2 gap-2 place-content-end"},kr=V({__name:"FormWizard",props:pe({validationSchemas:{},formOptions:{},routeToNext:{type:Function},routeToPrev:{type:Function}},{currentStep:{type:Number,default:0},currentStepModifiers:{}}),emits:pe(["submit","stepChanged"],["update:currentStep"]),setup(e,{expose:t,emit:s}){const{validationSchemas:n,formOptions:l,routeToNext:c,routeToPrev:u}=e,d=z(e,"currentStep"),p=I(),v=s,g=I(!1),h=[],$=[],x=[],y=[],_=I(),b=I(),M=D(()=>d.value===K()-1),O=D(()=>d.value===0),N=D(()=>{const R=n.length,W=Math.max(0,Math.min(d.value,R-1));return n[W]}),{values:F,handleSubmit:G,setFieldError:k}=Ln({...l,validationSchema:N,keepValuesOnUnmount:!0}),C=G(async R=>ee(d.value+1),({errors:R})=>{if(!R||Object.keys(R).length===0)return;const W=Object.keys(R)[0],me=document.querySelector(`input[name="${W}"]`);me==null||me.focus()}),S=async()=>C(),q=async()=>{ee(d.value-1)},K=()=>h.length,ee=async(R,W=!1)=>{var Bs,Ls,Vs;B(),g.value=!0,R=Math.max(0,Math.min(R,y.length-1));let me=d.value,ue=R;const We=R-d.value,Vt=We>0,Dt=We<0,vt=y[me];let Ee=!0;try{We>=0&&We<=1&&vt&&await vt(),Vt?ue=await c(me,ue):Dt&&(ue=await u(me,ue))}catch(qa){P(qa),ue=d.value,Ee=!1}Y.debug(bt.gray(`Moving from step ${me} to ${ue}`)),ue!==me||W?((Bs=x[me])==null||Bs.call(x,ue,me),xe(ue),d.value=ue,await((Ls=h[ue])==null?void 0:Ls.call(h,ue,me).catch(P))):Ee&&ue===K()-1?v("submit",F):await((Vs=$[ue])==null?void 0:Vs.call($,ue,me).catch(P)),L(),g.value=!1},P=R=>{let W=String(R)??"Something went wrong. Please try again.";R instanceof he&&(W=R.message,k(R.field,W)),Y.debug(bt.red("Error in step:",d.value),W)},B=()=>{document.querySelectorAll("input").forEach(W=>{W.blur()})},L=async()=>{var W;const R=(W=p.value)==null?void 0:W.querySelector("input");R==null||R.focus()},xe=(R=d.value)=>{_.value=Pe(R),b.value=Ne(R)},Pe=(R=d.value)=>({text:"Back",disabled:R===0,visible:R>0}),Ne=(R=d.value)=>({text:R>=K()-1?"Submit":"Continue",disabled:!1,visible:!0}),mt={addStep:()=>(h.push(async()=>{}),$.push(async()=>{}),x.push(async()=>{}),y.push(async()=>{}),K()-1),getTotal:K,isCurrent:R=>d.value===R,getCurrent:()=>d.value,goTo:R=>ee(R),goToPrev:()=>q(),goToNext:()=>S(),getNext:()=>M.value?d.value:d.value+1,getPrevious:()=>O.value?d.value:d.value-1,onShow:async(R,W)=>{if(W=Lt(W),Y.debug(bt.magenta(`Adding show callback for step index: ${W}`)),h[W]=R,d.value===W)return R(W,d.value).catch(P)},onReload(R,W){W=Lt(W),$[W]=R},onHide(R,W){W=Lt(W),x[W]=R},handleStepSubmit(R,W){W=Lt(W),y[W]=R},setButtonStates:(R={},W={})=>{_.value={...Pe(),...R},b.value={...Ne(),...W}},showSpinner:()=>g.value=!0,hideSpinner:()=>g.value=!1},Lt=R=>R??d.value;return re(()=>{xe(),ne(d,R=>{v("stepChanged",R)})}),Cs("wizardContext",mt),t({context:mt}),(R,W)=>{var me,ue,We,Vt,Dt,vt;return m(),w("form",{onSubmit:W[0]||(W[0]=ge((...Ee)=>r(C)&&r(C)(...Ee),["prevent"]))},[i("div",{class:A(["relative py-2 transition-opacity",{"pointer-events-none":g.value}]),ref_key:"container",ref:p},[J(R.$slots,"default",{},void 0,!0),a(ts,null,{default:o(()=>[g.value?(m(),w("div",xr,[a(ft,{class:"size-20"})])):E("",!0)]),_:1})],2),i("div",null,[i("div",$r,[(me=b.value)!=null&&me.visible?(m(),U(r(Q),{key:0,type:"submit",ref:"nextBtn",disabled:!((ue=b.value)!=null&&ue.visible)||((We=b.value)==null?void 0:We.disabled)||g.value},{default:o(()=>{var Ee;return[f(j((Ee=b.value)==null?void 0:Ee.text),1)]}),_:1},8,["disabled"])):E("",!0),(Vt=_.value)!=null&&Vt.visible?(m(),U(r(Q),{key:1,type:"button",ref:"prevBtn",disabled:!((Dt=_.value)!=null&&Dt.visible)||((vt=_.value)==null?void 0:vt.disabled)||g.value,onClick:ge(q,["self"])},{default:o(()=>{var Ee;return[f(j((Ee=_.value)==null?void 0:Ee.text),1)]}),_:1},8,["disabled"])):E("",!0)])])],32)}}}),Ua=oe(kr,[["__scopeId","data-v-0ad062e3"]]),Cr=["data-selected"],Sr={class:"inner bg-plus-gradient text-plus-foreground"},Ir={class:"inner-bg"},Mr=V({inheritAttrs:!1,__name:"MagicButton",props:{style:{type:String,default:"linear"},selected:{type:Boolean,default:!1},muted:{type:Boolean,default:!1}},setup(e){return(t,s)=>(m(),w("a",Ss(t.$attrs,{class:["outer",[e.style,{selected:e.selected,muted:e.muted}]],"data-selected":e.selected}),[i("span",Sr,[i("span",Ir,[J(t.$slots,"default",{},void 0,!0)])])],16,Cr))}}),Fe=oe(Mr,[["__scopeId","data-v-cf8fef8b"]]),Aa=e=>(Ve("data-v-5e9204d5"),e=e(),De(),e),Pr={class:"flex flex-col gap-2"},Er={class:"flex items-center space-x-2 my-2"},Or={class:"grow text-left"},Ur=Aa(()=>i("span",null,"Can't find your subscription?",-1)),Ar=Aa(()=>i("span",null,"Don't have an account yet?",-1)),Tr=V({__name:"EnterEmail",props:{isSignUp:{type:Boolean,default:!0},autoSignInIfExisting:{type:Boolean,default:!0},autoSignUpIfNonExisting:{type:Boolean,default:!1}},emits:["subscribe"],setup(e,{emit:t}){const s=Ge("wizardContext");if(!s)throw new Error("EnterEmail must be used within a Checkout component");const n=e,l=t,c=us(),u=Ie.getInstance(),d=I(n.isSignUp?1:0),p=D(()=>d.value===1||n.isSignUp===!0),v=I(!1),g=async()=>{try{Y.debug("Signin up with email..."),d.value=1;const y=c.value.email;if(!c.value.termsAccepted)throw new he("email","Please review our terms and select agree to continue.");if(!y)throw new he("termsAccepted","Please enter your email address");const b=await u.signUp(y,new Date);if(b!=null&&b.isSignUpComplete)await u.resendSignInCode(y);else throw new he("email","Log in failed")}catch(y){return await x(y)}},h=async()=>{try{Y.debug("Signin in with email..."),d.value=0;const y=c.value.email;if(!y)throw new he("email","Please enter your email address");const _=await u.signIn(y);if(!(_!=null&&_.isSignedIn)&&!(_!=null&&_.nextStep))throw new he("email",`Could not sign in with email "${y}". Please try again.`)}catch(y){return await x(y)}},$=async()=>{Y.debug("Subscribing..."),l("subscribe",c.value.email)},x=async y=>{if(y instanceof Error)switch(y.name){case"UsernameExistsException":if(n.autoSignInIfExisting&&d.value===1)return Y.debug("User already exists, signing in with email..."),h();throw new he("email","An account with that email address already exists.");case"UserNotFoundException":if(d.value===0)throw n.autoSignUpIfNonExisting?(Y.debug("User not found, signing up with email..."),d.value=1,c.value.termsAccepted=!1,s.handleStepSubmit(g)):v.value=!0,new he("email","We couldn't find an account with that email address.")}throw y};return re(()=>{n.isSignUp?s.handleStepSubmit(g):s.handleStepSubmit(h),!c.value.termsAccepted&&!p.value&&(c.value.termsAccepted=!0)}),(y,_)=>{var b,M;return m(),w("div",Pr,[a(r(Ct),{name:"email","validate-on-model-update":!1,"validate-on-blur":!!((M=(b=r(c))==null?void 0:b.email)!=null&&M.length)},{default:o(({componentField:O})=>[a(r(ot),null,{default:o(()=>[a(r(Nt),null,{default:o(()=>[f("Enter your email")]),_:1}),a(r($t),null,{default:o(()=>[a(r(is),Ss({type:"email",placeholder:"Your email address"},O,{autofocus:""}),null,16)]),_:2},1024),a(r(kt))]),_:2},1024)]),_:1},8,["validate-on-blur"]),p.value?(m(),U(r(Ct),{key:0,type:"checkbox",name:"termsAccepted"},{default:o(({value:O,handleChange:N})=>[a(r(ot),{class:"flex flex-col gap-2"},{default:o(()=>[i("div",Er,[a(r($t),{class:"inline-block"},{default:o(()=>[a(r(Te),{checked:O,"onUpdate:checked":N},null,8,["checked","onUpdate:checked"])]),_:2},1024),a(r(Nt),null,{default:o(()=>[i("span",Or,[f(" I agree to the "),a(T,{href:"https://clearcache.io/terms",target:"_blank",tabindex:"-1"},{default:o(()=>[f("Terms of Service")]),_:1}),f(", "),a(T,{href:"https://clearcache.io/privacy",target:"_blank",tabindex:"-1"},{default:o(()=>[f("Privacy")]),_:1}),f(" and "),a(T,{href:"https://clearcache.io/refunds",target:"_blank",tabindex:"-1"},{default:o(()=>[f("Refund Policy")]),_:1})])]),_:1})]),a(r(kt))]),_:2},1024)]),_:1})):E("",!0),v.value?(m(),U(ts,{key:1},{default:o(()=>[a(r(ss),{class:"grid grid-cols-2 gap-2 p-4 items-center text-center text-xs bg-muted text-muted-foreground"},{default:o(()=>[Ur,Ar,a(T,{href:"https://paddle.net/verify-email",target:"_blank"},{default:o(()=>[f("Click here")]),_:1}),a(Fe,{class:"inline-block"},{default:o(()=>[i("div",{onClick:$,class:"px-3 py-2 text-sm font-medium"}," Sign up now ")]),_:1})]),_:1})]),_:1})):E("",!0)])}}}),Ta=oe(Tr,[["__scopeId","data-v-5e9204d5"]]),Ba=V({__name:"VerifyEmail",setup(e){const t=Ge("wizardContext");if(!t)throw new Error("VerifyEmail must be used within a Checkout component");const s=Ie.getInstance(),n=us(),l=Vn(),c=I(le.emailCodeLength),u=Ya(!1),d=I(),p=async()=>{var _;g();const y=((_=n.value.emailCode)==null?void 0:_.join(""))??"";try{const b=await s.confirmSignIn(y);if(!(b!=null&&b.isSignedIn)){let M=new Error("We couldn't verify your email. Please try again.");throw M.name="CodeMismatchException",M}}catch(b){let M="Something went wrong. Please try again.";if(b instanceof Error)switch(b.name){case"CodeMismatchException":throw new he("emailCode",b.message??"That code didn't match. Please try again.");case"NotAuthorizedException":case"ExpiredCodeException":throw n.value.emailCode=[],u.value=!0,new he("emailCode","Your code has expired. Please request a new code.");default:M=b.message??"Something went wrong. Please try again.";break}throw new he("emailCode",M)}},v=()=>{var y;u.value=!1,n.value.emailCode=[],(y=d.value)==null||y.querySelectorAll("input").forEach(_=>{_.value="",_.focus()})},g=()=>{var y;(y=d.value)==null||y.querySelectorAll("input").forEach(_=>{_.blur()})},h=async()=>{if(t.showSpinner(),v(),!n.value.email)throw new Error("Please re-enter your email address");await s.resendSignInCode(n.value.email),t.hideSpinner()},$=async()=>{if(l.value.emailCode===void 0)return t.goToNext()},x=y=>{u.value=!1,n.value.emailCode=y.filter(Boolean)};return re(()=>{t.handleStepSubmit(p),t.onShow(async()=>{v()}),n.value.emailCode=[]}),(y,_)=>(m(),U(r(Ct),{name:"emailCode"},{default:o(({componentField:b,value:M})=>[a(r(ot),{class:"flex flex-col gap-2"},{default:o(()=>[a(r(Nt),null,{default:o(()=>[f("Verify your Email")]),_:1}),a(r($t),null,{default:o(()=>[i("span",{ref_key:"inputsContainer",ref:d},[a(r(Dn),{modelValue:M,"onUpdate:modelValue":[O=>M=O,x],placeholder:"○",otp:"",type:"number",name:b.name,onComplete:$,autofocus:""},{default:o(()=>[a(r(Rn),null,{default:o(()=>[(m(!0),w(ye,null,Be(c.value,(O,N)=>(m(),U(r(jn),{key:O,index:N,class:"bg-secondary text-secondary-foreground"},null,8,["index"]))),128))]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue","name"])],512)]),_:2},1024),i("p",null,[i("span",{class:A({"ring-primary ring-1 transition-all rounded-lg p-2":u.value})},[a(T,{onClick:h},{default:o(()=>[f("Resend code")]),_:1})],2)]),a(r(kt))]),_:2},1024)]),_:1}))}}),Je={ChoosePlan:gt(be.object({planId:be.string().min(1,"Please select a plan"),planInterval:be.string().default(cs.YEAR)})),EnterEmail:gt(be.object({email:be.string().email("Please enter a valid email address"),termsAccepted:be.boolean().refine(e=>e===!0,{message:"Please review the terms and conditions and select agree to continue."})})),VerifyEmail:gt(be.object({emailCode:be.array(be.coerce.string()).length(le.emailCodeLength,{message:`Please enter all ${le.emailCodeLength} digits of the code`})})),Payment:gt(be.object({status:be.string().optional()})),CheckStatus:gt(be.object({status:be.string().optional()}))},Br=e=>e?parseFloat(e)>0:!1,La=e=>Br(e)?"+ tax":"",Lr=e=>e?e.replace(/[\d.,]/g,"").trim():"",Vr=(e,t)=>(typeof e=="string"&&(e=parseFloat(e)),e=Math.ceil(e)/100,`${t}${e.toFixed(2)}`),Dr=e=>!!(e!=null&&e.trialPeriod),Rr=(e,t=!0)=>{var c,u,d;if(!e||!e.trialPeriod||((c=e.trialPeriod)==null?void 0:c.frequency)<=0)return"";const s=((u=e.trialPeriod)==null?void 0:u.frequency)??0,n=(d=e.trialPeriod)==null?void 0:d.interval,l=s>1&&t?n+"s":n;return`${s} ${l}`},Va=e=>{const n=(Array.isArray(e)?e:e==null?void 0:e.data.details.lineItems).map(l=>({amount:yt(l.price),interval:"year",item:l})).reduce((l,c)=>l.amount<((c==null?void 0:c.amount)??0)?l:c,{amount:1/0});return{amount:n.amount/12,interval:"month",item:n.item}},yt=e=>{var n;if(!e)return 0;const t=(n=e.billingCycle)==null?void 0:n.interval,s=parseFloat(e.unitPrice.amount);switch(t){case"year":return s;case"month":return s*12;case"week":return s*52;case"day":return s*365}return s},jr=(e,t,s=10)=>{if(!t||!(e!=null&&e.price))return null;const n=t.reduce((d,p)=>{const v=yt(d==null?void 0:d.price),g=yt(p==null?void 0:p.price);return v{var s;switch(typeof e=="string"?e:(s=e==null?void 0:e.billingCycle)==null?void 0:s.interval){case"day":return"Daily";case"week":return"Weekly";case"month":return"Monthly";case"year":return"Yearly";default:return""}},qr=e=>{var s;const t=e==null?void 0:e.items;return t?Da((s=t[0])==null?void 0:s.price):""},zr=e=>{var n;const t=(n=e==null?void 0:e.items[0].trialDates)==null?void 0:n.endsAt;if(!t)return"";const s=oa(t);return s<=0?"":la(s)},Fr=(e,t="text-warning",s="text-success")=>{if(!e)return"";const{action:n,effectiveAt:l,resumeAt:c}=e,u=oa(l);if(u<=0)return"";const d=xt(n)+"ed",p=la(u);let v=`Scheduled to be ${d} in ${p}.`;return c&&(v+=` It will be resumed on ${new Date(xt(c)).toLocaleDateString()}.`),v},Nr=i("p",{class:"text-xl text-muted-foreground"},"Loading subscription...",-1),Wr=i("p",{class:"font-semibold text-base"},"No subscription found",-1),Hr={class:"text-warning"},Yr={key:0,class:"flex gap-4 items-center"},Kr={class:"block h-full align-middle"},Jr={class:"flex items-center justify-center gap-1 text-muted-foreground"},Xr=["innerHTML"],Qr={key:2},Gr=i("span",{class:"text-primary"},"trial",-1),Zr={class:"text-primary"},eu=i("p",{class:"text-xl text-muted-foreground"},"Subscription canceled",-1),tu=i("p",null,"Your subscription has been canceled 😢",-1),su=["innerHTML"],au=i("div",{class:"p-3 font-medium"},"Re-Subscribe",-1),nu=i("p",{class:"text-xl text-muted-foreground"},"Subscription paused",-1),lu=i("p",null,"Your subscription is currently paused 😴",-1),ou=["innerHTML"],iu=i("p",{class:"text-xl text-muted-foreground"},"Subscription Past Due",-1),ru=i("p",null,"Your subscription is past due 😬",-1),uu=i("p",{class:"font-semibold text-base"},"Please sign in",-1),cu=i("p",null,"You need to be signed in to check your subscription status.",-1),du=i("span",{class:"text-muted-foreground"},"Click here",-1),fu=i("p",{class:"font-semibold text-base"},"Something went wrong",-1),pu=i("span",{class:"text-muted-foreground"},"Click here",-1),mu={key:0,class:"flex gap-2 justify-between items-center"},vu=i("span",{class:"text-muted-foreground"},"Manage Subscription",-1),gu={class:"flex gap-2 justify-between items-center"},hu=i("span",{class:"text-muted-foreground"},"Refresh",-1),_u=i("span",{class:"text-muted-foreground"},"Log Out",-1),Ra=V({__name:"SubscriptionStatus",props:{spacing:{default:"default"},showLinks:{type:Boolean,default:!0},showSpinner:{type:Boolean,default:!0}},emits:["subscribe"],setup(e,{emit:t}){const s=e,n=t,l=Ge("wizardContext",void 0);let c;const u=I("loading"),d=Le.getInstance(),p=Ie.getInstance(),v=I(""),g=I(""),h=I(""),$=I(""),x=I(""),y=I("");let _;const b=async P=>{await O(!0,!0)},M=async P=>{await O(!1,!0)},O=async(P,B=!0)=>{var Ne,mt;if(u.value="loading",p.isLoggedIn()||await p.update(),!p.isLoggedIn()){u.value="logged-out";return}v.value=await p.getUserEmail(),P&&await d.update(3);const L=d.isSubscribed();_=await d.getSubscription();const xe=_==null?void 0:_.scheduledChange,Pe=_==null?void 0:_.status;if(x.value=((Ne=_==null?void 0:_.managementUrls)==null?void 0:Ne.updatePaymentMethod)??"",y.value=((mt=_==null?void 0:_.managementUrls)==null?void 0:mt.cancel)??"",!Pe){u.value="none";return}if(!L&&Pe==="active"){u.value="error";return}if(u.value=Pe,g.value=qr(_),$.value=Fr(xe),Pe==="trialing"&&(h.value=zr(_)),Pe==="canceled"&&(y.value=void 0),!B&&u.value==="error")throw new he("status","Could not update subscription")},N=()=>{var P,B,L;if(l){n("subscribe",v.value);return}else{const xe=(P=_==null?void 0:_.items)!=null&&P.length?(L=(B=_.items[0].price)==null?void 0:B.billingCycle)==null?void 0:L.interval:void 0;d.requestCheckout({email:v.value,cycle:xe})}},F=async()=>{await p.signOut().catch()},G=async P=>{try{return await d.cancel(),P.preventDefault(),P.stopPropagation(),!1}catch(B){Y.error("Failed to cancel subscription via Paddle. Opening cancel link...",B),chrome.tabs.create({url:d.getCancelUrl()})}},k=D(()=>u.value==="loading"),C=D(()=>{switch(s.spacing){case"tight":return"space-y-4 tracking-relaxed";default:return"space-y-4 tracking-relaxed"}}),S=D(()=>{switch(s.spacing){case"tight":return"pt-4";default:return"pt-4"}}),q=D(()=>{switch(s.spacing){case"tight":return"size-12";default:return"size-16"}}),K=D(()=>{switch(s.spacing){case"tight":return"text-xs";default:return"text-sm"}}),ee=P=>{if(l)switch(l.handleStepSubmit(()=>O(!0,!1)),l.hideSpinner(),P){case"loading":l.setButtonStates({visible:!1},{visible:!1});break;case"error":l.setButtonStates({text:"Back"},{text:"Try Again"});break;default:l.setButtonStates({visible:!1},{text:"Continue"}),l.handleStepSubmit(async()=>{});break}};return re(async()=>{p.addEventListener(Ft.Changed,b),d.addEventListener(Ae.SubscriptionValidated,M),d.addEventListener(Ae.SubscriptionInvalidated,M),l?(u.value="loading",c=ne(u,ee),ee(u.value),l.onShow(()=>O(!0,!1))):O(!0)}),Ka(()=>{p.removeEventListener(Ft.Changed,b),d.removeEventListener(Ae.SubscriptionValidated,M),d.removeEventListener(Ae.SubscriptionInvalidated,M),c&&(c(),c=void 0)}),(P,B)=>(m(),w(ye,null,[i("div",{class:A(["text-center text-balance",[C.value,K.value]])},[u.value==="loading"?(m(),w("div",{key:0,class:A(C.value)},[Nr,P.showSpinner?(m(),U(ft,{key:0,class:A(["block mx-auto",q.value])},null,8,["class"])):E("",!0)],2)):u.value==="none"?(m(),w("div",{key:1,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center p-4 bg-muted text-muted-foreground rounded-md",C.value])},[Wr,a(r(zt),{class:A(["block mx-auto text-warning",q.value])},null,8,["class"]),i("p",Hr,[f("We couldn't find an active subscription for "),i("em",null,j(v.value),1),f(" in our system.")])],2),i("p",null,[f("If you're having trouble accessing your subscription, or if you have any questions, please "),a(T,{href:r(le).links.support},{default:o(()=>[f("contact support")]),_:1},8,["href"]),f(". ")])],2)):u.value==="active"||u.value==="trialing"?(m(),w("div",{key:2,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center bg-muted text-muted-foreground rounded-md",C.value,{"p-4":P.spacing==="tight","p-8 text-base":P.spacing==="default"}])},[i("p",{class:A({"text-xl":P.spacing==="tight","text-2xl":P.spacing==="default"})},"You're subscribed!",2),P.spacing==="tight"?(m(),w("div",Yr,[a(r(Wt),{class:A(["block mx-auto text-primary",q.value])},null,8,["class"]),i("div",Kr,[f("Plan: "),a(r(ys),null,{default:o(()=>[f(j(g.value),1)]),_:1})])])):(m(),w("div",{key:1,class:A(C.value)},[a(r(Wt),{class:A(["block mx-auto text-primary",q.value])},null,8,["class"]),i("p",null,[f("Thanks for supporting this extension with your "),a(r(ys),null,{default:o(()=>[f(j(g.value),1)]),_:1}),f(" subscription.")])],2))],2),i("p",Jr,[$.value||u.value==="trialing"?(m(),U(r(Es),{key:0,class:"size-4"})):E("",!0),$.value?(m(),w("span",{key:1,innerHTML:$.value},null,8,Xr)):u.value==="trialing"?(m(),w("span",Qr,[f("Your "),Gr,f(" will end "),i("span",Zr,j(h.value),1)])):E("",!0)])],2)):u.value==="canceled"?(m(),w("div",{key:3,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center p-4 bg-muted text-muted-foreground rounded-md",C.value])},[eu,a(r(qn),{class:A(["block mx-auto text-warning",q.value])},null,8,["class"]),tu,$.value?(m(),w("p",{key:0,innerHTML:$.value},null,8,su)):E("",!0),i("p",null,[a(Fe,{onClick:N},{default:o(()=>[au]),_:1})])],2)],2)):u.value==="paused"?(m(),w("div",{key:4,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center p-4 bg-muted text-muted-foreground rounded-md",C.value])},[nu,a(r(zn),{class:A(["block mx-auto text-warning",q.value])},null,8,["class"]),lu,$.value?(m(),w("p",{key:0,innerHTML:$.value},null,8,ou)):E("",!0)],2)],2)):u.value==="past_due"?(m(),w("div",{key:5,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center p-4 bg-muted text-muted-foreground rounded-md",C.value])},[iu,a(r(zt),{class:A(["block mx-auto text-warning",q.value])},null,8,["class"]),ru],2),i("p",null,[f("If you have any questions, please "),a(T,{href:r(le).links.support},{default:o(()=>[f("contact support")]),_:1},8,["href"]),f(". ")])],2)):u.value==="logged-out"?(m(),w("div",{key:6,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center p-4 bg-muted text-muted-foreground rounded-md",C.value])},[uu,a(r(zt),{class:A(["block mx-auto text-warning",q.value])},null,8,["class"]),cu],2),i("p",null,[f("Can't find your subscription? "),a(T,{href:"https://paddle.net/verify-email"},{default:o(()=>[du]),_:1})]),i("p",null,[f("If you have any questions, please "),a(T,{href:r(le).links.support},{default:o(()=>[f("contact support")]),_:1},8,["href"]),f(". ")])],2)):(m(),w("div",{key:7,class:A(C.value)},[i("div",{class:A(["flex flex-col items-center p-4 bg-muted text-muted-foreground rounded-md",C.value])},[fu,a(r(ya),{class:A(["block mx-auto text-danger",q.value])},null,8,["class"]),i("p",null,[f("There was an error while checking your subscription status. Please "),a(T,{onClick:O},{default:o(()=>[f("click here to retry")]),_:1}),f(". ")])],2),i("p",null,[f("Can't find your subscription? "),a(T,{href:"https://paddle.net/verify-email"},{default:o(()=>[pu]),_:1})]),i("p",null,[f("If the problem persists, "),a(T,{href:r(le).links.support},{default:o(()=>[f("contact support")]),_:1},8,["href"]),f(". ")])],2))],2),i("div",{class:A([S.value])},[P.showLinks?(m(),w("p",mu,[a(r(Ot),null,{default:o(()=>[a(r(Ut),null,{default:o(()=>[(x.value||y.value)&&!k.value?(m(),U(T,{key:0,title:"Manage your subscription"},{default:o(()=>[vu]),_:1})):E("",!0)]),_:1}),a(r(At),{"align-offset":8,sideOffset:12,class:"max-w-48 text-center"},{default:o(()=>[i("ul",null,[i("li",null,[x.value&&!k.value?(m(),U(T,{key:0,href:x.value,title:"Update your subscription payment method"},{default:o(()=>[f("Update Payment Method")]),_:1},8,["href"])):E("",!0)]),i("li",null,[y.value&&!k.value?(m(),U(T,{key:0,onClick:G,title:"Cancel your subscription"},{default:o(()=>[f("Cancel Subscription")]),_:1})):E("",!0)])]),a(r(ba),{width:16,height:8,class:"fill-popover mt-[-1px]"})]),_:1})]),_:1}),i("span",gu,[k.value?E("",!0):(m(),U(T,{key:0,onClick:O,title:"Refresh subscription status"},{default:o(()=>[hu]),_:1})),k.value?E("",!0):(m(),U(r(ie),{key:1,orientation:"vertical",class:"inline-block w-[1px] h-3 border-red-500"})),a(T,{onClick:F,title:"Log out of your account"},{default:o(()=>[_u]),_:1})])])):E("",!0)],2)],64))}}),yu=V({__name:"SignIn",props:{isOpen:{type:Boolean,type:Boolean,default:!1},isOpenModifiers:{}},emits:pe(["subscribe"],["update:isOpen"]),setup(e,{emit:t}){const s=I([Je.EnterEmail,Je.VerifyEmail,Je.CheckStatus]),n={initialValues:{email:"",termsAccepted:!1,emailCode:Array(le.emailCodeLength).fill("")}},l=I(0),c=D(()=>y[l.value]),u=D(()=>_[l.value]),d=z(e,"isOpen"),p=t,v=async b=>{d.value=!1,p("subscribe",b)},g=async(b,M)=>M,h=async(b,M)=>b===2?(await Ie.getInstance().signOut().catch(),0):M,$=b=>{b&&(l.value=0),d.value=b},x=async()=>{d.value=!1},y={0:"Log in with your email",1:"Confirm your email",2:"Subscription status"},_={0:"Enter the email address you signed up with.",1:"Please confirm your email address by entering the code we sent you. If you can't find it, check your spam folder.",2:""};return(b,M)=>(m(),U(r(rs),{open:d.value,"onUpdate:open":[M[1]||(M[1]=O=>d.value=O),$]},{default:o(()=>[a(r(Ps),{class:"flex flex-col gap-2"},{default:o(()=>[J(b.$slots,"trigger",{},()=>[a(r(pt),{class:"flex gap-2 items-center"},{default:o(()=>[a(T,null,{default:o(()=>[f("Log In")]),_:1})]),_:1})],!0)]),_:3}),a(r(as),{class:"p-6"},{default:o(()=>[a(r(ns),null,{default:o(()=>[a(r(ls),null,{default:o(()=>[a(we,{level:2},{default:o(()=>[f(j(c.value),1)]),_:1})]),_:1}),a(r(os),{innerHTML:u.value},null,8,["innerHTML"])]),_:1}),d.value?(m(),U(Ua,{key:0,onSubmit:x,validationSchemas:s.value,"form-options":n,"current-step":l.value,"onUpdate:currentStep":M[0]||(M[0]=O=>l.value=O),"route-to-next":g,"route-to-prev":h},{default:o(()=>[a(Ke,null,{default:o(()=>[a(Ta,{isSignUp:!1,onSubscribe:v})]),_:1}),a(Ke,null,{default:o(()=>[a(Ba)]),_:1}),a(Ke,null,{default:o(()=>[a(Ra,{onSubscribe:v,"show-links":!1})]),_:1})]),_:1},8,["validationSchemas","current-step"])):E("",!0)]),_:1})]),_:3},8,["open"]))}}),bu=oe(yu,[["__scopeId","data-v-2d21b508"]]),wu={key:0},xu=V({__name:"HeightTransition",setup(e){const t=ta(),s=c=>{if(!(c instanceof HTMLElement))return;const u=c,d=getComputedStyle(u).width;u.style.width=d,u.style.position="absolute",u.style.visibility="hidden",u.style.height="auto";const p=getComputedStyle(u).height;u.style.width="",u.style.position="",u.style.visibility="",u.style.height="0",getComputedStyle(u).height,requestAnimationFrame(()=>{u.style.height=p})},n=c=>{if(!(c instanceof HTMLElement))return;const u=c;u.style.height="auto"},l=c=>{if(!(c instanceof HTMLElement))return;const u=c,d=getComputedStyle(u).height;u.style.height=d,getComputedStyle(u).height,requestAnimationFrame(()=>{u.style.height="0"})};return(c,u)=>r(t)==="reduce"?(m(),w("div",wu,[J(c.$slots,"default",{},void 0,!0)])):(m(),U(ts,{key:1,name:"expand",onEnter:s,onAfterEnter:n,onLeave:l},{default:o(()=>[J(c.$slots,"default",{},void 0,!0)]),_:3}))}}),ks=oe(xu,[["__scopeId","data-v-39d8b29b"]]),$u={key:0},ku=V({__name:"Prices",props:{primaryClass:{type:String,default:"font-normal block"},secondaryClass:{type:String,default:"text-xs lowercase font-light text-muted-foreground"}},setup(e){const t=I(),s=I(),n=I(""),l=I("");return re(async()=>{var v,g,h;const c=await Et.getInstance().getPricePreviews(!1).catch();t.value=Va(c),s.value=t.value.item;const u=Lr((v=t.value.item)==null?void 0:v.formattedTotals.subtotal),d=Vr(t.value.amount,u),p=La((g=t.value.item)==null?void 0:g.unitTotals.tax);if(!d){Y.info("Could not load price info");return}n.value=`Only ${d} per ${t.value.interval}`,l.value+=`with a ${Da((h=t.value.item)==null?void 0:h.price)} plan`,l.value+=p?` (${p})`:""}),(c,u)=>(m(),U(ks,null,{default:o(()=>[n.value?(m(),w("div",$u,[i("span",{class:A(e.primaryClass)},j(n.value),3),i("span",{class:A(e.secondaryClass)},j(l.value),3)])):E("",!0)]),_:1}))}}),Cu={class:"items-stretch"},Su=sa('
  • ✅ Customize domains to clear
  • ✅ Clear only the active tab
  • ✅ Clear data from the last 15 minutes
  • ✅ Clear app and extension data
  • ✅ Sync settings across devices
  • ✅ Import Browser settings
  • ✅ New UI and icon
  • ✅ Dark/light mode
  • 🆓 Free to use 🚫 No ads 🚫 No tracking
',2),Iu={key:1,class:"flex justify-center"},Mu=i("span",{class:"text-plus-gradient"},"PLUS",-1),Pu={class:"space-y-0.5 grow"},Eu=i("span",null,"🌟 Customize domains ",-1),Ou={class:"text-muted-foreground inline"},Uu=i("p",null,"For example:",-1),Au=i("ul",null,[i("li",null,[f("💫 Clear cookies on "),i("code",null,"facebook.com")]),i("li",null,[f("💫 Clear cache on the "),i("code",null,"active tab")]),i("li",null,[f("💫 Clear localStorage on "),i("code",null,"localhost")])],-1),Tu=i("p",null,[i("em",null,"All in one click!")],-1),Bu=i("span",null,"🌟 Create ",-1),Lu={class:"text-muted-foreground inline"},Vu=i("p",null,"For example:",-1),Du=i("ul",null,[i("li",null,"💫 One preset per project"),i("li",null,"💫 Preset for work and personal use"),i("li",null,"💫 Preset to clear everything"),i("li",null,"💫 Preset for specific sites")],-1),Ru=i("span",null,"🌟 Automated ",-1),ju={class:"text-muted-foreground inline"},qu=i("p",null,"For example, clear data...",-1),zu=i("ul",null,[i("li",null,"💫 ...every 15, 30, ... minutes"),i("li",null,"💫 ...when a tab is closed"),i("li",null,"💫 ...when Chrome starts"),i("li",null,"💫 ...on idle")],-1),Fu=i("li",null,"🌟 Close all windows after clearing",-1),Nu=i("li",null,"🌟 Import/export settings",-1),Wu=i("li",{class:"italic"},"🌟 Coming Soon: Notifications",-1),Hu={key:1,class:"text-center leading-4 grow items-center py-2"},Yu={key:2,class:"flex justify-center"},Ku=i("div",{class:"p-3 font-medium"},[f("Try "),i("em",null,"PLUS"),f(),i("span",{class:"underline"},"free"),f(" for 7 days")],-1),Ju=V({__name:"Features",props:{showBasic:{type:Boolean,default:!0},showPlus:{type:Boolean,default:!0},compact:{type:Boolean,default:!1},showButtons:{type:Boolean,default:!0}},emits:["explore","subscribe"],setup(e,{emit:t}){const s=e,n=t,l=I(!1),c=I(!1),u=I(!1);return(d,p)=>(m(),w("div",Cu,[s.showBasic?(m(),w("div",{key:0,class:A(["flex flex-col justify-start min-h-full space-y-4 border-[1px] rounded-lg px-5 py-4 transition-all",{"hover:drop-shadow-lg hover:-translate-y-1":!s.compact}])},[s.compact?E("",!0):(m(),U(we,{key:0,level:3,class:"text-center font-normal"},{default:o(()=>[f("What's New")]),_:1})),Su,s.compact?E("",!0):(m(),w("p",Iu,[a(r(Q),{class:"inline-block",onClick:p[0]||(p[0]=v=>n("explore"))},{default:o(()=>[f("Explore the new features")]),_:1})]))],2)):E("",!0),s.showPlus?(m(),w("div",{key:1,class:A(["flex flex-col h-full justify-start space-y-4 border-[1px] rounded-lg px-5 py-4 bg-gradient-to-tr from-plus-gradient-stop/15 to-plus-gradient-start/15 transition-all",{"hover:drop-shadow-lg hover:-translate-y-1":!s.compact}])},[s.compact?E("",!0):(m(),U(we,{key:0,level:3,class:"text-center font-normal"},{default:o(()=>[Mu,f(" advanced features")]),_:1})),i("ul",Pu,[i("li",null,[Eu,i("span",Ou,[a(r(qt),{open:l.value,"onUpdate:open":p[2]||(p[2]=v=>l.value=v)},{default:o(()=>[a(T,{onClick:p[1]||(p[1]=v=>l.value=!0),class:"font-medium text-primary"},{default:o(()=>[f("per data type")]),_:1}),a(r(Rt)),a(r(jt),{class:"space-y-1"},{default:o(()=>[Uu,Au,Tu]),_:1})]),_:1},8,["open"])])]),i("li",null,[Bu,i("span",Lu,[a(r(qt),{open:u.value,"onUpdate:open":p[4]||(p[4]=v=>u.value=v)},{default:o(()=>[a(T,{onClick:p[3]||(p[3]=v=>u.value=!0),class:"font-medium text-primary"},{default:o(()=>[f("custom presets")]),_:1}),a(r(Rt)),a(r(jt),{class:"space-y-1"},{default:o(()=>[Vu,Du]),_:1})]),_:1},8,["open"])])]),i("li",null,[Ru,i("span",ju,[a(r(qt),{open:c.value,"onUpdate:open":p[6]||(p[6]=v=>c.value=v)},{default:o(()=>[a(T,{onClick:p[5]||(p[5]=v=>c.value=!0),class:"font-medium text-primary"},{default:o(()=>[f("schedule and triggers")]),_:1}),a(r(Rt)),a(r(jt),{class:"space-y-1"},{default:o(()=>[qu,zu]),_:1})]),_:1},8,["open"])])]),Fu,Nu,Wu]),s.compact?E("",!0):(m(),w("div",Hu,[a(ku)])),s.compact?E("",!0):(m(),w("p",Yu,[a(Fe,{class:"inline-block",onClick:p[7]||(p[7]=v=>n("subscribe"))},{default:o(()=>[Ku]),_:1})]))],2)):E("",!0)]))}}),Xu={key:0,title:"Compared to a monthly plan"},Qu=["title"],Gu=V({__name:"Savings",props:{item:{},itemModifiers:{},allItems:{},allItemsModifiers:{}},emits:["update:item","update:allItems"],setup(e){const t=I(),s=z(e,"item"),n=z(e,"allItems"),l=()=>{t.value=jr(s.value,n.value,5)};return ne(s,l),ne(n,l),re(l),(c,u)=>{var d,p,v;return t.value?(m(),w("span",Xu,[f(" Save "+j((d=t.value)==null?void 0:d.percent)+"% ",1),(p=t.value)!=null&&p.numMonths?(m(),w("span",{key:0,title:`Compared to the ${t.value.maxItem.price.name} plan`},"("+j((v=t.value)==null?void 0:v.numMonths)+" month value)",9,Qu)):E("",!0)])):E("",!0)}}}),Zu=V({__name:"CopyToClipboard",props:{modelValue:{required:!0,default:""},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=z(e,"modelValue"),{copy:s,copied:n,isSupported:l}=Ja({source:t});return(c,u)=>r(l)?(m(),w("button",{key:0,onClick:u[0]||(u[0]=ge(d=>r(s)(t.value),["prevent","stop"])),title:"Copy to clipboard",class:"inline-block overflow-auto size-5 rounded-md border-border border-[1px] border-solid hover:border-accent-foreground"},[r(n)?(m(),U(r(xa),{key:1,class:"size-full bg-primary text-primary-foreground p-1"})):(m(),U(r(wa),{key:0,class:"size-full p-1 bg-secondary text-secondary-foreground"}))])):E("",!0)}}),ec={class:"gap-2 flex items-center"},tc={key:1,class:"grow space-x-1 first-letter:capitalize"},sc={key:0},ac={key:1,class:"text-plus-gradient"},nc={key:2},lc={key:3},oc={class:"font-medium bg-primary text-primary-foreground rounded-md px-1"},ic=V({__name:"Discount",props:pe({icon:{type:Boolean,default:!1}},{item:{},itemModifiers:{}}),emits:["update:item"],setup(e){const t=z(e,"item"),s=I(),n=async()=>{var c,u;try{if(!t.value){const v=await Et.getInstance().getPricePreviews(!1).catch(),g=v==null?void 0:v.data.details.lineItems.filter($=>$.discounts!=null&&$.discounts.length>0),h=Va(g);h.item&&(t.value=h.item)}let d=((u=(c=t.value)==null?void 0:c.discounts)==null?void 0:u.filter(v=>v.discount.status==="active"))??[];d=d.sort((v,g)=>parseFloat(g.discount.amount)-parseFloat(v.discount.amount));const p=d.length>0;s.value=p?d[0]:void 0}catch(d){Y.error("Failed to load discounts",d),s.value=void 0}},l=D(()=>{var p,v,g,h;const c=(p=s.value)==null?void 0:p.discount.maximumRecurringIntervals,u=(v=s.value)==null?void 0:v.discount.recur,d=(h=(g=t.value)==null?void 0:g.price.billingCycle)==null?void 0:h.interval;if(!u||c===1)return`one ${d}`;if(c){if(c>1)return`for ${c} ${d}s`}else return`every ${d}`});return ne(t,n),re(n),(c,u)=>Z((m(),w("span",ec,[e.icon?(m(),U(r(Fn),{key:0,class:"inline-block align-bottom size-8 shrink-0 text-secondary-foreground/50","stroke-width":"1"})):E("",!0),s.value&&t.value?(m(),w("span",tc,[s.value.discount.usageLimit?(m(),w("span",sc,"first "+j(s.value.discount.usageLimit)+" subscribers get",1)):E("",!0),s.value.discount.amount?(m(),w("span",ac,j(s.value.discount.amount)+"% off",1)):E("",!0),l.value?(m(),w("span",nc,j(l.value),1)):E("",!0),s.value.discount.code?(m(),w("span",lc,[f("with code "),i("code",oc,j(s.value.discount.code),1),a(Zu,{"model-value":s.value.discount.code,class:"align-text-top ml-1"},null,8,["model-value"])])):E("",!0)])):E("",!0)],512)),[[te,s.value&&t.value]])}}),rc=e=>(Ve("data-v-6626d182"),e=e(),De(),e),uc={class:"flex flex-col gap-4 items-center w-full"},cc={class:"flex flex-col text-center space-y-0.5 drop-shadow-lg"},dc={class:"text-2xl uppercase tracking-wider font-normal group-[.selected]:font-semibold"},fc={key:0,class:"text-xs py-1 font-light"},pc={class:"block font-normal group-[.selected]:font-semibold"},mc={class:"text-lg"},vc={class:"text-xs font-light leading-none"},gc=rc(()=>i("p",{class:"text-lg font-light tracking-tight text-center"},[f("What you get with "),i("span",{class:"text-plus-gradient"},"Plus"),f(":")],-1)),hc=V({__name:"ChoosePlan",setup(e){const t=Ge("wizardContext"),s=I(),n=I(),l=us();if(!t)throw new Error("ChoosePlan must be used within a Checkout component");const c=async()=>{l.value.planId==="undefined"&&(l.value.planId=void 0),Y.debug("Updating plans...",l.value.planId),t.setButtonStates({},{}),t.handleStepSubmit(async()=>{}),t.showSpinner();try{const v=Ie.getInstance(),g=Et.getInstance(),h=v.isLoggedIn();s.value=await g.getPricePreviews(h);const $=l.value.planId,x=l.value.planInterval,y=await g.getBestMatchingPlanId($,x,n.value,h);u(y.price.id),t.hideSpinner()}catch{throw t.hideSpinner(),t.setButtonStates({},{text:"Try Again"}),t.handleStepSubmit(c),l.value.planId="undefined",new he("planId","Could not load plans. Please ensure you're connected to the internet, or try again later.")}},u=v=>{var x,y,_;if(!v)return;const g=((x=s.value)==null?void 0:x.data.details.lineItems)??[];n.value=g.sort((b,M)=>{const O=parseFloat(b.price.unitPrice.amount),N=parseFloat(M.price.unitPrice.amount);return O-N});const h=(y=n.value)==null?void 0:y.find(b=>b.price.id===v),$=((_=h==null?void 0:h.price.billingCycle)==null?void 0:_.interval)??cs.YEAR;l.value.planId=(h==null?void 0:h.price.id)??"",l.value.planInterval=$},d=v=>v===0,p=v=>{var g;return v===(((g=n==null?void 0:n.value)==null?void 0:g.length)??0)-1};return t.onShow(async()=>c()),(v,g)=>(m(),U(r(Ct),{name:"planId",type:"radio"},{default:o(({componentField:h})=>[a(r(ot),null,{default:o(()=>[a(r($t),null,{default:o(()=>[a(r(ha),Ss(h,{class:"grid grid-cols-2 gap-8 pb-4","onUpdate:modelValue":u}),{default:o(()=>[n.value!==void 0?(m(!0),w(ye,{key:0},Be(n.value,($,x)=>(m(),U(r(ot),null,{default:o(()=>[a(r($t),null,{default:o(()=>[a(r(_a),{name:"planId",value:$.price.id,class:"sr-only"},null,8,["value"])]),_:2},1024),a(r(Nt),null,{default:o(()=>[i("div",uc,[a(Fe,{selected:r(l).planId===$.price.id,class:A(["self-stretch group peer data-[selected=false]:opacity-80 data-[selected=true]:scale-105 data-[selected=true]:shadow-xl",{"origin-left":d(x),"origin-right":p(x)}])},{default:o(()=>[a(r(Hs),{class:"aspect-square place-content-center space-y-0 transition-all text-plus-foreground"},{default:o(()=>[a(r(ca),{class:"size-20 my-1 mx-auto group-hover:scale-110 drop-shadow-lg"}),i("div",cc,[i("p",dc,j($.price.name),1),r(Dr)($.price)?(m(),w("p",fc,"Free "+j(r(Rr)($.price,!1))+" trial, then",1)):E("",!0),i("div",pc,[i("p",mc,j($.formattedUnitTotals.subtotal),1),i("p",vc,j(r(La)($.unitTotals.tax)),1)])])]),_:2},1024)]),_:2},1032,["selected","class"]),a(Gu,{item:n.value[x],"onUpdate:item":y=>n.value[x]=y,"all-items":n.value,"onUpdate:allItems":g[0]||(g[0]=y=>n.value=y),class:A(["px-3 py-1 rounded-full text-primary-foreground bg-plus-gradient text-center text-balance text-xs font-normal opacity-80 shadow-md scale-100 peer-[.selected]:scale-105 peer-[.selected]:translate-y-2 peer-[.selected]:opacity-100 peer-[.selected]:shadow-lg",{"origin-left":d(x),"origin-right":p(x)}])},null,8,["item","onUpdate:item","all-items","class"])])]),_:2},1024)]),_:2},1024))),256)):E("",!0)]),_:2},1040),a(r(kt)),a(ic,{class:"w-full mt-6 p-1 text-sm font-light tracking-tight leading-7 text-center border-primary border-dashed border-[1px] rounded-xl"})]),_:2},1024),a(r(Hs),{class:"space-y-2"},{default:o(()=>[gc,a(Ju,{"show-basic":!1,compact:!0,class:"text-base font-light tracking-tight leading-normal"})]),_:1})]),_:2},1024)]),_:1}))}}),_c=oe(hc,[["__scopeId","data-v-6626d182"]]),Me=e=>(Ve("data-v-bee7c488"),e=e(),De(),e),yc={class:"font-normal text-base flex flex-col gap-4"},bc={class:"flex justify-center items"},wc={key:0},xc={key:0,class:"text-muted-foreground"},$c={key:0},kc={key:1,class:"space-y-2"},Cc=Me(()=>i("p",null,"Requesting permissions to contact our subscriptions backend...",-1)),Sc=Me(()=>i("em",{class:"text-primary"},"Allow",-1)),Ic={key:1,class:"space-y-8 text-balance"},Mc=Me(()=>i("p",{class:"text-xl"},"Welcome back! ♻️",-1)),Pc=Me(()=>i("p",null,[f("It looks like you already tried Clear Cache "),i("span",{class:"text-plus-gradient"},"Plus"),f(" previously, and trials are only available to new users.")],-1)),Ec={class:"text-primary"},Oc={class:"flex flex-col space-y-4"},Uc={key:2,class:"space-y-4"},Ac={key:3,class:"space-y-4"},Tc={key:4,class:"space-y-4"},Bc=Me(()=>i("p",{class:"status warning"},"We're still syncing your subscription with our backend.",-1)),Lc={key:5,class:"space-y-4"},Vc={key:0},Dc={key:6,class:"space-y-4"},Rc=Me(()=>i("p",null,[i("strong",null,"Welcome back!")],-1)),jc={class:"text-success"},qc=Me(()=>i("p",{class:"status success"},[f("Enjoy Clear Cache "),i("span",{class:"text-plus-gradient"},"Plus"),f("! 😊♻️")],-1)),zc={key:7,class:"space-y-8"},Fc=Me(()=>i("p",null,[i("strong",null,"Thanks for subscribing!")],-1)),Nc=Me(()=>i("p",{class:"status success"},[f("Enjoy Clear Cache "),i("span",{class:"text-plus-gradient"},"Plus"),f("! 😊♻️")],-1)),Wc=Me(()=>i("blockquote",{class:"italic space-y-2 text-balance"},[i("p",null,"Your support means a lot and contributes to the development of this extension."),i("p",null,"Thank you, Ben")],-1)),Hc={class:"text-xs text-muted-foreground space-y-1 flex justify-between items-end"},Yc={class:"flex gap-1"},Kc=Me(()=>i("span",null,"Questions?",-1)),Jc=V({__name:"Payment",setup(e){const t=Ge("wizardContext");if(!t)throw new Error("Payment must be used within a Checkout component");const s=Le.getInstance(),n=Ie.getInstance(),l=Et.getInstance(),c=us(),u=I("Processing"),d=qs(async()=>await s.hasPermissions());let p;const v=async()=>{var F,G;if(Y.info("Checking out..."),u.value==="Completed"||u.value==="Subscription Restored"){Y.info("Checkout completed, proceeding to next step");return}try{u.value="Processing",await s.ensurePermissions(),c.value.email||(c.value.email=n.getUserEmail());let k=n.getCustomerId();const C=c.value.planId,S=c.value.planInterval,q=c.value.email;if(!C)throw u.value="Session error",new Error("Your session has expired (plan was not found).");if(!q&&!k)throw u.value="Session error",new Error("Your session has expired.");await s.update();const K=s.getSubscription();if(K){if(K.status==="active"||K.status==="trialing")throw u.value="Subscription Restored",new Error;if(K.status==="paused"||K.status==="past_due"){u.value="Subscription on Hold";const Ne=K.status==="paused"?"paused":"past due";throw new Error(`You have a subscription that is currently ${Ne}.`)}const B=await y(!0),L=await l.getBestMatchingPlanId(C,S,B,!0),xe=L.price.id===C,Pe=L.price.trialPeriod??!1;if(!xe&&!Pe)throw u.value="Plan not available",new Error}const ee=h(C,q,k),P=await s.checkout(ee);if(Y.debug(bt.green("Checkout result:"),P),P.status===Ys.canceled)throw Y.info(bt.yellow("Checkout canceled:"),P.status),u.value="Checkout canceled",new Error("Checkout canceled.");if(P.status!==Ys.COMPLETED||((F=P.customer)==null?void 0:F.id)===void 0)throw Y.error("Checkout failed:",P.status,(G=P.customer)==null?void 0:G.id),u.value="Checkout failed",new Error(`Checkout failed: ${P.status}`);k=P.customer.id,await n.saveCustomerId(k),await g(!1),u.value="Completed"}catch(k){const C=k instanceof Error?(k==null?void 0:k.message)??k:k;if(Y.debug("Checkout error:",C,`checkout status: ${u.value}`),k instanceof Error&&k.name===nn.CheckoutClosed?u.value="Checkout canceled":u.value==="Processing"&&(u.value="Checkout failed"),k.message)throw new he("status",(k==null?void 0:k.message)||"Something went wrong.")}},g=async(F=!0)=>{if(await s.update(10,!0),!s.isSubscribed()&&(u.value="Validation failed",!F))throw new Error("Could not verify your subscription at this time.")},h=(F,G,k)=>{let C;if(k)C={id:k};else if(G)C={email:G};else throw new Error("No email or customer ID provided.");return{customer:C,items:[{priceId:F,quantity:1}],customData:{userId:n.getUserId()}}},$=async()=>{await v().catch(()=>{})},x=async()=>{var S;const F=c.value.planId,G=c.value.planInterval,k=await y(),C=await l.getBestMatchingPlanId(F,G,k,!0);if(C&&C.price.id!==F){Y.info("Switching to eligible plan:",C.price.name,C.price.id);const q=C.price.id,K=((S=C.price.billingCycle)==null?void 0:S.interval)??cs.YEAR;c.value.planId=q,c.value.planInterval=K,await v()}},y=async(F=!1)=>((!p||F)&&(p=(await l.getPricePreviews(!0,F)).data.details.lineItems),p),_=async()=>{await t.goTo(0)},b=D(()=>s.getUpdatePaymentUrl()),M=qs(async()=>{var k;const F=await y(!0),G=F==null?void 0:F.find(C=>C.price.id===c.value.planId);return((k=G==null?void 0:G.price)==null?void 0:k.name)??""}),O=async()=>{switch(u.value){case"Completed":case"Subscription Restored":case"Validation failed":return;case"Plan not available":case"Checkout canceled":case"Checkout failed":case"Session error":default:return _()}},N=async F=>{switch(F==="Processing"?t.showSpinner():t.hideSpinner(),t.handleStepSubmit(async()=>v()),F){case"Processing":t.setButtonStates({visible:!1},{visible:!1});break;case"Completed":t.setButtonStates({visible:!1},{text:"Continue"});break;case"Subscription Restored":t.setButtonStates({visible:!1},{text:"Continue"});break;case"Plan not available":t.setButtonStates({text:"Review Plans"},{text:"Confirm"}),t.handleStepSubmit(async()=>x());break;case"Checkout canceled":case"Checkout failed":t.setButtonStates({text:"Review Plans"},{text:"Retry"});break;case"Validation failed":t.setButtonStates({visible:!1},{text:"Retry"});break;case"Subscription on Hold":case"Session error":default:t.setButtonStates({text:"Try Again"},{visible:!1});break}};return ne(u,N),re(()=>{N(u.value),t.onShow(async()=>v()),t.onReload(async()=>v())}),(F,G)=>(m(),w("div",yc,[i("p",bc,[r(M)?(m(),w("span",wc,[f("Selected plan: "),a(T,{class:"text-xs shrink-0",onClick:O,title:"Click to change"},{default:o(()=>[a(r(ys),{variant:"default"},{default:o(()=>[f(j(r(M)),1)]),_:1})]),_:1})])):E("",!0)]),a(r(ss),{class:"text-sm text-center p-8 text-balance"},{default:o(()=>[a(r(Ct),{name:"status"},{default:o(()=>[a(r(ot),null,{default:o(()=>[a(r(kt),{class:"mb-8"})]),_:1})]),_:1}),u.value==="Processing"?(m(),w("div",xc,[r(d)?(m(),w("p",$c,"Connecting you to our subscriptions backend...")):(m(),w("div",kc,[Cc,a(ft,{class:"block mx-auto w-12 h-12 text-primary"}),a(we,{level:4},{default:o(()=>[f("Please select "),Sc,f(" to continue.")]),_:1})]))])):u.value==="Plan not available"?(m(),w("div",Ic,[Mc,Pc,i("p",null,[f("Would you like to continue with a "),i("span",Ec,j(r(M)),1),f(" subscription?")]),i("p",Oc,[a(r(Q),{onClick:x},{default:o(()=>[f("Sign me up!")]),_:1})]),i("p",null,[a(T,{onClick:_,class:"text-xs"},{default:o(()=>[f("Review all available Plans")]),_:1})])])):E("",!0),u.value==="Session error"?(m(),w("div",Uc,[i("p",null,[f("Please "),a(T,{onClick:_},{default:o(()=>[f("go back to enter your email")]),_:1}),f(". ")])])):E("",!0),u.value==="Checkout canceled"||u.value==="Checkout failed"?(m(),w("div",Ac,[i("p",null,[a(T,{onClick:$},{default:o(()=>[f("Click here to try again")]),_:1})]),i("p",null,[f("Please "),a(T,{onClick:$},{default:o(()=>[f("try again")]),_:1}),f(" or contact support at "),a(T,{href:r(le).links.support},{default:o(()=>[f("clearcache.io/support")]),_:1},8,["href"]),f(". ")])])):u.value==="Validation failed"?(m(),w("div",Tc,[Bc,i("p",null,[a(T,{onClick:g},{default:o(()=>[f("Click here to refresh your status")]),_:1}),f(" or contact support at "),a(T,{href:r(le).links.support},{default:o(()=>[f("clearcache.io/support")]),_:1},8,["href"]),f(" if the issue persists. ")])])):u.value==="Subscription on Hold"?(m(),w("div",Lc,[b.value?(m(),w("p",Vc,[a(T,{href:b.value},{default:o(()=>[f("Update your payment method")]),_:1},8,["href"]),f(" to continue your subscription, or contact "),a(T,{href:r(le).links.support},{default:o(()=>[f("clearcache.io/support")]),_:1},8,["href"]),f(" if you have any questions. ")])):E("",!0)])):u.value==="Subscription Restored"?(m(),w("div",Dc,[Rc,a(r(Wt),{class:"block mx-auto w-12 h-12 text-success"}),i("p",null,[f("We found an active subscription for "),i("em",jc,j(r(c).email),1),f(".")]),i("p",null,[f("We haven't made any changes to your account. You can always "),a(T,{href:r(s).getUpdatePaymentUrl()??""},{default:o(()=>[f("review and manage your subscription here")]),_:1},8,["href"]),f(". ")]),qc])):u.value==="Completed"?(m(),w("div",zc,[Fc,a(r(Wt),{class:"block mx-auto w-12 h-12 text-success"}),Nc,Wc])):E("",!0)]),_:1}),i("div",Hc,[i("p",Yc,[Kc,a(T,{href:r(le).links.support},{default:o(()=>[f("clearcache.io/support")]),_:1},8,["href"])])])]))}}),Xc=oe(Jc,[["__scopeId","data-v-bee7c488"]]),Qc=V({__name:"Checkout",props:{isOpen:{type:Boolean,type:Boolean,default:!1},isOpenModifiers:{}},emits:["update:isOpen"],setup(e,{expose:t}){const s=I([Je.ChoosePlan,Je.EnterEmail,Je.VerifyEmail,Je.Payment]),n={initialValues:{planId:"",planInterval:cs.YEAR,email:"",termsAccepted:!1,emailCode:Array(le.emailCodeLength).fill("")}},l=Ie.getInstance(),c=I(0),u=D(()=>g[c.value]),d=D(()=>h[c.value]),p=D(()=>$[c.value]),v=z(e,"isOpen"),g={0:'Clear Cache PLUS',1:"Set up an Account",2:"Confirm your Email",3:"Checkout"},h={0:ia("Pick a flexible monthly plan, or save with a yearly plan."),1:"We store your email securely and only use it for payments and subscription management.",2:"Confirm your email by entering the code we sent you. If you can't find it, check your spam folder.",3:""},$={0:"text-lg tracking-tight ",1:"",2:"",3:""},x=async(b,M)=>{if(Math.abs(M-b)>1)return M;switch(b){case 0:return l.isLoggedIn()?3:M;case 1:return l.isLoggedIn()?3:2;case 2:case 3:default:return M}},y=async(b,M)=>b===3?0:M,_=async()=>{v.value=!1};return t({open:async b=>{b&&n.initialValues&&(n.initialValues.email=b),v.value=!0}}),ne(v,b=>{b&&(c.value=0)}),(b,M)=>(m(),U(r(rs),{open:v.value,"onUpdate:open":M[1]||(M[1]=O=>v.value=O)},{default:o(()=>[a(r(Ps),{class:"flex flex-col gap-2"},{default:o(()=>[J(b.$slots,"trigger",{},()=>[a(r(pt),{class:"flex gap-2 items-center"},{default:o(()=>[a(r(Q),null,{default:o(()=>[f("Subscribe")]),_:1})]),_:1})],!0)]),_:3}),a(r(as),{class:"p-6 overflow-auto max-h-screen"},{default:o(()=>[a(r(ns),null,{default:o(()=>[a(r(ls),null,{default:o(()=>[a(we,{level:2,innerHTML:u.value},null,8,["innerHTML"])]),_:1}),a(r(os),{innerHTML:d.value,class:A(["text-base leading-tight font-light",p.value])},null,8,["innerHTML","class"])]),_:1}),v.value?(m(),U(Ua,{key:0,onSubmit:_,validationSchemas:s.value,"form-options":n,"current-step":c.value,"onUpdate:currentStep":M[0]||(M[0]=O=>c.value=O),"route-to-next":x,"route-to-prev":y},{default:o(()=>[a(Ke,null,{default:o(()=>[a(_c)]),_:1}),a(Ke,null,{default:o(()=>[a(Ta)]),_:1}),a(Ke,null,{default:o(()=>[a(Ba)]),_:1}),a(Ke,null,{default:o(()=>[a(Xc)]),_:1})]),_:1},8,["validationSchemas","current-step"])):E("",!0)]),_:1})]),_:3},8,["open"]))}}),Gc=oe(Qc,[["__scopeId","data-v-23e44516"]]),Zc=e=>(Ve("data-v-13a0d6cb"),e=e(),De(),e),ed={key:0},td={class:"flex gap-4 items-center"},sd={key:0},ad={class:"h-full flex items-center pl-2"},nd={key:1},ld={key:1},od=Zc(()=>i("div",{class:"p-3 font-medium"},[f("Get "),i("em",null,"PLUS")],-1)),id={key:2},rd={class:"flex flex-col items-start drop-shadow-md"},ud={key:1},cd=V({__name:"Session",setup(e){const t=Ie.getInstance(),s=Le.getInstance(),n=I(),l=I(!1),c=I(void 0),u=I(!1),d=I(!1),p=I(!1),v=I(),g=I(),h=D(()=>{const O=v.value==="paused"||v.value==="past_due";return p.value||!O&&(!l.value||c.value===!1)}),$=D(()=>!l.value||d.value),x=D(()=>v.value==="loading"),y=async O=>{n.value=(O==null?void 0:O.session)??t.getSession(),l.value=t.isLoggedIn();try{c.value=s.isSubscribed(!0);let N=s.getStatus();N===void 0&&(N=l.value&&s.isLoading()?"loading":"none"),v.value=N}catch{v.value="error"}Y.debug(`Auth updated (logged in: ${l.value}, sub: ${s.getStatus()??"none"})`)},_=O=>{var N;(N=g.value)==null||N.open(O)},b=D(()=>{switch(v.value){case"active":case"trialing":return"bg-plus-gradient text-plus-foreground";case"paused":case"canceled":return"bg-warning text-warning-foreground";case"error":case"past_due":return"bg-destructive text-destructive-foreground";case"loading":default:return"bg-secondary text-secondary-foreground"}}),M=D(()=>{switch(v.value){case"active":return"PLUS";case"trialing":return"PLUS | Trial";case"paused":return"Paused";case"canceled":return"Canceled";case"past_due":return"Past Due";case"none":return"Not Subscribed";case"error":return"Error";case"logged-out":return"Logged Out";case"loading":return"loading";default:return"..."}});return re(async()=>{v.value="loading",t.addEventListener(Ft.Changed,y),s.addEventListener(Ae.SubscriptionValidated,y),s.addEventListener(Ae.SubscriptionInvalidated,y),s.addEventListener(Ae.CheckoutRequested,O=>{var N;_((N=O.options)==null?void 0:N.email)}),await t.init(),await s.waitForInit(),await s.update(),await y(),u.value=!0}),(O,N)=>(m(),U(ts,null,{default:o(()=>[u.value?(m(),w("div",ed,[i("div",td,[l.value?(m(),w("div",sd,[a(r(Ot),null,{default:o(()=>[a(r(Ut),null,{default:o(()=>[a(r(Q),{class:"flex p-0 gap-2 rounded-lg bg-card drop-shadow-md items-stretch overflow-hidden",variant:"ghost"},{default:o(()=>{var F;return[i("span",ad,j((F=n.value)==null?void 0:F.username),1),i("span",{class:A(["h-full flex items-center p-2 drop-shadow-md relative min-w-8",b.value])},[x.value?(m(),U(ft,{key:0,class:"absolute size-4 m-0 text-primary"})):(m(),w("span",nd,j(M.value),1))],2)]}),_:1})]),_:1}),a(r(At),{class:"w-80","avoid-collisions":!0,"collision-padding":32,sideOffset:8},{default:o(()=>[a(Ra,{spacing:"tight"}),a(r(ba),{width:16,height:8,class:"fill-popover mt-[-1px]"})]),_:1})]),_:1})])):E("",!0),h.value?(m(),w("div",ld,[a(Gc,{"is-open":p.value,"onUpdate:isOpen":N[0]||(N[0]=F=>p.value=F),ref_key:"checkoutRef",ref:g},{trigger:o(()=>[Z(a(Fe,null,{default:o(()=>[od]),_:1},512),[[te,!c.value&&!x.value]])]),_:1},8,["is-open"])])):E("",!0),$.value?(m(),w("div",id,[a(bu,{onSubscribe:_,"is-open":d.value,"onUpdate:isOpen":N[1]||(N[1]=F=>d.value=F)},{trigger:o(()=>[Z(i("div",rd,[a(T,{class:"text-sm text-primary-foreground",title:"Already signed up?"},{default:o(()=>[f("Log In")]),_:1})],512),[[te,!l.value]])]),_:1},8,["is-open"])])):E("",!0)])])):(m(),w("div",ud,[a(ft,{class:"block size-6 m-2 text-primary-foreground opacity-75"})]))]),_:1}))}}),dd=oe(cd,[["__scopeId","data-v-13a0d6cb"]]),fd=V({__name:"Nav",setup(e){const t=I();return(s,n)=>(m(),w("nav",{class:"fixed top-8 left-8 right-8 z-10",ref_key:"nav",ref:t},[a(yr,{class:"absolute right-0"}),a(dd,{class:"absolute left-0"})],512))}}),pd=V({__name:"LogoAnimation",props:pe({logoImgPath:{},duration:{default:3500}},{isComplete:{type:Boolean,required:!1,default:!1},isCompleteModifiers:{}}),emits:pe(["started","completed"],["update:isComplete"]),setup(e,{emit:t}){const s=ta(),{logoImgPath:n,duration:l}=e,c=I();let u,d=400,p=I(d/2);const v=z(e,"isComplete"),g=t;return re(async()=>{var x;u=new ln(d,d,(x=c.value)==null?void 0:x.transferControlToOffscreen()),u.offset={x:0,y:0},u.scale=1,u.gradientCenter=.5;const h={r:0,g:255,b:64,a:1},$={r:0,g:64,b:255,a:1};u.startColorA={r:100,g:100,b:100,a:1},u.startColorB={r:100,g:100,b:100,a:1},u.gradientStopA={...$,a:.75},u.gradientStopB={...h,a:.75},u.endColorA={...h,a:1},u.endColorB={...$,a:1},u.shadowColorString="none",u.addEventListener(Fs.AnimationStart,()=>{v.value=!1,g("started")}),u.addEventListener(Fs.AnimationStop,()=>{v.value=!0,g("completed")}),await u.preload(n),s.value==="reduce"?(u.animationStyle=on.fade,u.animationDuration=l*.5,u.startAnimation()):(u.animationRotations=10.1,u.animationDuration=l,u.startAnimation())}),(h,$)=>(m(),w("canvas",{ref_key:"canvas",ref:c,style:Xa({width:`${r(p)}px`,height:`${r(p)}px`})},null,4))}}),ps=e=>(Ve("data-v-c93e9142"),e=e(),De(),e),md={class:"leading-tight font-light text-muted-foreground text-balance text-lg mb-2"},vd=sa('

Welcome to Clear Cache 2 👋
Still free, still private — no ads, no data selling.

  • ✨ New Features: So many! Clear only the active tab, custom domains, and much more
  • 🛡️ Better Privacy: Upgraded to Manifest V3
  • 🎨 Fresh UI: Rewritten from the ground up
',2),gd=ps(()=>i("p",null,"Like Clear Cache? Help me continue development:",-1)),hd={class:"w-full grid grid-flow-col gap-12 items-stretch justify-center place-content-between text-base"},_d=ps(()=>i("div",{class:"px-5 py-3 font-medium text-lg leading-snug"},[i("span",{class:"block"},[f("Support with "),i("em",null,"PLUS")]),i("span",{class:"block text-sm font-light opacity-75"},"for advanced features")],-1)),yd=ps(()=>i("div",{class:"px-5 py-3 font-medium text-lg leading-snug"},[i("span",{class:"block"},"Buy me a coffee"),i("span",{class:"block text-sm font-light opacity-75"},"to fuel development")],-1)),bd={class:"max-w-[500px] mx-auto"},wd=["href"],xd=ps(()=>i("span",null,"Ben",-1)),$d=["src"],kd={class:"text-right"},Cd=V({__name:"Welcome",emits:["close","subscribe"],setup(e,{emit:t}){const s=t;return(n,l)=>(m(),w("div",md,[vd,a(r(ss),{class:"p-8 space-y-8 text-muted-foreground bg-muted dark:bg-card"},{default:o(()=>[gd,i("div",hd,[a(Fe,{onClick:l[0]||(l[0]=c=>s("subscribe")),class:"shadow-md"},{default:o(()=>[_d]),_:1}),a(Fe,{href:r(le).links.coffee,target:"_blank",class:"shadow-md"},{default:o(()=>[yd]),_:1},8,["href"])]),i("p",bd,[f("Thanks for your support! "),i("a",{class:"hover:text-primary",href:r(le).links.author,target:"_blank",title:"Ben Bojko"},[xd,a(r($a),{class:"size-6 ml-2 align-middle"},{default:o(()=>[i("img",{src:r(Ms).authorIconPath},null,8,$d)]),_:1})],8,wd)])]),_:1}),i("div",kd,[a(Q,{class:"p-6 rounded-md text-base",onClick:l[1]||(l[1]=c=>s("close"))},{default:o(()=>[f("Continue with Free Version "),a(r(Nn),{class:"size-4 ml-1"})]),_:1})])]))}}),Sd=oe(Cd,[["__scopeId","data-v-c93e9142"]]),Id=i("span",null,"Updating Clear Cache",-1),Md={key:0,class:"flex flex-col text-center space-y-8 text-lg"},Pd={class:"flex flex-col pt-4 w-full items-center scale-75"},Ed={class:"space-y-8 pb-8"},Od={key:0,class:"align-top"},Ud={key:1,class:"space-y-4"},Ad={key:0},Td={key:2,class:"text-primary"},Bd={key:3,class:"flex flex-col items-center text-balance gap-8 text-sm text-muted-foreground"},Ld=["innerHTML"],Vd={key:1},Dd={key:1},Rd={class:"flex w-full justify-end space-x-4"},jd=V({__name:"Migration",props:{isMigrating:{type:Boolean,required:!0,default:!1},isMigratingModifiers:{},migrations:{required:!1,default:[]},migrationsModifiers:{}},emits:["update:isMigrating","update:migrations"],setup(e){const t=D(()=>d.value>1||h.value!==""&&d.value>0),s=D(()=>d.value<1),n=()=>{t.value&&d.value--},l=()=>{s?d.value++:c()},c=()=>{p.value=!1},u=async()=>{c(),Le.getInstance().requestCheckout()},d=I(0),p=I(!1),v=I(!1),g=I(!1),h=I(""),$=z(e,"isMigrating"),x=z(e,"migrations"),y=D(()=>($.value||!!h.value)&&v.value),_=I(""),b=async()=>dt.download(_.value,"clearcache-backup.json"),M=F=>{$.value?p.value=!0:F||(p.value=!1,$.value=!1,x.value=[])},O=()=>{Y.debug("Animation complete"),v.value=!0,N()},N=()=>{$.value||!v.value||d.value!==0||g.value||h.value!==""||l()};return ne($,F=>{F?p.value=!0:p.value&&N()}),ne(x,async F=>{const G=F.map(S=>S.message??"").filter(S=>S!==""),k=F.flatMap(S=>S.errors??[]);h.value=G.join(` + +`),k.length>0&&(g.value=!0,h.value+=` + +`+k.join(` + +`)),h.value&&(h.value=ia(h.value));const C=await ra.getInstance().getBackups();_.value=JSON.stringify(C??{})}),(F,G)=>{const k=ea("auto-animate");return m(),w("div",{class:A({"is-migrating":p.value||$.value})},[a(r(rs),{open:p.value,"onUpdate:open":M},{default:o(()=>[a(r(as),{class:"max-w-[650px] max-h-full overflow-y-auto font-light"},{default:o(()=>[d.value===0?(m(),U(r(ns),{key:0},{default:o(()=>[a(r(ls),{class:"text-center text-4xl font-medium text-nowrap pt-8"},{default:o(()=>[Id]),_:1}),a(r(os),{class:"hidden"})]),_:1})):E("",!0),a(ks,null,{default:o(()=>[d.value===0?(m(),w("div",Md,[i("div",Pd,[a(pd,{"logo-img-path":r(Ms).logoImgPath,onCompleted:O,duration:3500},null,8,["logo-img-path"])]),Z((m(),w("div",Ed,[$.value||!v.value?(m(),w("div",Od,[a(ft,{class:"inline-block size-6 align-text-bottom"}),f(" Migrating your settings. ")])):g.value?(m(),w("div",Ud,[a(r(zt),{class:"inline size-4 align-baseline"}),f(" Migration complete, but we hit some snags. Please double-check your settings. "),_.value?(m(),w("span",Ad,[f("You can also "),a(T,{onClick:b},{default:o(()=>[f("download a backup")]),_:1}),f(" of your old settings. ")])):E("",!0)])):(m(),w("span",Td,"All settings migrated successfully!")),y.value?(m(),w("div",Bd,[h.value?(m(),U(r(ma),{key:0,class:A(["p-4 w-full bg-muted rounded-lg max-h-48 overflow-y-auto result-message",{"text-destructive":g.value}])},{default:o(()=>[i("div",{innerHTML:h.value},null,8,Ld)]),_:1},8,["class"])):E("",!0),g.value?(m(),w("p",Vd,[f("For support, visit "),a(T,{href:r(le).links.support},{default:o(()=>[f("clearcache.io/support")]),_:1},8,["href"])])):E("",!0)])):E("",!0)])),[[k]])])):d.value===1?(m(),w("div",Dd,[a(Sd,{onSubscribe:u,onClose:c,class:"space-y-8 font-light text-balance text-center text-muted-foreground"})])):E("",!0)]),_:1}),a(ks,null,{default:o(()=>[!$.value&&v.value&&d.value!==1?(m(),U(r(ga),{key:0},{default:o(()=>[i("div",Rd,[t.value?(m(),U(r(Q),{key:0,class:"inline-block",onClick:n,variant:"outline"},{default:o(()=>[f("Back")]),_:1})):E("",!0),a(r(Q),{class:"inline-block",onClick:l},{default:o(()=>[f("Continue")]),_:1})])]),_:1})):E("",!0)]),_:1})]),_:1})]),_:1},8,["open"])],2)}}}),qd={class:"flex flex-col space-y-1 w-full truncate"},zd={class:"text-right self-center min-w-8 p-1 pr-0"},Fd={class:"text-primary"},Nd={class:"bg-primary text-primary-foreground p-1 rounded-md"},Wd=V({__name:"OriginsCollapsible",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=z(e,"modelValue");let s=I(!1);return(n,l)=>(m(),U(r(pa),{class:A(["space-y-4 rounded-lg border-border transition-all",r(s)?"p-2 border-[1px]":""]),"onUpdate:open":l[5]||(l[5]=c=>Qa(s)?s.value=c:s=c)},{default:o(()=>[a(r(da),{class:"w-full"},{default:o(()=>[a(de,{class:"flex flex-row items-center text-left gap-4 justify-between w-full"},{default:o(()=>[i("div",qd,[a(r(pt),{class:"cursor-pointer"},{default:o(()=>[f("Domains")]),_:1}),a(Oa,{"removal-options":t.value.browser.options,"onUpdate:removalOptions":l[0]||(l[0]=c=>t.value.browser.options=c),"origin-mode":t.value.extension.originMode,"onUpdate:originMode":l[1]||(l[1]=c=>t.value.extension.originMode=c),class:"truncate text-ellipsis py-1"},null,8,["removal-options","origin-mode"])]),i("div",zd,[Z(i("span",Fd,"Edit",512),[[te,!r(s)]]),Z(i("span",Nd,"Done",512),[[te,r(s)]])])]),_:1})]),_:1}),a(r(fa),{class:"p-4"},{default:o(()=>[a(Ea,{"removal-options":t.value.browser.options,"onUpdate:removalOptions":l[2]||(l[2]=c=>t.value.browser.options=c),"origin-mode":t.value.extension.originMode,"onUpdate:originMode":l[3]||(l[3]=c=>t.value.extension.originMode=c),"always-clear-browser-data":t.value.extension.alwaysClearBrowserData,"onUpdate:alwaysClearBrowserData":l[4]||(l[4]=c=>t.value.extension.alwaysClearBrowserData=c)},null,8,["removal-options","origin-mode","always-clear-browser-data"])]),_:1})]),_:1},8,["class"]))}}),Hd=i("span",{domRef:"confirmBtn"},"Create",-1),Zs=V({__name:"CreatePreset",props:{name:{required:!0},nameModifiers:{}},emits:pe(["opened","confirmed","cancelled"],["update:name"]),setup(e,{emit:t}){const s=I(!1),n=z(e,"name"),l=t,c=()=>{s.value=!0,l("opened")},u=()=>{s.value=!1,l("confirmed",n.value)},d=()=>{s.value=!1,l("cancelled")};return(p,v)=>(m(),U(r(Ot),{open:s.value,"onUpdate:open":v[1]||(v[1]=g=>s.value=g)},{default:o(()=>[a(r(Ut),{class:"rounded-lg",onClick:c},{default:o(()=>[J(p.$slots,"default",{},()=>[a(r(Q),{variant:"outline",class:"aspect-square p-2.5",title:"Create preset"},{default:o(()=>[a(r(Hn),{"stroke-width":"1.5"})]),_:1})])]),_:3}),a(r(At),{class:"flex flex-col space-y-2"},{default:o(()=>[i("form",{onSubmit:ge(u,["prevent"])},[a(r(is),{modelValue:n.value,"onUpdate:modelValue":v[0]||(v[0]=g=>n.value=g),placeholder:"Preset name"},null,8,["modelValue"])],32),a(r(Wn),{class:"block text-right space-x-2",ref:"confirmBtn"},{default:o(()=>[a(r(Q),{size:"sm",onClick:d,variant:"outline"},{default:o(()=>[f("Cancel")]),_:1}),a(r(Q),{size:"sm",onClick:u},{default:o(()=>[Hd]),_:1})]),_:1},512)]),_:1})]),_:3},8,["open"]))}}),Yd={class:"flex w-full p-2 pl-9 justify-items-between"},Kd={class:"grow line-through opacity-25"},Jd=V({__name:"Preset",props:{isCurrent:{type:Boolean,required:!0},isCurrentModifiers:{},isOpen:{type:Boolean,required:!0},isOpenModifiers:{},shouldRemove:{type:Boolean,default:!1},shouldRemoveModifiers:{},preset:{required:!0},presetModifiers:{}},emits:pe(["duplicate","save","select","remove"],["update:isCurrent","update:isOpen","update:shouldRemove","update:preset"]),setup(e,{emit:t}){const s=I(!1),n=z(e,"isCurrent"),l=z(e,"isOpen"),c=z(e,"shouldRemove"),u=z(e,"preset"),d=I(),p=t,v=()=>{s.value||p("select",u.value)},g=()=>{s.value=!0},h=()=>{s.value=!1,p("save",u.value)},$=()=>{c.value=!1},x=()=>{c.value=!0};return ne(s,async y=>{var _,b,M,O;y&&(await wt(),(b=(_=d.value)==null?void 0:_.domRef)==null||b.focus(),(O=(M=d.value)==null?void 0:M.domRef)==null||O.select())}),ne(l,async y=>{y||(s.value=!1,c.value&&p("remove",u.value))}),(y,_)=>(m(),w(ye,null,[Z(i("div",{onClick:v,class:"flex w-full p-2 gap-2 justify-items-between cursor-pointer"},[a(r(xa),{class:A(["icon",n.value?"opacity-100":"opacity-0"]),title:"Current"},null,8,["class"]),i("form",{onSubmit:ge(h,["prevent"]),class:A(["grow",{truncate:!s.value}])},[Z(i("span",null,j(u.value.meta.name),513),[[te,!s.value]]),Z(a(r(is),{class:"p-0.5 h-full",ref_key:"input",ref:d,"model-value":u.value.meta.name,"onUpdate:modelValue":_[0]||(_[0]=b=>u.value.meta.name=b),placeholder:"Preset name",onBlur:_[1]||(_[1]=b=>s.value=!1)},null,8,["model-value"]),[[te,s.value]])],34),Z(a(r(Q),{variant:"outline",class:"icon hover bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground",title:"Save",onClick:ge(h,["stop"])},{default:o(()=>[a(r(Yn))]),_:1},512),[[te,s.value]]),Z(a(r(Q),{variant:"outline",class:"icon hover",title:"Rename",onClick:ge(g,["stop"])},{default:o(()=>[a(r(Kn))]),_:1},512),[[te,!s.value]]),a(r(Q),{variant:"outline",class:"icon hover",title:"Duplicate",onClick:_[2]||(_[2]=ge(b=>y.$emit("duplicate",u.value),["stop"]))},{default:o(()=>[a(r(wa))]),_:1}),a(r(Q),{variant:"outline",class:"icon hover hover:bg-destructive hover:text-destructive-foreground",title:"Remove",onClick:ge(x,["stop"])},{default:o(()=>[a(r(va))]),_:1})],512),[[te,!c.value]]),Z(i("span",Yd,[i("span",Kd,j(u.value.meta.name),1),a(r(Q),{variant:"outline",class:"icon hover",title:"Undo",onClick:ge($,["stop"])},{default:o(()=>[a(r(Jn))]),_:1})],512),[[te,c.value]])],64))}}),Xd=oe(Jd,[["__scopeId","data-v-3b7c1778"]]),Qd={class:"flex flex-row gap-2 items-center"},Gd=i("span",{class:"font-light"},"Quickly load and save settings using presets.",-1),Zd={class:"flex p-2 w-full justify-end"},ef=V({__name:"Presets",props:{config:{required:!0},configModifiers:{},selected:{required:!1,default:void 0},selectedModifiers:{}},emits:["update:config","update:selected"],setup(e){const t=I(!1),s=I([]),n=ct.getInstance(),l=z(e,"config"),c=z(e,"selected"),u=I(""),d=I([]),p=async k=>{k=k??je(l.value);const C=await n.has(k.meta.id);n.hasName(k.meta.name,k.meta.id)&&(k.meta.name=n.getUniqueName(k.meta.name)),C?(k.meta.updatedAt=Date.now(),await n.update(k)):(k.meta.createdAt=Date.now(),k.meta.updatedAt=k.meta.createdAt,await n.add(k)),s.value=n.presets,c.value=k,l.value=je(k),fe.info(`Saved preset "${k.meta.name}"`)},v=async(k,C)=>{C=C??(k.meta.id===rn?"New preset":k.meta.name),C=n.getUniqueName(C);const S=un(C,gs(k));return await n.add(S),s.value=n.presets,l.value.meta.id===k.meta.id&&(c.value=S,l.value=je(S)),setTimeout(()=>fe.info(`Added preset "${C}"`),50),S},g=async k=>{O(k)&&(c.value=void 0),d.value.push(k),h()},h=ua(async()=>{let k=d.value.length;await n.remove(d.value),d.value=[],s.value=n.presets,fe.info(`Removed ${k} preset${k>1?"s":""}`)},50),$=async k=>{const C=await n.get(k.meta.id);c.value=C?je(C):void 0},x=async()=>$(l.value),y=async()=>{s.value=n.presets,await wt(),await wt(),await $(l.value)},_=async k=>{N(c.value)&&Y.info("Discarding changes"),k&&(l.value=je(k))},b=D(()=>c.value?F(c.value):"Manage presets..."),M=(k,C)=>!k||!C?!1:(k=je(k,!1),C=je(C,!1),Pa(k,C)),O=k=>l.value.meta.id===(k==null?void 0:k.meta.id),N=k=>O(k)&&!M(k,l.value),F=k=>{const C=N(k)?"*":"";return k.meta.name+C},G=()=>n.presets.length===0?"New preset":n.getUniqueName(l.value.meta.name);return re(async()=>{await n.load(),n.addEventListener(Kt.PresetsUpdated,y),s.value=n.presets,await x(),ne(l,x,{deep:!0})}),(k,C)=>(m(),w("div",Qd,[a(r(Ot),{open:t.value,"onUpdate:open":C[7]||(C[7]=S=>t.value=S)},{default:o(()=>[a(r(Ut),{"as-child":""},{default:o(()=>[a(r(Q),{variant:"outline",role:"combobox","aria-expanded":t.value,class:"w-[400px] justify-between"},{default:o(()=>[i("span",{class:A(["grow text-left truncate",{"text-muted-foreground":!c.value,"font-normal":!c.value}])},j(b.value),3),Z(a(r(Q),{variant:"link",size:"xs",class:"self-center shrink-0",onClick:C[0]||(C[0]=ge(S=>p(l.value),["stop"]))},{default:o(()=>[f(" Save ")]),_:1},512),[[te,N(c.value)]]),a(r(Xn),{class:"ml-2 h-4 w-4 shrink-0 opacity-50"})]),_:1},8,["aria-expanded"])]),_:1}),a(r(At),{class:"w-[400px] p-0"},{default:o(()=>[a(r(Qn),null,{default:o(()=>[a(r(Gn),null,{default:o(()=>[Gd,a(Zs,{name:u.value,"onUpdate:name":C[1]||(C[1]=S=>u.value=S),onOpened:C[2]||(C[2]=S=>u.value=G()),onConfirmed:C[3]||(C[3]=S=>v(l.value,u.value))},{default:o(()=>[a(r(Q),{variant:"link",size:"xs",class:"mt-2"},{default:o(()=>[f("Create one now.")]),_:1})]),_:1},8,["name"])]),_:1}),a(r(Zn),null,{default:o(()=>[a(r(el),null,{default:o(()=>[(m(!0),w(ye,null,Be(s.value,S=>(m(),U(r(tl),{key:S.meta.id,value:S,class:"p-0"},{default:o(()=>[a(Xd,{preset:S,"is-current":O(S),"is-open":t.value,onSelect:_,onDuplicate:v,onRemove:g,onSave:p},null,8,["preset","is-current","is-open"])]),_:2},1032,["value"]))),128))]),_:1}),Z(i("div",Zd,[a(Zs,{name:u.value,"onUpdate:name":C[4]||(C[4]=S=>u.value=S),onOpened:C[5]||(C[5]=S=>u.value=G()),onConfirmed:C[6]||(C[6]=S=>v(l.value,u.value))},{default:o(()=>[a(r(Q),{variant:"link",size:"xs"},{default:o(()=>[f("Create")]),_:1})]),_:1},8,["name"])],512),[[te,s.value.length]])]),_:1})]),_:1})]),_:1})]),_:1},8,["open"])]))}}),tf={class:"text-base font-light tracking-tight leading-tight space-y-4"},sf=i("span",{class:"text-plus-gradient"},"Plus",-1),af=i("p",null,"Thank you, Ben!",-1),nf={class:"flex justify-center gap-x-8"},lf=i("div",{class:"p-3"},"Buy me a coffee ☕",-1),of=V({__name:"BuyMeACoffee",setup(e){const t=Le.getInstance();return(s,n)=>(m(),w("div",tf,[i("p",null,[f("Hi! I'm "),a(T,{href:r(le).links.author,target:"_blank",title:"About me"},{default:o(()=>[f("Ben Bojko")]),_:1},8,["href"]),f(", the creator of Clear Cache. This is my passion project, and I'm committed to providing a free, privacy-focused extension without tracking. ")]),i("p",null,[f("If you enjoy this extension, please consider "),a(T,{onClick:n[0]||(n[0]=l=>r(t).requestCheckout()),title:"Buy me a coffee"},{default:o(()=>[f("subscribing to "),sf]),_:1}),f(" or "),a(T,{href:r(le).links.coffee,title:"Buy me a coffee"},{default:o(()=>[f("buying me a coffee")]),_:1},8,["href"]),f(" or "),a(T,{href:r(le).links.reviews},{default:o(()=>[f("leaving a review")]),_:1},8,["href"]),f(" to support its continued development. ")]),af,i("p",nf,[a(Fe,{class:"font-medium",href:r(le).links.coffee,target:"_blank"},{default:o(()=>[lf]),_:1},8,["href"])])]))}}),Bt=e=>(Ve("data-v-ff724ff4"),e=e(),De(),e),rf={class:"flex flex-col space-y-2"},uf={class:"space-y-1"},cf=Bt(()=>i("span",null,"Time Interval",-1)),df={class:"flex justify-center items-center gap-2"},ff={class:"space-y-1"},pf=Bt(()=>i("span",null,"Startup",-1)),mf={class:"space-y-1"},vf=Bt(()=>i("span",null,"Idle",-1)),gf={class:"space-y-1"},hf=Bt(()=>i("span",null,"Tab Closed",-1)),_f={class:"pt-2 justify-center opacity-50"},yf=Bt(()=>i("em",null,"Chrome must be running to automatically clear data",-1)),bf=V({__name:"Scheduler",props:{config:{required:!0},configModifiers:{}},emits:["update:config"],setup(e){const t=z(e,"config"),s=Ge("isLocked"),n=D(()=>{var d;return s!=null&&s.value?{}:((d=t.value.extension)==null?void 0:d.scheduler)??{}}),l=[{label:"Never",value:-1},{label:"1 min",value:1*60*1e3},{label:"5 min",value:5*60*1e3},{label:"15 min",value:15*60*1e3},{label:"30 min",value:30*60*1e3},{label:"1 hour",value:60*60*1e3},{label:"2 hours",value:2*60*60*1e3},{label:"4 hours",value:4*60*60*1e3},{label:"8 hours",value:8*60*60*1e3},{label:"12 hours",value:12*60*60*1e3},{label:"24 hours",value:24*60*60*1e3}],c=D({get:()=>{var d;return((d=l.find(p=>p.value===n.value.clearInterval))==null?void 0:d.value.toString())??""},set:d=>{const p=parseInt(d),v=l.find(g=>g.value===p);v?n.value.clearInterval=v.value:n.value.clearInterval=-1}}),u=async(d,p)=>{if(await Ns.has(p).catch(()=>!1))return!0;await Ns.ensure(p).catch(()=>!1)?cn.getInstance().update(t.value):(d==="clearInterval"?n.value[d]=-1:n.value[d]=!1,await new Promise(g=>setTimeout(g,100)),fe.error(`Permission "${p}" is required for this feature.`))};return ne(()=>n.value.clearInterval,async d=>{d&&u("clearOnIdle","alarms")}),ne(()=>n.value.clearOnTabClose,async d=>{d&&u("clearOnTabClose","tabs")}),ne(()=>n.value.clearOnIdle,async d=>{d&&u("clearOnIdle","idle")}),re(()=>{const d=Is();t.value.extension.scheduler||(t.value.extension.scheduler=d.extension.scheduler)}),(d,p)=>(m(),w("div",rf,[a(de,{class:"flex grow justify-between items-center"},{default:o(()=>[i("div",uf,[cf,a(Se,null,{default:o(()=>[f("Clear data at regular intervals ")]),_:1})]),i("div",df,[a(Se,null,{default:o(()=>[f("Every")]),_:1}),a(r(sl),{modelValue:c.value,"onUpdate:modelValue":p[0]||(p[0]=v=>c.value=v)},{default:o(()=>[a(r(al),{class:"w-[120px]"},{default:o(()=>[a(r(nl),{placeholder:"Select an interval",class:A({"text-primary":!r(s)&&c.value!=="-1"})},null,8,["class"])]),_:1}),a(r(ll),null,{default:o(()=>[a(r(ol),null,{default:o(()=>[(m(),w(ye,null,Be(l,v=>a(r(il),{key:v.value,value:v.value.toString()},{default:o(()=>[f(j(v.label),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1})]),_:1},8,["modelValue"])])]),_:1}),a(de,{class:"flex grow justify-between items-center"},{default:o(()=>[i("div",ff,[pf,a(Se,null,{default:o(()=>[f("Clear data when Chrome starts ")]),_:1})]),a(r(at),{checked:n.value.clearOnStartup,"onUpdate:checked":p[1]||(p[1]=v=>n.value.clearOnStartup=v)},null,8,["checked"])]),_:1}),a(de,{class:"flex grow justify-between items-center"},{default:o(()=>[i("div",mf,[vf,a(Se,null,{default:o(()=>[f("Clear data when computer is inactive ")]),_:1})]),a(r(at),{checked:n.value.clearOnIdle,"onUpdate:checked":p[2]||(p[2]=v=>n.value.clearOnIdle=v)},null,8,["checked"])]),_:1}),a(de,{class:"flex grow justify-between items-center"},{default:o(()=>[i("div",gf,[hf,a(Se,null,{default:o(()=>[f("Clear data for a tab's domain when closed ")]),_:1})]),a(r(at),{checked:n.value.clearOnTabClose,"onUpdate:checked":p[3]||(p[3]=v=>n.value.clearOnTabClose=v)},null,8,["checked"])]),_:1}),i("aside",_f,[a(r(Es),{class:"inline-block size-3"}),f(),yf])]))}}),wf=oe(bf,[["__scopeId","data-v-ff724ff4"]]),xf=i("span",{class:"font-normal"},"Save Diagnostics",-1),$f=V({__name:"Diagnostics",setup(e){const t=Jt.getInstance(),s=Ie.getInstance(),n=Le.getInstance(),l=new cl(dl.Onscreen,()=>!1),c=async()=>l.sendMessage({type:"get-logs"}),u=async()=>{const d={timestamp:Date.now(),runtime:{id:chrome.runtime.id,userAgent:navigator.userAgent,lastError:chrome.runtime.lastError,platform:await chrome.runtime.getPlatformInfo(),manifest:chrome.runtime.getManifest()},auth:{isLoggedIn:s.isLoggedIn()},subscription:{status:n.getStatus(),scheduledChange:n.getScheduledChange()},storage:await t.getData(),logs:{options:Y.getCache(),service:await c()}},p=JSON.stringify(d,void 0,2),v=`clearcache.diagnostics.${d.timestamp}.json`;return console.log(d),dt.download(p,v)};return(d,p)=>(m(),U(T,{onClick:u,class:"text-xs tracking-tight flex space-x-1 self-end"},{default:o(()=>[a(r(rl),{class:"size-4","stroke-width":1}),xf]),_:1}))}}),kf={id:"options",class:"container mx-auto"},Cf={class:"flex flex-col gap-8 pb-8"},Sf={class:"space-y-8 md:space-y-0 md:grid md:grid-cols-2 gap-8"},If={class:"col-span-2"},Mf={class:"flex w-full justify-between"},Pf=i("span",null,"From the Developer",-1),Ef=["href"],Of=["src"],Uf=V({__name:"App",setup(e){const t=Ga();let s;const n=I(Is()),l=ra.getInstance(),c=I(!1),u=I(!1),d=I(!1),p=I([]),v=Et.getInstance(),g=Ie.getInstance(),h=hs.getInstance(),$=ct.getInstance(),x=Jt.getInstance(),y=Le.getInstance();re(async()=>{await M(),await O(),await g.init(),await y.init(window),h.addEventListener(Ws.Updated,P=>{if(P instanceof Ws){const B=n.value,L=P.config;Pa(B,L)||(n.value=je(L))}}),g.addEventListener(Ft.LoggedOut,()=>K(!0)),y.addEventListener(Ae.SubscriptionInvalidated,()=>K(!0)),S(),q(),K()});const _=ua(async()=>{fe.success("Settings saved")},3e3,{leading:!0}),b=async P=>h.save(P).then(_).catch(B=>{fe.error(`Could not save settings: ${B}`)}),M=async()=>{const P=[];try{if(await l.hasPending()){d.value=!0;let L=await Al(l.run(),2e3);P.push(...L)}}catch(B){fe.error(`Failed to migrate settings: ${B}`)}p.value=P,d.value=!1},O=async()=>{try{n.value=await h.load()}catch(P){fe.error(`Could not load settings: ${P}`)}},N=async()=>{C();try{const P=n.value.extension.sync;await x.reset(P),await h.reset(P),u.value&&await $.clear(P)}catch(P){fe.error(`Failed to reset settings: ${P}`)}fe.info("Settings reset to defaults"),S()},F=async()=>{C();try{await h.save(n.value),await x.export(),fe.info("Settings exported")}catch(P){fe.error(`Failed to export settings: ${P}`)}S()},G=async P=>{C();try{await x.import(P),n.value=await h.load(),fe.info("Settings imported")}catch(B){fe.error(`Failed to import settings: ${B}`)}S()},k=async()=>{C();try{n.value=await h.loadBrowserSettings(),fe.info("Browser settings loaded")}catch(P){fe.error(`Failed to load browser settings: ${P}`)}S()},C=()=>{s&&s(),s=void 0},S=()=>{C(),s=ne(n,async(P,B)=>{c.value||(c.value=!0,await b(P),c.value=!1)},{deep:!0})},q=()=>ne(t,async(P,B)=>{P==="visible"&&B==="hidden"&&(Y.debug("Document became visible, refreshing subscription status..."),await y.update(1,!1))}),K=async(P=!1)=>{if(!(y.isSubscribed()&&!P))return dn(async()=>v.getPricePreviews(g.isLoggedIn(),P),{forever:!0}).catch(B=>{Y.info(`Failed to load prices: ${B}`)})},ee=D(()=>n.value.extension.originMode!==ae.All&&!n.value.extension.alwaysClearBrowserData);return(P,B)=>(m(),w(ye,null,[a(r(ul),{visibleToasts:3,"rich-colors":""}),i("main",kf,[a(Yl),a(fd),i("div",Cf,[a(nt,{class:"self-center"},{default:o(()=>[a(ef,{config:n.value,"onUpdate:config":B[0]||(B[0]=L=>n.value=L)},null,8,["config"])]),_:1}),i("div",Sf,[a(et,{class:"md:row-span-2"},{title:o(()=>[f("Data to Remove")]),default:o(()=>[a(sr,{"data-types":n.value.browser.dataToRemove,"onUpdate:dataTypes":B[1]||(B[1]=L=>n.value.browser.dataToRemove=L),"data-options":n.value.dataOptions,"onUpdate:dataOptions":B[2]||(B[2]=L=>n.value.dataOptions=L),"disable-browser-data":ee.value,"onUpdate:disableBrowserData":B[3]||(B[3]=L=>ee.value=L),timeperiod:n.value.extension.timeperiod,"onUpdate:timeperiod":B[4]||(B[4]=L=>n.value.extension.timeperiod=L)},null,8,["data-types","data-options","disable-browser-data","timeperiod"])]),_:1}),a(et,{class:"flex flex-col"},{title:o(()=>[f("Behavior")]),default:o(()=>[a(lr),a(ao,{modelValue:n.value.extension.reloadOnClear,"onUpdate:modelValue":B[5]||(B[5]=L=>n.value.extension.reloadOnClear=L)},null,8,["modelValue"]),a(eo,{modelValue:n.value.extension.originMode,"onUpdate:modelValue":B[6]||(B[6]=L=>n.value.extension.originMode=L)},null,8,["modelValue"]),a(nt,null,{default:o(()=>[a(Jo,{modelValue:n.value.extension.closeAllWindows,"onUpdate:modelValue":B[7]||(B[7]=L=>n.value.extension.closeAllWindows=L)},null,8,["modelValue"])]),_:1}),a(Wd,{modelValue:n.value,"onUpdate:modelValue":B[8]||(B[8]=L=>n.value=L)},null,8,["modelValue"])]),_:1}),a(nt,{size:"large"},{default:o(()=>[a(et,null,{title:o(()=>[f("Automation")]),description:o(()=>[f("Set when to automatically clear browsing data using the current settings. ")]),default:o(()=>[a(wf,{config:n.value,"onUpdate:config":B[9]||(B[9]=L=>n.value=L)},null,8,["config"])]),_:1})]),_:1}),i("div",If,[a(r(ie),{class:"mx-auto w-1/2 my-16 opacity-50 dark:bg-foreground"})]),a(et,null,{title:o(()=>[i("span",Mf,[Pf,i("a",{href:r(le).links.coffee,target:"_blank",title:"Buy me a coffee"},[a(r($a),{class:"size-6 align-middle self-end"},{default:o(()=>[i("img",{src:r(Ms).authorIconPath},null,8,Of)]),_:1})],8,Ef)])]),default:o(()=>[a(of)]),_:1}),a(et,null,{title:o(()=>[f("Manage Settings")]),default:o(()=>[a(hr,{config:n.value,"onUpdate:config":B[10]||(B[10]=L=>n.value=L),"include-presets-on-reset":u.value,"onUpdate:includePresetsOnReset":B[11]||(B[11]=L=>u.value=L),onExport:F,onImport:G,onLoadBrowser:k,onReset:N},null,8,["config","include-presets-on-reset"])]),_:1})]),a(r(ie),{class:"mx-auto w-1/2 my-16 opacity-50 dark:bg-foreground"}),a(et,{class:"mx-auto w-full md:w-1/2 opacity-75 hover:opacity-100 transition-opacity"},{title:o(()=>[f("What's New?")]),default:o(()=>[a(No)]),_:1}),a(jd,{"is-migrating":d.value,"onUpdate:isMigrating":B[12]||(B[12]=L=>d.value=L),migrations:p.value,"onUpdate:migrations":B[13]||(B[13]=L=>p.value=L)},null,8,["is-migrating","migrations"]),a(Dl,{class:"m-8"}),a($f)])])],64))}});window.global=window;window.process={env:{DEBUG:void 0}};const ja=Za(Uf);ja.use(Pl);ja.mount("#app"); diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/sandbox-BK1e-51W.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/sandbox-BK1e-51W.js new file mode 100644 index 0000000..0b6ff98 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/sandbox-BK1e-51W.js @@ -0,0 +1 @@ +import"./modulepreload-polyfill-B5Qt9EMX.js";import{E as o}from"./index.esm-DBQD-6dI.js";import{l as r,c}from"./Logger-kUgoCvAm.js";r.info(c.magenta(`Sandbox: Loading checkout url: ${o.resources.checkoutUrl}`)),window.location.href=o.resources.checkoutUrl; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/service-worker.ts-1zxD9f1g.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/service-worker.ts-1zxD9f1g.js new file mode 100644 index 0000000..f796b7e --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/service-worker.ts-1zxD9f1g.js @@ -0,0 +1 @@ +var he=Object.defineProperty;var ne=o=>{throw TypeError(o)};var ge=(o,e,t)=>e in o?he(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var h=(o,e,t)=>ge(o,typeof e!="symbol"?e+"":e,t),re=(o,e,t)=>e.has(o)||ne("Cannot "+t);var i=(o,e,t)=>(re(o,e,"read from private field"),t?t.call(o):e.get(o)),s=(o,e,t)=>e.has(o)?ne("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,t),te=(o,e,t,a)=>(re(o,e,"write to private field"),a?a.call(o,t):e.set(o,t),t);import{E as ae,F as me,O as v,D as ie,P as pe,L as we,C as fe,M as be,y as ye,A as ve,S as Se,o as Oe,j as oe,e as ce,z as Ie,G as Ae,q as Le,h as Pe,p as de}from"./Scheduler-ITpj7yeF.js";import{l as n,c as g}from"./Logger-kUgoCvAm.js";import{R as Te}from"./RuntimeBridge-DW3w8fNi.js";import{B as Ce}from"./MessageBridge-C2lz_3Ul.js";import"./index.esm-DBQD-6dI.js";import"./vendor/vue-D7guW3iV.js";import"./SandboxBridge-D2h3sBK3.js";import"./vendor/aws-C9aIMT75.js";var V,A,D,W,q,F,j,L;class Ee{constructor(){h(this,"clear",async(e,t)=>{const a=await i(this,V).call(this,e,t),r=Date.now();for(let l=0;l{const e=await chrome.browsingData.settings();return chrome.browsingData.remove(e.options,e.dataToRemove)});s(this,V,async(e,t)=>{e=structuredClone(e);let a=e.browser.options,r=e.browser.dataToRemove;a.since=me(e.extension.timeperiod),a=await i(this,A).call(this,a,e.extension.originMode);const c=[];if(e.extension.originMode===v.All)c.push({options:a,dataToRemove:r});else{let u=await i(this,D).call(this,r),f=await i(this,W).call(this,r),y=await i(this,q).call(this,a);c.push({options:a,dataToRemove:u}),c.push({options:y,dataToRemove:f})}const l=[];for(const[u,f]of ie.allItems){const y=e.dataOptions[u];if(r[u]&&y&&y.override){if(f.flags.requiresPlus&&!t)continue;const le=await i(this,F).call(this,u,y,a,e.extension.originMode);l.push(le);for(const ue of c)ue.dataToRemove[u]=!1}}c.push(...l);for(const u of c)for(const f of Object.keys(u.dataToRemove))u.dataToRemove[f]||delete u.dataToRemove[f];return c});s(this,A,async(e,t)=>{var a,r,c;if(t===v.ActiveTab)return i(this,j).call(this,e);if(e.origins&&(e.origins=await i(this,L).call(this,e.origins)),e.excludeOrigins&&(e.excludeOrigins=await i(this,L).call(this,e.excludeOrigins)),(t!==v.Include||!((a=e.origins)!=null&&a.length))&&delete e.origins,(t!==v.Exclude||!((r=e.excludeOrigins)!=null&&r.length))&&delete e.excludeOrigins,t===v.Include&&!((c=e.origins)!=null&&c.length))throw new Error(`No valid origins configured for mode ${v.Include}.
Please check your settings.`);return e});s(this,D,async e=>{const t={...e};for(const[a,r]of ie.allItems){const c=r.flags.supportsOrigins,l=!!t[a];t[r.key]=c&&l}return t});s(this,W,async e=>{const t={...e};for(const[a,r]of ie.allItems)t[r.key]=t[a]&&!r.flags.supportsOrigins;return t});s(this,q,async e=>{const t={...e};return delete t.origins,delete t.excludeOrigins,t});s(this,F,async(e,t,a,r)=>{const c={options:structuredClone(t.removalOptions)||{},dataToRemove:{[e]:!0}};return c.options.since=a.since,c.options=await i(this,A).call(this,c.options,t.originMode||r),c});s(this,j,async e=>{const t=await chrome.tabs.query({active:!0,currentWindow:!0});if(!t.length)throw new Error("No active tab found. Aborting to avoid clearing all data.");const a=new URL(t[0].url);return e.originTypes={unprotectedWeb:!0,protectedWeb:!0,extension:!0},e.origins=[a.origin],delete e.excludeOrigins,e});s(this,L,async e=>e.map(t=>{try{if(t!==new URL(t).origin)throw new Error(`Invalid origin: ${t}. Skipping.`);return t}catch(a){return n.warn(`Could not validate origin ${t}`,a==null?void 0:a.message),""}}).filter(t=>t))}}V=new WeakMap,A=new WeakMap,D=new WeakMap,W=new WeakMap,q=new WeakMap,F=new WeakMap,j=new WeakMap,L=new WeakMap;const z=class z{constructor(e){h(this,"config");h(this,"run",async e=>{const t={neededPermissions:[]};if(this.config.extension.reloadOnClear){const a=await this.reload(e);t.neededPermissions.push(...a.neededPermissions)}if(this.config.extension.closeAllWindows){const a=await this.closeAllWindows();t.neededPermissions.push(...a.neededPermissions)}return t});h(this,"reload",async e=>{if(e!==void 0)try{n.debug(`Reloading tab "${e}" using the tabs API...`),await chrome.tabs.reload(e)}catch(t){return n.info("Couldn't reload tab using the tabs API: "+((t==null?void 0:t.message)??t)+" This can happen when trying to reload a tab within a saved group, which is a known issue with Chrome 125+."),this.reloadUsingScript()}else n.warn(`Target tab "${e}" not found (perhaps it was closed). Aborting reload.`);return{neededPermissions:[]}});h(this,"reloadUsingScript",async()=>{if(n.debug("Reloading using the scripting API as a fallback..."),!("scripting"in chrome))return n.warn("Scripting API not available. Permissions will be requested on next reload."),{neededPermissions:["scripting"]};try{const e=await z.getCurrentTab();e&&e.id!==void 0&&(await pe.ensure("scripting"),await chrome.scripting.executeScript({target:{tabId:e.id,allFrames:!0},func:()=>window.location.reload()}))}catch(e){n.error("Couldn't reload tab using scripting API:",(e==null?void 0:e.message)??e)}return{neededPermissions:[]}});h(this,"closeAllWindows",async()=>{try{const e=await chrome.windows.getAll();for(const t of e)t.type!=="app"&&await chrome.windows.remove(t.id)}catch(e){n.error("Couldn't close all windows:",(e==null?void 0:e.message)??e)}return{neededPermissions:[]}});this.config=e}};h(z,"getCurrentTab",async()=>{try{const[e]=await chrome.tabs.query({active:!0,currentWindow:!0});return e}catch(e){n.error("Couldn't identify the current tab",e)}});let U=z;var K,m,P,b,T,p,w,C,E,O,N,M,R,x,S,$,I,H,G,B,J,Q,X,Y,Z,_,ee,k;const d=class d{constructor(){s(this,K,new Ee);s(this,m,new we);s(this,P,fe.getInstance());s(this,b,be.getInstance());s(this,T,ye.getInstance());s(this,p,ve.getInstance());s(this,w,Se.getInstance());s(this,C);s(this,E,!1);s(this,O,[]);h(this,"init",async()=>{i(this,E)||(n.info("Initializing service worker..."),chrome.runtime.onInstalled.addListener(i(this,Z)),chrome.action.onClicked.addListener(i(this,H)),chrome.alarms.onAlarm.addListener(i(this,G)),i(this,m).addEventListener(Oe.ImageUpdate,i(this,$)),i(this,p).addEventListener(oe.LoggedIn,i(this,B)),i(this,p).addEventListener(oe.LoggedOut,i(this,J)),i(this,w).addEventListener(ce.SubscriptionValidated,i(this,Q)),i(this,w).addEventListener(ce.SubscriptionInvalidated,i(this,X)),i(this,P).addEventListener(Ie.Updated,async()=>{}),i(this,T).addEventListener(Ae.ClearCache,i(this,Y)),await i(this,m).preload(Le.logoImgPath),await i(this,$).call(this),await i(this,ee).call(this),await i(this,N).call(this),await i(this,T).init(),await i(this,C).init(),n.info(g.green("...service worker initialized")),te(this,E,!0))});s(this,N,async()=>{n.info(g.magenta("Launching background process...")),i(this,S).call(this,d.AlarmUpdateSession),i(this,S).call(this,d.AlarmValidateSubscription);const e=await i(this,b).hasPending(),t=await i(this,b).shouldOpenOptions();e&&!t&&(n.info(g.blue("Running migrations in background...")),await i(this,b).run()),await i(this,p).init(),await i(this,w).init(),await i(this,p).update(),await i(this,w).update(),await i(this,M).call(this),await i(this,R).call(this)});s(this,M,async()=>i(this,x).call(this,d.AlarmUpdateSession,60));s(this,R,async()=>i(this,x).call(this,d.AlarmValidateSubscription,720));s(this,x,async(e,t)=>{let a=await chrome.alarms.get(e);if(!a||a.scheduledTime{const t=await chrome.alarms.get(e);t&&(n.debug(`⏹️ Stopping scheduled update ${e} at`,new Date(t.scheduledTime).toLocaleString()),await chrome.alarms.clear(e))});s(this,$,async()=>{const e=await i(this,m).getImageData();return chrome.action.setIcon({imageData:e})});s(this,I,async e=>{let t=Pe();try{const a=i(this,w).isSubscribed(),r=await U.getCurrentTab();await i(this,m).reload(!0),i(this,m).animationStyle=a?de.spin:de.fade,i(this,m).startAnimation(void 0,void 0,!0),t=await i(this,P).load(),e&&(t.extension.originMode=v.Include,t.browser.options.origins=[e]),await i(this,K).clear(t,a),i(this,m).finishAnimation(),n.info(g.green("Cache cleared"));const l=await new U(t).run(r==null?void 0:r.id);l.neededPermissions.length>0&&(n.info(g.yellow("Permissions needed to complete actions:"),l.neededPermissions,g.yellow("Will try again on next browser action.")),i(this,O).push(...l.neededPermissions))}catch(a){n.error("Could not clear cache:",a)}return t});s(this,H,async()=>i(this,O).length>0?chrome.permissions.request({permissions:i(this,O)},()=>i(this,I).call(this)):i(this,I).call(this));s(this,G,async e=>{switch(e.name){case d.AlarmUpdateSession:n.debug("🔄️ Updating session"),await i(this,p).update();break;case d.AlarmValidateSubscription:n.debug("🔄️ Updating subscription"),await i(this,p).update(),await i(this,w).update();break}});s(this,B,async e=>{i(this,M).call(this)});s(this,J,async e=>{i(this,S).call(this,d.AlarmUpdateSession)});s(this,Q,async e=>{i(this,R).call(this)});s(this,X,async e=>{i(this,S).call(this,d.AlarmValidateSubscription)});s(this,Y,async e=>{await i(this,I).call(this,e.origin)});s(this,Z,async e=>{n.info(`Extension runtime installed: ${g.green(e.reason)}`);const t=e.previousVersion??"0.0.0.0",a=i(this,k).call(this);switch(e.reason){case chrome.runtime.OnInstalledReason.INSTALL:n.info(`Extension installed (version ${g.green(a)}). Opening options page...`),await chrome.runtime.openOptionsPage();break;case chrome.runtime.OnInstalledReason.UPDATE:t!==a&&(n.info(`Extension updated from ${g.gray(t)} to ${g.green(a)}`),await i(this,b).queueFor(t,a),await i(this,b).hasPending()&&(n.info("Migrations queued. Reloading extension..."),chrome.runtime.reload()));break;case chrome.runtime.OnInstalledReason.CHROME_UPDATE:case chrome.runtime.OnInstalledReason.SHARED_MODULE_UPDATE:}});s(this,_,(e,t,a)=>{switch(e.type){case"get-logs":const r=n.getCache();return a({type:"local-storage",data:{...r}}),!0}return!1});s(this,ee,async()=>{const t=(await chrome.storage.local.get(d.LastLaunchVersionKey))[d.LastLaunchVersionKey],a=i(this,k).call(this),r=!t,c=!r&&t!==a;await chrome.storage.local.set({[d.LastLaunchVersionKey]:a}),r?n.debug(`First launch (version ${a})`):c?n.debug(`Extension updated from ${t} to ${a}`):n.debug(`Extension re-launched (version ${a})`)});s(this,k,()=>chrome.runtime.getManifest().version);te(this,C,new Te(Ce.Service,i(this,_)))}};K=new WeakMap,m=new WeakMap,P=new WeakMap,b=new WeakMap,T=new WeakMap,p=new WeakMap,w=new WeakMap,C=new WeakMap,E=new WeakMap,O=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,x=new WeakMap,S=new WeakMap,$=new WeakMap,I=new WeakMap,H=new WeakMap,G=new WeakMap,B=new WeakMap,J=new WeakMap,Q=new WeakMap,X=new WeakMap,Y=new WeakMap,Z=new WeakMap,_=new WeakMap,ee=new WeakMap,k=new WeakMap,h(d,"AlarmUpdateSession","backgroundUpdateSession"),h(d,"AlarmValidateSubscription","backgroundValidateSubscription"),h(d,"LastLaunchVersionKey","lastLaunchVersion");let se=d;const Me=new se;Me.init(); diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/aws-C9aIMT75.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/aws-C9aIMT75.js new file mode 100644 index 0000000..89d62a6 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/aws-C9aIMT75.js @@ -0,0 +1,14 @@ +const Zo="Logging",es="NoHubcallbackProvidedException";var b;(function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"})(b||(b={}));const jt={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class U{constructor(t,n=b.WARN){this.name=t,this.level=n,this._pluggables=[]}_padding(t){return t<10?"0"+t:""+t}_ts(){const t=new Date;return[this._padding(t.getMinutes()),this._padding(t.getSeconds())].join(":")+"."+t.getMilliseconds()}configure(t){return t?(this._config=t,this._config):this._config}_log(t,...n){let o=this.level;U.LOG_LEVEL&&(o=U.LOG_LEVEL),typeof window<"u"&&window.LOG_LEVEL&&(o=window.LOG_LEVEL);const s=jt[o];if(!(jt[t]>=s))return;let r=console.log.bind(console);t===b.ERROR&&console.error&&(r=console.error.bind(console)),t===b.WARN&&console.warn&&(r=console.warn.bind(console)),U.BIND_ALL_LOG_LEVELS&&(t===b.INFO&&console.info&&(r=console.info.bind(console)),t===b.DEBUG&&console.debug&&(r=console.debug.bind(console)));const a=`[${t}] ${this._ts()} ${this.name}`;let c="";if(n.length===1&&typeof n[0]=="string")c=`${a} - ${n[0]}`,r(c);else if(n.length===1)c=`${a} ${n[0]}`,r(a,n[0]);else if(typeof n[0]=="string"){let d=n.slice(1);d.length===1&&(d=d[0]),c=`${a} - ${n[0]} ${d}`,r(`${a} - ${n[0]}`,d)}else c=`${a} ${n}`,r(a,n);for(const d of this._pluggables){const u={message:c,timestamp:Date.now()};d.pushLogs([u])}}log(...t){this._log(b.INFO,...t)}info(...t){this._log(b.INFO,...t)}warn(...t){this._log(b.WARN,...t)}error(...t){this._log(b.ERROR,...t)}debug(...t){this._log(b.DEBUG,...t)}verbose(...t){this._log(b.VERBOSE,...t)}addPluggable(t){t&&t.getCategoryName()===Zo&&(this._pluggables.push(t),t.configure(this._config))}listPluggables(){return this._pluggables}}U.LOG_LEVEL=null;U.BIND_ALL_LOG_LEVELS=!1;class N extends Error{constructor({message:t,name:n,recoverySuggestion:o,underlyingError:s}){super(t),this.name=n,this.underlyingError=s,this.recoverySuggestion=o,this.constructor=N,Object.setPrototypeOf(this,N.prototype)}}var Se;(function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"})(Se||(Se={}));const Qn=(e,t=N)=>(n,o,s)=>{const{message:i,recoverySuggestion:r}=e[o];if(!n)throw new t({name:o,message:s?`${i} ${s}`:i,recoverySuggestion:r})},oe=typeof Symbol<"u"?Symbol("amplify_default"):"@@amplify_default",Ee=new U("Hub");class Zn{constructor(t){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=t}_remove(t,n){const o=this.listeners.get(t);if(!o){Ee.warn(`No listeners for ${t}`);return}this.listeners.set(t,[...o.filter(({callback:s})=>s!==n)])}dispatch(t,n,o,s){typeof t=="string"&&this.protectedChannels.indexOf(t)>-1&&(s===oe||Ee.warn(`WARNING: ${t} is protected and dispatching on it can have unintended consequences`));const i={channel:t,payload:{...n},source:o,patternInfo:[]};try{this._toListeners(i)}catch(r){Ee.error(r)}}listen(t,n,o="noname"){let s;if(typeof n!="function")throw new N({name:es,message:"No callback supplied to Hub"});s=n;let i=this.listeners.get(t);return i||(i=[],this.listeners.set(t,i)),i.push({name:o,callback:s}),()=>{this._remove(t,s)}}_toListeners(t){const{channel:n,payload:o}=t,s=this.listeners.get(n);s&&s.forEach(i=>{Ee.debug(`Dispatching to ${n} with `,o);try{i.callback(t)}catch(r){Ee.error(r)}})}}const ce=new Zn("__default__"),Gt=new Zn("internal-hub"),ts=()=>{if(typeof window=="object"&&typeof window.crypto=="object")return window.crypto;if(typeof crypto=="object")return crypto;throw new N({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},ns=()=>{if(typeof window<"u"&&typeof window.btoa=="function")return window.btoa;if(typeof btoa=="function")return btoa;throw new N({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},os=()=>{if(typeof window<"u"&&typeof window.atob=="function")return window.atob;if(typeof atob=="function")return atob;throw new N({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})},eo={convert(e){return os()(e)}};var H;(function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"})(H||(H={}));const ss={[H.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[H.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[H.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[H.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[H.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}},It=Qn(ss);function I(e){let t=!0;e?t=!!e.userPoolId&&!!e.userPoolClientId:t=!1,It(t,H.AuthUserPoolException)}function to(e){var n,o,s,i,r,a,c,d;const t=!!((o=(n=e==null?void 0:e.loginWith)==null?void 0:n.oauth)!=null&&o.domain)&&!!((i=(s=e==null?void 0:e.loginWith)==null?void 0:s.oauth)!=null&&i.redirectSignOut)&&!!((a=(r=e==null?void 0:e.loginWith)==null?void 0:r.oauth)!=null&&a.redirectSignIn)&&!!((d=(c=e==null?void 0:e.loginWith)==null?void 0:c.oauth)!=null&&d.responseType);It(t,H.OAuthNotConfigureException)}function ke(e){const t=!!(e!=null&&e.identityPoolId);It(t,H.InvalidIdentityPoolIdException)}function se(e){const t=e.split(".");if(t.length!==3)throw new Error("Invalid token");try{const o=t[1].replace(/-/g,"+").replace(/_/g,"/"),s=decodeURIComponent(eo.convert(o).split("").map(r=>`%${`00${r.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),i=JSON.parse(s);return{toString:()=>e,payload:i}}catch{throw new Error("Invalid token payload")}}const no=e=>{const t=Reflect.ownKeys(e);for(const n of t){const o=e[n];(o&&typeof o=="object"||typeof o=="function")&&no(o)}return Object.freeze(e)},is=new U("parseAWSExports"),rs={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},as=(e={})=>{var Kt,Bt,qt,Ht,$t,Wt;if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new N({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:n,aws_appsync_graphqlEndpoint:o,aws_appsync_region:s,aws_bots_config:i,aws_cognito_identity_pool_id:r,aws_cognito_sign_up_verification_method:a,aws_cognito_mfa_configuration:c,aws_cognito_mfa_types:d,aws_cognito_password_protection_settings:u,aws_cognito_verification_mechanisms:h,aws_cognito_signup_attributes:l,aws_cognito_social_providers:g,aws_cognito_username_attributes:p,aws_mandatory_sign_in:m,aws_mobile_analytics_app_id:w,aws_mobile_analytics_app_region:x,aws_user_files_s3_bucket:K,aws_user_files_s3_bucket_region:Z,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:$o,aws_user_pools_id:Mt,aws_user_pools_web_client_id:Wo,geo:Dt,oauth:at,predictions:J,aws_cloud_logic_custom:Ft,Notifications:Vo,modelIntrospection:Ot}=e,R={};w&&(R.Analytics={Pinpoint:{appId:w,region:x}});const{InAppMessaging:ee,Push:te}=Vo??{};if(ee!=null&&ee.AWSPinpoint||te!=null&&te.AWSPinpoint){if(ee!=null&&ee.AWSPinpoint){const{appId:A,region:ne}=ee.AWSPinpoint;R.Notifications={InAppMessaging:{Pinpoint:{appId:A,region:ne}}}}if(te!=null&&te.AWSPinpoint){const{appId:A,region:ne}=te.AWSPinpoint;R.Notifications={...R.Notifications,PushNotification:{Pinpoint:{appId:A,region:ne}}}}}if(Array.isArray(i)&&(R.Interactions={LexV1:Object.fromEntries(i.map(A=>[A.name,A]))}),o){const A=rs[n];A||is.debug(`Invalid authentication type ${n}. Falling back to IAM.`),R.API={GraphQL:{endpoint:o,apiKey:t,region:s,defaultAuthMode:A??"iam"}},Ot&&(R.API.GraphQL.modelIntrospection=Ot)}const zo=c?{status:c&&c.toLowerCase(),totpEnabled:(d==null?void 0:d.includes("TOTP"))??!1,smsEnabled:(d==null?void 0:d.includes("SMS"))??!1}:void 0,jo=u?{minLength:u.passwordPolicyMinLength,requireLowercase:((Kt=u.passwordPolicyCharacters)==null?void 0:Kt.includes("REQUIRES_LOWERCASE"))??!1,requireUppercase:((Bt=u.passwordPolicyCharacters)==null?void 0:Bt.includes("REQUIRES_UPPERCASE"))??!1,requireNumbers:((qt=u.passwordPolicyCharacters)==null?void 0:qt.includes("REQUIRES_NUMBERS"))??!1,requireSpecialCharacters:((Ht=u.passwordPolicyCharacters)==null?void 0:Ht.includes("REQUIRES_SYMBOLS"))??!1}:void 0,Go=Array.from(new Set([...h??[],...l??[]])).reduce((A,ne)=>({...A,[ne.toLowerCase()]:{required:!0}}),{}),Lt=(p==null?void 0:p.includes("EMAIL"))??!1,kt=(p==null?void 0:p.includes("PHONE_NUMBER"))??!1;(r||Mt)&&(R.Auth={Cognito:{identityPoolId:r,allowGuestAccess:m!=="enable",signUpVerificationMethod:a,userAttributes:Go,userPoolClientId:Wo,userPoolId:Mt,mfa:zo,passwordFormat:jo,loginWith:{username:!(Lt||kt),email:Lt,phone:kt}}});const Yo=at?Object.keys(at).length>0:!1,Jo=g?g.length>0:!1;if(R.Auth&&Yo&&(R.Auth.Cognito.loginWith={...R.Auth.Cognito.loginWith,oauth:{...cs(at),...Jo&&{providers:ds(g)}}}),K&&(R.Storage={S3:{bucket:K,region:Z,dangerouslyConnectToHttpEndpointForTesting:$o}}),Dt){const{amazon_location_service:A}=Dt;R.Geo={LocationService:{maps:A.maps,geofenceCollections:A.geofenceCollections,searchIndices:A.search_indices,region:A.region}}}if(Ft&&(R.API={...R.API,REST:Ft.reduce((A,ne)=>{const{name:Xo,endpoint:Qo,region:Vt,service:zt}=ne;return{...A,[Xo]:{endpoint:Qo,...zt?{service:zt}:void 0,...Vt?{region:Vt}:void 0}}},{})}),J){const{VoiceId:A}=((Wt=($t=J==null?void 0:J.convert)==null?void 0:$t.speechGenerator)==null?void 0:Wt.defaults)??{};R.Predictions=A?{...J,convert:{...J.convert,speechGenerator:{...J.convert.speechGenerator,defaults:{voiceId:A}}}}:J}return R},Yt=e=>(e==null?void 0:e.split(","))??[],cs=({domain:e,scope:t,redirectSignIn:n,redirectSignOut:o,responseType:s})=>({domain:e,scopes:t,redirectSignIn:Yt(n),redirectSignOut:Yt(o),responseType:s}),ds=e=>e.map(t=>{const n=t.toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)}),us=Symbol("oauth-listener");function ls(e){const{version:t}=e;return t?t.startsWith("1"):!1}function hs(e){if(!e)return;const{bucket_name:t,aws_region:n,buckets:o}=e;return{S3:{bucket:t,region:n,buckets:o&&As(o)}}}function fs(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:n,identity_pool_id:o,password_policy:s,mfa_configuration:i,mfa_methods:r,unauthenticated_identities_enabled:a,oauth:c,username_attributes:d,standard_required_attributes:u}=e,h={Cognito:{userPoolId:t,userPoolClientId:n}};return o&&(h.Cognito={...h.Cognito,identityPoolId:o}),s&&(h.Cognito.passwordFormat={requireLowercase:s.require_lowercase,requireNumbers:s.require_numbers,requireUppercase:s.require_uppercase,requireSpecialCharacters:s.require_symbols,minLength:s.min_length??6}),i&&(h.Cognito.mfa={status:xs(i),smsEnabled:r==null?void 0:r.includes("SMS"),totpEnabled:r==null?void 0:r.includes("TOTP")}),a&&(h.Cognito.allowGuestAccess=a),c&&(h.Cognito.loginWith={oauth:{domain:c.domain,redirectSignIn:c.redirect_sign_in_uri,redirectSignOut:c.redirect_sign_out_uri,responseType:c.response_type==="token"?"token":"code",scopes:c.scopes,providers:ws(c.identity_providers)}}),d&&(h.Cognito.loginWith={...h.Cognito.loginWith,email:d.includes("email"),phone:d.includes("phone_number"),username:d.includes("username")}),u&&(h.Cognito.userAttributes=u.reduce((l,g)=>({...l,[g]:{required:!0}}),{})),h}function ps(e){if(!(e!=null&&e.amazon_pinpoint))return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}function gs(e){if(!e)return;const{aws_region:t,geofence_collections:n,maps:o,search_indices:s}=e;return{LocationService:{region:t,searchIndices:s,geofenceCollections:n,maps:o}}}function Es(e){if(!e)return;const{aws_region:t,default_authorization_type:n,url:o,api_key:s,model_introspection:i}=e;return{GraphQL:{endpoint:o,defaultAuthMode:Ss(n),region:t,apiKey:s,modelIntrospection:i}}}function ms(e){if(!e)return;const{aws_region:t,channels:n,amazon_pinpoint_app_id:o}=e,s=n.includes("IN_APP_MESSAGING"),i=n.includes("APNS")||n.includes("FCM");if(!(s||i))return;const r={};return s&&(r.InAppMessaging={Pinpoint:{appId:o,region:t}}),i&&(r.PushNotification={Pinpoint:{appId:o,region:t}}),r}function ys(e){const t={};return e.storage&&(t.Storage=hs(e.storage)),e.auth&&(t.Auth=fs(e.auth)),e.analytics&&(t.Analytics=ps(e.analytics)),e.geo&&(t.Geo=gs(e.geo)),e.data&&(t.API=Es(e.data)),e.notifications&&(t.Notifications=ms(e.notifications)),t}const Is={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function Ss(e){return Is[e]}const Jt={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function ws(e=[]){return e.reduce((t,n)=>(Jt[n]!==void 0&&t.push(Jt[n]),t),[])}function xs(e){return e==="OPTIONAL"?"optional":e==="REQUIRED"?"on":"off"}function As(e){const t={};return e.forEach(({name:n,bucket_name:o,aws_region:s})=>{if(n in t)throw new Error(`Duplicate friendly name found: ${n}. Name must be unique.`);t[n]={bucketName:o,region:s}}),t}const oo=e=>Object.keys(e).some(t=>t.startsWith("aws_"))?as(e):ls(e)?ys(e):e;function Xt({expiresAt:e,clockDrift:t}){return Date.now()+t>e}class Cs{configure(t,n){this.authConfig=t,this.authOptions=n}async fetchAuthSession(t={}){var i,r,a,c,d,u;let n,o;const s=await this.getTokens(t);return s?(o=(r=(i=s.accessToken)==null?void 0:i.payload)==null?void 0:r.sub,n=await((c=(a=this.authOptions)==null?void 0:a.credentialsProvider)==null?void 0:c.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:s,authenticated:!0,forceRefresh:t.forceRefresh}))):n=await((u=(d=this.authOptions)==null?void 0:d.credentialsProvider)==null?void 0:u.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:t.forceRefresh})),{tokens:s,credentials:n==null?void 0:n.credentials,identityId:n==null?void 0:n.identityId,userSub:o}}async clearCredentials(){var t,n;await((n=(t=this.authOptions)==null?void 0:t.credentialsProvider)==null?void 0:n.clearCredentialsAndIdentityId())}async getTokens(t){var n,o;return await((o=(n=this.authOptions)==null?void 0:n.tokenProvider)==null?void 0:o.getTokens(t))??void 0}}function Ts(e,t,n,o){function s(i){return i instanceof n?i:new n(function(r){r(i)})}return new(n||(n=Promise))(function(i,r){function a(u){try{d(o.next(u))}catch(h){r(h)}}function c(u){try{d(o.throw(u))}catch(h){r(h)}}function d(u){u.done?i(u.value):s(u.value).then(a,c)}d((o=o.apply(e,t||[])).next())})}function Rs(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,s,i,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(d){return function(u){return c([d,u])}}function c(d){if(o)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(n=0)),n;)try{if(o=1,s&&(i=d[0]&2?s.return:d[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,d[1])).done)return i;switch(s=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,s=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]Ps)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;o>0;)this.buffer[this.bufferLength++]=t[n++],o--,this.bufferLength===D&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var t=this.bytesHashed*8,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),o=this.bufferLength;if(n.setUint8(this.bufferLength++,128),o%D>=D-8){for(var s=this.bufferLength;s>>24&255,i[s*4+1]=this.state[s]>>>16&255,i[s*4+2]=this.state[s]>>>8&255,i[s*4+3]=this.state[s]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,o=t.state,s=o[0],i=o[1],r=o[2],a=o[3],c=o[4],d=o[5],u=o[6],h=o[7],l=0;l>>17|g<<15)^(g>>>19|g<<13)^g>>>10;g=this.temp[l-15];var m=(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3;this.temp[l]=(p+this.temp[l-7]|0)+(m+this.temp[l-16]|0)}var w=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&u)|0)+(h+(_s[l]+this.temp[l]|0)|0)|0,x=((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+(s&i^s&r^i&r)|0;h=u,u=d,d=c,c=a+w|0,a=r,r=i,i=s,s=w+x|0}o[0]+=s,o[1]+=i,o[2]+=r,o[3]+=a,o[4]+=c,o[5]+=d,o[6]+=u,o[7]+=h},e}();const bs=e=>new TextEncoder().encode(e);var Us=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:bs;function so(e){return e instanceof Uint8Array?e:typeof e=="string"?Us(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function Ms(e){return typeof e=="string"?e.length===0:e.byteLength===0}var we=function(){function e(t){this.secret=t,this.hash=new Ke,this.reset()}return e.prototype.update=function(t){if(!(Ms(t)||this.error))try{this.hash.update(so(t))}catch(n){this.error=n}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return Ts(this,void 0,void 0,function(){return Rs(this,function(t){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new Ke,this.secret){this.outer=new Ke;var t=Ds(this.secret),n=new Uint8Array(D);n.set(t);for(var o=0;oD){var n=new Ke;n.update(t),t=n.digest()}var o=new Uint8Array(D);return o.set(t),o}const io={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),io[e]=t}function Fs(e){let t="";for(let n=0;ntypeof global<"u",he=()=>typeof window<"u",ro=()=>typeof document<"u",St=()=>typeof process<"u",xe=(e,t)=>!!Object.keys(e).find(n=>n.startsWith(t));var dn={};function Os(){const e=o=>o.startsWith("_react")||o.startsWith("__react"),t=o=>Object.keys(o).find(e),n=()=>Array.from(document.querySelectorAll("[id]"));return ro()&&n().some(t)}function Ls(){return St()&&typeof dn<"u"&&!!Object.keys(dn).find(e=>e.includes("react"))}function ks(){return he()&&xe(window,"__VUE")}function Ks(){return Je()&&xe(global,"__VUE")}var un={};function Bs(){return he()&&xe(window,"__SVELTE")}function qs(){return St()&&typeof un<"u"&&!!Object.keys(un).find(e=>e.includes("svelte"))}function Hs(){return he()&&window.next&&typeof window.next=="object"}function $s(){return Je()&&(xe(global,"__next")||xe(global,"__NEXT"))}function Ws(){return he()&&(window.__NUXT__!==void 0||window.$nuxt!==void 0)}function Vs(){return Je()&&typeof global.__NUXT_PATHS__<"u"}var ln={};function zs(){const e=!!(ro()&&document.querySelector("[ng-version]")),t=!!(he()&&typeof window.ng<"u");return e||t}function js(){var e;return St()&&typeof ln=="object"&&((e=ln.npm_lifecycle_script)==null?void 0:e.startsWith("ng "))||!1}function Gs(){return typeof navigator<"u"&&typeof navigator.product<"u"&&navigator.product==="ReactNative"}function Ys(){return Je()&&typeof global.expo<"u"}function Js(){return he()}const Xs=[{platform:T.Expo,detectionMethod:Ys},{platform:T.ReactNative,detectionMethod:Gs},{platform:T.NextJs,detectionMethod:Hs},{platform:T.Nuxt,detectionMethod:Ws},{platform:T.Angular,detectionMethod:zs},{platform:T.React,detectionMethod:Os},{platform:T.VueJs,detectionMethod:ks},{platform:T.Svelte,detectionMethod:Bs},{platform:T.WebUnknown,detectionMethod:Js},{platform:T.NextJsSSR,detectionMethod:$s},{platform:T.NuxtSSR,detectionMethod:Vs},{platform:T.ReactSSR,detectionMethod:Ls},{platform:T.VueJsSSR,detectionMethod:Ks},{platform:T.AngularSSR,detectionMethod:js},{platform:T.SvelteSSR,detectionMethod:qs}];function Qs(){var e;return((e=Xs.find(t=>t.detectionMethod()))==null?void 0:e.platform)||T.ServerSideUnknown}const Zs=()=>typeof window<"u"&&typeof window.document<"u";class ei{constructor(){this.oAuthListener=void 0,this.resourcesConfig={},this.libraryOptions={},this.Auth=new Cs}configure(t,n){const o=oo(t);this.resourcesConfig=o,n&&(this.libraryOptions=n),this.resourcesConfig=no(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),ce.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",oe),this.notifyOAuthListener()}getConfig(){return this.resourcesConfig}[us](t){var n,o,s;(o=(n=this.resourcesConfig.Auth)==null?void 0:n.Cognito.loginWith)!=null&&o.oauth?t((s=this.resourcesConfig.Auth)==null?void 0:s.Cognito):this.oAuthListener=t}notifyOAuthListener(){var t,n,o;!((n=(t=this.resourcesConfig.Auth)==null?void 0:t.Cognito.loginWith)!=null&&n.oauth)||!this.oAuthListener||(this.oAuthListener((o=this.resourcesConfig.Auth)==null?void 0:o.Cognito),this.oAuthListener=void 0)}}const S=new ei,ao=(e,t)=>e.Auth.fetchAuthSession(t),ti=e=>ao(S,e);function co(){return S.Auth.clearCredentials()}const Xe=e=>{const{headers:t,statusCode:n}=e;return{...ni(e)?e.$metadata:{},httpStatusCode:n,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},ni=e=>typeof(e==null?void 0:e.$metadata)=="object",fe=async e=>{if(!e||e.statusCode<300)return;const t=await Qe(e),o=(r=>{const[a]=r.toString().split(/[,:]+/);return a.includes("#")?a.split("#")[1]:a})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError"),s=t.message??t.Message??"Unknown error",i=new Error(s);return Object.assign(i,{name:o,$metadata:Xe(e)})},Qe=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:Xe(e)})},k=(e,t,n,o)=>async(s,i)=>{const r={...o,...s},a=await r.endpointResolver(r,i),c=await t(i,a),d=await e(c,{...r});return n(d)},uo={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},oi={partitions:[uo,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},lo=e=>{const{partitions:t}=oi;for(const{regions:n,outputs:o,regionRegex:s}of t){const i=new RegExp(s);if(n.includes(e)||i.test(e))return o.dnsSuffix}return uo.outputs.dnsSuffix},si=3,ho=({maxAttempts:e=si,retryDecider:t,computeDelay:n,abortSignal:o})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(s,i)=>async function(a){let c,d=i.attemptsCount??0,u;const h=()=>{if(u)return hn(u,d),u;throw hn(c,d),c};for(;!(o!=null&&o.aborted)&&dd?i.attemptsCount??0:d+1,i.attemptsCount=d,await t(u,c)){if(!(o!=null&&o.aborted)&&d{if(t!=null&&t.aborted)return Promise.resolve();let n,o;const s=new Promise(i=>{o=i,n=setTimeout(i,e)});return t==null||t.addEventListener("abort",function i(r){clearTimeout(n),t==null||t.removeEventListener("abort",i),o()}),s},hn=(e,t)=>{Object.prototype.toString.call(e)==="[object Object]"&&(e.$metadata={...e.$metadata??{},attempts:t})},fo=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>n=>async function(s){if(t.trim().length===0)return await n(s);{const i=e.toLowerCase();return s.headers[i]=s.headers[i]?`${s.headers[i]} ${t}`:t,await n(s)}},Ze=(e,t)=>(n,o)=>{const s={};let i=r=>e(r,o);for(let r=t.length-1;r>=0;r--){const a=t[r];i=a(o)(i,s)}return i(n)},ct=e=>{let t;return()=>(t||(t=e()),t)},ri=e=>!["HEAD","GET","DELETE"].includes(e.toUpperCase()),po=async({url:e,method:t,headers:n,body:o},{abortSignal:s,cache:i,withCrossDomainCredentials:r})=>{var h;let a;try{a=await fetch(e,{method:t,headers:n,body:ri(t)?o:void 0,signal:s,cache:i,credentials:r?"include":"same-origin"})}catch(l){throw l instanceof TypeError?new N({name:Se.NetworkError,message:"A network error has occurred.",underlyingError:l}):l}const c={};(h=a.headers)==null||h.forEach((l,g)=>{c[g.toLowerCase()]=l});const d={statusCode:a.status,headers:c,body:null},u=Object.assign(a.body??{},{text:ct(()=>a.text()),blob:ct(()=>a.blob()),json:ct(()=>a.json())});return{...d,body:u}},wt=Ze(po,[fo,ho]),ai=5*60*1e3;function ci(e=ai){return o=>{const s=2**o*100+100*Math.random();return s>e?!1:s}}const fn=5*60*1e3,xt=e=>{const n=ci(fn)(e);return n===!1?fn:n},di=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],ui=e=>!!e&&di.includes(e),At=e=>async(t,n)=>{const o=n??await e(t)??void 0,s=(o==null?void 0:o.code)||(o==null?void 0:o.name),i=t==null?void 0:t.statusCode;return pi(n)||fi(i,s)||ui(s)||gi(i,s)},li=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],hi=["TimeoutError","RequestTimeout","RequestTimeoutException"],fi=(e,t)=>e===429||!!t&&li.includes(t),pi=e=>(e==null?void 0:e.name)==="Network error",gi=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&hi.includes(t),Ae=URL,pn=URLSearchParams,Ei="6.5.3";let Ie;const Be=[];let $e=!1;const mi=10,yi=10,Ii=1e3,go=()=>{var e;if(!Ie){if(Ie=Qs(),$e)for(;Be.length;)(e=Be.pop())==null||e();else Be.forEach(t=>{t()});gn(T.ServerSideUnknown,mi),gn(T.WebUnknown,yi)}return Ie},Si=e=>{$e||Be.push(e)};function wi(){Ie=void 0}function gn(e,t){Ie===e&&!$e&&setTimeout(()=>{wi(),$e=!0,setTimeout(go,Ii)},t)}const xi={},Ai=(e,t)=>{var n,o;return(o=(n=xi[e])==null?void 0:n[t])==null?void 0:o.additionalDetails},Ci="aws-amplify",Ti=({category:e,action:t}={})=>{const n=[[Ci,Ei]];if(e&&n.push([e,t]),n.push(["framework",go()]),e&&t){const o=Ai(e,t);o&&o.forEach(s=>{n.push(s)})}return n},et=e=>Ti(e).map(([o,s])=>o&&s?`${o}/${s}`:o).join(" "),Ri="cognito-identity",vi=({region:e})=>({url:new Ae(`https://cognito-identity.${e}.${lo(e)}`)}),_i=()=>e=>async function(n){return n.headers["cache-control"]="no-store",e(n)},Eo=Ze(wt,[_i]),Ct={service:Ri,endpointResolver:vi,retryDecider:At(fe),computeDelay:xt,userAgentValue:et(),cache:"no-store"};Si(()=>{Ct.userAgentValue=et()});const mo=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),yo=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),Ni=(e,t)=>{const n=mo("GetId"),o=JSON.stringify(e);return yo(t,n,o)},Pi=async e=>{if(e.statusCode>=300)throw await fe(e);return{IdentityId:(await Qe(e)).IdentityId,$metadata:Xe(e)}},bi=k(Eo,Ni,Pi,Ct),Ui=(e,t)=>{const n=mo("GetCredentialsForIdentity"),o=JSON.stringify(e);return yo(t,n,o)},Mi=async e=>{if(e.statusCode>=300)throw await fe(e);{const t=await Qe(e);return{IdentityId:t.IdentityId,Credentials:Di(t.Credentials),$metadata:Xe(e)}}},Di=({AccessKeyId:e,SecretKey:t,SessionToken:n,Expiration:o}={})=>({AccessKeyId:e,SecretKey:t,SessionToken:n,Expiration:o&&new Date(o*1e3)}),En=k(Eo,Ui,Mi,Ct);class Ue extends N{constructor(){super({name:Se.PlatformNotSupported,message:"Function not supported on current platform"})}}class Io{constructor(t){this.storage=t}async setItem(t,n){if(!this.storage)throw new Ue;this.storage.setItem(t,n)}async getItem(t){if(!this.storage)throw new Ue;return this.storage.getItem(t)}async removeItem(t){if(!this.storage)throw new Ue;this.storage.removeItem(t)}async clear(){if(!this.storage)throw new Ue;this.storage.clear()}}class So{constructor(){this.storage=new Map}get length(){return this.storage.size}key(t){return t>this.length-1?null:Array.from(this.storage.keys())[t]}setItem(t,n){this.storage.set(t,n)}getItem(t){return this.storage.get(t)??null}removeItem(t){this.storage.delete(t)}clear(){this.storage.clear()}}const Fi=()=>typeof window<"u"&&window.localStorage?window.localStorage:new So,Oi=()=>typeof window<"u"&&window.sessionStorage?window.sessionStorage:new So;class Li extends Io{constructor(){super(Fi())}}class ki extends Io{constructor(){super(Oi())}}/*! js-cookie v3.0.5 | MIT */function Me(e){for(var t=1;t"u")){r=Me({},t,r),typeof r.expires=="number"&&(r.expires=new Date(Date.now()+r.expires*864e5)),r.expires&&(r.expires=r.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in r)r[c]&&(a+="; "+c,r[c]!==!0&&(a+="="+r[c].split(";")[0]));return document.cookie=s+"="+e.write(i,s)+a}}function o(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],r={},a=0;athis.removeItem(o));await Promise.all(n)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}const de=new Li;new ki;const wo=e=>Object.keys(e).map(t=>t.toLowerCase()).sort().join(";"),Bi="X-Amz-Date",qi="X-Amz-Security-Token",Hi="authorization",$i="host",Wi=Bi.toLowerCase(),Vi=qi.toLowerCase(),xo="aws4_request",Ao="AWS4-HMAC-SHA256",zi="AWS4",ji="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",Gi="UNSIGNED-PAYLOAD",Yi=(e,t,n)=>`${e}/${t}/${n}/${xo}`,Ji=e=>{const t=e.toISOString().replace(/[:-]|\.\d{3}/g,"");return{longDate:t,shortDate:t.slice(0,8)}},Xi=({credentials:e,signingDate:t=new Date,signingRegion:n,signingService:o,uriEscapePath:s=!0})=>{const{accessKeyId:i,secretAccessKey:r,sessionToken:a}=e,{longDate:c,shortDate:d}=Ji(t),u=Yi(d,n,o);return{accessKeyId:i,credentialScope:u,longDate:c,secretAccessKey:r,sessionToken:a,shortDate:d,signingRegion:n,signingService:o,uriEscapePath:s}},me=(e,t)=>{const n=new we(e??void 0);return n.update(t),n.digestSync()},lt=(e,t)=>{const n=me(e,t);return Fs(n)},Qi=e=>Object.entries(e).map(([t,n])=>({key:t.toLowerCase(),value:(n==null?void 0:n.trim().replace(/\s+/g," "))??""})).sort((t,n)=>t.key`${t.key}:${t.value} +`).join(""),Zi=e=>Array.from(e).sort(([t,n],[o,s])=>t===o?n`${yn(t)}=${yn(n)}`).join("&"),yn=e=>encodeURIComponent(e).replace(/[!'()*]/g,er),er=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,tr=(e,t=!0)=>e?t?encodeURIComponent(e).replace(/%2F/g,"/"):e:"/",nr=e=>e==null?ji:or(e)?lt(null,e):Gi,or=e=>typeof e=="string"||ArrayBuffer.isView(e)||sr(e),sr=e=>typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]",ir=({body:e,headers:t,method:n,url:o},s=!0)=>[n,tr(o.pathname,s),Zi(o.searchParams),Qi(t),wo(t),nr(e)].join(` +`),rr=(e,t,n,o)=>{const s=`${zi}${e}`,i=me(s,t),r=me(i,n),a=me(r,o);return me(a,xo)},ar=(e,t,n)=>[Ao,e,t,n].join(` +`),cr=(e,{credentialScope:t,longDate:n,secretAccessKey:o,shortDate:s,signingRegion:i,signingService:r,uriEscapePath:a})=>{const c=ir(e,a),d=lt(null,c),u=ar(n,t,d);return lt(rr(o,s,i,r),u)},dr=(e,t)=>{const n=Xi(t),{accessKeyId:o,credentialScope:s,longDate:i,sessionToken:r}=n,a={...e.headers};a[$i]=e.url.host,a[Wi]=i,r&&(a[Vi]=r);const c={...e,headers:a},d=cr(c,n),u=`Credential=${o}/${s}`,h=`SignedHeaders=${wo(a)}`,l=`Signature=${d}`;return a[Hi]=`${Ao} ${u}, ${h}, ${l}`,c},Co=e=>new Date(Date.now()+e),ur=5*60*1e3,lr=(e,t)=>Math.abs(Co(t).getTime()-e)>=ur,hr=(e,t)=>lr(e,t)?e-Date.now():t,fr=({credentials:e,region:t,service:n,uriEscapePath:o=!0})=>{let s;return i=>async function(a){s=s??0;const c={credentials:typeof e=="function"?await e():e,signingDate:Co(s),signingRegion:t,signingService:n,uriEscapePath:o},d=await dr(a,c),u=await i(d),h=pr(u);return h&&(s=hr(Date.parse(h),s)),u}},pr=({headers:e}={})=>(e==null?void 0:e.date)??(e==null?void 0:e.Date)??(e==null?void 0:e["x-amz-date"]),gr=Ze(po,[fo,ho,fr]),Er=e=>{let t;return async(...n)=>t||(t=new Promise((o,s)=>{e(...n).then(i=>{o(i)}).catch(i=>{s(i)}).finally(()=>{t=void 0})}),t)},mr=async()=>{const{userAgentData:e}=navigator;if(!e)return navigator.userAgent;const{platform:t="",platformVersion:n="",model:o="",architecture:s="",fullVersionList:i=[]}=await e.getHighEntropyValues(["platform","platformVersion","architecture","model","fullVersionList"]),r=i.map(c=>`${c.brand}/${c.version}`).join(";");return[t,n,s,o,t,r].filter(c=>c).join(" ")};class We extends N{get response(){return this._response?yr(this._response):void 0}constructor(t){super(t),this.constructor=We,Object.setPrototypeOf(this,We.prototype),t.response&&(this._response=t.response)}}const yr=e=>({...e,headers:{...e.headers}});function Ir(e){return Array.from(e,t=>String.fromCodePoint(t)).join("")}const Ve={convert(e,{urlSafe:t}={urlSafe:!1}){const n=typeof e=="string"?e:Ir(e),o=ns()(n);return t?o.replace(/\+/g,"-").replace(/\//g,"_"):o}};function Sr(){return ts().getRandomValues(new Uint32Array(1))[0]}function wr(e){const{words:t}=e,{sigBytes:n}=e,o=[];for(let s=0;s>>2]>>>24-s%4*8&255;o.push((i>>>4).toString(16)),o.push((i&15).toString(16))}return o.join("")}class Tt{constructor(t,n){this.words=[];let o=t;o=this.words=o||[],n!==void 0?this.sigBytes=n:this.sigBytes=o.length*4}random(t){const n=[];for(let o=0;o{var s;const t=(s=S.getConfig().Auth)==null?void 0:s.Cognito,n=t==null?void 0:t.userPoolEndpoint,o=new Ae(`https://${To}.${e}.${lo(e)}`);return{url:n?new Ae(n):o}},Ar=()=>(e,t)=>async function(o){return o.headers["cache-control"]="no-store",e(o)},V=Ze(wt,[Ar]),z={service:To,endpointResolver:xr,retryDecider:At(fe),computeDelay:xt,userAgentValue:et(),cache:"no-store"},Cr=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),Tr=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),j=e=>(t,n)=>{const o=Cr(e),s=JSON.stringify(t);return Tr(n,o,s)},G=()=>async e=>{if(e.statusCode>=300){const t=await fe(e);throw re(t),new E({name:t.name,message:t.message})}else return await Qe(e)},Ce=k(V,j("InitiateAuth"),G(),z),Rr=k(V,j("RevokeToken"),G(),z),vr=k(V,j("SignUp"),G(),z),Y=k(V,j("RespondToAuthChallenge"),G(),z),_r=k(V,j("VerifySoftwareToken"),G(),z),Nr=k(V,j("AssociateSoftwareToken"),G(),z),Pr=k(V,j("GetUser"),G(),z),br=k(V,j("ConfirmDevice"),G(),z),Ur=k(V,j("UpdateUserAttributes"),G(),z);var y;(function(e){e.EmptySignInUsername="EmptySignInUsername",e.EmptySignInPassword="EmptySignInPassword",e.CustomAuthSignInPassword="CustomAuthSignInPassword",e.EmptySignUpUsername="EmptySignUpUsername",e.EmptySignUpPassword="EmptySignUpPassword",e.EmptyConfirmSignUpUsername="EmptyConfirmSignUpUsername",e.EmptyConfirmSignUpCode="EmptyConfirmSignUpCode",e.EmptyResendSignUpCodeUsername="EmptyresendSignUpCodeUsername",e.EmptyChallengeResponse="EmptyChallengeResponse",e.EmptyConfirmResetPasswordUsername="EmptyConfirmResetPasswordUsername",e.EmptyConfirmResetPasswordNewPassword="EmptyConfirmResetPasswordNewPassword",e.EmptyConfirmResetPasswordConfirmationCode="EmptyConfirmResetPasswordConfirmationCode",e.EmptyResetPasswordUsername="EmptyResetPasswordUsername",e.EmptyVerifyTOTPSetupCode="EmptyVerifyTOTPSetupCode",e.EmptyConfirmUserAttributeCode="EmptyConfirmUserAttributeCode",e.IncorrectMFAMethod="IncorrectMFAMethod",e.EmptyUpdatePassword="EmptyUpdatePassword"})(y||(y={}));const Mr={[y.EmptyChallengeResponse]:{message:"challengeResponse is required to confirmSignIn"},[y.EmptyConfirmResetPasswordUsername]:{message:"username is required to confirmResetPassword"},[y.EmptyConfirmSignUpCode]:{message:"code is required to confirmSignUp"},[y.EmptyConfirmSignUpUsername]:{message:"username is required to confirmSignUp"},[y.EmptyConfirmResetPasswordConfirmationCode]:{message:"confirmationCode is required to confirmResetPassword"},[y.EmptyConfirmResetPasswordNewPassword]:{message:"newPassword is required to confirmResetPassword"},[y.EmptyResendSignUpCodeUsername]:{message:"username is required to confirmSignUp"},[y.EmptyResetPasswordUsername]:{message:"username is required to resetPassword"},[y.EmptySignInPassword]:{message:"password is required to signIn"},[y.EmptySignInUsername]:{message:"username is required to signIn"},[y.EmptySignUpPassword]:{message:"password is required to signUp"},[y.EmptySignUpUsername]:{message:"username is required to signUp"},[y.CustomAuthSignInPassword]:{message:"A password is not needed when signing in with CUSTOM_WITHOUT_SRP",recoverySuggestion:"Do not include a password in your signIn call."},[y.IncorrectMFAMethod]:{message:"Incorrect MFA method was chosen. It should be either SMS or TOTP",recoverySuggestion:"Try to pass TOTP or SMS as the challengeResponse"},[y.EmptyVerifyTOTPSetupCode]:{message:"code is required to verifyTotpSetup"},[y.EmptyUpdatePassword]:{message:"oldPassword and newPassword are required to changePassword"},[y.EmptyConfirmUserAttributeCode]:{message:"confirmation code is required to confirmUserAttribute"}};var In;(function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in",e.OAUTH_ERROR="Couldn't finish OAuth flow, check your User Pool HostedUI settings"})(In||(In={}));var ue;(function(e){e.SignInException="SignInException",e.OAuthSignInError="OAuthSignInException"})(ue||(ue={}));function O(e,t){const{message:n,recoverySuggestion:o}=Mr[t];if(!e)throw new E({name:t,message:n,recoverySuggestion:o})}function C(e){const t=e==null?void 0:e.split("_")[0];if(!e||e.indexOf("_")<0||!t||typeof t!="string")throw new E({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}function ht(e){if(!e||!e.includes(":"))throw new E({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}function ft(e){return Object.entries(e).map(([t,n])=>({Name:t,Value:n}))}function Dr(e){const t={};return e==null||e.forEach(n=>{n.Name&&(t[n.Name]=n.Value)}),t}var Sn;(function(e){e.ConcurrentModificationException="ConcurrentModificationException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException"})(Sn||(Sn={}));var wn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(wn||(wn={}));var xn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UsernameExistsException="UsernameExistsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(xn||(xn={}));var An;(function(e){e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(An||(An={}));var Cn;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(Cn||(Cn={}));var Tn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Tn||(Tn={}));var Rn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Rn||(Rn={}));var vn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(vn||(vn={}));var _n;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(_n||(_n={}));var Nn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Nn||(Nn={}));var Pn;(function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"})(Pn||(Pn={}));var bn;(function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidIdentityPoolConfigurationException="InvalidIdentityPoolConfigurationException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"})(bn||(bn={}));var Un;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Un||(Un={}));var Mn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException"})(Mn||(Mn={}));var ze;(function(e){e.PasswordResetRequiredException="PasswordResetRequiredException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(ze||(ze={}));var Dn;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(Dn||(Dn={}));var Fn;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.MFAMethodNotFoundException="MFAMethodNotFoundException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Fn||(Fn={}));var On;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(On||(On={}));var Ln;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UsernameExistsException="UsernameExistsException"})(Ln||(Ln={}));var kn;(function(e){e.AliasExistsException="AliasExistsException",e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(kn||(kn={}));var Kn;(function(e){e.CodeMismatchException="CodeMismatchException",e.EnableSoftwareTokenMFAException="EnableSoftwareTokenMFAException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Kn||(Kn={}));var Bn;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Bn||(Bn={}));var qn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(qn||(qn={}));var Hn;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Hn||(Hn={}));const tt="UserUnAuthenticatedException",Fr="UserAlreadyAuthenticatedException",Or="DeviceMetadataNotFoundException",Lr="InvalidRedirectException",kr=new E({name:Lr,message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."}),Kr="InvalidOriginException",Br=new E({name:Kr,message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),qr="OAuthSignOutException",Hr="TokenRefreshException",$r="UnexpectedSignInInterruptionException";function Rt(e){if(!e||!e.accessToken)throw new E({name:tt,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}function Wr(e){if(!e||!e.idToken)throw new E({name:tt,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}const Vr=new E({name:Hr,message:`Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. + Please change your oauth configuration to use 'code grant' flow.`,recoverySuggestion:`Please logout and change your Amplify configuration to use "code grant" flow. + E.g { responseType: 'code' }`}),zr=new E({name:tt,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function Ro(e){if(Yr(e))throw Vr;if(!Gr(e))throw zr}function vo(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new E({name:Or,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})}const jr={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function _o(e){return(e==null?void 0:e.accessToken)||(e==null?void 0:e.idToken)}function Gr(e){return _o(e)&&(e==null?void 0:e.refreshToken)}function Yr(e){return _o(e)&&!(e!=null&&e.refreshToken)}const Jr=async e=>{var a,c;const t=(a=e.getConfig().Auth)==null?void 0:a.Cognito;I(t);const n=await e.Auth.getTokens({forceRefresh:!1});Rt(n);const{"cognito:username":o,sub:s}=((c=n.idToken)==null?void 0:c.payload)??{},i={username:o,userId:s},r=Xr(n);return r&&(i.signInDetails=r),i};function Xr(e){return e==null?void 0:e.signInDetails}const No=async()=>Jr(S),P=(e,t)=>et({category:dt.Auth,action:e,...t}),Qr=(e,t)=>{switch(t.type){case"SET_SIGN_IN_SESSION":return{...e,signInSession:t.value};case"SET_SIGN_IN_STATE":return{...t.value};case"SET_CHALLENGE_NAME":return{...e,challengeName:t.value};case"SET_USERNAME":return{...e,username:t.value};case"SET_INITIAL_STATE":return Po();default:return e}};function Po(){return{username:void 0,challengeName:void 0,signInSession:void 0}}const Zr=e=>{let t=e(Po(),{type:"SET_INITIAL_STATE"});return{getState:()=>t,dispatch:n=>{t=e(t,n)}}},Q=Zr(Qr);function Te(e){Q.dispatch({type:"SET_SIGN_IN_STATE",value:e})}function W(){Q.dispatch({type:"SET_INITIAL_STATE"})}const qe={convert(e){return new TextEncoder().encode(e)}};function f(e,t){e!=null&&this.fromString(e,t)}function _(){return new f(null,null)}let X;const ea=0xdeadbeefcafe,$n=(ea&16777215)===15715070;function ta(e,t,n,o,s,i){for(;--i>=0;){const r=t*this[e++]+n[o]+s;s=Math.floor(r/67108864),n[o++]=r&67108863}return s}function na(e,t,n,o,s,i){const r=t&32767,a=t>>15;for(;--i>=0;){let c=this[e]&32767;const d=this[e++]>>15,u=a*c+d*r;c=r*c+((u&32767)<<15)+n[o]+(s&1073741823),s=(c>>>30)+(u>>>15)+a*d+(s>>>30),n[o++]=c&1073741823}return s}function oa(e,t,n,o,s,i){const r=t&16383,a=t>>14;for(;--i>=0;){let c=this[e]&16383;const d=this[e++]>>14,u=a*c+d*r;c=r*c+((u&16383)<<14)+n[o]+s,s=(c>>28)+(u>>14)+a*d,n[o++]=c&268435455}return s}const Wn=typeof navigator<"u";Wn&&$n&&navigator.appName==="Microsoft Internet Explorer"?(f.prototype.am=na,X=30):Wn&&$n&&navigator.appName!=="Netscape"?(f.prototype.am=ta,X=26):(f.prototype.am=oa,X=28);f.prototype.DB=X;f.prototype.DM=(1<=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function aa(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function _t(e){const t=_();return t.fromInt(e),t}function ca(e,t){let n;if(t===16)n=4;else if(t===8)n=3;else if(t===2)n=1;else if(t===32)n=5;else if(t===4)n=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;let o=e.length,s=!1,i=0;for(;--o>=0;){const r=ia(e,o);if(r<0){e.charAt(o)==="-"&&(s=!0);continue}s=!1,i===0?this[this.t++]=r:i+n>this.DB?(this[this.t-1]|=(r&(1<>this.DB-i):this[this.t-1]|=r<=this.DB&&(i-=this.DB)}this.clamp(),s&&f.ZERO.subTo(this,this)}function da(){const e=this.s&this.DM;for(;this.t>0&&this[this.t-1]==e;)--this.t}function ua(e){if(this.s<0)return"-"+this.negate().toString(e);let t;if(e==16)t=4;else if(e===8)t=3;else if(e===2)t=1;else if(e===32)t=5;else if(e===4)t=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");const n=(1<0)for(a>a)>0&&(s=!0,i=Vn(o));r>=0;)a>(a+=this.DB-t)):(o=this[r]>>(a-=t)&n,a<=0&&(a+=this.DB,--r)),o>0&&(s=!0),s&&(i+=Vn(o));return s?i:"0"}function la(){const e=_();return f.ZERO.subTo(this,e),e}function ha(){return this.s<0?this.negate():this}function fa(e){let t=this.s-e.s;if(t!=0)return t;let n=this.t;if(t=n-e.t,t!=0)return this.s<0?-t:t;for(;--n>=0;)if((t=this[n]-e[n])!=0)return t;return 0}function Nt(e){let t=1,n;return(n=e>>>16)!==0&&(e=n,t+=16),(n=e>>8)!==0&&(e=n,t+=8),(n=e>>4)!==0&&(e=n,t+=4),(n=e>>2)!==0&&(e=n,t+=2),(n=e>>1)!==0&&(e=n,t+=1),t}function pa(){return this.t<=0?0:this.DB*(this.t-1)+Nt(this[this.t-1]^this.s&this.DM)}function ga(e,t){let n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function Ea(e,t){for(let n=e;n=0;--a)t[a+i+1]=this[a]>>o|r,r=(this[a]&s)<=0;--a)t[a]=0;t[i]=r,t.t=this.t+i+1,t.s=this.s,t.clamp()}function ya(e,t){t.s=this.s;const n=Math.floor(e/this.DB);if(n>=this.t){t.t=0;return}const o=e%this.DB,s=this.DB-o,i=(1<>o;for(let r=n+1;r>o;o>0&&(t[this.t-n-1]|=(this.s&i)<>=this.DB;if(e.t>=this.DB;o+=this.s}else{for(o+=this.s;n>=this.DB;o-=e.s}t.s=o<0?-1:0,o<-1?t[n++]=this.DV+o:o>0&&(t[n++]=o),t.t=n,t.clamp()}function Sa(e,t){const n=this.abs(),o=e.abs();let s=n.t;for(t.t=s+o.t;--s>=0;)t[s]=0;for(s=0;s=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function xa(e,t,n){const o=e.abs();if(o.t<=0)return;const s=this.abs();if(s.t0?(o.lShiftTo(c,i),s.lShiftTo(c,n)):(o.copyTo(i),s.copyTo(n));const d=i.t,u=i[d-1];if(u===0)return;const h=u*(1<1?i[d-2]>>this.F2:0),l=this.FV/h,g=(1<=0&&(n[n.t++]=1,n.subTo(x,n)),f.ONE.dlShiftTo(d,x),x.subTo(i,i);i.t=0;){let K=n[--m]===u?this.DM:Math.floor(n[m]*l+(n[m-1]+p)*g);if((n[m]+=i.am(0,K,n,w,0,d))0&&n.rShiftTo(c,n),r<0&&f.ZERO.subTo(n,n)}function Aa(e){const t=_();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(f.ZERO)>0&&e.subTo(t,t),t}function Ca(){if(this.t<1)return 0;const e=this[0];if(!(e&1))return 0;let t=e&3;return t=t*(2-(e&15)*t)&15,t=t*(2-(e&255)*t)&255,t=t*(2-((e&65535)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function Ta(e){return this.compareTo(e)===0}function Ra(e,t){let n=0,o=0;const s=Math.min(e.t,this.t);for(;n>=this.DB;if(e.t>=this.DB;o+=this.s}else{for(o+=this.s;n>=this.DB;o+=e.s}t.s=o<0?-1:0,o>0?t[n++]=o:o<-1&&(t[n++]=this.DV+o),t.t=n,t.clamp()}function va(e){const t=_();return this.addTo(e,t),t}function _a(e){const t=_();return this.subTo(e,t),t}function Na(e){const t=_();return this.multiplyTo(e,t),t}function Pa(e){const t=_();return this.divRemTo(e,t,null),t}function ge(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t}function Ua(e){const t=_();return e.copyTo(t),this.reduce(t),t}function Ma(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(let t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,o,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function Da(e,t){e.squareTo(t),this.reduce(t)}function Fa(e,t,n){e.multiplyTo(t,n),this.reduce(n)}ge.prototype.convert=ba;ge.prototype.revert=Ua;ge.prototype.reduce=Ma;ge.prototype.mulTo=Fa;ge.prototype.sqrTo=Da;function Oa(e,t,n){let o=e.bitLength(),s,i=_t(1);const r=new ge(t);if(o<=0)return i;o<18?s=1:o<48?s=3:o<144?s=4:o<768?s=5:s=6;const a=[];let c=3;const d=s-1,u=(1<1){const x=_();for(r.sqrTo(a[1],x);c<=u;)a[c]=_(),r.mulTo(x,a[c-2],a[c]),c+=2}let h=e.t-1,l,g=!0,p=_(),m;for(o=Nt(e[h])-1;h>=0;){for(o>=d?l=e[h]>>o-d&u:(l=(e[h]&(1<0&&(l|=e[h-1]>>this.DB+o-d)),c=s;!(l&1);)l>>=1,--c;if((o-=c)<0&&(o+=this.DB,--h),g)a[l].copyTo(i),g=!1;else{for(;c>1;)r.sqrTo(i,p),r.sqrTo(p,i),c-=2;c>0?r.sqrTo(i,p):(m=i,i=p,p=m),r.mulTo(p,a[l],i)}for(;h>=0&&!(e[h]&1<new Promise((a,c)=>{t.modPow(o,i,(d,u)=>{if(d){c(d);return}s.subtract(n.multiply(u)).modPow(e.add(r.multiply(o)),i,(h,l)=>{if(h){c(h);return}a(l.mod(i))})})}),ka="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",bo={},pt={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),bo[e]=t,pt[t]=e}const le=e=>{if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n{let t="";for(let n=0;n{const t=new we;t.update(e);const n=t.digestSync(),o=Pt(n);return new Array(64-o.length).join("0")+o},He=e=>gt(le(e)),Ka=/^[89a-f]/i,$=e=>{if(!(e instanceof f))throw new Error("Not a BigInteger");const t=e.compareTo(f.ZERO)<0;let n=e.abs().toString(16);if(n=n.length%2!==0?`0${n}`:n,n=Ka.test(n)?`00${n}`:n,t){const o=n.split("").map(i=>{const r=~parseInt(i,16)&15;return"0123456789ABCDEF".charAt(r)}).join("");n=new f(o,16).add(f.ONE).toString(16),n.toUpperCase().startsWith("FF8")&&(n=n.substring(2))}return n},Ba=({A:e,B:t})=>{const n=new f(He($(e)+$(t)),16);if(n.equals(f.ZERO))throw new Error("U cannot be zero.");return n},qa=(e,t,n)=>{const o=new we(t);o.update(e);const s=o.digestSync(),i=new we(s);return i.update(n),i.digestSync().slice(0,16)},bt=e=>{const t=new Tt().random(e).toString();return le(t)},Ha=()=>Ve.convert(bt(40));class $a{constructor({userPoolName:t,a:n,g:o,A:s,N:i}){this.encoder=qe,this.userPoolName=t,this.a=n,this.g=o,this.A=s,this.N=i,this.k=new f(He(`${$(i)}${$(o)}`),16)}getRandomPassword(){if(!this.randomPassword)throw new E({name:"EmptyBigIntegerRandomPassword",message:"random password is empty"});return this.randomPassword}getSaltToHashDevices(){if(!this.saltToHashDevices)throw new E({name:"EmptyBigIntegersaltToHashDevices",message:"saltToHashDevices is empty"});return this.saltToHashDevices}getVerifierDevices(){if(!this.verifierDevices)throw new E({name:"EmptyBigIntegerVerifierDevices",message:"verifyDevices is empty"});return this.verifierDevices}async generateHashDevice(t,n){this.randomPassword=Ha();const o=`${t}${n}:${this.randomPassword}`,s=gt(o),i=Pt(bt(16));return this.saltToHashDevices=$(new f(i,16)),new Promise((r,a)=>{this.g.modPow(new f(He(this.saltToHashDevices+s),16),this.N,(c,d)=>{if(c){a(c);return}this.verifierDevices=$(d),r()})})}async getPasswordAuthenticationKey({username:t,password:n,serverBValue:o,salt:s}){if(o.mod(this.N).equals(f.ZERO))throw new Error("B cannot be zero.");const i=Ba({A:this.A,B:o}),r=`${this.userPoolName}${t}:${n}`,a=gt(r),c=new f(He($(s)+a),16),d=await La({a:this.a,g:this.g,k:this.k,x:c,B:o,N:this.N,U:i}),u=this.encoder.convert("Caldera Derived Key"),h=this.encoder.convert(""),l=new Uint8Array(u.byteLength+h.byteLength);return l.set(u,0),l.set(h,u.byteLength),qa(le($(d)),le($(i)),l)}}const Wa=async({a:e,g:t,N:n})=>new Promise((o,s)=>{t.modPow(e,n,(i,r)=>{if(i){s(i);return}if(r.mod(n).equals(f.ZERO)){s(new Error("Illegal parameter. A mod N cannot be 0."));return}o(r)})}),ot=async e=>{const t=new f(ka,16),n=new f("2",16),o=Va(),s=await Wa({a:o,g:n,N:t});return new $a({userPoolName:e,a:o,g:n,A:s,N:t})},Va=()=>{const e=Pt(bt(128));return new f(e,16)},za=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ja=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Uo=()=>{const e=new Date,t=ja[e.getUTCDay()],n=za[e.getUTCMonth()],o=e.getUTCDate();let s=e.getUTCHours();s<10&&(s=`0${s}`);let i=e.getUTCMinutes();i<10&&(i=`0${i}`);let r=e.getUTCSeconds();r<10&&(r=`0${r}`);const a=e.getUTCFullYear();return`${t} ${n} ${o} ${s}:${i}:${r} UTC ${a}`},Mo=({userPoolName:e,username:t,challengeParameters:n,dateNow:o,hkdf:s})=>{const i=qe.convert(e),r=qe.convert(t),a=Ga(n.SECRET_BLOCK),c=qe.convert(o),d=new Uint8Array(i.byteLength+r.byteLength+a.byteLength+c.byteLength);d.set(i,0),d.set(r,i.byteLength),d.set(a,i.byteLength+r.byteLength),d.set(c,i.byteLength+r.byteLength+a.byteLength);const u=new we(s);u.update(d);const h=u.digestSync();return Ve.convert(h)},Ga=e=>{const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/-/g,"+").replace(/_/g,"/"),o=eo.convert(n),s=new Uint8Array(o.length);for(let i=0;i"u")return;const o=window.AmazonCognitoAdvancedSecurityData;if(typeof o>"u")return;const s=o.getData(e,t,n);return s?{EncodedData:s}:{}}const Et="userAttributes.";async function Ya({challengeResponse:e,clientMetadata:t,session:n,username:o,config:s,tokenOrchestrator:i}){const{userPoolId:r,userPoolClientId:a}=s,c={USERNAME:o,ANSWER:e},d=await(i==null?void 0:i.getDeviceMetadata(o));d&&d.deviceKey&&(c.DEVICE_KEY=d.deviceKey);const u=M({username:o,userPoolId:r,userPoolClientId:a}),h={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:c,Session:n,ClientMetadata:t,ClientId:a,UserContextData:u},l=await Y({region:C(r),userAgentValue:P(v.ConfirmSignIn)},h);return l.ChallengeName==="DEVICE_SRP_AUTH"?st({username:o,config:s,clientMetadata:t,session:l.Session,tokenOrchestrator:i}):l}async function Ja({challengeResponse:e,username:t,clientMetadata:n,session:o,deviceName:s,config:i}){const{userPoolId:r,userPoolClientId:a}=i,c={USERNAME:t},{Session:d}=await _r({region:C(r),userAgentValue:P(v.ConfirmSignIn)},{UserCode:e,Session:o,FriendlyDeviceName:s});Q.dispatch({type:"SET_SIGN_IN_SESSION",value:d});const u={ChallengeName:"MFA_SETUP",ChallengeResponses:c,Session:d,ClientMetadata:n,ClientId:a};return Y({region:C(r)},u)}async function Xa({challengeResponse:e,username:t,clientMetadata:n,session:o,config:s}){const{userPoolId:i,userPoolClientId:r}=s;O(e==="TOTP"||e==="SMS",y.IncorrectMFAMethod);const a={USERNAME:t,ANSWER:uc(e)},c=M({username:t,userPoolId:i,userPoolClientId:r}),d={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:a,Session:o,ClientMetadata:n,ClientId:r,UserContextData:c};return Y({region:C(i),userAgentValue:P(v.ConfirmSignIn)},d)}async function Qa({challengeResponse:e,clientMetadata:t,session:n,username:o,config:s}){const{userPoolId:i,userPoolClientId:r}=s,a={USERNAME:o,SMS_MFA_CODE:e},c=M({username:o,userPoolId:i,userPoolClientId:r}),d={ChallengeName:"SMS_MFA",ChallengeResponses:a,Session:n,ClientMetadata:t,ClientId:r,UserContextData:c};return Y({region:C(i),userAgentValue:P(v.ConfirmSignIn)},d)}async function Za({challengeResponse:e,clientMetadata:t,session:n,username:o,config:s}){const{userPoolId:i,userPoolClientId:r}=s,a={USERNAME:o,SOFTWARE_TOKEN_MFA_CODE:e},c=M({username:o,userPoolId:i,userPoolClientId:r}),d={ChallengeName:"SOFTWARE_TOKEN_MFA",ChallengeResponses:a,Session:n,ClientMetadata:t,ClientId:r,UserContextData:c};return Y({region:C(i),userAgentValue:P(v.ConfirmSignIn)},d)}async function ec({challengeResponse:e,clientMetadata:t,session:n,username:o,requiredAttributes:s,config:i}){const{userPoolId:r,userPoolClientId:a}=i,c={...cc(s),NEW_PASSWORD:e,USERNAME:o},d=M({username:o,userPoolId:r,userPoolClientId:a}),u={ChallengeName:"NEW_PASSWORD_REQUIRED",ChallengeResponses:c,ClientMetadata:t,Session:n,ClientId:a,UserContextData:d};return Y({region:C(r),userAgentValue:P(v.ConfirmSignIn)},u)}async function tc(e,t,n,o,s){var g,p;const{userPoolClientId:i,userPoolId:r}=o,a={USERNAME:e,PASSWORD:t},c=await s.getDeviceMetadata(e);c&&c.deviceKey&&(a.DEVICE_KEY=c.deviceKey);const d=M({username:e,userPoolId:r,userPoolClientId:i}),u={AuthFlow:"USER_PASSWORD_AUTH",AuthParameters:a,ClientMetadata:n,ClientId:i,UserContextData:d},h=await Ce({region:C(r),userAgentValue:P(v.SignIn)},u),l=((g=h.ChallengeParameters)==null?void 0:g.USERNAME)??((p=h.ChallengeParameters)==null?void 0:p.USER_ID_FOR_SRP)??e;return it(l),h.ChallengeName==="DEVICE_SRP_AUTH"?st({username:l,config:o,clientMetadata:n,session:h.Session,tokenOrchestrator:s}):h}async function nc(e,t,n,o,s){const{userPoolId:i,userPoolClientId:r}=o,a=(i==null?void 0:i.split("_")[1])||"",c=await ot(a),d={USERNAME:e,SRP_A:c.A.toString(16)},u=M({username:e,userPoolId:i,userPoolClientId:r}),h={AuthFlow:"USER_SRP_AUTH",AuthParameters:d,ClientMetadata:n,ClientId:r,UserContextData:u},l=await Ce({region:C(i),userAgentValue:P(v.SignIn)},h),{ChallengeParameters:g,Session:p}=l,m=(g==null?void 0:g.USERNAME)??e;return it(m),Ne(Do,[t,g,n,p,c,o,s],m,s)}async function oc(e,t,n,o){var l;const{userPoolClientId:s,userPoolId:i}=n,r={USERNAME:e},a=await o.getDeviceMetadata(e);a&&a.deviceKey&&(r.DEVICE_KEY=a.deviceKey);const c=M({username:e,userPoolId:i,userPoolClientId:s}),d={AuthFlow:"CUSTOM_AUTH",AuthParameters:r,ClientMetadata:t,ClientId:s,UserContextData:c},u=await Ce({region:C(i),userAgentValue:P(v.SignIn)},d),h=((l=u.ChallengeParameters)==null?void 0:l.USERNAME)??e;return it(h),u.ChallengeName==="DEVICE_SRP_AUTH"?st({username:h,config:n,clientMetadata:t,session:u.Session,tokenOrchestrator:o}):u}async function sc(e,t,n,o,s){I(o);const{userPoolId:i,userPoolClientId:r}=o,a=(i==null?void 0:i.split("_")[1])||"",c=await ot(a),d={USERNAME:e,SRP_A:c.A.toString(16),CHALLENGE_NAME:"SRP_A"},u=M({username:e,userPoolId:i,userPoolClientId:r}),h={AuthFlow:"CUSTOM_AUTH",AuthParameters:d,ClientMetadata:n,ClientId:r,UserContextData:u},{ChallengeParameters:l,Session:g}=await Ce({region:C(i),userAgentValue:P(v.SignIn)},h),p=(l==null?void 0:l.USERNAME)??e;return it(p),Ne(Do,[t,l,n,g,c,o,s],p,s)}async function st({username:e,config:t,clientMetadata:n,session:o,tokenOrchestrator:s}){const{userPoolId:i}=t,r=t.userPoolClientId,a=await(s==null?void 0:s.getDeviceMetadata(e));vo(a);const c=await ot(a.deviceGroupKey),d={USERNAME:e,SRP_A:c.A.toString(16),DEVICE_KEY:a.deviceKey},u={ChallengeName:"DEVICE_SRP_AUTH",ClientId:r,ChallengeResponses:d,ClientMetadata:n,Session:o},{ChallengeParameters:h,Session:l}=await Y({region:C(i)},u);return ic(e,h,n,l,c,t,s)}async function ic(e,t,n,o,s,{userPoolId:i,userPoolClientId:r},a){const c=await(a==null?void 0:a.getDeviceMetadata(e));vo(c);const d=new f(t==null?void 0:t.SRP_B,16),u=new f(t==null?void 0:t.SALT,16),{deviceKey:h}=c,{deviceGroupKey:l}=c,g=await s.getPasswordAuthenticationKey({username:c.deviceKey,password:c.randomPassword,serverBValue:d,salt:u}),p=Uo(),m={USERNAME:(t==null?void 0:t.USERNAME)??e,PASSWORD_CLAIM_SECRET_BLOCK:t==null?void 0:t.SECRET_BLOCK,TIMESTAMP:p,PASSWORD_CLAIM_SIGNATURE:Mo({username:h,userPoolName:l,challengeParameters:t,dateNow:p,hkdf:g}),DEVICE_KEY:h},w=M({username:e,userPoolId:i,userPoolClientId:r}),x={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:r,ChallengeResponses:m,Session:o,ClientMetadata:n,UserContextData:w};return Y({region:C(i)},x)}async function Do(e,t,n,o,s,i,r){const{userPoolId:a,userPoolClientId:c}=i,d=(a==null?void 0:a.split("_")[1])||"",u=new f(t==null?void 0:t.SRP_B,16),h=new f(t==null?void 0:t.SALT,16),l=t==null?void 0:t.USER_ID_FOR_SRP;if(!l)throw new E({name:"EmptyUserIdForSRPException",message:"USER_ID_FOR_SRP was not found in challengeParameters"});const g=await s.getPasswordAuthenticationKey({username:l,password:e,serverBValue:u,salt:h}),p=Uo(),m={USERNAME:l,PASSWORD_CLAIM_SECRET_BLOCK:t==null?void 0:t.SECRET_BLOCK,TIMESTAMP:p,PASSWORD_CLAIM_SIGNATURE:Mo({username:l,userPoolName:d,challengeParameters:t,dateNow:p,hkdf:g})},w=await r.getDeviceMetadata(l);w&&w.deviceKey&&(m.DEVICE_KEY=w.deviceKey);const x=M({username:l,userPoolId:a,userPoolClientId:c}),K={ChallengeName:"PASSWORD_VERIFIER",ChallengeResponses:m,ClientMetadata:n,Session:o,ClientId:c,UserContextData:x},Z=await Y({region:C(a)},K);return Z.ChallengeName==="DEVICE_SRP_AUTH"?st({username:l,config:i,clientMetadata:n,session:Z.Session,tokenOrchestrator:r}):Z}async function Re(e){var s;const{challengeName:t,challengeParameters:n}=e,o=(s=S.getConfig().Auth)==null?void 0:s.Cognito;switch(I(o),t){case"CUSTOM_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE",additionalInfo:n}};case"MFA_SETUP":{const{signInSession:i,username:r}=Q.getState();if(!hc(n,"TOTP"))throw new E({name:ue.SignInException,message:`Cannot initiate MFA setup from available types: ${mt(yt(n.MFAS_CAN_SETUP))}`});const{Session:a,SecretCode:c}=await Nr({region:C(o.userPoolId)},{Session:i});return Q.dispatch({type:"SET_SIGN_IN_SESSION",value:a}),{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_TOTP_SETUP",totpSetupDetails:rc(c,r)}}}case"NEW_PASSWORD_REQUIRED":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",missingAttributes:ac(n.requiredAttributes)}};case"SELECT_MFA_TYPE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SELECTION",allowedMFATypes:mt(yt(n.MFAS_CAN_CHOOSE))}};case"SMS_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_SMS_CODE",codeDeliveryDetails:{deliveryMedium:n.CODE_DELIVERY_DELIVERY_MEDIUM,destination:n.CODE_DELIVERY_DESTINATION}}};case"SOFTWARE_TOKEN_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_TOTP_CODE"}}}throw new E({name:ue.SignInException,message:`An error occurred during the sign in process. ${t} challengeName returned by the underlying service was not addressed.`})}function rc(e,t){return{sharedSecret:e,getSetupUri:(n,o)=>{const s=`otpauth://totp/${n}:${o??t}?secret=${e}&issuer=${n}`;return new Ae(s)}}}function ve(e){if(e===ze.PasswordResetRequiredException)return{isSignedIn:!1,nextStep:{signInStep:"RESET_PASSWORD"}};if(e===ze.UserNotConfirmedException)return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_UP"}}}function ac(e){return e?JSON.parse(e).map(n=>n.includes(Et)?n.replace(Et,""):n):[]}function cc(e){if(!e)return{};const t={};return Object.entries(e).forEach(([n,o])=>{o&&(t[`${Et}${n}`]=o)}),t}async function dc(e,t,n,o,s,i,r,a){const c=a==null?void 0:a.userAttributes,d=a==null?void 0:a.friendlyDeviceName;switch(t){case"SMS_MFA":return Qa({challengeResponse:o,clientMetadata:r,session:n,username:e,config:s});case"SELECT_MFA_TYPE":return Xa({challengeResponse:o,clientMetadata:r,session:n,username:e,config:s});case"MFA_SETUP":return Ja({challengeResponse:o,clientMetadata:r,session:n,username:e,deviceName:d,config:s});case"NEW_PASSWORD_REQUIRED":return ec({challengeResponse:o,clientMetadata:r,session:n,username:e,requiredAttributes:c,config:s});case"CUSTOM_CHALLENGE":return Ne(Ya,[{challengeResponse:o,clientMetadata:r,session:n,username:e,config:s,tokenOrchestrator:i}],e,i);case"SOFTWARE_TOKEN_MFA":return Za({challengeResponse:o,clientMetadata:r,session:n,username:e,config:s})}throw new E({name:ue.SignInException,message:`An error occurred during the sign in process. + ${t} challengeName returned by the underlying service was not addressed.`})}function uc(e){let t="SMS_MFA";return e==="TOTP"&&(t="SOFTWARE_TOKEN_MFA"),t}function lc(e){if(e==="SMS_MFA")return"SMS";if(e==="SOFTWARE_TOKEN_MFA")return"TOTP"}function mt(e){if(e)return e.map(lc).filter(Boolean)}function yt(e){return e?JSON.parse(e):[]}function hc(e,t){const{MFAS_CAN_SETUP:n}=e,o=mt(yt(n));return o?o.includes(t):!1}async function fc(){let e;try{e=await No()}catch{}if(e&&e.userId&&e.username)throw new E({name:Fr,message:"There is already a signed in user.",recoverySuggestion:"Call signOut before calling signIn again."})}async function _e(e,t,n){if(!t)return;const o=e.split("_")[1]||"",s=await ot(o),i=t==null?void 0:t.DeviceKey,r=t==null?void 0:t.DeviceGroupKey;try{await s.generateHashDevice(r??"",i??"")}catch{return}const a={Salt:Ve.convert(le(s.getSaltToHashDevices())),PasswordVerifier:Ve.convert(le(s.getVerifierDevices()))},c=s.getRandomPassword();try{return await br({region:C(e)},{AccessToken:n,DeviceName:await mr(),DeviceKey:t==null?void 0:t.DeviceKey,DeviceSecretVerifierConfig:a}),{deviceKey:i,deviceGroupKey:r,randomPassword:c}}catch{return}}async function Ne(e,t,n,o){try{return await e(...t)}catch(s){if(s instanceof E&&s.name==="ResourceNotFoundException"&&s.message.includes("Device does not exist."))return await o.clearDeviceMetadata(n),e(...t);throw s}}function it(e){const{dispatch:t}=Q;t({type:"SET_USERNAME",value:e})}function rt(e){return Q.getState().username??e}const pc=async({tokens:e,authConfig:t,username:n})=>{var l,g;I(t==null?void 0:t.Cognito);const o=C(t.Cognito.userPoolId);Ro(e);const s=e.refreshToken,i={REFRESH_TOKEN:s};(l=e.deviceMetadata)!=null&&l.deviceKey&&(i.DEVICE_KEY=e.deviceMetadata.deviceKey);const r=M({username:n,userPoolId:t.Cognito.userPoolId,userPoolClientId:t.Cognito.userPoolClientId}),{AuthenticationResult:a}=await Ce({region:o},{ClientId:(g=t==null?void 0:t.Cognito)==null?void 0:g.userPoolClientId,AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:i,UserContextData:r}),c=se((a==null?void 0:a.AccessToken)??""),d=a!=null&&a.IdToken?se(a.IdToken):void 0,{iat:u}=c.payload;if(!u)throw new E({name:"iatNotFoundException",message:"iat not found in access token"});const h=u*1e3-new Date().getTime();return{accessToken:c,idToken:d,clockDrift:h,refreshToken:s,username:n}},gc=Er(pc),Ec={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var je;(function(e){e.InvalidAuthTokens="InvalidAuthTokens"})(je||(je={}));const mc={[je.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},yc=Qn(mc);class Ic{constructor(){this.name="CognitoIdentityServiceProvider"}getKeyValueStorage(){if(!this.keyValueStorage)throw new E({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(t){this.keyValueStorage=t}setAuthConfig(t){this.authConfig=t}async loadTokens(){try{const t=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t.accessToken);if(!n)throw new E({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const o=se(n),s=await this.getKeyValueStorage().getItem(t.idToken),i=s?se(s):void 0,r=await this.getKeyValueStorage().getItem(t.refreshToken)??void 0,a=await this.getKeyValueStorage().getItem(t.clockDrift)??"0",c=Number.parseInt(a),d=await this.getKeyValueStorage().getItem(t.signInDetails),u={accessToken:o,idToken:i,refreshToken:r,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:c,username:await this.getLastAuthUser()};return d&&(u.signInDetails=JSON.parse(d)),u}catch{return null}}async storeTokens(t){yc(t!==void 0,je.InvalidAuthTokens),await this.clearTokens();const n=t.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),n);const o=await this.getAuthKeys();await this.getKeyValueStorage().setItem(o.accessToken,t.accessToken.toString()),t.idToken&&await this.getKeyValueStorage().setItem(o.idToken,t.idToken.toString()),t.refreshToken&&await this.getKeyValueStorage().setItem(o.refreshToken,t.refreshToken),t.deviceMetadata&&(t.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(o.deviceKey,t.deviceMetadata.deviceKey),t.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(o.deviceGroupKey,t.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(o.randomPasswordKey,t.deviceMetadata.randomPassword)),t.signInDetails&&await this.getKeyValueStorage().setItem(o.signInDetails,JSON.stringify(t.signInDetails)),await this.getKeyValueStorage().setItem(o.clockDrift,`${t.clockDrift}`)}async clearTokens(){const t=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(t.accessToken),this.getKeyValueStorage().removeItem(t.idToken),this.getKeyValueStorage().removeItem(t.clockDrift),this.getKeyValueStorage().removeItem(t.refreshToken),this.getKeyValueStorage().removeItem(t.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(t.oauthMetadata)])}async getDeviceMetadata(t){const n=await this.getAuthKeys(t),o=await this.getKeyValueStorage().getItem(n.deviceKey),s=await this.getKeyValueStorage().getItem(n.deviceGroupKey),i=await this.getKeyValueStorage().getItem(n.randomPasswordKey);return i&&s&&o?{deviceKey:o,deviceGroupKey:s,randomPassword:i}:null}async clearDeviceMetadata(t){const n=await this.getAuthKeys(t);await Promise.all([this.getKeyValueStorage().removeItem(n.deviceKey),this.getKeyValueStorage().removeItem(n.deviceGroupKey),this.getKeyValueStorage().removeItem(n.randomPasswordKey)])}async getAuthKeys(t){var o;I((o=this.authConfig)==null?void 0:o.Cognito);const n=t??await this.getLastAuthUser();return Sc(this.name,`${this.authConfig.Cognito.userPoolClientId}.${n}`)}getLastAuthUserKey(){var n;I((n=this.authConfig)==null?void 0:n.Cognito);const t=this.authConfig.Cognito.userPoolClientId;return`${this.name}.${t}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(t){const{oauthMetadata:n}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(n,JSON.stringify(t))}async getOAuthMetadata(){const{oauthMetadata:t}=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t);return n&&JSON.parse(n)}}const Sc=(e,t)=>Ut(Ec)(`${e}`,t);function Ut(e){const t=Object.values({...e});return(n,o)=>t.reduce((s,i)=>({...s,[i]:`${n}.${o}.${i}`}),{})}const zn="amplify-signin-with-hostedUI",B="CognitoIdentityServiceProvider";class Fo{constructor(t){this.keyValueStorage=t}async clearOAuthInflightData(){I(this.cognitoConfig);const t=q(B,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(t.inflightOAuth),this.keyValueStorage.removeItem(t.oauthPKCE),this.keyValueStorage.removeItem(t.oauthState)])}async clearOAuthData(){I(this.cognitoConfig);const t=q(B,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(zn),this.keyValueStorage.removeItem(t.oauthSignIn)}loadOAuthState(){I(this.cognitoConfig);const t=q(B,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthState)}storeOAuthState(t){I(this.cognitoConfig);const n=q(B,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthState,t)}loadPKCE(){I(this.cognitoConfig);const t=q(B,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthPKCE)}storePKCE(t){I(this.cognitoConfig);const n=q(B,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthPKCE,t)}setAuthConfig(t){this.cognitoConfig=t}async loadOAuthInFlight(){I(this.cognitoConfig);const t=q(B,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(t.inflightOAuth)==="true"}async storeOAuthInFlight(t){I(this.cognitoConfig);const n=q(B,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(n.inflightOAuth,`${t}`)}async loadOAuthSignIn(){var i;I(this.cognitoConfig);const t=q(B,this.cognitoConfig.userPoolClientId),n=await this.keyValueStorage.getItem(zn),[o,s]=((i=await this.keyValueStorage.getItem(t.oauthSignIn))==null?void 0:i.split(","))??[];return{isOAuthSignIn:o==="true"||n==="true",preferPrivateSession:s==="true"}}async storeOAuthSignIn(t,n=!1){I(this.cognitoConfig);const o=q(B,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(o.oauthSignIn,`${t},${n}`)}}const q=(e,t)=>Ut(jr)(e,t),jn=new Fo(de);class wc{constructor(){this.waitForInflightOAuth=Zs()?async()=>{if(await jn.loadOAuthInFlight())return this.inflightPromise?this.inflightPromise:(this.inflightPromise=new Promise((t,n)=>{}),this.inflightPromise)}:async()=>{}}setAuthConfig(t){jn.setAuthConfig(t.Cognito),this.authConfig=t}setTokenRefresher(t){this.tokenRefresher=t}setAuthTokenStore(t){this.tokenStore=t}getTokenStore(){if(!this.tokenStore)throw new E({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new E({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}async getTokens(t){var r,a,c,d,u;let n;try{I((r=this.authConfig)==null?void 0:r.Cognito)}catch{return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,n=await this.getTokenStore().loadTokens();const o=await this.getTokenStore().getLastAuthUser();if(n===null)return null;const s=!!(n!=null&&n.idToken)&&Xt({expiresAt:(((c=(a=n.idToken)==null?void 0:a.payload)==null?void 0:c.exp)??0)*1e3,clockDrift:n.clockDrift??0}),i=Xt({expiresAt:(((u=(d=n.accessToken)==null?void 0:d.payload)==null?void 0:u.exp)??0)*1e3,clockDrift:n.clockDrift??0});return(t!=null&&t.forceRefresh||s||i)&&(n=await this.refreshTokens({tokens:n,username:o}),n===null)?null:{accessToken:n==null?void 0:n.accessToken,idToken:n==null?void 0:n.idToken,signInDetails:n==null?void 0:n.signInDetails}}async refreshTokens({tokens:t,username:n}){try{const{signInDetails:o}=t,s=await this.getTokenRefresher()({tokens:t,authConfig:this.authConfig,username:n});return s.signInDetails=o,await this.setTokens({tokens:s}),ce.dispatch("auth",{event:"tokenRefresh"},"Auth",oe),s}catch(o){return this.handleErrors(o)}}handleErrors(t){if(re(t),t.message!=="Network error"&&this.clearTokens(),ce.dispatch("auth",{event:"tokenRefresh_failure",data:{error:t}},"Auth",oe),t.name.startsWith("NotAuthorizedException"))return null;throw t}async setTokens({tokens:t}){return this.getTokenStore().storeTokens(t)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(t){return this.getTokenStore().getDeviceMetadata(t)}clearDeviceMetadata(t){return this.getTokenStore().clearDeviceMetadata(t)}setOAuthMetadata(t){return this.getTokenStore().setOAuthMetadata(t)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}class xc{constructor(){this.authTokenStore=new Ic,this.authTokenStore.setKeyValueStorage(de),this.tokenOrchestrator=new wc,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(gc)}getTokens({forceRefresh:t}={forceRefresh:!1}){return this.tokenOrchestrator.getTokens({forceRefresh:t})}setKeyValueStorage(t){this.authTokenStore.setKeyValueStorage(t)}setAuthConfig(t){this.authTokenStore.setAuthConfig(t),this.tokenOrchestrator.setAuthConfig(t)}}const ye=new xc,{tokenOrchestrator:L}=ye;async function Pe(e){if(e.AccessToken){const t=se(e.AccessToken),n=(t.payload.iat||0)*1e3,o=new Date().getTime(),s=n>0?n-o:0;let i,r,a;e.RefreshToken&&(r=e.RefreshToken),e.IdToken&&(i=se(e.IdToken)),e!=null&&e.NewDeviceMetadata&&(a=e.NewDeviceMetadata);const c={accessToken:t,idToken:i,refreshToken:r,clockDrift:s,deviceMetadata:a,username:e.username};e!=null&&e.signInDetails&&(c.signInDetails=e.signInDetails),await L.setTokens({tokens:c})}else throw new N({message:"Invalid tokens",name:"InvalidTokens",recoverySuggestion:"Check Cognito UserPool settings"})}const Ac="Unable to get user session following successful sign-in.",be=async()=>{try{ce.dispatch("auth",{event:"signedIn",data:await No()},"Auth",oe)}catch(e){throw e.name===tt?new E({name:$r,message:Ac,recoverySuggestion:"This most likely is due to auth tokens not being persisted. If you are using cookie store, please ensure cookies can be correctly set from your server."}):e}};async function Cc(e){var a;const t=(a=S.getConfig().Auth)==null?void 0:a.Cognito;I(t);const{username:n,password:o,options:s}=e,i={loginId:n,authFlowType:"CUSTOM_WITHOUT_SRP"},r=s==null?void 0:s.clientMetadata;O(!!n,y.EmptySignInUsername),O(!o,y.CustomAuthSignInPassword);try{const{ChallengeName:c,ChallengeParameters:d,AuthenticationResult:u,Session:h}=await Ne(oc,[n,r,t,L],n,L),l=rt(n);return Te({signInSession:h,username:l,challengeName:c,signInDetails:i}),u?(W(),await Pe({username:l,...u,NewDeviceMetadata:await _e(t.userPoolId,u.NewDeviceMetadata,u.AccessToken),signInDetails:i}),await be(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):Re({challengeName:c,challengeParameters:d})}catch(c){W(),re(c);const d=ve(c.name);if(d)return d;throw c}}async function Tc(e){var a;const{username:t,password:n,options:o}=e,s={loginId:t,authFlowType:"CUSTOM_WITH_SRP"},i=(a=S.getConfig().Auth)==null?void 0:a.Cognito;I(i);const r=o==null?void 0:o.clientMetadata;O(!!t,y.EmptySignInUsername),O(!!n,y.EmptySignInPassword);try{const{ChallengeName:c,ChallengeParameters:d,AuthenticationResult:u,Session:h}=await sc(t,n,r,i,L),l=rt(t);return Te({signInSession:h,username:l,challengeName:c,signInDetails:s}),u?(await Pe({username:l,...u,NewDeviceMetadata:await _e(i.userPoolId,u.NewDeviceMetadata,u.AccessToken),signInDetails:s}),W(),await be(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):Re({challengeName:c,challengeParameters:d})}catch(c){W(),re(c);const d=ve(c.name);if(d)return d;throw c}}async function Gn(e){var r,a;const{username:t,password:n}=e,o=(r=S.getConfig().Auth)==null?void 0:r.Cognito,s={loginId:t,authFlowType:"USER_SRP_AUTH"};I(o);const i=(a=e.options)==null?void 0:a.clientMetadata;O(!!t,y.EmptySignInUsername),O(!!n,y.EmptySignInPassword);try{const{ChallengeName:c,ChallengeParameters:d,AuthenticationResult:u,Session:h}=await nc(t,n,i,o,L),l=rt(t);return Te({signInSession:h,username:l,challengeName:c,signInDetails:s}),u?(W(),await Pe({username:l,...u,NewDeviceMetadata:await _e(o.userPoolId,u.NewDeviceMetadata,u.AccessToken),signInDetails:s}),await be(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):Re({challengeName:c,challengeParameters:d})}catch(c){W(),re(c);const d=ve(c.name);if(d)return d;throw c}}async function Rc(e){var a;const{username:t,password:n,options:o}=e,s=(a=S.getConfig().Auth)==null?void 0:a.Cognito,i={loginId:t,authFlowType:"USER_PASSWORD_AUTH"};I(s);const r=o==null?void 0:o.clientMetadata;O(!!t,y.EmptySignInUsername),O(!!n,y.EmptySignInPassword);try{const{ChallengeName:c,ChallengeParameters:d,AuthenticationResult:u,Session:h}=await Ne(tc,[t,n,r,s,L],t,L),l=rt(t);return Te({signInSession:h,username:l,challengeName:c,signInDetails:i}),u?(await Pe({...u,username:l,NewDeviceMetadata:await _e(s.userPoolId,u.NewDeviceMetadata,u.AccessToken),signInDetails:i}),W(),await be(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):Re({challengeName:c,challengeParameters:d})}catch(c){W(),re(c);const d=ve(c.name);if(d)return d;throw c}}async function fd(e){var n;const t=(n=e.options)==null?void 0:n.authFlowType;switch(await fc(),t){case"USER_SRP_AUTH":return Gn(e);case"USER_PASSWORD_AUTH":return Rc(e);case"CUSTOM_WITHOUT_SRP":return Cc(e);case"CUSTOM_WITH_SRP":return Tc(e);default:return Gn(e)}}const vc=3*60*1e3;function _c(e){const t=Gt.listen("auth-internal",async({payload:o})=>{switch(o.event){case"confirmSignUp":{const s=o.data;s!=null&&s.isSignUpComplete&&(Gt.dispatch("auth-internal",{event:"autoSignIn"}),t())}}}),n=setTimeout(()=>{t(),Lo(!1),clearTimeout(n)},vc)}let Oo=!1;function Fe(){return Oo}function Lo(e){Oo=e}function Oe(e){return!!e.UserConfirmed}async function pd(e){var m;const{username:t,password:n,options:o}=e,s=(m=S.getConfig().Auth)==null?void 0:m.Cognito,i=(s==null?void 0:s.signUpVerificationMethod)??"code",{clientMetadata:r,validationData:a,autoSignIn:c}=e.options??{};I(s),O(!!t,y.EmptySignUpUsername),O(!!n,y.EmptySignUpPassword);const d=typeof c!="boolean"?c:void 0;d==null||d.authFlowType,(d||c===!0)&&Lo(!0);const{userPoolId:u,userPoolClientId:h}=s,l=await vr({region:C(u),userAgentValue:P(v.SignUp)},{Username:t,Password:n,UserAttributes:(o==null?void 0:o.userAttributes)&&ft(o==null?void 0:o.userAttributes),ClientMetadata:r,ValidationData:a&&ft(a),ClientId:h,UserContextData:M({username:t,userPoolId:u,userPoolClientId:h})}),{UserSub:g,CodeDeliveryDetails:p}=l;if(Oe(l)&&Fe())return{isSignUpComplete:!0,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN"},userId:g};if(Oe(l)&&!Fe())return{isSignUpComplete:!0,nextStep:{signUpStep:"DONE"},userId:g};if(!Oe(l)&&Fe()&&i==="code")_c();else if(!Oe(l)&&Fe()&&i==="link")return{isSignUpComplete:!1,nextStep:{signUpStep:"COMPLETE_AUTO_SIGN_IN",codeDeliveryDetails:{deliveryMedium:p==null?void 0:p.DeliveryMedium,destination:p==null?void 0:p.Destination,attributeName:p==null?void 0:p.AttributeName}},userId:g};return{isSignUpComplete:!1,nextStep:{signUpStep:"CONFIRM_SIGN_UP",codeDeliveryDetails:{deliveryMedium:p==null?void 0:p.DeliveryMedium,destination:p==null?void 0:p.Destination,attributeName:p==null?void 0:p.AttributeName}},userId:g}}async function gd(e){var d;const{challengeResponse:t,options:n}=e,{username:o,challengeName:s,signInSession:i,signInDetails:r}=Q.getState(),a=(d=S.getConfig().Auth)==null?void 0:d.Cognito;I(a);const c=n==null?void 0:n.clientMetadata;if(O(!!t,y.EmptyChallengeResponse),!o||!s||!i)throw new E({name:ue.SignInException,message:` + An error occurred during the sign in process. + + This most likely occurred due to: + 1. signIn was not called before confirmSignIn. + 2. signIn threw an exception. + 3. page was refreshed during the sign in flow. + `,recoverySuggestion:"Make sure a successful call to signIn is made before calling confirmSignInand that the page is not refreshed until the sign in process is done."});try{const{Session:u,ChallengeName:h,AuthenticationResult:l,ChallengeParameters:g}=await dc(o,s,i,t,a,L,c,n);return Te({signInSession:u,username:o,challengeName:h,signInDetails:r}),l?(W(),await Pe({username:o,...l,NewDeviceMetadata:await _e(a.userPoolId,l.NewDeviceMetadata,l.AccessToken),signInDetails:r}),await be(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}}):Re({challengeName:h,challengeParameters:g})}catch(u){re(u);const h=ve(u.name);if(h)return h;throw u}}const Nc=async e=>{var a;const{userAttributes:t,options:n}=e,o=(a=S.getConfig().Auth)==null?void 0:a.Cognito,s=n==null?void 0:n.clientMetadata;I(o);const{tokens:i}=await ti({forceRefresh:!1});Rt(i);const{CodeDeliveryDetailsList:r}=await Ur({region:C(o.userPoolId),userAgentValue:P(v.UpdateUserAttributes)},{AccessToken:i.accessToken.toString(),ClientMetadata:s,UserAttributes:ft(t)});return{...Pc(t),...bc(r)}};function Pc(e){var n;const t={};return(n=Object.keys(e))==null||n.forEach(o=>{t[o]={isUpdated:!0,nextStep:{updateAttributeStep:"DONE"}}}),t}function bc(e){const t={};return e==null||e.forEach(n=>{const{AttributeName:o,DeliveryMedium:s,Destination:i}=n;o&&(t[o]={isUpdated:!1,nextStep:{updateAttributeStep:"CONFIRM_ATTRIBUTE_WITH_CODE",codeDeliveryDetails:{attributeName:o,deliveryMedium:s,destination:i}}})}),t}const Ed=async e=>{const{userAttribute:{attributeKey:t,value:n},options:o}=e,s=await Nc({userAttributes:{[t]:n},options:o});return Object.values(s)[0]};function Uc(e){const t=(e==null?void 0:e.find(Mc))??(e==null?void 0:e.find(Dc)),n=(e==null?void 0:e.find(Oc))??(e==null?void 0:e.find(Fc));if(t)return t;throw n?Br:kr}const Mc=e=>e.startsWith(String(window.location.origin+window.location.pathname)),Dc=e=>e.includes(String(window.location.hostname)),Fc=e=>e.startsWith("http://"),Oc=e=>e.startsWith("https://"),Lc=async e=>{window!=null&&window.location&&(window.location.href=e.replace("http://","https://"))},kc=async e=>{var s;const t=(s=e.getConfig().Auth)==null?void 0:s.Cognito;I(t);const{tokens:n}=await ao(e,{forceRefresh:!1});Rt(n);const{UserAttributes:o}=await Pr({region:C(t.userPoolId),userAgentValue:P(v.FetchUserAttributes)},{AccessToken:n.accessToken.toString()});return Dr(o)},md=()=>kc(S),Kc=async e=>{await e.clearOAuthData(),L.clearTokens(),await co(),ce.dispatch("auth",{event:"signedOut"},"Auth",oe)},Bc=async(e,t=!1)=>{to(e);const{loginWith:n,userPoolClientId:o}=e,{domain:s,redirectSignOut:i}=n.oauth,r=Uc(i),a=`https://${s}/logout?${Object.entries({client_id:o,logout_uri:encodeURIComponent(r)}).map(([c,d])=>`${c}=${d}`).join("&")}`;return Lc(a)},qc=async(e,t,n)=>{const{isOAuthSignIn:o}=await t.loadOAuthSignIn(),s=await n.getOAuthMetadata();if(await Kc(t),o||s!=null&&s.oauthSignIn)return Bc(e)},Hc=new U("Auth");async function yd(e){var o;const t=(o=S.getConfig().Auth)==null?void 0:o.Cognito;I(t),await $c(t);let n;try{to(t),n=!0}catch{n=!1}if(n){const s=new Fo(de);s.setAuthConfig(t);const{type:i}=await qc(t,s,L)??{};if(i==="error")throw new E({name:qr,message:"An error occurred when attempting to log out from OAuth provider."})}else L.clearTokens(),await co(),ce.dispatch("auth",{event:"signedOut"},"Auth",oe)}async function $c(e){try{const t=await L.getTokenStore().loadTokens();Ro(t),Wc(t.accessToken)&&await Rr({region:C(e.userPoolId),userAgentValue:P(v.SignOut)},{ClientId:e.userPoolClientId,Token:t.refreshToken})}catch{Hc.debug("Client signOut error caught but will proceed with token removal")}}const Wc=e=>{var t;return!!((t=e==null?void 0:e.payload)!=null&&t.origin_jti)},Vc={identityId:"identityId"},zc=new U("DefaultIdentityIdStore");class jc{setAuthConfig(t){ke(t.Cognito),this.authConfig=t,this._authKeys=Gc("Cognito",t.Cognito.identityPoolId)}constructor(t){this._authKeys={},this.keyValueStorage=t}async loadIdentityId(){var t;ke((t=this.authConfig)==null?void 0:t.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{const n=await this.keyValueStorage.getItem(this._authKeys.identityId);return n?{id:n,type:"guest"}:null}}catch(n){return zc.log("Error getting stored IdentityId.",n),null}}async storeIdentityId(t){var n;ke((n=this.authConfig)==null?void 0:n.Cognito),t.type==="guest"?(this.keyValueStorage.setItem(this._authKeys.identityId,t.id),this._primaryIdentityId=void 0):(this._primaryIdentityId=t.id,this.keyValueStorage.removeItem(this._authKeys.identityId))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}const Gc=(e,t)=>Ut(Vc)(`com.amplify.${e}`,t);function ko(e){const t=se(e).payload.iss,n={};if(!t)throw new E({name:"InvalidIdTokenException",message:"Invalid Idtoken."});const o=t.replace(/(^\w+:|^)\/\//,"");return n[o]=e,n}const Yc=new U("CognitoIdentityIdProvider");async function Jc({tokens:e,authConfig:t,identityIdStore:n}){n.setAuthConfig({Cognito:t});let o=await n.loadIdentityId();if(e){if(o&&o.type==="primary")return o.id;{const s=e.idToken?ko(e.idToken.toString()):{},i=await Yn(s,t);o&&o.id===i&&Yc.debug(`The guest identity ${o.id} has become the primary identity.`),o={id:i,type:"primary"}}}else{if(o&&o.type==="guest")return o.id;o={id:await Yn({},t),type:"guest"}}return n.storeIdentityId(o),o.id}async function Yn(e,t){const n=t==null?void 0:t.identityPoolId,o=ht(n),s=(await bi({region:o},{IdentityPoolId:n,Logins:e})).IdentityId;if(!s)throw new E({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return s}const Le=new U("CognitoCredentialsProvider"),Jn=50*60*1e3;class Xc{constructor(t){this._nextCredentialsRefresh=0,this._identityIdStore=t}async clearCredentialsAndIdentityId(){Le.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){Le.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(t){const n=t.authenticated,{tokens:o}=t,{authConfig:s}=t;try{ke(s==null?void 0:s.Cognito)}catch{return}if(!n&&!s.Cognito.allowGuestAccess)return;const{forceRefresh:i}=t,r=this.hasTokenChanged(o),a=await Jc({tokens:o,authConfig:s.Cognito,identityIdStore:this._identityIdStore});return(i||r)&&this.clearCredentials(),n?(Wr(o),this.credsForOIDCTokens(s.Cognito,o,a)):this.getGuestCredentials(a,s.Cognito)}async getGuestCredentials(t,n){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&this._credentialsAndIdentityId.isAuthenticatedCreds===!1)return Le.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const o=ht(n.identityPoolId),s=await En({region:o},{IdentityId:t});if(s.Credentials&&s.Credentials.AccessKeyId&&s.Credentials.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+Jn;const i={credentials:{accessKeyId:s.Credentials.AccessKeyId,secretAccessKey:s.Credentials.SecretKey,sessionToken:s.Credentials.SessionToken,expiration:s.Credentials.Expiration},identityId:t},r=s.IdentityId;return r&&(i.identityId=r,this._identityIdStore.storeIdentityId({id:r,type:"guest"})),this._credentialsAndIdentityId={...i,isAuthenticatedCreds:!1},i}else throw new E({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(t,n,o){var a;if(this._credentialsAndIdentityId&&!this.isPastTTL()&&this._credentialsAndIdentityId.isAuthenticatedCreds===!0)return Le.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const s=n.idToken?ko(n.idToken.toString()):{},i=ht(t.identityPoolId),r=await En({region:i},{IdentityId:o,Logins:s});if(r.Credentials&&r.Credentials.AccessKeyId&&r.Credentials.SecretKey){const c={credentials:{accessKeyId:r.Credentials.AccessKeyId,secretAccessKey:r.Credentials.SecretKey,sessionToken:r.Credentials.SessionToken,expiration:r.Credentials.Expiration},identityId:o};this._credentialsAndIdentityId={...c,isAuthenticatedCreds:!0,associatedIdToken:(a=n.idToken)==null?void 0:a.toString()},this._nextCredentialsRefresh=new Date().getTime()+Jn;const d=r.IdentityId;return d&&(c.identityId=d,this._identityIdStore.storeIdentityId({id:d,type:"primary"})),c}else throw new E({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return this._nextCredentialsRefresh===void 0?!0:this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(t){var n,o;return!!t&&!!((n=this._credentialsAndIdentityId)!=null&&n.associatedIdToken)&&((o=t.idToken)==null?void 0:o.toString())!==this._credentialsAndIdentityId.associatedIdToken}}const Qc=new Xc(new jc(de)),Id={configure(e,t){const n=oo(e);if(!n.Auth){S.configure(n,t);return}if(t!=null&&t.Auth){S.configure(n,t);return}if(!S.libraryOptions.Auth){ye.setAuthConfig(n.Auth),ye.setKeyValueStorage(t!=null&&t.ssr?new mn({sameSite:"lax"}):de),S.configure(n,{...t,Auth:{tokenProvider:ye,credentialsProvider:Qc}});return}if(t){t.ssr!==void 0&&ye.setKeyValueStorage(t.ssr?new mn({sameSite:"lax"}):de),S.configure(n,{Auth:S.libraryOptions.Auth,...t});return}S.configure(n)},getConfig(){return S.getConfig()}};class ie extends We{constructor(t){super(t),this.constructor=ie,Object.setPrototypeOf(this,ie.prototype)}}class Ge extends ie{constructor(t={}){super({name:"CanceledError",message:"Request is canceled by user",...t}),this.constructor=Ge,Object.setPrototypeOf(this,Ge.prototype)}}var ae;(function(e){e.InvalidApiName="InvalidApiName"})(ae||(ae={}));const Ko={[ae.InvalidApiName]:{message:"API name is invalid.",recoverySuggestion:"Check if the API name matches the one in your configuration or `aws-exports.js`"}},Bo=async e=>{var n;if(!e)return;const t=await fe(Zc(e));if(t){const o=await((n=e.body)==null?void 0:n.text());return ed(t,{statusCode:e.statusCode,headers:e.headers,body:o})}},Zc=e=>{let t;const n=new Proxy(e.body,{get(s,i,r){return i==="json"?async()=>{t||(t=s.text());try{return JSON.parse(await t)}catch{return{}}}:i==="text"?async()=>(t||(t=s.text()),t):Reflect.get(s,i,r)}});return new Proxy(e,{get(s,i,r){return i==="body"?n:Reflect.get(s,i,r)}})},ed=(e,t)=>{const n=new ie({name:e==null?void 0:e.name,message:e.message,underlyingError:e,response:t});return Object.assign(n,{$metadata:e.$metadata})},Ye=new U("RestApis");function td(e,t){const n=a=>!!t,o=new AbortController,s=o.signal;let i;const r=async()=>{try{const a=await(n(e)?e():e(s));if(a.statusCode>=300)throw await Bo(a);return a}catch(a){const c=s,d=i??c.reason;if(a.name==="AbortError"||(c==null?void 0:c.aborted)===!0){const u=new Ge({...d&&{message:d},underlyingError:a,recoverySuggestion:"The API request was explicitly canceled. If this is not intended, validate if you called the `cancel()` function on the API request erroneously."});throw Ye.debug(a),u}throw Ye.debug(a),a}};{const a=c=>{s.aborted!==!0&&(o.abort(c),c&&s.reason!==c&&(i=c))};return{response:r(),cancel:a}}}const Xn="execute-api",nd="us-east-1",od=/^.+\.([a-z0-9-]+)\.([a-z0-9-]+)\.amazonaws\.com/,qo=(e,t)=>{var a,c,d;const{service:n=Xn,region:o=nd}=((d=(c=(a=t==null?void 0:t.amplify.getConfig())==null?void 0:a.API)==null?void 0:c.REST)==null?void 0:d[t==null?void 0:t.apiName])??{},{hostname:s}=e,[,i,r]=od.exec(s)??[];return i===Xn?{service:i,region:r??o}:i==="appsync-api"?{service:"appsync",region:r??o}:{service:n,region:o}};function sd(e,t){const{message:n,recoverySuggestion:o}=Ko[t];if(!e)throw new ie({name:t,message:n,recoverySuggestion:o})}const id=(e,t,n,o)=>{var i,r,a,c;const s=(c=(a=(r=(i=e.getConfig())==null?void 0:i.API)==null?void 0:r.REST)==null?void 0:a[t])==null?void 0:c.endpoint;sd(!!s,ae.InvalidApiName);try{const d=new Ae(s+n);if(o){const u=new pn(d.searchParams);Object.entries(o).forEach(([h,l])=>{u.set(h,l)}),d.search=new pn(u).toString()}return d}catch{throw new ie({name:ae.InvalidApiName,...Ko[ae.InvalidApiName],recoverySuggestion:`Please make sure the REST endpoint URL is a valid URL string. Got ${s}`})}},rd=({headers:e},t)=>!e.authorization&&!!t,ad=(e,t)=>{const n={};for(const o in e)n[o.toLowerCase()]=e[o];return t&&(n["content-type"]="application/json; charset=UTF-8",t instanceof FormData&&delete n["content-type"]),n},cd=async(e,t,n,o)=>{const{url:s,method:i,headers:r,body:a,withCredentials:c,abortSignal:d}=t,u=a?a instanceof FormData?a:JSON.stringify(a??""):void 0,h=ad(r,a),l={url:s,headers:h,method:i,body:u},g={retryDecider:At(Bo),computeDelay:xt,withCrossDomainCredentials:c,abortSignal:d},p=n(l,o);let m;const w=await dd(e);if(p&&w){const x=qo(s),K=(o==null?void 0:o.service)??x.service,Z=(o==null?void 0:o.region)??x.region;m=await gr(l,{...g,credentials:w,region:Z,service:K})}else m=await wt(l,{...g});return{statusCode:m.statusCode,headers:m.headers,body:m.body}},dd=async e=>{try{const{credentials:t}=await e.Auth.fetchAuthSession();if(t)return t}catch{Ye.debug("No credentials available, the request will be unsigned.")}return null},Ho=(e,t,n)=>td(async o=>{var l,g,p,m;const{apiName:s,options:i={},path:r}=t,a=id(e,s,r,i==null?void 0:i.queryParams),c=await((m=(p=(g=(l=e.libraryOptions)==null?void 0:l.API)==null?void 0:g.REST)==null?void 0:p.headers)==null?void 0:m.call(p,{apiName:s})),{headers:d={}}=i,u={...c,...d},h=qo(a,{amplify:e,apiName:s});return Ye.debug(n,a,u,`IAM signing options: ${JSON.stringify(h)}`),cd(e,{...i,url:a,method:n,headers:u,abortSignal:o},rd,h)}),ud=(e,t)=>Ho(e,t,"GET"),ld=(e,t)=>Ho(e,t,"POST"),Sd=e=>ud(S,e),wd=e=>ld(S,e);export{Id as D,ce as H,fd as a,gd as b,ye as c,yd as d,md as e,ti as f,No as g,Sd as h,wd as p,pd as s,Ed as u}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/ui-wAfM84aV.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/ui-wAfM84aV.js new file mode 100644 index 0000000..9541f6c --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/ui-wAfM84aV.js @@ -0,0 +1,171 @@ +import{d as x,u as Hl,r as T,c as O,w as Ce,a as ve,o as g,b as Q,F as Le,e as Jn,m as R,f as i,g as E,h as b,i as k,j as H,n as Be,k as nt,l as xe,p as It,q as Ae,s as bt,t as Ye,v as ke,x as zt,y as rn,z as me,A as Ko,B as ls,C as is,D as xn,E as Cn,G as us,H as ql,I as Kl,J as lt,K as je,L as Te,M as Bn,N as Je,O as dn,P as Ja,Q as ds,T as Yo,R as Yl,S as Gl,U as cs,V as Xl,W as pt,X as Tn,Y as Jl,Z as Qa,_ as Gt,$ as ma,a0 as Ql,a1 as ei,a2 as ti,a3 as ni,a4 as xr,a5 as Go,a6 as ai,a7 as oi,a8 as ge}from"./vue-D7guW3iV.js";var ri=Object.defineProperty,si=(t,e,n)=>e in t?ri(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Xe=(t,e,n)=>(si(t,typeof e!="symbol"?e+"":e,n),n);function li(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}li("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let To=0;class ii{constructor(){Xe(this,"subscribers"),Xe(this,"toasts"),Xe(this,"subscribe",e=>(this.subscribers.push(e),()=>{const n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)})),Xe(this,"publish",e=>{this.subscribers.forEach(n=>n(e))}),Xe(this,"addToast",e=>{this.publish(e),this.toasts=[...this.toasts,e]}),Xe(this,"create",e=>{var n;const{message:a,...o}=e,r=typeof e.id=="number"||e.id&&((n=e.id)==null?void 0:n.length)>0?e.id:To++,s=this.toasts.find(u=>u.id===r),l=e.dismissible===void 0?!0:e.dismissible;return s?this.toasts=this.toasts.map(u=>u.id===r?(this.publish({...u,...e,id:r,title:a}),{...u,...e,id:r,dismissible:l,title:a}):u):this.addToast({title:a,...o,dismissible:l,id:r}),r}),Xe(this,"dismiss",e=>(e||this.toasts.forEach(n=>{this.subscribers.forEach(a=>a({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:e,dismiss:!0})),e)),Xe(this,"message",(e,n)=>this.create({...n,message:e,type:"default"})),Xe(this,"error",(e,n)=>this.create({...n,type:"error",message:e})),Xe(this,"success",(e,n)=>this.create({...n,type:"success",message:e})),Xe(this,"info",(e,n)=>this.create({...n,type:"info",message:e})),Xe(this,"warning",(e,n)=>this.create({...n,type:"warning",message:e})),Xe(this,"loading",(e,n)=>this.create({...n,type:"loading",message:e})),Xe(this,"promise",(e,n)=>{if(!n)return;let a;n.loading!==void 0&&(a=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const o=e instanceof Promise?e:e();let r=a!==void 0;return o.then(s=>{if(s&&typeof s.ok=="boolean"&&!s.ok){r=!1;const l=typeof n.error=="function"?n.error(`HTTP error! status: ${response.status}`):n.error,u=typeof n.description=="function"?n.description(`HTTP error! status: ${response.status}`):n.description;this.create({id:a,type:"error",message:l,description:u})}else if(n.success!==void 0){r=!1;const l=typeof n.success=="function"?n.success(s):n.success,u=typeof n.description=="function"?n.description(s):n.description;this.create({id:a,type:"success",message:l,description:u})}}).catch(s=>{if(n.error!==void 0){r=!1;const l=typeof n.error=="function"?n.error(s):n.error,u=typeof n.description=="function"?n.description(s):n.description;this.create({id:a,type:"error",message:l,description:u})}}).finally(()=>{var s;r&&(this.dismiss(a),a=void 0),(s=n.finally)==null||s.call(n)}),a}),Xe(this,"custom",(e,n)=>{const a=(n==null?void 0:n.id)||To++;return this.publish({component:e,id:a,...n}),a}),this.subscribers=[],this.toasts=[]}}const yt=new ii,ui=(t,e)=>{const n=(e==null?void 0:e.id)||To++;return yt.create({message:t,id:n,type:"default",...e}),n},di=ui,Ym=Object.assign(di,{success:yt.success,info:yt.info,warning:yt.warning,error:yt.error,custom:yt.custom,message:yt.message,promise:yt.promise,dismiss:yt.dismiss,loading:yt.loading}),ga=(t,e)=>{const n=t.__vccOpts||t;for(const[a,o]of e)n[a]=o;return n},ci={},fi={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},pi=Ye("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),vi=Ye("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1),hi=[pi,vi];function mi(t,e){return g(),Q("svg",fi,hi)}const gi=ga(ci,[["render",mi]]),yi=()=>{const t=T(!1);return Ce(()=>{const e=()=>{t.value=document.hidden};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),{isDocumentHidden:t}},bi=["aria-live","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],_i=["aria-label","data-disabled"],wi={key:0,"data-icon":""},xi={"data-content":""},ki=4e3,Ci=14,Oi=20,Ei=200,Si=x({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},duration:{},descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},emits:["update:heights","removeToast"],setup(t,{emit:e}){const n=e,a=t,o=T(!1),r=T(!1),s=T(!1),l=T(!1),u=T(0),d=T(0);let c=0;const f=T(null),p=O(()=>a.index===0),v=O(()=>a.index+1<=a.visibleToasts),h=O(()=>a.toast.type),m=O(()=>a.toast.dismissible!==!1),y=O(()=>{var I,he,j,Y,te,ae,Pe;return a.cn((I=a.classes)==null?void 0:I.toast,(j=(he=a.toast)==null?void 0:he.classes)==null?void 0:j.toast,(Y=a.classes)==null?void 0:Y.default,(te=a.classes)==null?void 0:te[a.toast.type||"default"],(Pe=(ae=a.toast)==null?void 0:ae.classes)==null?void 0:Pe[a.toast.type||"default"])}),_=a.toast.style||{},P=O(()=>a.heights.findIndex(I=>I.toastId===a.toast.id)||0),C=O(()=>a.toast.closeButton??a.closeButton),w=O(()=>a.toast.duration||a.duration||ki),B=T(0),M=T(0),$=T(w.value),U=T(0),F=T(null),N=O(()=>a.position.split("-")),de=O(()=>N.value[0]),G=O(()=>N.value[1]),be=typeof a.toast.title!="string",ie=typeof a.toast.description!="string",L=O(()=>a.heights.reduce((I,he,j)=>j>=P.value?I:I+he.height,0)),W=yi(),le=O(()=>a.toast.invert||a.invert),Ee=O(()=>h.value==="loading");xe(()=>{if(!o.value)return;const I=f.value,he=I==null?void 0:I.style.height;I.style.height="auto";const j=I.getBoundingClientRect().height;I.style.height=he,d.value=j;let Y;a.heights.find(te=>te.toastId===a.toast.id)?Y=a.heights.map(te=>te.toastId===a.toast.id?{...te,height:j}:te):Y=[{toastId:a.toast.id,height:j,position:a.toast.position},...a.heights],n("update:heights",Y)});const we=()=>{r.value=!0,u.value=M.value;const I=a.heights.filter(he=>he.toastId!==a.toast.id);n("update:heights",I),setTimeout(()=>{n("removeToast",a.toast)},Ei)},We=()=>{var I,he;Ee.value||!m.value||(we(),(he=(I=a.toast).onDismiss)==null||he.call(I,a.toast))},ze=I=>{Ee.value||!m.value||(c=Date.now(),u.value=M.value,I.target.setPointerCapture(I.pointerId),I.target.tagName!=="BUTTON"&&(s.value=!0,F.value={x:I.clientX,y:I.clientY}))},mt=I=>{var he,j,Y,te;if(l.value)return;F.value=null;const ae=Number(((he=f.value)==null?void 0:he.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Pe=Date.now()-c||50,De=Math.abs(ae)/Pe;if(Math.abs(ae)>=Oi||De>.11){u.value=M.value,(Y=(j=a.toast).onDismiss)==null||Y.call(j,a.toast),we(),l.value=!0;return}(te=f.value)==null||te.style.setProperty("--swipe-amount","0px"),s.value=!1},gt=I=>{var he;if(!F.value)return;const j=I.clientY-F.value.y,Y=I.clientX-F.value.x,te=(N.value[0]==="top"?Math.min:Math.max)(0,j),ae=I.pointerType==="touch"?10:2;Math.abs(te)>ae?(he=f.value)==null||he.style.setProperty("--swipe-amount",`${j}px`):Math.abs(Y)>ae&&(F.value=null)};return Ce(()=>{M.value=P.value*Ci+L.value}),Ce(I=>{if(a.toast.promise&&h.value==="loading"||a.toast.duration===1/0||a.toast.type==="loading")return;let he;const j=()=>{if(U.value{B.value=Date.now(),he=setTimeout(()=>{var te,ae;(ae=(te=a.toast).onAutoClose)==null||ae.call(te,a.toast),we()},$.value)};a.expanded||a.interacting||a.pauseWhenPageIsHidden&&W?j():Y(),I(()=>{clearTimeout(he)})}),Ce(()=>{a.toast.delete&&we()}),xe(()=>{if(f.value){const I=f.value.getBoundingClientRect().height;d.value=I;const he=[{toastId:a.toast.id,height:I,position:a.toast.position},...a.heights];n("update:heights",he)}o.value=!0}),It(()=>{if(f.value){const I=a.heights.filter(he=>he.toastId!==a.toast.id);n("update:heights",I)}}),(I,he)=>{var j,Y,te,ae,Pe,De,He,Wt,Sa,_n,Wn,wn;return g(),Q("li",{"aria-live":I.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:f,"data-sonner-toast":"",class:Be(y.value),"data-styled":!(I.toast.component||(j=I.toast)!=null&&j.unstyled||I.unstyled),"data-mounted":o.value,"data-promise":!!I.toast.promise,"data-removed":r.value,"data-visible":v.value,"data-y-position":de.value,"data-x-position":G.value,"data-index":I.index,"data-front":p.value,"data-swiping":s.value,"data-dismissible":m.value,"data-type":h.value,"data-invert":le.value,"data-swipe-out":l.value,"data-expanded":!!(I.expanded||I.expandByDefault&&o.value),style:nt({"--index":I.index,"--toasts-before":I.index,"--z-index":I.toasts.length-I.index,"--offset":`${r.value?u.value:M.value}px`,"--initial-height":I.expandByDefault?"auto":`${d.value}px`,...I.style,...i(_)}),onPointerdown:ze,onPointerup:mt,onPointermove:gt},[C.value&&!I.toast.component?(g(),Q("button",{key:0,"aria-label":I.closeButtonAriaLabel||"Close toast","data-disabled":Ee.value,"data-close-button":"",class:Be(I.cn((Y=I.classes)==null?void 0:Y.closeButton,(ae=(te=I.toast)==null?void 0:te.classes)==null?void 0:ae.closeButton)),onClick:We},[H(gi)],10,_i)):Ae("",!0),I.toast.component?(g(),E(bt(I.toast.component),R({key:1},I.toast.componentProps,{onCloseToast:we}),null,16)):(g(),Q(Le,{key:2},[h.value!=="default"||I.toast.icon||I.toast.promise?(g(),Q("div",wi,[(I.toast.promise||h.value==="loading")&&!I.toast.icon?k(I.$slots,"loading-icon",{key:0}):Ae("",!0),I.toast.icon?(g(),E(bt(I.toast.icon),{key:1})):(g(),Q(Le,{key:2},[h.value==="success"?k(I.$slots,"success-icon",{key:0}):h.value==="error"?k(I.$slots,"error-icon",{key:1}):h.value==="warning"?k(I.$slots,"warning-icon",{key:2}):h.value==="info"?k(I.$slots,"info-icon",{key:3}):Ae("",!0)],64))])):Ae("",!0),Ye("div",xi,[Ye("div",{"data-title":"",class:Be(I.cn((Pe=I.classes)==null?void 0:Pe.title,(De=I.toast.classes)==null?void 0:De.title))},[be?(g(),E(bt(I.toast.title),ke(R({key:0},I.toast.componentProps)),null,16)):(g(),Q(Le,{key:1},[zt(rn(I.toast.title),1)],64))],2),I.toast.description?(g(),Q("div",{key:0,"data-description":"",class:Be(I.cn(I.descriptionClass,I.toast.descriptionClass,(He=I.classes)==null?void 0:He.description,(Wt=I.toast.classes)==null?void 0:Wt.description))},[ie?(g(),E(bt(I.toast.description),ke(R({key:0},I.toast.componentProps)),null,16)):(g(),Q(Le,{key:1},[zt(rn(I.toast.description),1)],64))],2)):Ae("",!0)]),I.toast.cancel?(g(),Q("button",{key:1,class:Be(I.cn((Sa=I.classes)==null?void 0:Sa.cancelButton,(_n=I.toast.classes)==null?void 0:_n.cancelButton)),"data-button":"","data-cancel":"",onClick:he[0]||(he[0]=()=>{var dt;we(),(dt=I.toast.cancel)!=null&&dt.onClick&&I.toast.cancel.onClick()})},rn(I.toast.cancel.label),3)):Ae("",!0),I.toast.action?(g(),Q("button",{key:2,class:Be(I.cn((Wn=I.classes)==null?void 0:Wn.actionButton,(wn=I.toast.classes)==null?void 0:wn.actionButton)),"data-button":"",onClick:he[1]||(he[1]=dt=>{var Ot;(Ot=I.toast.action)==null||Ot.onClick(dt),!dt.defaultPrevented&&we()})},rn(I.toast.action.label),3)):Ae("",!0)],64))],46,bi)}}}),Ai=["data-visible"],Bi={class:"sonner-spinner"},Ti=x({__name:"Loader",props:{visible:{type:Boolean}},setup(t){const e=Array(12).fill(0);return(n,a)=>(g(),Q("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[Ye("div",Bi,[(g(!0),Q(Le,null,Jn(i(e),o=>(g(),Q("div",{key:`spinner-bar-${o}`,class:"sonner-loading-bar"}))),128))])],8,Ai))}}),Pi={},$i={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ii=Ye("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1),Mi=[Ii];function Ri(t,e){return g(),Q("svg",$i,Mi)}const Vi=ga(Pi,[["render",Ri]]),Di={},Ni={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ji=Ye("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1),zi=[ji];function Fi(t,e){return g(),Q("svg",Ni,zi)}const Li=ga(Di,[["render",Fi]]),Zi={},Ui={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Wi=Ye("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1),Hi=[Wi];function qi(t,e){return g(),Q("svg",Ui,Hi)}const Ki=ga(Zi,[["render",qi]]),Yi={},Gi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Xi=Ye("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1),Ji=[Xi];function Qi(t,e){return g(),Q("svg",Gi,Ji)}const eu=ga(Yi,[["render",Qi]]),tu=["aria-label"],nu=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],au=3,kr="32px",ou=4e3,ru=356,Cr=14,su=typeof window<"u"&&typeof document<"u",lu=x({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{default:ou},gap:{default:Cr},visibleToasts:{default:au},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:kr},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(t){function e(...w){return w.filter(Boolean).join(" ")}function n(){if(typeof window>"u"||typeof document>"u")return"ltr";const w=document.documentElement.getAttribute("dir");return w==="auto"||!w?window.getComputedStyle(document.documentElement).direction:w}const a=t,o=Hl(),r=T([]),s=O(()=>{const w=r.value.filter(B=>B.position).map(B=>B.position);return w.length>0?Array.from(new Set([a.position].concat(w))):[a.position]}),l=T([]),u=T(!1),d=T(!1),c=T(a.theme!=="system"?a.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),f=O(()=>a.cn||e),p=T(null),v=T(null),h=T(!1),m=a.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function y(w){r.value=r.value.filter(({id:B})=>B!==w.id)}const _=w=>{var B,M;h.value&&!((M=(B=w.currentTarget)==null?void 0:B.contains)!=null&&M.call(B,w.relatedTarget))&&(h.value=!1,v.value&&(v.value.focus({preventScroll:!0}),v.value=null))},P=w=>{w.target instanceof HTMLElement&&w.target.dataset.dismissible==="false"||h.value||(h.value=!0,v.value=w.relatedTarget)},C=w=>{w.target&&w.target instanceof HTMLElement&&w.target.dataset.dismissible==="false"||(d.value=!1)};return Ce(w=>{const B=yt.subscribe(M=>{if(M.dismiss){r.value=r.value.map($=>$.id===M.id?{...$,delete:!0}:$);return}me(()=>{const $=r.value.findIndex(U=>U.id===M.id);$!==-1?r.value.splice($,1,M):r.value=[M,...r.value]})});w(()=>{B()})}),ve(()=>a.theme,w=>{if(w!=="system"){c.value=w;return}w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?c.value="dark":c.value="light"),!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:B})=>{B?c.value="dark":c.value="light"})}),ve(()=>p.value,()=>{if(p.value)return()=>{v.value&&(v.value.focus({preventScroll:!0}),v.value=null,h.value=!1)}}),Ce(()=>{r.value.length<=1&&(u.value=!1)}),Ce(w=>{function B(M){const $=a.hotkey.every(N=>M[N]||M.code===N),U=Array.isArray(p.value)?p.value[0]:p.value;$&&(u.value=!0,U==null||U.focus());const F=document.activeElement===p.value||(U==null?void 0:U.contains(document.activeElement));M.code==="Escape"&&F&&(u.value=!1)}su&&(document.addEventListener("keydown",B),w(()=>{document.removeEventListener("keydown",B)}))}),(w,B)=>(g(),Q("section",{"aria-label":`${w.containerAriaLabel} ${i(m)}`,tabIndex:-1},[(g(!0),Q(Le,null,Jn(s.value,(M,$)=>{var U;return g(),Q("ol",R({key:M,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"",class:w.class,dir:w.dir==="auto"?n():w.dir,tabIndex:-1,"data-theme":w.theme,"data-rich-colors":w.richColors,"data-y-position":M.split("-")[0],"data-x-position":M.split("-")[1],style:{"--front-toast-height":`${(U=l.value[0])==null?void 0:U.height}px`,"--offset":typeof w.offset=="number"?`${w.offset}px`:w.offset||kr,"--width":`${ru}px`,"--gap":`${Cr}px`,...w.style,...i(o).style},onBlur:_,onFocus:P,onMouseenter:B[1]||(B[1]=F=>u.value=!0),onMousemove:B[2]||(B[2]=F=>u.value=!0),onMouseleave:B[3]||(B[3]=()=>{d.value||(u.value=!1)}),onPointerdown:C,onPointerup:B[4]||(B[4]=F=>d.value=!1)},w.$attrs),[(g(!0),Q(Le,null,Jn(r.value.filter(F=>!F.position&&$===0||F.position===M),(F,N)=>{var de,G,be,ie,L,W,le,Ee,we;return g(),E(Si,{key:F.id,index:N,toast:F,duration:((de=w.toastOptions)==null?void 0:de.duration)??w.duration,class:Be(((G=w.toastOptions)==null?void 0:G.class)??""),descriptionClass:(be=w.toastOptions)==null?void 0:be.descriptionClass,invert:w.invert,visibleToasts:w.visibleToasts,closeButton:((ie=w.toastOptions)==null?void 0:ie.closeButton)??w.closeButton,interacting:d.value,position:M,style:nt((L=w.toastOptions)==null?void 0:L.style),unstyled:(W=w.toastOptions)==null?void 0:W.unstyled,classes:(le=w.toastOptions)==null?void 0:le.classes,cancelButtonStyle:(Ee=w.toastOptions)==null?void 0:Ee.cancelButtonStyle,actionButtonStyle:(we=w.toastOptions)==null?void 0:we.actionButtonStyle,toasts:r.value,expandByDefault:w.expand,gap:w.gap,expanded:u.value,pauseWhenPageIsHidden:w.pauseWhenPageIsHidden,cn:f.value,heights:l.value,"onUpdate:heights":B[0]||(B[0]=We=>l.value=We),onRemoveToast:y},{"loading-icon":b(()=>[k(w.$slots,"loading-icon",{},()=>[H(Ti,{visible:F.type==="loading"},null,8,["visible"])])]),"success-icon":b(()=>[k(w.$slots,"success-icon",{},()=>[H(Vi)])]),"error-icon":b(()=>[k(w.$slots,"error-icon",{},()=>[H(eu)])]),"warning-icon":b(()=>[k(w.$slots,"warning-icon",{},()=>[H(Ki)])]),"info-icon":b(()=>[k(w.$slots,"info-icon",{},()=>[H(Li)])]),_:2},1032,["index","toast","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn","heights"])}),128))],16,nu)}),128))],8,tu))}}),Gm=x({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(t){const e=t;return(n,a)=>(g(),E(i(lu),R({class:"toaster group"},e,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),iu=["top","right","bottom","left"],Et=Math.min,st=Math.max,Da=Math.round,Aa=Math.floor,Xt=t=>({x:t,y:t}),uu={left:"right",right:"left",bottom:"top",top:"bottom"},du={start:"end",end:"start"};function Po(t,e,n){return st(t,Et(e,n))}function Ft(t,e){return typeof t=="function"?t(e):t}function Lt(t){return t.split("-")[0]}function Dn(t){return t.split("-")[1]}function Xo(t){return t==="x"?"y":"x"}function Jo(t){return t==="y"?"height":"width"}function Nn(t){return["top","bottom"].includes(Lt(t))?"y":"x"}function Qo(t){return Xo(Nn(t))}function cu(t,e,n){n===void 0&&(n=!1);const a=Dn(t),o=Qo(t),r=Jo(o);let s=o==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=Na(s)),[s,Na(s)]}function fu(t){const e=Na(t);return[$o(t),e,$o(e)]}function $o(t){return t.replace(/start|end/g,e=>du[e])}function pu(t,e,n){const a=["left","right"],o=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:a:e?a:o;case"left":case"right":return e?r:s;default:return[]}}function vu(t,e,n,a){const o=Dn(t);let r=pu(Lt(t),n==="start",a);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map($o)))),r}function Na(t){return t.replace(/left|right|bottom|top/g,e=>uu[e])}function hu(t){return{top:0,right:0,bottom:0,left:0,...t}}function fs(t){return typeof t!="number"?hu(t):{top:t,right:t,bottom:t,left:t}}function ja(t){const{x:e,y:n,width:a,height:o}=t;return{width:a,height:o,top:n,left:e,right:e+a,bottom:n+o,x:e,y:n}}function Or(t,e,n){let{reference:a,floating:o}=t;const r=Nn(e),s=Qo(e),l=Jo(s),u=Lt(e),d=r==="y",c=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,p=a[l]/2-o[l]/2;let v;switch(u){case"top":v={x:c,y:a.y-o.height};break;case"bottom":v={x:c,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:f};break;case"left":v={x:a.x-o.width,y:f};break;default:v={x:a.x,y:a.y}}switch(Dn(e)){case"start":v[s]-=p*(n&&d?-1:1);break;case"end":v[s]+=p*(n&&d?-1:1);break}return v}const mu=async(t,e,n)=>{const{placement:a="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:f}=Or(d,a,u),p=a,v={},h=0;for(let m=0;m({name:"arrow",options:t,async fn(e){const{x:n,y:a,placement:o,rects:r,platform:s,elements:l,middlewareData:u}=e,{element:d,padding:c=0}=Ft(t,e)||{};if(d==null)return{};const f=fs(c),p={x:n,y:a},v=Qo(o),h=Jo(v),m=await s.getDimensions(d),y=v==="y",_=y?"top":"left",P=y?"bottom":"right",C=y?"clientHeight":"clientWidth",w=r.reference[h]+r.reference[v]-p[v]-r.floating[h],B=p[v]-r.reference[v],M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let $=M?M[C]:0;(!$||!await(s.isElement==null?void 0:s.isElement(M)))&&($=l.floating[C]||r.floating[h]);const U=w/2-B/2,F=$/2-m[h]/2-1,N=Et(f[_],F),de=Et(f[P],F),G=N,be=$-m[h]-de,ie=$/2-m[h]/2+U,L=Po(G,ie,be),W=!u.arrow&&Dn(o)!=null&&ie!==L&&r.reference[h]/2-(ieG<=0)){var F,N;const G=(((F=r.flip)==null?void 0:F.index)||0)+1,be=B[G];if(be)return{data:{index:G,overflows:U},reset:{placement:be}};let ie=(N=U.filter(L=>L.overflows[0]<=0).sort((L,W)=>L.overflows[1]-W.overflows[1])[0])==null?void 0:N.placement;if(!ie)switch(v){case"bestFit":{var de;const L=(de=U.map(W=>[W.placement,W.overflows.filter(le=>le>0).reduce((le,Ee)=>le+Ee,0)]).sort((W,le)=>W[1]-le[1])[0])==null?void 0:de[0];L&&(ie=L);break}case"initialPlacement":ie=l;break}if(o!==ie)return{reset:{placement:ie}}}return{}}}};function Er(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Sr(t){return iu.some(e=>t[e]>=0)}const bu=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:a="referenceHidden",...o}=Ft(t,e);switch(a){case"referenceHidden":{const r=await Qn(e,{...o,elementContext:"reference"}),s=Er(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Sr(s)}}}case"escaped":{const r=await Qn(e,{...o,altBoundary:!0}),s=Er(r,n.floating);return{data:{escapedOffsets:s,escaped:Sr(s)}}}default:return{}}}}};async function _u(t,e){const{placement:n,platform:a,elements:o}=t,r=await(a.isRTL==null?void 0:a.isRTL(o.floating)),s=Lt(n),l=Dn(n),u=Nn(n)==="y",d=["left","top"].includes(s)?-1:1,c=r&&u?-1:1,f=Ft(e,t);let{mainAxis:p,crossAxis:v,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(v=l==="end"?h*-1:h),u?{x:v*c,y:p*d}:{x:p*d,y:v*c}}const wu=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,a;const{x:o,y:r,placement:s,middlewareData:l}=e,u=await _u(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(a=l.arrow)!=null&&a.alignmentOffset?{}:{x:o+u.x,y:r+u.y,data:{...u,placement:s}}}}},xu=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:a,placement:o}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:_,y:P}=y;return{x:_,y:P}}},...u}=Ft(t,e),d={x:n,y:a},c=await Qn(e,u),f=Nn(Lt(o)),p=Xo(f);let v=d[p],h=d[f];if(r){const y=p==="y"?"top":"left",_=p==="y"?"bottom":"right",P=v+c[y],C=v-c[_];v=Po(P,v,C)}if(s){const y=f==="y"?"top":"left",_=f==="y"?"bottom":"right",P=h+c[y],C=h-c[_];h=Po(P,h,C)}const m=l.fn({...e,[p]:v,[f]:h});return{...m,data:{x:m.x-n,y:m.y-a}}}}},ku=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:a,placement:o,rects:r,middlewareData:s}=e,{offset:l=0,mainAxis:u=!0,crossAxis:d=!0}=Ft(t,e),c={x:n,y:a},f=Nn(o),p=Xo(f);let v=c[p],h=c[f];const m=Ft(l,e),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const C=p==="y"?"height":"width",w=r.reference[p]-r.floating[C]+y.mainAxis,B=r.reference[p]+r.reference[C]-y.mainAxis;vB&&(v=B)}if(d){var _,P;const C=p==="y"?"width":"height",w=["top","left"].includes(Lt(o)),B=r.reference[f]-r.floating[C]+(w&&((_=s.offset)==null?void 0:_[f])||0)+(w?0:y.crossAxis),M=r.reference[f]+r.reference[C]+(w?0:((P=s.offset)==null?void 0:P[f])||0)-(w?y.crossAxis:0);hM&&(h=M)}return{[p]:v,[f]:h}}}},Cu=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:a,platform:o,elements:r}=e,{apply:s=()=>{},...l}=Ft(t,e),u=await Qn(e,l),d=Lt(n),c=Dn(n),f=Nn(n)==="y",{width:p,height:v}=a.floating;let h,m;d==="top"||d==="bottom"?(h=d,m=c===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(m=d,h=c==="end"?"top":"bottom");const y=v-u.top-u.bottom,_=p-u.left-u.right,P=Et(v-u[h],y),C=Et(p-u[m],_),w=!e.middlewareData.shift;let B=P,M=C;if(f?M=c||w?Et(C,_):_:B=c||w?Et(P,y):y,w&&!c){const U=st(u.left,0),F=st(u.right,0),N=st(u.top,0),de=st(u.bottom,0);f?M=p-2*(U!==0||F!==0?U+F:st(u.left,u.right)):B=v-2*(N!==0||de!==0?N+de:st(u.top,u.bottom))}await s({...e,availableWidth:M,availableHeight:B});const $=await o.getDimensions(r.floating);return p!==$.width||v!==$.height?{reset:{rects:!0}}:{}}}};function mn(t){return er(t)?(t.nodeName||"").toLowerCase():"#document"}function it(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ut(t){var e;return(e=(er(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function er(t){return t instanceof Node||t instanceof it(t).Node}function Bt(t){return t instanceof Element||t instanceof it(t).Element}function Tt(t){return t instanceof HTMLElement||t instanceof it(t).HTMLElement}function Ar(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof it(t).ShadowRoot}function ya(t){const{overflow:e,overflowX:n,overflowY:a,display:o}=kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+n)&&!["inline","contents"].includes(o)}function Ou(t){return["table","td","th"].includes(mn(t))}function tr(t){const e=nr(),n=kt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function Eu(t){let e=Jt(t);for(;Tt(e)&&!Pn(e);){if(tr(e))return e;e=Jt(e)}return null}function nr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Pn(t){return["html","body","#document"].includes(mn(t))}function kt(t){return it(t).getComputedStyle(t)}function eo(t){return Bt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Jt(t){if(mn(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ar(t)&&t.host||Ut(t);return Ar(e)?e.host:e}function ps(t){const e=Jt(t);return Pn(e)?t.ownerDocument?t.ownerDocument.body:t.body:Tt(e)&&ya(e)?e:ps(e)}function ea(t,e,n){var a;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=ps(t),r=o===((a=t.ownerDocument)==null?void 0:a.body),s=it(o);return r?e.concat(s,s.visualViewport||[],ya(o)?o:[],s.frameElement&&n?ea(s.frameElement):[]):e.concat(o,ea(o,[],n))}function vs(t){const e=kt(t);let n=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const o=Tt(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:a,l=Da(n)!==r||Da(a)!==s;return l&&(n=r,a=s),{width:n,height:a,$:l}}function ar(t){return Bt(t)?t:t.contextElement}function Sn(t){const e=ar(t);if(!Tt(e))return Xt(1);const n=e.getBoundingClientRect(),{width:a,height:o,$:r}=vs(e);let s=(r?Da(n.width):n.width)/a,l=(r?Da(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Su=Xt(0);function hs(t){const e=it(t);return!nr()||!e.visualViewport?Su:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Au(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==it(t)?!1:e}function fn(t,e,n,a){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),r=ar(t);let s=Xt(1);e&&(a?Bt(a)&&(s=Sn(a)):s=Sn(t));const l=Au(r,n,a)?hs(r):Xt(0);let u=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(r){const p=it(r),v=a&&Bt(a)?it(a):a;let h=p,m=h.frameElement;for(;m&&a&&v!==h;){const y=Sn(m),_=m.getBoundingClientRect(),P=kt(m),C=_.left+(m.clientLeft+parseFloat(P.paddingLeft))*y.x,w=_.top+(m.clientTop+parseFloat(P.paddingTop))*y.y;u*=y.x,d*=y.y,c*=y.x,f*=y.y,u+=C,d+=w,h=it(m),m=h.frameElement}}return ja({width:c,height:f,x:u,y:d})}const Bu=[":popover-open",":modal"];function or(t){return Bu.some(e=>{try{return t.matches(e)}catch{return!1}})}function Tu(t){let{elements:e,rect:n,offsetParent:a,strategy:o}=t;const r=o==="fixed",s=Ut(a),l=e?or(e.floating):!1;if(a===s||l&&r)return n;let u={scrollLeft:0,scrollTop:0},d=Xt(1);const c=Xt(0),f=Tt(a);if((f||!f&&!r)&&((mn(a)!=="body"||ya(s))&&(u=eo(a)),Tt(a))){const p=fn(a);d=Sn(a),c.x=p.x+a.clientLeft,c.y=p.y+a.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+c.x,y:n.y*d.y-u.scrollTop*d.y+c.y}}function Pu(t){return Array.from(t.getClientRects())}function ms(t){return fn(Ut(t)).left+eo(t).scrollLeft}function $u(t){const e=Ut(t),n=eo(t),a=t.ownerDocument.body,o=st(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),r=st(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight);let s=-n.scrollLeft+ms(t);const l=-n.scrollTop;return kt(a).direction==="rtl"&&(s+=st(e.clientWidth,a.clientWidth)-o),{width:o,height:r,x:s,y:l}}function Iu(t,e){const n=it(t),a=Ut(t),o=n.visualViewport;let r=a.clientWidth,s=a.clientHeight,l=0,u=0;if(o){r=o.width,s=o.height;const d=nr();(!d||d&&e==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:r,height:s,x:l,y:u}}function Mu(t,e){const n=fn(t,!0,e==="fixed"),a=n.top+t.clientTop,o=n.left+t.clientLeft,r=Tt(t)?Sn(t):Xt(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,u=o*r.x,d=a*r.y;return{width:s,height:l,x:u,y:d}}function Br(t,e,n){let a;if(e==="viewport")a=Iu(t,n);else if(e==="document")a=$u(Ut(t));else if(Bt(e))a=Mu(e,n);else{const o=hs(t);a={...e,x:e.x-o.x,y:e.y-o.y}}return ja(a)}function gs(t,e){const n=Jt(t);return n===e||!Bt(n)||Pn(n)?!1:kt(n).position==="fixed"||gs(n,e)}function Ru(t,e){const n=e.get(t);if(n)return n;let a=ea(t,[],!1).filter(l=>Bt(l)&&mn(l)!=="body"),o=null;const r=kt(t).position==="fixed";let s=r?Jt(t):t;for(;Bt(s)&&!Pn(s);){const l=kt(s),u=tr(s);!u&&l.position==="fixed"&&(o=null),(r?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ya(s)&&!u&&gs(t,s))?a=a.filter(c=>c!==s):o=l,s=Jt(s)}return e.set(t,a),a}function Vu(t){let{element:e,boundary:n,rootBoundary:a,strategy:o}=t;const s=[...n==="clippingAncestors"?or(e)?[]:Ru(e,this._c):[].concat(n),a],l=s[0],u=s.reduce((d,c)=>{const f=Br(e,c,o);return d.top=st(f.top,d.top),d.right=Et(f.right,d.right),d.bottom=Et(f.bottom,d.bottom),d.left=st(f.left,d.left),d},Br(e,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Du(t){const{width:e,height:n}=vs(t);return{width:e,height:n}}function Nu(t,e,n){const a=Tt(e),o=Ut(e),r=n==="fixed",s=fn(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const u=Xt(0);if(a||!a&&!r)if((mn(e)!=="body"||ya(o))&&(l=eo(e)),a){const f=fn(e,!0,r,e);u.x=f.x+e.clientLeft,u.y=f.y+e.clientTop}else o&&(u.x=ms(o));const d=s.left+l.scrollLeft-u.x,c=s.top+l.scrollTop-u.y;return{x:d,y:c,width:s.width,height:s.height}}function wo(t){return kt(t).position==="static"}function Tr(t,e){return!Tt(t)||kt(t).position==="fixed"?null:e?e(t):t.offsetParent}function ys(t,e){const n=it(t);if(or(t))return n;if(!Tt(t)){let o=Jt(t);for(;o&&!Pn(o);){if(Bt(o)&&!wo(o))return o;o=Jt(o)}return n}let a=Tr(t,e);for(;a&&Ou(a)&&wo(a);)a=Tr(a,e);return a&&Pn(a)&&wo(a)&&!tr(a)?n:a||Eu(t)||n}const ju=async function(t){const e=this.getOffsetParent||ys,n=this.getDimensions,a=await n(t.floating);return{reference:Nu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function zu(t){return kt(t).direction==="rtl"}const Fu={convertOffsetParentRelativeRectToViewportRelativeRect:Tu,getDocumentElement:Ut,getClippingRect:Vu,getOffsetParent:ys,getElementRects:ju,getClientRects:Pu,getDimensions:Du,getScale:Sn,isElement:Bt,isRTL:zu};function Lu(t,e){let n=null,a;const o=Ut(t);function r(){var l;clearTimeout(a),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),r();const{left:d,top:c,width:f,height:p}=t.getBoundingClientRect();if(l||e(),!f||!p)return;const v=Aa(c),h=Aa(o.clientWidth-(d+f)),m=Aa(o.clientHeight-(c+p)),y=Aa(d),P={rootMargin:-v+"px "+-h+"px "+-m+"px "+-y+"px",threshold:st(0,Et(1,u))||1};let C=!0;function w(B){const M=B[0].intersectionRatio;if(M!==u){if(!C)return s();M?s(!1,M):a=setTimeout(()=>{s(!1,1e-7)},1e3)}C=!1}try{n=new IntersectionObserver(w,{...P,root:o.ownerDocument})}catch{n=new IntersectionObserver(w,P)}n.observe(t)}return s(!0),r}function Zu(t,e,n,a){a===void 0&&(a={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=a,d=ar(t),c=o||r?[...d?ea(d):[],...ea(e)]:[];c.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),r&&_.addEventListener("resize",n)});const f=d&&l?Lu(d,n):null;let p=-1,v=null;s&&(v=new ResizeObserver(_=>{let[P]=_;P&&P.target===d&&v&&(v.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(e)})),n()}),d&&!u&&v.observe(d),v.observe(e));let h,m=u?fn(t):null;u&&y();function y(){const _=fn(t);m&&(_.x!==m.x||_.y!==m.y||_.width!==m.width||_.height!==m.height)&&n(),m=_,h=requestAnimationFrame(y)}return n(),()=>{var _;c.forEach(P=>{o&&P.removeEventListener("scroll",n),r&&P.removeEventListener("resize",n)}),f==null||f(),(_=v)==null||_.disconnect(),v=null,u&&cancelAnimationFrame(h)}}const Uu=wu,Wu=xu,Pr=yu,Hu=Cu,qu=bu,Ku=gu,Yu=ku,Gu=(t,e,n)=>{const a=new Map,o={platform:Fu,...n},r={...o.platform,_c:a};return mu(t,e,{...o,platform:r})};function Xu(t){return t!=null&&typeof t=="object"&&"$el"in t}function Io(t){if(Xu(t)){const e=t.$el;return er(e)&&mn(e)==="#comment"?null:e}return t}function Ju(t){return{name:"arrow",options:t,fn(e){const n=Io(i(t.element));return n==null?{}:Ku({element:n,padding:t.padding}).fn(e)}}}function bs(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function $r(t,e){const n=bs(t);return Math.round(e*n)/n}function Qu(t,e,n){n===void 0&&(n={});const a=n.whileElementsMounted,o=O(()=>{var $;return($=i(n.open))!=null?$:!0}),r=O(()=>i(n.middleware)),s=O(()=>{var $;return($=i(n.placement))!=null?$:"bottom"}),l=O(()=>{var $;return($=i(n.strategy))!=null?$:"absolute"}),u=O(()=>{var $;return($=i(n.transform))!=null?$:!0}),d=O(()=>Io(t.value)),c=O(()=>Io(e.value)),f=T(0),p=T(0),v=T(l.value),h=T(s.value),m=Ko({}),y=T(!1),_=O(()=>{const $={position:v.value,left:"0",top:"0"};if(!c.value)return $;const U=$r(c.value,f.value),F=$r(c.value,p.value);return u.value?{...$,transform:"translate("+U+"px, "+F+"px)",...bs(c.value)>=1.5&&{willChange:"transform"}}:{position:v.value,left:U+"px",top:F+"px"}});let P;function C(){d.value==null||c.value==null||Gu(d.value,c.value,{middleware:r.value,placement:s.value,strategy:l.value}).then($=>{f.value=$.x,p.value=$.y,v.value=$.strategy,h.value=$.placement,m.value=$.middlewareData,y.value=!0})}function w(){typeof P=="function"&&(P(),P=void 0)}function B(){if(w(),a===void 0){C();return}if(d.value!=null&&c.value!=null){P=a(d.value,c.value,C);return}}function M(){o.value||(y.value=!1)}return ve([r,s,l],C,{flush:"sync"}),ve([d,c],B,{flush:"sync"}),ve(o,M,{flush:"sync"}),ls()&&is(w),{x:xn(f),y:xn(p),strategy:xn(v),placement:xn(h),middlewareData:xn(m),isPositioned:xn(y),floatingStyles:_,update:C}}function _e(t,e){const n=typeof t=="string"&&!e?`${t}Context`:e,a=Symbol(n);return[o=>{const r=Gt(a,o);if(r||r===null)return r;throw new Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},o=>(ma(a,o),o)]}function rr(t,e,n){const a=n.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&a.addEventListener(t,e,{once:!0}),a.dispatchEvent(o)}function Mo(t,e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(Math.max(t,e),n)}function ed(t){return t==null}function td(t,e){var n;const a=Ko();return Ce(()=>{a.value=t()},{...e,flush:(n=void 0)!=null?n:"sync"}),Go(a)}function jn(t){return ls()?(is(t),!0):!1}function nd(){const t=new Set,e=n=>{t.delete(n)};return{on:n=>{t.add(n);const a=()=>e(n);return jn(a),{off:a}},off:e,trigger:(...n)=>Promise.all(Array.from(t).map(a=>a(...n)))}}function ad(t){let e=!1,n;const a=cs(!0);return(...o)=>(e||(n=a.run(()=>t(...o)),e=!0),n)}function od(t){let e=0,n,a;const o=()=>{e-=1,a&&e<=0&&(a.stop(),n=void 0,a=void 0)};return(...r)=>(e+=1,n||(a=cs(!0),n=a.run(()=>t(...r))),jn(o),n)}function St(t){return typeof t=="function"?t():i(t)}const an=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rd=t=>typeof t<"u",sd=t=>t!=null,ld=Object.prototype.toString,id=t=>ld.call(t)==="[object Object]",Ro=()=>{},Ir=ud();function ud(){var t,e;return an&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function _s(t,e){function n(...a){return new Promise((o,r)=>{Promise.resolve(t(()=>e.apply(this,a),{fn:e,thisArg:this,args:a})).then(o).catch(r)})}return n}const ws=t=>t();function dd(t,e={}){let n,a,o=Ro;const r=s=>{clearTimeout(s),o(),o=Ro};return s=>{const l=St(t),u=St(e.maxWait);return n&&r(n),l<=0||u!==void 0&&u<=0?(a&&(r(a),a=null),Promise.resolve(s())):new Promise((d,c)=>{o=e.rejectOnCancel?c:d,u&&!a&&(a=setTimeout(()=>{n&&r(n),a=null,d(s())},u)),n=setTimeout(()=>{a&&r(a),a=null,d(s())},l)})}}function cd(t=ws){const e=T(!0);function n(){e.value=!1}function a(){e.value=!0}const o=(...r)=>{e.value&&t(...r)};return{isActive:Go(e),pause:n,resume:a,eventFilter:o}}function fd(t){return pt()}function xs(t,e=1e4){return Ql((n,a)=>{let o=St(t),r;const s=()=>setTimeout(()=>{o=St(t),a()},St(e));return jn(()=>{clearTimeout(r)}),{get(){return n(),o},set(l){o=l,a(),clearTimeout(r),r=s()}}})}function ks(t,e=200,n={}){return _s(dd(e,n),t)}function pd(t,e,n={}){const{eventFilter:a=ws,...o}=n;return ve(t,_s(a,e),o)}function Mr(t,e,n={}){const{eventFilter:a,...o}=n,{eventFilter:r,pause:s,resume:l,isActive:u}=cd(a);return{stop:pd(t,e,{...o,eventFilter:r}),pause:s,resume:l,isActive:u}}function vd(t,e,...[n]){const{flush:a="sync",deep:o=!1,immediate:r=!0,direction:s="both",transform:l={}}=n||{},u=[],d="ltr"in l&&l.ltr||(f=>f),c="rtl"in l&&l.rtl||(f=>f);return(s==="both"||s==="ltr")&&u.push(Mr(t,f=>{u.forEach(p=>p.pause()),e.value=d(f),u.forEach(p=>p.resume())},{flush:a,deep:o,immediate:r})),(s==="both"||s==="rtl")&&u.push(Mr(e,f=>{u.forEach(p=>p.pause()),t.value=c(f),u.forEach(p=>p.resume())},{flush:a,deep:o,immediate:r})),()=>{u.forEach(f=>f.stop())}}function hd(t,e){fd()&&Qa(t,e)}function md(t,e,n){const a=ve(t,(...o)=>(me(()=>a()),e(...o)),n);return a}function ft(t){var e;const n=St(t);return(e=n==null?void 0:n.$el)!=null?e:n}const to=an?window:void 0;function za(...t){let e,n,a,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,a,o]=t,e=to):[e,n,a,o]=t,!e)return Ro;Array.isArray(n)||(n=[n]),Array.isArray(a)||(a=[a]);const r=[],s=()=>{r.forEach(c=>c()),r.length=0},l=(c,f,p,v)=>(c.addEventListener(f,p,v),()=>c.removeEventListener(f,p,v)),u=ve(()=>[ft(e),St(o)],([c,f])=>{if(s(),!c)return;const p=id(f)?{...f}:f;r.push(...n.flatMap(v=>a.map(h=>l(c,v,h,p))))},{immediate:!0,flush:"post"}),d=()=>{u(),s()};return jn(d),d}function gd(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function yd(...t){let e,n,a={};t.length===3?(e=t[0],n=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],a=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:o=to,eventName:r="keydown",passive:s=!1,dedupe:l=!1}=a,u=gd(e);return za(o,r,d=>{d.repeat&&St(l)||u(d)&&n(d)},s)}function Cs(){const t=T(!1),e=pt();return e&&xe(()=>{t.value=!0},e),t}function Os(t){const e=Cs();return O(()=>(e.value,!!t()))}function bd(t){return JSON.parse(JSON.stringify(t))}function _d(t,e,n={}){const{window:a=to,...o}=n;let r;const s=Os(()=>a&&"MutationObserver"in a),l=()=>{r&&(r.disconnect(),r=void 0)},u=O(()=>{const p=St(t),v=(Array.isArray(p)?p:[p]).map(ft).filter(sd);return new Set(v)}),d=ve(()=>u.value,p=>{l(),s.value&&a&&p.size&&(r=new MutationObserver(e),p.forEach(v=>r.observe(v,o)))},{immediate:!0,flush:"post"}),c=()=>r==null?void 0:r.takeRecords(),f=()=>{l(),d()};return jn(f),{isSupported:s,stop:f,takeRecords:c}}function $n(t,e,n={}){const{window:a=to,...o}=n;let r;const s=Os(()=>a&&"ResizeObserver"in a),l=()=>{r&&(r.disconnect(),r=void 0)},u=O(()=>Array.isArray(t)?t.map(f=>ft(f)):[ft(t)]),d=ve(u,f=>{if(l(),s.value&&a){r=new ResizeObserver(e);for(const p of f)p&&r.observe(p,o)}},{immediate:!0,flush:"post"}),c=()=>{l(),d()};return jn(c),{isSupported:s,stop:c}}function Ze(t,e,n,a={}){var o,r,s;const{clone:l=!1,passive:u=!1,eventName:d,deep:c=!1,defaultValue:f,shouldEmit:p}=a,v=pt(),h=n||(v==null?void 0:v.emit)||((o=v==null?void 0:v.$emit)==null?void 0:o.bind(v))||((s=(r=v==null?void 0:v.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(v==null?void 0:v.proxy));let m=d;e||(e="modelValue"),m=m||`update:${e.toString()}`;const y=C=>l?typeof l=="function"?l(C):bd(C):C,_=()=>rd(t[e])?y(t[e]):f,P=C=>{p?p(C)&&h(m,C):h(m,C)};if(u){const C=_(),w=T(C);let B=!1;return ve(()=>t[e],M=>{B||(B=!0,w.value=y(M),me(()=>B=!1))}),ve(w,M=>{!B&&(M!==t[e]||c)&&P(M)},{deep:c}),w}else return O({get(){return _()},set(C){P(C)}})}function no(t){return t?t.flatMap(e=>e.type===Le?no(e.children):[e]):[]}const wd=["INPUT","TEXTAREA"];function xd(t,e,n,a={}){if(!e||a.enableIgnoredElement&&wd.includes(e.nodeName))return null;const{arrowKeyOptions:o="both",attributeName:r="[data-radix-vue-collection-item]",itemsArray:s=[],loop:l=!0,dir:u="ltr",preventScroll:d=!0,focus:c=!1}=a,[f,p,v,h,m,y]=[t.key==="ArrowRight",t.key==="ArrowLeft",t.key==="ArrowUp",t.key==="ArrowDown",t.key==="Home",t.key==="End"],_=v||h,P=f||p;if(!m&&!y&&(!_&&!P||o==="vertical"&&P||o==="horizontal"&&_))return null;const C=s;if(!C.length)return null;d&&t.preventDefault();let w=null;return P||_?w=Es(C,e,{goForward:_?h:u==="ltr"?f:p,loop:l}):m?w=C.at(0)||null:y&&(w=C.at(-1)||null),c&&(w==null||w.focus()),w}function Es(t,e,n,a=t.length){if(--a===0)return null;const o=t.indexOf(e),r=n.goForward?o+1:o-1;if(!n.loop&&(r<0||r>=t.length))return null;const s=(r+t.length)%t.length,l=t[s];return l?l.hasAttribute("disabled")&&l.getAttribute("disabled")!=="false"?Es(t,l,n,a):l:null}function xo(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function Vo(t,e,n=".",a){if(!xo(e))return Vo(t,{},n);const o=Object.assign({},e);for(const r in t){if(r==="__proto__"||r==="constructor")continue;const s=t[r];s!=null&&(Array.isArray(s)&&Array.isArray(o[r])?o[r]=[...s,...o[r]]:xo(s)&&xo(o[r])?o[r]=Vo(s,o[r],(n?`${n}.`:"")+r.toString()):o[r]=s)}return o}function kd(t){return(...e)=>e.reduce((n,a)=>Vo(n,a,""),{})}const Cd=kd(),[sr,Xm]=_e("ConfigProvider");let Od="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Ed=(t=21)=>{let e="",n=t;for(;n--;)e+=Od[Math.random()*64|0];return e};const Sd=od(()=>{const t=T(new Map),e=T(),n=O(()=>{for(const s of t.value.values())if(s)return!0;return!1}),a=sr({scrollBody:T(!0)});let o=null;const r=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=e.value??"",Ir&&(o==null||o()),e.value=void 0};return ve(n,(s,l)=>{var u;if(!an)return;if(!s){l&&r();return}e.value===void 0&&(e.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,c={padding:d,margin:0},f=(u=a.scrollBody)!=null&&u.value?typeof a.scrollBody.value=="object"?Cd({padding:a.scrollBody.value.padding===!0?d:a.scrollBody.value.padding,margin:a.scrollBody.value.margin===!0?d:a.scrollBody.value.margin},c):c:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=`${f.padding}px`,document.body.style.marginRight=`${f.margin}px`,document.body.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),Ir&&(o=za(document,"touchmove",p=>{var v;p.target===document.documentElement&&(p.touches.length>1||(v=p.preventDefault)==null||v.call(p))},{passive:!1})),me(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function ao(t){const e=Ed(6),n=Sd();n.value.set(e,t??!1);const a=O({get:()=>n.value.get(e)??!1,set:o=>n.value.set(e,o)});return hd(()=>{n.value.delete(e)}),a}const Ad="data-radix-vue-collection-item";function zn(t,e=Ad){const n=t??Symbol();return{createCollection:a=>{const o=T([]);function r(){const s=ft(a);return s?o.value=Array.from(s.querySelectorAll(`[${e}]:not([data-disabled])`)):o.value=[]}return ei(()=>{o.value=[]}),xe(r),ti(r),ve(()=>a==null?void 0:a.value,r,{immediate:!0}),ma(n,o),o},injectCollection:()=>Gt(n,T([]))}}function gn(t){const e=sr({dir:T("ltr")});return O(()=>{var n;return(t==null?void 0:t.value)||((n=e.dir)==null?void 0:n.value)||"ltr"})}function ba(t){const e=pt(),n=e==null?void 0:e.type.emits,a={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),n==null||n.forEach(o=>{a[Xl(us(o))]=(...r)=>t(o,...r)}),a}let ko=0;function Ss(){Ce(t=>{if(!an)return;const e=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",e[0]??Rr()),document.body.insertAdjacentElement("beforeend",e[1]??Rr()),ko++,t(()=>{ko===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ko--})})}function Rr(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}function _a(t){return O(()=>{var e;return St(t)?!!((e=ft(t))!=null&&e.closest("form")):!0})}function Ue(t){const e=pt(),n=Object.keys((e==null?void 0:e.type.props)??{}).reduce((o,r)=>{const s=(e==null?void 0:e.type.props[r]).default;return s!==void 0&&(o[r]=s),o},{}),a=Cn(t);return O(()=>{const o={},r=(e==null?void 0:e.vnode.props)??{};return Object.keys(r).forEach(s=>{o[us(s)]=r[s]}),Object.keys({...n,...o}).reduce((s,l)=>(a.value[l]!==void 0&&(s[l]=a.value[l]),s),{})})}function Re(t,e){const n=Ue(t),a=e?ba(e):{};return O(()=>({...n.value,...a}))}function z(){const t=pt(),e=T(),n=O(()=>{var s,l;return["#text","#comment"].includes((s=e.value)==null?void 0:s.$el.nodeName)?(l=e.value)==null?void 0:l.$el.nextElementSibling:ft(e)}),a=Object.assign({},t.exposed),o={};for(const s in t.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(a).length>0)for(const s in a)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=o;function r(s){e.value=s,!(s instanceof Element||!s)&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s.$el}),t.exposed=o)}return{forwardRef:r,currentRef:e,currentElement:n}}function Bd(t,e){const n=xs(!1,300),a=T(null),o=nd();function r(){a.value=null,n.value=!1}function s(l,u){const d=l.currentTarget,c={x:l.clientX,y:l.clientY},f=Td(c,d.getBoundingClientRect()),p=Pd(c,f),v=$d(u.getBoundingClientRect()),h=Md([...p,...v]);a.value=h,n.value=!0}return Ce(l=>{if(t.value&&e.value){const u=c=>s(c,e.value),d=c=>s(c,t.value);t.value.addEventListener("pointerleave",u),e.value.addEventListener("pointerleave",d),l(()=>{var c,f;(c=t.value)==null||c.removeEventListener("pointerleave",u),(f=e.value)==null||f.removeEventListener("pointerleave",d)})}}),Ce(l=>{if(a.value){const u=d=>{var c,f;if(!a.value)return;const p=d.target,v={x:d.clientX,y:d.clientY},h=((c=t.value)==null?void 0:c.contains(p))||((f=e.value)==null?void 0:f.contains(p)),m=!Id(v,a.value);h?r():m&&(r(),o.trigger())};document.addEventListener("pointermove",u),l(()=>document.removeEventListener("pointermove",u))}}),{isPointerInTransit:n,onPointerExit:o.on}}function Td(t,e){const n=Math.abs(e.top-t.y),a=Math.abs(e.bottom-t.y),o=Math.abs(e.right-t.x),r=Math.abs(e.left-t.x);switch(Math.min(n,a,o,r)){case r:return"left";case o:return"right";case n:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function Pd(t,e,n=5){const a=[];switch(e){case"top":a.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":a.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":a.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":a.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return a}function $d(t){const{top:e,right:n,bottom:a,left:o}=t;return[{x:o,y:e},{x:n,y:e},{x:n,y:a},{x:o,y:a}]}function Id(t,e){const{x:n,y:a}=t;let o=!1;for(let r=0,s=e.length-1;ra!=c>a&&n<(d-l)*(a-u)/(c-u)+l&&(o=!o)}return o}function Md(t){const e=t.slice();return e.sort((n,a)=>n.xa.x?1:n.ya.y?1:0),Rd(e)}function Rd(t){if(t.length<=1)return t.slice();const e=[];for(let a=0;a=2;){const r=e[e.length-1],s=e[e.length-2];if((r.x-s.x)*(o.y-s.y)>=(r.y-s.y)*(o.x-s.x))e.pop();else break}e.push(o)}e.pop();const n=[];for(let a=t.length-1;a>=0;a--){const o=t[a];for(;n.length>=2;){const r=n[n.length-1],s=n[n.length-2];if((r.x-s.x)*(o.y-s.y)>=(r.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var Vd=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},kn=new WeakMap,Ba=new WeakMap,Ta={},Co=0,As=function(t){return t&&(t.host||As(t.parentNode))},Dd=function(t,e){return e.map(function(n){if(t.contains(n))return n;var a=As(n);return a&&t.contains(a)?a:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},Nd=function(t,e,n,a){var o=Dd(e,Array.isArray(t)?t:[t]);Ta[n]||(Ta[n]=new WeakMap);var r=Ta[n],s=[],l=new Set,u=new Set(o),d=function(f){!f||l.has(f)||(l.add(f),d(f.parentNode))};o.forEach(d);var c=function(f){!f||u.has(f)||Array.prototype.forEach.call(f.children,function(p){if(l.has(p))c(p);else{var v=p.getAttribute(a),h=v!==null&&v!=="false",m=(kn.get(p)||0)+1,y=(r.get(p)||0)+1;kn.set(p,m),r.set(p,y),s.push(p),m===1&&h&&Ba.set(p,!0),y===1&&p.setAttribute(n,"true"),h||p.setAttribute(a,"true")}})};return c(e),l.clear(),Co++,function(){s.forEach(function(f){var p=kn.get(f)-1,v=r.get(f)-1;kn.set(f,p),r.set(f,v),p||(Ba.has(f)||f.removeAttribute(a),Ba.delete(f)),v||f.removeAttribute(n)}),Co--,Co||(kn=new WeakMap,kn=new WeakMap,Ba=new WeakMap,Ta={})}},jd=function(t,e,n){n===void 0&&(n="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),o=Vd(t);return o?(a.push.apply(a,Array.from(o.querySelectorAll("[aria-live]"))),Nd(a,o,n,"aria-hidden")):function(){return null}};function oo(t){let e;ve(()=>ft(t),n=>{n?e=jd(n):e&&e()}),It(()=>{e&&e()})}let zd=0;function et(t,e="radix"){const{useId:n}=sr({useId:void 0});return n&&typeof n=="function"?`${e}-${n()}`:`${e}-${++zd}`}function Fd(t){const e=T(),n=O(()=>{var o;return((o=e.value)==null?void 0:o.width)??0}),a=O(()=>{var o;return((o=e.value)==null?void 0:o.height)??0});return xe(()=>{const o=ft(t);if(o){e.value={width:o.offsetWidth,height:o.offsetHeight};const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const l=s[0];let u,d;if("borderBoxSize"in l){const c=l.borderBoxSize,f=Array.isArray(c)?c[0]:c;u=f.inlineSize,d=f.blockSize}else u=o.offsetWidth,d=o.offsetHeight;e.value={width:u,height:d}});return r.observe(o,{box:"border-box"}),()=>r.unobserve(o)}else e.value=void 0}),{width:n,height:a}}function Bs(t,e){const n=T(t);function a(o){return e[n.value][o]??n.value}return{state:n,dispatch:o=>{n.value=a(o)}}}function Ts(t){const e=xs("",1e3);return{search:e,handleTypeaheadSearch:(n,a)=>{var o,r;if(!(t!=null&&t.value)&&!a)return;e.value=e.value+n;const s=(t==null?void 0:t.value)??a,l=document.activeElement,u=((r=(o=s.find(p=>p===l))==null?void 0:o.textContent)==null?void 0:r.trim())??"",d=s.map(p=>{var v;return((v=p.textContent)==null?void 0:v.trim())??""}),c=Zd(d,e.value,u),f=s.find(p=>{var v;return((v=p.textContent)==null?void 0:v.trim())===c});return f&&f.focus(),f},resetTypeahead:()=>{e.value=""}}}function Ld(t,e){return t.map((n,a)=>t[(e+a)%t.length])}function Zd(t,e,n){const a=e.length>1&&Array.from(e).every(l=>l===e[0])?e[0]:e,o=n?t.indexOf(n):-1;let r=Ld(t,Math.max(o,0));a.length===1&&(r=r.filter(l=>l!==n));const s=r.find(l=>l.toLowerCase().startsWith(a.toLowerCase()));return s!==n?s:void 0}const ro=x({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:e,slots:n}){return()=>{var a,o;if(!n.default)return null;const r=no(n.default()),s=r.findIndex(c=>c.type!==ql);if(s===-1)return r;const l=r[s];(a=l.props)==null||delete a.ref;const u=l.props?R(e,l.props):e;e.class&&(o=l.props)!=null&&o.class&&delete l.props.class;const d=Kl(l,u);for(const c in u)c.startsWith("on")&&(d.props||(d.props={}),d.props[c]=u[c]);return r.length===1?d:(r[s]=d,r)}}}),X=x({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:e,slots:n}){const a=t.asChild?"template":t.as;return typeof a=="string"&&["area","img","input"].includes(a)?()=>lt(a,e):a!=="template"?()=>lt(t.as,e,{default:n.default}):()=>lt(ro,e,{default:n.default})}});function Ps(){const t=T(),e=O(()=>{var n,a;return["#text","#comment"].includes((n=t.value)==null?void 0:n.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:ft(t)});return{primitiveElement:t,currentElement:e}}const[$s,Ud]=_e("CollapsibleRoot"),Wd=x({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(t,{expose:e,emit:n}){const a=t,o=Ze(a,"open",n,{defaultValue:a.defaultOpen,passive:a.open===void 0}),r=Ze(a,"disabled");return Ud({contentId:"",disabled:r,open:o,onOpenToggle:()=>{o.value=!o.value}}),e({open:o}),z(),(s,l)=>(g(),E(i(X),{as:s.as,"as-child":a.asChild,"data-state":a.open?"open":"closed","data-disabled":a.disabled?"":void 0},{default:b(()=>[k(s.$slots,"default",{open:i(o)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),Hd=x({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;z();const n=$s();return(a,o)=>{var r,s;return g(),E(i(X),{type:a.as==="button"?"button":void 0,as:a.as,"as-child":e.asChild,"aria-controls":i(n).contentId,"aria-expanded":i(n).open.value,"data-state":i(n).open.value?"open":"closed","data-disabled":(r=i(n).disabled)!=null&&r.value?"":void 0,disabled:(s=i(n).disabled)==null?void 0:s.value,onClick:i(n).onOpenToggle},{default:b(()=>[k(a.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}});function qd(t,e){const n=T({}),a=T("none"),o=t.value?"mounted":"unmounted",{state:r,dispatch:s}=Bs(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),l=p=>{var v;if(an){const h=new CustomEvent(p,{bubbles:!1,cancelable:!1});(v=e.value)==null||v.dispatchEvent(h)}};ve(t,async(p,v)=>{var h;const m=v!==p;if(await me(),m){const y=a.value,_=Pa(e.value);p?(s("MOUNT"),l("enter"),_==="none"&&l("after-enter")):_==="none"||((h=n.value)==null?void 0:h.display)==="none"?(s("UNMOUNT"),l("leave"),l("after-leave")):v&&y!==_?(s("ANIMATION_OUT"),l("leave")):(s("UNMOUNT"),l("after-leave"))}},{immediate:!0});const u=p=>{const v=Pa(e.value),h=v.includes(p.animationName),m=r.value==="mounted"?"enter":"leave";p.target===e.value&&h&&(l(`after-${m}`),s("ANIMATION_END")),p.target===e.value&&v==="none"&&s("ANIMATION_END")},d=p=>{p.target===e.value&&(a.value=Pa(e.value))},c=ve(e,(p,v)=>{p?(n.value=getComputedStyle(p),p.addEventListener("animationstart",d),p.addEventListener("animationcancel",u),p.addEventListener("animationend",u)):(s("ANIMATION_END"),v==null||v.removeEventListener("animationstart",d),v==null||v.removeEventListener("animationcancel",u),v==null||v.removeEventListener("animationend",u))},{immediate:!0}),f=ve(r,()=>{const p=Pa(e.value);a.value=r.value==="mounted"?p:"none"});return It(()=>{c(),f()}),{isPresent:O(()=>["mounted","unmountSuspended"].includes(r.value))}}function Pa(t){return t&&getComputedStyle(t).animationName||"none"}const vt=x({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:e,expose:n}){var a;const{present:o,forceMount:r}=je(t),s=T(),{isPresent:l}=qd(o,s);n({present:l});let u=e.default({present:l});u=no(u||[]);const d=pt();if(u&&(u==null?void 0:u.length)>1){const c=(a=d==null?void 0:d.parent)!=null&&a.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(` +`)].join(` +`))}return()=>r.value||o.value||l.value?lt(e.default({present:l})[0],{ref:c=>{const f=ft(c);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-radix-popper-content-wrapper")?s.value=f.firstElementChild:s.value=f),f}}):null}}),Kd=x({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=t,n=$s();n.contentId||(n.contentId=et(void 0,"radix-vue-collapsible-content"));const a=T(),{forwardRef:o,currentElement:r}=z(),s=T(0),l=T(0),u=O(()=>n.open.value),d=T(u.value),c=T();return ve(()=>{var f;return[u.value,(f=a.value)==null?void 0:f.present]},async()=>{await me();const f=r.value;if(!f)return;c.value=c.value||{transitionDuration:f.style.transitionDuration,animationName:f.style.animationName},f.style.transitionDuration="0s",f.style.animationName="none";const p=f.getBoundingClientRect();l.value=p.height,s.value=p.width,d.value||(f.style.transitionDuration=c.value.transitionDuration,f.style.animationName=c.value.animationName)},{immediate:!0}),xe(()=>{requestAnimationFrame(()=>{d.value=!1})}),(f,p)=>(g(),E(i(vt),{ref_key:"presentRef",ref:a,present:f.forceMount||i(n).open.value,"force-mount":!0},{default:b(()=>{var v,h;return[H(i(X),R(f.$attrs,{id:i(n).contentId,ref:i(o),"as-child":e.asChild,as:f.as,"data-state":i(n).open.value?"open":"closed","data-disabled":(v=i(n).disabled)!=null&&v.value?"":void 0,hidden:!((h=a.value)!=null&&h.present),style:{"--radix-collapsible-content-height":`${l.value}px`,"--radix-collapsible-content-width":`${s.value}px`}}),{default:b(()=>{var m;return[(m=a.value)!=null&&m.present?k(f.$slots,"default",{key:0}):Ae("",!0)]}),_:3},16,["id","as-child","as","data-state","data-disabled","hidden","style"])]}),_:3},8,["present"]))}}),[Mt,Yd]=_e("DialogRoot"),Is=x({__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:e}){const n=t,a=Ze(n,"open",e,{defaultValue:n.defaultOpen,passive:n.open===void 0}),o=T(),r=T(),{modal:s}=je(n);return Yd({open:a,modal:s,openModal:()=>{a.value=!0},onOpenChange:l=>{a.value=l},onOpenToggle:()=>{a.value=!a.value},contentId:"",titleId:"",descriptionId:"",triggerElement:o,contentElement:r}),(l,u)=>k(l.$slots,"default",{open:i(a)})}}),Ms=x({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t,n=Mt(),{forwardRef:a,currentElement:o}=z();return n.contentId||(n.contentId=et(void 0,"radix-vue-dialog-content")),xe(()=>{n.triggerElement.value=o.value}),(r,s)=>(g(),E(i(X),R(e,{ref:i(a),type:r.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":i(n).open.value||!1,"aria-controls":i(n).open.value?i(n).contentId:void 0,"data-state":i(n).open.value?"open":"closed",onClick:i(n).onOpenToggle}),{default:b(()=>[k(r.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),wa=x({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const e=Cs();return(n,a)=>i(e)||n.forceMount?(g(),E(Yo,{key:0,to:n.to,disabled:n.disabled},[k(n.$slots,"default")],8,["to","disabled"])):Ae("",!0)}}),Gd=x({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const e=t;return(n,a)=>(g(),E(i(wa),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Xd="dismissableLayer.pointerDownOutside",Jd="dismissableLayer.focusOutside";function Rs(t,e){const n=e.closest("[data-dismissable-layer]"),a=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),o=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&a===n||o.indexOf(a){});return Ce(s=>{if(!an)return;const l=async d=>{const c=d.target;if(e!=null&&e.value){if(Rs(e.value,c)){o.value=!1;return}if(d.target&&!o.value){let f=function(){rr(Xd,t,p)};const p={originalEvent:d};d.pointerType==="touch"?(a.removeEventListener("click",r.value),r.value=f,a.addEventListener("click",r.value,{once:!0})):f()}else a.removeEventListener("click",r.value);o.value=!1}},u=window.setTimeout(()=>{a.addEventListener("pointerdown",l)},0);s(()=>{window.clearTimeout(u),a.removeEventListener("pointerdown",l),a.removeEventListener("click",r.value)})}),{onPointerDownCapture:()=>o.value=!0}}function ec(t,e){var n;const a=((n=e==null?void 0:e.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=T(!1);return Ce(r=>{if(!an)return;const s=async l=>{e!=null&&e.value&&(await me(),!(!e.value||Rs(e.value,l.target))&&l.target&&!o.value&&rr(Jd,t,{originalEvent:l}))};a.addEventListener("focusin",s),r(()=>a.removeEventListener("focusin",s))}),{onFocusCapture:()=>o.value=!0,onBlurCapture:()=>o.value=!1}}const Rt=Bn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xa=x({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:e}){const n=t,a=e,{forwardRef:o,currentElement:r}=z(),s=O(()=>{var h;return((h=r.value)==null?void 0:h.ownerDocument)??globalThis.document}),l=O(()=>Rt.layersRoot),u=O(()=>r.value?Array.from(l.value).indexOf(r.value):-1),d=O(()=>Rt.layersWithOutsidePointerEventsDisabled.size>0),c=O(()=>{const h=Array.from(l.value),[m]=[...Rt.layersWithOutsidePointerEventsDisabled].slice(-1),y=h.indexOf(m);return u.value>=y}),f=Qd(async h=>{const m=[...Rt.branches].some(y=>y.contains(h.target));!c.value||m||(a("pointerDownOutside",h),a("interactOutside",h),await me(),h.defaultPrevented||a("dismiss"))},r),p=ec(h=>{[...Rt.branches].some(m=>m.contains(h.target))||(a("focusOutside",h),a("interactOutside",h),h.defaultPrevented||a("dismiss"))},r);yd("Escape",h=>{u.value===l.value.size-1&&(a("escapeKeyDown",h),h.defaultPrevented||a("dismiss"))});let v;return Ce(h=>{r.value&&(n.disableOutsidePointerEvents&&(Rt.layersWithOutsidePointerEventsDisabled.size===0&&(v=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),Rt.layersWithOutsidePointerEventsDisabled.add(r.value)),l.value.add(r.value),h(()=>{n.disableOutsidePointerEvents&&Rt.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=v)}))}),Ce(h=>{h(()=>{r.value&&(l.value.delete(r.value),Rt.layersWithOutsidePointerEventsDisabled.delete(r.value))})}),(h,m)=>(g(),E(i(X),{ref:i(o),"as-child":h.asChild,as:h.as,"data-dismissable-layer":"",style:nt({pointerEvents:d.value?c.value?"auto":"none":void 0}),onFocusCapture:i(p).onFocusCapture,onBlurCapture:i(p).onBlurCapture,onPointerdownCapture:i(f).onPointerDownCapture},{default:b(()=>[k(h.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Oo="focusScope.autoFocusOnMount",Eo="focusScope.autoFocusOnUnmount",Vr={bubbles:!1,cancelable:!0};function tc(t,{select:e=!1}={}){const n=document.activeElement;for(const a of t)if(Kt(a,{select:e}),document.activeElement!==n)return!0}function nc(t){const e=Vs(t),n=Dr(e,t),a=Dr(e.reverse(),t);return[n,a]}function Vs(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Dr(t,e){for(const n of t)if(!ac(n,{upTo:e}))return n}function ac(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function oc(t){return t instanceof HTMLInputElement&&"select"in t}function Kt(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&oc(t)&&e&&t.select()}}const rc=ad(()=>T([]));function sc(){const t=rc();return{add(e){const n=t.value[0];e!==n&&(n==null||n.pause()),t.value=Nr(t.value,e),t.value.unshift(e)},remove(e){var n;t.value=Nr(t.value,e),(n=t.value[0])==null||n.resume()}}}function Nr(t,e){const n=[...t],a=n.indexOf(e);return a!==-1&&n.splice(a,1),n}function lc(t){return t.filter(e=>e.tagName!=="A")}const lr=x({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:e}){const n=t,a=e,{currentRef:o,currentElement:r}=z(),s=T(null),l=sc(),u=Bn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Ce(c=>{if(!an)return;const f=r.value;if(!n.trapped)return;function p(y){if(u.paused||!f)return;const _=y.target;f.contains(_)?s.value=_:Kt(s.value,{select:!0})}function v(y){if(u.paused||!f)return;const _=y.relatedTarget;_!==null&&(f.contains(_)||Kt(s.value,{select:!0}))}function h(y){f.contains(s.value)||Kt(f)}document.addEventListener("focusin",p),document.addEventListener("focusout",v);const m=new MutationObserver(h);f&&m.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",v),m.disconnect()})}),Ce(async c=>{const f=r.value;if(await me(),!f)return;l.add(u);const p=document.activeElement;if(!f.contains(p)){const v=new CustomEvent(Oo,Vr);f.addEventListener(Oo,h=>a("mountAutoFocus",h)),f.dispatchEvent(v),v.defaultPrevented||(tc(lc(Vs(f)),{select:!0}),document.activeElement===p&&Kt(f))}c(()=>{f.removeEventListener(Oo,m=>a("mountAutoFocus",m));const v=new CustomEvent(Eo,Vr),h=m=>{a("unmountAutoFocus",m)};f.addEventListener(Eo,h),f.dispatchEvent(v),setTimeout(()=>{v.defaultPrevented||Kt(p??document.body,{select:!0}),f.removeEventListener(Eo,h),l.remove(u)},0)})});function d(c){if(!n.loop&&!n.trapped||u.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,p=document.activeElement;if(f&&p){const v=c.currentTarget,[h,m]=nc(v);h&&m?!c.shiftKey&&p===m?(c.preventDefault(),n.loop&&Kt(h,{select:!0})):c.shiftKey&&p===h&&(c.preventDefault(),n.loop&&Kt(m,{select:!0})):p===v&&c.preventDefault()}}return(c,f)=>(g(),E(i(X),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:d},{default:b(()=>[k(c.$slots,"default")]),_:3},8,["as-child","as"]))}});function ic(t){return t?"open":"closed"}function jr(t){const e=document.activeElement;for(const n of t)if(n===e||(n.focus(),document.activeElement!==e))return}const Ds=x({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Mt(),{forwardRef:r,currentElement:s}=z();return o.titleId||(o.titleId=et(void 0,"radix-vue-dialog-title")),o.descriptionId||(o.descriptionId=et(void 0,"radix-vue-dialog-description")),xe(()=>{o.contentElement=s,document.activeElement!==document.body&&(o.triggerElement.value=document.activeElement)}),(l,u)=>(g(),E(i(lr),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:u[5]||(u[5]=d=>a("openAutoFocus",d)),onUnmountAutoFocus:u[6]||(u[6]=d=>a("closeAutoFocus",d))},{default:b(()=>[H(i(xa),R({id:i(o).contentId,ref:i(r),as:l.as,"as-child":l.asChild,"disable-outside-pointer-events":l.disableOutsidePointerEvents,role:"dialog","aria-describedby":i(o).descriptionId,"aria-labelledby":i(o).titleId,"data-state":i(ic)(i(o).open.value)},l.$attrs,{onDismiss:u[0]||(u[0]=d=>i(o).onOpenChange(!1)),onEscapeKeyDown:u[1]||(u[1]=d=>a("escapeKeyDown",d)),onFocusOutside:u[2]||(u[2]=d=>a("focusOutside",d)),onInteractOutside:u[3]||(u[3]=d=>a("interactOutside",d)),onPointerDownOutside:u[4]||(u[4]=d=>a("pointerDownOutside",d))}),{default:b(()=>[k(l.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),uc=x({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Mt(),r=ba(a),{forwardRef:s,currentElement:l}=z();return oo(l),(u,d)=>(g(),E(Ds,R({...n,...i(r)},{ref:i(s),"trap-focus":i(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:d[0]||(d[0]=c=>{var f;a("closeAutoFocus",c),c.defaultPrevented||(c.preventDefault(),(f=i(o).triggerElement.value)==null||f.focus())}),onPointerDownOutside:d[1]||(d[1]=c=>{const f=c.detail.originalEvent,p=f.button===0&&f.ctrlKey===!0;(f.button===2||p)&&c.preventDefault()}),onFocusOutside:d[2]||(d[2]=c=>{c.preventDefault()}),onOpenAutoFocus:d[3]||(d[3]=c=>a("openAutoFocus",c))}),{default:b(()=>[k(u.$slots,"default")]),_:3},16,["trap-focus"]))}}),dc=x({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=ba(a);z();const r=Mt(),s=T(!1),l=T(!1);return(u,d)=>(g(),E(Ds,R({...n,...i(o)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:d[0]||(d[0]=c=>{var f;a("closeAutoFocus",c),c.defaultPrevented||(s.value||(f=i(r).triggerElement.value)==null||f.focus(),c.preventDefault()),s.value=!1,l.value=!1}),onInteractOutside:d[1]||(d[1]=c=>{var f;c.defaultPrevented||(s.value=!0,c.detail.originalEvent.type==="pointerdown"&&(l.value=!0));const p=c.target;(f=i(r).triggerElement.value)!=null&&f.contains(p)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.value&&c.preventDefault()})}),{default:b(()=>[k(u.$slots,"default")]),_:3},16))}}),Ns=x({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Mt(),r=ba(a),{forwardRef:s}=z();return(l,u)=>(g(),E(i(vt),{present:l.forceMount||i(o).open.value},{default:b(()=>[i(o).modal.value?(g(),E(uc,R({key:0,ref:i(s)},{...n,...i(r),...l.$attrs},{onOpenAutoFocus:u[0]||(u[0]=d=>a("openAutoFocus",d))}),{default:b(()=>[k(l.$slots,"default")]),_:3},16)):(g(),E(dc,R({key:1,ref:i(s)},{...n,...i(r),...l.$attrs}),{default:b(()=>[k(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),cc=x({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(t){const e=Mt();return ao(!0),z(),(n,a)=>(g(),E(i(X),{as:n.as,"as-child":n.asChild,"data-state":i(e).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:b(()=>[k(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),js=x({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=Mt(),{forwardRef:n}=z();return(a,o)=>{var r;return(r=i(e))!=null&&r.modal.value?(g(),E(i(vt),{key:0,present:a.forceMount||i(e).open.value},{default:b(()=>[H(cc,R(a.$attrs,{ref:i(n),as:a.as,"as-child":a.asChild}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):Ae("",!0)}}}),ir=x({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;z();const n=Mt();return(a,o)=>(g(),E(i(X),R(e,{type:a.as==="button"?"button":void 0,onClick:o[0]||(o[0]=r=>i(n).onOpenChange(!1))}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["type"]))}}),zs=x({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const e=t,n=Mt();return z(),(a,o)=>(g(),E(i(X),R(e,{id:i(n).titleId}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["id"]))}}),Fs=x({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(t){const e=t;z();const n=Mt();return(a,o)=>(g(),E(i(X),R(e,{id:i(n).descriptionId}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["id"]))}}),fc=x({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const n=Re(t,e);return z(),(a,o)=>(g(),E(i(Is),R(i(n),{modal:!0}),{default:b(()=>[k(a.$slots,"default")]),_:3},16))}}),pc=x({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(Ms),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),vc=x({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const e=t;return(n,a)=>(g(),E(i(wa),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),[hc,mc]=_e("AlertDialogContent"),gc=x({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=ba(e);z();const o=T();return mc({onCancelElementChange:r=>{o.value=r}}),(r,s)=>(g(),E(i(Ns),R({...n,...i(a)},{role:"alertdialog",onPointerDownOutside:s[0]||(s[0]=Je(()=>{},["prevent"])),onInteractOutside:s[1]||(s[1]=Je(()=>{},["prevent"])),onOpenAutoFocus:s[2]||(s[2]=()=>{me(()=>{var l;(l=o.value)==null||l.focus({preventScroll:!0})})})}),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),yc=x({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(js),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),bc=x({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t,n=hc(),{forwardRef:a,currentElement:o}=z();return xe(()=>{n.onCancelElementChange(o.value)}),(r,s)=>(g(),E(i(ir),R(e,{ref:i(a)}),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),_c=x({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(zs),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),wc=x({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(Fs),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),xc=x({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(ir),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),[Jm,kc]=_e("AvatarRoot"),Cc=x({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return z(),kc({imageLoadingStatus:T("loading")}),(e,n)=>(g(),E(i(X),{"as-child":e.asChild,as:e.as},{default:b(()=>[k(e.$slots,"default")]),_:3},8,["as-child","as"]))}});function Fa(t){return t==="indeterminate"}function Ls(t){return Fa(t)?"indeterminate":t?"checked":"unchecked"}const Oc=["value","checked","name","disabled","required"],[Ec,Sc]=_e("CheckboxRoot"),Ac=x({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String],default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(t,{emit:e}){const n=t,a=e,{disabled:o}=je(n),r=Ze(n,"checked",a,{defaultValue:n.defaultChecked,passive:n.checked===void 0}),{forwardRef:s,currentElement:l}=z(),u=_a(l),d=O(()=>{var c;return n.id&&l.value?(c=document.querySelector(`[for="${n.id}"]`))==null?void 0:c.innerText:void 0});return Sc({disabled:o,state:r}),(c,f)=>(g(),Q(Le,null,[H(i(X),R(c.$attrs,{id:c.id,ref:i(s),role:"checkbox","as-child":n.asChild,as:c.as,type:c.as==="button"?"button":void 0,"aria-checked":i(Fa)(i(r))?"mixed":i(r),"aria-required":!1,"aria-label":c.$attrs["aria-label"]||d.value,"data-state":i(Ls)(i(r)),"data-disabled":i(o)?"":void 0,disabled:i(o),onKeydown:dn(Je(()=>{},["prevent"]),["enter"]),onClick:f[0]||(f[0]=p=>r.value=i(Fa)(i(r))?!0:!i(r))}),{default:b(()=>[k(c.$slots,"default",{checked:i(r)})]),_:3},16,["id","as-child","as","type","aria-checked","aria-label","data-state","data-disabled","disabled","onKeydown"]),i(u)?(g(),Q("input",{key:0,type:"checkbox",tabindex:"-1","aria-hidden":"",value:c.value,checked:!!i(r),name:n.name,disabled:n.disabled,required:n.required,style:nt({transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0})},null,12,Oc)):Ae("",!0)],64))}}),Bc=x({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:e}=z(),n=Ec();return(a,o)=>(g(),E(i(vt),{present:a.forceMount||i(Fa)(i(n).state.value)||i(n).state.value===!0},{default:b(()=>[H(i(X),R({ref:i(e),"data-state":i(Ls)(i(n).state.value),"data-disabled":i(n).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":a.asChild,as:a.as},a.$attrs),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),[Zs,Tc]=_e("PopperRoot"),so=x({__name:"PopperRoot",setup(t){const e=T();return Tc({anchor:e,onAnchorChange:n=>e.value=n}),(n,a)=>k(n.$slots,"default")}}),ur=x({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const e=t,{forwardRef:n,currentElement:a}=z(),o=Zs();return ve(a,()=>{o.onAnchorChange(e.element??a.value)}),(r,s)=>(g(),E(i(X),{ref:i(n),as:r.as,"as-child":r.asChild},{default:b(()=>[k(r.$slots,"default")]),_:3},8,["as","as-child"]))}});function Pc(t){return t!==null}function $c(t){return{name:"transformOrigin",options:t,fn(e){var n,a,o;const{placement:r,rects:s,middlewareData:l}=e,u=((n=l.arrow)==null?void 0:n.centerOffset)!==0,d=u?0:t.arrowWidth,c=u?0:t.arrowHeight,[f,p]=Do(r),v={start:"0%",center:"50%",end:"100%"}[p],h=(((a=l.arrow)==null?void 0:a.x)??0)+d/2,m=(((o=l.arrow)==null?void 0:o.y)??0)+c/2;let y="",_="";return f==="bottom"?(y=u?v:`${h}px`,_=`${-c}px`):f==="top"?(y=u?v:`${h}px`,_=`${s.floating.height+c}px`):f==="right"?(y=`${-c}px`,_=u?v:`${m}px`):f==="left"&&(y=`${s.floating.width+c}px`,_=u?v:`${m}px`),{data:{x:y,y:_}}}}}function Do(t){const[e,n="center"]=t.split("-");return[e,n]}const Ic={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Mc,Rc]=_e("PopperContent"),ta=x({inheritAttrs:!1,__name:"PopperContent",props:ni({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Ic}),emits:["placed"],setup(t,{emit:e}){const n=t,a=e,o=Zs(),{forwardRef:r,currentElement:s}=z(),l=T(),u=T(),{width:d,height:c}=Fd(u),f=O(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=O(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),v=O(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=O(()=>({padding:p.value,boundary:v.value.filter(Pc),altBoundary:v.value.length>0})),m=td(()=>[Uu({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Pr({...h.value}),n.avoidCollisions&&Wu({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Yu():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&Pr({...h.value}),Hu({...h.value,apply:({elements:N,rects:de,availableWidth:G,availableHeight:be})=>{const{width:ie,height:L}=de.reference,W=N.floating.style;Object.assign(N.floating.style,{maxWidth:`${G}px`,maxHeight:`${be}px`}),W.setProperty("--radix-popper-available-width",`${G}px`),W.setProperty("--radix-popper-available-height",`${be}px`),W.setProperty("--radix-popper-anchor-width",`${ie}px`),W.setProperty("--radix-popper-anchor-height",`${L}px`)}}),u.value&&Ju({element:u.value,padding:n.arrowPadding}),$c({arrowWidth:d.value,arrowHeight:c.value}),n.hideWhenDetached&&qu({strategy:"referenceHidden",...h.value})]),{floatingStyles:y,placement:_,isPositioned:P,middlewareData:C}=Qu(o.anchor,l,{strategy:"fixed",placement:f,whileElementsMounted:(...N)=>Zu(...N,{animationFrame:n.updatePositionStrategy==="always"}),middleware:m}),w=O(()=>Do(_.value)[0]),B=O(()=>Do(_.value)[1]);Ce(()=>{P.value&&a("placed")});const M=O(()=>{var N;return((N=C.value.arrow)==null?void 0:N.centerOffset)!==0}),$=T("");Ce(()=>{s.value&&($.value=window.getComputedStyle(s.value).zIndex)});const U=O(()=>{var N;return((N=C.value.arrow)==null?void 0:N.x)??0}),F=O(()=>{var N;return((N=C.value.arrow)==null?void 0:N.y)??0});return Rc({placedSide:w,onArrowChange:N=>u.value=N,arrowX:U,arrowY:F,shouldHideArrow:M}),(N,de)=>{var G,be,ie;return g(),Q("div",{ref_key:"floatingRef",ref:l,"data-radix-popper-content-wrapper":"",style:nt({...i(y),transform:i(P)?i(y).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$.value,"--radix-popper-transform-origin":[(G=i(C).transformOrigin)==null?void 0:G.x,(be=i(C).transformOrigin)==null?void 0:be.y].join(" "),...((ie=i(C).hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[H(i(X),R({ref:i(r)},N.$attrs,{"as-child":n.asChild,as:N.as,"data-side":w.value,"data-align":B.value,style:{animation:i(P)?void 0:"none"}}),{default:b(()=>[k(N.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Vc=Ye("polygon",{points:"0,0 30,0 15,10"},null,-1),Dc=x({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(X),R(e,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:b(()=>[k(n.$slots,"default",{},()=>[Vc])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),Nc={top:"bottom",right:"left",bottom:"top",left:"right"},jc=x({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const{forwardRef:e}=z(),n=Mc(),a=O(()=>Nc[n.placedSide.value]);return(o,r)=>{var s,l,u,d;return g(),Q("span",{ref:c=>{i(n).onArrowChange(c)},style:nt({position:"absolute",left:(s=i(n).arrowX)!=null&&s.value?`${(l=i(n).arrowX)==null?void 0:l.value}px`:void 0,top:(u=i(n).arrowY)!=null&&u.value?`${(d=i(n).arrowY)==null?void 0:d.value}px`:void 0,[a.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i(n).placedSide.value],visibility:i(n).shouldHideArrow.value?"hidden":void 0})},[H(Dc,R(o.$attrs,{ref:i(e),style:{display:"block"},as:o.as,"as-child":o.asChild,width:o.width,height:o.height}),{default:b(()=>[k(o.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),Us=x({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return z(),(e,n)=>(g(),E(i(X),{as:e.as,"as-child":e.asChild,style:nt({position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"})},{default:b(()=>[k(e.$slots,"default")]),_:3},8,["as","as-child","style"]))}}),zc=x({__name:"VisuallyHiddenInput",props:{name:{},value:{},required:{type:Boolean},disabled:{type:Boolean}},setup(t){const e=t,n=O(()=>typeof e.value=="string"||typeof e.value=="number"||typeof e.value=="boolean"?[{name:e.name,value:e.value}]:typeof e.value=="object"&&Array.isArray(e.value)?e.value.flatMap((a,o)=>typeof a=="object"?Object.entries(a).map(([r,s])=>({name:`[${o}][${e.name}][${r}]`,value:s})):{name:`[${e.name}][${o}]`,value:a}):e.value!==null&&typeof e.value=="object"&&!Array.isArray(e.value)?Object.entries(e.value).map(([a,o])=>({name:`[${e.name}][${a}]`,value:o})):[]);return(a,o)=>(g(!0),Q(Le,null,Jn(n.value,r=>(g(),E(Us,{key:r.name,as:"input",type:"hidden",hidden:"",readonly:"",name:r.name,value:r.value,required:a.required,disabled:a.disabled},null,8,["name","value","required","disabled"]))),128))}});function Fc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Lc=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var a,o,r;if(Array.isArray(e)){if(a=e.length,a!=n.length)return!1;for(o=a;o--!==0;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(r=Object.keys(e),a=r.length,a!==Object.keys(n).length)return!1;for(o=a;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[o]))return!1;for(o=a;o--!==0;){var s=r[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const sn=Fc(Lc),Zc="data-radix-vue-collection-item",[dr,Uc]=_e("CollectionProvider");function Wc(t=Zc){const e=T(new Map),n=T(),a=Uc({collectionRef:n,itemMap:e,attrName:t}),{getItems:o}=Kc(a),r=O(()=>Array.from(a.itemMap.value.values())),s=O(()=>a.itemMap.value.size);return{getItems:o,reactiveItems:r,itemMapSize:s}}const Hc=x({name:"CollectionSlot",setup(t,{slots:e}){const n=dr(),{primitiveElement:a,currentElement:o}=Ps();return ve(o,()=>{n.collectionRef.value=o.value}),()=>lt(ro,{ref:a},e)}}),qc=x({name:"CollectionItem",setup(t,{slots:e,attrs:n}){const a=dr(),{primitiveElement:o,currentElement:r}=Ps(),s=pt();return Ce(l=>{var u;if(r.value){const d=xr(r.value);a.itemMap.value.set(d,{ref:r.value,...xr(((u=s==null?void 0:s.parent)==null?void 0:u.props)??{})}),l(()=>a.itemMap.value.delete(d))}}),()=>lt(ro,{...n,[a.attrName]:"",ref:o},e)}});function Kc(t){const e=t??dr();return{getItems:()=>{const n=e.collectionRef.value;if(!n)return[];const a=Array.from(n.querySelectorAll(`[${e.attrName}]`));return Array.from(e.itemMap.value.values()).sort((o,r)=>a.indexOf(o.ref)-a.indexOf(r.ref))}}}const[ka,Yc]=_e("ComboboxRoot"),Gc=x({__name:"ComboboxRoot",props:{modelValue:{},defaultValue:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},searchTerm:{},multiple:{type:Boolean},disabled:{type:Boolean},name:{},dir:{},filterFunction:{},displayValue:{},resetSearchTermOnBlur:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:open","update:searchTerm"],setup(t,{emit:e}){const n=t,a=e,{multiple:o,disabled:r,dir:s}=je(n),l=gn(s),u=Ze(n,"searchTerm",a,{defaultValue:"",passive:n.searchTerm===void 0}),d=Ze(n,"modelValue",a,{defaultValue:n.defaultValue??o.value?[]:void 0,passive:n.modelValue===void 0,deep:!0}),c=Ze(n,"open",a,{defaultValue:n.defaultOpen,passive:n.open===void 0}),f=T();async function p(L){var W,le;c.value=L,await me(),L?(d.value&&(Array.isArray(d.value)&&o.value?f.value=(W=C().find(Ee=>{var we,We;return((We=(we=Ee.ref)==null?void 0:we.dataset)==null?void 0:We.state)==="checked"}))==null?void 0:W.value:f.value=d.value),(le=m.value)==null||le.focus(),be()):(h.value=!1,n.resetSearchTermOnBlur&&U())}function v(L){if(Array.isArray(d.value)&&o.value){const W=d.value.findIndex(le=>sn(le,L));W===-1?d.value.push(L):d.value.splice(W,1)}else d.value=L,p(!1)}const h=T(!1),m=T(),y=T(),{forwardRef:_,currentElement:P}=z(),{getItems:C,reactiveItems:w,itemMapSize:B}=Wc("data-radix-vue-combobox-item"),M=T([]);ve(()=>B.value,()=>{M.value=C().map(L=>L.value)},{immediate:!0,flush:"post"});const $=O(()=>{if(h.value){if(n.filterFunction)return n.filterFunction(M.value,u.value);const L=M.value.filter(W=>typeof W=="string");if(L.length)return L.filter(W=>{var le;return W.toLowerCase().includes((le=u.value)==null?void 0:le.toLowerCase())})}return M.value});function U(){!o.value&&d.value&&!Array.isArray(d.value)?n.displayValue?u.value=n.displayValue(d.value):typeof d.value!="object"?u.value=d.value.toString():u.value="":u.value=""}const F=O(()=>$.value.findIndex(L=>sn(L,f.value))),N=O(()=>{var L;return(L=w.value.find(W=>sn(W.value,f.value)))==null?void 0:L.ref}),de=O(()=>JSON.stringify(d.value));ve(de,async()=>{await me(),await me(),U()},{immediate:!n.searchTerm}),ve(()=>[$.value.length,u.value.length],async([L,W],[le,Ee])=>{await me(),await me(),L&&(Ee>W||F.value===-1)&&(f.value=$.value[0])});const G=_a(P);function be(){N.value instanceof Element&&N.value.scrollIntoView({block:"nearest"})}function ie(){N.value instanceof Element&&N.value.focus&&N.value.focus()}return Yc({searchTerm:u,modelValue:d,onValueChange:v,isUserInputted:h,multiple:o,disabled:r,open:c,onOpenChange:p,filteredOptions:$,contentId:"",inputElement:m,selectedElement:N,onInputElementChange:L=>m.value=L,onInputNavigation:async L=>{const W=F.value;W===0&&L==="up"||W===$.value.length-1&&L==="down"||(W===-1&&$.value.length||L==="home"?f.value=$.value[0]:L==="end"?f.value=$.value[$.value.length-1]:f.value=$.value[L==="up"?W-1:W+1],be(),ie(),me(()=>{var le;return(le=m.value)==null?void 0:le.focus({preventScroll:!0})}))},onInputEnter:async()=>{var L;$.value.length&&f.value&&N.value instanceof Element&&((L=N.value)==null||L.click())},selectedValue:f,onSelectedValueChange:L=>f.value=L,parentElement:P,contentElement:y,onContentElementChange:L=>y.value=L}),(L,W)=>(g(),E(i(so),null,{default:b(()=>[H(i(X),R({ref:i(_),style:{pointerEvents:i(c)?"auto":void 0},as:L.as,"as-child":L.asChild,dir:i(l)},L.$attrs),{default:b(()=>[k(L.$slots,"default",{open:i(c),modelValue:i(d)}),i(G)&&n.name?(g(),E(i(zc),{key:0,name:n.name,value:i(d)},null,8,["name","value"])):Ae("",!0)]),_:3},16,["style","as","as-child","dir"])]),_:3}))}}),[Ws,Xc]=_e("ComboboxGroup"),Jc=x({__name:"ComboboxGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t,{currentRef:n,currentElement:a}=z(),o=et(void 0,"radix-vue-combobox-group"),r=ka(),s=T(!1);function l(){if(!a.value)return;const u=a.value.querySelectorAll("[data-radix-vue-combobox-item]:not([data-hidden])");s.value=!!u.length}return _d(a,()=>{me(()=>{l()})},{childList:!0}),ve(()=>r.searchTerm.value,()=>{me(()=>{l()})},{immediate:!0}),Xc({id:o}),(u,d)=>Ja((g(),E(i(X),R(e,{ref_key:"currentRef",ref:n,role:"group","aria-labelledby":i(o)}),{default:b(()=>[k(u.$slots,"default")]),_:3},16,["aria-labelledby"])),[[ds,s.value]])}}),Qc=x({__name:"ComboboxLabel",props:{for:{},asChild:{type:Boolean},as:{default:"div"}},setup(t){const e=t;z();const n=Ws({id:""});return(a,o)=>(g(),E(i(X),R(e,{id:i(n).id}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["id"]))}}),[Qm,ef]=_e("ComboboxContent"),tf=x({__name:"ComboboxContentImpl",props:{position:{default:"inline"},bodyLock:{type:Boolean},dismissable:{type:Boolean,default:!0},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:e}){const n=t,a=e,{position:o}=je(n),r=ka();ao(n.bodyLock);const{forwardRef:s,currentElement:l}=z();oo(l);const u=O(()=>n.position==="popper"?n:{}),d=Ue(u.value);function c(p){r.onSelectedValueChange("")}xe(()=>{r.onContentElementChange(l.value)});const f={boxSizing:"border-box","--radix-combobox-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-combobox-content-available-width":"var(--radix-popper-available-width)","--radix-combobox-content-available-height":"var(--radix-popper-available-height)","--radix-combobox-trigger-width":"var(--radix-popper-anchor-width)","--radix-combobox-trigger-height":"var(--radix-popper-anchor-height)"};return ef({position:o}),(p,v)=>(g(),E(i(Hc),null,{default:b(()=>[p.dismissable?(g(),E(i(xa),{key:0,"as-child":"","disable-outside-pointer-events":p.disableOutsidePointerEvents,onDismiss:v[0]||(v[0]=h=>i(r).onOpenChange(!1)),onFocusOutside:v[1]||(v[1]=h=>{var m;(m=i(r).parentElement.value)!=null&&m.contains(h.target)&&h.preventDefault(),a("focusOutside",h)}),onInteractOutside:v[2]||(v[2]=h=>a("interactOutside",h)),onEscapeKeyDown:v[3]||(v[3]=h=>a("escapeKeyDown",h)),onPointerDownOutside:v[4]||(v[4]=h=>{var m;(m=i(r).parentElement.value)!=null&&m.contains(h.target)&&h.preventDefault(),a("pointerDownOutside",h)})},{default:b(()=>[(g(),E(bt(i(o)==="popper"?i(ta):i(X)),R({...p.$attrs,...i(d)},{id:i(r).contentId,ref:i(s),role:"listbox","data-state":i(r).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...i(o)==="popper"?f:{}},onPointerleave:c}),{default:b(()=>[k(p.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3},8,["disable-outside-pointer-events"])):(g(),E(bt(i(o)==="popper"?i(ta):i(X)),R({key:1},{...p.$attrs,...u.value},{id:i(r).contentId,ref:i(s),role:"listbox","data-state":i(r).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...i(o)==="popper"?f:{}},onPointerleave:c}),{default:b(()=>[k(p.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3}))}}),nf=x({__name:"ComboboxContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},dismissable:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:e}){const n=Re(t,e),{forwardRef:a}=z(),o=ka();return o.contentId||(o.contentId=et(void 0,"radix-vue-combobox-content")),(r,s)=>(g(),E(i(vt),{present:r.forceMount||i(o).open.value},{default:b(()=>[H(tf,R({...i(n),...r.$attrs},{ref:i(a)}),{default:b(()=>[k(r.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),af=x({__name:"ComboboxEmpty",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;z();const n=ka(),a=O(()=>n.filteredOptions.value.length===0);return(o,r)=>a.value?(g(),E(i(X),ke(R({key:0},e)),{default:b(()=>[k(o.$slots,"default",{},()=>[zt("No options")])]),_:3},16)):Ae("",!0)}}),[eg,of]=_e("ComboboxItem"),rf="combobox.select",sf=x({__name:"ComboboxItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:e}){const n=t,a=e,{disabled:o}=je(n),r=ka();Ws({id:"",options:T([])});const{forwardRef:s}=z(),l=O(()=>{var m,y;return r.multiple.value&&Array.isArray(r.modelValue.value)?(m=r.modelValue.value)==null?void 0:m.some(_=>sn(_,n.value)):sn((y=r.modelValue)==null?void 0:y.value,n.value)}),u=O(()=>sn(r.selectedValue.value,n.value)),d=et(void 0,"radix-vue-combobox-item"),c=et(void 0,"radix-vue-combobox-option"),f=O(()=>r.isUserInputted.value?r.searchTerm.value===""||!!r.filteredOptions.value.find(m=>sn(m,n.value)):!0);async function p(m){a("select",m),!(m!=null&&m.defaultPrevented)&&!o.value&&m&&r.onValueChange(n.value)}function v(m){if(!m)return;const y={originalEvent:m,value:n.value};rr(rf,p,y)}async function h(m){await me(),!m.defaultPrevented&&r.onSelectedValueChange(n.value)}if(n.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return of({isSelected:l}),(m,y)=>(g(),E(i(qc),null,{default:b(()=>[Ja(H(i(X),{id:i(c),ref:i(s),role:"option",tabindex:"-1","aria-labelledby":i(d),"data-highlighted":u.value?"":void 0,"aria-selected":l.value,"data-state":l.value?"checked":"unchecked","aria-disabled":i(o)||void 0,"data-disabled":i(o)?"":void 0,as:m.as,"as-child":m.asChild,"data-hidden":f.value?void 0:!0,onClick:v,onPointermove:h},{default:b(()=>[k(m.$slots,"default",{},()=>[zt(rn(m.value),1)])]),_:3},8,["id","aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","as","as-child","data-hidden"]),[[ds,f.value]])]),_:3}))}}),lf="rovingFocusGroup.onEntryFocus",uf={bubbles:!1,cancelable:!0},df={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function cf(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function ff(t,e,n){const a=cf(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return df[a]}function Hs(t,e=!1){const n=document.activeElement;for(const a of t)if(a===n||(a.focus({preventScroll:e}),document.activeElement!==n))return}function pf(t,e){return t.map((n,a)=>t[(e+a)%t.length])}const[vf,hf]=_e("RovingFocusGroup"),qs=x({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(t,{emit:e}){const n=t,a=e,{loop:o,orientation:r,dir:s}=je(n),l=gn(s),u=Ze(n,"currentTabStopId",a,{defaultValue:n.defaultCurrentTabStopId,passive:n.currentTabStopId===void 0}),d=T(!1),c=T(!1),f=T(0),{forwardRef:p,currentElement:v}=z(),{createCollection:h}=zn("rovingFocus"),m=h(v);function y(_){const P=!c.value;if(_.currentTarget&&_.target===_.currentTarget&&P&&!d.value){const C=new CustomEvent(lf,uf);if(_.currentTarget.dispatchEvent(C),a("entryFocus",C),!C.defaultPrevented){const w=m.value,B=w.find(U=>U.getAttribute("data-active")==="true"),M=w.find(U=>U.id===u.value),$=[B,M,...w].filter(Boolean);Hs($,n.preventScrollOnEntryFocus)}}c.value=!1}return hf({loop:o,dir:l,orientation:r,currentTabStopId:u,onItemFocus:_=>{u.value=_},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{f.value++},onFocusableItemRemove:()=>{f.value--}}),(_,P)=>(g(),E(i(X),{ref:i(p),tabindex:d.value||f.value===0?-1:0,"data-orientation":i(r),as:_.as,"as-child":_.asChild,dir:i(l),style:{outline:"none"},onMousedown:P[0]||(P[0]=C=>c.value=!0),onFocus:y,onBlur:P[1]||(P[1]=C=>d.value=!1)},{default:b(()=>[k(_.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"]))}}),Ks=x({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},asChild:{type:Boolean},as:{default:"span"}},setup(t){const e=t,n=vf(),a=O(()=>e.tabStopId||et()),o=O(()=>n.currentTabStopId.value===a.value),{injectCollection:r}=zn("rovingFocus"),s=r();xe(()=>{e.focusable&&n.onFocusableItemAdd()}),It(()=>{e.focusable&&n.onFocusableItemRemove()});function l(u){if(u.key==="Tab"&&u.shiftKey){n.onItemShiftTab();return}if(u.target!==u.currentTarget)return;const d=ff(u,n.orientation.value,n.dir.value);if(d!==void 0){if(u.metaKey||u.ctrlKey||u.altKey||u.shiftKey)return;u.preventDefault();let c=[...s.value];if(d==="last")c.reverse();else if(d==="prev"||d==="next"){d==="prev"&&c.reverse();const f=c.indexOf(u.currentTarget);c=n.loop.value?pf(c,f+1):c.slice(f+1)}me(()=>Hs(c))}}return(u,d)=>(g(),E(i(X),{"data-radix-vue-collection-item":"",tabindex:o.value?0:-1,"data-orientation":i(n).orientation.value,"data-active":u.active,"data-disabled":!u.focusable||void 0,as:u.as,"as-child":u.asChild,onMousedown:d[0]||(d[0]=c=>{u.focusable?i(n).onItemFocus(a.value):c.preventDefault()}),onFocus:d[1]||(d[1]=c=>i(n).onItemFocus(a.value)),onKeydown:l},{default:b(()=>[k(u.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"]))}}),[cr,mf]=_e("HoverCardRoot"),gf=x({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(t,{emit:e}){const n=t,a=e,{openDelay:o,closeDelay:r}=je(n);z();const s=Ze(n,"open",a,{defaultValue:n.defaultOpen,passive:n.open===void 0}),l=T(0),u=T(0),d=T(!1),c=T(!1),f=T(!1),p=T();function v(){clearTimeout(u.value),l.value=window.setTimeout(()=>s.value=!0,o.value)}function h(){clearTimeout(l.value),!d.value&&!c.value&&(u.value=window.setTimeout(()=>s.value=!1,r.value))}function m(){s.value=!1}return mf({open:s,onOpenChange(y){s.value=y},onOpen:v,onClose:h,onDismiss:m,hasSelectionRef:d,isPointerDownOnContentRef:c,isPointerInTransitRef:f,triggerElement:p}),(y,_)=>(g(),E(i(so),null,{default:b(()=>[k(y.$slots,"default",{open:i(s)})]),_:3}))}});function No(t){return e=>e.pointerType==="touch"?void 0:t()}function yf(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)e.push(n.currentNode);return e}const bf=x({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(t){const{forwardRef:e,currentElement:n}=z(),a=cr();a.triggerElement=n;function o(){setTimeout(()=>{a.isPointerInTransitRef.value||a.onClose()},0)}return(r,s)=>(g(),E(i(ur),{"as-child":""},{default:b(()=>[H(i(X),{ref:i(e),"as-child":r.asChild,as:r.as,"data-state":i(a).open.value?"open":"closed",onPointerenter:s[0]||(s[0]=l=>i(No)(i(a).onOpen)(l)),onPointerleave:s[1]||(s[1]=l=>i(No)(o)(l)),onFocus:s[2]||(s[2]=l=>i(a).onOpen()),onBlur:s[3]||(s[3]=l=>i(a).onClose())},{default:b(()=>[k(r.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),_f=x({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const e=t;return(n,a)=>(g(),E(i(wa),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),wf=x({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:e}){const n=t,a=e,o=Ue(n),{forwardRef:r,currentElement:s}=z(),l=cr(),{isPointerInTransit:u,onPointerExit:d}=Bd(l.triggerElement,s);vd(l.isPointerInTransitRef,u,{direction:"rtl"}),d(()=>{l.onClose()});const c=T(!1);let f;Ce(v=>{if(c.value){const h=document.body;f=h.style.userSelect||h.style.webkitUserSelect,h.style.userSelect="none",h.style.webkitUserSelect="none",v(()=>{h.style.userSelect=f,h.style.webkitUserSelect=f})}});function p(){c.value=!1,l.isPointerDownOnContentRef.value=!1,me(()=>{var v;((v=document.getSelection())==null?void 0:v.toString())!==""&&(l.hasSelectionRef.value=!0)})}return xe(()=>{s.value&&(document.addEventListener("pointerup",p),yf(s.value).forEach(v=>v.setAttribute("tabindex","-1")))}),It(()=>{document.removeEventListener("pointerup",p),l.hasSelectionRef.value=!1,l.isPointerDownOnContentRef.value=!1}),(v,h)=>(g(),E(i(xa),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:h[1]||(h[1]=m=>a("escapeKeyDown",m)),onPointerDownOutside:h[2]||(h[2]=m=>a("pointerDownOutside",m)),onFocusOutside:h[3]||(h[3]=Je(m=>a("focusOutside",m),["prevent"])),onDismiss:i(l).onDismiss},{default:b(()=>[H(i(ta),R({...i(o),...v.$attrs},{ref:i(r),"data-state":i(l).open.value?"open":"closed",style:{userSelect:c.value?"text":void 0,WebkitUserSelect:c.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:h[0]||(h[0]=m=>{m.currentTarget.contains(m.target)&&(c.value=!0),i(l).hasSelectionRef.value=!1,i(l).isPointerDownOnContentRef.value=!0})}),{default:b(()=>[k(v.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),xf=x({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:e}){const n=Re(t,e),{forwardRef:a}=z(),o=cr();return(r,s)=>(g(),E(i(vt),{present:r.forceMount||i(o).open.value},{default:b(()=>[H(wf,R(i(n),{ref:i(a),onPointerenter:s[0]||(s[0]=l=>i(No)(i(o).onOpen)(l))}),{default:b(()=>[k(r.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),kf=x({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(X),R(e,{onMousedown:a[0]||(a[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Cf=["id","value","name","disabled","required"],[Of,Ef]=_e("PinInputRoot"),Sf=x({inheritAttrs:!1,__name:"PinInputRoot",props:{modelValue:{},defaultValue:{},placeholder:{default:""},mask:{type:Boolean},otp:{type:Boolean},type:{default:"text"},dir:{},name:{},disabled:{type:Boolean},required:{type:Boolean},id:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue","complete"],setup(t,{emit:e}){const n=t,a=e,{mask:o,otp:r,placeholder:s,type:l,disabled:u,dir:d}=je(n),{forwardRef:c}=z(),f=gn(d),p=Ze(n,"modelValue",a,{defaultValue:n.defaultValue??[],passive:n.modelValue===void 0}),v=T(new Set);function h(y){v.value.add(y)}const m=O(()=>p.value.filter(y=>!!y).length===v.value.size);return ve(p,()=>{m.value&&a("complete",p.value)},{deep:!0}),Ef({modelValue:p,mask:o,otp:r,placeholder:s,type:l,dir:f,disabled:u,isCompleted:m,inputElements:v,onInputElementChange:h}),(y,_)=>(g(),Q(Le,null,[H(i(X),R(y.$attrs,{ref:i(c),dir:i(f),"data-complete":m.value?"":void 0,"data-disabled":i(u)?"":void 0}),{default:b(()=>[k(y.$slots,"default",{modelValue:i(p)})]),_:3},16,["dir","data-complete","data-disabled"]),Ye("input",{id:y.id,type:"text",tabindex:"-1","aria-hidden":"",value:i(p).join(""),name:y.name,disabled:i(u),required:y.required,style:nt({transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}),onFocus:_[0]||(_[0]=P=>{var C,w;return(w=(C=Array.from(v.value))==null?void 0:C[0])==null?void 0:w.focus()})},null,44,Cf)],64))}}),Af=["autocomplete","type","inputmode","pattern","placeholder","value","disabled","data-disabled","data-complete","aria-label"],Bf=x({__name:"PinInputInput",props:{index:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"input"}},setup(t){const e=t,n=Of(),a=O(()=>Array.from(n.inputElements.value)),o=O(()=>e.disabled||n.disabled.value),r=O(()=>n.otp.value),s=O(()=>n.type.value==="number"),l=O(()=>n.mask.value),u=T();function d(C){var w;const B=C.target;if((((w=C.data)==null?void 0:w.length)??0)>1){y(B.value);return}if(s.value&&!/^\d*$/.test(B.value)){B.value=B.value.replace(/\D/g,"");return}B.value=B.value.slice(-1),P(e.index,B.value);const M=a.value[e.index+1];M&&M.focus()}function c(C){xd(C,document.activeElement,void 0,{itemsArray:a.value,focus:!0,loop:!1,arrowKeyOptions:"horizontal",dir:n.dir.value})}function f(C){if(C.preventDefault(),C.target.value)P(e.index,"");else{const w=a.value[e.index-1];w&&(w.focus(),P(e.index-1,""))}}function p(C){C.key==="Delete"&&(C.preventDefault(),P(e.index,""))}function v(C){const w=C.target;w.setSelectionRange(1,1),w.value||(w.placeholder="")}function h(C){const w=C.target;me(()=>{w.value||(w.placeholder=n.placeholder.value)})}function m(C){C.preventDefault();const w=C.clipboardData;if(!w)return;const B=w.getData("text");y(B)}function y(C){var w;const B=[...n.modelValue.value],M=C.length>=a.value.length?0:e.index,$=Math.min(M+C.length,a.value.length);for(let U=M;U<$;U++){const F=a.value[U],N=C[U-M];s.value&&!/^\d*$/.test(N)||(B[U]=N,F.focus())}n.modelValue.value=B,(w=a.value[$])==null||w.focus()}function _(C){let w=C.length-1;for(;w>=0&&C[w]==="";)C.pop(),w--;return C}function P(C,w){const B=[...n.modelValue.value];B[C]=w,n.modelValue.value=_(B)}return xe(()=>{n.onInputElementChange(u.value)}),It(()=>{var C;(C=n.inputElements)==null||C.value.delete(u.value)}),(C,w)=>(g(),Q("input",{ref_key:"inputRef",ref:u,autocapitalize:"none",autocomplete:r.value?"one-time-code":"false",type:l.value?"password":"text",inputmode:s.value?"numeric":"text",pattern:s.value?"[0-9]*":void 0,placeholder:i(n).placeholder.value,value:i(n).modelValue.value.at(C.index),disabled:o.value,"data-disabled":o.value?"":void 0,"data-complete":i(n).isCompleted.value?"":void 0,"aria-label":`pin input ${C.index+1} of ${a.value.length}`,onInput:w[0]||(w[0]=B=>d(B)),onKeydown:[dn(c,["left","right","up","down","home","end"]),dn(f,["backspace"]),dn(p,["delete"])],onFocus:v,onBlur:h,onPaste:m},null,40,Af))}}),[Fn,Tf]=_e("PopoverRoot"),Pf=x({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(t,{emit:e}){const n=t,a=e,{modal:o}=je(n),r=Ze(n,"open",a,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=T(),l=T(!1);return Tf({contentId:"",modal:o,open:r,onOpenChange:u=>{r.value=u},onOpenToggle:()=>{r.value=!r.value},triggerElement:s,hasCustomAnchor:l}),(u,d)=>(g(),E(i(so),null,{default:b(()=>[k(u.$slots,"default",{open:i(r)})]),_:3}))}}),$f=x({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t,n=Fn(),{forwardRef:a,currentElement:o}=z();return xe(()=>{n.triggerElement.value=o.value}),(r,s)=>(g(),E(bt(i(n).hasCustomAnchor.value?i(X):i(ur)),{"as-child":""},{default:b(()=>[H(i(X),{ref:i(a),type:r.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":i(n).open.value,"aria-controls":i(n).contentId,"data-state":i(n).open.value?"open":"closed",as:r.as,"as-child":e.asChild,onClick:i(n).onOpenToggle},{default:b(()=>[k(r.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),If=x({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const e=t;return(n,a)=>(g(),E(i(wa),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Ys=x({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Ue(n),{forwardRef:r}=z(),s=Fn();return Ss(),(l,u)=>(g(),E(i(lr),{"as-child":"",loop:"",trapped:l.trapFocus,onMountAutoFocus:u[5]||(u[5]=d=>a("openAutoFocus",d)),onUnmountAutoFocus:u[6]||(u[6]=d=>a("closeAutoFocus",d))},{default:b(()=>[H(i(xa),{"as-child":"","disable-outside-pointer-events":l.disableOutsidePointerEvents,onPointerDownOutside:u[0]||(u[0]=d=>a("pointerDownOutside",d)),onInteractOutside:u[1]||(u[1]=d=>a("interactOutside",d)),onEscapeKeyDown:u[2]||(u[2]=d=>a("escapeKeyDown",d)),onFocusOutside:u[3]||(u[3]=d=>a("focusOutside",d)),onDismiss:u[4]||(u[4]=d=>i(s).onOpenChange(!1))},{default:b(()=>[H(i(ta),R(i(o),{id:i(s).contentId,ref:i(r),"data-state":i(s).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:b(()=>[k(l.$slots,"default")]),_:3},16,["id","data-state","style"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Mf=x({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Fn(),r=T(!1);ao(!0);const s=Re(n,a),{forwardRef:l,currentElement:u}=z();return oo(u),(d,c)=>(g(),E(Ys,R(i(s),{ref:i(l),"trap-focus":i(o).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:c[0]||(c[0]=Je(f=>{var p;a("closeAutoFocus",f),r.value||(p=i(o).triggerElement.value)==null||p.focus()},["prevent"])),onPointerDownOutside:c[1]||(c[1]=f=>{a("pointerDownOutside",f);const p=f.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0,h=p.button===2||v;r.value=h}),onFocusOutside:c[2]||(c[2]=Je(()=>{},["prevent"]))}),{default:b(()=>[k(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),Rf=x({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Fn(),r=T(!1),s=T(!1),l=Re(n,a);return(u,d)=>(g(),E(Ys,R(i(l),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:d[0]||(d[0]=c=>{var f;a("closeAutoFocus",c),c.defaultPrevented||(r.value||(f=i(o).triggerElement.value)==null||f.focus(),c.preventDefault()),r.value=!1,s.value=!1}),onInteractOutside:d[1]||(d[1]=async c=>{var f;a("interactOutside",c),c.defaultPrevented||(r.value=!0,c.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const p=c.target;(f=i(o).triggerElement.value)!=null&&f.contains(p)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.value&&c.preventDefault()})}),{default:b(()=>[k(u.$slots,"default")]),_:3},16))}}),Vf=x({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=Fn(),r=Re(n,a),{forwardRef:s}=z();return o.contentId||(o.contentId=et(void 0,"radix-vue-popover-content")),(l,u)=>(g(),E(i(vt),{present:l.forceMount||i(o).open.value},{default:b(()=>[i(o).modal.value?(g(),E(Mf,R({key:0},i(r),{ref:i(s)}),{default:b(()=>[k(l.$slots,"default")]),_:3},16)):(g(),E(Rf,R({key:1},i(r),{ref:i(s)}),{default:b(()=>[k(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),tg=x({__name:"PopoverArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const e=t;return z(),(n,a)=>(g(),E(i(jc),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),ng=x({__name:"PopoverClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;z();const n=Fn();return(a,o)=>(g(),E(i(X),{type:a.as==="button"?"button":void 0,as:a.as,"as-child":e.asChild,onClick:o[0]||(o[0]=r=>i(n).onOpenChange(!1))},{default:b(()=>[k(a.$slots,"default")]),_:3},8,["type","as","as-child"]))}}),[Df,Nf]=_e("RadioGroupRoot"),jf=x({__name:"RadioGroupRoot",props:{modelValue:{},defaultValue:{},disabled:{type:Boolean,default:!1},name:{},required:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,a=e,{forwardRef:o}=z(),r=Ze(n,"modelValue",a,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),{disabled:s,loop:l,orientation:u,name:d,required:c,dir:f}=je(n),p=gn(f);return Nf({modelValue:r,changeModelValue:v=>{r.value=v},disabled:s,loop:l,orientation:u,name:d==null?void 0:d.value,required:c}),(v,h)=>(g(),E(i(qs),{"as-child":"",orientation:i(u),dir:i(p),loop:i(l)},{default:b(()=>[H(i(X),{ref:i(o),role:"radiogroup","data-disabled":i(s)?"":void 0,"as-child":v.asChild,as:v.as,required:i(c),"aria-orientation":i(u),"aria-required":i(c),dir:i(p),name:i(d)},{default:b(()=>[k(v.$slots,"default",{modelValue:i(r)})]),_:3},8,["data-disabled","as-child","as","required","aria-orientation","aria-required","dir","name"])]),_:3},8,["orientation","dir","loop"]))}}),zf=["value","checked","name","disabled","required"],Ff=x({__name:"Radio",props:{id:{},value:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},checked:{type:Boolean,default:void 0},name:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(t,{emit:e}){const n=t,a=Ze(n,"checked",e,{passive:n.checked===void 0}),{value:o}=je(n),{forwardRef:r,currentElement:s}=z(),l=_a(s),u=O(()=>{var c;return n.id&&s.value?((c=document.querySelector(`[for="${n.id}"]`))==null?void 0:c.innerText)??n.value:void 0});function d(c){a.value=!0,l.value&&c.stopPropagation()}return(c,f)=>(g(),E(i(X),R(c.$attrs,{id:c.id,ref:i(r),role:"radio",type:c.as==="button"?"button":void 0,as:c.as,"aria-checked":i(a),"aria-label":u.value,"as-child":c.asChild,disabled:c.disabled?"":void 0,"data-state":i(a)?"checked":"unchecked","data-disabled":c.disabled?"":void 0,value:i(o),required:c.required,name:c.name,onClick:Je(d,["stop"])}),{default:b(()=>[k(c.$slots,"default",{checked:i(a)}),i(l)?(g(),Q("input",{key:0,type:"radio",tabindex:"-1","aria-hidden":"",value:i(o),checked:!!i(a),name:c.name,disabled:c.disabled,required:c.required,style:nt({transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0})},null,12,zf)):Ae("",!0)]),_:3},16,["id","type","as","aria-checked","aria-label","as-child","disabled","data-state","data-disabled","value","required","name"]))}}),[Lf,Zf]=_e("RadioGroupItem"),Uf=x({inheritAttrs:!1,__name:"RadioGroupItem",props:{id:{},value:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},name:{},asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t,{forwardRef:n,currentElement:a}=z(),o=Df(),r=O(()=>o.disabled.value||e.disabled),s=O(()=>o.required.value||e.required),l=O(()=>{var f;return((f=o.modelValue)==null?void 0:f.value)===e.value});Zf({disabled:r,checked:l});const u=T(!1),d=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];za("keydown",f=>{d.includes(f.key)&&(u.value=!0)}),za("keyup",()=>{u.value=!1});function c(){setTimeout(()=>{var f;u.value&&((f=a.value)==null||f.click())},0)}return(f,p)=>(g(),E(i(Ks),{checked:l.value,disabled:r.value,"as-child":"",focusable:!r.value,active:l.value},{default:b(()=>[H(Ff,R({...f.$attrs,...e},{ref:i(n),checked:l.value,required:s.value,disabled:r.value,"onUpdate:checked":p[0]||(p[0]=v=>i(o).changeModelValue(f.value)),onKeydown:p[1]||(p[1]=dn(Je(()=>{},["prevent"]),["enter"])),onFocus:c}),{default:b(()=>[k(f.$slots,"default")]),_:3},16,["checked","required","disabled"])]),_:3},8,["checked","disabled","focusable","active"]))}}),Wf=x({__name:"RadioGroupIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:e}=z(),n=Lf();return(a,o)=>(g(),E(i(vt),{present:a.forceMount||i(n).checked.value},{default:b(()=>[H(i(X),R({ref:i(e),"data-state":i(n).checked.value?"checked":"unchecked","data-disabled":i(n).disabled.value?"":void 0,"as-child":a.asChild,as:a.as},a.$attrs),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),[ht,Hf]=_e("ScrollAreaRoot"),qf=x({__name:"ScrollAreaRoot",props:{type:{default:"hover"},dir:{},scrollHideDelay:{default:600},asChild:{type:Boolean},as:{}},setup(t){const e=t,{forwardRef:n,currentElement:a}=z(),o=T(0),r=T(0),s=T(),l=T(),u=T(),d=T(),c=T(!1),f=T(!1),{type:p,dir:v,scrollHideDelay:h}=je(e),m=gn(v);return Hf({type:p,dir:m,scrollHideDelay:h,scrollArea:a,viewport:s,onViewportChange:y=>{s.value=y||void 0},content:l,onContentChange:y=>{l.value=y},scrollbarX:u,scrollbarXEnabled:c,scrollbarY:d,scrollbarYEnabled:f,onScrollbarXChange:y=>{u.value=y||void 0},onScrollbarYChange:y=>{d.value=y||void 0},onScrollbarXEnabledChange:y=>{c.value=y},onScrollbarYEnabledChange:y=>{f.value=y},onCornerWidthChange:y=>{o.value=y},onCornerHeightChange:y=>{r.value=y}}),(y,_)=>(g(),E(i(X),{ref:i(n),"as-child":e.asChild,as:y.as,dir:i(m),style:nt({position:"relative","--radix-scroll-area-corner-width":`${o.value}px`,"--radix-scroll-area-corner-height":`${r.value}px`})},{default:b(()=>[k(y.$slots,"default")]),_:3},8,["as-child","as","dir","style"]))}}),Kf=x({inheritAttrs:!1,__name:"ScrollAreaViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(t,{expose:e}){const n=t,a=ht(),o=T();xe(()=>{a.onViewportChange(o.value),a.onContentChange(s.value)}),e({viewportElement:o});const{forwardRef:r,currentElement:s}=z();return(l,u)=>(g(),Q(Le,null,[Ye("div",R({ref_key:"viewportElement",ref:o,"data-radix-scroll-area-viewport":"",style:{overflowX:i(a).scrollbarXEnabled.value?"scroll":"hidden",overflowY:i(a).scrollbarYEnabled.value?"scroll":"hidden"}},l.$attrs,{tabindex:0}),[H(i(X),{ref:i(r),style:{minWidth:"100%",display:"table"},"as-child":n.asChild,as:l.as},{default:b(()=>[k(l.$slots,"default")]),_:3},8,["as-child","as"])],16),H(i(X),{as:"style",nonce:l.nonce},{default:b(()=>[zt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-scroll-area-viewport] { scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; } [data-radix-scroll-area-viewport]::-webkit-scrollbar { display:none; } ")]),_:1},8,["nonce"])],64))}});function Gs(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const a=(e[1]-e[0])/(t[1]-t[0]);return e[0]+a*(n-t[0])}}function lo(t){const e=Xs(t.viewport,t.content),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=(t.scrollbar.size-n)*e;return Math.max(a,18)}function Xs(t,e){const n=t/e;return Number.isNaN(n)?0:n}function Yf(t,e=()=>{}){let n={left:t.scrollLeft,top:t.scrollTop},a=0;return function o(){const r={left:t.scrollLeft,top:t.scrollTop},s=n.left!==r.left,l=n.top!==r.top;(s||l)&&e(),n=r,a=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(a)}function zr(t,e,n="ltr"){const a=lo(e),o=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=e.scrollbar.size-o,s=e.content-e.viewport,l=r-a,u=n==="ltr"?[0,s]:[s*-1,0],d=Mo(t,u[0],u[1]);return Gs([0,s],[0,l])(d)}function $a(t){return t?Number.parseInt(t,10):0}function Gf(t,e,n,a="ltr"){const o=lo(n),r=o/2,s=e||r,l=o-s,u=n.scrollbar.paddingStart+s,d=n.scrollbar.size-n.scrollbar.paddingEnd-l,c=n.content-n.viewport,f=a==="ltr"?[0,c]:[c*-1,0];return Gs([u,d],f)(t)}function Fr(t,e){return t>0&&t{document.addEventListener("wheel",m,{passive:!1})}),It(()=>{document.removeEventListener("wheel",m)});function y(){var _,P,C,w,B;u.value&&(n.isHorizontal?r.handleSizeChange({content:((_=o.viewport.value)==null?void 0:_.scrollWidth)??0,viewport:((P=o.viewport.value)==null?void 0:P.offsetWidth)??0,scrollbar:{size:u.value.clientWidth??0,paddingStart:$a(getComputedStyle(u.value).paddingLeft),paddingEnd:$a(getComputedStyle(u.value).paddingRight)}}):r.handleSizeChange({content:((C=o.viewport.value)==null?void 0:C.scrollHeight)??0,viewport:((w=o.viewport.value)==null?void 0:w.offsetHeight)??0,scrollbar:{size:((B=u.value)==null?void 0:B.clientHeight)??0,paddingStart:$a(getComputedStyle(u.value).paddingLeft),paddingEnd:$a(getComputedStyle(u.value).paddingRight)}}))}return $n(u,y),$n(o.content,y),(_,P)=>(g(),E(i(X),{ref:i(l),style:{position:"absolute"},"data-scrollbarimpl":"",as:i(s).as.value,"as-child":i(s).asChild.value,onPointerdown:p,onPointermove:v,onPointerup:h},{default:b(()=>[k(_.$slots,"default")]),_:3},8,["as","as-child"]))}}),Xf=x({__name:"ScrollAreaScrollbarX",setup(t){const e=ht(),n=io(),{forwardRef:a,currentElement:o}=z();xe(()=>{o.value&&e.onScrollbarXChange(o.value)});const r=O(()=>n.sizes.value);return(s,l)=>(g(),E(Js,{ref:i(a),"is-horizontal":!0,"data-orientation":"horizontal",style:nt({bottom:0,left:i(e).dir.value==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i(e).dir.value==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":r.value?`${i(lo)(r.value)}px`:void 0}),onOnDragScroll:l[0]||(l[0]=u=>i(n).onDragScroll(u.x))},{default:b(()=>[k(s.$slots,"default")]),_:3},8,["style"]))}}),Jf=x({__name:"ScrollAreaScrollbarY",setup(t){const e=ht(),n=io(),{forwardRef:a,currentElement:o}=z();xe(()=>{o.value&&e.onScrollbarYChange(o.value)});const r=O(()=>n.sizes.value);return(s,l)=>(g(),E(Js,{ref:i(a),"is-horizontal":!1,"data-orientation":"vertical",style:nt({top:0,right:i(e).dir.value==="ltr"?0:void 0,left:i(e).dir.value==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":r.value?`${i(lo)(r.value)}px`:void 0}),onOnDragScroll:l[0]||(l[0]=u=>i(n).onDragScroll(u.y))},{default:b(()=>[k(s.$slots,"default")]),_:3},8,["style"]))}}),[io,Qf]=_e("ScrollAreaScrollbarVisible"),fr=x({__name:"ScrollAreaScrollbarVisible",setup(t){const e=ht(),n=uo(),{forwardRef:a}=z(),o=T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),r=O(()=>{const _=Xs(o.value.viewport,o.value.content);return _>0&&_<1}),s=T(),l=T(0);function u(_,P){if(v.value){const C=e.viewport.value.scrollLeft+_.deltaY;e.viewport.value.scrollLeft=C,Fr(C,P)&&_.preventDefault()}else{const C=e.viewport.value.scrollTop+_.deltaY;e.viewport.value.scrollTop=C,Fr(C,P)&&_.preventDefault()}}function d(_,P){v.value?l.value=P.x:l.value=P.y}function c(_){l.value=0}function f(_){o.value=_}function p(_,P){return Gf(_,l.value,o.value,P)}const v=O(()=>n.isHorizontal.value);function h(_){v.value?e.viewport.value.scrollLeft=p(_,e.dir.value):e.viewport.value.scrollTop=p(_)}function m(){if(v.value){if(e.viewport.value&&s.value){const _=e.viewport.value.scrollLeft,P=zr(_,o.value,e.dir.value);s.value.style.transform=`translate3d(${P}px, 0, 0)`}}else if(e.viewport.value&&s.value){const _=e.viewport.value.scrollTop,P=zr(_,o.value);s.value.style.transform=`translate3d(0, ${P}px, 0)`}}function y(_){s.value=_}return Qf({sizes:o,hasThumb:r,handleWheelScroll:u,handleThumbDown:d,handleThumbUp:c,handleSizeChange:f,onThumbPositionChange:m,onThumbChange:y,onDragScroll:h}),(_,P)=>v.value?(g(),E(Xf,R({key:0},_.$attrs,{ref:i(a)}),{default:b(()=>[k(_.$slots,"default")]),_:3},16)):(g(),E(Jf,R({key:1},_.$attrs,{ref:i(a)}),{default:b(()=>[k(_.$slots,"default")]),_:3},16))}}),Qs=x({__name:"ScrollAreaScrollbarAuto",props:{forceMount:{type:Boolean}},setup(t){const e=ht(),n=uo(),{forwardRef:a}=z(),o=T(!1),r=ks(()=>{if(e.viewport.value){const s=e.viewport.value.offsetWidthr()),$n(e.viewport,r),$n(e.content,r),(s,l)=>(g(),E(i(vt),{present:s.forceMount||o.value},{default:b(()=>[H(fr,R(s.$attrs,{ref:i(a),"data-state":o.value?"visible":"hidden"}),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["data-state"])]),_:3},8,["present"]))}}),ep=x({inheritAttrs:!1,__name:"ScrollAreaScrollbarHover",props:{forceMount:{type:Boolean}},setup(t){const e=ht(),{forwardRef:n}=z();let a;const o=T(!1);function r(){window.clearTimeout(a),o.value=!0}function s(){a=window.setTimeout(()=>{o.value=!1},e.scrollHideDelay.value)}return xe(()=>{const l=e.scrollArea.value;l&&(l.addEventListener("pointerenter",r),l.addEventListener("pointerleave",s))}),It(()=>{const l=e.scrollArea.value;l&&(window.clearTimeout(a),l.removeEventListener("pointerenter",r),l.removeEventListener("pointerleave",s))}),(l,u)=>(g(),E(i(vt),{present:l.forceMount||o.value},{default:b(()=>[H(Qs,R(l.$attrs,{ref:i(n),"data-state":o.value?"visible":"hidden"}),{default:b(()=>[k(l.$slots,"default")]),_:3},16,["data-state"])]),_:3},8,["present"]))}}),tp=x({__name:"ScrollAreaScrollbarScroll",props:{forceMount:{type:Boolean}},setup(t){const e=ht(),n=uo(),{forwardRef:a}=z(),{state:o,dispatch:r}=Bs("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});Ce(l=>{if(o.value==="idle"){const u=window.setTimeout(()=>r("HIDE"),e.scrollHideDelay.value);l(()=>{window.clearTimeout(u)})}});const s=ks(()=>r("SCROLL_END"),100);return Ce(l=>{const u=e.viewport.value,d=n.isHorizontal.value?"scrollLeft":"scrollTop";if(u){let c=u[d];const f=()=>{const p=u[d];c!==p&&(r("SCROLL"),s()),c=p};u.addEventListener("scroll",f),l(()=>{u.removeEventListener("scroll",f)})}}),(l,u)=>(g(),E(i(vt),{present:l.forceMount||i(o)!=="hidden"},{default:b(()=>[H(fr,R(l.$attrs,{ref:i(a)}),{default:b(()=>[k(l.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),[uo,np]=_e("ScrollAreaScrollbar"),ap=x({inheritAttrs:!1,__name:"ScrollAreaScrollbar",props:{orientation:{default:"vertical"},forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"div"}},setup(t){const e=t,{forwardRef:n}=z(),a=ht(),o=O(()=>e.orientation==="horizontal");ve(o,()=>{o.value?a.onScrollbarXEnabledChange(!0):a.onScrollbarYEnabledChange(!0)},{immediate:!0}),It(()=>{a.onScrollbarXEnabledChange(!1),a.onScrollbarYEnabledChange(!1)});const{orientation:r,forceMount:s,asChild:l,as:u}=je(e);return np({orientation:r,forceMount:s,isHorizontal:o,as:u,asChild:l}),(d,c)=>i(a).type.value==="hover"?(g(),E(ep,R({key:0},d.$attrs,{ref:i(n),"force-mount":i(s)}),{default:b(()=>[k(d.$slots,"default")]),_:3},16,["force-mount"])):i(a).type.value==="scroll"?(g(),E(tp,R({key:1},d.$attrs,{ref:i(n),"force-mount":i(s)}),{default:b(()=>[k(d.$slots,"default")]),_:3},16,["force-mount"])):i(a).type.value==="auto"?(g(),E(Qs,R({key:2},d.$attrs,{ref:i(n),"force-mount":i(s)}),{default:b(()=>[k(d.$slots,"default")]),_:3},16,["force-mount"])):i(a).type.value==="always"?(g(),E(fr,R({key:3},d.$attrs,{ref:i(n),"data-state":"visible"}),{default:b(()=>[k(d.$slots,"default")]),_:3},16)):Ae("",!0)}}),op=x({__name:"ScrollAreaThumb",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t,n=ht(),a=io();function o(p){const v=p.target.getBoundingClientRect(),h=p.clientX-v.left,m=p.clientY-v.top;a.handleThumbDown(p,{x:h,y:m})}function r(p){a.handleThumbUp(p)}const{forwardRef:s,currentElement:l}=z(),u=T(),d=O(()=>n.viewport.value);function c(){if(!u.value){const p=Yf(d.value,a.onThumbPositionChange);u.value=p,a.onThumbPositionChange()}}const f=O(()=>a.sizes.value);return md(f,()=>{a.onThumbChange(l.value),d.value&&(a.onThumbPositionChange(),d.value.addEventListener("scroll",c))}),It(()=>{var p;d.value.removeEventListener("scroll",c),(p=n.viewport.value)==null||p.removeEventListener("scroll",c)}),(p,v)=>(g(),E(i(X),{ref:i(s),"data-state":i(a).hasThumb?"visible":"hidden",style:nt({width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)"}),"as-child":e.asChild,as:p.as,onPointerdown:o,onPointerup:r},{default:b(()=>[k(p.$slots,"default")]),_:3},8,["data-state","style","as-child","as"]))}}),rp=x({__name:"ScrollAreaCornerImpl",setup(t){const e=ht(),n=T(0),a=T(0),o=O(()=>!!n.value&&!!a.value);function r(){var l;const u=((l=e.scrollbarX.value)==null?void 0:l.offsetHeight)||0;e.onCornerHeightChange(u),a.value=u}function s(){var l;const u=((l=e.scrollbarY.value)==null?void 0:l.offsetWidth)||0;e.onCornerWidthChange(u),n.value=u}return $n(e.scrollbarX.value,r),$n(e.scrollbarY.value,s),ve(()=>e.scrollbarX.value,r),ve(()=>e.scrollbarY.value,s),(l,u)=>{var d;return o.value?(g(),E(i(X),R({key:0,style:{width:`${n.value}px`,height:`${a.value}px`,position:"absolute",right:i(e).dir.value==="ltr"?0:void 0,left:i(e).dir.value==="rtl"?0:void 0,bottom:0}},(d=l.$parent)==null?void 0:d.$props),{default:b(()=>[k(l.$slots,"default")]),_:3},16,["style"])):Ae("",!0)}}}),sp=x({__name:"ScrollAreaCorner",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t,{forwardRef:n}=z(),a=ht(),o=O(()=>!!a.scrollbarX.value&&!!a.scrollbarY.value),r=O(()=>a.type.value!=="scroll"&&o.value);return(s,l)=>r.value?(g(),E(rp,R({key:0},e,{ref:i(n)}),{default:b(()=>[k(s.$slots,"default")]),_:3},16)):Ae("",!0)}}),lp=["default-value"],ip=x({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(t){const e=t,{value:n}=je(e),a=T();return(o,r)=>(g(),E(i(Us),{"as-child":""},{default:b(()=>[Ja(Ye("select",R({ref_key:"selectElement",ref:a},e,{"onUpdate:modelValue":r[0]||(r[0]=s=>Tn(n)?n.value=s:null),"default-value":i(n)}),[k(o.$slots,"default")],16,lp),[[Jl,i(n)]])]),_:3}))}}),up={key:0,value:""},[yn,el]=_e("SelectRoot"),[dp,cp]=_e("SelectRoot"),fp=x({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:e}){const n=t,a=e,o=Ze(n,"modelValue",a,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),r=Ze(n,"open",a,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=T(),l=T(),u=T({x:0,y:0}),d=T(!1),{required:c,disabled:f,dir:p}=je(n),v=gn(p);el({triggerElement:s,onTriggerChange:_=>{s.value=_},valueElement:l,onValueElementChange:_=>{l.value=_},valueElementHasChildren:d,onValueElementHasChildrenChange:_=>{d.value=_},contentId:"",modelValue:o,onValueChange:_=>{o.value=_},open:r,required:c,onOpenChange:_=>{r.value=_},dir:v,triggerPointerDownPosRef:u,disabled:f});const h=_a(s),m=T(new Set),y=O(()=>Array.from(m.value).map(_=>{var P;return(P=_.props)==null?void 0:P.value}).join(";"));return cp({onNativeOptionAdd:_=>{m.value.add(_)},onNativeOptionRemove:_=>{m.value.delete(_)}}),(_,P)=>(g(),E(i(so),null,{default:b(()=>[k(_.$slots,"default",{modelValue:i(o),open:i(r)}),i(h)?(g(),E(ip,R({key:y.value},_.$attrs,{"aria-hidden":"",tabindex:"-1",required:i(c),name:_.name,autocomplete:_.autocomplete,disabled:i(f),value:i(o),onChange:P[0]||(P[0]=C=>o.value=C.target.value)}),{default:b(()=>[i(o)===void 0?(g(),Q("option",up)):Ae("",!0),(g(!0),Q(Le,null,Jn(Array.from(m.value),C=>(g(),E(bt(C),R(C.props,{key:C.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):Ae("",!0)]),_:3}))}}),pp=[" ","Enter","ArrowUp","ArrowDown"],vp=[" ","Enter"],jt=10;function tl(t){return t===""||ed(t)}const hp=x({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t,n=yn(),a=O(()=>{var v;return((v=n.disabled)==null?void 0:v.value)||e.disabled}),{forwardRef:o,currentElement:r}=z();n.contentId||(n.contentId=et(void 0,"radix-vue-select-content")),xe(()=>{n.triggerElement=r});const{injectCollection:s}=zn(),l=s(),{search:u,handleTypeaheadSearch:d,resetTypeahead:c}=Ts(l);function f(){a.value||(n.onOpenChange(!0),c())}function p(v){f(),n.triggerPointerDownPosRef.value={x:Math.round(v.pageX),y:Math.round(v.pageY)}}return(v,h)=>(g(),E(i(ur),{"as-child":""},{default:b(()=>{var m,y,_,P;return[H(i(X),{ref:i(o),role:"combobox",type:v.as==="button"?"button":void 0,"aria-controls":i(n).contentId,"aria-expanded":i(n).open.value||!1,"aria-required":(m=i(n).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:a.value,dir:(y=i(n))==null?void 0:y.dir.value,"data-state":(_=i(n))!=null&&_.open.value?"open":"closed","data-disabled":a.value?"":void 0,"data-placeholder":i(tl)((P=i(n).modelValue)==null?void 0:P.value)?"":void 0,"as-child":v.asChild,as:v.as,onClick:h[0]||(h[0]=C=>{var w;(w=C==null?void 0:C.currentTarget)==null||w.focus()}),onPointerdown:h[1]||(h[1]=C=>{if(C.pointerType==="touch")return C.preventDefault();const w=C.target;w.hasPointerCapture(C.pointerId)&&w.releasePointerCapture(C.pointerId),C.button===0&&C.ctrlKey===!1&&(p(C),C.preventDefault())}),onPointerup:h[2]||(h[2]=Je(C=>{C.pointerType==="touch"&&p(C)},["prevent"])),onKeydown:h[3]||(h[3]=C=>{const w=i(u)!=="";!(C.ctrlKey||C.altKey||C.metaKey)&&C.key.length===1&&w&&C.key===" "||(i(d)(C.key),i(pp).includes(C.key)&&(f(),C.preventDefault()))})},{default:b(()=>[k(v.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),mp=x({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const e=t;return(n,a)=>(g(),E(i(wa),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),[pr,gp]=_e("SelectItemAlignedPosition"),yp=x({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(t,{emit:e}){const n=t,a=e,{injectCollection:o}=zn(),r=yn(),s=bn(),l=o(),u=T(!1),d=T(!0),c=T(),{forwardRef:f,currentElement:p}=z(),{viewport:v,selectedItem:h,selectedItemText:m,focusSelectedItem:y}=s;function _(){if(r.triggerElement.value&&r.valueElement.value&&c.value&&p.value&&v!=null&&v.value&&h!=null&&h.value&&m!=null&&m.value){const w=r.triggerElement.value.getBoundingClientRect(),B=p.value.getBoundingClientRect(),M=r.valueElement.value.getBoundingClientRect(),$=m.value.getBoundingClientRect();if(r.dir.value!=="rtl"){const Y=$.left-B.left,te=M.left-Y,ae=w.left-te,Pe=w.width+ae,De=Math.max(Pe,B.width),He=window.innerWidth-jt,Wt=Mo(te,jt,He-De);c.value.style.minWidth=`${Pe}px`,c.value.style.left=`${Wt}px`}else{const Y=B.right-$.right,te=window.innerWidth-M.right-Y,ae=window.innerWidth-w.right-te,Pe=w.width+ae,De=Math.max(Pe,B.width),He=window.innerWidth-jt,Wt=Mo(te,jt,He-De);c.value.style.minWidth=`${Pe}px`,c.value.style.right=`${Wt}px`}const U=l.value,F=window.innerHeight-jt*2,N=v.value.scrollHeight,de=window.getComputedStyle(p.value),G=Number.parseInt(de.borderTopWidth,10),be=Number.parseInt(de.paddingTop,10),ie=Number.parseInt(de.borderBottomWidth,10),L=Number.parseInt(de.paddingBottom,10),W=G+be+N+L+ie,le=Math.min(h.value.offsetHeight*5,W),Ee=window.getComputedStyle(v.value),we=Number.parseInt(Ee.paddingTop,10),We=Number.parseInt(Ee.paddingBottom,10),ze=w.top+w.height/2-jt,mt=F-ze,gt=h.value.offsetHeight/2,I=h.value.offsetTop+gt,he=G+be+I,j=W-he;if(he<=ze){const Y=h.value===U[U.length-1];c.value.style.bottom="0px";const te=p.value.clientHeight-v.value.offsetTop-v.value.offsetHeight,ae=Math.max(mt,gt+(Y?We:0)+te+ie),Pe=he+ae;c.value.style.height=`${Pe}px`}else{const Y=h.value===U[0];c.value.style.top="0px";const te=Math.max(ze,G+v.value.offsetTop+(Y?we:0)+gt)+j;c.value.style.height=`${te}px`,v.value.scrollTop=he-ze+v.value.offsetTop}c.value.style.margin=`${jt}px 0`,c.value.style.minHeight=`${le}px`,c.value.style.maxHeight=`${F}px`,a("placed"),requestAnimationFrame(()=>u.value=!0)}}const P=T("");xe(async()=>{await me(),_(),p.value&&(P.value=window.getComputedStyle(p.value).zIndex)});function C(w){w&&d.value===!0&&(_(),y==null||y(),d.value=!1)}return gp({contentWrapper:c,shouldExpandOnScrollRef:u,onScrollButtonChange:C}),(w,B)=>(g(),Q("div",{ref_key:"contentWrapperElement",ref:c,style:nt({display:"flex",flexDirection:"column",position:"fixed",zIndex:P.value})},[H(i(X),R({ref:i(f),style:{boxSizing:"border-box",maxHeight:"100%"}},{...w.$attrs,...n}),{default:b(()=>[k(w.$slots,"default")]),_:3},16,["style"])],4))}}),bp=x({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:jt},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=Ue(t);return(n,a)=>(g(),E(i(ta),R(i(e),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:b(()=>[k(n.$slots,"default")]),_:3},16,["style"]))}}),Ln={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[bn,_p]=_e("SelectContent"),wp=x({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,a=e,o=yn();Ss(),ao(n.bodyLock);const{createCollection:r}=zn(),s=T();oo(s);const l=r(s),{search:u,handleTypeaheadSearch:d}=Ts(l),c=T(),f=T(),p=T(),v=T(!1),h=T(!1);function m(){f.value&&s.value&&jr([f.value,s.value])}ve(v,()=>{m()});const{onOpenChange:y,triggerPointerDownPosRef:_}=o;Ce(B=>{if(!s.value)return;let M={x:0,y:0};const $=F=>{var N,de;M={x:Math.abs(Math.round(F.pageX)-(((N=_.value)==null?void 0:N.x)??0)),y:Math.abs(Math.round(F.pageY)-(((de=_.value)==null?void 0:de.y)??0))}},U=F=>{var N;F.pointerType!=="touch"&&(M.x<=10&&M.y<=10?F.preventDefault():(N=s.value)!=null&&N.contains(F.target)||y(!1),document.removeEventListener("pointermove",$),_.value=null)};_.value!==null&&(document.addEventListener("pointermove",$),document.addEventListener("pointerup",U,{capture:!0,once:!0})),B(()=>{document.removeEventListener("pointermove",$),document.removeEventListener("pointerup",U,{capture:!0})})});function P(B){const M=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!M&&B.key.length===1&&d(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let $=l.value;if(["ArrowUp","End"].includes(B.key)&&($=$.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const U=B.target,F=$.indexOf(U);$=$.slice(F+1)}setTimeout(()=>jr($)),B.preventDefault()}}const C=O(()=>n.position==="popper"?n:{}),w=Ue(C.value);return _p({content:s,viewport:c,onViewportChange:B=>{c.value=B},itemRefCallback:(B,M,$)=>{var U,F;const N=!h.value&&!$;(((U=o.modelValue)==null?void 0:U.value)!==void 0&&((F=o.modelValue)==null?void 0:F.value)===M||N)&&(f.value=B,N&&(h.value=!0))},selectedItem:f,selectedItemText:p,onItemLeave:()=>{var B;(B=s.value)==null||B.focus()},itemTextRefCallback:(B,M,$)=>{var U,F;const N=!h.value&&!$;(((U=o.modelValue)==null?void 0:U.value)!==void 0&&((F=o.modelValue)==null?void 0:F.value)===M||N)&&(p.value=B)},focusSelectedItem:m,position:n.position,isPositioned:v,searchRef:u}),(B,M)=>(g(),E(i(lr),{"as-child":"",onMountAutoFocus:M[6]||(M[6]=Je(()=>{},["prevent"])),onUnmountAutoFocus:M[7]||(M[7]=$=>{var U;a("closeAutoFocus",$),!$.defaultPrevented&&((U=i(o).triggerElement.value)==null||U.focus({preventScroll:!0}),$.preventDefault())})},{default:b(()=>[H(i(xa),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:M[2]||(M[2]=Je(()=>{},["prevent"])),onDismiss:M[3]||(M[3]=$=>i(o).onOpenChange(!1)),onEscapeKeyDown:M[4]||(M[4]=$=>a("escapeKeyDown",$)),onPointerDownOutside:M[5]||(M[5]=$=>a("pointerDownOutside",$))},{default:b(()=>[(g(),E(bt(B.position==="popper"?bp:yp),R({...B.$attrs,...i(w)},{id:i(o).contentId,ref:$=>{s.value=i(ft)($)},role:"listbox","data-state":i(o).open.value?"open":"closed",dir:i(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:M[0]||(M[0]=Je(()=>{},["prevent"])),onPlaced:M[1]||(M[1]=$=>v.value=!0),onKeydown:P}),{default:b(()=>[k(B.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),xp=x({__name:"SelectProvider",props:{context:{}},setup(t){return el(t.context),(e,n)=>k(e.$slots,"default")}}),kp={key:1},Cp=x({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,a=Re(n,e),o=yn(),r=T();xe(()=>{r.value=new DocumentFragment});const s=T(),l=O(()=>n.forceMount||o.open.value);return(u,d)=>{var c;return l.value?(g(),E(i(vt),{key:0,ref_key:"presenceRef",ref:s,present:!0},{default:b(()=>[H(wp,ke(Te({...i(a),...u.$attrs})),{default:b(()=>[k(u.$slots,"default")]),_:3},16)]),_:3},512)):!((c=s.value)!=null&&c.present)&&r.value?(g(),Q("div",kp,[(g(),E(Yo,{to:r.value},[H(xp,{context:i(o)},{default:b(()=>[k(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):Ae("",!0)}}}),[nl,Op]=_e("SelectItem"),Ep=x({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const e=t,{disabled:n}=je(e),a=yn(),o=bn(Ln),{forwardRef:r,currentElement:s}=z(),l=O(()=>{var m;return((m=a.modelValue)==null?void 0:m.value)===e.value}),u=T(!1),d=T(e.textValue??""),c=et(void 0,"radix-vue-select-item-text");async function f(m){await me(),!(m!=null&&m.defaultPrevented)&&(n.value||(a.onValueChange(e.value),a.onOpenChange(!1)))}async function p(m){var y;await me(),!m.defaultPrevented&&(n.value?(y=o.onItemLeave)==null||y.call(o):m.currentTarget.focus({preventScroll:!0}))}async function v(m){var y;await me(),!m.defaultPrevented&&m.currentTarget===document.activeElement&&((y=o.onItemLeave)==null||y.call(o))}async function h(m){var y;await me(),!(m.defaultPrevented||((y=o.searchRef)==null?void 0:y.value)!==""&&m.key===" ")&&(vp.includes(m.key)&&f(),m.key===" "&&m.preventDefault())}if(e.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return xe(()=>{s.value&&o.itemRefCallback(s.value,e.value,e.disabled)}),Op({value:e.value,disabled:n,textId:c,isSelected:l,onItemTextChange:m=>{d.value=((d.value||(m==null?void 0:m.textContent))??"").trim()}}),(m,y)=>(g(),E(i(X),{ref:i(r),role:"option","data-radix-vue-collection-item":"","aria-labelledby":i(c),"data-highlighted":u.value?"":void 0,"aria-selected":l.value&&u.value,"data-state":l.value?"checked":"unchecked","aria-disabled":i(n)||void 0,"data-disabled":i(n)?"":void 0,tabindex:i(n)?void 0:-1,as:m.as,"as-child":m.asChild,onFocus:y[0]||(y[0]=_=>u.value=!0),onBlur:y[1]||(y[1]=_=>u.value=!1),onPointerup:f,onPointerdown:y[2]||(y[2]=_=>{_.currentTarget.focus({preventScroll:!0})}),onTouchend:y[3]||(y[3]=Je(()=>{},["prevent","stop"])),onPointermove:p,onPointerleave:v,onKeydown:h},{default:b(()=>[k(m.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),Sp=x({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const e=t,n=nl();return(a,o)=>i(n).isSelected.value?(g(),E(i(X),R({key:0,"aria-hidden":""},e),{default:b(()=>[k(a.$slots,"default")]),_:3},16)):Ae("",!0)}}),[ag,Ap]=_e("SelectGroup"),Bp=x({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t,n=et(void 0,"radix-vue-select-group");return Ap({id:n}),(a,o)=>(g(),E(i(X),R({role:"group"},e,{"aria-labelledby":i(n)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Tp=x({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const e=t,n=yn(),a=bn(Ln),o=dp(),r=nl(),{forwardRef:s,currentElement:l}=z(),u=O(()=>{var d;return lt("option",{key:r.value,value:r.value,disabled:r.disabled.value,innerHTML:(d=l.value)==null?void 0:d.textContent})});return xe(()=>{l.value&&(r.onItemTextChange(l.value),a.itemTextRefCallback(l.value,r.value,r.disabled.value),o.onNativeOptionAdd(u.value))}),Qa(()=>{o.onNativeOptionRemove(u.value)}),(d,c)=>(g(),Q(Le,null,[H(i(X),R({id:i(r).textId,ref:i(s)},{...e,...d.$attrs}),{default:b(()=>[k(d.$slots,"default")]),_:3},16,["id"]),i(r).isSelected.value&&i(n).valueElement.value&&!i(n).valueElementHasChildren.value?(g(),E(Yo,{key:0,to:i(n).valueElement.value},[k(d.$slots,"default")],8,["to"])):Ae("",!0)],64))}}),Pp=x({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(t){const e=t,n=bn(Ln),a=n.position==="item-aligned"?pr():void 0,{forwardRef:o,currentElement:r}=z();xe(()=>{n==null||n.onViewportChange(r.value)});const s=T(0);function l(u){const d=u.currentTarget,{shouldExpandOnScrollRef:c,contentWrapper:f}=a??{};if(c!=null&&c.value&&f!=null&&f.value){const p=Math.abs(s.value-d.scrollTop);if(p>0){const v=window.innerHeight-jt*2,h=Number.parseFloat(f.value.style.minHeight),m=Number.parseFloat(f.value.style.height),y=Math.max(h,m);if(y0?C:0,f.value.style.justifyContent="flex-end")}}}s.value=d.scrollTop}return(u,d)=>(g(),Q(Le,null,[H(i(X),R({ref:i(o),"data-radix-select-viewport":"",role:"presentation"},{...u.$attrs,...e},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:l}),{default:b(()=>[k(u.$slots,"default")]),_:3},16,["style"]),H(i(X),{as:"style",nonce:u.nonce},{default:b(()=>[zt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),al=x({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(t,{emit:e}){const n=e,{injectCollection:a}=zn(),o=a(),r=bn(Ln),s=T(null);function l(){s.value!==null&&(window.clearInterval(s.value),s.value=null)}Ce(()=>{const c=o.value.find(f=>f===document.activeElement);c==null||c.scrollIntoView({block:"nearest"})});function u(){s.value===null&&(s.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var c;(c=r.onItemLeave)==null||c.call(r),s.value===null&&(s.value=window.setInterval(()=>{n("autoScroll")},50))}return Qa(()=>l()),(c,f)=>{var p;return g(),E(i(X),R({"aria-hidden":"",style:{flexShrink:0}},(p=c.$parent)==null?void 0:p.$props,{onPointerdown:u,onPointermove:d,onPointerleave:f[0]||(f[0]=()=>{l()})}),{default:b(()=>[k(c.$slots,"default")]),_:3},16)}}}),$p=x({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(t){const e=bn(Ln),n=e.position==="item-aligned"?pr():void 0,{forwardRef:a,currentElement:o}=z(),r=T(!1);return Ce(s=>{var l,u;if((l=e.viewport)!=null&&l.value&&(u=e.isPositioned)!=null&&u.value){let d=function(){r.value=c.scrollTop>0};const c=e.viewport.value;d(),c.addEventListener("scroll",d),s(()=>c.removeEventListener("scroll",d))}}),ve(o,()=>{o.value&&(n==null||n.onScrollButtonChange(o.value))}),(s,l)=>r.value?(g(),E(al,{key:0,ref:i(a),onAutoScroll:l[0]||(l[0]=()=>{const{viewport:u,selectedItem:d}=i(e);u!=null&&u.value&&d!=null&&d.value&&(u.value.scrollTop=u.value.scrollTop-d.value.offsetHeight)})},{default:b(()=>[k(s.$slots,"default")]),_:3},512)):Ae("",!0)}}),Ip=x({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(t){const e=bn(Ln),n=e.position==="item-aligned"?pr():void 0,{forwardRef:a,currentElement:o}=z(),r=T(!1);return Ce(s=>{var l,u;if((l=e.viewport)!=null&&l.value&&(u=e.isPositioned)!=null&&u.value){let d=function(){const f=c.scrollHeight-c.clientHeight;r.value=Math.ceil(c.scrollTop)c.removeEventListener("scroll",d))}}),ve(o,()=>{o.value&&(n==null||n.onScrollButtonChange(o.value))}),(s,l)=>r.value?(g(),E(al,{key:0,ref:i(a),onAutoScroll:l[0]||(l[0]=()=>{const{viewport:u,selectedItem:d}=i(e);u!=null&&u.value&&d!=null&&d.value&&(u.value.scrollTop=u.value.scrollTop+d.value.offsetHeight)})},{default:b(()=>[k(s.$slots,"default")]),_:3},512)):Ae("",!0)}}),Mp=x({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:e,currentElement:n}=z(),a=yn(),o=Yl();return Gl(()=>{var r;const s=!!no((r=o==null?void 0:o.default)==null?void 0:r.call(o)).length;a.onValueElementHasChildrenChange(s)}),xe(()=>{a.valueElement=n}),(r,s)=>(g(),E(i(X),{ref:i(e),as:r.as,"as-child":r.asChild,style:{pointerEvents:"none"}},{default:b(()=>{var l;return[i(tl)((l=i(a).modelValue)==null?void 0:l.value)?(g(),Q(Le,{key:0},[zt(rn(r.placeholder),1)],64)):k(r.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Rp=x({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return(e,n)=>(g(),E(i(X),{"aria-hidden":"",as:e.as,"as-child":e.asChild},{default:b(()=>[k(e.$slots,"default",{},()=>[zt("▼")])]),_:3},8,["as","as-child"]))}}),Vp=x({__name:"BaseSeparator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=t,n=["horizontal","vertical"];function a(l){return n.includes(l)}const o=O(()=>a(e.orientation)?e.orientation:"horizontal"),r=O(()=>o.value==="vertical"?e.orientation:void 0),s=O(()=>e.decorative?{role:"none"}:{"aria-orientation":r.value,role:"separator"});return(l,u)=>(g(),E(i(X),R({as:l.as,"as-child":l.asChild,"data-orientation":o.value},s.value),{default:b(()=>[k(l.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),Dp=x({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(Vp,ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}});function Np(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Np();const jp=["name","disabled","required","value","checked","data-state","data-disabled"],[zp,Fp]=_e("SwitchRoot"),Lp=x({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(t,{emit:e}){const n=t,a=e,{disabled:o}=je(n),r=Ze(n,"checked",a,{defaultValue:n.defaultChecked,passive:n.checked===void 0});function s(){o.value||(r.value=!r.value)}const{forwardRef:l,currentElement:u}=z(),d=_a(u),c=O(()=>{var f;return n.id&&u.value?(f=document.querySelector(`[for="${n.id}"]`))==null?void 0:f.innerText:void 0});return Fp({checked:r,toggleCheck:s,disabled:o}),(f,p)=>(g(),Q(Le,null,[H(i(X),R(f.$attrs,{id:f.id,ref:i(l),role:"switch",type:f.as==="button"?"button":void 0,value:f.value,"aria-label":f.$attrs["aria-label"]||c.value,"aria-checked":i(r),"aria-required":f.required,"data-state":i(r)?"checked":"unchecked","data-disabled":i(o)?"":void 0,"as-child":f.asChild,as:f.as,disabled:i(o),onClick:s,onKeydown:dn(Je(s,["prevent"]),["enter"])}),{default:b(()=>[k(f.$slots,"default",{checked:i(r)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),i(d)?(g(),Q("input",{key:0,type:"checkbox",name:f.name,tabindex:"-1","aria-hidden":"",disabled:i(o),required:f.required,value:f.value,checked:!!i(r),"data-state":i(r)?"checked":"unchecked","data-disabled":i(o)?"":void 0,style:nt({transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0})},null,12,jp)):Ae("",!0)],64))}}),Zp=x({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const e=zp();return z(),(n,a)=>{var o;return g(),E(i(X),{"data-state":(o=i(e).checked)!=null&&o.value?"checked":"unchecked","data-disabled":i(e).disabled.value?"":void 0,"as-child":n.asChild,as:n.as},{default:b(()=>[k(n.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[ol,Up]=_e("TabsRoot"),Wp=x({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,a=e,{orientation:o,dir:r}=je(n),s=gn(r);z();const l=Ze(n,"modelValue",a,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),u=T();return Up({modelValue:l,changeModelValue:d=>{l.value=d},orientation:o,dir:s,activationMode:n.activationMode,baseId:et(void 0,"radix-vue-tabs"),tabsList:u}),(d,c)=>(g(),E(i(X),{dir:i(s),"data-orientation":i(o),"as-child":d.asChild,as:d.as},{default:b(()=>[k(d.$slots,"default",{modelValue:i(l)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),Hp=x({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(t){const e=t,{loop:n}=je(e),{forwardRef:a,currentElement:o}=z(),r=ol();return r.tabsList=o,(s,l)=>(g(),E(i(qs),{"as-child":"",orientation:i(r).orientation.value,dir:i(r).dir.value,loop:i(n)},{default:b(()=>[H(i(X),{ref:i(a),role:"tablist","as-child":s.asChild,as:s.as,"aria-orientation":i(r).orientation.value},{default:b(()=>[k(s.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function qp(t,e){return`${t}-trigger-${e}`}function Kp(t,e){return`${t}-content-${e}`}const Yp=x({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t,{forwardRef:n}=z(),a=ol(),o=O(()=>qp(a.baseId,e.value)),r=O(()=>Kp(a.baseId,e.value)),s=O(()=>e.value===a.modelValue.value);return(l,u)=>(g(),E(i(Ks),{"as-child":"",focusable:!l.disabled,active:s.value},{default:b(()=>[H(i(X),{id:o.value,ref:i(n),role:"tab",type:l.as==="button"?"button":void 0,as:l.as,"as-child":l.asChild,"aria-selected":s.value?"true":"false","aria-controls":r.value,"data-state":s.value?"active":"inactive",disabled:l.disabled,"data-disabled":l.disabled?"":void 0,"data-orientation":i(a).orientation.value,onMousedown:u[0]||(u[0]=Je(d=>{!l.disabled&&d.ctrlKey===!1?i(a).changeModelValue(l.value):d.preventDefault()},["left"])),onKeydown:u[1]||(u[1]=dn(d=>i(a).changeModelValue(l.value),["enter","space"])),onFocus:u[2]||(u[2]=()=>{const d=i(a).activationMode!=="manual";!s.value&&!l.disabled&&d&&i(a).changeModelValue(l.value)})},{default:b(()=>[k(l.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}});function rl(t){var e,n,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;el(r)))==null?void 0:s.classGroupId}const Lr=/^\[(.+)\]$/;function Jp(t){if(Lr.test(t)){const e=Lr.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}}function Qp(t){const{theme:e,prefix:n}=t,a={nextPart:new Map,validators:[]};return tv(Object.entries(t.classGroups),n).forEach(([r,s])=>{jo(s,a,r,e)}),a}function jo(t,e,n,a){t.forEach(o=>{if(typeof o=="string"){const r=o===""?e:Zr(e,o);r.classGroupId=n;return}if(typeof o=="function"){if(ev(o)){jo(o(a),e,n,a);return}e.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([r,s])=>{jo(s,Zr(e,r),n,a)})})}function Zr(t,e){let n=t;return e.split(vr).forEach(a=>{n.nextPart.has(a)||n.nextPart.set(a,{nextPart:new Map,validators:[]}),n=n.nextPart.get(a)}),n}function ev(t){return t.isThemeGetter}function tv(t,e){return e?t.map(([n,a])=>{const o=a.map(r=>typeof r=="string"?e+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,l])=>[e+s,l])):r);return[n,o]}):t}function nv(t){if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,a=new Map;function o(r,s){n.set(r,s),e++,e>t&&(e=0,a=n,n=new Map)}return{get(r){let s=n.get(r);if(s!==void 0)return s;if((s=a.get(r))!==void 0)return o(r,s),s},set(r,s){n.has(r)?n.set(r,s):o(r,s)}}}const ll="!";function av(t){const e=t.separator,n=e.length===1,a=e[0],o=e.length;return function(s){const l=[];let u=0,d=0,c;for(let m=0;md?c-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:h}}}function ov(t){if(t.length<=1)return t;const e=[];let n=[];return t.forEach(a=>{a[0]==="["?(e.push(...n.sort(),a),n=[]):n.push(a)}),e.push(...n.sort()),e}function rv(t){return{cache:nv(t.cacheSize),splitModifiers:av(t),...Xp(t)}}const sv=/\s+/;function lv(t,e){const{splitModifiers:n,getClassGroupId:a,getConflictingClassGroupIds:o}=e,r=new Set;return t.trim().split(sv).map(s=>{const{modifiers:l,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:c}=n(s);let f=a(c?d.substring(0,c):d),p=!!c;if(!f){if(!c)return{isTailwindClass:!1,originalClassName:s};if(f=a(d),!f)return{isTailwindClass:!1,originalClassName:s};p=!1}const v=ov(l).join(":");return{isTailwindClass:!0,modifierId:u?v+ll:v,classGroupId:f,originalClassName:s,hasPostfixModifier:p}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:l,classGroupId:u,hasPostfixModifier:d}=s,c=l+u;return r.has(c)?!1:(r.add(c),o(u,d).forEach(f=>r.add(l+f)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function iv(){let t=0,e,n,a="";for(;tf(c),t());return n=rv(d),a=n.cache.get,o=n.cache.set,r=l,l(u)}function l(u){const d=a(u);if(d)return d;const c=lv(u,n);return o(u,c),c}return function(){return r(iv.apply(null,arguments))}}function Ie(t){const e=n=>n[t]||[];return e.isThemeGetter=!0,e}const ul=/^\[(?:([a-z-]+):)?(.+)\]$/i,dv=/^\d+\/\d+$/,cv=new Set(["px","full","screen"]),fv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Vt(t){return ln(t)||cv.has(t)||dv.test(t)}function Ht(t){return Zn(t,"length",Cv)}function ln(t){return!!t&&!Number.isNaN(Number(t))}function Ia(t){return Zn(t,"number",ln)}function qn(t){return!!t&&Number.isInteger(Number(t))}function gv(t){return t.endsWith("%")&&ln(t.slice(0,-1))}function ce(t){return ul.test(t)}function qt(t){return fv.test(t)}const yv=new Set(["length","size","percentage"]);function bv(t){return Zn(t,yv,dl)}function _v(t){return Zn(t,"position",dl)}const wv=new Set(["image","url"]);function xv(t){return Zn(t,wv,Ev)}function kv(t){return Zn(t,"",Ov)}function Kn(){return!0}function Zn(t,e,n){const a=ul.exec(t);return a?a[1]?typeof e=="string"?a[1]===e:e.has(a[1]):n(a[2]):!1}function Cv(t){return pv.test(t)&&!vv.test(t)}function dl(){return!1}function Ov(t){return hv.test(t)}function Ev(t){return mv.test(t)}function Sv(){const t=Ie("colors"),e=Ie("spacing"),n=Ie("blur"),a=Ie("brightness"),o=Ie("borderColor"),r=Ie("borderRadius"),s=Ie("borderSpacing"),l=Ie("borderWidth"),u=Ie("contrast"),d=Ie("grayscale"),c=Ie("hueRotate"),f=Ie("invert"),p=Ie("gap"),v=Ie("gradientColorStops"),h=Ie("gradientColorStopPositions"),m=Ie("inset"),y=Ie("margin"),_=Ie("opacity"),P=Ie("padding"),C=Ie("saturate"),w=Ie("scale"),B=Ie("sepia"),M=Ie("skew"),$=Ie("space"),U=Ie("translate"),F=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",ce,e],G=()=>[ce,e],be=()=>["",Vt,Ht],ie=()=>["auto",ln,ce],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ee=()=>["start","end","center","between","around","evenly","stretch"],we=()=>["","0",ce],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ze=()=>[ln,Ia],mt=()=>[ln,ce];return{cacheSize:500,separator:":",theme:{colors:[Kn],spacing:[Vt,Ht],blur:["none","",qt,ce],brightness:ze(),borderColor:[t],borderRadius:["none","","full",qt,ce],borderSpacing:G(),borderWidth:be(),contrast:ze(),grayscale:we(),hueRotate:mt(),invert:we(),gap:G(),gradientColorStops:[t],gradientColorStopPositions:[gv,Ht],inset:de(),margin:de(),opacity:ze(),padding:G(),saturate:ze(),scale:ze(),sepia:we(),skew:mt(),space:G(),translate:G()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[qt]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...L(),ce]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",qn,ce]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ce]}],grow:[{grow:we()}],shrink:[{shrink:we()}],order:[{order:["first","last","none",qn,ce]}],"grid-cols":[{"grid-cols":[Kn]}],"col-start-end":[{col:["auto",{span:["full",qn,ce]},ce]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[Kn]}],"row-start-end":[{row:["auto",{span:[qn,ce]},ce]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...Ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,e]}],"min-w":[{"min-w":[ce,e,"min","max","fit"]}],"max-w":[{"max-w":[ce,e,"none","full","min","max","fit","prose",{screen:[qt]},qt]}],h:[{h:[ce,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,e,"auto","min","max","fit"]}],"font-size":[{text:["base",qt,Ht]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ia]}],"font-family":[{font:[Kn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ce]}],"line-clamp":[{"line-clamp":["none",ln,Ia]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Vt,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Vt,Ht]}],"underline-offset":[{"underline-offset":["auto",Vt,ce]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:G()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),_v]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xv]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Vt,ce]}],"outline-w":[{outline:[Vt,Ht]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[Vt,Ht]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",qt,kv]}],"shadow-color":[{shadow:[Kn]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[a]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",qt,ce]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[C]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ce]}],duration:[{duration:mt()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:mt()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[qn,ce]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ce]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ce]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Vt,Ht,Ia]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Av=uv(Sv);function ee(...t){return Av(Gp(t))}const og=x({__name:"Separator",props:{orientation:{},decorative:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(Dp),R(n.value,{class:i(ee)("shrink-0 bg-border",e.orientation==="vertical"?"w-px h-full":"h-px w-full",e.class)}),null,16,["class"]))}});/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bv=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Ma={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Tv=({size:t,strokeWidth:e=2,absoluteStrokeWidth:n,color:a,iconNode:o,name:r,class:s,...l},{slots:u})=>lt("svg",{...Ma,width:t||Ma.width,height:t||Ma.height,stroke:a||Ma.stroke,"stroke-width":n?Number(e)*24/Number(t):e,class:["lucide",`lucide-${Bv(r??"icon")}`],...l},[...o.map(d=>lt(...d)),...u.default?[u.default()]:[]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Oe=(t,e)=>(n,{slots:a})=>lt(Tv,{...n,iconNode:e,name:t},a);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const rg=Oe("ArrowRightIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sg=Oe("BugIcon",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cl=Oe("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fl=Oe("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Pv=Oe("ChevronUpIcon",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const lg=Oe("ChevronsUpDownIcon",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ig=Oe("ChromeIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ug=Oe("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const dg=Oe("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cg=Oe("CirclePauseIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fg=Oe("CircleSlashIcon",[["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const pg=Oe("CircleXIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $v=Oe("CircleIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const vg=Oe("CopyIcon",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hg=Oe("FileDownIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mg=Oe("FilePlus2Icon",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}],["path",{d:"M6 12v6",key:"1u72j0"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const gg=Oe("FileUpIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yg=Oe("InfoIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bg=Oe("LoaderCircleIcon",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const _g=Oe("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const wg=Oe("RecycleIcon",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xg=Oe("SaveIcon",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const kg=Oe("SunMoonIcon",[["path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4",key:"1fu5g2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.9 4.9 1.4 1.4",key:"b9915j"}],["path",{d:"m17.7 17.7 1.4 1.4",key:"qc3ed3"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.3 17.7-1.4 1.4",key:"5gca6"}],["path",{d:"m19.1 4.9-1.4 1.4",key:"wpu9u6"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Cg=Oe("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Og=Oe("TagIcon",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Eg=Oe("TextCursorInputIcon",[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Sg=Oe("Undo2Icon",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11",key:"llx8ln"}]]);/** + * @license lucide-vue-next v0.379.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Iv=Oe("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Ag=x({__name:"Card",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("rounded-lg border bg-card text-card-foreground shadow-sm",e.class))},[k(n.$slots,"default")],2))}}),Bg=x({__name:"CardHeader",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("flex flex-col gap-y-1.5 p-6",e.class))},[k(n.$slots,"default")],2))}}),Tg=x({__name:"CardTitle",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("h3",{class:Be(i(ee)("text-2xl font-semibold leading-none tracking-tight",e.class))},[k(n.$slots,"default")],2))}}),Pg=x({__name:"CardDescription",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("p",{class:Be(i(ee)("text-sm text-muted-foreground",e.class))},[k(n.$slots,"default")],2))}}),$g=x({__name:"CardContent",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("p-6 pt-0",e.class))},[k(n.$slots,"default")],2))}}),Ig=x({__name:"CardFooter",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("flex items-center p-6 pt-0",e.class))},[k(n.$slots,"default")],2))}});function pl(t){var e,n,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;etypeof t=="boolean"?"".concat(t):t===0?"0":t,Wr=Mv,hr=(t,e)=>n=>{var a;if((e==null?void 0:e.variants)==null)return Wr(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:r}=e,s=Object.keys(o).map(d=>{const c=n==null?void 0:n[d],f=r==null?void 0:r[d];if(c===null)return null;const p=Ur(c)||Ur(f);return o[d][p]}),l=n&&Object.entries(n).reduce((d,c)=>{let[f,p]=c;return p===void 0||(d[f]=p),d},{}),u=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((d,c)=>{let{class:f,className:p,...v}=c;return Object.entries(v).every(h=>{let[m,y]=h;return Array.isArray(y)?y.includes({...r,...l}[m]):{...r,...l}[m]===y})?[...d,f,p]:d},[]);return Wr(t,s,u,n==null?void 0:n.class,n==null?void 0:n.className)},Mg=x({__name:"Avatar",props:{class:{},size:{default:"sm"},shape:{default:"circle"}},setup(t){const e=t;return(n,a)=>(g(),E(i(Cc),{class:Be(i(ee)(i(Rv)({size:n.size,shape:n.shape}),e.class))},{default:b(()=>[k(n.$slots,"default")]),_:3},8,["class"]))}}),Rv=hr("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),Vv=x({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(kf),R(n.value,{class:i(ee)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Rg=x({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(Lp),R(i(r),{class:i(ee)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n.class)}),{default:b(()=>[H(i(Zp),{class:Be(i(ee)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["class"]))}}),Vg=x({__name:"Collapsible",props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(Wd),ke(Te(i(o))),{default:b(({open:l})=>[k(r.$slots,"default",{open:l})]),_:3},16))}}),Dg=x({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i(Hd),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Ng=x({__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i(Kd),R(e,{class:"overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"}),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),jg=x({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(fc),ke(Te(i(o))),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),zg=x({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i(pc),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Fg=x({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(vc),null,{default:b(()=>[H(i(yc),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),H(i(gc),R(i(r),{class:i(ee)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Lg=x({__name:"AlertDialogHeader",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("flex flex-col gap-y-2 text-center sm:text-left",e.class))},[k(n.$slots,"default")],2))}}),Zg=x({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(_c),R(n.value,{class:i(ee)("text-lg font-semibold",e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Ug=x({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(wc),R(n.value,{class:i(ee)("text-sm text-muted-foreground",e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Wg=x({__name:"AlertDialogFooter",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",e.class))},[k(n.$slots,"default")],2))}}),Hg=x({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;return(n,a)=>(g(),E(i(X),{as:n.as,"as-child":n.asChild,class:Be(i(ee)(i(mr)({variant:n.variant,size:n.size}),e.class))},{default:b(()=>[k(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),mr=hr("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),qg=x({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(xc),R(n.value,{class:i(ee)(i(mr)(),e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Kg=x({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(bc),R(n.value,{class:i(ee)(i(mr)({variant:"outline"}),"mt-2 sm:mt-0",e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Yg=x({__name:"Checkbox",props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String]},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{},id:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(Ac),R(i(r),{class:i(ee)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",n.class)}),{default:b(()=>[H(i(Bc),{class:"flex h-full w-full items-center justify-center text-current"},{default:b(()=>[k(s.$slots,"default",{},()=>[H(i(cl),{class:"h-4 w-4"})])]),_:3})]),_:3},16,["class"]))}}),Gg=x({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(gf),ke(Te(i(o))),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),Xg=x({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i(bf),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Jg=x({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(_f),null,{default:b(()=>[H(i(xf),R(i(a),{class:i(ee)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e.class)}),{default:b(()=>[k(o.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Qg=x({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(Pf),ke(Te(i(o))),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),ey=x({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i($f),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),ty=x({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(If),null,{default:b(()=>[H(i(Vf),R({...i(r),...s.$attrs},{class:i(ee)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),ny=x({__name:"RadioGroup",props:{modelValue:{},defaultValue:{},disabled:{type:Boolean},name:{},required:{type:Boolean},orientation:{},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(jf),R({class:i(ee)("grid gap-2",n.class)},i(r)),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["class"]))}}),ay=x({__name:"RadioGroupItem",props:{id:{},value:{},disabled:{type:Boolean},required:{type:Boolean},name:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(Uf),R(i(a),{class:i(ee)("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e.class)}),{default:b(()=>[H(i(Wf),{class:"flex items-center justify-center"},{default:b(()=>[H(i($v),{class:"h-2.5 w-2.5 fill-current text-current"})]),_:1})]),_:1},16,["class"]))}}),oy=x({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(Is),ke(Te(i(o))),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),ry=x({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i(Ms),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),sy=x({__name:"DialogHeader",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("flex flex-col gap-y-1.5 text-center sm:text-left",e.class))},[k(n.$slots,"default")],2))}}),ly=x({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(zs),R(i(a),{class:i(ee)("text-lg font-semibold leading-none tracking-tight",e.class)}),{default:b(()=>[k(o.$slots,"default")]),_:3},16,["class"]))}}),iy=x({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(Fs),R(i(a),{class:i(ee)("text-sm text-muted-foreground",e.class)}),{default:b(()=>[k(o.$slots,"default")]),_:3},16,["class"]))}}),Dv=Ye("span",{class:"sr-only"},"Close",-1),uy=x({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(Gd),null,{default:b(()=>[H(i(js),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),H(i(Ns),R(i(r),{class:i(ee)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:b(()=>[k(s.$slots,"default"),H(i(ir),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:b(()=>[H(i(Iv),{class:"w-4 h-4"}),Dv]),_:1})]),_:3},16,["class"])]),_:3}))}}),dy=x({__name:"DialogFooter",props:{class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",e.class))},[k(n.$slots,"default")],2))}}),cy=x({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=ai(n,"modelValue",e,{passive:!0,defaultValue:n.defaultValue});return(r,s)=>Ja((g(),Q("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>Tn(o)?o.value=l:null),class:Be(i(ee)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[oi,i(o)]])}}),Nv=x({__name:"ScrollBar",props:{orientation:{default:"vertical"},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(ap),R(n.value,{class:i(ee)("flex touch-none select-none transition-colors",a.orientation==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",a.orientation==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",e.class)}),{default:b(()=>[H(i(op),{class:"relative flex-1 rounded-full bg-border"})]),_:1},16,["class"]))}}),fy=x({__name:"ScrollArea",props:{type:{},dir:{},scrollHideDelay:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(qf),R(n.value,{class:i(ee)("relative overflow-hidden",e.class)}),{default:b(()=>[H(i(Kf),{class:"h-full w-full rounded-[inherit]"},{default:b(()=>[k(a.$slots,"default")]),_:3}),H(Nv),H(i(sp))]),_:3},16,["class"]))}}),py=x({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(Wp),ke(Te(i(o))),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),vy=x({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(Yp),R(i(a),{class:i(ee)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e.class)}),{default:b(()=>[k(o.$slots,"default")]),_:3},16,["class"]))}}),hy=x({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(Hp),R(n.value,{class:i(ee)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}});/** + * vee-validate v4.13.1 + * (c) 2024 Abdelrahman Awad + * @license MIT + */function Fe(t){return typeof t=="function"}function vl(t){return t==null}const pn=t=>t!==null&&!!t&&typeof t=="object"&&!Array.isArray(t);function gr(t){return Number(t)>=0}function jv(t){const e=parseFloat(t);return isNaN(e)?t:e}function zv(t){return typeof t=="object"&&t!==null}function Fv(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function Hr(t){if(!zv(t)||Fv(t)!=="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function na(t,e){return Object.keys(e).forEach(n=>{if(Hr(e[n])&&Hr(t[n])){t[n]||(t[n]={}),na(t[n],e[n]);return}t[n]=e[n]}),t}function Yn(t){const e=t.split(".");if(!e.length)return"";let n=String(e[0]);for(let a=1;aWv(o)&&r in o?o[r]:n,t):n}function Dt(t,e,n){if(Oa(e)){t[fo(e)]=n;return}const a=e.split(/\.|\[(\d+)\]/).filter(Boolean);let o=t;for(let r=0;rot(t,n.slice(0,s).join(".")));for(let r=o.length-1;r>=0;r--)if(Hv(o[r])){if(r===0){So(t,n[0]);continue}So(o[r-1],n[r-1])}}function rt(t){return Object.keys(t)}function Un(t,e=void 0){const n=pt();return(n==null?void 0:n.provides[t])||Gt(t,e)}function Xr(t,e,n){if(Array.isArray(t)){const a=[...t],o=a.findIndex(r=>Qe(r,e));return o>=0?a.splice(o,1):a.push(e),a}return Qe(t,e)?n:e}function Jr(t,e=0){let n=null,a=[];return function(...o){return n&&clearTimeout(n),n=setTimeout(()=>{const r=t(...o);a.forEach(s=>s(r)),a=[]},e),new Promise(r=>a.push(r))}}function Xv(t,e){return pn(e)&&e.number?jv(t):t}function Fo(t,e){let n;return async function(...o){const r=t(...o);n=r;const s=await r;return r!==n?s:(n=void 0,e(s,o))}}function Lo(t){return Array.isArray(t)?t:t?[t]:[]}function yr(t){Un(on);const e=void 0,n=Gt(co);return e||n}function Ra(t,e){const n={};for(const a in t)e.includes(a)||(n[a]=t[a]);return n}function Jv(t){let e=null,n=[];return function(...a){const o=me(()=>{if(e!==o)return;const r=t(...a);n.forEach(s=>s(r)),n=[],e=null});return e=o,new Promise(r=>n.push(r))}}function gl(t,e,n){return e.slots.default?typeof t=="string"||!t?e.slots.default(n()):{default:()=>{var a,o;return(o=(a=e.slots).default)===null||o===void 0?void 0:o.call(a,n())}}:e.slots.default}function Ao(t){if(yl(t))return t._value}function yl(t){return"_value"in t}function Qv(t){return t.type==="number"||t.type==="range"?Number.isNaN(t.valueAsNumber)?t.value:t.valueAsNumber:t.value}function Ua(t){if(!ml(t))return t;const e=t.target;if(Ca(e.type)&&yl(e))return Ao(e);if(e.type==="file"&&e.files){const n=Array.from(e.files);return e.multiple?n:n[0]}if(qv(e))return Array.from(e.options).filter(n=>n.selected&&!n.disabled).map(Ao);if(hl(e)){const n=Array.from(e.options).find(a=>a.selected);return n?Ao(n):e.value}return Qv(e)}function bl(t){const e={};return Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),t?pn(t)&&t._$$isNormalized?t:pn(t)?Object.keys(t).reduce((n,a)=>{const o=eh(t[a]);return t[a]!==!1&&(n[a]=Qr(o)),n},e):typeof t!="string"?e:t.split("|").reduce((n,a)=>{const o=th(a);return o.name&&(n[o.name]=Qr(o.params)),n},e):e}function eh(t){return t===!0?[]:Array.isArray(t)||pn(t)?t:[t]}function Qr(t){const e=n=>typeof n=="string"&&n[0]==="@"?nh(n.slice(1)):n;return Array.isArray(t)?t.map(e):t instanceof RegExp?[t]:Object.keys(t).reduce((n,a)=>(n[a]=e(t[a]),n),{})}const th=t=>{let e=[];const n=t.split(":")[0];return t.includes(":")&&(e=t.split(":").slice(1).join(":").split(",")),{name:n,params:e}};function nh(t){const e=n=>ot(n,t)||n[t];return e.__locatorRef=t,e}function ah(t){return Array.isArray(t)?t.filter(zo):rt(t).filter(e=>zo(t[e])).map(e=>t[e])}const oh={generateMessage:({field:t})=>`${t} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let rh=Object.assign({},oh);const un=()=>rh;async function _l(t,e,n={}){const a=n==null?void 0:n.bails,o={name:(n==null?void 0:n.name)||"{field}",rules:e,label:n==null?void 0:n.label,bails:a??!0,formData:(n==null?void 0:n.values)||{}},r=await sh(o,t);return Object.assign(Object.assign({},r),{valid:!r.errors.length})}async function sh(t,e){const n=t.rules;if(_t(n)||Za(n))return ih(e,Object.assign(Object.assign({},t),{rules:n}));if(Fe(n)||Array.isArray(n)){const l={field:t.label||t.name,name:t.name,label:t.label,form:t.formData,value:e},u=Array.isArray(n)?n:[n],d=u.length,c=[];for(let f=0;f{const d=u.path||"";return l[d]||(l[d]={errors:[],path:d}),l[d].errors.push(...u.errors),l},{});return{errors:Object.values(s)}}}}}async function ih(t,e){const a=await(_t(e.rules)?e.rules:wl(e.rules)).parse(t,{formData:e.formData}),o=[];for(const r of a.errors)r.errors.length&&o.push(...r.errors);return{value:a.value,errors:o}}async function uh(t,e,n){const a=Zv(n.name);if(!a)throw new Error(`No such validator '${n.name}' exists.`);const o=dh(n.params,t.formData),r={field:t.label||t.name,name:t.name,label:t.label,value:e,form:t.formData,rule:Object.assign(Object.assign({},n),{params:o})},s=await a(e,o,r);return typeof s=="string"?{error:s}:{error:s?void 0:xl(r)}}function xl(t){const e=un().generateMessage;return e?e(t):"Field is invalid"}function dh(t,e){const n=a=>zo(a)?a(e):a;return Array.isArray(t)?t.map(n):Object.keys(t).reduce((a,o)=>(a[o]=n(t[o]),a),{})}async function ch(t,e){const a=await(_t(t)?t:wl(t)).parse(Se(e)),o={},r={};for(const s of a.errors){const l=s.errors,u=(s.path||"").replace(/\["(\d+)"\]/g,(d,c)=>`[${c}]`);o[u]={valid:!l.length,errors:l},l.length&&(r[u]=l[0])}return{valid:!a.errors.length,results:o,errors:r,values:a.value,source:"schema"}}async function fh(t,e,n){const o=rt(t).map(async d=>{var c,f,p;const v=(c=n==null?void 0:n.names)===null||c===void 0?void 0:c[d],h=await _l(ot(e,d),t[d],{name:(v==null?void 0:v.name)||d,label:v==null?void 0:v.label,values:e,bails:(p=(f=n==null?void 0:n.bailsMap)===null||f===void 0?void 0:f[d])!==null&&p!==void 0?p:!0});return Object.assign(Object.assign({},h),{path:d})});let r=!0;const s=await Promise.all(o),l={},u={};for(const d of s)l[d.path]={valid:d.valid,errors:d.errors},d.valid||(r=!1,u[d.path]=d.errors[0]);return{valid:r,results:l,errors:u,source:"schema"}}let es=0;function ph(t,e){const{value:n,initialValue:a,setInitialValue:o}=vh(t,e.modelValue,e.form);if(!e.form){let u=function(v){var h;"value"in v&&(n.value=v.value),"errors"in v&&c(v.errors),"touched"in v&&(p.touched=(h=v.touched)!==null&&h!==void 0?h:p.touched),"initialValue"in v&&o(v.initialValue)};const{errors:d,setErrors:c}=gh(),f=es>=Number.MAX_SAFE_INTEGER?0:++es,p=mh(n,a,d,e.schema);return{id:f,path:t,value:n,initialValue:a,meta:p,flags:{pendingUnmount:{[f]:!1},pendingReset:!1},errors:d,setState:u}}const r=e.form.createPathState(t,{bails:e.bails,label:e.label,type:e.type,validate:e.validate,schema:e.schema}),s=O(()=>r.errors);function l(u){var d,c,f;"value"in u&&(n.value=u.value),"errors"in u&&((d=e.form)===null||d===void 0||d.setFieldError(i(t),u.errors)),"touched"in u&&((c=e.form)===null||c===void 0||c.setFieldTouched(i(t),(f=u.touched)!==null&&f!==void 0?f:!1)),"initialValue"in u&&o(u.initialValue)}return{id:Array.isArray(r.id)?r.id[r.id.length-1]:r.id,path:t,value:n,errors:s,meta:r,initialValue:a,flags:r.__flags,setState:l}}function vh(t,e,n){const a=T(i(e));function o(){return n?ot(n.initialValues.value,i(t),i(a)):i(a)}function r(d){if(!n){a.value=d;return}n.setFieldInitialValue(i(t),d,!0)}const s=O(o);if(!n)return{value:T(o()),initialValue:s,setInitialValue:r};const l=hh(e,n,s,t);return n.stageInitialValue(i(t),l,!0),{value:O({get(){return ot(n.values,i(t))},set(d){n.setFieldValue(i(t),d,!1)}}),initialValue:s,setInitialValue:r}}function hh(t,e,n,a){return Tn(t)?i(t):t!==void 0?t:ot(e.values,i(a),i(n))}function mh(t,e,n,a){const o=O(()=>{var s,l,u;return(u=(l=(s=ge(a))===null||s===void 0?void 0:s.describe)===null||l===void 0?void 0:l.call(s).required)!==null&&u!==void 0?u:!1}),r=Bn({touched:!1,pending:!1,valid:!0,required:o,validated:!!i(n).length,initialValue:O(()=>i(e)),dirty:O(()=>!Qe(i(t),i(e)))});return ve(n,s=>{r.valid=!s.length},{immediate:!0,flush:"sync"}),r}function gh(){const t=T([]);return{errors:t,setErrors:e=>{t.value=Lo(e)}}}function yh(t,e,n){return Ca(n==null?void 0:n.type)?_h(t,e,n):kl(t,e,n)}function kl(t,e,n){const{initialValue:a,validateOnMount:o,bails:r,type:s,checkedValue:l,label:u,validateOnValueUpdate:d,uncheckedValue:c,controlled:f,keepValueOnUnmount:p,syncVModel:v,form:h}=bh(n),m=f?Un(on):void 0,y=h||m,_=O(()=>Yn(ge(t))),P=O(()=>{if(ge(y==null?void 0:y.schema))return;const Y=i(e);return Za(Y)||_t(Y)||Fe(Y)||Array.isArray(Y)?Y:bl(Y)}),C=!Fe(P.value)&&_t(ge(e)),{id:w,value:B,initialValue:M,meta:$,setState:U,errors:F,flags:N}=ph(_,{modelValue:a,form:y,bails:r,label:u,type:s,validate:P.value?W:void 0,schema:C?e:void 0}),de=O(()=>F.value[0]);v&&wh({value:B,prop:v,handleChange:le,shouldValidate:()=>d&&!N.pendingReset});const G=(j,Y=!1)=>{$.touched=!0,Y&&ie()};async function be(j){var Y,te;if(y!=null&&y.validateSchema){const{results:ae}=await y.validateSchema(j);return(Y=ae[ge(_)])!==null&&Y!==void 0?Y:{valid:!0,errors:[]}}return P.value?_l(B.value,P.value,{name:ge(_),label:ge(u),values:(te=y==null?void 0:y.values)!==null&&te!==void 0?te:{},bails:r}):{valid:!0,errors:[]}}const ie=Fo(async()=>($.pending=!0,$.validated=!0,be("validated-only")),j=>(N.pendingUnmount[I.id]||(U({errors:j.errors}),$.pending=!1,$.valid=j.valid),j)),L=Fo(async()=>be("silent"),j=>($.valid=j.valid,j));function W(j){return(j==null?void 0:j.mode)==="silent"?L():ie()}function le(j,Y=!0){const te=Ua(j);ze(te,Y)}xe(()=>{if(o)return ie();(!y||!y.validateSchema)&&L()});function Ee(j){$.touched=j}function we(j){var Y;const te=j&&"value"in j?j.value:M.value;U({value:Se(te),initialValue:Se(te),touched:(Y=j==null?void 0:j.touched)!==null&&Y!==void 0?Y:!1,errors:(j==null?void 0:j.errors)||[]}),$.pending=!1,$.validated=!1,L()}const We=pt();function ze(j,Y=!0){B.value=We&&v?Xv(j,We.props.modelModifiers):j,(Y?ie:L)()}function mt(j){U({errors:Array.isArray(j)?j:[j]})}const gt=O({get(){return B.value},set(j){ze(j,d)}}),I={id:w,name:_,label:u,value:gt,meta:$,errors:F,errorMessage:de,type:s,checkedValue:l,uncheckedValue:c,bails:r,keepValueOnUnmount:p,resetField:we,handleReset:()=>we(),validate:W,handleChange:le,handleBlur:G,setState:U,setTouched:Ee,setErrors:mt,setValue:ze};if(ma(co,I),Tn(e)&&typeof i(e)!="function"&&ve(e,(j,Y)=>{Qe(j,Y)||($.validated?ie():L())},{deep:!0}),!y)return I;const he=O(()=>{const j=P.value;return!j||Fe(j)||Za(j)||_t(j)||Array.isArray(j)?{}:Object.keys(j).reduce((Y,te)=>{const ae=ah(j[te]).map(Pe=>Pe.__locatorRef).reduce((Pe,De)=>{const He=ot(y.values,De)||y.values[De];return He!==void 0&&(Pe[De]=He),Pe},{});return Object.assign(Y,ae),Y},{})});return ve(he,(j,Y)=>{if(!Object.keys(j).length)return;!Qe(j,Y)&&($.validated?ie():L())}),Qa(()=>{var j;const Y=(j=ge(I.keepValueOnUnmount))!==null&&j!==void 0?j:ge(y.keepValuesOnUnmount),te=ge(_);if(Y||!y||N.pendingUnmount[I.id]){y==null||y.removePathState(te,w);return}N.pendingUnmount[I.id]=!0;const ae=y.getPathState(te);if(Array.isArray(ae==null?void 0:ae.id)&&(ae!=null&&ae.multiple)?ae!=null&&ae.id.includes(I.id):(ae==null?void 0:ae.id)===I.id){if(ae!=null&&ae.multiple&&Array.isArray(ae.value)){const De=ae.value.findIndex(He=>Qe(He,ge(I.checkedValue)));if(De>-1){const He=[...ae.value];He.splice(De,1),y.setFieldValue(te,He)}Array.isArray(ae.id)&&ae.id.splice(ae.id.indexOf(I.id),1)}else y.unsetPathValue(ge(_));y.removePathState(te,w)}}),I}function bh(t){const e=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(t!=null&&t.syncVModel),a=typeof(t==null?void 0:t.syncVModel)=="string"?t.syncVModel:(t==null?void 0:t.modelPropName)||"modelValue",o=n&&!("initialValue"in(t||{}))?Zo(pt(),a):t==null?void 0:t.initialValue;if(!t)return Object.assign(Object.assign({},e()),{initialValue:o});const r="valueProp"in t?t.valueProp:t.checkedValue,s="standalone"in t?!t.standalone:t.controlled,l=(t==null?void 0:t.modelPropName)||(t==null?void 0:t.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},e()),t||{}),{initialValue:o,controlled:s??!0,checkedValue:r,syncVModel:l})}function _h(t,e,n){const a=n!=null&&n.standalone?void 0:Un(on),o=n==null?void 0:n.checkedValue,r=n==null?void 0:n.uncheckedValue;function s(l){const u=l.handleChange,d=O(()=>{const f=ge(l.value),p=ge(o);return Array.isArray(f)?f.findIndex(v=>Qe(v,p))>=0:Qe(p,f)});function c(f,p=!0){var v,h;if(d.value===((v=f==null?void 0:f.target)===null||v===void 0?void 0:v.checked)){p&&l.validate();return}const m=ge(t),y=a==null?void 0:a.getPathState(m),_=Ua(f);let P=(h=ge(o))!==null&&h!==void 0?h:_;a&&(y!=null&&y.multiple)&&y.type==="checkbox"?P=Xr(ot(a.values,m)||[],P,void 0):(n==null?void 0:n.type)==="checkbox"&&(P=Xr(ge(l.value),P,ge(r))),u(P,p)}return Object.assign(Object.assign({},l),{checked:d,checkedValue:o,uncheckedValue:r,handleChange:c})}return s(kl(t,e,n))}function wh({prop:t,value:e,handleChange:n,shouldValidate:a}){const o=pt();if(!o||!t)return;const r=typeof t=="string"?t:"modelValue",s=`update:${r}`;r in o.props&&(ve(e,l=>{Qe(l,Zo(o,r))||o.emit(s,l)}),ve(()=>Zo(o,r),l=>{if(l===La&&e.value===void 0)return;const u=l===La?void 0:l;Qe(u,e.value)||n(u,a())}))}function Zo(t,e){if(t)return t.props[e]}const xh=x({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>un().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:La},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(t,e){const n=Cn(t,"rules"),a=Cn(t,"name"),o=Cn(t,"label"),r=Cn(t,"uncheckedValue"),s=Cn(t,"keepValue"),{errors:l,value:u,errorMessage:d,validate:c,handleChange:f,handleBlur:p,setTouched:v,resetField:h,handleReset:m,meta:y,checked:_,setErrors:P,setValue:C}=yh(a,n,{validateOnMount:t.validateOnMount,bails:t.bails,standalone:t.standalone,type:e.attrs.type,initialValue:Ch(t,e),checkedValue:e.attrs.value,uncheckedValue:r,label:o,validateOnValueUpdate:t.validateOnModelUpdate,keepValueOnUnmount:s,syncVModel:!0}),w=function(N,de=!0){f(N,de)},B=O(()=>{const{validateOnInput:F,validateOnChange:N,validateOnBlur:de,validateOnModelUpdate:G}=kh(t);function be(le){p(le,de),Fe(e.attrs.onBlur)&&e.attrs.onBlur(le)}function ie(le){w(le,F),Fe(e.attrs.onInput)&&e.attrs.onInput(le)}function L(le){w(le,N),Fe(e.attrs.onChange)&&e.attrs.onChange(le)}const W={name:t.name,onBlur:be,onInput:ie,onChange:L};return W["onUpdate:modelValue"]=le=>w(le,G),W}),M=O(()=>{const F=Object.assign({},B.value);Ca(e.attrs.type)&&_&&(F.checked=_.value);const N=ts(t,e);return Yv(N,e.attrs)&&(F.value=u.value),F}),$=O(()=>Object.assign(Object.assign({},B.value),{modelValue:u.value}));function U(){return{field:M.value,componentField:$.value,value:u.value,meta:y,errors:l.value,errorMessage:d.value,validate:c,resetField:h,handleChange:w,handleInput:F=>w(F,!1),handleReset:m,handleBlur:B.value.onBlur,setTouched:v,setErrors:P,setValue:C}}return e.expose({value:u,meta:y,errors:l,errorMessage:d,setErrors:P,setTouched:v,setValue:C,reset:h,validate:c,handleChange:f}),()=>{const F=bt(ts(t,e)),N=gl(F,e,U);return F?lt(F,Object.assign(Object.assign({},e.attrs),M.value),N):N}}});function ts(t,e){let n=t.as||"";return!t.as&&!e.slots.default&&(n="input"),n}function kh(t){var e,n,a,o;const{validateOnInput:r,validateOnChange:s,validateOnBlur:l,validateOnModelUpdate:u}=un();return{validateOnInput:(e=t.validateOnInput)!==null&&e!==void 0?e:r,validateOnChange:(n=t.validateOnChange)!==null&&n!==void 0?n:s,validateOnBlur:(a=t.validateOnBlur)!==null&&a!==void 0?a:l,validateOnModelUpdate:(o=t.validateOnModelUpdate)!==null&&o!==void 0?o:u}}function Ch(t,e){return Ca(e.attrs.type)?Kr(t,"modelValue")?t.modelValue:void 0:Kr(t,"modelValue")?t.modelValue:e.attrs.value}const my=xh;let Oh=0;const Va=["bails","fieldsCount","id","multiple","type","validate"];function Cl(t){const e=(t==null?void 0:t.initialValues)||{},n=Object.assign({},ge(e)),a=i(t==null?void 0:t.validationSchema);return a&&_t(a)&&Fe(a.cast)?Se(a.cast(n)||{}):Se(n)}function gy(t){var e;const n=Oh++;let a=0;const o=T(!1),r=T(!1),s=T(0),l=[],u=Bn(Cl(t)),d=T([]),c=T({}),f=T({}),p=Jv(()=>{f.value=d.value.reduce((A,S)=>(A[Yn(ge(S.path))]=S,A),{})});function v(A,S){const V=W(A);if(!V){typeof A=="string"&&(c.value[Yn(A)]=Lo(S));return}if(typeof A=="string"){const K=Yn(A);c.value[K]&&delete c.value[K]}V.errors=Lo(S),V.valid=!V.errors.length}function h(A){rt(A).forEach(S=>{v(S,A[S])})}t!=null&&t.initialErrors&&h(t.initialErrors);const m=O(()=>{const A=d.value.reduce((S,V)=>(V.errors.length&&(S[V.path]=V.errors),S),{});return Object.assign(Object.assign({},c.value),A)}),y=O(()=>rt(m.value).reduce((A,S)=>{const V=m.value[S];return V!=null&&V.length&&(A[S]=V[0]),A},{})),_=O(()=>d.value.reduce((A,S)=>(A[S.path]={name:S.path||"",label:S.label||""},A),{})),P=O(()=>d.value.reduce((A,S)=>{var V;return A[S.path]=(V=S.bails)!==null&&V!==void 0?V:!0,A},{})),C=Object.assign({},(t==null?void 0:t.initialErrors)||{}),w=(e=t==null?void 0:t.keepValuesOnUnmount)!==null&&e!==void 0?e:!1,{initialValues:B,originalInitialValues:M,setInitialValues:$}=Sh(d,u,t),U=Eh(d,u,M,y),F=O(()=>d.value.reduce((A,S)=>{const V=ot(u,S.path);return Dt(A,S.path,V),A},{})),N=t==null?void 0:t.validationSchema;function de(A,S){var V,K;const re=O(()=>ot(B.value,ge(A))),fe=f.value[ge(A)],oe=(S==null?void 0:S.type)==="checkbox"||(S==null?void 0:S.type)==="radio";if(fe&&oe){fe.multiple=!0;const ct=a++;return Array.isArray(fe.id)?fe.id.push(ct):fe.id=[fe.id,ct],fe.fieldsCount++,fe.__flags.pendingUnmount[ct]=!1,fe}const Ve=O(()=>ot(u,ge(A))),Ne=ge(A),qe=Ee.findIndex(ct=>ct===Ne);qe!==-1&&Ee.splice(qe,1);const $e=O(()=>{var ct,Hn,go,yo;const bo=ge(N);if(_t(bo))return(Hn=(ct=bo.describe)===null||ct===void 0?void 0:ct.call(bo,ge(A)).required)!==null&&Hn!==void 0?Hn:!1;const _o=ge(S==null?void 0:S.schema);return _t(_o)&&(yo=(go=_o.describe)===null||go===void 0?void 0:go.call(_o).required)!==null&&yo!==void 0?yo:!1}),Ke=a++,at=Bn({id:Ke,path:A,touched:!1,pending:!1,valid:!0,validated:!!(!((V=C[Ne])===null||V===void 0)&&V.length),required:$e,initialValue:re,errors:Ko([]),bails:(K=S==null?void 0:S.bails)!==null&&K!==void 0?K:!1,label:S==null?void 0:S.label,type:(S==null?void 0:S.type)||"default",value:Ve,multiple:!1,__flags:{pendingUnmount:{[Ke]:!1},pendingReset:!1},fieldsCount:1,validate:S==null?void 0:S.validate,dirty:O(()=>!Qe(i(Ve),i(re)))});return d.value.push(at),f.value[Ne]=at,p(),y.value[Ne]&&!C[Ne]&&me(()=>{Ot(Ne,{mode:"silent"})}),Tn(A)&&ve(A,ct=>{p();const Hn=Se(Ve.value);f.value[ct]=at,me(()=>{Dt(u,ct,Hn)})}),at}const G=Jr(wr,5),be=Jr(wr,5),ie=Fo(async A=>await(A==="silent"?G():be()),(A,[S])=>{const V=rt(j.errorBag.value),re=[...new Set([...rt(A.results),...d.value.map(fe=>fe.path),...V])].sort().reduce((fe,oe)=>{var Ve;const Ne=oe,qe=W(Ne)||le(Ne),$e=((Ve=A.results[Ne])===null||Ve===void 0?void 0:Ve.errors)||[],Ke=ge(qe==null?void 0:qe.path)||Ne,at=Ah({errors:$e,valid:!$e.length},fe.results[Ke]);return fe.results[Ke]=at,at.valid||(fe.errors[Ke]=at.errors[0]),qe&&c.value[Ke]&&delete c.value[Ke],qe?(qe.valid=at.valid,S==="silent"||S==="validated-only"&&!qe.validated||v(qe,at.errors),fe):(v(Ke,$e),fe)},{valid:A.valid,results:{},errors:{},source:A.source});return A.values&&(re.values=A.values,re.source=A.source),rt(re.results).forEach(fe=>{var oe;const Ve=W(fe);Ve&&S!=="silent"&&(S==="validated-only"&&!Ve.validated||v(Ve,(oe=re.results[fe])===null||oe===void 0?void 0:oe.errors))}),re});function L(A){d.value.forEach(A)}function W(A){const S=typeof A=="string"?Yn(A):A;return typeof S=="string"?f.value[S]:S}function le(A){return d.value.filter(V=>A.startsWith(V.path)).reduce((V,K)=>V?K.path.length>V.path.length?K:V:K,void 0)}let Ee=[],we;function We(A){return Ee.push(A),we||(we=me(()=>{[...Ee].sort().reverse().forEach(V=>{Gr(u,V)}),Ee=[],we=null})),we}function ze(A){return function(V,K){return function(fe){return fe instanceof Event&&(fe.preventDefault(),fe.stopPropagation()),L(oe=>oe.touched=!0),o.value=!0,s.value++,dt().then(oe=>{const Ve=Se(u);if(oe.valid&&typeof V=="function"){const Ne=Se(F.value);let qe=A?Ne:Ve;return oe.values&&(qe=oe.source==="schema"?oe.values:Object.assign({},qe,oe.values)),V(qe,{evt:fe,controlledValues:Ne,setErrors:h,setFieldError:v,setTouched:_n,setFieldTouched:De,setValues:ae,setFieldValue:Y,resetForm:wn,resetField:Wn})}!oe.valid&&typeof K=="function"&&K({values:Ve,evt:fe,errors:oe.errors,results:oe.results})}).then(oe=>(o.value=!1,oe),oe=>{throw o.value=!1,oe})}}}const gt=ze(!1);gt.withControlled=ze(!0);function I(A,S){const V=d.value.findIndex(re=>re.path===A&&(Array.isArray(re.id)?re.id.includes(S):re.id===S)),K=d.value[V];if(!(V===-1||!K)){if(me(()=>{Ot(A,{mode:"silent",warn:!1})}),K.multiple&&K.fieldsCount&&K.fieldsCount--,Array.isArray(K.id)){const re=K.id.indexOf(S);re>=0&&K.id.splice(re,1),delete K.__flags.pendingUnmount[S]}(!K.multiple||K.fieldsCount<=0)&&(d.value.splice(V,1),_r(A),p(),delete f.value[A])}}function he(A){rt(f.value).forEach(S=>{S.startsWith(A)&&delete f.value[S]}),d.value=d.value.filter(S=>!S.path.startsWith(A)),me(()=>{p()})}const j={formId:n,values:u,controlledValues:F,errorBag:m,errors:y,schema:N,submitCount:s,meta:U,isSubmitting:o,isValidating:r,fieldArrays:l,keepValuesOnUnmount:w,validateSchema:i(N)?ie:void 0,validate:dt,setFieldError:v,validateField:Ot,setFieldValue:Y,setValues:ae,setErrors:h,setFieldTouched:De,setTouched:_n,resetForm:wn,resetField:Wn,handleSubmit:gt,useFieldModel:Zl,defineInputBinds:Ul,defineComponentBinds:Wl,defineField:mo,stageInitialValue:Fl,unsetInitialValue:_r,setFieldInitialValue:ho,createPathState:de,getPathState:W,unsetPathValue:We,removePathState:I,initialValues:B,getAllPathStates:()=>d.value,destroyPath:he,isFieldTouched:He,isFieldDirty:Wt,isFieldValid:Sa};function Y(A,S,V=!0){const K=Se(S),re=typeof A=="string"?A:A.path;W(re)||de(re),Dt(u,re,K),V&&Ot(re)}function te(A,S=!0){rt(u).forEach(V=>{delete u[V]}),rt(A).forEach(V=>{Y(V,A[V],!1)}),S&&dt()}function ae(A,S=!0){na(u,A),l.forEach(V=>V&&V.reset()),S&&dt()}function Pe(A,S){const V=W(ge(A))||de(A);return O({get(){return V.value},set(K){var re;const fe=ge(A);Y(fe,K,(re=ge(S))!==null&&re!==void 0?re:!1)}})}function De(A,S){const V=W(A);V&&(V.touched=S)}function He(A){const S=W(A);return S?S.touched:d.value.filter(V=>V.path.startsWith(A)).some(V=>V.touched)}function Wt(A){const S=W(A);return S?S.dirty:d.value.filter(V=>V.path.startsWith(A)).some(V=>V.dirty)}function Sa(A){const S=W(A);return S?S.valid:d.value.filter(V=>V.path.startsWith(A)).every(V=>V.valid)}function _n(A){if(typeof A=="boolean"){L(S=>{S.touched=A});return}rt(A).forEach(S=>{De(S,!!A[S])})}function Wn(A,S){var V;const K=S&&"value"in S?S.value:ot(B.value,A),re=W(A);re&&(re.__flags.pendingReset=!0),ho(A,Se(K),!0),Y(A,K,!1),De(A,(V=S==null?void 0:S.touched)!==null&&V!==void 0?V:!1),v(A,(S==null?void 0:S.errors)||[]),me(()=>{re&&(re.__flags.pendingReset=!1)})}function wn(A,S){let V=Se(A!=null&&A.values?A.values:M.value);V=S!=null&&S.force?V:na(M.value,V),V=_t(N)&&Fe(N.cast)?N.cast(V):V,$(V,{force:S==null?void 0:S.force}),L(K=>{var re;K.__flags.pendingReset=!0,K.validated=!1,K.touched=((re=A==null?void 0:A.touched)===null||re===void 0?void 0:re[K.path])||!1,Y(K.path,ot(V,K.path),!1),v(K.path,void 0)}),S!=null&&S.force?te(V,!1):ae(V,!1),h((A==null?void 0:A.errors)||{}),s.value=(A==null?void 0:A.submitCount)||0,me(()=>{dt({mode:"silent"}),L(K=>{K.__flags.pendingReset=!1})})}async function dt(A){const S=(A==null?void 0:A.mode)||"force";if(S==="force"&&L(oe=>oe.validated=!0),j.validateSchema)return j.validateSchema(S);r.value=!0;const V=await Promise.all(d.value.map(oe=>oe.validate?oe.validate(A).then(Ve=>({key:oe.path,valid:Ve.valid,errors:Ve.errors,value:Ve.value})):Promise.resolve({key:oe.path,valid:!0,errors:[],value:void 0})));r.value=!1;const K={},re={},fe={};for(const oe of V)K[oe.key]={valid:oe.valid,errors:oe.errors},oe.value&&Dt(fe,oe.key,oe.value),oe.errors.length&&(re[oe.key]=oe.errors[0]);return{valid:V.every(oe=>oe.valid),results:K,errors:re,values:fe,source:"fields"}}async function Ot(A,S){var V;const K=W(A);if(K&&(S==null?void 0:S.mode)!=="silent"&&(K.validated=!0),N){const{results:re}=await ie((S==null?void 0:S.mode)||"validated-only");return re[A]||{errors:[],valid:!0}}return K!=null&&K.validate?K.validate(S):(!K&&(V=S==null?void 0:S.warn),Promise.resolve({errors:[],valid:!0}))}function _r(A){Gr(B.value,A)}function Fl(A,S,V=!1){ho(A,S),Dt(u,A,S),V&&!(t!=null&&t.initialValues)&&Dt(M.value,A,Se(S))}function ho(A,S,V=!1){Dt(B.value,A,Se(S)),V&&Dt(M.value,A,Se(S))}async function wr(){const A=i(N);if(!A)return{valid:!0,results:{},errors:{},source:"none"};r.value=!0;const S=Za(A)||_t(A)?await ch(A,u):await fh(A,u,{names:_.value,bailsMap:P.value});return r.value=!1,S}const Ll=gt((A,{evt:S})=>{Gv(S)&&S.target.submit()});xe(()=>{if(t!=null&&t.initialErrors&&h(t.initialErrors),t!=null&&t.initialTouched&&_n(t.initialTouched),t!=null&&t.validateOnMount){dt();return}j.validateSchema&&j.validateSchema("silent")}),Tn(N)&&ve(N,()=>{var A;(A=j.validateSchema)===null||A===void 0||A.call(j,"validated-only")}),ma(on,j);function mo(A,S){const V=Fe(S)||S==null?void 0:S.label,K=W(ge(A))||de(A,{label:V}),re=()=>Fe(S)?S(Ra(K,Va)):S||{};function fe(){var $e;K.touched=!0,(($e=re().validateOnBlur)!==null&&$e!==void 0?$e:un().validateOnBlur)&&Ot(K.path)}function oe(){var $e;(($e=re().validateOnInput)!==null&&$e!==void 0?$e:un().validateOnInput)&&me(()=>{Ot(K.path)})}function Ve(){var $e;(($e=re().validateOnChange)!==null&&$e!==void 0?$e:un().validateOnChange)&&me(()=>{Ot(K.path)})}const Ne=O(()=>{const $e={onChange:Ve,onInput:oe,onBlur:fe};return Fe(S)?Object.assign(Object.assign({},$e),S(Ra(K,Va)).props||{}):S!=null&&S.props?Object.assign(Object.assign({},$e),S.props(Ra(K,Va))):$e});return[Pe(A,()=>{var $e,Ke,at;return(at=($e=re().validateOnModelUpdate)!==null&&$e!==void 0?$e:(Ke=un())===null||Ke===void 0?void 0:Ke.validateOnModelUpdate)!==null&&at!==void 0?at:!0}),Ne]}function Zl(A){return Array.isArray(A)?A.map(S=>Pe(S,!0)):Pe(A)}function Ul(A,S){const[V,K]=mo(A,S);function re(){K.value.onBlur()}function fe(Ve){const Ne=Ua(Ve);Y(ge(A),Ne,!1),K.value.onInput()}function oe(Ve){const Ne=Ua(Ve);Y(ge(A),Ne,!1),K.value.onChange()}return O(()=>Object.assign(Object.assign({},K.value),{onBlur:re,onInput:fe,onChange:oe,value:V.value}))}function Wl(A,S){const[V,K]=mo(A,S),re=W(ge(A));function fe(oe){V.value=oe}return O(()=>{const oe=Fe(S)?S(Ra(re,Va)):S||{};return Object.assign({[oe.model||"modelValue"]:V.value,[`onUpdate:${oe.model||"modelValue"}`]:fe},K.value)})}return Object.assign(Object.assign({},j),{values:Go(u),handleReset:()=>wn(),submitForm:Ll})}function Eh(t,e,n,a){const o={touched:"some",pending:"some",valid:"every"},r=O(()=>!Qe(e,i(n)));function s(){const u=t.value;return rt(o).reduce((d,c)=>{const f=o[c];return d[c]=u[f](p=>p[c]),d},{})}const l=Bn(s());return Ce(()=>{const u=s();l.touched=u.touched,l.valid=u.valid,l.pending=u.pending}),O(()=>Object.assign(Object.assign({initialValues:i(n)},l),{valid:l.valid&&!rt(a.value).length,dirty:r.value}))}function Sh(t,e,n){const a=Cl(n),o=T(a),r=T(Se(a));function s(l,u){u!=null&&u.force?(o.value=Se(l),r.value=Se(l)):(o.value=na(Se(o.value)||{},Se(l)),r.value=na(Se(r.value)||{},Se(l))),u!=null&&u.updateFields&&t.value.forEach(d=>{if(d.touched)return;const f=ot(o.value,d.path);Dt(e,d.path,Se(f))})}return{initialValues:o,originalInitialValues:r,setInitialValues:s}}function Ah(t,e){return e?{valid:t.valid&&e.valid,errors:[...t.errors,...e.errors]}:t}const Bh=x({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(t,e){const n=Gt(on,void 0),a=O(()=>n==null?void 0:n.errors.value[t.name]);function o(){return{message:a.value}}return()=>{if(!a.value)return;const r=t.as?bt(t.as):t.as,s=gl(r,e,o),l=Object.assign({role:"alert"},e.attrs);return!r&&(Array.isArray(s)||!s)&&(s!=null&&s.length)?s:(Array.isArray(s)||!s)&&!(s!=null&&s.length)?lt(r||"span",l,a.value):lt(r,l,s)}}}),Th=Bh;function Ph(t){const e=yr();return O(()=>{var n,a;return e&&(a="meta"in e?e.meta.dirty:(n=e==null?void 0:e.value)===null||n===void 0?void 0:n.dirty)!==null&&a!==void 0?a:!1})}function $h(t){const e=yr();return O(()=>{var n,a;return e&&(a="meta"in e?e.meta.touched:(n=e==null?void 0:e.value)===null||n===void 0?void 0:n.touched)!==null&&a!==void 0?a:!1})}function Ih(t){const e=yr();return O(()=>{var n,a;return e&&(a="meta"in e?e.meta.valid:(n=e==null?void 0:e.value)===null||n===void 0?void 0:n.valid)!==null&&a!==void 0?a:!1})}function yy(){const t=Un(on);return O(()=>(t==null?void 0:t.values)||{})}function by(){const t=Un(on);return O(()=>(t==null?void 0:t.errors.value)||{})}function Mh(t){Un(on);const e=Gt(co);return O(()=>e==null?void 0:e.errorMessage.value)}const Ol=Symbol(),_y=x({__name:"FormItem",props:{class:{}},setup(t){const e=t,n=et();return ma(Ol,n),(a,o)=>(g(),Q("div",{class:Be(i(ee)("space-y-2",e.class))},[k(a.$slots,"default")],2))}});function po(){const t=Gt(co),e=Gt(Ol),n={valid:Ih(),isDirty:Ph(),isTouched:$h(),error:Mh()};if(!t)throw new Error("useFormField should be used within ");const{name:a}=t,o=e;return{id:o,name:a,formItemId:`${o}-form-item`,formDescriptionId:`${o}-form-item-description`,formMessageId:`${o}-form-item-message`,...n}}const wy=x({__name:"FormLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,{error:n,formItemId:a}=po();return(o,r)=>(g(),E(i(Vv),{class:Be(i(ee)(i(n)&&"text-destructive",e.class)),for:i(a)},{default:b(()=>[k(o.$slots,"default")]),_:3},8,["class","for"]))}}),xy=x({__name:"FormControl",setup(t){const{error:e,formItemId:n,formDescriptionId:a,formMessageId:o}=po();return(r,s)=>(g(),E(i(ro),{id:i(n),"aria-describedby":i(e)?`${i(a)} ${i(o)}`:`${i(a)}`,"aria-invalid":!!i(e)},{default:b(()=>[k(r.$slots,"default")]),_:3},8,["id","aria-describedby","aria-invalid"]))}}),ky=x({__name:"FormMessage",setup(t){const{name:e,formMessageId:n}=po();return(a,o)=>(g(),E(i(Th),{id:i(n),as:"p",name:ge(i(e)),class:"text-sm font-medium text-destructive"},null,8,["id","name"]))}}),Rh=["id"],Cy=x({__name:"FormDescription",props:{class:{}},setup(t){const e=t,{formDescriptionId:n}=po();return(a,o)=>(g(),Q("p",{id:i(n),class:Be(i(ee)("text-sm text-muted-foreground",e.class))},[k(a.$slots,"default")],10,Rh))}}),Oy=x({__name:"PinInput",props:{modelValue:{default:()=>[]},defaultValue:{},placeholder:{},mask:{type:Boolean},otp:{type:Boolean},type:{},dir:{},name:{},disabled:{type:Boolean},required:{type:Boolean},id:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue","complete"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(Sf),R(i(r),{class:i(ee)("flex gap-2 items-center",n.class)}),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["class"]))}}),Ey=x({__name:"PinInputGroup",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(X),R(i(a),{class:i(ee)("flex items-center",e.class)}),{default:b(()=>[k(o.$slots,"default")]),_:3},16,["class"]))}}),Sy=x({__name:"PinInputInput",props:{index:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(Bf),R(i(a),{class:i(ee)("relative text-center focus:outline-none focus:ring-2 focus:ring-ring focus:relative focus:z-10 flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",e.class)}),null,16,["class"]))}});var ye;(function(t){t.assertEqual=o=>o;function e(o){}t.assertIs=e;function n(o){throw new Error}t.assertNever=n,t.arrayToEnum=o=>{const r={};for(const s of o)r[s]=s;return r},t.getValidEnumValues=o=>{const r=t.objectKeys(o).filter(l=>typeof o[o[l]]!="number"),s={};for(const l of r)s[l]=o[l];return t.objectValues(s)},t.objectValues=o=>t.objectKeys(o).map(function(r){return o[r]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const r=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&r.push(s);return r},t.find=(o,r)=>{for(const s of o)if(r(s))return s},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function a(o,r=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(r)}t.joinValues=a,t.jsonStringifyReplacer=(o,r)=>typeof r=="bigint"?r.toString():r})(ye||(ye={}));var Uo;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Uo||(Uo={}));const q=ye.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Yt=t=>{switch(typeof t){case"undefined":return q.undefined;case"string":return q.string;case"number":return isNaN(t)?q.nan:q.number;case"boolean":return q.boolean;case"function":return q.function;case"bigint":return q.bigint;case"symbol":return q.symbol;case"object":return Array.isArray(t)?q.array:t===null?q.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?q.promise:typeof Map<"u"&&t instanceof Map?q.map:typeof Set<"u"&&t instanceof Set?q.set:typeof Date<"u"&&t instanceof Date?q.date:q.object;default:return q.unknown}},D=ye.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Vh=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:");class ut extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const n=e||function(r){return r.message},a={_errors:[]},o=r=>{for(const s of r.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)a._errors.push(n(s));else{let l=a,u=0;for(;un.message){const n={},a=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(e(o))):a.push(e(o));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}ut.create=t=>new ut(t);const In=(t,e)=>{let n;switch(t.code){case D.invalid_type:t.received===q.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case D.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,ye.jsonStringifyReplacer)}`;break;case D.unrecognized_keys:n=`Unrecognized key(s) in object: ${ye.joinValues(t.keys,", ")}`;break;case D.invalid_union:n="Invalid input";break;case D.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${ye.joinValues(t.options)}`;break;case D.invalid_enum_value:n=`Invalid enum value. Expected ${ye.joinValues(t.options)}, received '${t.received}'`;break;case D.invalid_arguments:n="Invalid function arguments";break;case D.invalid_return_type:n="Invalid function return type";break;case D.invalid_date:n="Invalid date";break;case D.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:ye.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case D.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case D.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case D.custom:n="Invalid input";break;case D.invalid_intersection_types:n="Intersection results could not be merged";break;case D.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case D.not_finite:n="Number must be finite";break;default:n=e.defaultError,ye.assertNever(t)}return{message:n}};let El=In;function Dh(t){El=t}function Wa(){return El}const Ha=t=>{const{data:e,path:n,errorMaps:a,issueData:o}=t,r=[...n,...o.path||[]],s={...o,path:r};if(o.message!==void 0)return{...o,path:r,message:o.message};let l="";const u=a.filter(d=>!!d).slice().reverse();for(const d of u)l=d(s,{data:e,defaultError:l}).message;return{...o,path:r,message:l}},Nh=[];function Z(t,e){const n=Wa(),a=Ha({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===In?void 0:In].filter(o=>!!o)});t.common.issues.push(a)}class Ge{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const o of n){if(o.status==="aborted")return se;o.status==="dirty"&&e.dirty(),a.push(o.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const o of n){const r=await o.key,s=await o.value;a.push({key:r,value:s})}return Ge.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const o of n){const{key:r,value:s}=o;if(r.status==="aborted"||s.status==="aborted")return se;r.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(a[r.value]=s.value)}return{status:e.value,value:a}}}const se=Object.freeze({status:"aborted"}),En=t=>({status:"dirty",value:t}),tt=t=>({status:"valid",value:t}),Wo=t=>t.status==="aborted",Ho=t=>t.status==="dirty",aa=t=>t.status==="valid",oa=t=>typeof Promise<"u"&&t instanceof Promise;function qa(t,e,n,a){if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(t)}function Sl(t,e,n,a,o){if(typeof e=="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,n),n}var J;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(J||(J={}));var Gn,Xn;class Pt{constructor(e,n,a,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ns=(t,e)=>{if(aa(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new ut(t.common.issues);return this._error=n,this._error}}};function ue(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:a,description:o}=t;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(s,l)=>{var u,d;const{message:c}=t;return s.code==="invalid_enum_value"?{message:c??l.defaultError}:typeof l.data>"u"?{message:(u=c??a)!==null&&u!==void 0?u:l.defaultError}:s.code!=="invalid_type"?{message:l.defaultError}:{message:(d=c??n)!==null&&d!==void 0?d:l.defaultError}},description:o}}class pe{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Yt(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Yt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ge,ctx:{common:e.parent.common,data:e.data,parsedType:Yt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(oa(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;const o={common:{issues:[],async:(a=n==null?void 0:n.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Yt(e)},r=this._parseSync({data:e,path:o.path,parent:o});return ns(o,r)}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Yt(e)},o=this._parse({data:e,path:a.path,parent:a}),r=await(oa(o)?o:Promise.resolve(o));return ns(a,r)}refine(e,n){const a=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,r)=>{const s=e(o),l=()=>r.addIssue({code:D.custom,...a(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(u=>u?!0:(l(),!1)):s?!0:(l(),!1)})}refinement(e,n){return this._refinement((a,o)=>e(a)?!0:(o.addIssue(typeof n=="function"?n(a,o):n),!1))}_refinement(e){return new Ct({schema:this,typeName:ne.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return At.create(this,this._def)}nullable(){return nn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return xt.create(this,this._def)}promise(){return Rn.create(this,this._def)}or(e){return ia.create([this,e],this._def)}and(e){return ua.create(this,e,this._def)}transform(e){return new Ct({...ue(this._def),schema:this,typeName:ne.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new Vn({...ue(this._def),innerType:this,defaultValue:n,typeName:ne.ZodDefault})}brand(){return new br({typeName:ne.ZodBranded,type:this,...ue(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new va({...ue(this._def),innerType:this,catchValue:n,typeName:ne.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Ea.create(this,e)}readonly(){return ha.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const jh=/^c[^\s-]{8,}$/i,zh=/^[0-9a-z]+$/,Fh=/^[0-9A-HJKMNP-TV-Z]{26}$/,Lh=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Zh=/^[a-z0-9_-]{21}$/i,Uh=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Wh=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Hh="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Bo;const qh=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Kh=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Yh=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Al="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Gh=new RegExp(`^${Al}$`);function Bl(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function Xh(t){return new RegExp(`^${Bl(t)}$`)}function Tl(t){let e=`${Al}T${Bl(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function Jh(t,e){return!!((e==="v4"||!e)&&qh.test(t)||(e==="v6"||!e)&&Kh.test(t))}class wt extends pe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==q.string){const r=this._getOrReturnCtx(e);return Z(r,{code:D.invalid_type,expected:q.string,received:r.parsedType}),se}const a=new Ge;let o;for(const r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(o=this._getOrReturnCtx(e,o),Z(o,{code:D.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),a.dirty());else if(r.kind==="length"){const s=e.data.length>r.value,l=e.data.lengthe.test(o),{validation:n,code:D.invalid_string,...J.errToObj(a)})}_addCheck(e){return new wt({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...J.errToObj(e)})}url(e){return this._addCheck({kind:"url",...J.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...J.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...J.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...J.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...J.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...J.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...J.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...J.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...J.errToObj(e)})}datetime(e){var n,a;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,local:(a=e==null?void 0:e.local)!==null&&a!==void 0?a:!1,...J.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...J.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...J.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...J.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...J.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...J.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...J.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...J.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...J.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...J.errToObj(n)})}nonempty(e){return this.min(1,J.errToObj(e))}trim(){return new wt({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new wt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new wt({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new wt({checks:[],typeName:ne.ZodString,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...ue(t)})};function Qh(t,e){const n=(t.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,o=n>a?n:a,r=parseInt(t.toFixed(o).replace(".","")),s=parseInt(e.toFixed(o).replace(".",""));return r%s/Math.pow(10,o)}class Qt extends pe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==q.number){const r=this._getOrReturnCtx(e);return Z(r,{code:D.invalid_type,expected:q.number,received:r.parsedType}),se}let a;const o=new Ge;for(const r of this._def.checks)r.kind==="int"?ye.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),Z(a,{code:D.invalid_type,expected:"integer",received:"float",message:r.message}),o.dirty()):r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(a=this._getOrReturnCtx(e,a),Z(a,{code:D.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),o.dirty()):r.kind==="multipleOf"?Qh(e.data,r.value)!==0&&(a=this._getOrReturnCtx(e,a),Z(a,{code:D.not_multiple_of,multipleOf:r.value,message:r.message}),o.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),Z(a,{code:D.not_finite,message:r.message}),o.dirty()):ye.assertNever(r);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,J.toString(n))}gt(e,n){return this.setLimit("min",e,!1,J.toString(n))}lte(e,n){return this.setLimit("max",e,!0,J.toString(n))}lt(e,n){return this.setLimit("max",e,!1,J.toString(n))}setLimit(e,n,a,o){return new Qt({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:J.toString(o)}]})}_addCheck(e){return new Qt({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:J.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:J.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:J.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:J.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:J.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:J.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:J.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:J.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:J.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.valuee.kind==="int"||e.kind==="multipleOf"&&ye.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.valuenew Qt({checks:[],typeName:ne.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...ue(t)});class en extends pe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==q.bigint){const r=this._getOrReturnCtx(e);return Z(r,{code:D.invalid_type,expected:q.bigint,received:r.parsedType}),se}let a;const o=new Ge;for(const r of this._def.checks)r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(a=this._getOrReturnCtx(e,a),Z(a,{code:D.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),o.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),Z(a,{code:D.not_multiple_of,multipleOf:r.value,message:r.message}),o.dirty()):ye.assertNever(r);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,J.toString(n))}gt(e,n){return this.setLimit("min",e,!1,J.toString(n))}lte(e,n){return this.setLimit("max",e,!0,J.toString(n))}lt(e,n){return this.setLimit("max",e,!1,J.toString(n))}setLimit(e,n,a,o){return new en({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:J.toString(o)}]})}_addCheck(e){return new en({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:J.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:J.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:J.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:J.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:J.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new en({checks:[],typeName:ne.ZodBigInt,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...ue(t)})};class ra extends pe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==q.boolean){const a=this._getOrReturnCtx(e);return Z(a,{code:D.invalid_type,expected:q.boolean,received:a.parsedType}),se}return tt(e.data)}}ra.create=t=>new ra({typeName:ne.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...ue(t)});class vn extends pe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==q.date){const r=this._getOrReturnCtx(e);return Z(r,{code:D.invalid_type,expected:q.date,received:r.parsedType}),se}if(isNaN(e.data.getTime())){const r=this._getOrReturnCtx(e);return Z(r,{code:D.invalid_date}),se}const a=new Ge;let o;for(const r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(o=this._getOrReturnCtx(e,o),Z(o,{code:D.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),a.dirty()):ye.assertNever(r);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new vn({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:J.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:J.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew vn({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:ne.ZodDate,...ue(t)});class Ka extends pe{_parse(e){if(this._getType(e)!==q.symbol){const a=this._getOrReturnCtx(e);return Z(a,{code:D.invalid_type,expected:q.symbol,received:a.parsedType}),se}return tt(e.data)}}Ka.create=t=>new Ka({typeName:ne.ZodSymbol,...ue(t)});class sa extends pe{_parse(e){if(this._getType(e)!==q.undefined){const a=this._getOrReturnCtx(e);return Z(a,{code:D.invalid_type,expected:q.undefined,received:a.parsedType}),se}return tt(e.data)}}sa.create=t=>new sa({typeName:ne.ZodUndefined,...ue(t)});class la extends pe{_parse(e){if(this._getType(e)!==q.null){const a=this._getOrReturnCtx(e);return Z(a,{code:D.invalid_type,expected:q.null,received:a.parsedType}),se}return tt(e.data)}}la.create=t=>new la({typeName:ne.ZodNull,...ue(t)});class Mn extends pe{constructor(){super(...arguments),this._any=!0}_parse(e){return tt(e.data)}}Mn.create=t=>new Mn({typeName:ne.ZodAny,...ue(t)});class cn extends pe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return tt(e.data)}}cn.create=t=>new cn({typeName:ne.ZodUnknown,...ue(t)});class Zt extends pe{_parse(e){const n=this._getOrReturnCtx(e);return Z(n,{code:D.invalid_type,expected:q.never,received:n.parsedType}),se}}Zt.create=t=>new Zt({typeName:ne.ZodNever,...ue(t)});class Ya extends pe{_parse(e){if(this._getType(e)!==q.undefined){const a=this._getOrReturnCtx(e);return Z(a,{code:D.invalid_type,expected:q.void,received:a.parsedType}),se}return tt(e.data)}}Ya.create=t=>new Ya({typeName:ne.ZodVoid,...ue(t)});class xt extends pe{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),o=this._def;if(n.parsedType!==q.array)return Z(n,{code:D.invalid_type,expected:q.array,received:n.parsedType}),se;if(o.exactLength!==null){const s=n.data.length>o.exactLength.value,l=n.data.lengtho.maxLength.value&&(Z(n,{code:D.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((s,l)=>o.type._parseAsync(new Pt(n,s,n.path,l)))).then(s=>Ge.mergeArray(a,s));const r=[...n.data].map((s,l)=>o.type._parseSync(new Pt(n,s,n.path,l)));return Ge.mergeArray(a,r)}get element(){return this._def.type}min(e,n){return new xt({...this._def,minLength:{value:e,message:J.toString(n)}})}max(e,n){return new xt({...this._def,maxLength:{value:e,message:J.toString(n)}})}length(e,n){return new xt({...this._def,exactLength:{value:e,message:J.toString(n)}})}nonempty(e){return this.min(1,e)}}xt.create=(t,e)=>new xt({type:t,minLength:null,maxLength:null,exactLength:null,typeName:ne.ZodArray,...ue(e)});function On(t){if(t instanceof Me){const e={};for(const n in t.shape){const a=t.shape[n];e[n]=At.create(On(a))}return new Me({...t._def,shape:()=>e})}else return t instanceof xt?new xt({...t._def,type:On(t.element)}):t instanceof At?At.create(On(t.unwrap())):t instanceof nn?nn.create(On(t.unwrap())):t instanceof $t?$t.create(t.items.map(e=>On(e))):t}class Me extends pe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=ye.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==q.object){const d=this._getOrReturnCtx(e);return Z(d,{code:D.invalid_type,expected:q.object,received:d.parsedType}),se}const{status:a,ctx:o}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),l=[];if(!(this._def.catchall instanceof Zt&&this._def.unknownKeys==="strip"))for(const d in o.data)s.includes(d)||l.push(d);const u=[];for(const d of s){const c=r[d],f=o.data[d];u.push({key:{status:"valid",value:d},value:c._parse(new Pt(o,f,o.path,d)),alwaysSet:d in o.data})}if(this._def.catchall instanceof Zt){const d=this._def.unknownKeys;if(d==="passthrough")for(const c of l)u.push({key:{status:"valid",value:c},value:{status:"valid",value:o.data[c]}});else if(d==="strict")l.length>0&&(Z(o,{code:D.unrecognized_keys,keys:l}),a.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const c of l){const f=o.data[c];u.push({key:{status:"valid",value:c},value:d._parse(new Pt(o,f,o.path,c)),alwaysSet:c in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const d=[];for(const c of u){const f=await c.key,p=await c.value;d.push({key:f,value:p,alwaysSet:c.alwaysSet})}return d}).then(d=>Ge.mergeObjectSync(a,d)):Ge.mergeObjectSync(a,u)}get shape(){return this._def.shape()}strict(e){return J.errToObj,new Me({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var o,r,s,l;const u=(s=(r=(o=this._def).errorMap)===null||r===void 0?void 0:r.call(o,n,a).message)!==null&&s!==void 0?s:a.defaultError;return n.code==="unrecognized_keys"?{message:(l=J.errToObj(e).message)!==null&&l!==void 0?l:u}:{message:u}}}:{}})}strip(){return new Me({...this._def,unknownKeys:"strip"})}passthrough(){return new Me({...this._def,unknownKeys:"passthrough"})}extend(e){return new Me({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Me({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ne.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Me({...this._def,catchall:e})}pick(e){const n={};return ye.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new Me({...this._def,shape:()=>n})}omit(e){const n={};return ye.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new Me({...this._def,shape:()=>n})}deepPartial(){return On(this)}partial(e){const n={};return ye.objectKeys(this.shape).forEach(a=>{const o=this.shape[a];e&&!e[a]?n[a]=o:n[a]=o.optional()}),new Me({...this._def,shape:()=>n})}required(e){const n={};return ye.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let r=this.shape[a];for(;r instanceof At;)r=r._def.innerType;n[a]=r}}),new Me({...this._def,shape:()=>n})}keyof(){return Pl(ye.objectKeys(this.shape))}}Me.create=(t,e)=>new Me({shape:()=>t,unknownKeys:"strip",catchall:Zt.create(),typeName:ne.ZodObject,...ue(e)});Me.strictCreate=(t,e)=>new Me({shape:()=>t,unknownKeys:"strict",catchall:Zt.create(),typeName:ne.ZodObject,...ue(e)});Me.lazycreate=(t,e)=>new Me({shape:t,unknownKeys:"strip",catchall:Zt.create(),typeName:ne.ZodObject,...ue(e)});class ia extends pe{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function o(r){for(const l of r)if(l.result.status==="valid")return l.result;for(const l of r)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const s=r.map(l=>new ut(l.ctx.common.issues));return Z(n,{code:D.invalid_union,unionErrors:s}),se}if(n.common.async)return Promise.all(a.map(async r=>{const s={...n,common:{...n.common,issues:[]},parent:null};return{result:await r._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let r;const s=[];for(const u of a){const d={...n,common:{...n.common,issues:[]},parent:null},c=u._parseSync({data:n.data,path:n.path,parent:d});if(c.status==="valid")return c;c.status==="dirty"&&!r&&(r={result:c,ctx:d}),d.common.issues.length&&s.push(d.common.issues)}if(r)return n.common.issues.push(...r.ctx.common.issues),r.result;const l=s.map(u=>new ut(u));return Z(n,{code:D.invalid_union,unionErrors:l}),se}}get options(){return this._def.options}}ia.create=(t,e)=>new ia({options:t,typeName:ne.ZodUnion,...ue(e)});const Nt=t=>t instanceof ca?Nt(t.schema):t instanceof Ct?Nt(t.innerType()):t instanceof fa?[t.value]:t instanceof tn?t.options:t instanceof pa?ye.objectValues(t.enum):t instanceof Vn?Nt(t._def.innerType):t instanceof sa?[void 0]:t instanceof la?[null]:t instanceof At?[void 0,...Nt(t.unwrap())]:t instanceof nn?[null,...Nt(t.unwrap())]:t instanceof br||t instanceof ha?Nt(t.unwrap()):t instanceof va?Nt(t._def.innerType):[];class vo extends pe{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==q.object)return Z(n,{code:D.invalid_type,expected:q.object,received:n.parsedType}),se;const a=this.discriminator,o=n.data[a],r=this.optionsMap.get(o);return r?n.common.async?r._parseAsync({data:n.data,path:n.path,parent:n}):r._parseSync({data:n.data,path:n.path,parent:n}):(Z(n,{code:D.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),se)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){const o=new Map;for(const r of n){const s=Nt(r.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const l of s){if(o.has(l))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(l)}`);o.set(l,r)}}return new vo({typeName:ne.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...ue(a)})}}function qo(t,e){const n=Yt(t),a=Yt(e);if(t===e)return{valid:!0,data:t};if(n===q.object&&a===q.object){const o=ye.objectKeys(e),r=ye.objectKeys(t).filter(l=>o.indexOf(l)!==-1),s={...t,...e};for(const l of r){const u=qo(t[l],e[l]);if(!u.valid)return{valid:!1};s[l]=u.data}return{valid:!0,data:s}}else if(n===q.array&&a===q.array){if(t.length!==e.length)return{valid:!1};const o=[];for(let r=0;r{if(Wo(r)||Wo(s))return se;const l=qo(r.value,s.value);return l.valid?((Ho(r)||Ho(s))&&n.dirty(),{status:n.value,value:l.data}):(Z(a,{code:D.invalid_intersection_types}),se)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([r,s])=>o(r,s)):o(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}ua.create=(t,e,n)=>new ua({left:t,right:e,typeName:ne.ZodIntersection,...ue(n)});class $t extends pe{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==q.array)return Z(a,{code:D.invalid_type,expected:q.array,received:a.parsedType}),se;if(a.data.lengththis._def.items.length&&(Z(a,{code:D.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const r=[...a.data].map((s,l)=>{const u=this._def.items[l]||this._def.rest;return u?u._parse(new Pt(a,s,a.path,l)):null}).filter(s=>!!s);return a.common.async?Promise.all(r).then(s=>Ge.mergeArray(n,s)):Ge.mergeArray(n,r)}get items(){return this._def.items}rest(e){return new $t({...this._def,rest:e})}}$t.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new $t({items:t,typeName:ne.ZodTuple,rest:null,...ue(e)})};class da extends pe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==q.object)return Z(a,{code:D.invalid_type,expected:q.object,received:a.parsedType}),se;const o=[],r=this._def.keyType,s=this._def.valueType;for(const l in a.data)o.push({key:r._parse(new Pt(a,l,a.path,l)),value:s._parse(new Pt(a,a.data[l],a.path,l)),alwaysSet:l in a.data});return a.common.async?Ge.mergeObjectAsync(n,o):Ge.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof pe?new da({keyType:e,valueType:n,typeName:ne.ZodRecord,...ue(a)}):new da({keyType:wt.create(),valueType:e,typeName:ne.ZodRecord,...ue(n)})}}class Ga extends pe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==q.map)return Z(a,{code:D.invalid_type,expected:q.map,received:a.parsedType}),se;const o=this._def.keyType,r=this._def.valueType,s=[...a.data.entries()].map(([l,u],d)=>({key:o._parse(new Pt(a,l,a.path,[d,"key"])),value:r._parse(new Pt(a,u,a.path,[d,"value"]))}));if(a.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const u of s){const d=await u.key,c=await u.value;if(d.status==="aborted"||c.status==="aborted")return se;(d.status==="dirty"||c.status==="dirty")&&n.dirty(),l.set(d.value,c.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const u of s){const d=u.key,c=u.value;if(d.status==="aborted"||c.status==="aborted")return se;(d.status==="dirty"||c.status==="dirty")&&n.dirty(),l.set(d.value,c.value)}return{status:n.value,value:l}}}}Ga.create=(t,e,n)=>new Ga({valueType:e,keyType:t,typeName:ne.ZodMap,...ue(n)});class hn extends pe{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==q.set)return Z(a,{code:D.invalid_type,expected:q.set,received:a.parsedType}),se;const o=this._def;o.minSize!==null&&a.data.sizeo.maxSize.value&&(Z(a,{code:D.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const r=this._def.valueType;function s(u){const d=new Set;for(const c of u){if(c.status==="aborted")return se;c.status==="dirty"&&n.dirty(),d.add(c.value)}return{status:n.value,value:d}}const l=[...a.data.values()].map((u,d)=>r._parse(new Pt(a,u,a.path,d)));return a.common.async?Promise.all(l).then(u=>s(u)):s(l)}min(e,n){return new hn({...this._def,minSize:{value:e,message:J.toString(n)}})}max(e,n){return new hn({...this._def,maxSize:{value:e,message:J.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}hn.create=(t,e)=>new hn({valueType:t,minSize:null,maxSize:null,typeName:ne.ZodSet,...ue(e)});class An extends pe{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==q.function)return Z(n,{code:D.invalid_type,expected:q.function,received:n.parsedType}),se;function a(l,u){return Ha({data:l,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Wa(),In].filter(d=>!!d),issueData:{code:D.invalid_arguments,argumentsError:u}})}function o(l,u){return Ha({data:l,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Wa(),In].filter(d=>!!d),issueData:{code:D.invalid_return_type,returnTypeError:u}})}const r={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Rn){const l=this;return tt(async function(...u){const d=new ut([]),c=await l._def.args.parseAsync(u,r).catch(v=>{throw d.addIssue(a(u,v)),d}),f=await Reflect.apply(s,this,c);return await l._def.returns._def.type.parseAsync(f,r).catch(v=>{throw d.addIssue(o(f,v)),d})})}else{const l=this;return tt(function(...u){const d=l._def.args.safeParse(u,r);if(!d.success)throw new ut([a(u,d.error)]);const c=Reflect.apply(s,this,d.data),f=l._def.returns.safeParse(c,r);if(!f.success)throw new ut([o(c,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new An({...this._def,args:$t.create(e).rest(cn.create())})}returns(e){return new An({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new An({args:e||$t.create([]).rest(cn.create()),returns:n||cn.create(),typeName:ne.ZodFunction,...ue(a)})}}class ca extends pe{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}ca.create=(t,e)=>new ca({getter:t,typeName:ne.ZodLazy,...ue(e)});class fa extends pe{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Z(n,{received:n.data,code:D.invalid_literal,expected:this._def.value}),se}return{status:"valid",value:e.data}}get value(){return this._def.value}}fa.create=(t,e)=>new fa({value:t,typeName:ne.ZodLiteral,...ue(e)});function Pl(t,e){return new tn({values:t,typeName:ne.ZodEnum,...ue(e)})}class tn extends pe{constructor(){super(...arguments),Gn.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return Z(n,{expected:ye.joinValues(a),received:n.parsedType,code:D.invalid_type}),se}if(qa(this,Gn)||Sl(this,Gn,new Set(this._def.values)),!qa(this,Gn).has(e.data)){const n=this._getOrReturnCtx(e),a=this._def.values;return Z(n,{received:n.data,code:D.invalid_enum_value,options:a}),se}return tt(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return tn.create(e,{...this._def,...n})}exclude(e,n=this._def){return tn.create(this.options.filter(a=>!e.includes(a)),{...this._def,...n})}}Gn=new WeakMap;tn.create=Pl;class pa extends pe{constructor(){super(...arguments),Xn.set(this,void 0)}_parse(e){const n=ye.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==q.string&&a.parsedType!==q.number){const o=ye.objectValues(n);return Z(a,{expected:ye.joinValues(o),received:a.parsedType,code:D.invalid_type}),se}if(qa(this,Xn)||Sl(this,Xn,new Set(ye.getValidEnumValues(this._def.values))),!qa(this,Xn).has(e.data)){const o=ye.objectValues(n);return Z(a,{received:a.data,code:D.invalid_enum_value,options:o}),se}return tt(e.data)}get enum(){return this._def.values}}Xn=new WeakMap;pa.create=(t,e)=>new pa({values:t,typeName:ne.ZodNativeEnum,...ue(e)});class Rn extends pe{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==q.promise&&n.common.async===!1)return Z(n,{code:D.invalid_type,expected:q.promise,received:n.parsedType}),se;const a=n.parsedType===q.promise?n.data:Promise.resolve(n.data);return tt(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Rn.create=(t,e)=>new Rn({type:t,typeName:ne.ZodPromise,...ue(e)});class Ct extends pe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ne.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=this._def.effect||null,r={addIssue:s=>{Z(a,s),s.fatal?n.abort():n.dirty()},get path(){return a.path}};if(r.addIssue=r.addIssue.bind(r),o.type==="preprocess"){const s=o.transform(a.data,r);if(a.common.async)return Promise.resolve(s).then(async l=>{if(n.value==="aborted")return se;const u=await this._def.schema._parseAsync({data:l,path:a.path,parent:a});return u.status==="aborted"?se:u.status==="dirty"||n.value==="dirty"?En(u.value):u});{if(n.value==="aborted")return se;const l=this._def.schema._parseSync({data:s,path:a.path,parent:a});return l.status==="aborted"?se:l.status==="dirty"||n.value==="dirty"?En(l.value):l}}if(o.type==="refinement"){const s=l=>{const u=o.refinement(l,r);if(a.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(a.common.async===!1){const l=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return l.status==="aborted"?se:(l.status==="dirty"&&n.dirty(),s(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(l=>l.status==="aborted"?se:(l.status==="dirty"&&n.dirty(),s(l.value).then(()=>({status:n.value,value:l.value}))))}if(o.type==="transform")if(a.common.async===!1){const s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!aa(s))return s;const l=o.transform(s.value,r);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>aa(s)?Promise.resolve(o.transform(s.value,r)).then(l=>({status:n.value,value:l})):s);ye.assertNever(o)}}Ct.create=(t,e,n)=>new Ct({schema:t,typeName:ne.ZodEffects,effect:e,...ue(n)});Ct.createWithPreprocess=(t,e,n)=>new Ct({schema:e,effect:{type:"preprocess",transform:t},typeName:ne.ZodEffects,...ue(n)});class At extends pe{_parse(e){return this._getType(e)===q.undefined?tt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}At.create=(t,e)=>new At({innerType:t,typeName:ne.ZodOptional,...ue(e)});class nn extends pe{_parse(e){return this._getType(e)===q.null?tt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}nn.create=(t,e)=>new nn({innerType:t,typeName:ne.ZodNullable,...ue(e)});class Vn extends pe{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===q.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Vn.create=(t,e)=>new Vn({innerType:t,typeName:ne.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ue(e)});class va extends pe{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return oa(o)?o.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new ut(a.common.issues)},input:a.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ut(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}va.create=(t,e)=>new va({innerType:t,typeName:ne.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ue(e)});class Xa extends pe{_parse(e){if(this._getType(e)!==q.nan){const a=this._getOrReturnCtx(e);return Z(a,{code:D.invalid_type,expected:q.nan,received:a.parsedType}),se}return{status:"valid",value:e.data}}}Xa.create=t=>new Xa({typeName:ne.ZodNaN,...ue(t)});const em=Symbol("zod_brand");class br extends pe{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class Ea extends pe{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{const r=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?se:r.status==="dirty"?(n.dirty(),En(r.value)):this._def.out._parseAsync({data:r.value,path:a.path,parent:a})})();{const o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?se:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}static create(e,n){return new Ea({in:e,out:n,typeName:ne.ZodPipeline})}}class ha extends pe{_parse(e){const n=this._def.innerType._parse(e),a=o=>(aa(o)&&(o.value=Object.freeze(o.value)),o);return oa(n)?n.then(o=>a(o)):a(n)}unwrap(){return this._def.innerType}}ha.create=(t,e)=>new ha({innerType:t,typeName:ne.ZodReadonly,...ue(e)});function $l(t,e={},n){return t?Mn.create().superRefine((a,o)=>{var r,s;if(!t(a)){const l=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,u=(s=(r=l.fatal)!==null&&r!==void 0?r:n)!==null&&s!==void 0?s:!0,d=typeof l=="string"?{message:l}:l;o.addIssue({code:"custom",...d,fatal:u})}}):Mn.create()}const tm={object:Me.lazycreate};var ne;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(ne||(ne={}));const nm=(t,e={message:`Input not instance of ${t.name}`})=>$l(n=>n instanceof t,e),Il=wt.create,Ml=Qt.create,am=Xa.create,om=en.create,Rl=ra.create,rm=vn.create,sm=Ka.create,lm=sa.create,im=la.create,um=Mn.create,dm=cn.create,cm=Zt.create,fm=Ya.create,pm=xt.create,vm=Me.create,hm=Me.strictCreate,mm=ia.create,gm=vo.create,ym=ua.create,bm=$t.create,_m=da.create,wm=Ga.create,xm=hn.create,km=An.create,Cm=ca.create,Om=fa.create,Em=tn.create,Sm=pa.create,Am=Rn.create,as=Ct.create,Bm=At.create,Tm=nn.create,Pm=Ct.createWithPreprocess,$m=Ea.create,Im=()=>Il().optional(),Mm=()=>Ml().optional(),Rm=()=>Rl().optional(),Vm={string:t=>wt.create({...t,coerce:!0}),number:t=>Qt.create({...t,coerce:!0}),boolean:t=>ra.create({...t,coerce:!0}),bigint:t=>en.create({...t,coerce:!0}),date:t=>vn.create({...t,coerce:!0})},Dm=se;var Ay=Object.freeze({__proto__:null,defaultErrorMap:In,setErrorMap:Dh,getErrorMap:Wa,makeIssue:Ha,EMPTY_PATH:Nh,addIssueToContext:Z,ParseStatus:Ge,INVALID:se,DIRTY:En,OK:tt,isAborted:Wo,isDirty:Ho,isValid:aa,isAsync:oa,get util(){return ye},get objectUtil(){return Uo},ZodParsedType:q,getParsedType:Yt,ZodType:pe,datetimeRegex:Tl,ZodString:wt,ZodNumber:Qt,ZodBigInt:en,ZodBoolean:ra,ZodDate:vn,ZodSymbol:Ka,ZodUndefined:sa,ZodNull:la,ZodAny:Mn,ZodUnknown:cn,ZodNever:Zt,ZodVoid:Ya,ZodArray:xt,ZodObject:Me,ZodUnion:ia,ZodDiscriminatedUnion:vo,ZodIntersection:ua,ZodTuple:$t,ZodRecord:da,ZodMap:Ga,ZodSet:hn,ZodFunction:An,ZodLazy:ca,ZodLiteral:fa,ZodEnum:tn,ZodNativeEnum:pa,ZodPromise:Rn,ZodEffects:Ct,ZodTransformer:Ct,ZodOptional:At,ZodNullable:nn,ZodDefault:Vn,ZodCatch:va,ZodNaN:Xa,BRAND:em,ZodBranded:br,ZodPipeline:Ea,ZodReadonly:ha,custom:$l,Schema:pe,ZodSchema:pe,late:tm,get ZodFirstPartyTypeKind(){return ne},coerce:Vm,any:um,array:pm,bigint:om,boolean:Rl,date:rm,discriminatedUnion:gm,effect:as,enum:Em,function:km,instanceof:nm,intersection:ym,lazy:Cm,literal:Om,map:wm,nan:am,nativeEnum:Sm,never:cm,null:im,nullable:Tm,number:Ml,object:vm,oboolean:Rm,onumber:Mm,optional:Bm,ostring:Im,pipeline:$m,preprocess:Pm,promise:Am,record:_m,set:xm,strictObject:hm,string:Il,symbol:sm,transformer:as,tuple:bm,undefined:lm,union:mm,unknown:dm,void:fm,NEVER:Dm,ZodIssueCode:D,quotelessJson:Vh,ZodError:ut});/** + * vee-validate v4.13.1 + * (c) 2024 Abdelrahman Awad + * @license MIT + */const os=t=>t!==null&&!!t&&typeof t=="object"&&!Array.isArray(t);function Vl(t){return Number(t)>=0}function Nm(t){return typeof t=="object"&&t!==null}function jm(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function rs(t){if(!Nm(t)||jm(t)!=="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Dl(t,e){return Object.keys(e).forEach(n=>{if(rs(e[n])&&rs(t[n])){t[n]||(t[n]={}),Dl(t[n],e[n]);return}t[n]=e[n]}),t}function zm(t){const e=t.split(".");if(!e.length)return"";let n=String(e[0]);for(let a=1;a{const a=zm(n.path.join("."));n.code==="invalid_union"&&(Nl(n.unionErrors.flatMap(o=>o.issues),e),!a)||(e[a]||(e[a]={errors:[],path:a}),e[a].errors.push(n.message))})}function jl(t){if(t instanceof Me)return Object.fromEntries(Object.entries(t.shape).map(([e,n])=>n instanceof Vn?[e,n._def.defaultValue()]:n instanceof Me?[e,jl(n)]:[e,void 0]))}function Fm(t,e){if(!ss(e))return null;if(Oa(t))return e.shape[fo(t)];const n=(t||"").split(/\.|\[(\d+)\]/).filter(Boolean);let a=e;for(let o=0;o<=n.length;o++){const r=n[o];if(!r||!a)return a;if(ss(a)){a=a.shape[r]||null;continue}Vl(r)&&Lm(a)&&(a=a._def.type)}return null}function zl(t){return t._def.typeName}function Lm(t){return zl(t)===ne.ZodArray}function ss(t){return zl(t)===ne.ZodObject}const Ty=x({__name:"Badge",props:{variant:{},class:{}},setup(t){const e=t;return(n,a)=>(g(),Q("div",{class:Be(i(ee)(i(Zm)({variant:n.variant}),e.class))},[k(n.$slots,"default")],2))}}),Zm=hr("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Py=x({__name:"Command",props:{modelValue:{default:""},defaultValue:{},open:{type:Boolean,default:!0},defaultOpen:{type:Boolean},searchTerm:{},multiple:{type:Boolean},disabled:{type:Boolean},name:{},dir:{},filterFunction:{},displayValue:{},resetSearchTermOnBlur:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue","update:open","update:searchTerm"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(Gc),R(i(r),{class:i(ee)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n.class)}),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["class"]))}}),$y=x({__name:"CommandEmpty",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(af),R(n.value,{class:i(ee)("py-6 text-center text-sm",e.class)}),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Iy=x({__name:"CommandGroup",props:{asChild:{type:Boolean},as:{},class:{},heading:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(Jc),R(n.value,{class:i(ee)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e.class)}),{default:b(()=>[a.heading?(g(),E(i(Qc),{key:0,class:"px-2 py-1.5 text-xs font-medium text-muted-foreground"},{default:b(()=>[zt(rn(a.heading),1)]),_:1})):Ae("",!0),k(a.$slots,"default")]),_:3},16,["class"]))}}),My=x({__name:"CommandItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(sf),R(i(r),{class:i(ee)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[highlighted]:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class)}),{default:b(()=>[k(s.$slots,"default")]),_:3},16,["class"]))}}),Um={role:"presentation"},Ry=x({__name:"CommandList",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},dismissable:{type:Boolean,default:!1},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(nf),R(i(r),{class:i(ee)("max-h-[300px] overflow-y-auto overflow-x-hidden",n.class)}),{default:b(()=>[Ye("div",Um,[k(s.$slots,"default")])]),_:3},16,["class"]))}}),Vy=x({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:e}){const o=Re(t,e);return(r,s)=>(g(),E(i(fp),ke(Te(i(o))),{default:b(()=>[k(r.$slots,"default")]),_:3},16))}}),Dy=x({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,a)=>(g(),E(i(Mp),ke(Te(e)),{default:b(()=>[k(n.$slots,"default")]),_:3},16))}}),Ny=x({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(hp),R(i(a),{class:i(ee)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e.class)}),{default:b(()=>[k(o.$slots,"default"),H(i(Rp),{"as-child":""},{default:b(()=>[H(i(fl),{class:"w-4 h-4 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),jy=x({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,a=e,o=O(()=>{const{class:s,...l}=n;return l}),r=Re(o,a);return(s,l)=>(g(),E(i(mp),null,{default:b(()=>[H(i(Cp),R({...i(r),...s.$attrs},{class:i(ee)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:b(()=>[H(i(Hm)),H(i(Pp),{class:Be(i(ee)("p-1",s.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:b(()=>[k(s.$slots,"default")]),_:3},8,["class"]),H(i(qm))]),_:3},16,["class"])]),_:3}))}}),zy=x({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:a,...o}=e;return o});return(a,o)=>(g(),E(i(Bp),R({class:i(ee)("p-1 w-full",e.class)},n.value),{default:b(()=>[k(a.$slots,"default")]),_:3},16,["class"]))}}),Wm={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Fy=x({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(Ep),R(i(a),{class:i(ee)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e.class)}),{default:b(()=>[Ye("span",Wm,[H(i(Sp),null,{default:b(()=>[H(i(cl),{class:"h-4 w-4"})]),_:1})]),H(i(Tp),null,{default:b(()=>[k(o.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),Hm=x({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i($p),R(i(a),{class:i(ee)("flex cursor-default items-center justify-center py-1",e.class)}),{default:b(()=>[k(o.$slots,"default",{},()=>[H(i(Pv),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),qm=x({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const e=t,n=O(()=>{const{class:o,...r}=e;return r}),a=Ue(n);return(o,r)=>(g(),E(i(Ip),R(i(a),{class:i(ee)("flex cursor-default items-center justify-center py-1",e.class)}),{default:b(()=>[k(o.$slots,"default",{},()=>[H(i(fl),{class:"h-4 w-4"})])]),_:3},16,["class"]))}});export{Cg as $,iy as A,fy as B,cy as C,dy as D,oy as E,ny as F,ay as G,Ym as H,Qg as I,ey as J,ty as K,yg as L,Xg as M,Jg as N,Gg as O,hy as P,py as Q,wg as R,vy as S,ig as T,pg as U,gg as V,hg as W,Iv as X,kg as Y,_g as Z,og as _,Bg as a,bg as a0,gy as a1,yy as a2,_y as a3,wy as a4,xy as a5,ky as a6,my as a7,by as a8,Oy as a9,My as aA,Vy as aB,Ny as aC,Dy as aD,jy as aE,zy as aF,Fy as aG,sg as aH,Gm as aI,Ey as aa,Sy as ab,By as ac,Ay as ad,ug as ae,dg as af,Ty as ag,fg as ah,cg as ai,tg as aj,vg as ak,cl as al,Og as am,Cy as an,Mg as ao,rg as ap,ng as aq,mg as ar,xg as as,Eg as at,Sg as au,lg as av,Py as aw,$y as ax,Ry as ay,Iy as az,Tg as b,Pg as c,$g as d,Ig as e,Ag as f,Vv as g,Rg as h,Dg as i,Ng as j,Vg as k,zg as l,Fg as m,Lg as n,Zg as o,Ug as p,Yg as q,Wg as r,Kg as s,qg as t,jg as u,Hg as v,ry as w,uy as x,sy as y,ly as z}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/vue-D7guW3iV.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/vue-D7guW3iV.js new file mode 100644 index 0000000..a4227e2 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/assets/vendor/vue-D7guW3iV.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.4.30 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function os(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const Q={},at=[],ve=()=>{},Yi=()=>!1,_n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ls=e=>e.startsWith("onUpdate:"),ne=Object.assign,cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qi=Object.prototype.hasOwnProperty,z=(e,t)=>Qi.call(e,t),F=Array.isArray,dt=e=>jt(e)==="[object Map]",yn=e=>jt(e)==="[object Set]",Ps=e=>jt(e)==="[object Date]",$=e=>typeof e=="function",te=e=>typeof e=="string",Ie=e=>typeof e=="symbol",k=e=>e!==null&&typeof e=="object",Er=e=>(k(e)||$(e))&&$(e.then)&&$(e.catch),Tr=Object.prototype.toString,jt=e=>Tr.call(e),Xi=e=>jt(e).slice(8,-1),Ar=e=>jt(e)==="[object Object]",us=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zi=/-(\w)/g,Se=bn(e=>e.replace(Zi,(t,n)=>n?n.toUpperCase():"")),eo=/\B([A-Z])/g,ke=bn(e=>e.replace(eo,"-$1").toLowerCase()),vn=bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dn=bn(e=>e?`on${vn(e)}`:""),Fe=(e,t)=>!Object.is(e,t),en=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},on=e=>{const t=parseFloat(e);return isNaN(t)?e:t},to=e=>{const t=te(e)?Number(e):NaN;return isNaN(t)?e:t};let Ns;const Mr=()=>Ns||(Ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wn(e){if(F(e)){const t={};for(let n=0;n{if(n){const s=n.split(so);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function xn(e){let t="";if(te(e))t=e;else if(F(e))for(let n=0;nCn(n,t))}const Zc=e=>te(e)?e:e==null?"":F(e)||k(e)&&(e.toString===Tr||!$(e.toString))?JSON.stringify(e,Fr,2):String(e),Fr=(e,t)=>t&&t.__v_isRef?Fr(e,t.value):dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Hn(s,i)+" =>"]=r,n),{})}:yn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:Ie(t)?Hn(t):k(t)&&!F(t)&&!Ar(t)?String(t):t,Hn=(e,t="")=>{var n;return Ie(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.30 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let _e;class Rr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Ve()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ze,n=lt;try{return ze=!0,lt=this,this._runnings++,Vs(this),this.fn()}finally{$s(this),this._runnings--,lt=n,ze=t}}stop(){this.active&&(Vs(this),$s(this),this.onStop&&this.onStop(),this.active=!1)}}function ho(e){return e.value}function Vs(e){e._trackId++,e._depsLength=0}function $s(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0&&(r??(r=e.get(s)===s._trackId))){s._dirtyLevel=2;continue}s._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},ln=new WeakMap,ct=Symbol(""),Yn=Symbol("");function ge(e,t,n){if(ze&<){let s=ln.get(e);s||ln.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=jr(()=>s.delete(n))),Vr(lt,r)}}function Pe(e,t,n,s,r,i){const o=ln.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&F(e)){const c=Number(s);o.forEach((f,d)=>{(d==="length"||!Ie(d)&&d>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":F(e)?us(n)&&l.push(o.get("length")):(l.push(o.get(ct)),dt(e)&&l.push(o.get(Yn)));break;case"delete":F(e)||(l.push(o.get(ct)),dt(e)&&l.push(o.get(Yn)));break;case"set":dt(e)&&l.push(o.get(ct));break}as();for(const c of l)c&&$r(c,5);ds()}function po(e,t){const n=ln.get(e);return n&&n.get(t)}const go=os("__proto__,__v_isRef,__isVue"),Dr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ie)),js=mo();function mo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=q(this);for(let i=0,o=this.length;i{e[t]=function(...n){Ye(),as();const s=q(this)[t].apply(this,n);return ds(),Ve(),s}}),e}function _o(e){Ie(e)||(e=String(e));const t=q(this);return ge(t,"has",e),t.hasOwnProperty(e)}class Hr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?qr:zr:i?Wr:Ur).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=F(t);if(!r){if(o&&z(js,n))return Reflect.get(js,n,s);if(n==="hasOwnProperty")return _o}const l=Reflect.get(t,n,s);return(Ie(n)?Dr.has(n):go(n))||(r||ge(t,"get",n),i)?l:le(l)?o&&us(n)?l:l.value:k(l)?r?Dt(l):ps(l):l}}class Kr extends Hr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=Ft(i);if(!cn(s)&&!Ft(s)&&(i=q(i),s=q(s)),!F(t)&&le(i)&&!le(s))return c?!1:(i.value=s,!0)}const o=F(t)&&us(n)?Number(n)e,Sn=e=>Reflect.getPrototypeOf(e);function Wt(e,t,n=!1,s=!1){e=e.__v_raw;const r=q(e),i=q(t);n||(Fe(t,i)&&ge(r,"get",t),ge(r,"get",i));const{has:o}=Sn(r),l=s?hs:n?gs:Rt;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function zt(e,t=!1){const n=this.__v_raw,s=q(n),r=q(e);return t||(Fe(e,r)&&ge(s,"has",e),ge(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function qt(e,t=!1){return e=e.__v_raw,!t&&ge(q(e),"iterate",ct),Reflect.get(e,"size",e)}function Ds(e){e=q(e);const t=q(this);return Sn(t).has.call(t,e)||(t.add(e),Pe(t,"add",e,e)),this}function Hs(e,t){t=q(t);const n=q(this),{has:s,get:r}=Sn(n);let i=s.call(n,e);i||(e=q(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Fe(t,o)&&Pe(n,"set",e,t):Pe(n,"add",e,t),this}function Ks(e){const t=q(this),{has:n,get:s}=Sn(t);let r=n.call(t,e);r||(e=q(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Pe(t,"delete",e,void 0),i}function Bs(){const e=q(this),t=e.size!==0,n=e.clear();return t&&Pe(e,"clear",void 0,void 0),n}function Gt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=q(o),c=t?hs:e?gs:Rt;return!e&&ge(l,"iterate",ct),o.forEach((f,d)=>s.call(r,c(f),c(d),i))}}function Jt(e,t,n){return function(...s){const r=this.__v_raw,i=q(r),o=dt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),d=n?hs:t?gs:Rt;return!t&&ge(i,"iterate",c?Yn:ct),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:l?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function je(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function xo(){const e={get(i){return Wt(this,i)},get size(){return qt(this)},has:zt,add:Ds,set:Hs,delete:Ks,clear:Bs,forEach:Gt(!1,!1)},t={get(i){return Wt(this,i,!1,!0)},get size(){return qt(this)},has:zt,add:Ds,set:Hs,delete:Ks,clear:Bs,forEach:Gt(!1,!0)},n={get(i){return Wt(this,i,!0)},get size(){return qt(this,!0)},has(i){return zt.call(this,i,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:Gt(!0,!1)},s={get(i){return Wt(this,i,!0,!0)},get size(){return qt(this,!0)},has(i){return zt.call(this,i,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Jt(i,!1,!1),n[i]=Jt(i,!0,!1),t[i]=Jt(i,!1,!0),s[i]=Jt(i,!0,!0)}),[e,n,t,s]}const[Co,So,Eo,To]=xo();function En(e,t){const n=t?e?To:Eo:e?So:Co;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const Ao={get:En(!1,!1)},Oo={get:En(!1,!0)},Mo={get:En(!0,!1)},Io={get:En(!0,!0)},Ur=new WeakMap,Wr=new WeakMap,zr=new WeakMap,qr=new WeakMap;function Fo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ro(e){return e.__v_skip||!Object.isExtensible(e)?0:Fo(Xi(e))}function ps(e){return Ft(e)?e:Tn(e,!1,yo,Ao,Ur)}function Lo(e){return Tn(e,!1,vo,Oo,Wr)}function Dt(e){return Tn(e,!0,bo,Mo,zr)}function tu(e){return Tn(e,!0,wo,Io,qr)}function Tn(e,t,n,s,r){if(!k(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Ro(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function St(e){return Ft(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function Ft(e){return!!(e&&e.__v_isReadonly)}function cn(e){return!!(e&&e.__v_isShallow)}function Gr(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function Po(e){return Object.isExtensible(e)&&Or(e,"__v_skip",!0),e}const Rt=e=>k(e)?ps(e):e,gs=e=>k(e)?Dt(e):e;class Jr{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fs(()=>t(this._value),()=>Et(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=q(this),n=t.effect._dirtyLevel;return(!t._cacheable||t.effect.dirty)&&Fe(t._value,t._value=t.effect.run())&&n!==3&&Et(t,5),ms(t),t.effect._dirtyLevel>=2&&Et(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function No(e,t,n=!1){let s,r;const i=$(e);return i?(s=e,r=ve):(s=e.get,r=e.set),new Jr(s,r,i||!r,n)}function ms(e){var t;ze&<&&(e=q(e),Vr(lt,(t=e.dep)!=null?t:e.dep=jr(()=>e.dep=void 0,e instanceof Jr?e:void 0)))}function Et(e,t=5,n,s){e=q(e);const r=e.dep;r&&$r(r,t)}function le(e){return!!(e&&e.__v_isRef===!0)}function ce(e){return Yr(e,!1)}function kr(e){return Yr(e,!0)}function Yr(e,t){return le(e)?e:new Vo(e,t)}class Vo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:q(t),this._value=n?t:Rt(t)}get value(){return ms(this),this._value}set value(t){const n=this.__v_isShallow||cn(t)||Ft(t);t=n?t:q(t),Fe(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Rt(t),Et(this,5))}}function _s(e){return le(e)?e.value:e}function nu(e){return $(e)?e():_s(e)}const $o={get:(e,t,n)=>_s(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Qr(e){return St(e)?e:new Proxy(e,$o)}class jo{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>ms(this),()=>Et(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Xr(e){return new jo(e)}function su(e){const t=F(e)?new Array(e.length):{};for(const n in e)t[n]=Zr(e,n);return t}class Do{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return po(q(this._object),this._key)}}class Ho{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ko(e,t,n){return le(e)?e:$(e)?new Ho(e):k(e)&&arguments.length>1?Zr(e,t,n):ce(e)}function Zr(e,t,n){const s=e[t];return le(s)?s:new Do(e,t,n)}/** +* @vue/runtime-core v3.4.30 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function qe(e,t,n,s){try{return s?e(...s):e()}catch(r){An(r,t,n)}}function we(e,t,n,s){if($(e)){const r=qe(e,t,n,s);return r&&Er(r)&&r.catch(i=>{An(i,t,n)}),r}if(F(e)){const r=[];for(let i=0;i>>1,r=fe[s],i=Pt(r);iMe&&fe.splice(t,1)}function zo(e){F(e)?ht.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?rt+1:rt))&&ht.push(e),ti()}function Us(e,t,n=Lt?Me+1:0){for(;nPt(n)-Pt(s));if(ht.length=0,Ke){Ke.push(...t);return}for(Ke=t,rt=0;rte.id==null?1/0:e.id,qo=(e,t)=>{const n=Pt(e)-Pt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function si(e){Qn=!1,Lt=!0,fe.sort(qo);try{for(Me=0;Mete(b)?b.trim():b)),h&&(r=n.map(on))}let l,c=s[l=Dn(t)]||s[l=Dn(Se(t))];!c&&i&&(c=s[l=Dn(ke(t))]),c&&we(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,we(f,e,6,r)}}function ri(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!$(e)){const c=f=>{const d=ri(f,t,!0);d&&(l=!0,ne(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(k(e)&&s.set(e,null),null):(F(i)?i.forEach(c=>o[c]=null):ne(o,i),k(e)&&s.set(e,o),o)}function On(e,t){return!e||!_n(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,ke(t))||z(e,t))}let ie=null,Mn=null;function un(e){const t=ie;return ie=e,Mn=e&&e.type.__scopeId||null,t}function ru(e){Mn=e}function iu(){Mn=null}function Jo(e,t=ie,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&sr(-1);const i=un(t);let o;try{o=e(...r)}finally{un(i),s._d&&sr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Kn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:d,props:h,data:g,setupState:b,ctx:I,inheritAttrs:A}=e,U=un(e);let H,P;try{if(n.shapeFlag&4){const N=r||s,K=N;H=Oe(f.call(K,N,d,h,b,g,I)),P=l}else{const N=t;H=Oe(N.length>1?N(h,{attrs:l,slots:o,emit:c}):N(h,null)),P=t.props?l:ko(l)}}catch(N){It.length=0,An(N,e,1),H=de(pe)}let O=H;if(P&&A!==!1){const N=Object.keys(P),{shapeFlag:K}=O;N.length&&K&7&&(i&&N.some(ls)&&(P=Yo(P,i)),O=Je(O,P,!1,!0))}return n.dirs&&(O=Je(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),H=O,un(U),H}const ko=e=>{let t;for(const n in e)(n==="class"||n==="style"||_n(n))&&((t||(t={}))[n]=e[n]);return t},Yo=(e,t)=>{const n={};for(const s in e)(!ls(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Qo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ws(s,o,f):!!o;if(c&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense;function tl(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):zo(e)}function In(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ye();const l=Kt(n),c=we(t,n,e,o);return l(),Ve(),c});return s?r.unshift(i):r.push(i),i}}const $e=e=>(t,n=oe)=>{(!Nn||e==="sp")&&In(e,(...s)=>t(...s),n)},nl=$e("bm"),Fn=$e("m"),sl=$e("bu"),rl=$e("u"),ci=$e("bum"),ui=$e("um"),il=$e("sp"),ol=$e("rtg"),ll=$e("rtc");function cl(e,t=oe){In("ec",e,t)}function cu(e,t){if(ie===null)return e;const n=Vn(ie),s=e.dirs||(e.dirs=[]);for(let r=0;rt(o,l,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;l!!e.type.__asyncLoader;function au(e,t,n={},s,r){if(ie.isCE||ie.parent&&Tt(ie.parent)&&ie.parent.isCE)return t!=="default"&&(n.name=t),de("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),Fi();const o=i&&fi(i(n)),l=Li(be,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function fi(e){return e.some(t=>dn(t)?!(t.type===pe||t.type===be&&!fi(t.children)):!0)?e:null}const Xn=e=>e?Vi(e)?Vn(e):Xn(e.parent):null,At=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xn(e.parent),$root:e=>Xn(e.root),$emit:e=>e.emit,$options:e=>vs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bs(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>Il.bind(e)}),Bn=(e,t)=>e!==Q&&!e.__isScriptSetup&&z(e,t),ul={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Bn(s,t))return o[t]=1,s[t];if(r!==Q&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Q&&z(n,t))return o[t]=4,n[t];Zn&&(o[t]=0)}}const d=At[t];let h,g;if(d)return t==="$attrs"&&ge(e.attrs,"get",""),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Q&&z(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,z(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Bn(r,t)?(r[t]=n,!0):s!==Q&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&z(e,o)||Bn(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(At,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function du(){return ai().slots}function hu(){return ai().attrs}function ai(){const e=mt();return e.setupContext||(e.setupContext=ji(e))}function Nt(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function pu(e,t){const n=Nt(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?F(r)||$(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function gu(e,t){return!e||!t?e||t:F(e)&&F(t)?e.concat(t):ne({},Nt(e),Nt(t))}let Zn=!0;function fl(e){const t=vs(e),n=e.proxy,s=e.ctx;Zn=!1,t.beforeCreate&&qs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:b,updated:I,activated:A,deactivated:U,beforeDestroy:H,beforeUnmount:P,destroyed:O,unmounted:N,render:K,renderTracked:M,renderTriggered:G,errorCaptured:W,serverPrefetch:V,expose:S,inheritAttrs:j,components:T,directives:Z,filters:ue}=t;if(f&&al(f,s,null),o)for(const ee in o){const Y=o[ee];$(Y)&&(s[ee]=Y.bind(n))}if(r){const ee=r.call(n,n);k(ee)&&(e.data=ps(ee))}if(Zn=!0,i)for(const ee in i){const Y=i[ee],Xe=$(Y)?Y.bind(n,n):$(Y.get)?Y.get.bind(n,n):ve,Bt=!$(Y)&&$(Y.set)?Y.set.bind(n):ve,Ze=Ne({get:Xe,set:Bt});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Ee=>Ze.value=Ee})}if(l)for(const ee in l)di(l[ee],s,n,ee);if(c){const ee=$(c)?c.call(n):c;Reflect.ownKeys(ee).forEach(Y=>{_l(Y,ee[Y])})}d&&qs(d,e,"c");function se(ee,Y){F(Y)?Y.forEach(Xe=>ee(Xe.bind(n))):Y&&ee(Y.bind(n))}if(se(nl,h),se(Fn,g),se(sl,b),se(rl,I),se(Fl,A),se(Rl,U),se(cl,W),se(ll,M),se(ol,G),se(ci,P),se(ui,N),se(il,V),F(S))if(S.length){const ee=e.exposed||(e.exposed={});S.forEach(Y=>{Object.defineProperty(ee,Y,{get:()=>n[Y],set:Xe=>n[Y]=Xe})})}else e.exposed||(e.exposed={});K&&e.render===ve&&(e.render=K),j!=null&&(e.inheritAttrs=j),T&&(e.components=T),Z&&(e.directives=Z)}function al(e,t,n=ve){F(e)&&(e=es(e));for(const s in e){const r=e[s];let i;k(r)?"default"in r?i=tn(r.from||s,r.default,!0):i=tn(r.from||s):i=tn(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function qs(e,t,n){we(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function di(e,t,n,s){const r=s.includes(".")?Si(n,s):()=>n[s];if(te(e)){const i=t[e];$(i)&&Ge(r,i)}else if($(e))Ge(r,e.bind(n));else if(k(e))if(F(e))e.forEach(i=>di(i,t,n,s));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&Ge(r,i,e)}}function vs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>fn(c,f,o,!0)),fn(c,t,o)),k(t)&&i.set(t,c),c}function fn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&fn(e,i,n,!0),r&&r.forEach(o=>fn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=dl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const dl={data:Gs,props:Js,emits:Js,methods:xt,computed:xt,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:xt,directives:xt,watch:pl,provide:Gs,inject:hl};function Gs(e,t){return t?e?function(){return ne($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function hl(e,t){return xt(es(e),es(t))}function es(e){if(F(e)){const t={};for(let n=0;n1)return n&&$(t)?t.call(s&&s.proxy):t}}const pi={},gi=()=>Object.create(pi),mi=e=>Object.getPrototypeOf(e)===pi;function yl(e,t,n,s=!1){const r={},i=gi();e.propsDefaults=Object.create(null),_i(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Lo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function bl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=q(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,b]=yi(h,t,!0);ne(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return k(e)&&s.set(e,at),at;if(F(i))for(let d=0;d-1,b[1]=A<0||I-1||z(b,"default"))&&l.push(h)}}}const f=[o,l];return k(e)&&s.set(e,f),f}function ks(e){return e[0]!=="$"&&!Ct(e)}function Ys(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Qs(e,t){return Ys(e)===Ys(t)}function Xs(e,t){return F(t)?t.findIndex(n=>Qs(n,e)):$(t)&&Qs(t,e)?0:-1}const bi=e=>e[0]==="_"||e==="$stable",ws=e=>F(e)?e.map(Oe):[Oe(e)],vl=(e,t,n)=>{if(t._n)return t;const s=Jo((...r)=>ws(t(...r)),n);return s._c=!1,s},vi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(bi(r))continue;const i=e[r];if($(i))t[r]=vl(r,i,s);else if(i!=null){const o=ws(i);t[r]=()=>o}}},wi=(e,t)=>{const n=ws(t);e.slots.default=()=>n},wl=(e,t)=>{const n=e.slots=gi();if(e.vnode.shapeFlag&32){const s=t._;s?(ne(n,t),Or(n,"_",s,!0)):vi(t,n)}else t&&wi(e,t)},xl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ne(r,t),!n&&l===1&&delete r._):(i=!t.$stable,vi(t,r)),o=t}else t&&(wi(e,t),o={default:1});if(i)for(const l in r)!bi(l)&&o[l]==null&&delete r[l]};function ns(e,t,n,s,r=!1){if(F(e)){e.forEach((g,b)=>ns(g,t&&(F(t)?t[b]:t),n,s,r));return}if(Tt(s)&&!r)return;const i=s.shapeFlag&4?Vn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,d=l.refs===Q?l.refs={}:l.refs,h=l.setupState;if(f!=null&&f!==c&&(te(f)?(d[f]=null,z(h,f)&&(h[f]=null)):le(f)&&(f.value=null)),$(c))qe(c,l,12,[o,d]);else{const g=te(c),b=le(c);if(g||b){const I=()=>{if(e.f){const A=g?z(h,c)?h[c]:d[c]:c.value;r?F(A)&&cs(A,i):F(A)?A.includes(i)||A.push(i):g?(d[c]=[i],z(h,c)&&(h[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else g?(d[c]=o,z(h,c)&&(h[c]=o)):b&&(c.value=o,e.k&&(d[e.k]=o))};o?(I.id=-1,he(I,n)):I()}}}const he=tl;function Cl(e){return Sl(e)}function Sl(e,t){const n=Mr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:b=ve,insertStaticContent:I}=e,A=(u,a,p,m=null,_=null,w=null,C=void 0,v=null,x=!!a.dynamicChildren)=>{if(u===a)return;u&&!it(u,a)&&(m=Ut(u),Ee(u,_,w,!0),u=null),a.patchFlag===-2&&(x=!1,a.dynamicChildren=null);const{type:y,ref:E,shapeFlag:L}=a;switch(y){case Pn:U(u,a,p,m);break;case pe:H(u,a,p,m);break;case nn:u==null&&P(a,p,m,C);break;case be:T(u,a,p,m,_,w,C,v,x);break;default:L&1?K(u,a,p,m,_,w,C,v,x):L&6?Z(u,a,p,m,_,w,C,v,x):(L&64||L&128)&&y.process(u,a,p,m,_,w,C,v,x,yt)}E!=null&&_&&ns(E,u&&u.ref,w,a||u,!a)},U=(u,a,p,m)=>{if(u==null)s(a.el=l(a.children),p,m);else{const _=a.el=u.el;a.children!==u.children&&f(_,a.children)}},H=(u,a,p,m)=>{u==null?s(a.el=c(a.children||""),p,m):a.el=u.el},P=(u,a,p,m)=>{[u.el,u.anchor]=I(u.children,a,p,m,u.el,u.anchor)},O=({el:u,anchor:a},p,m)=>{let _;for(;u&&u!==a;)_=g(u),s(u,p,m),u=_;s(a,p,m)},N=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},K=(u,a,p,m,_,w,C,v,x)=>{a.type==="svg"?C="svg":a.type==="math"&&(C="mathml"),u==null?M(a,p,m,_,w,C,v,x):V(u,a,_,w,C,v,x)},M=(u,a,p,m,_,w,C,v)=>{let x,y;const{props:E,shapeFlag:L,transition:R,dirs:D}=u;if(x=u.el=o(u.type,w,E&&E.is,E),L&8?d(x,u.children):L&16&&W(u.children,x,null,m,_,Un(u,w),C,v),D&&et(u,null,m,"created"),G(x,u,u.scopeId,C,m),E){for(const X in E)X!=="value"&&!Ct(X)&&i(x,X,null,E[X],w,u.children,m,_,Re);"value"in E&&i(x,"value",null,E.value,w),(y=E.onVnodeBeforeMount)&&Ae(y,m,u)}D&&et(u,null,m,"beforeMount");const B=El(_,R);B&&R.beforeEnter(x),s(x,a,p),((y=E&&E.onVnodeMounted)||B||D)&&he(()=>{y&&Ae(y,m,u),B&&R.enter(x),D&&et(u,null,m,"mounted")},_)},G=(u,a,p,m,_)=>{if(p&&b(u,p),m)for(let w=0;w{for(let y=x;y{const v=a.el=u.el;let{patchFlag:x,dynamicChildren:y,dirs:E}=a;x|=u.patchFlag&16;const L=u.props||Q,R=a.props||Q;let D;if(p&&tt(p,!1),(D=R.onVnodeBeforeUpdate)&&Ae(D,p,a,u),E&&et(a,u,p,"beforeUpdate"),p&&tt(p,!0),y?S(u.dynamicChildren,y,v,p,m,Un(a,_),w):C||Y(u,a,v,null,p,m,Un(a,_),w,!1),x>0){if(x&16)j(v,a,L,R,p,m,_);else if(x&2&&L.class!==R.class&&i(v,"class",null,R.class,_),x&4&&i(v,"style",L.style,R.style,_),x&8){const B=a.dynamicProps;for(let X=0;X{D&&Ae(D,p,a,u),E&&et(a,u,p,"updated")},m)},S=(u,a,p,m,_,w,C)=>{for(let v=0;v{if(p!==m){if(p!==Q)for(const v in p)!Ct(v)&&!(v in m)&&i(u,v,p[v],null,C,a.children,_,w,Re);for(const v in m){if(Ct(v))continue;const x=m[v],y=p[v];x!==y&&v!=="value"&&i(u,v,y,x,C,a.children,_,w,Re)}"value"in m&&i(u,"value",p.value,m.value,C)}},T=(u,a,p,m,_,w,C,v,x)=>{const y=a.el=u?u.el:l(""),E=a.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:R,slotScopeIds:D}=a;D&&(v=v?v.concat(D):D),u==null?(s(y,p,m),s(E,p,m),W(a.children||[],p,E,_,w,C,v,x)):L>0&&L&64&&R&&u.dynamicChildren?(S(u.dynamicChildren,R,p,_,w,C,v),(a.key!=null||_&&a===_.subTree)&&xs(u,a,!0)):Y(u,a,p,E,_,w,C,v,x)},Z=(u,a,p,m,_,w,C,v,x)=>{a.slotScopeIds=v,u==null?a.shapeFlag&512?_.ctx.activate(a,p,m,C,x):ue(a,p,m,_,w,C,x):Qe(u,a,x)},ue=(u,a,p,m,_,w,C)=>{const v=u.component=Gl(u,m,_);if(Ln(u)&&(v.ctx.renderer=yt),Jl(v),v.asyncDep){if(_&&_.registerDep(v,se,C),!u.el){const x=v.subTree=de(pe);H(null,x,a,p)}}else se(v,u,a,p,_,w,C)},Qe=(u,a,p)=>{const m=a.component=u.component;if(Qo(u,a,p))if(m.asyncDep&&!m.asyncResolved){ee(m,a,p);return}else m.next=a,Wo(m.update),m.effect.dirty=!0,m.update();else a.el=u.el,m.vnode=a},se=(u,a,p,m,_,w,C)=>{const v=()=>{if(u.isMounted){let{next:E,bu:L,u:R,parent:D,vnode:B}=u;{const ft=xi(u);if(ft){E&&(E.el=B.el,ee(u,E,C)),ft.asyncDep.then(()=>{u.isUnmounted||v()});return}}let X=E,J;tt(u,!1),E?(E.el=B.el,ee(u,E,C)):E=B,L&&en(L),(J=E.props&&E.props.onVnodeBeforeUpdate)&&Ae(J,D,E,B),tt(u,!0);const re=Kn(u),xe=u.subTree;u.subTree=re,A(xe,re,h(xe.el),Ut(xe),u,_,w),E.el=re.el,X===null&&Xo(u,re.el),R&&he(R,_),(J=E.props&&E.props.onVnodeUpdated)&&he(()=>Ae(J,D,E,B),_)}else{let E;const{el:L,props:R}=a,{bm:D,m:B,parent:X}=u,J=Tt(a);if(tt(u,!1),D&&en(D),!J&&(E=R&&R.onVnodeBeforeMount)&&Ae(E,X,a),tt(u,!0),L&&Is){const re=()=>{u.subTree=Kn(u),Is(L,u.subTree,u,_,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&re()):re()}else{const re=u.subTree=Kn(u);A(null,re,p,m,u,_,w),a.el=re.el}if(B&&he(B,_),!J&&(E=R&&R.onVnodeMounted)){const re=a;he(()=>Ae(E,X,re),_)}(a.shapeFlag&256||X&&Tt(X.vnode)&&X.vnode.shapeFlag&256)&&u.a&&he(u.a,_),u.isMounted=!0,a=p=m=null}},x=u.effect=new fs(v,ve,()=>bs(y),u.scope),y=u.update=()=>{x.dirty&&x.run()};y.id=u.uid,tt(u,!0),y()},ee=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,bl(u,a.props,m,p),xl(u,a.children,p),Ye(),Us(u),Ve()},Y=(u,a,p,m,_,w,C,v,x=!1)=>{const y=u&&u.children,E=u?u.shapeFlag:0,L=a.children,{patchFlag:R,shapeFlag:D}=a;if(R>0){if(R&128){Bt(y,L,p,m,_,w,C,v,x);return}else if(R&256){Xe(y,L,p,m,_,w,C,v,x);return}}D&8?(E&16&&Re(y,_,w),L!==y&&d(p,L)):E&16?D&16?Bt(y,L,p,m,_,w,C,v,x):Re(y,_,w,!0):(E&8&&d(p,""),D&16&&W(L,p,m,_,w,C,v,x))},Xe=(u,a,p,m,_,w,C,v,x)=>{u=u||at,a=a||at;const y=u.length,E=a.length,L=Math.min(y,E);let R;for(R=0;RE?Re(u,_,w,!0,!1,L):W(a,p,m,_,w,C,v,x,L)},Bt=(u,a,p,m,_,w,C,v,x)=>{let y=0;const E=a.length;let L=u.length-1,R=E-1;for(;y<=L&&y<=R;){const D=u[y],B=a[y]=x?Ue(a[y]):Oe(a[y]);if(it(D,B))A(D,B,p,null,_,w,C,v,x);else break;y++}for(;y<=L&&y<=R;){const D=u[L],B=a[R]=x?Ue(a[R]):Oe(a[R]);if(it(D,B))A(D,B,p,null,_,w,C,v,x);else break;L--,R--}if(y>L){if(y<=R){const D=R+1,B=DR)for(;y<=L;)Ee(u[y],_,w,!0),y++;else{const D=y,B=y,X=new Map;for(y=B;y<=R;y++){const me=a[y]=x?Ue(a[y]):Oe(a[y]);me.key!=null&&X.set(me.key,y)}let J,re=0;const xe=R-B+1;let ft=!1,Fs=0;const bt=new Array(xe);for(y=0;y=xe){Ee(me,_,w,!0);continue}let Te;if(me.key!=null)Te=X.get(me.key);else for(J=B;J<=R;J++)if(bt[J-B]===0&&it(me,a[J])){Te=J;break}Te===void 0?Ee(me,_,w,!0):(bt[Te-B]=y+1,Te>=Fs?Fs=Te:ft=!0,A(me,a[Te],p,null,_,w,C,v,x),re++)}const Rs=ft?Tl(bt):at;for(J=Rs.length-1,y=xe-1;y>=0;y--){const me=B+y,Te=a[me],Ls=me+1{const{el:w,type:C,transition:v,children:x,shapeFlag:y}=u;if(y&6){Ze(u.component.subTree,a,p,m);return}if(y&128){u.suspense.move(a,p,m);return}if(y&64){C.move(u,a,p,yt);return}if(C===be){s(w,a,p);for(let L=0;Lv.enter(w),_);else{const{leave:L,delayLeave:R,afterLeave:D}=v,B=()=>s(w,a,p),X=()=>{L(w,()=>{B(),D&&D()})};R?R(w,B,X):X()}else s(w,a,p)},Ee=(u,a,p,m=!1,_=!1)=>{const{type:w,props:C,ref:v,children:x,dynamicChildren:y,shapeFlag:E,patchFlag:L,dirs:R,memoIndex:D}=u;if(L===-2&&(_=!1),v!=null&&ns(v,null,p,u,!0),D!=null&&(a.renderCache[D]=void 0),E&256){a.ctx.deactivate(u);return}const B=E&1&&R,X=!Tt(u);let J;if(X&&(J=C&&C.onVnodeBeforeUnmount)&&Ae(J,a,u),E&6)ki(u.component,p,m);else{if(E&128){u.suspense.unmount(p,m);return}B&&et(u,null,a,"beforeUnmount"),E&64?u.type.remove(u,a,p,yt,m):y&&(w!==be||L>0&&L&64)?Re(y,a,p,!1,!0):(w===be&&L&384||!_&&E&16)&&Re(x,a,p),m&&As(u)}(X&&(J=C&&C.onVnodeUnmounted)||B)&&he(()=>{J&&Ae(J,a,u),B&&et(u,null,a,"unmounted")},p)},As=u=>{const{type:a,el:p,anchor:m,transition:_}=u;if(a===be){Ji(p,m);return}if(a===nn){N(u);return}const w=()=>{r(p),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:C,delayLeave:v}=_,x=()=>C(p,w);v?v(u.el,w,x):x()}else w()},Ji=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},ki=(u,a,p)=>{const{bum:m,scope:_,update:w,subTree:C,um:v,m:x,a:y}=u;Zs(x),Zs(y),m&&en(m),_.stop(),w&&(w.active=!1,Ee(C,u,a,p)),v&&he(v,a),he(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},Re=(u,a,p,m=!1,_=!1,w=0)=>{for(let C=w;Cu.shapeFlag&6?Ut(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el);let jn=!1;const Os=(u,a,p)=>{u==null?a._vnode&&Ee(a._vnode,null,null,!0):A(a._vnode||null,u,a,null,null,null,p),jn||(jn=!0,Us(),ni(),jn=!1),a._vnode=u},yt={p:A,um:Ee,m:Ze,r:As,mt:ue,mc:W,pc:Y,pbc:S,n:Ut,o:e};let Ms,Is;return{render:Os,hydrate:Ms,createApp:ml(Os,Ms)}}function Un({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function El(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xs(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function xi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xi(t)}function Zs(e){if(e)for(let t=0;ttn(Al);function Ci(e,t){return Rn(e,null,t)}function Ml(e,t){return Rn(e,null,{flush:"sync"})}const kt={};function Ge(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:l}=Q){if(t&&i){const M=t;t=(...G)=>{M(...G),K()}}const c=oe,f=M=>s===!0?M:We(M,s===!1?1:void 0);let d,h=!1,g=!1;if(le(e)?(d=()=>e.value,h=cn(e)):St(e)?(d=()=>f(e),h=!0):F(e)?(g=!0,h=e.some(M=>St(M)||cn(M)),d=()=>e.map(M=>{if(le(M))return M.value;if(St(M))return f(M);if($(M))return qe(M,c,2)})):$(e)?t?d=()=>qe(e,c,2):d=()=>(b&&b(),we(e,c,3,[I])):d=ve,t&&s){const M=d;d=()=>We(M())}let b,I=M=>{b=O.onStop=()=>{qe(M,c,4),b=O.onStop=void 0}},A;if(Nn)if(I=ve,t?n&&we(t,c,3,[d(),g?[]:void 0,I]):d(),r==="sync"){const M=Ol();A=M.__watcherHandles||(M.__watcherHandles=[])}else return ve;let U=g?new Array(e.length).fill(kt):kt;const H=()=>{if(!(!O.active||!O.dirty))if(t){const M=O.run();(s||h||(g?M.some((G,W)=>Fe(G,U[W])):Fe(M,U)))&&(b&&b(),we(t,c,3,[M,U===kt?void 0:g&&U[0]===kt?[]:U,I]),U=M)}else O.run()};H.allowRecurse=!!t;let P;r==="sync"?P=H:r==="post"?P=()=>he(H,c&&c.suspense):(H.pre=!0,c&&(H.id=c.uid),P=()=>bs(H));const O=new fs(d,ve,P),N=Lr(),K=()=>{O.stop(),N&&cs(N.effects,O)};return t?n?H():U=O.run():r==="post"?he(O.run.bind(O),c&&c.suspense):O.run(),A&&A.push(K),K}function Il(e,t,n){const s=this.proxy,r=te(e)?e.includes(".")?Si(s,e):()=>s[e]:e.bind(s,s);let i;$(t)?i=t:(i=t.handler,n=t);const o=Kt(this),l=Rn(r,i.bind(s),n);return o(),l}function Si(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{We(s,t,n)});else if(Ar(e)){for(const s in e)We(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&We(e[s],t,n)}return e}const Ln=e=>e.type.__isKeepAlive;function Fl(e,t){Ei(e,"a",t)}function Rl(e,t){Ei(e,"da",t)}function Ei(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(In(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ln(r.parent.vnode)&&Ll(s,t,n,r),r=r.parent}}function Ll(e,t,n,s){const r=In(t,e,s,!0);ui(()=>{cs(s[t],r)},n)}const Be=Symbol("_leaveCb"),Yt=Symbol("_enterCb");function Pl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn(()=>{e.isMounted=!0}),ci(()=>{e.isUnmounting=!0}),e}const ye=[Function,Array],Ti={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ye,onEnter:ye,onAfterEnter:ye,onEnterCancelled:ye,onBeforeLeave:ye,onLeave:ye,onAfterLeave:ye,onLeaveCancelled:ye,onBeforeAppear:ye,onAppear:ye,onAfterAppear:ye,onAppearCancelled:ye},Ai=e=>{const t=e.subTree;return t.component?Ai(t.component):t},Nl={name:"BaseTransition",props:Ti,setup(e,{slots:t}){const n=mt(),s=Pl();return()=>{const r=t.default&&Mi(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const g of r)if(g.type!==pe){i=g;break}}const o=q(e),{mode:l}=o;if(s.isLeaving)return Wn(i);const c=er(i);if(!c)return Wn(i);let f=ss(c,o,s,n,g=>f=g);an(c,f);const d=n.subTree,h=d&&er(d);if(h&&h.type!==pe&&!it(c,h)&&Ai(n).type!==pe){const g=ss(h,o,s,n);if(an(h,g),l==="out-in"&&c.type!==pe)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Wn(i);l==="in-out"&&c.type!==pe&&(g.delayLeave=(b,I,A)=>{const U=Oi(s,h);U[String(h.key)]=h,b[Be]=()=>{I(),b[Be]=void 0,delete f.delayedLeave},f.delayedLeave=A})}return i}}},Vl=Nl;function Oi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ss(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:I,onLeaveCancelled:A,onBeforeAppear:U,onAppear:H,onAfterAppear:P,onAppearCancelled:O}=t,N=String(e.key),K=Oi(n,e),M=(V,S)=>{V&&we(V,s,9,S)},G=(V,S)=>{const j=S[1];M(V,S),F(V)?V.every(T=>T.length<=1)&&j():V.length<=1&&j()},W={mode:o,persisted:l,beforeEnter(V){let S=c;if(!n.isMounted)if(i)S=U||c;else return;V[Be]&&V[Be](!0);const j=K[N];j&&it(e,j)&&j.el[Be]&&j.el[Be](),M(S,[V])},enter(V){let S=f,j=d,T=h;if(!n.isMounted)if(i)S=H||f,j=P||d,T=O||h;else return;let Z=!1;const ue=V[Yt]=Qe=>{Z||(Z=!0,Qe?M(T,[V]):M(j,[V]),W.delayedLeave&&W.delayedLeave(),V[Yt]=void 0)};S?G(S,[V,ue]):ue()},leave(V,S){const j=String(e.key);if(V[Yt]&&V[Yt](!0),n.isUnmounting)return S();M(g,[V]);let T=!1;const Z=V[Be]=ue=>{T||(T=!0,S(),ue?M(A,[V]):M(I,[V]),V[Be]=void 0,K[j]===e&&delete K[j])};K[j]=e,b?G(b,[V,Z]):Z()},clone(V){const S=ss(V,t,n,s,r);return r&&r(S),S}};return W}function Wn(e){if(Ln(e))return e=Je(e),e.children=null,e}function er(e){if(!Ln(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function an(e,t){e.shapeFlag&6&&e.component?an(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mi(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;ie.__isTeleport,Mt=e=>e&&(e.disabled||e.disabled===""),tr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,rs=(e,t)=>{const n=e&&e.to;return te(n)?t?t(n):null:n},jl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:d,pc:h,pbc:g,o:{insert:b,querySelector:I,createText:A,createComment:U}}=f,H=Mt(t.props);let{shapeFlag:P,children:O,dynamicChildren:N}=t;if(e==null){const K=t.el=A(""),M=t.anchor=A("");b(K,n,s),b(M,n,s);const G=t.target=rs(t.props,I),W=t.targetAnchor=A("");G&&(b(W,G),o==="svg"||tr(G)?o="svg":(o==="mathml"||nr(G))&&(o="mathml"));const V=(S,j)=>{P&16&&d(O,S,j,r,i,o,l,c)};H?V(n,M):G&&V(G,W)}else{t.el=e.el;const K=t.anchor=e.anchor,M=t.target=e.target,G=t.targetAnchor=e.targetAnchor,W=Mt(e.props),V=W?n:M,S=W?K:G;if(o==="svg"||tr(M)?o="svg":(o==="mathml"||nr(M))&&(o="mathml"),N?(g(e.dynamicChildren,N,V,r,i,o,l),xs(e,t,!0)):c||h(e,t,V,S,r,i,o,l,!1),H)W?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Qt(t,n,K,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=rs(t.props,I);j&&Qt(t,j,null,f,0)}else W&&Qt(t,M,G,f,1)}Ii(t)},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetAnchor:f,target:d,props:h}=e;if(d&&r(f),i&&r(c),o&16){const g=i||!Mt(h);for(let b=0;b0?Ce||at:null,Hl(),Vt>0&&Ce&&Ce.push(e),e}function _u(e,t,n,s,r,i){return Ri(Ni(e,t,n,s,r,i,!0))}function Li(e,t,n,s,r){return Ri(de(e,t,n,s,r,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function it(e,t){return e.type===t.type&&e.key===t.key}const Pi=({key:e})=>e??null,sn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||le(e)||$(e)?{i:ie,r:e,k:t,f:!!n}:e:null);function Ni(e,t=null,n=null,s=0,r=null,i=e===be?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pi(t),ref:t&&sn(t),scopeId:Mn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ie};return l?(Cs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=te(n)?8:16),Vt>0&&!o&&Ce&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ce.push(c),c}const de=Kl;function Kl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===oi)&&(e=pe),dn(e)){const l=Je(e,t,!0);return n&&Cs(l,n),Vt>0&&!i&&Ce&&(l.shapeFlag&6?Ce[Ce.indexOf(e)]=l:Ce.push(l)),l.patchFlag=-2,l}if(Xl(e)&&(e=e.__vccOpts),t){t=Bl(t);let{class:l,style:c}=t;l&&!te(l)&&(t.class=xn(l)),k(c)&&(Gr(c)&&!F(c)&&(c=ne({},c)),t.style=wn(c))}const o=te(e)?1:el(e)?128:$l(e)?64:k(e)?4:$(e)?2:0;return Ni(e,t,n,s,r,o,i,!0)}function Bl(e){return e?Gr(e)||mi(e)?ne({},e):e:null}function Je(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Wl(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Pi(f),ref:t&&t.ref?n&&i?F(i)?i.concat(sn(t)):[i,sn(t)]:sn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&an(d,c.clone(d)),d}function Ul(e=" ",t=0){return de(Pn,null,e,t)}function yu(e,t){const n=de(nn,null,e);return n.staticCount=t,n}function bu(e="",t=!1){return t?(Fi(),Li(pe,null,e)):de(pe,null,e)}function Oe(e){return e==null||typeof e=="boolean"?de(pe):F(e)?de(be,null,e.slice()):typeof e=="object"?Ue(e):de(Pn,null,String(e))}function Ue(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Cs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Cs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!mi(t)?t._ctx=ie:r===3&&ie&&(ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:ie},n=32):(t=String(t),s&64?(n=16,t=[Ul(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wl(...e){const t={};for(let n=0;noe||ie;let hn,is;{const e=Mr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};hn=t("__VUE_INSTANCE_SETTERS__",n=>oe=n),is=t("__VUE_SSR_SETTERS__",n=>Nn=n)}const Kt=e=>{const t=oe;return hn(e),e.scope.on(),()=>{e.scope.off(),hn(t)}},rr=()=>{oe&&oe.scope.off(),hn(null)};function Vi(e){return e.vnode.shapeFlag&4}let Nn=!1;function Jl(e,t=!1){t&&is(t);const{props:n,children:s}=e.vnode,r=Vi(e);yl(e,n,r,t),wl(e,s);const i=r?kl(e,t):void 0;return t&&is(!1),i}function kl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ul);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ji(e):null,i=Kt(e);Ye();const o=qe(s,e,0,[e.props,r]);if(Ve(),i(),Er(o)){if(o.then(rr,rr),t)return o.then(l=>{ir(e,l,t)}).catch(l=>{An(l,e,0)});e.asyncDep=o}else ir(e,o,t)}else $i(e,t)}function ir(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:k(t)&&(e.setupState=Qr(t)),$i(e,n)}let or;function $i(e,t,n){const s=e.type;if(!e.render){if(!t&&or&&!s.render){const r=s.template||vs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ne(ne({isCustomElement:i,delimiters:l},o),c);s.render=or(r,f)}}e.render=s.render||ve}{const r=Kt(e);Ye();try{fl(e)}finally{Ve(),r()}}}const Yl={get(e,t){return ge(e,"get",""),e[t]}};function ji(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Yl),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qr(Po(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in At)return At[n](e)},has(t,n){return n in t||n in At}})):e.proxy}function Ql(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function Xl(e){return $(e)&&"__vccOpts"in e}const Ne=(e,t)=>No(e,t,Nn);function vu(e,t,n=Q){const s=mt(),r=Se(t),i=ke(t),o=Xr((c,f)=>{let d;return Ml(()=>{const h=e[t];Fe(d,h)&&(d=h,f())}),{get(){return c(),n.get?n.get(d):d},set(h){const g=s.vnode.props;!(g&&(t in g||r in g||i in g)&&(`onUpdate:${t}`in g||`onUpdate:${r}`in g||`onUpdate:${i}`in g))&&Fe(h,d)&&(d=h,f()),s.emit(`update:${t}`,n.set?n.set(h):h)}}}),l=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return o[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[l]||{}:o,done:!1}:{done:!0}}}},o}function Zl(e,t,n){const s=arguments.length;return s===2?k(t)&&!F(t)?dn(t)?de(e,null,[t]):de(e,t):de(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&dn(n)&&(n=[n]),de(e,t,n))}const ec="3.4.30";/** +* @vue/runtime-dom v3.4.30 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const tc="http://www.w3.org/2000/svg",nc="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,lr=Le&&Le.createElement("template"),sc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Le.createElementNS(tc,e):t==="mathml"?Le.createElementNS(nc,e):n?Le.createElement(e,{is:n}):Le.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{lr.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=lr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},De="transition",vt="animation",$t=Symbol("_vtc"),Di=(e,{slots:t})=>Zl(Vl,rc(e),t);Di.displayName="Transition";const Hi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Di.props=ne({},Ti,Hi);const nt=(e,t=[])=>{F(e)?e.forEach(n=>n(...t)):e&&e(...t)},cr=e=>e?F(e)?e.some(t=>t.length>1):e.length>1:!1;function rc(e){const t={};for(const T in e)T in Hi||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,I=ic(r),A=I&&I[0],U=I&&I[1],{onBeforeEnter:H,onEnter:P,onEnterCancelled:O,onLeave:N,onLeaveCancelled:K,onBeforeAppear:M=H,onAppear:G=P,onAppearCancelled:W=O}=t,V=(T,Z,ue)=>{st(T,Z?d:l),st(T,Z?f:o),ue&&ue()},S=(T,Z)=>{T._isLeaving=!1,st(T,h),st(T,b),st(T,g),Z&&Z()},j=T=>(Z,ue)=>{const Qe=T?G:P,se=()=>V(Z,T,ue);nt(Qe,[Z,se]),ur(()=>{st(Z,T?c:i),He(Z,T?d:l),cr(Qe)||fr(Z,s,A,se)})};return ne(t,{onBeforeEnter(T){nt(H,[T]),He(T,i),He(T,o)},onBeforeAppear(T){nt(M,[T]),He(T,c),He(T,f)},onEnter:j(!1),onAppear:j(!0),onLeave(T,Z){T._isLeaving=!0;const ue=()=>S(T,Z);He(T,h),He(T,g),cc(),ur(()=>{T._isLeaving&&(st(T,h),He(T,b),cr(N)||fr(T,s,U,ue))}),nt(N,[T,ue])},onEnterCancelled(T){V(T,!1),nt(O,[T])},onAppearCancelled(T){V(T,!0),nt(W,[T])},onLeaveCancelled(T){S(T),nt(K,[T])}})}function ic(e){if(e==null)return null;if(k(e))return[zn(e.enter),zn(e.leave)];{const t=zn(e);return[t,t]}}function zn(e){return to(e)}function He(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$t]||(e[$t]=new Set)).add(t)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[$t];n&&(n.delete(t),n.size||(e[$t]=void 0))}function ur(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let oc=0;function fr(e,t,n,s){const r=e._endId=++oc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=lc(e,t);if(!o)return s();const f=o+"end";let d=0;const h=()=>{e.removeEventListener(f,g),i()},g=b=>{b.target===e&&++d>=c&&h()};setTimeout(()=>{d(n[I]||"").split(", "),r=s(`${De}Delay`),i=s(`${De}Duration`),o=ar(r,i),l=s(`${vt}Delay`),c=s(`${vt}Duration`),f=ar(l,c);let d=null,h=0,g=0;t===De?o>0&&(d=De,h=o,g=i.length):t===vt?f>0&&(d=vt,h=f,g=c.length):(h=Math.max(o,f),d=h>0?o>f?De:vt:null,g=d?d===De?i.length:c.length:0);const b=d===De&&/\b(transform|all)(,|$)/.test(s(`${De}Property`).toString());return{type:d,timeout:h,propCount:g,hasTransform:b}}function ar(e,t){for(;e.lengthdr(n)+dr(e[s])))}function dr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function cc(){return document.body.offsetHeight}function uc(e,t,n){const s=e[$t];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const pn=Symbol("_vod"),Ki=Symbol("_vsh"),wu={beforeMount(e,{value:t},{transition:n}){e[pn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):wt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),wt(e,!0),s.enter(e)):s.leave(e,()=>{wt(e,!1)}):wt(e,t))},beforeUnmount(e,{value:t}){wt(e,t)}};function wt(e,t){e.style.display=t?e[pn]:"none",e[Ki]=!t}const fc=Symbol(""),ac=/(^|;)\s*display\s*:/;function dc(e,t,n){const s=e.style,r=te(n);let i=!1;if(n&&!r){if(t)if(te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&rn(s,l,"")}else for(const o in t)n[o]==null&&rn(s,o,"");for(const o in n)o==="display"&&(i=!0),rn(s,o,n[o])}else if(r){if(t!==n){const o=s[fc];o&&(n+=";"+o),s.cssText=n,i=ac.test(n)}}else t&&e.removeAttribute("style");pn in e&&(e[pn]=i?s.display:"",e[Ki]&&(s.display="none"))}const hr=/\s*!important$/;function rn(e,t,n){if(F(n))n.forEach(s=>rn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hc(e,t);hr.test(n)?e.setProperty(ke(s),n.replace(hr,""),"important"):e[s]=n}}const pr=["Webkit","Moz","ms"],qn={};function hc(e,t){const n=qn[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return qn[t]=s;s=vn(s);for(let r=0;rGn||(yc.then(()=>Gn=0),Gn=Date.now());function vc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;we(wc(s,n.value),t,5,[s])};return n.value=e,n.attached=bc(),n}function wc(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xc=(e,t,n,s,r,i,o,l,c)=>{const f=r==="svg";t==="class"?uc(e,s,f):t==="style"?dc(e,n,s):_n(t)?ls(t)||mc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cc(e,t,s,f))?(pc(e,t,s,i,o,l,c),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&mr(e,t,s,f,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),mr(e,t,s,f))};function Cc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&br(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return br(t)&&te(n)?!1:t in e}const gn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return F(t)?n=>en(t,n):t};function Sc(e){e.target.composing=!0}function vr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pt=Symbol("_assign"),xu={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[pt]=gn(r);const i=s||r.props&&r.props.type==="number";ot(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=on(l)),e[pt](l)}),n&&ot(e,"change",()=>{e.value=e.value.trim()}),t||(ot(e,"compositionstart",Sc),ot(e,"compositionend",vr),ot(e,"change",vr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[pt]=gn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?on(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Cu={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=yn(t);ot(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?on(mn(o)):mn(o));e[pt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Ht(()=>{e._assigning=!1})}),e[pt]=gn(s)},mounted(e,{value:t,modifiers:{number:n}}){wr(e,t)},beforeUpdate(e,t,n){e[pt]=gn(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||wr(e,t)}};function wr(e,t,n){const s=e.multiple,r=F(t);if(!(s&&!r&&!yn(t))){for(let i=0,o=e.options.length;iString(d)===String(c)):l.selected=uo(t,c)>-1}else l.selected=t.has(c);else if(Cn(mn(l),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function mn(e){return"_value"in e?e._value:e.value}const Ec=["ctrl","shift","alt","meta"],Tc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ec.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=ke(r.key);if(t.some(o=>o===i||Ac[o]===i))return e(r)})},Oc=ne({patchProp:xc},sc);let xr;function Mc(){return xr||(xr=Cl(Oc))}const Tu=(...e)=>{const t=Mc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Fc(s);if(!r)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,Ic(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Ic(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Fc(e){return te(e)?document.querySelector(e):e}function Ss(e){return Lr()?(ao(e),!0):!1}function _t(e){return typeof e=="function"?e():_s(e)}const $n=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Rc=e=>typeof e<"u",Lc=Object.prototype.toString,Pc=e=>Lc.call(e)==="[object Object]",Es=()=>{};function Nc(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Bi=e=>e();function Vc(e=Bi){const t=ce(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Dt(t),pause:n,resume:s,eventFilter:r}}function $c(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function jc(e){return mt()}function Dc(...e){if(e.length!==1)return Ko(...e);const t=e[0];return typeof t=="function"?Dt(Xr(()=>({get:t,set:Es}))):ce(t)}function Hc(e,t,n={}){const{eventFilter:s=Bi,...r}=n;return Ge(e,Nc(s,t),r)}function Kc(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Vc(s);return{stop:Hc(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function Ui(e,t=!0,n){jc()?Fn(e,n):t?e():Ht(e)}function Bc(e,t,n={}){const{immediate:s=!0}=n,r=ce(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function l(){r.value=!1,o()}function c(...f){o(),r.value=!0,i=setTimeout(()=>{r.value=!1,i=null,e(...f)},_t(t))}return s&&(r.value=!0,$n&&c()),Ss(l),{isPending:Dt(r),start:c,stop:l}}function Au(e,t,n){let s;le(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Es}=s,c=ce(!r),f=o?kr(t):ce(t);let d=0;return Ci(async h=>{if(!c.value)return;d++;const g=d;let b=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const I=await e(A=>{h(()=>{i&&(i.value=!1),b||A()})});g===d&&(f.value=I)}catch(I){l(I)}finally{i&&g===d&&(i.value=!1),b=!0}}),r?Ne(()=>(c.value=!0,f.value)):f}function Wi(e){var t;const n=_t(e);return(t=n==null?void 0:n.$el)!=null?t:n}const gt=$n?window:void 0,Uc=$n?window.document:void 0,zi=$n?window.navigator:void 0;function ut(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=gt):[t,n,s,r]=e,!t)return Es;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(d=>d()),i.length=0},l=(d,h,g,b)=>(d.addEventListener(h,g,b),()=>d.removeEventListener(h,g,b)),c=Ge(()=>[Wi(t),_t(r)],([d,h])=>{if(o(),!d)return;const g=Pc(h)?{...h}:h;i.push(...n.flatMap(b=>s.map(I=>l(d,b,I,g))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return Ss(f),f}function Wc(){const e=ce(!1),t=mt();return t&&Fn(()=>{e.value=!0},t),e}function Ts(e){const t=Wc();return Ne(()=>(t.value,!!e()))}function qi(e,t={}){const{window:n=gt}=t,s=Ts(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ce(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=Ci(()=>{s.value&&(l(),r=n.matchMedia(_t(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return Ss(()=>{c(),l(),r=void 0}),i}function Cr(e,t={}){const{controls:n=!1,navigator:s=zi}=t,r=Ts(()=>s&&"permissions"in s);let i;const o=typeof e=="string"?{name:e}:e,l=ce(),c=()=>{i&&(l.value=i.state)},f=$c(async()=>{if(r.value){if(!i)try{i=await s.permissions.query(o),ut(i,"change",c),c()}catch{l.value="prompt"}return i}});return f(),n?{state:l,isSupported:r,query:f}:l}function Ou(e={}){const{navigator:t=zi,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=Ts(()=>t&&"clipboard"in t),l=Cr("clipboard-read"),c=Cr("clipboard-write"),f=Ne(()=>o.value||i),d=ce(""),h=ce(!1),g=Bc(()=>h.value=!1,r);function b(){o.value&&H(l.value)?t.clipboard.readText().then(P=>{d.value=P}):d.value=U()}f.value&&n&&ut(["copy","cut"],b);async function I(P=_t(s)){f.value&&P!=null&&(o.value&&H(c.value)?await t.clipboard.writeText(P):A(P),d.value=P,h.value=!0,g.start())}function A(P){const O=document.createElement("textarea");O.value=P??"",O.style.position="absolute",O.style.opacity="0",document.body.appendChild(O),O.select(),document.execCommand("copy"),O.remove()}function U(){var P,O,N;return(N=(O=(P=document==null?void 0:document.getSelection)==null?void 0:P.call(document))==null?void 0:O.toString())!=null?N:""}function H(P){return P==="granted"||P==="prompt"}return{isSupported:f,text:d,copied:h,copy:I}}function zc(e){return JSON.parse(JSON.stringify(e))}const Xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zt="__vueuse_ssr_handlers__",qc=Gc();function Gc(){return Zt in Xt||(Xt[Zt]=Xt[Zt]||{}),Xt[Zt]}function Gi(e,t){return qc[e]||t}function Jc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const kc={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Sr="vueuse-storage";function Yc(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:d,window:h=gt,eventFilter:g,onError:b=S=>{console.error(S)},initOnMounted:I}=s,A=(d?kr:ce)(typeof t=="function"?t():t);if(!n)try{n=Gi("getDefaultStorage",()=>{var S;return(S=gt)==null?void 0:S.localStorage})()}catch(S){b(S)}if(!n)return A;const U=_t(t),H=Jc(U),P=(r=s.serializer)!=null?r:kc[H],{pause:O,resume:N}=Kc(A,()=>M(A.value),{flush:i,deep:o,eventFilter:g});h&&l&&Ui(()=>{ut(h,"storage",W),ut(h,Sr,V),I&&W()}),I||W();function K(S,j){h&&h.dispatchEvent(new CustomEvent(Sr,{detail:{key:e,oldValue:S,newValue:j,storageArea:n}}))}function M(S){try{const j=n.getItem(e);if(S==null)K(j,null),n.removeItem(e);else{const T=P.write(S);j!==T&&(n.setItem(e,T),K(j,T))}}catch(j){b(j)}}function G(S){const j=S?S.newValue:n.getItem(e);if(j==null)return c&&U!=null&&n.setItem(e,P.write(U)),U;if(!S&&f){const T=P.read(j);return typeof f=="function"?f(T,U):H==="object"&&!Array.isArray(T)?{...U,...T}:T}else return typeof j!="string"?j:P.read(j)}function W(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){A.value=U;return}if(!(S&&S.key!==e)){O();try{(S==null?void 0:S.newValue)!==P.write(A.value)&&(A.value=G(S))}catch(j){b(j)}finally{S?Ht(N):N()}}}}function V(S){W(S.detail)}return A}function Qc(e){return qi("(prefers-color-scheme: dark)",e)}function Mu(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=gt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:d=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Qc({window:r}),b=Ne(()=>g.value?"dark":"light"),I=c||(o==null?Dc(s):Yc(o,s,i,{window:r,listenToStorageChanges:l})),A=Ne(()=>I.value==="auto"?b.value:I.value),U=Gi("updateHTMLAttrs",(N,K,M)=>{const G=typeof N=="string"?r==null?void 0:r.document.querySelector(N):Wi(N);if(!G)return;let W;if(d&&(W=r.document.createElement("style"),W.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),r.document.head.appendChild(W)),K==="class"){const V=M.split(/\s/g);Object.values(h).flatMap(S=>(S||"").split(/\s/g)).filter(Boolean).forEach(S=>{V.includes(S)?G.classList.add(S):G.classList.remove(S)})}else G.setAttribute(K,M);d&&(r.getComputedStyle(W).opacity,document.head.removeChild(W))});function H(N){var K;U(t,n,(K=h[N])!=null?K:N)}function P(N){e.onChanged?e.onChanged(N,H):H(N)}Ge(A,P,{flush:"post",immediate:!0}),Ui(()=>P(A.value));const O=Ne({get(){return f?I.value:A.value},set(N){I.value=N}});try{return Object.assign(O,{store:I,system:b,state:A})}catch{return O}}function Iu(e={}){const{document:t=Uc}=e;if(!t)return ce("visible");const n=ce(t.visibilityState);return ut(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Fu(e){const t=qi("(prefers-reduced-motion: reduce)",e);return Ne(()=>t.value?"reduce":"no-preference")}function Ru(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:c=!1,eventName:f,deep:d=!1,defaultValue:h,shouldEmit:g}=s,b=mt(),I=n||(b==null?void 0:b.emit)||((r=b==null?void 0:b.$emit)==null?void 0:r.bind(b))||((o=(i=b==null?void 0:b.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(b==null?void 0:b.proxy));let A=f;A=A||`update:${t.toString()}`;const U=O=>l?typeof l=="function"?l(O):zc(O):O,H=()=>Rc(e[t])?U(e[t]):h,P=O=>{g?g(O)&&I(A,O):I(A,O)};if(c){const O=H(),N=ce(O);let K=!1;return Ge(()=>e[t],M=>{K||(K=!0,N.value=U(M),Ht(()=>K=!1))}),Ge(N,M=>{!K&&(M!==e[t]||d)&&P(M)},{deep:d}),N}else return Ne({get(){return H()},set(O){P(O)}})}function Lu(e={}){const{window:t=gt}=e;if(!t)return ce(!1);const n=ce(t.document.hasFocus());return ut(t,"blur",()=>{n.value=!1}),ut(t,"focus",()=>{n.value=!0}),n}export{_l as $,kr as A,Lr as B,ao as C,tu as D,Ko as E,be as F,Se as G,pe as H,Je as I,Zl as J,su as K,Bl as L,ps as M,Su as N,Eu as O,cu as P,wu as Q,du as R,nl as S,mu as T,eu as U,Dn as V,mt as W,le as X,Cu as Y,ci as Z,tn as _,Ge as a,Xr as a0,sl as a1,rl as a2,pu as a3,Po as a4,Dt as a5,Ru as a6,xu as a7,nu as a8,Gr as a9,q as aa,gu as ab,vu as ac,ru as ad,iu as ae,lu as af,Lu as ag,Mu as ah,Di as ai,Fu as aj,yu as ak,Ou as al,Au as am,Iu as an,Tu as ao,_u as b,Ne as c,fu as d,uu as e,_s as f,Li as g,Jo as h,au as i,de as j,wn as k,Fn as l,Wl as m,xn as n,Fi as o,ui as p,bu as q,ce as r,ou as s,Ni as t,hu as u,Xc as v,Ci as w,Ul as x,Zc as y,Ht as z}; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/browserconfig.xml b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/browserconfig.xml new file mode 100644 index 0000000..3b0a805 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon-16x16.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon-16x16.png new file mode 100644 index 0000000..2bb1362 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon-16x16.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon-32x32.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon-32x32.png new file mode 100644 index 0000000..b59615c Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon-32x32.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon.ico b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon.ico new file mode 100644 index 0000000..b9bd2aa Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon.ico differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon.png new file mode 100644 index 0000000..6f7d63a Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/favicon.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_128.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_128.png new file mode 100644 index 0000000..51573f3 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_128.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_16.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_16.png new file mode 100644 index 0000000..4323ea9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_16.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_24.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_24.png new file mode 100644 index 0000000..9272849 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_24.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_32.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_32.png new file mode 100644 index 0000000..d9437ef Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_32.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_48.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_48.png new file mode 100644 index 0000000..9e9a124 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_48.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_64.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_64.png new file mode 100644 index 0000000..4150357 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_64.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_96.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_96.png new file mode 100644 index 0000000..05ed18d Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/img/icon/icon_96.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/manifest.json b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/manifest.json new file mode 100644 index 0000000..ce0d732 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/manifest.json @@ -0,0 +1,58 @@ +{ + "action": { + "default_icon": { + "128": "img/icon/icon_128.png", + "16": "img/icon/icon_16.png", + "24": "img/icon/icon_24.png", + "32": "img/icon/icon_32.png", + "48": "img/icon/icon_48.png", + "64": "img/icon/icon_64.png", + "96": "img/icon/icon_96.png" + }, + "default_title": "Clear Cache" + }, + "background": { + "service_worker": "service-worker-loader.js", + "type": "module" + }, + "commands": { + "_execute_action": { + "description": "Clear Cache", + "suggested_key": { + "default": "Ctrl+Shift+R" + } + } + }, + "content_security_policy": { + "sandbox": "sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.paddle.com https://buy.paddle.com https://clearcache.io/checkout/index.html; script-src-elem 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.paddle.com https://buy.paddle.com https://clearcache.io/checkout/index.html; child-src 'self' https://clearcache.io/checkout/index.html https://buy.paddle.com; frame-src https://clearcache.io/checkout/index.html https://buy.paddle.com;" + }, + "description": "Powerful, user-friendly browser data management, right from your toolbar.", + "icons": { + "128": "img/icon/icon_128.png", + "16": "img/icon/icon_16.png", + "24": "img/icon/icon_24.png", + "32": "img/icon/icon_32.png", + "48": "img/icon/icon_48.png", + "64": "img/icon/icon_64.png", + "96": "img/icon/icon_96.png" + }, + "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0Tx8cgLN3RHLtYSs1ZQ//YX2lD7ZwaePflRoQvJObHPmJ/cs45wckNOJnet5HxtmXacW8fDAJ7XZpLwIw+I9MWuL8FWCcNVxWo4AYzwaSw1HjR1K+GLY2A74a3siDCT0oUBSK0tp479GoojL00WMq5CcravoGQ7/7MUEHjJjT0wIDAQAB", + "manifest_version": 3, + "minimum_chrome_version": "101", + "name": "Clear Cache", + "optional_host_permissions": [ "https://*.paddle.com/" ], + "optional_permissions": [ "scripting", "tabs", "idle" ], + "options_page": "pages/options/index.html", + "permissions": [ "alarms", "activeTab", "browsingData", "declarativeNetRequestWithHostAccess", "offscreen", "storage" ], + "sandbox": { + "pages": [ "pages/sandbox/index.html" ] + }, + "update_url": "https://clients2.google.com/service/update2/crx", + "version": "2.1.10.4", + "version_name": "2.1.10-build.4", + "web_accessible_resources": [ { + "matches": [ "\u003Call_urls>" ], + "resources": [ "pages/sandbox/index.html", "pages/offscreen/sandbox/index.html", "pages/offscreen/storage/index.html" ], + "use_dynamic_url": true + } ] +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/mstile-150x150.png b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/mstile-150x150.png new file mode 100644 index 0000000..345b36b Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/mstile-150x150.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/offscreen/sandbox/index.html b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/offscreen/sandbox/index.html new file mode 100644 index 0000000..1398608 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/offscreen/sandbox/index.html @@ -0,0 +1,19 @@ + + + + + + + + + Clear Cache Offscreen Sandbox Bridge + + + + + + + + + + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/offscreen/storage/index.html b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/offscreen/storage/index.html new file mode 100644 index 0000000..03c0078 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/offscreen/storage/index.html @@ -0,0 +1,18 @@ + + + + + + + + + Clear Cache Offscreen Storage Bridge + + + + + + + + + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/options/index.html b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/options/index.html new file mode 100644 index 0000000..2c552c2 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/options/index.html @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + Clear Cache Options + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/sandbox/index.html b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/sandbox/index.html new file mode 100644 index 0000000..7720526 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/pages/sandbox/index.html @@ -0,0 +1,16 @@ + + + + + + + + Clear Cache Sandbox + + + + + + + + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/safari-pinned-tab.svg b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/safari-pinned-tab.svg new file mode 100644 index 0000000..5eb301c --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/safari-pinned-tab.svg @@ -0,0 +1,1973 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/service-worker-loader.js b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/service-worker-loader.js new file mode 100644 index 0000000..d0680ae --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/service-worker-loader.js @@ -0,0 +1 @@ +import './assets/service-worker.ts-1zxD9f1g.js'; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/site.webmanifest b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/site.webmanifest new file mode 100644 index 0000000..4490c50 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/cppjkneekbjaeellbfkmgnhonkkjfpdn/2.1.10.4_0/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Clear Cache", + "short_name": "Clear Cache", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#333333", + "background_color": "#333333", + "display": "standalone" +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.4346a07d.woff b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.4346a07d.woff new file mode 100644 index 0000000..c205e6f Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.4346a07d.woff differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.8d58b512.ttf b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.8d58b512.ttf new file mode 100644 index 0000000..bc8a269 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.8d58b512.ttf differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.a46b5122.eot b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.a46b5122.eot new file mode 100644 index 0000000..6f7b584 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.a46b5122.eot differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.a7213fa2.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.a7213fa2.svg new file mode 100644 index 0000000..e0a6666 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/Pe-icon-7-stroke.a7213fa2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/en/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/en/messages.json new file mode 100644 index 0000000..7170e48 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/en/messages.json @@ -0,0 +1,1259 @@ +{ + "_1filecouldnotberemoved": { + "description": "via js/capture/history.js", + "message": "1 file could not be removed." + }, + "_1filewassuccessfullyremoved": { + "description": "via js/capture/history.js", + "message": "1 file was successfully removed." + }, + "_ActivateallthelinksonthepagewhendownloadingasaPDFClickingonthelinkinthePDFwillopenapageinyourbrowserThisisanexperimentalfeaturethatisstillindevelopmentpleasereportanyissuestocustomersupportusingtheReportissueflagiconabove": { + "description": "via js/stores/options-store.js", + "message": "Activate all the links on the page when downloading as a PDF. Clicking on the link in the PDF will open a page in your browser.\n\n**This is an experimental feature that is still in development—please report any issues to customer support using the “Report issue” flag icon above.**" + }, + "_ActiveLinksPremium": { + "description": "via js/stores/options-store.js", + "message": "Active Links (Premium)" + }, + "_AddURLanddatePremium": { + "description": "via js/stores/options-store.js", + "message": "Add URL and date (Premium)" + }, + "_AddURLanddatetimePremium": { + "description": "via js/stores/typed-options-store.ts", + "message": "Add URL and date/time (Premium)" + }, + "_AddyourscreenshotsURLandcapturedatetimewhenexportingtoPDFfromthemainviewscreenshotpageYoucanaddURLandcapturedateintheEditorfromtheMoremenu": { + "description": "via js/stores/typed-options-store.ts", + "message": "Add your screenshot’s URL and capture date/time when exporting to PDF from the main view screenshot page. You can add URL and capture date in the Editor from the “More” menu." + }, + "_AddyourscreenshotsURLandcapturedatewhenexportingtoPDF": { + "description": "via js/stores/options-store.js", + "message": "Add your screenshot’s URL and capture date when exporting to PDF.", + "not_found": true + }, + "_AddyourscreenshotsURLandcapturedatewhenexportingtoPDFfromthemainviewscreenshotpageYoucanaddURLandcapturedateintheEditorfromtheMoremenu": { + "description": "via js/stores/options-store.js", + "message": "Add your screenshot’s URL and capture date when exporting to PDF from the main view screenshot page. You can add URL and capture date in the Editor from the “More” menu." + }, + "_Adjustrepeatingelements": { + "description": "via js/stores/options-store.js", + "message": "Adjust repeating elements" + }, + "_Advancedscrolling": { + "description": "via js/stores/options-store.js", + "message": "Advanced scrolling" + }, + "_Align": { + "description": "via editor/utils/shape-properties.ts", + "message": "Align" + }, + "_Alleditsareautosaved": { + "description": "via editor/components/Editor.js", + "message": "All edits are auto-saved" + }, + "_AndclickthepinnexttoGoFullPagesoitturnsblue": { + "description": "via js/welcome/WelcomePage.js", + "message": "And click the pin next to “GoFullPage” so it turns blue:" + }, + "_Anyissues": { + "description": "via editor/components/ReportIssue.js", + "message": "Any issues?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "via js/options/components/ToggleElts.js", + "message": "Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested." + }, + "_Areyouenjoyingthisextension": { + "description": "via capture.html", + "message": "Are you enjoying this extension?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "via js/capture/history.js", + "message": "Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)" + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "via js/capture/history.js", + "message": "Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "via js/capture/image.js", + "message": "Are you sure you want to delete this screenshot?\n(This action cannot be undone.)" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "via editor/components/ThemeDefaultsModal.js", + "message": "Are you sure you want to reset to the extension’s original theme defaults?" + }, + "_Arrow": { + "description": "via editor/components/HelpModalData.ts, editor/components/Shape.js", + "message": "Arrow" + }, + "_Autodownloadfiles": { + "description": "via js/stores/options-store.js", + "message": "Auto-download files" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "via popup.html", + "message": "Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>." + }, + "_AutomaticallydownloadyourscreenshotasanimageinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "via js/stores/options-store.js", + "message": "Automatically download your screenshot as an image instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\"." + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "via js/stores/options-store.js", + "message": "Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "not_found": true + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "via js/stores/options-store.js", + "message": "Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "not_found": true + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourbrowserssettingsthenthattakespriority": { + "description": "via js/stores/options-store.js", + "message": "Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your browser’s settings, then that takes priority." + }, + "_Backtocapturechangesareautosavedintheeditor": { + "description": "via editor/components/Header.js", + "message": "Back to capture (changes are auto-saved in the editor)" + }, + "_Blur": { + "description": "via editor/components/HelpModalData.ts, editor/components/Shape.js, editor/utils/shape-properties.ts", + "message": "Blur" + }, + "_Bold": { + "description": "via editor/utils/shape-properties.ts", + "message": "Bold" + }, + "_Bonuswehaveaddednewtimestampformatstoo": { + "description": "via editor/components/HeaderUpdatedModal.js", + "message": "Bonus: we have added new timestamp formats too!" + }, + "_Cancel": { + "description": "via popup.html", + "message": "Cancel" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "via popup.html", + "message": "Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>." + }, + "_Cannotdownloadfiles": { + "description": "via js/capture/history.js", + "message": "Cannot download files" + }, + "_Capture": { + "description": "via js/stores/options-store.js", + "message": "Capture" + }, + "_Capturedate": { + "description": "via editor/utils/shape-properties.ts", + "message": "Capture date", + "not_found": true + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "via popup.html", + "message": "Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "not_found": true + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "via js/stores/options-store.js", + "message": "Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "not_found": true + }, + "_Clickdraginlayerspane": { + "description": "via editor/components/HelpModalData.ts", + "message": "Click + drag in layers pane" + }, + "_Color": { + "description": "via editor/utils/shape-properties.ts", + "message": "Color" + }, + "_ConfigureyoursettingsfortheGoFullPageextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "via options.html", + "message": "Configure your settings for the GoFullPage extension. Stay tuned for further updates. Beta settings may change in the future." + }, + "_Continueediting": { + "description": "via editor/components/WelcomeModal.js", + "message": "Continue editing" + }, + "_CopyImage": { + "description": "via editor/components/AppCaptureImage.js, editor/components/Editor.js", + "message": "Copy Image" + }, + "_Copyingimagepleasewait": { + "description": "via editor/components/NotifySnackbar.js", + "message": "Copying image, please wait…" + }, + "_CopyoriginalURL": { + "description": "via editor/components/AppCaptureImage.js", + "message": "Copy original URL" + }, + "_Copytoclipboard": { + "description": "via editor/components/HelpModalData.ts", + "message": "Copy to clipboard" + }, + "_CreatedPDF": { + "description": "via editor/components/NotifySnackbar.js", + "message": "Created PDF!" + }, + "_CreatingPDF": { + "description": "via editor/components/NotifySnackbar.js", + "message": "Creating PDF:" + }, + "_CropImage": { + "description": "via editor/components/Crop.js", + "message": "Crop Image" + }, + "_Cropeditannotateandexportpremium": { + "description": "via capture.html", + "message": "Crop, edit, annotate, and export (premium)" + }, + "_DateTimeofCapture": { + "description": "via editor/utils/shape-properties.ts", + "message": "Date & Time of Capture" + }, + "_DateformatPremium": { + "description": "via js/stores/typed-options-store.ts", + "message": "Date format (Premium)" + }, + "_Delete": { + "description": "via editor/components/HelpModalData.ts, js/capture/history.js", + "message": "Delete" + }, + "_Deletecurrentselection": { + "description": "via editor/components/HelpModalData.ts", + "message": "Delete current selection" + }, + "_Demovideos": { + "description": "via js/welcome/WelcomePage.js", + "message": "Demo videos" + }, + "_Directory": { + "description": "via js/stores/options-store.js", + "message": "Directory:" + }, + "_Displaythecapturedateinthisformatorhideitentirely": { + "description": "via js/stores/typed-options-store.ts", + "message": "Display the capture date in this format or hide it entirely." + }, + "_Document": { + "description": "via editor/components/HelpModalData.ts", + "message": "Document" + }, + "_Documentedits": { + "description": "via editor/components/HelpModalData.ts", + "message": "Document edits" + }, + "_DoneCropping": { + "description": "via editor/components/Crop.js", + "message": "Done Cropping" + }, + "_DontworryyourfavoritefeaturesarestillhereCropURLdatestampandpaddingareallinthenewFormattingmenu": { + "description": "via editor/components/HeaderUpdatedModal.js", + "message": "Don’t worry, your favorite features are still here! Crop, URL, datestamp, and padding are all in the new “Formatting” menu.", + "not_found": true + }, + "_DontworryyourfavoritefeaturesarestillhereCropURLdatestampandpaddingarenowinthenewFormattingmenu": { + "description": "via editor/components/HeaderUpdatedModal.js", + "message": "Don’t worry, your favorite features are still here! Crop, URL, datestamp, and padding are now in the new “Formatting” menu.", + "not_found": true + }, + "_DontworryyourfavoritefeaturesarestillhereCropURLdatestampandpaddingarenowinthenewFormattingmenuWatchahrefhttpsgofullpagecomdemoseditortargetblankandrelnoopenernoreferrerthedemoatoseemore": { + "description": "via editor/components/HeaderUpdatedModal.js", + "message": "Don’t worry, your favorite features are still here! Crop, URL, datestamp, and padding are now in the new “Formatting” menu. Watch \u003Ca href=\"https://gofullpage.com/demos#editor\" target=\"_blank\" and rel=\"noopener noreferrer\">the demo\u003C/a> to see more." + }, + "_Download": { + "description": "via js/capture/history.js, js/stores/options-store.js", + "message": "Download" + }, + "_DownloadExport": { + "description": "via editor/components/Export.js", + "message": "Download & Export" + }, + "_Downloadpermissionisrequired": { + "description": "via js/capture/image.js", + "message": "Download permission is required" + }, + "_Downloadpermissionnotgranted": { + "description": "via js/capture/image.js", + "message": "Download permission not granted" + }, + "_Downloadspermission": { + "description": "via js/options/permissions.js", + "message": "Downloads permission" + }, + "_Draglayercontrolpoints": { + "description": "via editor/components/HelpModalData.ts", + "message": "Drag layer control points" + }, + "_Duplicateselection": { + "description": "via editor/components/HelpModalData.ts", + "message": "Duplicate selection" + }, + "_EditImage": { + "description": "via editor/components/AppCaptureImage.js, js/capture/image.js", + "message": "Edit Image" + }, + "_Edited": { + "description": "via js/capture/history.js", + "message": "Edited" + }, + "_Elements": { + "description": "via editor/utils/insert-cfgs.js", + "message": "Elements" + }, + "_Emoji": { + "description": "via editor/components/Shape.js", + "message": "Emoji" + }, + "_Enabled": { + "description": "via editor/utils/shape-properties.ts", + "message": "Enabled" + }, + "_Entertexthere": { + "description": "via editor/components/Shape.js", + "message": "Enter text here" + }, + "_Error": { + "description": "via options.html", + "message": "Error" + }, + "_ErrorcopyingURL": { + "description": "via js/capture/image.js", + "message": "Error copying URL" + }, + "_Errordownloadingfile": { + "description": "via js/capture/image.js, js/capture/image.js", + "message": "Error downloading file" + }, + "_Errordownloadingfiles": { + "description": "via js/capture/history.js", + "message": "Error downloading files" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "via js/capture/history.js", + "message": "Error handling files. Please report this via the flag reporting button above." + }, + "_Errorloadinghistory": { + "description": "via js/capture/history.js", + "message": "Error loading history" + }, + "_Errorloadingimage": { + "description": "via js/capture/image.js", + "message": "Error loading image" + }, + "_Erroropeningscreenshot": { + "description": "via js/capture/image.js", + "message": "Error opening screenshot" + }, + "_Errorremovingscreenshot": { + "description": "via js/capture/image.js", + "message": "Error removing screenshot" + }, + "_Example": { + "description": "via js/stores/typed-options-store.ts", + "message": "Example:" + }, + "_Exitzoom": { + "description": "via editor/components/HelpModalData.ts", + "message": "Exit zoom" + }, + "_Export": { + "description": "via editor/components/HelpModalData.ts", + "message": "Export" + }, + "_ExportImageAs": { + "description": "via editor/components/Editor.js", + "message": "Export Image As…" + }, + "_ExportPDFAs": { + "description": "via editor/components/Editor.js", + "message": "Export PDF As…" + }, + "_Exportsaveas": { + "description": "via editor/components/HelpModalData.ts", + "message": "Export save as" + }, + "_Extensionsettings": { + "description": "via popup.html", + "message": "Extension settings" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "via popup.html", + "message": "Extra permissions are required to access the underlying page." + }, + "_Extrapermissionsrequired": { + "description": "via popup.html", + "message": "Extra permissions required" + }, + "_Fileaccessneeded": { + "description": "via popup.html", + "message": "File access needed" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "via js/capture/image.js", + "message": "File no longer exists—perhaps it has been cleared from your browser" + }, + "_Files": { + "description": "via js/capture/history.js", + "message": "Files" + }, + "_Fill": { + "description": "via editor/utils/shape-properties.ts, editor/utils/shape-properties.ts", + "message": "Fill" + }, + "_FitcopiestoGoogleDocslimits": { + "description": "via js/stores/options-store.js", + "message": "Fit copies to Google Docs limits" + }, + "_Font": { + "description": "via editor/utils/shape-properties.ts", + "message": "Font" + }, + "_Foradditionalinformationyoucancheckout": { + "description": "via js/welcome/WelcomePage.js", + "message": "For additional information, you can check out:" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "via popup.html", + "message": "For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>." + }, + "_Format": { + "description": "via editor/utils/shape-properties.ts", + "message": "Format" + }, + "_Formatting": { + "description": "via editor/components/HeaderFormatting.js", + "message": "Formatting" + }, + "_Frequentlyaskedquestions": { + "description": "via js/welcome/WelcomePage.js", + "message": "Frequently asked questions" + }, + "_Getstarted": { + "description": "via editor/components/WelcomeModal.js", + "message": "Get started" + }, + "_Goback": { + "description": "via editor/components/Editor.js", + "message": "Go back" + }, + "_Gotit": { + "description": "via capture.html", + "message": "Got it!" + }, + "_GotoAccount": { + "description": "via editor/components/MoreNavLinks.js", + "message": "Go to Account" + }, + "_GotoFiles": { + "description": "via editor/components/MoreNavLinks.js", + "message": "Go to Files" + }, + "_GotoOptions": { + "description": "via editor/components/MoreNavLinks.js", + "message": "Go to Options" + }, + "_Gotoyouraccount": { + "description": "via options.html", + "message": "Go to your account" + }, + "_Help": { + "description": "via editor/components/HelpModal.js, editor/components/HelpModalData.ts", + "message": "Help" + }, + "_HelpShortcuts": { + "description": "via editor/components/Editor.js, editor/components/TriggerHelp.js", + "message": "Help / Shortcuts" + }, + "_Hooray": { + "description": "via capture.html", + "message": "Hooray" + }, + "_Icon": { + "description": "via editor/components/Shape.js", + "message": "Icon" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "via js/messages.ts", + "message": "If this persists, please report it via the flag reporting button above." + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "via capture.html", + "message": "If you’d like to try this feature in the future, click on the “Edit” button up top." + }, + "_IfyoudontseethecameraiconthenclicktheExtensionspuzzleiconinthetoprightofyourbrowser": { + "description": "via js/welcome/WelcomePage.js", + "message": "If you don’t see the camera icon, then click the “Extensions” puzzle icon in the top right of your browser:" + }, + "_Imagecopiedtoclipboard": { + "description": "via editor/components/NotifySnackbar.js", + "message": "Image copied to clipboard" + }, + "_Imagedeleted": { + "description": "via js/capture/image.js", + "message": "Image deleted" + }, + "_Imageformat": { + "description": "via js/stores/options-store.js", + "message": "Image format:" + }, + "_Includedate": { + "description": "via editor/utils/shape-properties.ts", + "message": "Include date", + "not_found": true + }, + "_Insertshapes": { + "description": "via editor/components/HelpModalData.ts", + "message": "Insert shapes" + }, + "_Italic": { + "description": "via editor/utils/shape-properties.ts", + "message": "Italic" + }, + "_Layers": { + "description": "via editor/components/HelpModalData.ts, editor/components/LayersBar.js", + "message": "Layers" + }, + "_Learnmore": { + "description": "via editor/components/Editor.js, editor/components/Export.js", + "message": "Learn more" + }, + "_Line": { + "description": "via editor/components/HelpModalData.ts, editor/components/Shape.js", + "message": "Line" + }, + "_Loadpermissionsdialog": { + "description": "via popup.html", + "message": "Load permissions dialog?" + }, + "_LogintoExport": { + "description": "via editor/components/Export.js", + "message": "Login to Export" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "via js/stores/options-store.js", + "message": "Look for an element within the page with its own scroll bars and scroll that item during the capture." + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "via capture.html", + "message": "Might you consider taking a minute to rate it in the Webstore?", + "not_found": true + }, + "_Mightyouconsidertakingaminutetorateitinthewebstore": { + "description": "via js/Controls.ts", + "message": "Might you consider taking a minute to rate it in the $webstore$?", + "placeholders": { + "webstore": { + "content": "$1", + "example": "web store" + } + } + }, + "_More": { + "description": "via editor/components/HeaderMore.js", + "message": "More" + }, + "_Mouseorarrowkeys": { + "description": "via editor/components/HelpModalData.ts", + "message": "Mouse or arrow keys" + }, + "_Mouseorlayerspane": { + "description": "via editor/components/HelpModalData.ts", + "message": "Mouse or layers pane" + }, + "_Movelayer": { + "description": "via editor/components/HelpModalData.ts", + "message": "Move layer" + }, + "_None": { + "description": "via editor/utils/browser-template-cfgs.ts", + "message": "None" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "via js/capture/history.js", + "message": "No screen captures found. Go make some!" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "via popup.html", + "message": "Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "not_found": true + }, + "_NotethispageistoolargeforthebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "via popup.html", + "message": "Note: this page is too large for the browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images." + }, + "_Nothanks": { + "description": "via capture.html, capture.html", + "message": "No, thanks." + }, + "_Nothankscontinueediting": { + "description": "via editor/components/Export.js", + "message": "No thanks continue editing" + }, + "_Notreally": { + "description": "via capture.html", + "message": "Not really" + }, + "_OK": { + "description": "via popup.html", + "message": "OK" + }, + "_On": { + "description": "via editor/utils/shape-properties.ts, editor/utils/shape-properties.ts", + "message": "On" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "via js/stores/options-store.js", + "message": "On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios." + }, + "_OpenoriginalURL": { + "description": "via editor/components/AppCaptureImage.js", + "message": "Open original URL" + }, + "_Options": { + "description": "via options.html", + "message": "Options" + }, + "_Orderlayer": { + "description": "via editor/components/HelpModalData.ts", + "message": "Order layer" + }, + "_Outline": { + "description": "via editor/utils/shape-properties.ts", + "message": "Outline" + }, + "_Oval": { + "description": "via editor/components/HelpModalData.ts, editor/components/Shape.js", + "message": "Oval" + }, + "_PDF": { + "description": "via js/stores/options-store.js", + "message": "PDF" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "via js/stores/options-store.js", + "message": "PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression." + }, + "_Pad": { + "description": "via editor/utils/shape-properties.ts", + "message": "Pad" + }, + "_Padding": { + "description": "via editor/utils/shape-properties.ts", + "message": "Padding" + }, + "_PaddingBorder": { + "description": "via editor/components/Shape.js", + "message": "Padding / Border" + }, + "_Papersize": { + "description": "via js/stores/options-store.js", + "message": "Paper size:" + }, + "_PerformextracheckswhensplittingaPDFacrossmultiplepagestotrytopreventitfromcuttinglinesoftextinhalfOtherwisethescreenshotissplitatthepapersizeheightregardlessofitscontent": { + "description": "via js/stores/options-store.js", + "message": "Perform extra checks when splitting a PDF across multiple pages to try to prevent it from cutting lines of text in half. Otherwise, the screenshot is split at the paper size height regardless of its content." + }, + "_Permissionneededtodownloadfiles": { + "description": "via js/capture/history.js", + "message": "Permission needed to download files" + }, + "_Permissions": { + "description": "via js/options/components/ToggleElts.js", + "message": "Permissions" + }, + "_Persistiframepermissions": { + "description": "via js/stores/options-store.js", + "message": "Persist iframe permissions" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "via popup.html", + "message": "Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "not_found": true + }, + "_PleasegotoyourbrowsersextensionsettingsandenablestrongAllowaccesstofileURLsstrongsotheextensioncanaccessthispagebrbr": { + "description": "via popup.html", + "message": "Please go to your browser’s extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>" + }, + "_Pleasegotoyourbrowserx2019sextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "via popup.html", + "message": "Please go to your browser’s extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "not_found": true + }, + "_PleasetryagainandwaittoseetheImagecopiedtoclipboardmessagebeforeswitchingtoanotherwindow": { + "description": "via js/messages.ts", + "message": "Please try again and wait to see the “Image copied to clipboard” message before switching to another window." + }, + "_Position": { + "description": "via editor/utils/shape-properties.ts, editor/utils/shape-properties.ts", + "message": "Position" + }, + "_Premiumfeature": { + "description": "via js/capture/image.js", + "message": "Premium feature" + }, + "_Radius": { + "description": "via editor/utils/shape-properties.ts, editor/utils/shape-properties.ts", + "message": "Radius" + }, + "_Rectangle": { + "description": "via editor/components/HelpModalData.ts, editor/components/Shape.js", + "message": "Rectangle" + }, + "_Redo": { + "description": "via editor/components/HelpModalData.ts, editor/components/Undo.js", + "message": "Redo" + }, + "_Removefiles": { + "description": "via js/capture/history.js", + "message": "Remove files" + }, + "_Reportissue": { + "description": "via capture.html", + "message": "Report issue." + }, + "_Resizelayer": { + "description": "via editor/components/HelpModalData.ts", + "message": "Resize layer" + }, + "_Roundedcorners": { + "description": "via editor/utils/shape-properties.ts", + "message": "Rounded corners" + }, + "_SaveImageAs": { + "description": "via editor/components/AppCaptureImage.js", + "message": "Save Image As…" + }, + "_SavePDFAs": { + "description": "via editor/components/AppCaptureImage.js", + "message": "Save PDF As…" + }, + "_Saveas": { + "description": "via js/stores/options-store.js", + "message": "Save as" + }, + "_Saved": { + "description": "via options.html", + "message": "Saved" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "via js/stores/options-store.js", + "message": "Save this permission (if accepted) for future captures. It can still be revoked later from the options page." + }, + "_Screencaptureinprogress": { + "description": "via popup.html", + "message": "Screen capture in progress…" + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "via js/capture/history.js", + "message": "Select 1 or more screenshots to use this action." + }, + "_Selected": { + "description": "via js/capture/history.js", + "message": "Selected" + }, + "_Selectlayer": { + "description": "via editor/components/HelpModalData.ts", + "message": "Select layer" + }, + "_Setthemedefaults": { + "description": "via editor/components/TriggerUpdateTheme.js", + "message": "Set theme defaults" + }, + "_Shapes": { + "description": "via editor/utils/insert-cfgs.js", + "message": "Shapes" + }, + "_SignIn": { + "description": "via editor/components/Editor.js", + "message": "Sign In" + }, + "_SignUp": { + "description": "via editor/components/Editor.js", + "message": "Sign Up" + }, + "_Signinwithexistingaccount": { + "description": "via editor/components/Export.js", + "message": "Sign in with existing account" + }, + "_SignupforPremiuminordertoexportyouredits": { + "description": "via editor/components/Editor.js", + "message": "Sign up for Premium in order to export your edits." + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "via editor/components/Export.js", + "message": "Sign up for a free 7-day trial to unlock the editor and download your masterpiece." + }, + "_SignuptoExport": { + "description": "via editor/components/Export.js", + "message": "Sign up to Export" + }, + "_Size": { + "description": "via editor/utils/shape-properties.ts", + "message": "Size" + }, + "_SmartpagesplittingPremium": { + "description": "via js/stores/options-store.js", + "message": "Smart page splitting (Premium)" + }, + "_Somemenuoptionshavemoved": { + "description": "via editor/components/HeaderUpdatedModal.js", + "message": "Some menu options have moved!" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "via popup.html", + "message": "Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>." + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "via js/capture/image.js", + "message": "Something went wrong deleting your screenshot." + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "via js/capture/image.js", + "message": "Something went wrong opening this screenshot into a new." + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "via js/stores/options-store.js", + "message": "Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot." + }, + "_Sorry": { + "description": "via capture.html", + "message": "Sorry" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "via js/stores/options-store.js", + "message": "Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed)." + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "via js/stores/options-store.js", + "message": "Specify the format size of PDFs for when exporting to PDF." + }, + "_Startyourfreetrial": { + "description": "via editor/components/Export.js", + "message": "Start your free trial" + }, + "_Stickers": { + "description": "via editor/utils/insert-cfgs.js", + "message": "Stickers" + }, + "_Stillloading": { + "description": "via js/capture/image.js", + "message": "Still loading" + }, + "_TakeascreenshotofanentirewebpageinjustoneclickoftheextensionsiconinthetoprightofChrome": { + "description": "via js/welcome/WelcomePage.js", + "message": "Take a screenshot of an entire web page in just one click of the extension’s icon in the top right of Chrome", + "not_found": true + }, + "_Takeascreenshotofanentirewebpageinjustoneclickoftheextensionsiconinthetoprightofbrowser": { + "description": "via js/welcome/WelcomePage.js", + "message": "Take a screenshot of an entire web page in just one click of the extension’s icon in the top right of $browser$", + "placeholders": { + "browser": { + "content": "$1", + "example": "Chrome" + } + } + }, + "_TakemetotheWebstore": { + "description": "via capture.html", + "message": "Take me to the Webstore!", + "not_found": true + }, + "_Takemetothewebstore": { + "description": "via js/Controls.ts", + "message": "Take me to the $webstore$!", + "placeholders": { + "webstore": { + "content": "$1", + "example": "web store" + } + } + }, + "_Text": { + "description": "via editor/components/HelpModalData.ts, editor/components/Shape.js", + "message": "Text" + }, + "_ThankyouforsupportingGoFullPage": { + "description": "via editor/components/WelcomeModal.js", + "message": "Thank you for supporting GoFullPage" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "via capture.html", + "message": "The best and safest way to capture a screenshot of an entire web page." + }, + "_ThebrowserdoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherextensionsandbrowserprotocolURLsThecurrentpageappearstobearestrictedURL": { + "description": "via js/popup/index.js", + "message": "The browser does not allow access to some URLs for security reasons. This includes the web store gallery, other extensions, and $browser_protocol$ URLs. The current page appears to be a restricted URL.", + "placeholders": { + "browser_protocol": { + "content": "$1", + "example": "chrome://" + } + } + }, + "_ThebrowserpreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "via js/stores/options-store.js", + "message": "The browser prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!" + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "via js/capture/image.js", + "message": "The download permission is required to enable the download as PDF feature." + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "via js/capture/history.js", + "message": "The following files could not be downloaded:" + }, + "_ThemeDefaults": { + "description": "via editor/components/ThemeDefaultsModal.js", + "message": "Theme Defaults" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "via js/capture/history.js", + "message": "There was an error downloading files, please report it via the flag button above." + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "via editor/components/ThemeDefaultsModal.js", + "message": "These settings will apply to all future edits of screenshots. Changes are autosaved." + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "via js/capture/image.js", + "message": "The specified image could not be found." + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "via capture.html", + "message": "This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "via js/capture/image.js", + "message": "This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above." + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryouwillstillbepromptedforitinordertouseanyoftheadvancedfeaturesontheFilesorEditpagessincetheyneedthispermissionstowork": { + "description": "via js/capture/image.js", + "message": "This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fall back to default browser on-click downloads. However, you will still be prompted for it in order to use any of the advanced features on the Files or Edit pages, since they need this permissions to work." + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "via js/options/permissions.js", + "message": "This permission is required for the download buttons and the auto-download feature." + }, + "_Thispermissionisrequiredinordertoscrolltheinnercontentsofiframesorframesets": { + "description": "via js/options/permissions.js", + "message": "This permission is required in order to scroll the inner contents of $iframes$ or $framesets$.", + "placeholders": { + "framesets": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">framesets\u003C/a>", + "example": "framesets" + }, + "iframes": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframes\u003C/a>", + "example": "iframes" + } + } + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "via js/capture/image.js", + "message": "This screenshot been successfully removed." + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "via popup.html", + "message": "This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>." + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "via popup.html", + "message": "This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>." + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "via popup.html", + "message": "This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "not_found": true + }, + "_ToggleURLbrowser": { + "description": "via editor/components/HelpModalData.ts", + "message": "Toggle URL / browser" + }, + "_Togglecrop": { + "description": "via editor/components/HelpModalData.ts", + "message": "Toggle crop" + }, + "_Togglepaddingborder": { + "description": "via editor/components/HelpModalData.ts", + "message": "Toggle padding / border" + }, + "_TryoutanotherpageonthewebsuchasahrefhttpswwwgooglecomsearchqcutepuppiestargetblankrelnoopenernoreferrerthisoneaHavefun": { + "description": "via popup.html", + "message": "Try out another page on the web, such as \u003Ca href=\"https://www.google.com/search?q=cute+puppies\" target=\"_blank\" rel=\"noopener noreferrer\">this one\u003C/a>. Have fun!" + }, + "_Type": { + "description": "via editor/utils/shape-properties.ts", + "message": "Type" + }, + "_URLBrowser": { + "description": "via editor/constants.ts", + "message": "URL / Browser" + }, + "_URLDate": { + "description": "via editor/constants.ts", + "message": "URL / Date" + }, + "_URLcopiedtoclipboard": { + "description": "via js/capture/image.js", + "message": "URL copied to clipboard" + }, + "_URLonbottom": { + "description": "via editor/utils/browser-template-cfgs.ts", + "message": "URL on bottom" + }, + "_URLontop": { + "description": "via editor/utils/browser-template-cfgs.ts", + "message": "URL on top" + }, + "_Unabletocopyimage": { + "description": "via js/messages.ts", + "message": "Unable to copy image" + }, + "_Unabletofindimage": { + "description": "via js/capture/image.js", + "message": "Unable to find image" + }, + "_Unabletoloadimage": { + "description": "via js/capture/image.js, js/capture/image.js", + "message": "Unable to load image" + }, + "_Undo": { + "description": "via editor/components/HelpModalData.ts, editor/components/Undo.js", + "message": "Undo" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "via popup.html", + "message": "Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page." + }, + "_WatchDemo": { + "description": "via editor/components/Tour.js", + "message": "Watch Demo" + }, + "_WelcometoGoFullPage": { + "description": "via js/welcome/WelcomePage.js", + "message": "Welcome to GoFullPage" + }, + "_WelcometotheGoFullPageEditor": { + "description": "via editor/components/Tour.js", + "message": "Welcome to the GoFullPage Editor!" + }, + "_WelcometotheGoFullPageextension": { + "description": "via popup.html", + "message": "Welcome to the GoFullPage extension." + }, + "_WelcometotheofficialGoFullPageEditor": { + "description": "via editor/components/WelcomeModal.js", + "message": "Welcome to the official GoFullPage Editor!" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "via editor/components/WelcomeModal.js", + "message": "We’re excited to have you aboard." + }, + "_WhencopyingascreenshottoyourclipboardautoresizeitifitexceedstheGoogleDocscopypastelimit25000000pixelsYoumaystillexperienceissuespastingverylargeimagesintootherapplicationsforexampleGoogleDocssometimestruncatestheimageunlessyouresizeitmuchsmaller": { + "description": "via js/stores/options-store.js", + "message": "When copying a screenshot to your clipboard, auto-resize it if it exceeds the Google Docs copy-paste limit (25,000,000 pixels). You may still experience issues pasting very large images into other applications, for example Google Docs sometimes truncates the image unless you resize it much smaller." + }, + "_Width": { + "description": "via editor/utils/shape-properties.ts", + "message": "Width" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "via capture.html", + "message": "Would you like to report any issues you’re experiencing, so we can improve this extension together?" + }, + "_Yes": { + "description": "via capture.html", + "message": "Yes!" + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "via popup.html", + "message": "You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "not_found": true + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheextensionwebstorebrowsersettingspagesandotherextensions": { + "description": "via popup.html", + "message": "You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the extension web store, browser settings pages, and other extensions." + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "via popup.html", + "message": "You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen." + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "via js/capture/history.js, js/capture/history.js", + "message": "You need to grant the download privilege in order to download files" + }, + "_Youneedtosignupinordertoexportyoureditedimage": { + "description": "via editor/components/Export.js", + "message": "You need to sign up in order to export your edited image." + }, + "_YourbrowserdoesnotsupporttheclipboardAPIpleaseupdatetothemostrecentversion": { + "description": "via js/capture/image.js", + "message": "Your browser does not support the clipboard API, please update to the most recent version." + }, + "_Zoom": { + "description": "via editor/components/HelpModalData.ts", + "message": "Zoom" + }, + "_Zoomin": { + "description": "via editor/components/HelpModalData.ts", + "message": "Zoom in" + }, + "_Zoomout": { + "description": "via editor/components/HelpModalData.ts", + "message": "Zoom out" + }, + "_billedannually": { + "description": "via editor/components/Export.js", + "message": "billed annually" + }, + "_cancelanytime": { + "description": "via editor/components/Export.js", + "message": "cancel anytime" + }, + "_close": { + "description": "via popup.html", + "message": "close" + }, + "_details": { + "description": "via popup.html", + "message": "details…" + }, + "_fullimage": { + "description": "via js/stores/options-store.js", + "message": "full image" + }, + "_iFramepermission": { + "description": "via js/options/permissions.js", + "message": "iFrame permission" + }, + "_loading": { + "description": "via js/options/components/App.js", + "message": "loading…" + }, + "_numfilescouldnotberemoved": { + "description": "via js/capture/history.js", + "message": "$num$ files could not be removed.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "via js/capture/history.js", + "message": "$num$ files were successfully removed.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "via editor/components/WelcomeModal.js", + "message": "or" + }, + "_restorefactorydefaults": { + "description": "via editor/components/ThemeDefaultsModal.js", + "message": "restore factory defaults" + }, + "_search": { + "description": "via editor/components/Dropdown.js", + "message": "search…" + }, + "_upontrialcompletion": { + "description": "via editor/components/Export.js", + "message": "upon trial completion" + }, + "_version": { + "description": "via options.html", + "message": "version" + }, + "_watchademovideo": { + "description": "via editor/components/WelcomeModal.js", + "message": "watch a demo video" + }, + "actionClose": { + "description": "via capture.html, capture.html, capture.html", + "message": "Close" + }, + "actionDeleteImage": { + "description": "via capture.html", + "message": "Delete image" + }, + "actionDownloadImage": { + "description": "via capture.html, editor/components/Export.js", + "message": "Download image" + }, + "actionDownloadPDF": { + "description": "via capture.html, editor/components/Export.js", + "message": "Download PDF" + }, + "actionEdit": { + "description": "via capture.html", + "message": "Edit" + }, + "actionOK": { + "description": "via capture.html", + "message": "OK" + }, + "actionReport": { + "description": "via capture.html, options.html", + "message": "Report issue" + }, + "appDesc": { + "description": "The description of the application, displayed in the web store.", + "message": "Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!" + }, + "goPremiumHeader": { + "description": "via editor/components/LoginModal.js", + "message": "Take your screenshots to the next level with GoFullPage Premium" + }, + "goPremiumLink": { + "description": "via editor/components/LoginModal.js", + "message": "Learn more" + }, + "goPremiumSignInLink": { + "description": "via editor/components/LoginModal.js", + "message": "Sign in" + }, + "goPremiumSignInMessage": { + "description": "via editor/components/LoginModal.js", + "message": "Already have an account?" + }, + "goPremiumSubHeader": { + "description": "via editor/components/LoginModal.js", + "message": "Speed up your workflow with advanced editing and annotation features directly in the extension!" + }, + "navFiles": { + "description": "via capture.html, options.html", + "message": "Files" + }, + "navOptions": { + "description": "via capture.html, options.html", + "message": "Options" + }, + "tryEditingNo": { + "description": "via capture.html", + "message": "No thanks" + }, + "tryEditingRequest": { + "description": "via capture.html", + "message": "Try editing and annotating your screenshot" + }, + "tryEditingYes": { + "description": "via capture.html", + "message": "Ok!" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/es/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/es/messages.json new file mode 100644 index 0000000..110cfef --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/es/messages.json @@ -0,0 +1,914 @@ +{ + "_1filecouldnotberemoved": { + "description": "[aws:2019-09-22 20:27:24] 1 file could not be removed.", + "message": "No se pudo quitar 1 archivo." + }, + "_1filewassuccessfullyremoved": { + "description": "[aws:2019-09-22 20:27:25] 1 file was successfully removed.", + "message": "1 archivo se ha eliminado correctamente." + }, + "_Adjustrepeatingelements": { + "description": "[aws:2019-09-22 20:27:26] Adjust repeating elements", + "message": "Ajustar elementos de repetición" + }, + "_Advancedscrolling": { + "description": "[aws:2019-09-22 20:27:26] Advanced scrolling", + "message": "Desplazamiento avanzado" + }, + "_Align": { + "description": "[aws:2019-09-22 20:27:27] Align", + "message": "Alinear" + }, + "_Anyissues": { + "description": "[aws:2019-09-22 20:27:28] Any issues?", + "message": "¿Algún problema?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "[aws:2019-09-22 20:27:28] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested.", + "message": "Todos los permisos opcionales que se hayan concedido anteriormente aparecerán marcados aquí. Puede revocarlos en cualquier momento. Si se necesitan de nuevo en el futuro, se les volverá a solicitar." + }, + "_Areyouenjoyingthisextension": { + "description": "[aws:2019-09-22 20:27:29] Are you enjoying this extension?", + "message": "¿Estás disfrutando de esta extensión?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "[aws:2019-09-22 20:27:30] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)", + "message": "¿Está seguro de que desea eliminar 1 screencapture?\n (Esta acción no se puede deshacer)." + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:04:57] Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "message": "¿Está seguro de que desea eliminar capturas de pantalla $count$?\n (Esta acción no se puede deshacer).", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "[aws:2019-09-22 20:27:32] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)", + "message": "¿Está seguro de que desea eliminar esta captura de pantalla?\n(Esta acción no se puede deshacer)." + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "[aws:2019-09-22 20:27:33] Are you sure you want to reset to the extension’s original theme defaults?", + "message": "¿Está seguro de que desea restablecer los valores predeterminados del tema original de la extensión?" + }, + "_Arrow": { + "description": "[aws:2019-09-22 20:27:33] Arrow", + "message": "Flecha" + }, + "_Autodownloadfiles": { + "description": "[aws:2019-09-22 20:27:34] Auto-download files", + "message": "Descarga automática de archivos" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 18:50:19] Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "La descarga automática está habilitada. Puede cambiar esto en \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">opciones\u003C/a>." + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "[aws:2019-09-22 20:27:35] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "message": "Descargue automáticamente su captura de pantalla en lugar de abrirlo en una nueva ventana. Esto significa que la pestaña de captura de extensión no se abrirá. Puede volver aquí haciendo clic derecho en la extensión y seleccionando «Opciones»." + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "[aws:2019-09-22 20:27:36] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "message": "Muestra automáticamente un cuadro de diálogo «guardar como» al descargar las capturas de pantalla. Si la opción «Preguntar dónde guardar cada archivo antes de descargarlo» está habilitada en la configuración de Chrome, tendrá prioridad." + }, + "_Backtocapturechangesareautosaved": { + "description": "[aws:2019-09-22 20:27:36] Back to capture (changes are auto-saved)", + "message": "Volver a la captura (los cambios se guardan automáticamente)" + }, + "_Blur": { + "description": "[aws:2019-09-22 20:27:38] Blur", + "message": "Desenfoque" + }, + "_Bold": { + "description": "[aws:2019-09-22 20:27:38] Bold", + "message": "Negrita" + }, + "_Cancel": { + "description": "[aws:2019-09-23 18:50:19] Cancel", + "message": "Cancelar" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 18:50:20] Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "No se puede descargar automáticamente, es necesario volver a aprobar el permiso Descargas en \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">las opciones\u003C/a>." + }, + "_Cannotdownloadfiles": { + "description": "[aws:2019-09-22 20:27:40] Cannot download files", + "message": "No se pueden descargar archivos" + }, + "_Capture": { + "description": "[aws:2019-09-22 20:27:40] Capture", + "message": "Capturar" + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "[aws:2019-09-23 18:50:21] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "message": "Chrome no permite el acceso a algunas URL por motivos de seguridad. Esto incluye la galería de la tienda web, otras extensiones de Chrome y las URL de Chrome: //. La página actual parece ser una URL restringida." + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "[aws:2019-09-22 20:27:41] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "message": "Chrome impide que las extensiones guarden archivos fuera del directorio de descargas predeterminado. La ruta introducida se ha actualizado en consecuencia. ¡Lo siento!" + }, + "_Clickdraginlayerspane": { + "description": "[aws:2019-09-22 20:27:42] Click + drag in layers pane", + "message": "Haga clic en + arrastrar en el panel de capas" + }, + "_Color": { + "description": "[aws:2019-09-22 20:27:42] Color", + "message": "Color" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "[aws:2019-09-22 20:27:43] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future.", + "message": "Configure los ajustes de la extensión Captura de pantalla de página completa. Estén atentos para más actualizaciones. La configuración de la beta puede cambiar en el futuro." + }, + "_Continueediting": { + "description": "[aws:2019-09-22 20:27:44] Continue editing", + "message": "Continuar editando" + }, + "_CropImage": { + "description": "[aws:2019-09-22 20:27:45] Crop Image", + "message": "Recortar imagen" + }, + "_Cropeditannotateandexport": { + "description": "[aws:2019-09-22 20:27:44] Crop, edit, annotate, and export", + "message": "Recortar, editar, anotar y exportar" + }, + "_Delete": { + "description": "[aws:2019-09-22 20:27:46] Delete", + "message": "Borrar" + }, + "_Deletecurrentselection": { + "description": "[aws:2019-09-22 20:27:47] Delete current selection", + "message": "Eliminar selección actual" + }, + "_Directory": { + "description": "[aws:2019-09-22 20:27:48] Directory:", + "message": "Directorio:" + }, + "_Document": { + "description": "[aws:2019-09-22 20:27:48] Document", + "message": "Documento" + }, + "_Documentedits": { + "description": "[aws:2019-09-22 20:27:49] Document edits", + "message": "Ediciones de documentos" + }, + "_DoneCropping": { + "description": "[aws:2019-09-22 20:27:49] Done Cropping", + "message": "Recorte terminado" + }, + "_Download": { + "description": "[aws:2019-09-22 20:27:50] Download", + "message": "Descargar" + }, + "_DownloadExport": { + "description": "[aws:2019-09-22 20:27:51] Download & Export", + "message": "Descargar y exportar" + }, + "_Downloadpermissionisrequired": { + "description": "[aws:2019-09-22 20:27:51] Download permission is required", + "message": "Se requiere permiso de descarga" + }, + "_Downloadpermissionnotgranted": { + "description": "[aws:2019-09-22 20:27:52] Download permission not granted", + "message": "Permiso de descarga no concedido" + }, + "_Downloadspermission": { + "description": "[aws:2019-09-22 20:27:53] Downloads permission", + "message": "Permiso de descargas" + }, + "_Draglayercontrolpoints": { + "description": "[aws:2019-09-22 20:27:53] Drag layer control points", + "message": "Arrastrar puntos de control de capa" + }, + "_Duplicateselection": { + "description": "[aws:2019-09-22 20:27:54] Duplicate selection", + "message": "Selección duplicada" + }, + "_Edited": { + "description": "[aws:2019-09-22 20:27:55] Edited", + "message": "Editado" + }, + "_Elements": { + "description": "[aws:2019-09-22 20:27:55] Elements", + "message": "Elementos" + }, + "_Emoji": { + "description": "[aws:2019-09-22 20:27:56] Emoji", + "message": "Emoji" + }, + "_Enabled": { + "description": "[aws:2019-09-22 20:27:57] Enabled", + "message": "Activado" + }, + "_Entertexthere": { + "description": "[aws:2019-09-22 20:27:57] Enter text here", + "message": "Introduzca el texto aquí" + }, + "_Error": { + "description": "[aws:2019-09-22 20:27:58] Error", + "message": "Error" + }, + "_Errordownloadingfile": { + "description": "[aws:2019-09-22 20:27:58] Error downloading file", + "message": "Error al descargar el archivo" + }, + "_Errordownloadingfiles": { + "description": "[aws:2019-09-22 20:27:59] Error downloading files", + "message": "Error al descargar archivos" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 20:28:00] Error handling files. Please report this via the flag reporting button above.", + "message": "Error al manejar archivos. Por favor, infórmese a través del botón de notificación de la marca anterior." + }, + "_Errorloadinghistory": { + "description": "[aws:2019-09-22 20:28:01] Error loading history", + "message": "Error al cargar el historial" + }, + "_Errorloadingimage": { + "description": "[aws:2019-09-22 20:28:01] Error loading image", + "message": "Error al cargar la imagen" + }, + "_Erroropeningscreenshot": { + "description": "[aws:2019-09-22 20:28:02] Error opening screenshot", + "message": "Error al abrir la captura de pantalla" + }, + "_Errorremovingscreenshot": { + "description": "[aws:2019-09-22 20:28:02] Error removing screenshot", + "message": "Error al eliminar la captura de pantalla" + }, + "_Exitzoom": { + "description": "[aws:2019-09-22 20:28:03] Exit zoom", + "message": "Zoom de salida" + }, + "_Export": { + "description": "[aws:2019-09-22 20:28:04] Export", + "message": "Exportar" + }, + "_Extensionsettings": { + "description": "[aws:2019-09-23 18:50:23] Extension settings", + "message": "Configuración de extensión" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "[aws:2019-09-23 18:50:25] Extra permissions are required to access the underlying page.", + "message": "Se requieren permisos adicionales para acceder a la página subyacente." + }, + "_Extrapermissionsrequired": { + "description": "[aws:2019-09-23 18:50:25] Extra permissions required", + "message": "Permisos adicionales necesarios" + }, + "_Fileaccessneeded": { + "description": "[aws:2019-09-23 18:50:26] File access needed", + "message": "Se necesita acceso a archivos" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "[aws:2019-09-22 20:28:04] File no longer exists—perhaps it has been cleared from your browser", + "message": "El archivo ya no existe; tal vez se haya borrado de su navegador" + }, + "_Fill": { + "description": "[aws:2019-09-22 20:28:05] Fill", + "message": "Llenar" + }, + "_Font": { + "description": "[aws:2019-09-22 20:28:06] Font", + "message": "Fuente" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 18:50:27] For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "Para preguntas adicionales, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">póngase en contacto con nosotros\u003C/a>." + }, + "_Getstarted": { + "description": "[aws:2019-09-22 20:28:07] Get started", + "message": "Empezar" + }, + "_Gotit": { + "description": "[aws:2019-09-22 20:28:08] Got it!", + "message": "¡Lo tengo!" + }, + "_Gotoyouraccount": { + "description": "[aws:2019-09-22 20:28:08] Go to your account", + "message": "Ir a su cuenta" + }, + "_Help": { + "description": "[aws:2019-09-22 20:28:09] Help", + "message": "Ayudar" + }, + "_HelpShortcuts": { + "description": "[aws:2019-09-22 20:28:09] Help / Shortcuts", + "message": "Ayuda/Accesos directos" + }, + "_History": { + "description": "[aws:2019-09-22 20:28:10] History", + "message": "Historia" + }, + "_Hooray": { + "description": "[aws:2019-09-22 20:28:11] Hooray", + "message": "Hurra" + }, + "_Icon": { + "description": "[aws:2019-09-22 20:28:11] Icon", + "message": "Icono" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 20:28:13] If this persists, please report it via the flag reporting button above.", + "message": "Si esto persiste, infórmese a través del botón de notificación de marca anterior." + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "[aws:2019-09-22 20:28:13] If you’d like to try this feature in the future, click on the “Edit” button up top.", + "message": "Si quieres probar esta función en el futuro, haz clic en el botón «Editar» arriba." + }, + "_Imagedeleted": { + "description": "[aws:2019-09-22 20:28:14] Image deleted", + "message": "Imagen eliminada" + }, + "_Imageformat": { + "description": "[aws:2019-09-22 20:28:15] Image format:", + "message": "Formato de imagen:" + }, + "_Insertshapes": { + "description": "[aws:2019-09-22 20:28:15] Insert shapes", + "message": "Insertar formas" + }, + "_Italic": { + "description": "[aws:2019-09-22 20:28:16] Italic", + "message": "Cursiva" + }, + "_Layers": { + "description": "[aws:2019-09-22 20:28:17] Layers", + "message": "Capas" + }, + "_Learnmore": { + "description": "[aws:2019-09-22 20:28:17] Learn more", + "message": "Más información" + }, + "_Line": { + "description": "[aws:2019-09-22 20:28:18] Line", + "message": "Línea" + }, + "_Loadpermissionsdialog": { + "description": "[aws:2019-09-23 18:50:27] Load permissions dialog?", + "message": "¿Cargar el cuadro de diálogo de permisos?" + }, + "_LogintoExport": { + "description": "[aws:2019-09-22 20:28:19] Login to Export", + "message": "Iniciar sesión para exportar" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "[aws:2019-09-22 20:28:20] Look for an element within the page with its own scroll bars and scroll that item during the capture.", + "message": "Busque un elemento dentro de la página con sus propias barras de desplazamiento y desplácese ese elemento durante la captura." + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "[aws:2019-09-22 20:28:21] Might you consider taking a minute to rate it in the Webstore?", + "message": "¿Podrías considerar tomarte un minuto para calificarlo en la tienda web?" + }, + "_More": { + "description": "[aws:2019-09-22 20:28:21] More", + "message": "Más" + }, + "_Mouseorarrowkeys": { + "description": "[aws:2019-09-22 20:28:22] Mouse or arrow keys", + "message": "Teclas de flecha o ratón" + }, + "_Mouseorlayerspane": { + "description": "[aws:2019-09-22 20:28:23] Mouse or layers pane", + "message": "Panel de mouse o capas" + }, + "_Movelayer": { + "description": "[aws:2019-09-22 20:28:23] Move layer", + "message": "Mover capa" + }, + "_None": { + "description": "[aws:2019-09-22 20:28:24] None", + "message": "Ninguna" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "[aws:2019-09-22 20:28:25] No screen captures found. Go make some!", + "message": "No se han encontrado capturas de pantalla. ¡Ve a hacer algo!" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "[aws:2019-09-23 18:50:28] Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "message": "Nota: esta página es demasiado grande para que el navegador Chrome se capture como una sola imagen. Se dividirá en \u003Cspan id=\"screenshot-count\">múltiples\u003C/span> imágenes." + }, + "_Nothanks": { + "description": "[aws:2019-09-22 20:28:26] No, thanks.", + "message": "No, gracias." + }, + "_Nothankscontinueediting": { + "description": "[aws:2019-09-22 20:28:26] No thanks continue editing", + "message": "No gracias continuar editando" + }, + "_Notreally": { + "description": "[aws:2019-09-22 20:28:27] Not really", + "message": "En realidad no." + }, + "_OK": { + "description": "[aws:2019-09-23 18:50:29] OK", + "message": "DE ACUERDO" + }, + "_On": { + "description": "[aws:2019-09-22 20:28:29] On", + "message": "Sobre" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "[aws:2019-09-22 20:28:30] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios.", + "message": "En Mac Chrome hay problemas con «guardar como» para la descarga automática y al descargar varios archivos, por lo que está deshabilitado en esos escenarios." + }, + "_Options": { + "description": "[aws:2019-09-22 20:28:31] Options", + "message": "Opciones" + }, + "_Orderlayer": { + "description": "[aws:2019-09-22 20:28:32] Order layer", + "message": "Capa de pedido" + }, + "_Outline": { + "description": "[aws:2019-09-22 20:28:32] Outline", + "message": "Esbozo" + }, + "_Oval": { + "description": "[aws:2019-09-22 20:28:33] Oval", + "message": "Oval" + }, + "_PDFsize": { + "description": "[aws:2019-09-22 20:28:36] PDF size:", + "message": "Tamaño PDF:" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "[aws:2019-09-22 20:28:38] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression.", + "message": "PNG no tiene pérdidas y debe coincidir exactamente con lo que se ve en la pantalla, pero generalmente tendrá tamaños de archivo más grandes que JPG, que usa compresión." + }, + "_Pad": { + "description": "[aws:2019-09-22 20:28:34] Pad", + "message": "Bloc" + }, + "_Padding": { + "description": "[aws:2019-09-22 20:28:34] Padding", + "message": "Acolchado" + }, + "_PaddingBorder": { + "description": "[aws:2019-09-22 20:28:35] Padding / Border", + "message": "Relleno/Borde" + }, + "_Permissionneededtodownloadfiles": { + "description": "[aws:2019-09-22 20:28:36] Permission needed to download files", + "message": "Permiso necesario para descargar archivos" + }, + "_Permissions": { + "description": "[aws:2019-09-22 20:28:37] Permissions", + "message": "Permisos" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "[aws:2019-09-23 18:50:30] Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "message": "Ve a la configuración de la extensión de Chrome y habilita \u003Cstrong>«Permitir acceso a URL de archivos»\u003C/strong>para que la extensión pueda acceder a esta página. \u003Cbr>\u003Cbr>" + }, + "_Position": { + "description": "[aws:2019-09-22 20:28:39] Position", + "message": "Posición" + }, + "_Radius": { + "description": "[aws:2019-09-22 20:28:39] Radius", + "message": "Radio" + }, + "_Rectangle": { + "description": "[aws:2019-09-22 20:28:40] Rectangle", + "message": "Rectángulo" + }, + "_Redo": { + "description": "[aws:2019-09-22 20:28:41] Redo", + "message": "Rehacer" + }, + "_Removefiles": { + "description": "[aws:2019-09-22 20:28:41] Remove files", + "message": "Eliminar archivos" + }, + "_Reportissue": { + "description": "[aws:2019-09-22 20:28:42] Report issue.", + "message": "Informe de problema." + }, + "_Resizelayer": { + "description": "[aws:2019-09-22 20:28:42] Resize layer", + "message": "Cambiar el tamaño de la capa" + }, + "_Roundedcorners": { + "description": "[aws:2019-09-22 20:28:44] Rounded corners", + "message": "Esquinas redondeadas" + }, + "_Saveas": { + "description": "[aws:2019-09-22 20:28:44] Save as", + "message": "Guardar como" + }, + "_Saved": { + "description": "[aws:2019-09-22 20:28:45] Saved", + "message": "Salvado" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "[aws:2019-09-22 20:28:46] Save this permission (if accepted) for future captures. It can still be revoked later from the options page.", + "message": "Guarde este permiso (si se acepta) para futuras capturas. Todavía se puede revocar más tarde desde la página de opciones." + }, + "_Screencaptureinprogress": { + "description": "[aws:2019-09-23 18:50:30] Screen capture in progress…", + "message": "Captura de pantalla en curso..." + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "[aws:2019-09-22 20:28:47] Select 1 or more screenshots to use this action.", + "message": "Seleccione 1 o más capturas de pantalla para utilizar esta acción." + }, + "_Selected": { + "description": "[aws:2019-09-22 20:28:48] Selected", + "message": "Seleccionado" + }, + "_Selectlayer": { + "description": "[aws:2019-09-22 20:28:48] Select layer", + "message": "Seleccionar capa" + }, + "_Setthemedefaults": { + "description": "[aws:2019-09-22 20:28:49] Set theme defaults", + "message": "Establecer los valores predeterminados del tema" + }, + "_Shapes": { + "description": "[aws:2019-09-22 20:28:50] Shapes", + "message": "Formas" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "[aws:2019-09-22 20:28:50] Sign up for a free 7-day trial to unlock the editor and download your masterpiece.", + "message": "Regístrese para obtener una prueba gratuita de 7 días para desbloquear el editor y descargar su obra maestra." + }, + "_SignuptoExport": { + "description": "[aws:2019-09-22 20:28:51] Sign up to Export", + "message": "Regístrate para Exportar" + }, + "_Size": { + "description": "[aws:2019-09-22 20:28:52] Size", + "message": "Tamaño" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 18:50:31] Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "Algo salió mal. Intente actualizar la página y volver a ejecutarla. \u003Cbr>\u003Cbr>Si esto persiste, póngase \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">en contacto con nosotros\u003C/a>." + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "[aws:2019-09-22 20:28:52] Something went wrong deleting your screenshot.", + "message": "Algo salió mal al eliminar tu captura de pantalla." + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "[aws:2019-09-22 20:28:53] Something went wrong opening this screenshot into a new.", + "message": "Algo salió mal al abrir esta captura de pantalla en una nueva." + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "[aws:2019-09-22 20:28:54] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot.", + "message": "A veces, los elementos, como un botón de «volver a la parte superior» o un pie de página pegajoso se repetirán en la página. Esto intenta posicionarlos absolutamente para evitar que se repitan en un chirrido." + }, + "_Sorry": { + "description": "[aws:2019-09-22 20:28:55] Sorry", + "message": "Lo siento, lo siento" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "[aws:2019-09-22 20:28:56] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed).", + "message": "Especifique un directorio debajo del directorio de descargas para guardar las capturas de pantalla, como «capturas de pantalla». El valor predeterminado es el directorio de descargas si está en blanco. (Limítalo a letras, números, guiones, guiones bajos y barras diagonales; los caracteres no válidos se eliminarán automáticamente)." + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "[aws:2019-09-22 20:28:56] Specify the format size of PDFs for when exporting to PDF.", + "message": "Especifique el tamaño de formato de los archivos PDF para al exportar a PDF." + }, + "_Startyourfreetrial": { + "description": "[aws:2019-09-22 20:28:57] Start your free trial", + "message": "Comience su prueba gratuita" + }, + "_Stickers": { + "description": "[aws:2019-09-22 20:28:58] Stickers", + "message": "Pegatinas" + }, + "_Stillloading": { + "description": "[aws:2019-09-22 20:28:58] Still loading", + "message": "Se sigue cargando" + }, + "_TakemetotheWebstore": { + "description": "[aws:2019-09-22 20:28:59] Take me to the Webstore!", + "message": "¡Llévame a la tienda web!" + }, + "_Text": { + "description": "[aws:2019-09-22 20:29:00] Text", + "message": "Texto" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "description": "[aws:2019-09-22 20:29:00] Thank you for supporting Full Page Screen Capture", + "message": "Gracias por apoyar la captura de pantalla de página completa" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "[aws:2019-09-22 20:29:01] The best and safest way to capture a screenshot of an entire web page.", + "message": "La mejor y más segura manera de capturar una captura de pantalla de una página web completa." + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "[aws:2019-09-22 20:29:02] The download permission is required to enable the download as PDF feature.", + "message": "El permiso de descarga es necesario para habilitar la función de descarga como PDF." + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "[aws:2019-09-22 20:29:02] The following files could not be downloaded:", + "message": "No se pudieron descargar los siguientes archivos:" + }, + "_ThemeDefaults": { + "description": "[aws:2019-09-22 20:29:03] Theme Defaults", + "message": "Valores predeterminados del tema" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "[aws:2019-09-22 20:29:04] There was an error downloading files, please report it via the flag button above.", + "message": "Se ha producido un error al descargar archivos, infórmelos a través del botón de bandera de arriba." + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "[aws:2019-09-22 20:29:05] These settings will apply to all future edits of screenshots. Changes are autosaved.", + "message": "Esta configuración se aplicará a todas las ediciones futuras de capturas de pantalla. Los cambios se guardan automáticamente." + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "[aws:2019-09-22 20:29:05] The specified image could not be found.", + "message": "No se pudo encontrar la imagen especificada." + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "[aws:2019-09-22 20:29:06] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!", + "message": "Esta extensión requiere mucho trabajo para mantener. ¡Es realmente significativo escuchar que lo encuentras útil!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "[aws:2019-09-22 20:29:07] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.", + "message": "Esto está tardando más de lo esperado en cargarse. ¡Aguanta fuerte! Si nada se actualiza después de un tiempo, infórmalo a través del botón de la marca de informes anterior." + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "description": "[aws:2019-09-22 20:29:08] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work.", + "message": "Este permiso permite un mayor control sobre el funcionamiento de las descargas dentro de la extensión. Se ha guardado su preferencia, y este botón de descarga ahora retrocede a las descargas predeterminadas al hacer clic del navegador. Sin embargo, se le pedirá que utilice cualquiera de las características avanzadas de las páginas Historial u Opciones, ya que necesitan estos permisos para funcionar." + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "[aws:2019-09-22 20:29:09] This permission is required for the download buttons and the auto-download feature.", + "message": "Este permiso es necesario para los botones de descarga y la función de descarga automática." + }, + "_Thispermissionisrequiredinordertoscrolltheinnercontentsofiframesorframesets": { + "description": "[aws:2019-09-22 23:05:00] This permission is required in order to scroll the inner contents of $iframes$ or $framesets$.", + "message": "Este permiso es necesario para desplazar el contenido interno de $iframes$ o $framesets$.", + "placeholders": { + "framesets": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">framesets\u003C/a>", + "example": "framesets" + }, + "iframes": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframes\u003C/a>", + "example": "iframes" + } + } + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "[aws:2019-09-22 20:29:10] This screenshot been successfully removed.", + "message": "Esta captura de pantalla se ha eliminado correctamente." + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "[aws:2019-09-23 18:50:32] This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>.", + "message": "Este sitio parece tener contenido incrustado dentro de un \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">conjunto de marcos\u003C/a>." + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "[aws:2019-09-23 18:50:32] This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>.", + "message": "Este sitio parece tener contenido incrustado dentro de un \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>." + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "[aws:2019-09-23 18:50:33] This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "message": "Esta versión de prueba ha caducado. Ponte en contacto para obtener una actualización o cambia a la extensión adecuada en \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>." + }, + "_ToggleURLbrowser": { + "description": "[aws:2019-09-22 20:29:12] Toggle URL / browser", + "message": "Alternar URL/navegador" + }, + "_Togglecrop": { + "description": "[aws:2019-09-22 20:29:11] Toggle crop", + "message": "Alternar recorte" + }, + "_Togglepaddingborder": { + "description": "[aws:2019-09-22 20:29:12] Toggle padding / border", + "message": "Alternar relleno/borde" + }, + "_Type": { + "description": "[aws:2019-09-22 20:29:13] Type", + "message": "Tipo" + }, + "_URLBrowser": { + "description": "[aws:2019-09-22 20:29:16] URL / Browser", + "message": "URL/Navegador" + }, + "_URLonbottom": { + "description": "[aws:2019-09-22 20:29:17] URL on bottom", + "message": "URL en la parte inferior" + }, + "_URLontop": { + "description": "[aws:2019-09-22 20:29:17] URL on top", + "message": "URL en la parte superior" + }, + "_Unabletofindimage": { + "description": "[aws:2019-09-22 20:29:14] Unable to find image", + "message": "No se puede encontrar la imagen" + }, + "_Unabletoloadimage": { + "description": "[aws:2019-09-22 20:29:14] Unable to load image", + "message": "No se puede cargar la imagen" + }, + "_Undo": { + "description": "[aws:2019-09-22 20:29:15] Undo", + "message": "Deshacer" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "[aws:2019-09-23 18:50:35] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page.", + "message": "Advertencia: la extensión no está diseñada para manejar capturas extremadamente grandes. Es posible que no se complete una captura de esta página." + }, + "_WatchDemo": { + "description": "[aws:2019-09-22 20:29:19] Watch Demo", + "message": "Ver Demo" + }, + "_WelcometotheFullPageEditor": { + "description": "[aws:2019-09-22 20:29:20] Welcome to the Full Page Editor!", + "message": "¡Bienvenido al editor de página completa!" + }, + "_WelcometotheFullPageScreenCaptureextension": { + "description": "[aws:2019-09-23 18:50:36] Welcome to the Full Page Screen Capture extension.", + "message": "Bienvenido a la extensión de captura de pantalla de página completa." + }, + "_WelcometotheofficialFullPageEditor": { + "description": "[aws:2019-09-22 20:29:21] Welcome to the official Full Page Editor!", + "message": "¡Bienvenido al editor oficial de página completa!" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "[aws:2019-09-22 20:29:21] We’re excited to have you aboard.", + "message": "Estamos emocionados de tenerte a bordo." + }, + "_Width": { + "description": "[aws:2019-09-22 20:29:22] Width", + "message": "Ancho" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "[aws:2019-09-22 20:29:23] Would you like to report any issues you’re experiencing, so we can improve this extension together?", + "message": "¿Desea informar de algún problema que esté experimentando para que podamos mejorar esta extensión juntos?" + }, + "_Yes": { + "description": "[aws:2019-09-22 20:29:23] Yes!", + "message": "¡Sí! ¡Sí!" + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "[aws:2019-09-23 18:50:36] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "message": "Puede ejecutar esto en cualquier página web, excepto aquellas en las que el navegador restringe que las extensiones ejecuten scripts. Esto incluye la tienda web de Chrome, las páginas de configuración del navegador y otras extensiones." + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "[aws:2019-09-23 18:50:37] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen.", + "message": "Es posible que deba volver a ejecutar la extensión después de interactuar con el cuadro de diálogo. Si cancela, capturará sólo la pantalla visible." + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "[aws:2019-09-22 20:29:24] You need to grant the download privilege in order to download files", + "message": "Debe conceder el privilegio de descarga para descargar archivos" + }, + "_Zoom": { + "description": "[aws:2019-09-22 20:29:25] Zoom", + "message": "Zoom" + }, + "_Zoomin": { + "description": "[aws:2019-09-22 20:29:25] Zoom in", + "message": "Acercar" + }, + "_Zoomout": { + "description": "[aws:2019-09-22 20:29:26] Zoom out", + "message": "Alejar" + }, + "_billedannually": { + "description": "[aws:2019-09-22 20:27:37] billed annually", + "message": "facturado anualmente" + }, + "_cancelanytime": { + "description": "[aws:2019-09-22 20:27:39] cancel anytime", + "message": "cancelar en cualquier momento" + }, + "_close": { + "description": "[aws:2019-09-23 18:50:22] close", + "message": "cerca" + }, + "_details": { + "description": "[aws:2019-09-23 18:50:22] details…", + "message": "detalles..." + }, + "_fullimage": { + "description": "[aws:2019-09-22 20:28:06] full image", + "message": "imagen completa" + }, + "_iFramepermission": { + "description": "[aws:2019-09-22 20:28:12] iFrame permission", + "message": "Permiso iFrame" + }, + "_loading": { + "description": "[aws:2019-09-22 20:28:18] loading…", + "message": "cargando..." + }, + "_numfilescouldnotberemoved": { + "description": "[aws:2019-09-22 23:04:58] $num$ files could not be removed.", + "message": "No se pudieron eliminar los archivos $num$.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "[aws:2019-09-22 23:04:59] $num$ files were successfully removed.", + "message": "$num$ archivos se han eliminado correctamente.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "[aws:2019-09-22 20:28:31] or", + "message": "o" + }, + "_restorefactorydefaults": { + "description": "[aws:2019-09-22 20:28:43] restore factory defaults", + "message": "restaurar valores predeterminados de fábrica" + }, + "_search": { + "description": "[aws:2019-09-22 20:28:46] search…", + "message": "buscar..." + }, + "_upontrialcompletion": { + "description": "[aws:2019-09-22 20:29:16] upon trial completion", + "message": "una vez finalizado el juicio" + }, + "_version": { + "description": "[aws:2019-09-22 20:29:18] version", + "message": "versión" + }, + "_watchademovideo": { + "description": "[aws:2019-09-22 20:29:19] watch a demo video", + "message": "ver un video de demostración" + }, + "actionClose": { + "description": "[aws:2019-09-22 20:29:27] Close", + "message": "Cerrar" + }, + "actionDeleteImage": { + "description": "[aws:2019-09-22 20:29:27] Delete image", + "message": "Eliminar imagen" + }, + "actionDownloadImage": { + "description": "[aws:2019-09-22 20:29:28] Download image", + "message": "Descargar imagen" + }, + "actionDownloadPDF": { + "description": "[aws:2019-09-22 20:29:28] Download PDF", + "message": "Descargar PDF" + }, + "actionEdit": { + "description": "[aws:2019-09-22 20:29:29] Edit", + "message": "Editar" + }, + "actionOK": { + "description": "[aws:2019-09-22 20:29:30] OK", + "message": "DE ACUERDO" + }, + "actionReport": { + "description": "[aws:2019-09-22 20:29:30] Report issue", + "message": "Problema del informe" + }, + "appDesc": { + "description": "[aws:2019-09-22 20:27:05] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!", + "message": "Captura una captura de pantalla de tu página actual en su totalidad y de forma fiable, sin solicitar ningún permiso adicional." + }, + "goPremiumHeader": { + "description": "Take your screenshots to the next level with Full Page Screen Capture Premium", + "message": "Lleve sus capturas de pantalla al siguiente nivel con “Full Page Capture Premium”" + }, + "goPremiumLink": { + "description": "Get started (free 1-week trial)", + "message": "Pruébelo ya (periodo gratuito de prueba de 1 semana)" + }, + "goPremiumSignInLink": { + "description": "Sign in", + "message": "Inicie Sesión" + }, + "goPremiumSignInMessage": { + "description": "Already have an account?", + "message": "Ya tiene cuenta?" + }, + "goPremiumSubHeader": { + "description": "Including advanced editing and annotation features of screenshots", + "message": "Incluyendo la opción de editar imágenes y añadir textos a sus capturas de pantalla." + }, + "navHistory": { + "description": "[aws:2019-09-22 20:29:31] History", + "message": "Historia" + }, + "navOptions": { + "description": "[aws:2019-09-22 20:29:32] Options", + "message": "Opciones" + }, + "tryEditingNo": { + "description": "No thanks", + "message": "No gracias" + }, + "tryEditingRequest": { + "description": "Try editing and annotating your screenshot", + "message": "Pruebe a editar y añadir texto a sus capturas de pantalla" + }, + "tryEditingYes": { + "description": "Ok!", + "message": "Ok!" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/fr/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/fr/messages.json new file mode 100644 index 0000000..7858d74 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/fr/messages.json @@ -0,0 +1,914 @@ +{ + "_1filecouldnotberemoved": { + "description": "[aws:2019-09-23 19:30:18] 1 file could not be removed.", + "message": "1 fichier n'a pas pu être supprimé." + }, + "_1filewassuccessfullyremoved": { + "description": "[aws:2019-09-23 19:30:19] 1 file was successfully removed.", + "message": "1 fichier a été supprimé avec succès." + }, + "_Adjustrepeatingelements": { + "description": "[aws:2019-09-23 19:30:19] Adjust repeating elements", + "message": "Ajuster les éléments répétitifs" + }, + "_Advancedscrolling": { + "description": "[aws:2019-09-23 19:30:20] Advanced scrolling", + "message": "Défilement avancé" + }, + "_Align": { + "description": "[aws:2019-09-23 19:30:21] Align", + "message": "Aligner" + }, + "_Anyissues": { + "description": "[aws:2019-09-23 19:30:22] Any issues?", + "message": "Des problèmes ?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "[aws:2019-09-23 19:30:23] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested.", + "message": "Toutes les autorisations facultatives précédemment accordées apparaîtront ici. Vous pouvez les révoquer à tout moment. Si elles sont à nouveau nécessaires à l'avenir, elles seront de nouveau demandées." + }, + "_Areyouenjoyingthisextension": { + "description": "[aws:2019-09-23 19:30:23] Are you enjoying this extension?", + "message": "Vous aimez cette extension ?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "[aws:2019-09-23 19:30:24] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)", + "message": "Êtes-vous sûr de vouloir supprimer 1 capture d'écran ?\n (Cette action ne peut pas être annulée.)" + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "[aws:2019-09-23 19:30:25] Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "message": "Êtes-vous sûr de vouloir supprimer les captures d'écran $count$ ?\n (Cette action ne peut pas être annulée.)", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "[aws:2019-09-23 19:30:26] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)", + "message": "Êtes-vous sûr de vouloir supprimer cette capture d'écran ?\n(Cette action ne peut pas être annulée.)" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "[aws:2019-09-23 19:30:27] Are you sure you want to reset to the extension’s original theme defaults?", + "message": "Êtes-vous sûr de vouloir réinitialiser les valeurs par défaut du thème d'origine de l'extension ?" + }, + "_Arrow": { + "description": "[aws:2019-09-23 19:30:27] Arrow", + "message": "Flèche" + }, + "_Autodownloadfiles": { + "description": "[aws:2019-09-23 19:30:28] Auto-download files", + "message": "Téléchargement automatique des fichiers" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:30:29] Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "Le téléchargement automatique est activé. Vous pouvez modifier cela dans les \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>." + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "[aws:2019-09-23 19:30:30] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "message": "Téléchargez automatiquement votre capture d'écran au lieu de l'ouvrir dans une nouvelle fenêtre.Cela signifie que l'onglet de capture d'extension ne s'ouvrira pas. Vous pouvez revenir ici en cliquant avec le bouton droit sur l'extension et en sélectionnant « Options »." + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "[aws:2019-09-23 19:30:32] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "message": "Afficher automatiquement une boîte de dialogue « Enregistrer sous » lors du téléchargement de vos captures d'écran. Si l'option « Demander où enregistrer chaque fichier avant le téléchargement » est activée dans vos paramètres Chrome, cela prend la priorité." + }, + "_Backtocapturechangesareautosaved": { + "description": "[aws:2019-09-23 19:30:33] Back to capture (changes are auto-saved)", + "message": "Retour à la capture (les modifications sont enregistrées automatiquement)" + }, + "_Blur": { + "description": "[aws:2019-09-23 19:30:35] Blur", + "message": "Flou" + }, + "_Bold": { + "description": "[aws:2019-09-23 19:30:35] Bold", + "message": "Gras" + }, + "_Cancel": { + "description": "[aws:2019-09-23 19:30:36] Cancel", + "message": "Annuler" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:30:37] Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "Impossible de télécharger automatiquement, vous devez réapprouver l'autorisation Téléchargements dans les \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>." + }, + "_Cannotdownloadfiles": { + "description": "[aws:2019-09-23 19:30:38] Cannot download files", + "message": "Impossible de télécharger les fichiers" + }, + "_Capture": { + "description": "[aws:2019-09-23 19:30:39] Capture", + "message": "Capture" + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "[aws:2019-09-23 19:30:40] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "message": "Chrome n'autorise pas l'accès à certaines URL pour des raisons de sécurité. Cela inclut la galerie de webstore, d'autres extensions chrome et les URL chrome : //. La page actuelle semble être une URL restreinte." + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "[aws:2019-09-23 19:30:41] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "message": "Chrome empêche les extensions d'enregistrer des fichiers en dehors du répertoire de téléchargements par défaut. Le chemin d'accès que vous avez entré a été mis à jour en conséquence. Excusez-moi !" + }, + "_Clickdraginlayerspane": { + "description": "[aws:2019-09-23 19:30:41] Click + drag in layers pane", + "message": "Cliquez + glisser dans le volet des calques" + }, + "_Color": { + "description": "[aws:2019-09-23 19:30:42] Color", + "message": "Couleur" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "[aws:2019-09-23 19:30:43] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future.", + "message": "Configurez vos paramètres pour l'extension Capture d'écran pleine page. Restez à l'affût pour d'autres mises à jour. Les paramètres bêta peuvent changer à l'avenir." + }, + "_Continueediting": { + "description": "[aws:2019-09-23 19:30:45] Continue editing", + "message": "Poursuivre l'édition" + }, + "_CropImage": { + "description": "[aws:2019-09-23 19:30:46] Crop Image", + "message": "Recadrer l'image" + }, + "_Cropeditannotateandexport": { + "description": "[aws:2019-09-23 19:30:45] Crop, edit, annotate, and export", + "message": "Recadrer, modifier, annoter et exporter" + }, + "_Delete": { + "description": "[aws:2019-09-23 19:30:47] Delete", + "message": "Supprimer" + }, + "_Deletecurrentselection": { + "description": "[aws:2019-09-23 19:30:47] Delete current selection", + "message": "Supprimer la sélection actuelle" + }, + "_Directory": { + "description": "[aws:2019-09-23 19:30:48] Directory:", + "message": "Répertoire :" + }, + "_Document": { + "description": "[aws:2019-09-23 19:30:49] Document", + "message": "Document" + }, + "_Documentedits": { + "description": "[aws:2019-09-23 19:30:50] Document edits", + "message": "Moditions de documents" + }, + "_DoneCropping": { + "description": "[aws:2019-09-23 19:30:52] Done Cropping", + "message": "Recadrage terminé" + }, + "_Download": { + "description": "[aws:2019-09-23 19:30:52] Download", + "message": "Télécharger" + }, + "_DownloadExport": { + "description": "[aws:2019-09-23 19:30:53] Download & Export", + "message": "Télécharger & Exporter" + }, + "_Downloadpermissionisrequired": { + "description": "[aws:2019-09-23 19:30:54] Download permission is required", + "message": "Autorisation de téléchargement requise" + }, + "_Downloadpermissionnotgranted": { + "description": "[aws:2019-09-23 19:30:55] Download permission not granted", + "message": "Autorisation de téléchargement non accordée" + }, + "_Downloadspermission": { + "description": "[aws:2019-09-23 19:30:55] Downloads permission", + "message": "Autorisation de téléchargement" + }, + "_Draglayercontrolpoints": { + "description": "[aws:2019-09-23 19:30:56] Drag layer control points", + "message": "Faites glisser les points de contrôle de la couche" + }, + "_Duplicateselection": { + "description": "[aws:2019-09-23 19:30:57] Duplicate selection", + "message": "Dupliquer la sélection" + }, + "_Edited": { + "description": "[aws:2019-09-23 19:30:57] Edited", + "message": "Edité" + }, + "_Elements": { + "description": "[aws:2019-09-23 19:30:58] Elements", + "message": "Éléments" + }, + "_Emoji": { + "description": "[aws:2019-09-23 19:31:00] Emoji", + "message": "Emoji" + }, + "_Enabled": { + "description": "[aws:2019-09-23 19:31:00] Enabled", + "message": "Activé" + }, + "_Entertexthere": { + "description": "[aws:2019-09-23 19:31:01] Enter text here", + "message": "Entrez le texte ici" + }, + "_Error": { + "description": "[aws:2019-09-23 19:31:02] Error", + "message": "Erreur" + }, + "_Errordownloadingfile": { + "description": "[aws:2019-09-23 19:31:02] Error downloading file", + "message": "Erreur lors du téléchargement du fichier" + }, + "_Errordownloadingfiles": { + "description": "[aws:2019-09-23 19:31:03] Error downloading files", + "message": "Erreur lors du téléchargement des fichiers" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-23 19:31:04] Error handling files. Please report this via the flag reporting button above.", + "message": "Erreur lors de la gestion des fichiers. Veuillez le signaler via le bouton « Signaler » ci-dessus." + }, + "_Errorloadinghistory": { + "description": "[aws:2019-09-23 19:31:05] Error loading history", + "message": "Erreur lors du chargement de l'historique" + }, + "_Errorloadingimage": { + "description": "[aws:2019-09-23 19:31:05] Error loading image", + "message": "Erreur lors du chargement de l'image" + }, + "_Erroropeningscreenshot": { + "description": "[aws:2019-09-23 19:31:06] Error opening screenshot", + "message": "Erreur lors de l'ouverture de la capture d'écran" + }, + "_Errorremovingscreenshot": { + "description": "[aws:2019-09-23 19:31:07] Error removing screenshot", + "message": "Erreur lors de la suppression de la capture d'écran" + }, + "_Exitzoom": { + "description": "[aws:2019-09-23 19:31:07] Exit zoom", + "message": "Quitter le zoom" + }, + "_Export": { + "description": "[aws:2019-09-23 19:31:08] Export", + "message": "Exporter" + }, + "_Extensionsettings": { + "description": "[aws:2019-09-23 19:31:09] Extension settings", + "message": "Paramètres de l'extension" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "[aws:2019-09-23 19:31:09] Extra permissions are required to access the underlying page.", + "message": "Des autorisations supplémentaires sont requises pour accéder à la page sous-jacente." + }, + "_Extrapermissionsrequired": { + "description": "[aws:2019-09-23 19:31:10] Extra permissions required", + "message": "Autorisations supplémentaires requises" + }, + "_Fileaccessneeded": { + "description": "[aws:2019-09-23 19:31:11] File access needed", + "message": "Accès aux fichiers requis" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "[aws:2019-09-23 19:31:11] File no longer exists—perhaps it has been cleared from your browser", + "message": "Le fichier n'existe plus, peut-être qu'il a été effacé de votre navigateur" + }, + "_Fill": { + "description": "[aws:2019-09-23 19:31:12] Fill", + "message": "Remplir" + }, + "_Font": { + "description": "[aws:2019-09-23 19:31:13] Font", + "message": "Fonte" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:31:13] For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "Pour toute question supplémentaire, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contactez-nous\u003C/a>." + }, + "_Getstarted": { + "description": "[aws:2019-09-23 19:31:17] Get started", + "message": "Commencer" + }, + "_Gotit": { + "description": "[aws:2019-09-23 19:31:18] Got it!", + "message": "Je l'ai !" + }, + "_Gotoyouraccount": { + "description": "[aws:2019-09-23 19:31:19] Go to your account", + "message": "Accédez à votre compte" + }, + "_Help": { + "description": "[aws:2019-09-23 19:31:20] Help", + "message": "Aider" + }, + "_HelpShortcuts": { + "description": "[aws:2019-09-23 19:31:20] Help / Shortcuts", + "message": "Aide/Raccourcis" + }, + "_History": { + "description": "[aws:2019-09-23 19:31:21] History", + "message": "Histoire" + }, + "_Hooray": { + "description": "[aws:2019-09-23 19:31:22] Hooray", + "message": "Hourra" + }, + "_Icon": { + "description": "[aws:2019-09-23 19:31:22] Icon", + "message": "Icône" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-23 19:31:24] If this persists, please report it via the flag reporting button above.", + "message": "Si cela persiste, veuillez le signaler via le bouton « Signaler » ci-dessus." + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "[aws:2019-09-23 19:31:24] If you’d like to try this feature in the future, click on the “Edit” button up top.", + "message": "Si vous souhaitez essayer cette fonctionnalité à l'avenir, cliquez sur le bouton « Modifier » en haut." + }, + "_Imagedeleted": { + "description": "[aws:2019-09-23 19:31:25] Image deleted", + "message": "Image supprimée" + }, + "_Imageformat": { + "description": "[aws:2019-09-23 19:31:26] Image format:", + "message": "Format de l'image :" + }, + "_Insertshapes": { + "description": "[aws:2019-09-23 19:31:26] Insert shapes", + "message": "Insérer des formes" + }, + "_Italic": { + "description": "[aws:2019-09-23 19:31:28] Italic", + "message": "Italique" + }, + "_Layers": { + "description": "[aws:2019-09-23 19:31:28] Layers", + "message": "Couches" + }, + "_Learnmore": { + "description": "[aws:2019-09-23 19:31:29] Learn more", + "message": "En savoir plus" + }, + "_Line": { + "description": "[aws:2019-09-23 19:31:30] Line", + "message": "Ligne" + }, + "_Loadpermissionsdialog": { + "description": "[aws:2019-09-23 19:31:31] Load permissions dialog?", + "message": "Boîte de dialogue Charger les autorisations ?" + }, + "_LogintoExport": { + "description": "[aws:2019-09-23 19:31:33] Login to Export", + "message": "Se connecter à Exporter" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "[aws:2019-09-23 19:31:34] Look for an element within the page with its own scroll bars and scroll that item during the capture.", + "message": "Recherchez un élément dans la page avec ses propres barres de défilement et faites défiler cet élément pendant la capture." + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "[aws:2019-09-23 19:31:35] Might you consider taking a minute to rate it in the Webstore?", + "message": "Pourriez-vous envisager de prendre une minute pour le noter dans la boutique en ligne ?" + }, + "_More": { + "description": "[aws:2019-09-23 19:31:35] More", + "message": "Plus" + }, + "_Mouseorarrowkeys": { + "description": "[aws:2019-09-23 19:31:36] Mouse or arrow keys", + "message": "Touches de la souris ou des touches fléchées" + }, + "_Mouseorlayerspane": { + "description": "[aws:2019-09-23 19:31:37] Mouse or layers pane", + "message": "Volet de la souris ou des calques" + }, + "_Movelayer": { + "description": "[aws:2019-09-23 19:31:37] Move layer", + "message": "Déplacer la couche" + }, + "_None": { + "description": "[aws:2019-09-23 19:31:39] None", + "message": "Aucun" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "[aws:2019-09-23 19:31:40] No screen captures found. Go make some!", + "message": "Aucune capture d'écran trouvée. Va en faire !" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "[aws:2019-09-23 19:31:42] Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "message": "Remarque : cette page est trop grande pour que le navigateur Chrome puisse capturer en une seule image. Il sera divisé en \u003Cspan id=\"screenshot-count\">plusieurs\u003C/span> images." + }, + "_Nothanks": { + "description": "[aws:2019-09-23 19:31:43] No, thanks.", + "message": "Non, merci." + }, + "_Nothankscontinueediting": { + "description": "[aws:2019-09-23 19:31:44] No thanks continue editing", + "message": "Non merci continuer l'édition" + }, + "_Notreally": { + "description": "[aws:2019-09-23 19:31:44] Not really", + "message": "Pas vraiment." + }, + "_OK": { + "description": "[aws:2019-09-23 19:31:47] OK", + "message": "D'ACCORD" + }, + "_On": { + "description": "[aws:2019-09-23 19:31:48] On", + "message": "Sur" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "[aws:2019-09-23 19:31:49] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios.", + "message": "Sur Mac Chrome, il y a des problèmes avec « enregistrer sous » pour le téléchargement automatique et lors du téléchargement de plusieurs fichiers, il est donc désactivé dans ces scénarios." + }, + "_Options": { + "description": "[aws:2019-09-23 19:31:50] Options", + "message": "Options" + }, + "_Orderlayer": { + "description": "[aws:2019-09-23 19:31:51] Order layer", + "message": "Calque de commande" + }, + "_Outline": { + "description": "[aws:2019-09-23 19:31:52] Outline", + "message": "Esquisse" + }, + "_Oval": { + "description": "[aws:2019-09-23 19:31:52] Oval", + "message": "Ovale" + }, + "_PDFsize": { + "description": "[aws:2019-09-23 19:31:55] PDF size:", + "message": "Format PDF :" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "[aws:2019-09-23 19:32:00] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression.", + "message": "PNG est sans perte et devrait correspondre exactement à ce qui est vu à l'écran, mais aura généralement des tailles de fichiers plus grandes que JPG, qui utilise la compression." + }, + "_Pad": { + "description": "[aws:2019-09-23 19:31:53] Pad", + "message": "Tampon" + }, + "_Padding": { + "description": "[aws:2019-09-23 19:31:53] Padding", + "message": "Rembourrage" + }, + "_PaddingBorder": { + "description": "[aws:2019-09-23 19:31:54] Padding / Border", + "message": "Rembourrage/bordure" + }, + "_Permissionneededtodownloadfiles": { + "description": "[aws:2019-09-23 19:31:56] Permission needed to download files", + "message": "Autorisation nécessaire pour télécharger des fichiers" + }, + "_Permissions": { + "description": "[aws:2019-09-23 19:31:57] Permissions", + "message": "Autorisations" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "[aws:2019-09-23 19:31:59] Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "message": "Accédez aux paramètres de votre extension Chrome et activez \u003Cstrong>« Autoriser l'accès aux URL de fichier »\u003C/strong>afin que l'extension puisse accéder à cette page. \u003Cbr>\u003Cbr>" + }, + "_Position": { + "description": "[aws:2019-09-23 19:32:00] Position", + "message": "Position" + }, + "_Radius": { + "description": "[aws:2019-09-23 19:32:01] Radius", + "message": "Rayon" + }, + "_Rectangle": { + "description": "[aws:2019-09-23 19:32:02] Rectangle", + "message": "Rectangle" + }, + "_Redo": { + "description": "[aws:2019-09-23 19:32:03] Redo", + "message": "Refaire" + }, + "_Removefiles": { + "description": "[aws:2019-09-23 19:32:03] Remove files", + "message": "Supprimer des fichiers" + }, + "_Reportissue": { + "description": "[aws:2019-09-23 19:32:04] Report issue.", + "message": "Signaler un problème." + }, + "_Resizelayer": { + "description": "[aws:2019-09-23 19:32:05] Resize layer", + "message": "Redimensionner le calque" + }, + "_Roundedcorners": { + "description": "[aws:2019-09-23 19:32:07] Rounded corners", + "message": "Coins arrondis" + }, + "_Saveas": { + "description": "[aws:2019-09-23 19:32:08] Save as", + "message": "Enregistrer sous" + }, + "_Saved": { + "description": "[aws:2019-09-23 19:32:09] Saved", + "message": "Sauvé" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "[aws:2019-09-23 19:32:09] Save this permission (if accepted) for future captures. It can still be revoked later from the options page.", + "message": "Enregistrez cette autorisation (si elle est acceptée) pour les captures futures. Il peut toujours être révoqué plus tard à partir de la page des options." + }, + "_Screencaptureinprogress": { + "description": "[aws:2019-09-23 19:32:10] Screen capture in progress…", + "message": "Capture d'écran en cours..." + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "[aws:2019-09-23 19:32:11] Select 1 or more screenshots to use this action.", + "message": "Sélectionnez 1 ou plusieurs captures d'écran pour utiliser cette action." + }, + "_Selected": { + "description": "[aws:2019-09-23 19:32:13] Selected", + "message": "Sélectionné" + }, + "_Selectlayer": { + "description": "[aws:2019-09-23 19:32:13] Select layer", + "message": "Sélectionner un calque" + }, + "_Setthemedefaults": { + "description": "[aws:2019-09-23 19:32:14] Set theme defaults", + "message": "Définir les paramètres par défaut du thème" + }, + "_Shapes": { + "description": "[aws:2019-09-23 19:32:15] Shapes", + "message": "Formes" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "[aws:2019-09-23 19:32:16] Sign up for a free 7-day trial to unlock the editor and download your masterpiece.", + "message": "Inscrivez-vous pour un essai gratuit de 7 jours pour débloquer l'éditeur et télécharger votre chef-d'œuvre." + }, + "_SignuptoExport": { + "description": "[aws:2019-09-23 19:32:16] Sign up to Export", + "message": "S'inscrire à Exporter" + }, + "_Size": { + "description": "[aws:2019-09-23 19:32:17] Size", + "message": "Taille" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:32:20] Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "Quelque chose s'est mal passé. Essayez d'actualiser la page et de l'exécuter à nouveau. \u003Cbr>\u003Cbr>Si cela persiste, veuillez \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">nous contacter\u003C/a>." + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "[aws:2019-09-23 19:32:18] Something went wrong deleting your screenshot.", + "message": "Quelque chose s'est mal passé en supprimant votre capture d'écran." + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "[aws:2019-09-23 19:32:18] Something went wrong opening this screenshot into a new.", + "message": "Quelque chose s'est mal passé en ouvrant cette capture d'écran dans une nouvelle." + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "[aws:2019-09-23 19:32:21] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot.", + "message": "Parfois, des éléments, comme un bouton « retour en haut » ou un pied de page collant se répètent sur la page. Cela essaie de les positionner absolument pour les empêcher de se répéter dans un screeshot." + }, + "_Sorry": { + "description": "[aws:2019-09-23 19:32:22] Sorry", + "message": "Désolée" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "[aws:2019-09-23 19:32:24] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed).", + "message": "Spécifiez un répertoire sous votre répertoire de téléchargements pour enregistrer vos captures d'écran, par exemple « screencaptures ». Par défaut, le répertoire des téléchargements s'il est vide. (Veuillez le limiter aux lettres, aux chiffres, aux tirets, aux traits de soulignement et aux barres obliques : les caractères non valides seront automatiquement supprimés)." + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "[aws:2019-09-23 19:32:26] Specify the format size of PDFs for when exporting to PDF.", + "message": "Spécifiez la taille de format des PDF lors de l'exportation au format PDF." + }, + "_Startyourfreetrial": { + "description": "[aws:2019-09-23 19:32:26] Start your free trial", + "message": "Commencez votre essai gratuit" + }, + "_Stickers": { + "description": "[aws:2019-09-23 19:32:27] Stickers", + "message": "Autocollants" + }, + "_Stillloading": { + "description": "[aws:2019-09-23 19:32:28] Still loading", + "message": "Toujours en cours de chargement" + }, + "_TakemetotheWebstore": { + "description": "[aws:2019-09-23 19:32:28] Take me to the Webstore!", + "message": "Emmenez-moi à la boutique en ligne !" + }, + "_Text": { + "description": "[aws:2019-09-23 19:32:29] Text", + "message": "Texte" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "description": "[aws:2019-09-23 19:32:31] Thank you for supporting Full Page Screen Capture", + "message": "Merci d'avoir pris en charge la capture d'écran pleine page" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "[aws:2019-09-23 19:32:31] The best and safest way to capture a screenshot of an entire web page.", + "message": "Le moyen le plus sûr et le plus sûr de capturer une capture d'écran d'une page web entière." + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "[aws:2019-09-23 19:32:33] The download permission is required to enable the download as PDF feature.", + "message": "L'autorisation de téléchargement est requise pour activer la fonctionnalité de téléchargement au format PDF." + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "[aws:2019-09-23 19:32:34] The following files could not be downloaded:", + "message": "Les fichiers suivants n'ont pas pu être téléchargés :" + }, + "_ThemeDefaults": { + "description": "[aws:2019-09-23 19:32:35] Theme Defaults", + "message": "Paramètres par défaut du thème" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "[aws:2019-09-23 19:32:36] There was an error downloading files, please report it via the flag button above.", + "message": "Une erreur s'est produite lors du téléchargement des fichiers, veuillez le signaler via le bouton drapeau ci-dessus." + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "[aws:2019-09-23 19:32:37] These settings will apply to all future edits of screenshots. Changes are autosaved.", + "message": "Ces paramètres s'appliqueront à toutes les modifications futures des captures d'écran. Les modifications sont enregistrées automatiquement." + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "[aws:2019-09-23 19:32:38] The specified image could not be found.", + "message": "L'image spécifiée est introuvable." + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "[aws:2019-09-23 19:32:39] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!", + "message": "Cette extension prend beaucoup de travail à maintenir. C'est vraiment significatif d'entendre que vous le trouvez utile !" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "[aws:2019-09-23 19:32:40] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.", + "message": "Cela prend plus de temps à charger que prévu. Attends bien ! Si rien n'est mis à jour après un certain temps, veuillez le signaler via le bouton indicateur ci-dessus." + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "description": "[aws:2019-09-23 19:32:41] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work.", + "message": "Cette autorisation permet un meilleur contrôle sur le fonctionnement des téléchargements dans l'extension. Votre préférence a été enregistrée, et ce bouton de téléchargement va maintenant revenir aux téléchargements par défaut sur le navigateur. Toutefois, vous êtes toujours invité à le saisir afin d'utiliser l'une des fonctionnalités avancées des pages Historique ou Options, car elles ont besoin de ces autorisations pour fonctionner." + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "[aws:2019-09-23 19:32:41] This permission is required for the download buttons and the auto-download feature.", + "message": "Cette autorisation est requise pour les boutons de téléchargement et la fonction de téléchargement automatique." + }, + "_Thispermissionisrequiredinordertoscrolltheinnercontentsofiframesorframesets": { + "description": "[aws:2019-09-23 19:32:42] This permission is required in order to scroll the inner contents of $iframes$ or $framesets$.", + "message": "Cette autorisation est requise pour faire défiler le contenu interne de $iframes$ ou $framesets$.", + "placeholders": { + "framesets": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">framesets\u003C/a>", + "example": "framesets" + }, + "iframes": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframes\u003C/a>", + "example": "iframes" + } + } + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "[aws:2019-09-23 19:32:43] This screenshot been successfully removed.", + "message": "Cette capture d'écran a été supprimée avec succès." + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "[aws:2019-09-23 19:32:44] This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>.", + "message": "Ce site semble avoir un contenu incorporé dans un \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">jeu de cadres\u003C/a>." + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "[aws:2019-09-23 19:32:45] This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>.", + "message": "Ce site semble avoir du contenu incorporé dans un \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>." + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "[aws:2019-09-23 19:32:46] This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "message": "Cette version de test a expiré. Veuillez contacter pour obtenir une mise à jour ou passer à l'extension appropriée dans le \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>." + }, + "_ToggleURLbrowser": { + "description": "[aws:2019-09-23 19:32:47] Toggle URL / browser", + "message": "Basculer l'URL/navigateur" + }, + "_Togglecrop": { + "description": "[aws:2019-09-23 19:32:46] Toggle crop", + "message": "Basculer le recadrage" + }, + "_Togglepaddingborder": { + "description": "[aws:2019-09-23 19:32:47] Toggle padding / border", + "message": "Basculer le rembourrage/bordure" + }, + "_Type": { + "description": "[aws:2019-09-23 19:32:49] Type", + "message": "Tapez" + }, + "_URLBrowser": { + "description": "[aws:2019-09-23 19:32:53] URL / Browser", + "message": "URL/Navigateur" + }, + "_URLonbottom": { + "description": "[aws:2019-09-23 19:32:53] URL on bottom", + "message": "URL en bas" + }, + "_URLontop": { + "description": "[aws:2019-09-23 19:32:54] URL on top", + "message": "URL en haut" + }, + "_Unabletofindimage": { + "description": "[aws:2019-09-23 19:32:50] Unable to find image", + "message": "Impossible de trouver l'image" + }, + "_Unabletoloadimage": { + "description": "[aws:2019-09-23 19:32:50] Unable to load image", + "message": "Impossible de charger l'image" + }, + "_Undo": { + "description": "[aws:2019-09-23 19:32:51] Undo", + "message": "Annuler" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "[aws:2019-09-23 19:32:55] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page.", + "message": "Attention : l'extension n'est pas conçue pour gérer des captures extrêmement volumineuses. Il se peut qu'il ne parvienne pas à effectuer une capture de cette page." + }, + "_WatchDemo": { + "description": "[aws:2019-09-23 19:32:57] Watch Demo", + "message": "Regarder la démo" + }, + "_WelcometotheFullPageEditor": { + "description": "[aws:2019-09-23 19:32:58] Welcome to the Full Page Editor!", + "message": "Bienvenue dans l'éditeur de page complète !" + }, + "_WelcometotheFullPageScreenCaptureextension": { + "description": "[aws:2019-09-23 19:32:58] Welcome to the Full Page Screen Capture extension.", + "message": "Bienvenue dans l'extension Capture d'écran pleine page." + }, + "_WelcometotheofficialFullPageEditor": { + "description": "[aws:2019-09-23 19:32:59] Welcome to the official Full Page Editor!", + "message": "Bienvenue sur le Full Page Editor officiel !" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "[aws:2019-09-23 19:33:00] We’re excited to have you aboard.", + "message": "Nous sommes ravis de vous avoir à bord." + }, + "_Width": { + "description": "[aws:2019-09-23 19:33:00] Width", + "message": "Largeur" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "[aws:2019-09-23 19:33:01] Would you like to report any issues you’re experiencing, so we can improve this extension together?", + "message": "Souhaitez-vous signaler tout problème que vous rencontrez, afin que nous puissions améliorer cette extension ensemble ?" + }, + "_Yes": { + "description": "[aws:2019-09-23 19:33:01] Yes!", + "message": "- Oui !" + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "[aws:2019-09-23 19:33:02] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "message": "Vous pouvez l'exécuter sur n'importe quelle page Web, à l'exception de celles où le navigateur empêche les extensions d'exécuter des scripts. Cela inclut le magasin Web Chrome, les pages de paramètres du navigateur et d'autres extensions." + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "[aws:2019-09-23 19:33:03] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen.", + "message": "Vous devrez peut-être réexécuter l'extension après avoir interagi avec la boîte de dialogue. Si vous annulez, il capturera uniquement l'écran visible." + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "[aws:2019-09-23 19:33:04] You need to grant the download privilege in order to download files", + "message": "Vous devez accorder le privilège de téléchargement pour télécharger des fichiers" + }, + "_Zoom": { + "description": "[aws:2019-09-23 19:33:04] Zoom", + "message": "Zoom" + }, + "_Zoomin": { + "description": "[aws:2019-09-23 19:33:05] Zoom in", + "message": "Zoom avant" + }, + "_Zoomout": { + "description": "[aws:2019-09-23 19:33:06] Zoom out", + "message": "Zoom arrière" + }, + "_billedannually": { + "description": "[aws:2019-09-23 19:30:34] billed annually", + "message": "facturé annuellement" + }, + "_cancelanytime": { + "description": "[aws:2019-09-23 19:30:36] cancel anytime", + "message": "annuler à tout moment" + }, + "_close": { + "description": "[aws:2019-09-23 19:30:42] close", + "message": "fermer" + }, + "_details": { + "description": "[aws:2019-09-23 19:30:48] details…", + "message": "détails..." + }, + "_fullimage": { + "description": "[aws:2019-09-23 19:31:16] full image", + "message": "image complète" + }, + "_iFramepermission": { + "description": "[aws:2019-09-23 19:31:23] iFrame permission", + "message": "Autorisation iFrame" + }, + "_loading": { + "description": "[aws:2019-09-23 19:31:30] loading…", + "message": "chargement..." + }, + "_numfilescouldnotberemoved": { + "description": "[aws:2019-09-23 19:31:46] $num$ files could not be removed.", + "message": "Les fichiers $num$ n'ont pas pu être supprimés.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "[aws:2019-09-23 19:31:47] $num$ files were successfully removed.", + "message": "Les fichiers $num$ ont été supprimés avec succès.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "[aws:2019-09-23 19:31:50] or", + "message": "ou" + }, + "_restorefactorydefaults": { + "description": "[aws:2019-09-23 19:32:05] restore factory defaults", + "message": "restaurer les paramètres d'usine par défaut" + }, + "_search": { + "description": "[aws:2019-09-23 19:32:11] search…", + "message": "recherche..." + }, + "_upontrialcompletion": { + "description": "[aws:2019-09-23 19:32:52] upon trial completion", + "message": "à la fin de l'essai" + }, + "_version": { + "description": "[aws:2019-09-23 19:32:55] version", + "message": "version" + }, + "_watchademovideo": { + "description": "[aws:2019-09-23 19:32:56] watch a demo video", + "message": "regarder une vidéo de démonstration" + }, + "actionClose": { + "description": "[aws:2019-09-23 19:33:06] Close", + "message": "Fermer" + }, + "actionDeleteImage": { + "description": "[aws:2019-09-23 19:33:07] Delete image", + "message": "Supprimer l'image" + }, + "actionDownloadImage": { + "description": "[aws:2019-09-23 19:33:08] Download image", + "message": "Télécharger l'image" + }, + "actionDownloadPDF": { + "description": "[aws:2019-09-23 19:33:08] Download PDF", + "message": "Télécharger PDF" + }, + "actionEdit": { + "description": "[aws:2019-09-23 19:33:09] Edit", + "message": "Éditer" + }, + "actionOK": { + "description": "[aws:2019-09-23 19:33:09] OK", + "message": "D'ACCORD" + }, + "actionReport": { + "description": "[aws:2019-09-23 19:33:10] Report issue", + "message": "Signaler un problème" + }, + "appDesc": { + "description": "[aws:2019-09-23 19:30:17] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!", + "message": "Capturez une capture d'écran de votre page actuelle en entier et de manière fiable, sans demander d'autorisation supplémentaire !" + }, + "goPremiumHeader": { + "description": "[aws:2019-09-23 19:33:11] Take your screenshots to the next level with Full Page Premium", + "message": "Faites passer vos captures d'écran à un niveau supérieur avec Full Page Premium" + }, + "goPremiumLink": { + "description": "[aws:2019-09-23 19:33:11] Learn more", + "message": "En savoir plus" + }, + "goPremiumSignInLink": { + "description": "[aws:2019-09-23 19:33:12] Sign in", + "message": "Se connecter" + }, + "goPremiumSignInMessage": { + "description": "[aws:2019-09-23 19:33:13] Already have an account?", + "message": "Vous avez déjà un compte ?" + }, + "goPremiumSubHeader": { + "description": "[aws:2019-09-23 19:33:13] Speed up your workflow with advanced editing and annotation features directly in the extension!", + "message": "Accélérez votre flux de travail avec des fonctionnalités avancées d'édition et d'annotation directement dans l'extension !" + }, + "navHistory": { + "description": "[aws:2019-09-23 19:33:15] History", + "message": "Histoire" + }, + "navOptions": { + "description": "[aws:2019-09-23 19:33:16] Options", + "message": "Options" + }, + "tryEditingNo": { + "description": "[aws:2019-09-23 19:33:16] No thanks", + "message": "Non merci." + }, + "tryEditingRequest": { + "description": "[aws:2019-09-23 19:33:17] Try editing and annotating your screenshot", + "message": "Essayez d'éditer et d'annoter votre capture d'écran" + }, + "tryEditingYes": { + "description": "[aws:2019-09-23 19:33:18] Ok!", + "message": "D'accord !" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/ja/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/ja/messages.json new file mode 100644 index 0000000..6e27d86 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/ja/messages.json @@ -0,0 +1,914 @@ +{ + "_1filecouldnotberemoved": { + "description": "[aws:2019-09-22 22:34:56] 1 file could not be removed.", + "message": "1 個のファイルを削除できませんでした。" + }, + "_1filewassuccessfullyremoved": { + "description": "[aws:2019-09-22 22:34:57] 1 file was successfully removed.", + "message": "1 個のファイルが正常に削除されました。" + }, + "_Adjustrepeatingelements": { + "description": "[aws:2019-09-22 22:34:57] Adjust repeating elements", + "message": "繰り返し要素を調整する" + }, + "_Advancedscrolling": { + "description": "[aws:2019-09-22 22:34:58] Advanced scrolling", + "message": "高度なスクロール" + }, + "_Align": { + "description": "[aws:2019-09-22 22:34:59] Align", + "message": "[位置合わせ]" + }, + "_Anyissues": { + "description": "[aws:2019-09-22 22:35:00] Any issues?", + "message": "何か問題でも?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "[aws:2019-09-22 22:35:01] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested.", + "message": "以前に付与されたオプションのアクセス許可は、ここでチェックされた状態で表示されます。 いつでも取り消すことができます。 今後再び必要になった場合は、再要求されます。" + }, + "_Areyouenjoyingthisextension": { + "description": "[aws:2019-09-22 22:35:02] Are you enjoying this extension?", + "message": "この拡張機能を楽しんでいますか?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "[aws:2019-09-22 22:35:03] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)", + "message": "1 つのスクリーンキャプチャを削除してもよろしいですか?\n (この操作は元に戻せません)。" + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:04:46] Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "message": "$count$の画面キャプチャを削除してもよろしいですか?\n (この操作は元に戻せません)。", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "[aws:2019-09-22 22:35:04] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)", + "message": "このスクリーンショットを削除してもよろしいですか?\n(この操作は元に戻せません)。" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "[aws:2019-09-22 22:35:05] Are you sure you want to reset to the extension’s original theme defaults?", + "message": "拡張機能の元のテーマのデフォルトにリセットしてもよろしいですか?" + }, + "_Arrow": { + "description": "[aws:2019-09-22 22:35:05] Arrow", + "message": "矢印" + }, + "_Autodownloadfiles": { + "description": "[aws:2019-09-22 22:35:06] Auto-download files", + "message": "ファイルの自動ダウンロード" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:21:48] Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "自動ダウンロードはイネーブルです。 このオプションは \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">オプションで\u003C/a>変更できます。" + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "[aws:2019-09-22 22:35:07] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "message": "スクリーンショットを新しいウィンドウで開くのではなく、自動的にダウンロードします。これは、拡張キャプチャタブが開かないことを意味します。 拡張機能を右クリックして「オプション」を選択すると、ここに戻ることができます。" + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "[aws:2019-09-22 22:35:08] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "message": "スクリーンショットのダウンロード時に「名前を付けて保存」ダイアログを自動的に表示します。 Chrome設定で「ダウンロードする前に各ファイルを保存する場所を確認する」オプションが有効になっている場合は、これが優先されます。" + }, + "_Backtocapturechangesareautosaved": { + "description": "[aws:2019-09-22 22:35:09] Back to capture (changes are auto-saved)", + "message": "キャプチャに戻る(変更は自動保存されます)" + }, + "_Blur": { + "description": "[aws:2019-09-22 22:35:10] Blur", + "message": "ぼかし" + }, + "_Bold": { + "description": "[aws:2019-09-22 22:35:11] Bold", + "message": "太字" + }, + "_Cancel": { + "description": "[aws:2019-09-23 19:21:49] Cancel", + "message": "キャンセルします" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:21:50] Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "自動ダウンロードできません。 \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">オプション\u003C/a>の [ダウンロード] 権限を再承認する必要があります。" + }, + "_Cannotdownloadfiles": { + "description": "[aws:2019-09-22 22:35:12] Cannot download files", + "message": "ファイルをダウンロードできません" + }, + "_Capture": { + "description": "[aws:2019-09-22 22:35:13] Capture", + "message": "捕獲" + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "[aws:2019-09-23 19:21:50] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "message": "Chrome では、セキュリティ上の理由から、一部の URL へのアクセスが許可されていません。 これには、ウェブストアギャラリー、その他のクロムエクステンション、および chrome: // URL が含まれます。 現在のページは制限された URL のようです。" + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "[aws:2019-09-22 22:35:13] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "message": "Chrome では、拡張機能によって既定のダウンロードディレクトリ以外のファイルが保存されないようにしています。 入力したパスはそれに応じて更新されました。 ごめんなさい!" + }, + "_Clickdraginlayerspane": { + "description": "[aws:2019-09-22 22:35:14] Click + drag in layers pane", + "message": "レイヤーペインでクリック+ドラッグ" + }, + "_Color": { + "description": "[aws:2019-09-22 22:35:15] Color", + "message": "[色]" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "[aws:2019-09-22 22:35:15] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future.", + "message": "全画面スクリーンキャプチャ拡張機能の設定を構成します。 今後のアップデートにご期待ください。 ベータ版の設定は今後変更される可能性があります。" + }, + "_Continueediting": { + "description": "[aws:2019-09-22 22:35:16] Continue editing", + "message": "編集を続行" + }, + "_CropImage": { + "description": "[aws:2019-09-22 22:35:17] Crop Image", + "message": "イメージのトリミング" + }, + "_Cropeditannotateandexport": { + "description": "[aws:2019-09-22 22:35:17] Crop, edit, annotate, and export", + "message": "切り抜き、編集、注釈付け、書き出し" + }, + "_Delete": { + "description": "[aws:2019-09-22 22:35:18] Delete", + "message": "[削除]" + }, + "_Deletecurrentselection": { + "description": "[aws:2019-09-22 22:35:19] Delete current selection", + "message": "現在の選択を削除" + }, + "_Directory": { + "description": "[aws:2019-09-22 22:35:19] Directory:", + "message": "ディレクトリ:" + }, + "_Document": { + "description": "[aws:2019-09-22 22:35:20] Document", + "message": "ドキュメント" + }, + "_Documentedits": { + "description": "[aws:2019-09-22 22:35:21] Document edits", + "message": "ドキュメントの編集" + }, + "_DoneCropping": { + "description": "[aws:2019-09-22 22:35:21] Done Cropping", + "message": "クロップ完了" + }, + "_Download": { + "description": "[aws:2019-09-22 22:35:22] Download", + "message": "ダウンロード" + }, + "_DownloadExport": { + "description": "[aws:2019-09-22 22:35:23] Download & Export", + "message": "ダウンロードとエクスポート" + }, + "_Downloadpermissionisrequired": { + "description": "[aws:2019-09-22 22:35:23] Download permission is required", + "message": "ダウンロード権限が必要です" + }, + "_Downloadpermissionnotgranted": { + "description": "[aws:2019-09-22 22:35:24] Download permission not granted", + "message": "ダウンロード権限が与えられていません" + }, + "_Downloadspermission": { + "description": "[aws:2019-09-22 22:35:25] Downloads permission", + "message": "ダウンロードの権限" + }, + "_Draglayercontrolpoints": { + "description": "[aws:2019-09-22 22:35:25] Drag layer control points", + "message": "レイヤーコントロールポイントをドラッグする" + }, + "_Duplicateselection": { + "description": "[aws:2019-09-22 22:35:26] Duplicate selection", + "message": "重複した選択" + }, + "_Edited": { + "description": "[aws:2019-09-22 22:35:27] Edited", + "message": "編集されました" + }, + "_Elements": { + "description": "[aws:2019-09-22 22:35:27] Elements", + "message": "要素" + }, + "_Emoji": { + "description": "[aws:2019-09-22 22:35:28] Emoji", + "message": "絵文字" + }, + "_Enabled": { + "description": "[aws:2019-09-22 22:35:28] Enabled", + "message": "有効" + }, + "_Entertexthere": { + "description": "[aws:2019-09-22 22:35:29] Enter text here", + "message": "ここにテキストを入力してください" + }, + "_Error": { + "description": "[aws:2019-09-22 22:35:30] Error", + "message": "エラー" + }, + "_Errordownloadingfile": { + "description": "[aws:2019-09-22 22:35:30] Error downloading file", + "message": "ファイルのダウンロード中にエラーが発生しました" + }, + "_Errordownloadingfiles": { + "description": "[aws:2019-09-22 22:35:31] Error downloading files", + "message": "ファイルのダウンロード中にエラーが発生しました" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 22:35:32] Error handling files. Please report this via the flag reporting button above.", + "message": "ファイル処理エラーです。 上記のフラグレポートボタンから報告してください。" + }, + "_Errorloadinghistory": { + "description": "[aws:2019-09-22 22:35:33] Error loading history", + "message": "履歴の読み込みエラー" + }, + "_Errorloadingimage": { + "description": "[aws:2019-09-22 22:35:33] Error loading image", + "message": "イメージのロード中にエラーが発生しました" + }, + "_Erroropeningscreenshot": { + "description": "[aws:2019-09-22 22:35:34] Error opening screenshot", + "message": "スクリーンショットを開くときにエラーが発生しました" + }, + "_Errorremovingscreenshot": { + "description": "[aws:2019-09-22 22:35:34] Error removing screenshot", + "message": "スクリーンショットの削除中にエラーが発生しました" + }, + "_Exitzoom": { + "description": "[aws:2019-09-22 22:35:35] Exit zoom", + "message": "ズームを終了" + }, + "_Export": { + "description": "[aws:2019-09-22 22:35:36] Export", + "message": "[書き出し]" + }, + "_Extensionsettings": { + "description": "[aws:2019-09-23 19:21:52] Extension settings", + "message": "拡張機能の設定" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "[aws:2019-09-23 19:21:53] Extra permissions are required to access the underlying page.", + "message": "基になるページにアクセスするには、追加の権限が必要です。" + }, + "_Extrapermissionsrequired": { + "description": "[aws:2019-09-23 19:21:54] Extra permissions required", + "message": "追加の権限が必要です" + }, + "_Fileaccessneeded": { + "description": "[aws:2019-09-23 19:21:54] File access needed", + "message": "必要なファイルアクセス" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "[aws:2019-09-22 22:35:36] File no longer exists—perhaps it has been cleared from your browser", + "message": "ファイルは存在しません。ブラウザから消去された可能性があります。" + }, + "_Fill": { + "description": "[aws:2019-09-22 22:35:37] Fill", + "message": "[塗りつぶし]" + }, + "_Font": { + "description": "[aws:2019-09-22 22:35:38] Font", + "message": "[フォント]" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:21:55] For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "その他のご質問は、 \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">当社までお問い合わせください\u003C/a>。" + }, + "_Getstarted": { + "description": "[aws:2019-09-22 22:35:39] Get started", + "message": "ご利用開始にあたって" + }, + "_Gotit": { + "description": "[aws:2019-09-22 22:35:40] Got it!", + "message": "分かった!" + }, + "_Gotoyouraccount": { + "description": "[aws:2019-09-22 22:35:40] Go to your account", + "message": "アカウントに移動する" + }, + "_Help": { + "description": "[aws:2019-09-22 22:35:41] Help", + "message": "助けて" + }, + "_HelpShortcuts": { + "description": "[aws:2019-09-22 22:35:42] Help / Shortcuts", + "message": "ヘルプ/ショートカット" + }, + "_History": { + "description": "[aws:2019-09-22 22:35:42] History", + "message": "歴史" + }, + "_Hooray": { + "description": "[aws:2019-09-22 22:35:43] Hooray", + "message": "おい" + }, + "_Icon": { + "description": "[aws:2019-09-22 22:35:44] Icon", + "message": "アイコン" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 22:35:45] If this persists, please report it via the flag reporting button above.", + "message": "それでも問題が解決しない場合は、上のフラグレポートボタンから報告してください。" + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "[aws:2019-09-22 22:35:46] If you’d like to try this feature in the future, click on the “Edit” button up top.", + "message": "今後、この機能をお試しになりたい場合は、上部の「編集」ボタンをクリックしてください。" + }, + "_Imagedeleted": { + "description": "[aws:2019-09-22 22:35:46] Image deleted", + "message": "画像が削除されました" + }, + "_Imageformat": { + "description": "[aws:2019-09-22 22:35:47] Image format:", + "message": "画像形式:" + }, + "_Insertshapes": { + "description": "[aws:2019-09-22 22:35:48] Insert shapes", + "message": "図形を挿入する" + }, + "_Italic": { + "description": "[aws:2019-09-22 22:35:48] Italic", + "message": "斜体" + }, + "_Layers": { + "description": "[aws:2019-09-22 22:35:49] Layers", + "message": "[画層]" + }, + "_Learnmore": { + "description": "[aws:2019-09-22 22:35:50] Learn more", + "message": "詳細はこちら" + }, + "_Line": { + "description": "[aws:2019-09-22 22:35:50] Line", + "message": "[線]" + }, + "_Loadpermissionsdialog": { + "description": "[aws:2019-09-23 19:21:56] Load permissions dialog?", + "message": "パーミッションの読み込みダイアログしますか?" + }, + "_LogintoExport": { + "description": "[aws:2019-09-22 22:35:51] Login to Export", + "message": "ログインしてエクスポート" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "[aws:2019-09-22 22:35:52] Look for an element within the page with its own scroll bars and scroll that item during the capture.", + "message": "独自のスクロールバーがあるページ内の要素を探し、キャプチャ中にその項目をスクロールします。" + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "[aws:2019-09-22 22:35:53] Might you consider taking a minute to rate it in the Webstore?", + "message": "Webstoreでそれを評価するために1分かかることを検討してもよろしいですか?" + }, + "_More": { + "description": "[aws:2019-09-22 22:35:54] More", + "message": "もっと詳しく" + }, + "_Mouseorarrowkeys": { + "description": "[aws:2019-09-22 22:35:54] Mouse or arrow keys", + "message": "マウスまたは矢印キー" + }, + "_Mouseorlayerspane": { + "description": "[aws:2019-09-22 22:35:55] Mouse or layers pane", + "message": "マウスまたはレイヤーペイン" + }, + "_Movelayer": { + "description": "[aws:2019-09-22 22:35:55] Move layer", + "message": "レイヤを移動" + }, + "_None": { + "description": "[aws:2019-09-22 22:35:56] None", + "message": "無し" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "[aws:2019-09-22 22:35:57] No screen captures found. Go make some!", + "message": "スクリーンキャプチャが見つかりません。 作ってみろ!" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "[aws:2019-09-23 19:21:56] Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "message": "注:このページは大きすぎるため、Chrome ブラウザでは 1 つの画像としてキャプチャできません。 \u003Cspan id=\"screenshot-count\">複数の\u003C/span> 画像に分割されます。" + }, + "_Nothanks": { + "description": "[aws:2019-09-22 22:35:57] No, thanks.", + "message": "いいえ、結構です。" + }, + "_Nothankscontinueediting": { + "description": "[aws:2019-09-22 22:35:58] No thanks continue editing", + "message": "いいえ、編集を続行します" + }, + "_Notreally": { + "description": "[aws:2019-09-22 22:35:59] Not really", + "message": "本当に" + }, + "_OK": { + "description": "[aws:2019-09-23 19:21:57] OK", + "message": "OK" + }, + "_On": { + "description": "[aws:2019-09-22 22:36:01] On", + "message": "[オン" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "[aws:2019-09-22 22:36:02] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios.", + "message": "Mac Chromeでは、自動ダウンロードや複数のファイルをダウンロードするときに「名前を付けて保存」に問題があるため、これらのシナリオでは無効になっています。" + }, + "_Options": { + "description": "[aws:2019-09-22 22:36:02] Options", + "message": "オプション" + }, + "_Orderlayer": { + "description": "[aws:2019-09-22 22:36:04] Order layer", + "message": "オーダレイヤー" + }, + "_Outline": { + "description": "[aws:2019-09-22 22:36:04] Outline", + "message": "[アウトライン]" + }, + "_Oval": { + "description": "[aws:2019-09-22 22:36:05] Oval", + "message": "楕円形" + }, + "_PDFsize": { + "description": "[aws:2019-09-22 22:36:07] PDF size:", + "message": "PDFのサイズ:" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "[aws:2019-09-22 22:36:10] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression.", + "message": "PNG は可逆性であり、画面に表示されるものと正確に一致する必要がありますが、通常、圧縮を使用する JPG よりもファイルサイズが大きくなります。" + }, + "_Pad": { + "description": "[aws:2019-09-22 22:36:06] Pad", + "message": "パッド" + }, + "_Padding": { + "description": "[aws:2019-09-22 22:36:06] Padding", + "message": "パディング" + }, + "_PaddingBorder": { + "description": "[aws:2019-09-22 22:36:07] Padding / Border", + "message": "パディング/ ボーダー" + }, + "_Permissionneededtodownloadfiles": { + "description": "[aws:2019-09-22 22:36:08] Permission needed to download files", + "message": "ファイルのダウンロードに必要な権限" + }, + "_Permissions": { + "description": "[aws:2019-09-22 22:36:09] Permissions", + "message": "アクセス許可" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "[aws:2019-09-23 19:21:58] Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "message": "Chrome 拡張機能の設定で [ \u003Cstrong>ファイル URL へのアクセスを許可する]\u003C/strong>を有効にして、拡張機能がこのページにアクセスできるようにしてください。 \u003Cbr>\u003Cbr>" + }, + "_Position": { + "description": "[aws:2019-09-22 22:36:11] Position", + "message": "[位置]" + }, + "_Radius": { + "description": "[aws:2019-09-22 22:36:11] Radius", + "message": "[半径]" + }, + "_Rectangle": { + "description": "[aws:2019-09-22 22:36:12] Rectangle", + "message": "[長方形]" + }, + "_Redo": { + "description": "[aws:2019-09-22 22:36:13] Redo", + "message": "やり直し" + }, + "_Removefiles": { + "description": "[aws:2019-09-22 22:36:13] Remove files", + "message": "ファイルの削除" + }, + "_Reportissue": { + "description": "[aws:2019-09-22 22:36:14] Report issue.", + "message": "問題を報告します。" + }, + "_Resizelayer": { + "description": "[aws:2019-09-22 22:36:15] Resize layer", + "message": "レイヤーのサイズ変更" + }, + "_Roundedcorners": { + "description": "[aws:2019-09-22 22:36:16] Rounded corners", + "message": "丸みを帯びたコーナー" + }, + "_Saveas": { + "description": "[aws:2019-09-22 22:36:16] Save as", + "message": "名前を付けて保存" + }, + "_Saved": { + "description": "[aws:2019-09-22 22:36:17] Saved", + "message": "保存されました" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "[aws:2019-09-22 22:36:18] Save this permission (if accepted) for future captures. It can still be revoked later from the options page.", + "message": "この権限を今後のキャプチャ用に保存します (許可されている場合)。 後でオプションページから取り消すことができます。" + }, + "_Screencaptureinprogress": { + "description": "[aws:2019-09-23 19:21:58] Screen capture in progress…", + "message": "スクリーンキャプチャを実行中..." + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "[aws:2019-09-22 22:36:19] Select 1 or more screenshots to use this action.", + "message": "このアクションを使用するには、1 つ以上のスクリーンショットを選択します。" + }, + "_Selected": { + "description": "[aws:2019-09-22 22:36:20] Selected", + "message": "[選択]" + }, + "_Selectlayer": { + "description": "[aws:2019-09-22 22:36:20] Select layer", + "message": "画層を選択" + }, + "_Setthemedefaults": { + "description": "[aws:2019-09-22 22:36:21] Set theme defaults", + "message": "テーマの既定を設定する" + }, + "_Shapes": { + "description": "[aws:2019-09-22 22:36:22] Shapes", + "message": "[図形]" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "[aws:2019-09-22 22:36:22] Sign up for a free 7-day trial to unlock the editor and download your masterpiece.", + "message": "7日間の無料トライアルにサインアップして、エディタのロックを解除し、傑作をダウンロードしてください。" + }, + "_SignuptoExport": { + "description": "[aws:2019-09-22 22:36:23] Sign up to Export", + "message": "エクスポートにサインアップ" + }, + "_Size": { + "description": "[aws:2019-09-22 22:36:24] Size", + "message": "サイズ" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:21:59] Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "問題が発生しました。 ページを更新して、もう一度実行してみてください。 \u003Cbr>\u003Cbr>問題が解決しない場合は、 \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">お問い合わせください\u003C/a>。" + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "[aws:2019-09-22 22:36:24] Something went wrong deleting your screenshot.", + "message": "スクリーンショットの削除中に問題が発生しました。" + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "[aws:2019-09-22 22:36:25] Something went wrong opening this screenshot into a new.", + "message": "このスクリーンショットを新しいで開く際に問題が発生しました。" + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "[aws:2019-09-22 22:36:26] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot.", + "message": "「トップに戻る」ボタンやスティッキーフッターなどの要素がページに繰り返されることがあります。 これは、スクリーンショットで繰り返すのを止めるために、それらを絶対に配置しようとします。" + }, + "_Sorry": { + "description": "[aws:2019-09-22 22:36:27] Sorry", + "message": "すみません" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "[aws:2019-09-22 22:36:27] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed).", + "message": "ダウンロードディレクトリの下にあるディレクトリを指定して、スクリーンショットを保存します(「スクリーンキャプチャ」など)。 空白の場合は、デフォルトでダウンロードディレクトリになります。 (文字、数字、ダッシュ、アンダースコア、スラッシュに制限してください。無効な文字は自動的に削除されます)。" + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "[aws:2019-09-22 22:36:28] Specify the format size of PDFs for when exporting to PDF.", + "message": "PDF に書き出すときの PDF の形式サイズを指定します。" + }, + "_Startyourfreetrial": { + "description": "[aws:2019-09-22 22:36:29] Start your free trial", + "message": "無料トライアルを開始" + }, + "_Stickers": { + "description": "[aws:2019-09-22 22:36:30] Stickers", + "message": "ステッカー" + }, + "_Stillloading": { + "description": "[aws:2019-09-22 22:36:30] Still loading", + "message": "まだロード中" + }, + "_TakemetotheWebstore": { + "description": "[aws:2019-09-22 22:36:31] Take me to the Webstore!", + "message": "ウェブストアに連れて行ってくれ!" + }, + "_Text": { + "description": "[aws:2019-09-22 22:36:31] Text", + "message": "テキスト" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "description": "[aws:2019-09-22 22:36:32] Thank you for supporting Full Page Screen Capture", + "message": "フルページスクリーンキャプチャをサポートしていただきありがとうございます" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "[aws:2019-09-22 22:36:33] The best and safest way to capture a screenshot of an entire web page.", + "message": "ウェブページ全体のスクリーンショットをキャプチャするための最良かつ安全な方法。" + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "[aws:2019-09-22 22:36:33] The download permission is required to enable the download as PDF feature.", + "message": "PDF としてダウンロード機能を有効にするには、ダウンロード権限が必要です。" + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "[aws:2019-09-22 22:36:34] The following files could not be downloaded:", + "message": "次のファイルをダウンロードできませんでした:" + }, + "_ThemeDefaults": { + "description": "[aws:2019-09-22 22:36:35] Theme Defaults", + "message": "テーマの既定値" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "[aws:2019-09-22 22:36:36] There was an error downloading files, please report it via the flag button above.", + "message": "ファイルのダウンロード中にエラーが発生しました。上のフラグボタンから報告してください。" + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "[aws:2019-09-22 22:36:37] These settings will apply to all future edits of screenshots. Changes are autosaved.", + "message": "これらの設定は、スクリーンショットの今後の編集すべてに適用されます。 変更は自動保存されます。" + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "[aws:2019-09-22 22:36:37] The specified image could not be found.", + "message": "指定されたイメージが見つかりませんでした。" + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "[aws:2019-09-22 22:36:38] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!", + "message": "この拡張は、維持するために多くの作業を必要とします。 あなたがそれが役に立つと聞いて本当に意味があります!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "[aws:2019-09-22 22:36:39] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.", + "message": "これは予想以上にロードに時間がかかっています。 しっかり吊るして! しばらくしてから何も更新されない場合は、上の報告フラグボタンから報告してください。" + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "description": "[aws:2019-09-22 22:36:40] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work.", + "message": "この権限により、拡張機能内でのダウンロードのしくみをより細かく制御できます。 あなたの設定が保存され、このダウンロードボタンは、デフォルトのブラウザクリック時のダウンロードにフォールバックされるようになりました。 ただし、[履歴] ページまたは [オプション] ページの高度な機能を使用するには、この権限が必要であるため、この権限を要求するメッセージが表示されます。" + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "[aws:2019-09-22 22:36:40] This permission is required for the download buttons and the auto-download feature.", + "message": "この権限は、ダウンロードボタンと自動ダウンロード機能に必要です。" + }, + "_Thispermissionisrequiredinordertoscrolltheinnercontentsofiframesorframesets": { + "description": "[aws:2019-09-22 23:04:49] This permission is required in order to scroll the inner contents of $iframes$ or $framesets$.", + "message": "このパーミッションは、$iframes$ または $framesets$ の内部コンテンツをスクロールするために必要です。", + "placeholders": { + "framesets": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">framesets\u003C/a>", + "example": "framesets" + }, + "iframes": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframes\u003C/a>", + "example": "iframes" + } + } + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "[aws:2019-09-22 22:36:42] This screenshot been successfully removed.", + "message": "このスクリーンショットは正常に削除されました。" + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "[aws:2019-09-23 19:22:00] This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>.", + "message": "このサイトでは、 \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">フレームセット\u003C/a>内にコンテンツが埋め込まれているようです。" + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "[aws:2019-09-23 19:22:01] This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>.", + "message": "このサイトは \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>内にコンテンツが埋め込まれているようです。" + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "[aws:2019-09-23 19:22:02] This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "message": "このテストバージョンの有効期限が切れています。 \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome ウェブストア\u003C/a>でアップデートを入手するか、適切な拡張機能に切り替えるために連絡してください。" + }, + "_ToggleURLbrowser": { + "description": "[aws:2019-09-22 22:36:44] Toggle URL / browser", + "message": "URL /ブラウザを切り替える" + }, + "_Togglecrop": { + "description": "[aws:2019-09-22 22:36:43] Toggle crop", + "message": "切り抜きの切り替え" + }, + "_Togglepaddingborder": { + "description": "[aws:2019-09-22 22:36:43] Toggle padding / border", + "message": "パディング/境界線の切り替え" + }, + "_Type": { + "description": "[aws:2019-09-22 22:36:45] Type", + "message": "タイプ" + }, + "_URLBrowser": { + "description": "[aws:2019-09-22 22:36:48] URL / Browser", + "message": "URL/ブラウザ" + }, + "_URLonbottom": { + "description": "[aws:2019-09-22 22:36:48] URL on bottom", + "message": "下部にURLがあります" + }, + "_URLontop": { + "description": "[aws:2019-09-22 22:36:49] URL on top", + "message": "上部の URL" + }, + "_Unabletofindimage": { + "description": "[aws:2019-09-22 22:36:45] Unable to find image", + "message": "画像が見つかりません" + }, + "_Unabletoloadimage": { + "description": "[aws:2019-09-22 22:36:46] Unable to load image", + "message": "イメージを読み込めません" + }, + "_Undo": { + "description": "[aws:2019-09-22 22:36:46] Undo", + "message": "[元に戻す]" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "[aws:2019-09-23 19:22:03] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page.", + "message": "警告:拡張機能は、非常に大きなキャプチャを処理するように設計されていません。 このページのキャプチャを完了できない可能性があります。" + }, + "_WatchDemo": { + "description": "[aws:2019-09-22 22:36:51] Watch Demo", + "message": "デモを見る" + }, + "_WelcometotheFullPageEditor": { + "description": "[aws:2019-09-22 22:36:52] Welcome to the Full Page Editor!", + "message": "フルページエディタへようこそ!" + }, + "_WelcometotheFullPageScreenCaptureextension": { + "description": "[aws:2019-09-23 19:22:04] Welcome to the Full Page Screen Capture extension.", + "message": "全画面スクリーンキャプチャ拡張機能へようこそ。" + }, + "_WelcometotheofficialFullPageEditor": { + "description": "[aws:2019-09-22 22:36:52] Welcome to the official Full Page Editor!", + "message": "公式フルページエディタへようこそ!" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "[aws:2019-09-22 22:36:53] We’re excited to have you aboard.", + "message": "ご乗船できることを嬉しいです。" + }, + "_Width": { + "description": "[aws:2019-09-22 22:36:54] Width", + "message": "[幅]" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "[aws:2019-09-22 22:36:54] Would you like to report any issues you’re experiencing, so we can improve this extension together?", + "message": "発生した問題を報告して、この拡張機能を一緒に改善できるようにしますか?" + }, + "_Yes": { + "description": "[aws:2019-09-22 22:36:55] Yes!", + "message": "はい!" + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "[aws:2019-09-23 19:22:04] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "message": "これは、ブラウザが拡張機能がスクリプトの実行を制限しているものを除いて、任意のWebページで実行できます。 これには、Chrome ウェブストア、ブラウザの設定ページ、その他の拡張機能が含まれます。" + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "[aws:2019-09-23 19:22:05] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen.", + "message": "ダイアログを操作した後、拡張機能を再実行する必要があります。 キャンセルすると、表示されている画面だけがキャプチャされます。" + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "[aws:2019-09-22 22:36:56] You need to grant the download privilege in order to download files", + "message": "ファイルをダウンロードするには、ダウンロード権限を付与する必要があります" + }, + "_Zoom": { + "description": "[aws:2019-09-22 22:36:56] Zoom", + "message": "[ズーム]" + }, + "_Zoomin": { + "description": "[aws:2019-09-22 22:36:57] Zoom in", + "message": "拡大表示" + }, + "_Zoomout": { + "description": "[aws:2019-09-22 22:36:57] Zoom out", + "message": "縮小" + }, + "_billedannually": { + "description": "[aws:2019-09-22 22:35:09] billed annually", + "message": "毎年請求" + }, + "_cancelanytime": { + "description": "[aws:2019-09-22 22:35:11] cancel anytime", + "message": "いつでもキャンセル" + }, + "_close": { + "description": "[aws:2019-09-23 19:21:51] close", + "message": "閉じる" + }, + "_details": { + "description": "[aws:2019-09-23 19:21:52] details…", + "message": "詳細..." + }, + "_fullimage": { + "description": "[aws:2019-09-22 22:35:38] full image", + "message": "フルイメージ" + }, + "_iFramepermission": { + "description": "[aws:2019-09-22 22:35:44] iFrame permission", + "message": "iFrame パーミッション" + }, + "_loading": { + "description": "[aws:2019-09-22 22:35:51] loading…", + "message": "ロード中..." + }, + "_numfilescouldnotberemoved": { + "description": "[aws:2019-09-22 23:04:47] $num$ files could not be removed.", + "message": "$num$ ファイルを削除できませんでした。", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "[aws:2019-09-22 23:04:48] $num$ files were successfully removed.", + "message": "$num$ ファイルが正常に削除されました。", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "[aws:2019-09-22 22:36:03] or", + "message": "または" + }, + "_restorefactorydefaults": { + "description": "[aws:2019-09-22 22:36:15] restore factory defaults", + "message": "工場出荷時のデフォルトに戻す" + }, + "_search": { + "description": "[aws:2019-09-22 22:36:18] search…", + "message": "検索..." + }, + "_upontrialcompletion": { + "description": "[aws:2019-09-22 22:36:47] upon trial completion", + "message": "トライアル完了時" + }, + "_version": { + "description": "[aws:2019-09-22 22:36:50] version", + "message": "バージョンです" + }, + "_watchademovideo": { + "description": "[aws:2019-09-22 22:36:50] watch a demo video", + "message": "デモビデオを見る" + }, + "actionClose": { + "description": "[aws:2019-09-22 22:36:58] Close", + "message": "閉じる" + }, + "actionDeleteImage": { + "description": "[aws:2019-09-22 22:36:59] Delete image", + "message": "画像を削除" + }, + "actionDownloadImage": { + "description": "[aws:2019-09-22 22:36:59] Download image", + "message": "画像をダウンロードする" + }, + "actionDownloadPDF": { + "description": "[aws:2019-09-22 22:37:00] Download PDF", + "message": "PDFをダウンロード" + }, + "actionEdit": { + "description": "[aws:2019-09-22 22:37:01] Edit", + "message": "[編集]" + }, + "actionOK": { + "description": "[aws:2019-09-22 22:37:01] OK", + "message": "OK" + }, + "actionReport": { + "description": "[aws:2019-09-22 22:37:02] Report issue", + "message": "問題を報告する" + }, + "appDesc": { + "description": "[aws:2019-09-22 22:34:55] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!", + "message": "余分な権限を要求することなく、現在のページのスクリーンショットを完全に確実にキャプチャできます。" + }, + "goPremiumHeader": { + "description": "Take your screenshots to the next level with Full Page Screen Capture Premium", + "message": "Full Page Screen Capture Premiumで、あなたのスクリーンショットを一つ上のレベルへ" + }, + "goPremiumLink": { + "description": "Get started (free 1-week trial)", + "message": "始めてみる(1週間無料トライアル)" + }, + "goPremiumSignInLink": { + "description": "Sign in", + "message": "ログイン" + }, + "goPremiumSignInMessage": { + "description": "Already have an account?", + "message": "既にアカウントをお持ちですか?" + }, + "goPremiumSubHeader": { + "description": "Speed up your workflow with advanced editing and annotation features directly in the extension!", + "message": "アプリケーション内の進化したスクリーンショット編集・注記機能で、あなたの業務フローをスピードアップしましょう" + }, + "navHistory": { + "description": "[aws:2019-09-22 22:37:02] History", + "message": "歴史" + }, + "navOptions": { + "description": "[aws:2019-09-22 22:37:03] Options", + "message": "オプション" + }, + "tryEditingNo": { + "description": "No thanks", + "message": "いいえ" + }, + "tryEditingRequest": { + "description": "Try editing and annotating your screenshot", + "message": "スクリーンショットの編集・注記を試してみてください" + }, + "tryEditingYes": { + "description": "Ok!", + "message": "はい" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/ko/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/ko/messages.json new file mode 100644 index 0000000..d67f402 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/ko/messages.json @@ -0,0 +1,900 @@ +{ + "_1filecouldnotberemoved": { + "description": "[aws:2019-09-22 23:05:39] 1 file could not be removed.", + "message": "파일 1개를 제거할 수 없습니다." + }, + "_1filewassuccessfullyremoved": { + "description": "[aws:2019-09-22 23:05:40] 1 file was successfully removed.", + "message": "파일 1개가 제거되었습니다." + }, + "_Adjustrepeatingelements": { + "description": "[aws:2019-09-22 23:05:40] Adjust repeating elements", + "message": "반복 요소 조정" + }, + "_Advancedscrolling": { + "description": "[aws:2019-09-22 23:05:41] Advanced scrolling", + "message": "고급 스크롤" + }, + "_Align": { + "description": "[aws:2019-09-22 23:05:42] Align", + "message": "정렬" + }, + "_Anyissues": { + "description": "[aws:2019-09-22 23:05:43] Any issues?", + "message": "어떤 문제라도?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "[aws:2019-09-22 23:05:43] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested.", + "message": "이전에 부여된 선택적 사용 권한은 여기에 선택되어 표시됩니다. 언제든지 취소할 수 있습니다. 나중에 다시 필요한 경우 다시 요청됩니다." + }, + "_Areyouenjoyingthisextension": { + "description": "[aws:2019-09-22 23:05:44] Are you enjoying this extension?", + "message": "이 확장 프로그램을 즐기고 있습니까?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:05:45] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)", + "message": "스크린 캡쳐 1개를 삭제하시겠습니까?\n (이 작업은 실행 취소할 수 없습니다.)" + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:05:45] Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "message": "$count$ 화면 캡처를 삭제하시겠습니까?\n (이 작업은 실행 취소할 수 없습니다.)", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:05:46] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)", + "message": "이 스크린샷을 삭제하시겠습니까?\n(이 작업은 실행 취소할 수 없습니다.)" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "[aws:2019-09-22 23:05:47] Are you sure you want to reset to the extension’s original theme defaults?", + "message": "확장 프로그램의 원래 테마 기본값으로 재설정하시겠습니까?" + }, + "_Arrow": { + "description": "[aws:2019-09-22 23:05:47] Arrow", + "message": "화살표" + }, + "_Autodownloadfiles": { + "description": "[aws:2019-09-22 23:05:48] Auto-download files", + "message": "파일 자동 다운로드" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:22:06] Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "자동 다운로드가 활성화되었습니다. \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">옵션\u003C/a>에서 변경할 수 있습니다." + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "[aws:2019-09-22 23:05:49] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "message": "스크린 샷을 새 창에서 여는 대신 자동으로 다운로드합니다.즉, 확장 캡처 탭이 열리지 않습니다. 확장 프로그램을 마우스 오른쪽 버튼으로 클릭하고 “옵션”을 선택하여 여기로 돌아갈 수 있습니다." + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "[aws:2019-09-22 23:05:50] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "message": "스크린샷을 다운로드할 때 “다른 이름으로 저장” 대화 상자가 자동으로 표시됩니다. Chrome 설정에서 “다운로드하기 전에 각 파일을 저장할 위치 묻기”옵션이 활성화되어 있으면 우선 순위가 적용됩니다." + }, + "_Backtocapturechangesareautosaved": { + "description": "[aws:2019-09-22 23:05:50] Back to capture (changes are auto-saved)", + "message": "캡처로 돌아가기 (변경 사항이 자동 저장됨)" + }, + "_Blur": { + "description": "[aws:2019-09-22 23:05:52] Blur", + "message": "흐림 효과" + }, + "_Bold": { + "description": "[aws:2019-09-22 23:05:52] Bold", + "message": "굵게" + }, + "_Cancel": { + "description": "[aws:2019-09-23 19:22:06] Cancel", + "message": "취소" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:22:07] Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "자동 다운로드할 수 없습니다. \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">옵션\u003C/a>에서 다운로드 권한을 다시 승인해야 합니다." + }, + "_Cannotdownloadfiles": { + "description": "[aws:2019-09-22 23:05:54] Cannot download files", + "message": "파일을 다운로드할 수 없습니다." + }, + "_Capture": { + "description": "[aws:2019-09-22 23:05:54] Capture", + "message": "캡처" + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "[aws:2019-09-23 19:22:08] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "message": "Chrome은 보안상의 이유로 일부 URL에 대한 액세스를 허용하지 않습니다. 여기에는 웹 스토어 갤러리, 기타 크롬 확장 프로그램 및 chrome: // URL이 포함됩니다. 현재 페이지는 제한된 URL로 나타납니다." + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "[aws:2019-09-22 23:05:55] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "message": "Chrome은 확장 프로그램이 기본 다운로드 디렉토리 외부에 파일을 저장하지 못하도록 합니다. 입력한 경로가 그에 따라 업데이트되었습니다. 미안해!" + }, + "_Clickdraginlayerspane": { + "description": "[aws:2019-09-22 23:05:56] Click + drag in layers pane", + "message": "레이어 창에서 클릭+드래그" + }, + "_Color": { + "description": "[aws:2019-09-22 23:05:56] Color", + "message": "색상" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "[aws:2019-09-22 23:05:57] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future.", + "message": "전체 페이지 화면 캡처 확장에 대한 설정을 구성합니다. 추가 업데이트를 위해 계속 지켜봐 주시기 바랍니다. 베타 설정은 나중에 변경될 수 있습니다." + }, + "_Continueediting": { + "description": "[aws:2019-09-22 23:05:58] Continue editing", + "message": "계속 편집" + }, + "_CropImage": { + "description": "[aws:2019-09-22 23:05:59] Crop Image", + "message": "이미지 자르기" + }, + "_Cropeditannotateandexport": { + "description": "[aws:2019-09-22 23:05:58] Crop, edit, annotate, and export", + "message": "자르기, 편집, 주석 달기 및 내보내기" + }, + "_Delete": { + "description": "[aws:2019-09-22 23:06:00] Delete", + "message": "삭제" + }, + "_Deletecurrentselection": { + "description": "[aws:2019-09-22 23:06:00] Delete current selection", + "message": "현재 선택 항목 삭제" + }, + "_Directory": { + "description": "[aws:2019-09-22 23:06:01] Directory:", + "message": "디렉토리:" + }, + "_Document": { + "description": "[aws:2019-09-22 23:06:02] Document", + "message": "문서" + }, + "_Documentedits": { + "description": "[aws:2019-09-22 23:06:02] Document edits", + "message": "문서 편집" + }, + "_DoneCropping": { + "description": "[aws:2019-09-22 23:06:03] Done Cropping", + "message": "자르기 완료" + }, + "_Download": { + "description": "[aws:2019-09-22 23:06:04] Download", + "message": "다운로드" + }, + "_DownloadExport": { + "description": "[aws:2019-09-22 23:06:04] Download & Export", + "message": "다운로드 및 내보내기" + }, + "_Downloadpermissionisrequired": { + "description": "[aws:2019-09-22 23:06:05] Download permission is required", + "message": "다운로드 권한이 필요합니다." + }, + "_Downloadpermissionnotgranted": { + "description": "[aws:2019-09-22 23:06:06] Download permission not granted", + "message": "다운로드 권한이 부여되지 않았습니다." + }, + "_Downloadspermission": { + "description": "[aws:2019-09-22 23:06:06] Downloads permission", + "message": "다운로드 권한" + }, + "_Draglayercontrolpoints": { + "description": "[aws:2019-09-22 23:06:07] Drag layer control points", + "message": "레이어 제어점 드래그" + }, + "_Duplicateselection": { + "description": "[aws:2019-09-22 23:06:07] Duplicate selection", + "message": "중복 선택 항목" + }, + "_Edited": { + "description": "[aws:2019-09-22 23:06:08] Edited", + "message": "편집됨" + }, + "_Elements": { + "description": "[aws:2019-09-22 23:06:09] Elements", + "message": "요소" + }, + "_Emoji": { + "description": "[aws:2019-09-22 23:06:10] Emoji", + "message": "이모티콘" + }, + "_Enabled": { + "description": "[aws:2019-09-22 23:06:10] Enabled", + "message": "활성화됨" + }, + "_Entertexthere": { + "description": "[aws:2019-09-22 23:06:11] Enter text here", + "message": "여기에 텍스트를 입력하십시오." + }, + "_Error": { + "description": "[aws:2019-09-22 23:06:11] Error", + "message": "오류" + }, + "_Errordownloadingfile": { + "description": "[aws:2019-09-22 23:06:12] Error downloading file", + "message": "파일을 다운로드하는 중 오류가 발생했습니다." + }, + "_Errordownloadingfiles": { + "description": "[aws:2019-09-22 23:06:13] Error downloading files", + "message": "파일을 다운로드하는 중 오류가 발생했습니다." + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 23:06:13] Error handling files. Please report this via the flag reporting button above.", + "message": "파일을 처리하는 동안 오류가 발생했습니다. 위의 플래그 신고 버튼을 통해 신고하십시오." + }, + "_Errorloadinghistory": { + "description": "[aws:2019-09-22 23:06:14] Error loading history", + "message": "히스토리를 로드하는 중 오류 발생" + }, + "_Errorloadingimage": { + "description": "[aws:2019-09-22 23:06:15] Error loading image", + "message": "이미지를 로드하는 중 오류 발생" + }, + "_Erroropeningscreenshot": { + "description": "[aws:2019-09-22 23:06:15] Error opening screenshot", + "message": "스크린샷을 여는 중 오류 발생" + }, + "_Errorremovingscreenshot": { + "description": "[aws:2019-09-22 23:06:16] Error removing screenshot", + "message": "스크린샷을 제거하는 중 오류 발생" + }, + "_Exitzoom": { + "description": "[aws:2019-09-22 23:06:17] Exit zoom", + "message": "줌 종료" + }, + "_Export": { + "description": "[aws:2019-09-22 23:06:17] Export", + "message": "내보내기" + }, + "_Extensionsettings": { + "description": "[aws:2019-09-23 19:22:10] Extension settings", + "message": "확장 설정" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "[aws:2019-09-23 19:22:11] Extra permissions are required to access the underlying page.", + "message": "기본 페이지에 액세스하려면 추가 권한이 필요합니다." + }, + "_Extrapermissionsrequired": { + "description": "[aws:2019-09-23 19:22:11] Extra permissions required", + "message": "추가 사용 권한이 필요합니다." + }, + "_Fileaccessneeded": { + "description": "[aws:2019-09-23 19:22:12] File access needed", + "message": "필요한 파일 액세스" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "[aws:2019-09-22 23:06:18] File no longer exists—perhaps it has been cleared from your browser", + "message": "파일이 더 이상 존재하지 않습니다. 브라우저에서 삭제되었을 수 있습니다." + }, + "_Fill": { + "description": "[aws:2019-09-22 23:06:19] Fill", + "message": "채우기" + }, + "_Font": { + "description": "[aws:2019-09-22 23:06:19] Font", + "message": "글꼴" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:22:12] For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "추가 질문은 \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">당사에 문의하십시오\u003C/a>." + }, + "_Getstarted": { + "description": "[aws:2019-09-22 23:06:21] Get started", + "message": "시작하기" + }, + "_Gotit": { + "description": "[aws:2019-09-22 23:06:21] Got it!", + "message": "잡았어!" + }, + "_Gotoyouraccount": { + "description": "[aws:2019-09-22 23:06:22] Go to your account", + "message": "귀하의 계정으로 이동" + }, + "_Help": { + "description": "[aws:2019-09-22 23:06:23] Help", + "message": "도움말" + }, + "_HelpShortcuts": { + "description": "[aws:2019-09-22 23:06:24] Help / Shortcuts", + "message": "도움말/바로 가기" + }, + "_History": { + "description": "[aws:2019-09-22 23:06:24] History", + "message": "역사" + }, + "_Hooray": { + "description": "[aws:2019-09-22 23:06:25] Hooray", + "message": "만세" + }, + "_Icon": { + "description": "[aws:2019-09-22 23:06:26] Icon", + "message": "아이콘" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 23:06:27] If this persists, please report it via the flag reporting button above.", + "message": "이 문제가 지속되면 위의 플래그 신고 버튼을 통해 신고하십시오." + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "[aws:2019-09-22 23:06:28] If you’d like to try this feature in the future, click on the “Edit” button up top.", + "message": "나중에 이 기능을 사용해보고 싶다면 상단의 “편집” 버튼을 클릭하십시오." + }, + "_Imagedeleted": { + "description": "[aws:2019-09-22 23:06:28] Image deleted", + "message": "이미지가 삭제됨" + }, + "_Imageformat": { + "description": "[aws:2019-09-22 23:06:29] Image format:", + "message": "이미지 형식:" + }, + "_Insertshapes": { + "description": "[aws:2019-09-22 23:06:30] Insert shapes", + "message": "쉐이프 삽입" + }, + "_Italic": { + "description": "[aws:2019-09-22 23:06:30] Italic", + "message": "기울임꼴" + }, + "_Layers": { + "description": "[aws:2019-09-22 23:06:31] Layers", + "message": "도면층" + }, + "_Learnmore": { + "description": "[aws:2019-09-22 23:06:31] Learn more", + "message": "자세히 알아보기" + }, + "_Line": { + "description": "[aws:2019-09-22 23:06:32] Line", + "message": "선" + }, + "_Loadpermissionsdialog": { + "description": "[aws:2019-09-23 19:22:13] Load permissions dialog?", + "message": "권한 로드 대화 상자" + }, + "_LogintoExport": { + "description": "[aws:2019-09-22 23:06:33] Login to Export", + "message": "내보내기 로그인" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "[aws:2019-09-22 23:06:34] Look for an element within the page with its own scroll bars and scroll that item during the capture.", + "message": "페이지 내에서 자체 스크롤 막대가 있는 요소를 찾고 캡처 중에 해당 항목을 스크롤합니다." + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "[aws:2019-09-22 23:06:35] Might you consider taking a minute to rate it in the Webstore?", + "message": "웹 스토어에서 평가하는 데 1 분 정도 걸리는 것을 고려해 볼 수 있습니까?" + }, + "_More": { + "description": "[aws:2019-09-22 23:06:35] More", + "message": "더" + }, + "_Mouseorarrowkeys": { + "description": "[aws:2019-09-22 23:06:36] Mouse or arrow keys", + "message": "마우스 또는 화살표 키" + }, + "_Mouseorlayerspane": { + "description": "[aws:2019-09-22 23:06:37] Mouse or layers pane", + "message": "마우스 또는 레이어 창" + }, + "_Movelayer": { + "description": "[aws:2019-09-22 23:06:37] Move layer", + "message": "레이어 이동" + }, + "_None": { + "description": "[aws:2019-09-22 23:06:38] None", + "message": "없음" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "[aws:2019-09-22 23:06:39] No screen captures found. Go make some!", + "message": "화면 캡처를 찾을 수 없습니다. 가서 좀 만들어라!" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "[aws:2019-09-23 19:22:14] Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "message": "참고: 이 페이지는 너무 커서 Chrome 브라우저가 하나의 이미지로 캡처할 수 없습니다. 그것은 \u003Cspan id=\"screenshot-count\">여러\u003C/span> 이미지로 분할됩니다." + }, + "_Nothanks": { + "description": "[aws:2019-09-22 23:06:39] No, thanks.", + "message": "아뇨, 고마워요" + }, + "_Nothankscontinueediting": { + "description": "[aws:2019-09-22 23:06:40] No thanks continue editing", + "message": "아니 감사 편집을 계속" + }, + "_Notreally": { + "description": "[aws:2019-09-22 23:06:41] Not really", + "message": "정말 아닙니다." + }, + "_OK": { + "description": "[aws:2019-09-23 19:22:15] OK", + "message": "확인" + }, + "_On": { + "description": "[aws:2019-09-22 23:06:43] On", + "message": "에" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "[aws:2019-09-22 23:06:44] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios.", + "message": "Mac Chrome에서는 자동 다운로드 및 여러 파일을 다운로드 할 때 “다른 이름으로 저장”문제가 있으므로 이러한 시나리오에서는 비활성화됩니다." + }, + "_Options": { + "description": "[aws:2019-09-22 23:06:44] Options", + "message": "옵션" + }, + "_Orderlayer": { + "description": "[aws:2019-09-22 23:06:45] Order layer", + "message": "레이어 순서 지정" + }, + "_Outline": { + "description": "[aws:2019-09-22 23:06:46] Outline", + "message": "아웃라인" + }, + "_Oval": { + "description": "[aws:2019-09-22 23:06:47] Oval", + "message": "타원형" + }, + "_PDFsize": { + "description": "[aws:2019-09-22 23:06:49] PDF size:", + "message": "PDF 크기:" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "[aws:2019-09-22 23:06:52] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression.", + "message": "PNG는 무손실이 없으며 화면에 표시되는 것과 정확히 일치해야하지만 일반적으로 압축을 사용하는 JPG보다 파일 크기가 큽니다." + }, + "_Pad": { + "description": "[aws:2019-09-22 23:06:47] Pad", + "message": "패드" + }, + "_Padding": { + "description": "[aws:2019-09-22 23:06:48] Padding", + "message": "패딩" + }, + "_PaddingBorder": { + "description": "[aws:2019-09-22 23:06:49] Padding / Border", + "message": "패딩/테두리" + }, + "_Permissionneededtodownloadfiles": { + "description": "[aws:2019-09-22 23:06:50] Permission needed to download files", + "message": "파일 다운로드에 필요한 권한" + }, + "_Permissions": { + "description": "[aws:2019-09-22 23:06:51] Permissions", + "message": "사용 권한" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "[aws:2019-09-23 19:22:15] Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "message": "Chrome 확장 프로그램 설정으로 이동하여 \u003Cstrong>“파일 URL에 대한 액세스 허용”을\u003C/strong>활성화하면 확장 프로그램이 이 페이지에 액세스 할 수 있습니다. \u003Cbr>\u003Cbr>" + }, + "_Position": { + "description": "[aws:2019-09-22 23:06:52] Position", + "message": "위치" + }, + "_Radius": { + "description": "[aws:2019-09-22 23:06:53] Radius", + "message": "반지름" + }, + "_Rectangle": { + "description": "[aws:2019-09-22 23:06:54] Rectangle", + "message": "직사각형" + }, + "_Redo": { + "description": "[aws:2019-09-22 23:06:54] Redo", + "message": "다시 실행" + }, + "_Removefiles": { + "description": "[aws:2019-09-22 23:06:55] Remove files", + "message": "파일 제거" + }, + "_Reportissue": { + "description": "[aws:2019-09-22 23:06:55] Report issue.", + "message": "문제를 보고합니다." + }, + "_Resizelayer": { + "description": "[aws:2019-09-22 23:06:56] Resize layer", + "message": "레이어 크기 조정" + }, + "_Roundedcorners": { + "description": "[aws:2019-09-22 23:06:57] Rounded corners", + "message": "둥근 모서리" + }, + "_Saveas": { + "description": "[aws:2019-09-22 23:06:58] Save as", + "message": "다른 이름으로 저장" + }, + "_Saved": { + "description": "[aws:2019-09-22 23:06:59] Saved", + "message": "저장되었습니다" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "[aws:2019-09-22 23:06:59] Save this permission (if accepted) for future captures. It can still be revoked later from the options page.", + "message": "나중에 캡처할 수 있도록 이 권한을 저장합니다 (수락된 경우). 나중에 옵션 페이지에서 취소할 수 있습니다." + }, + "_Screencaptureinprogress": { + "description": "[aws:2019-09-23 19:22:16] Screen capture in progress…", + "message": "화면 캡처 진행 중..." + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "[aws:2019-09-22 23:07:01] Select 1 or more screenshots to use this action.", + "message": "이 작업을 사용하려면 하나 이상의 스크린샷을 선택합니다." + }, + "_Selected": { + "description": "[aws:2019-09-22 23:07:01] Selected", + "message": "선택됨" + }, + "_Selectlayer": { + "description": "[aws:2019-09-22 23:07:02] Select layer", + "message": "레이어 선택" + }, + "_Setthemedefaults": { + "description": "[aws:2019-09-22 23:07:03] Set theme defaults", + "message": "테마 기본값 설정" + }, + "_Shapes": { + "description": "[aws:2019-09-22 23:07:03] Shapes", + "message": "모양" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "[aws:2019-09-22 23:07:04] Sign up for a free 7-day trial to unlock the editor and download your masterpiece.", + "message": "에디터의 잠금을 해제하고 걸작을 다운로드하려면 7일 무료 평가판에 가입하세요." + }, + "_SignuptoExport": { + "description": "[aws:2019-09-22 23:07:05] Sign up to Export", + "message": "내보내기 등록하기" + }, + "_Size": { + "description": "[aws:2019-09-22 23:07:05] Size", + "message": "사이즈" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:22:17] Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "뭔가 잘못됐어 페이지를 새로 고침하고 다시 실행하십시오. \u003Cbr>\u003Cbr>이 경우, \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">문의하시기\u003C/a>바랍니다." + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "[aws:2019-09-22 23:07:06] Something went wrong deleting your screenshot.", + "message": "스크린 샷을 삭제하는 데 문제가 발생했습니다." + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "[aws:2019-09-22 23:07:07] Something went wrong opening this screenshot into a new.", + "message": "이 스크린 샷을 새로운 것으로 여는 데 문제가 발생했습니다." + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "[aws:2019-09-22 23:07:08] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot.", + "message": "때로는 “맨 위로”버튼이나 끈적 끈적한 바닥 글과 같은 요소가 페이지에서 반복됩니다. 이것은 절대적으로 그들이 스크레 핫에서 반복되는 것을 막기 위해 그들을 위치시키려고합니다." + }, + "_Sorry": { + "description": "[aws:2019-09-22 23:07:08] Sorry", + "message": "미안해요" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "[aws:2019-09-22 23:07:09] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed).", + "message": "다운로드 디렉토리 아래에 디렉토리를 지정하여 스크린샷을 저장할 수 있습니다 (예: “스크린 캡처”). 기본값은 다운로드 디렉토리가 비어 있는 경우 입니다. (문자, 숫자, 대시, 밑줄 및 슬래시로 제한하십시오. 잘못된 문자는 자동으로 제거됩니다.)" + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "[aws:2019-09-22 23:07:10] Specify the format size of PDFs for when exporting to PDF.", + "message": "PDF로 내보낼 때 사용할 PDF의 형식 크기를 지정합니다." + }, + "_Startyourfreetrial": { + "description": "[aws:2019-09-22 23:07:11] Start your free trial", + "message": "무료 평가판 시작" + }, + "_Stickers": { + "description": "[aws:2019-09-22 23:07:11] Stickers", + "message": "스티커" + }, + "_Stillloading": { + "description": "[aws:2019-09-22 23:07:12] Still loading", + "message": "아직 로드 중" + }, + "_TakemetotheWebstore": { + "description": "[aws:2019-09-22 23:07:12] Take me to the Webstore!", + "message": "웹스토어로 데려다 줘!" + }, + "_Text": { + "description": "[aws:2019-09-22 23:07:13] Text", + "message": "텍스트" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "description": "[aws:2019-09-22 23:07:14] Thank you for supporting Full Page Screen Capture", + "message": "전체 페이지 화면 캡처를 지원해 주셔서 감사합니다." + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "[aws:2019-09-22 23:07:14] The best and safest way to capture a screenshot of an entire web page.", + "message": "전체 웹 페이지의 스크린 샷을 캡처하는 가장 안전하고 안전한 방법입니다." + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "[aws:2019-09-22 23:07:15] The download permission is required to enable the download as PDF feature.", + "message": "PDF로 다운로드 기능을 사용하려면 다운로드 권한이 필요합니다." + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "[aws:2019-09-22 23:07:16] The following files could not be downloaded:", + "message": "다음 파일을 다운로드할 수 없습니다." + }, + "_ThemeDefaults": { + "description": "[aws:2019-09-22 23:07:16] Theme Defaults", + "message": "테마 기본값" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "[aws:2019-09-22 23:07:17] There was an error downloading files, please report it via the flag button above.", + "message": "파일을 다운로드하는 중 오류가 발생했습니다. 위의 플래그 버튼을 통해 보고하십시오." + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "[aws:2019-09-22 23:07:18] These settings will apply to all future edits of screenshots. Changes are autosaved.", + "message": "이러한 설정은 이후의 모든 스크린 샷 편집에 적용됩니다. 변경 사항은 자동으로 저장됩니다." + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "[aws:2019-09-22 23:07:19] The specified image could not be found.", + "message": "지정한 이미지를 찾을 수 없습니다." + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "[aws:2019-09-22 23:07:19] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!", + "message": "이 확장은 유지 관리에 많은 작업이 필요합니다. 당신이 유용하다고 생각한다는 것을 듣는 것은 정말로 의미가 있습니다!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "[aws:2019-09-22 23:07:20] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.", + "message": "이 작업은 예상보다 로드하는 데 시간이 오래 걸립니다. 꽉 조여! 잠시 후 아무 것도 업데이트되지 않으면 위의 보고 플래그 버튼을 통해 신고하십시오." + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "description": "[aws:2019-09-22 23:07:21] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work.", + "message": "이 권한을 사용하면 확장 프로그램 내에서 다운로드가 작동하는 방식을 보다 잘 제어할 수 있습니다. 기본 설정이 저장되었으며 이 다운로드 버튼이 기본 브라우저 클릭 시 다운로드로 대체됩니다. 그러나 작업 내역 또는 옵션 페이지의 고급 기능을 사용하려면 이 권한이 필요하기 때문에 이 기능을 입력하라는 메시지가 계속 표시됩니다." + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "[aws:2019-09-22 23:07:22] This permission is required for the download buttons and the auto-download feature.", + "message": "이 권한은 다운로드 버튼과 자동 다운로드 기능에 필요합니다." + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "[aws:2019-09-22 23:07:23] This screenshot been successfully removed.", + "message": "이 스크린샷은 성공적으로 제거되었습니다." + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "[aws:2019-09-23 19:22:17] This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>.", + "message": "이 사이트는 \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">프레임세트\u003C/a>내에 포함된 콘텐츠가 있는 것으로 보입니다." + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "[aws:2019-09-23 19:22:18] This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>.", + "message": "이 사이트는 \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>내에 포함 된 콘텐츠가있는 것으로 보입니다." + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "[aws:2019-09-23 19:22:19] This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "message": "이 테스트 버전은 만료되었습니다. 업데이트를 받거나 \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome 웹 스토어에서\u003C/a>적절한 확장 프로그램으로 전환하려면 연락하십시오." + }, + "_ToggleURLbrowser": { + "description": "[aws:2019-09-22 23:07:25] Toggle URL / browser", + "message": "URL/브라우저 전환" + }, + "_Togglecrop": { + "description": "[aws:2019-09-22 23:07:24] Toggle crop", + "message": "자르기 토글" + }, + "_Togglepaddingborder": { + "description": "[aws:2019-09-22 23:07:25] Toggle padding / border", + "message": "패딩/테두리 전환" + }, + "_Type": { + "description": "[aws:2019-09-22 23:07:26] Type", + "message": "를 입력합니다" + }, + "_URLBrowser": { + "description": "[aws:2019-09-22 23:07:29] URL / Browser", + "message": "URL/ 브라우저" + }, + "_URLonbottom": { + "description": "[aws:2019-09-22 23:07:30] URL on bottom", + "message": "하단의 URL" + }, + "_URLontop": { + "description": "[aws:2019-09-22 23:07:30] URL on top", + "message": "상단에 URL" + }, + "_Unabletofindimage": { + "description": "[aws:2019-09-22 23:07:26] Unable to find image", + "message": "이미지를 찾을 수 없습니다." + }, + "_Unabletoloadimage": { + "description": "[aws:2019-09-22 23:07:27] Unable to load image", + "message": "이미지를 로드할 수 없습니다." + }, + "_Undo": { + "description": "[aws:2019-09-22 23:07:28] Undo", + "message": "실행 취소" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "[aws:2019-09-23 19:22:20] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page.", + "message": "경고: 확장 프로그램은 매우 큰 캡처를 처리하도록 설계되지 않았습니다. 이 페이지의 캡처를 완료하지 못할 수 있습니다." + }, + "_WatchDemo": { + "description": "[aws:2019-09-22 23:07:32] Watch Demo", + "message": "데모 시청" + }, + "_WelcometotheFullPageEditor": { + "description": "[aws:2019-09-22 23:07:33] Welcome to the Full Page Editor!", + "message": "전체 페이지 편집기에 오신 것을 환영합니다!" + }, + "_WelcometotheFullPageScreenCaptureextension": { + "description": "[aws:2019-09-23 19:22:21] Welcome to the Full Page Screen Capture extension.", + "message": "전체 페이지 화면 캡처 확장에 오신 것을 환영합니다." + }, + "_WelcometotheofficialFullPageEditor": { + "description": "[aws:2019-09-22 23:07:34] Welcome to the official Full Page Editor!", + "message": "공식 전체 페이지 편집기에 오신 것을 환영합니다!" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "[aws:2019-09-22 23:07:34] We’re excited to have you aboard.", + "message": "우리는 당신을 타고 기쁘게 생각합니다." + }, + "_Width": { + "description": "[aws:2019-09-22 23:07:35] Width", + "message": "너비" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "[aws:2019-09-22 23:07:36] Would you like to report any issues you’re experiencing, so we can improve this extension together?", + "message": "이 확장 프로그램을 함께 개선할 수 있도록 발생한 문제를 보고하시겠습니까?" + }, + "_Yes": { + "description": "[aws:2019-09-22 23:07:36] Yes!", + "message": "네!" + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "[aws:2019-09-23 19:22:22] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "message": "브라우저가 확장 스크립트를 실행하지 못하도록 제한하는 웹 페이지를 제외한 모든 웹 페이지에서이 작업을 실행할 수 있습니다. 여기에는 Chrome 웹 스토어, 브라우저 설정 페이지 및 기타 확장 프로그램이 포함됩니다." + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "[aws:2019-09-23 19:22:22] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen.", + "message": "대화 상자와 상호 작용 한 후 확장 프로그램을 다시 실행해야 할 수도 있습니다. 취소하면 보이는 화면만 캡처됩니다." + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "[aws:2019-09-22 23:07:37] You need to grant the download privilege in order to download files", + "message": "파일을 다운로드하려면 다운로드 권한을 부여해야 합니다." + }, + "_Zoom": { + "description": "[aws:2019-09-22 23:07:38] Zoom", + "message": "줌" + }, + "_Zoomin": { + "description": "[aws:2019-09-22 23:07:38] Zoom in", + "message": "확대" + }, + "_Zoomout": { + "description": "[aws:2019-09-22 23:07:39] Zoom out", + "message": "축소" + }, + "_billedannually": { + "description": "[aws:2019-09-22 23:05:51] billed annually", + "message": "연간 청구됨" + }, + "_cancelanytime": { + "description": "[aws:2019-09-22 23:05:53] cancel anytime", + "message": "언제든지 취소" + }, + "_close": { + "description": "[aws:2019-09-23 19:22:09] close", + "message": "을 닫습니다" + }, + "_details": { + "description": "[aws:2019-09-23 19:22:09] details…", + "message": "세부 정보..." + }, + "_fullimage": { + "description": "[aws:2019-09-22 23:06:20] full image", + "message": "전체 이미지" + }, + "_iFramepermission": { + "description": "[aws:2019-09-22 23:06:26] iFrame permission", + "message": "iFrame 사용 권한" + }, + "_loading": { + "description": "[aws:2019-09-22 23:06:33] loading…", + "message": "로드 중..." + }, + "_numfilescouldnotberemoved": { + "description": "[aws:2019-09-22 23:06:41] $num$ files could not be removed.", + "message": "$num$ 파일을 제거할 수 없습니다.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "[aws:2019-09-22 23:06:42] $num$ files were successfully removed.", + "message": "$num$ 파일이 성공적으로 제거되었습니다.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "[aws:2019-09-22 23:06:45] or", + "message": "또는" + }, + "_restorefactorydefaults": { + "description": "[aws:2019-09-22 23:06:57] restore factory defaults", + "message": "출하 시 기본값 복원" + }, + "_search": { + "description": "[aws:2019-09-22 23:07:00] search…", + "message": "검색..." + }, + "_upontrialcompletion": { + "description": "[aws:2019-09-22 23:07:28] upon trial completion", + "message": "시험 완료 시" + }, + "_version": { + "description": "[aws:2019-09-22 23:07:31] version", + "message": "버전을 사용할 수 있습니다" + }, + "_watchademovideo": { + "description": "[aws:2019-09-22 23:07:32] watch a demo video", + "message": "데모 비디오 시청" + }, + "actionClose": { + "description": "[aws:2019-09-22 23:07:40] Close", + "message": "닫기" + }, + "actionDeleteImage": { + "description": "[aws:2019-09-22 23:07:40] Delete image", + "message": "이미지 삭제" + }, + "actionDownloadImage": { + "description": "[aws:2019-09-22 23:07:41] Download image", + "message": "이미지 다운로드" + }, + "actionDownloadPDF": { + "description": "[aws:2019-09-22 23:07:41] Download PDF", + "message": "PDF 다운로드" + }, + "actionEdit": { + "description": "[aws:2019-09-22 23:07:42] Edit", + "message": "편집" + }, + "actionOK": { + "description": "[aws:2019-09-22 23:07:43] OK", + "message": "확인" + }, + "actionReport": { + "description": "[aws:2019-09-22 23:07:43] Report issue", + "message": "문제 보고" + }, + "appDesc": { + "description": "[aws:2019-09-22 23:05:38] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!", + "message": "추가 권한을 요청하지 않고 현재 페이지의 스크린샷을 전체적으로 캡처하고 신뢰할 수 있습니다!" + }, + "goPremiumHeader": { + "description": "Take your screenshots to the next level with Full Page Screen Capture Premium", + "message": "Full Page Screen Capture Premium에 등록하셔서 훨씬 다양한 기능으로 스크린샷을 캡쳐하세요" + }, + "goPremiumLink": { + "description": "Get started (free 1-week trial)", + "message": "시작하기 (1주 무료 이용)" + }, + "goPremiumSignInLink": { + "description": "Sign in", + "message": "로그인" + }, + "goPremiumSignInMessage": { + "description": "Already have an account?", + "message": "이미 계정이 있으십니까?" + }, + "goPremiumSubHeader": { + "description": "Including advanced editing and annotation features of screenshots", + "message": "더 나아가 고급 편집과 주석 기능을 사용하여 작업 속도도 훨씬 단축 시키실수있습니다." + }, + "navHistory": { + "description": "[aws:2019-09-22 23:07:44] History", + "message": "역사" + }, + "navOptions": { + "description": "[aws:2019-09-22 23:07:45] Options", + "message": "옵션" + }, + "tryEditingNo": { + "description": "No thanks", + "message": "취소" + }, + "tryEditingRequest": { + "description": "Try editing and annotating your screenshot", + "message": "스크린 샷을 수정하거나 주석을 달고 싶은신가요?" + }, + "tryEditingYes": { + "description": "Ok!", + "message": "확인" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/pt/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/pt/messages.json new file mode 100644 index 0000000..8c99f42 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/pt/messages.json @@ -0,0 +1,914 @@ +{ + "_1filecouldnotberemoved": { + "description": "[aws:2019-09-22 23:08:33] 1 file could not be removed.", + "message": "1 arquivo não pôde ser removido." + }, + "_1filewassuccessfullyremoved": { + "description": "[aws:2019-09-22 23:08:34] 1 file was successfully removed.", + "message": "1 arquivo foi removido com êxito." + }, + "_Adjustrepeatingelements": { + "description": "[aws:2019-09-22 23:08:34] Adjust repeating elements", + "message": "Ajustar elementos repetitivos" + }, + "_Advancedscrolling": { + "description": "[aws:2019-09-22 23:08:35] Advanced scrolling", + "message": "Rolagem avançada" + }, + "_Align": { + "description": "[aws:2019-09-22 23:08:35] Align", + "message": "Alinhar" + }, + "_Anyissues": { + "description": "[aws:2019-09-22 23:08:36] Any issues?", + "message": "Algum problema?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "[aws:2019-09-22 23:08:37] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested.", + "message": "Quaisquer permissões opcionais que foram concedidas anteriormente aparecerão verificadas aqui. Você pode revogá-los a qualquer momento. Se forem necessários novamente no futuro, serão resolicitados." + }, + "_Areyouenjoyingthisextension": { + "description": "[aws:2019-09-22 23:08:38] Are you enjoying this extension?", + "message": "Está gostando dessa extensão?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:08:38] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)", + "message": "Tem certeza de que deseja excluir 1 captura de tela?\n (Esta ação não pode ser desfeita.)" + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:08:39] Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "message": "Tem certeza de que deseja excluir capturas de tela $count$?\n (Esta ação não pode ser desfeita.)", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "[aws:2019-09-22 23:08:40] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)", + "message": "Tem certeza de que deseja excluir esta captura de tela?\n(Esta ação não pode ser desfeita.)" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "[aws:2019-09-22 23:08:40] Are you sure you want to reset to the extension’s original theme defaults?", + "message": "Tem certeza de que deseja redefinir os padrões do tema original da extensão?" + }, + "_Arrow": { + "description": "[aws:2019-09-22 23:08:41] Arrow", + "message": "Seta" + }, + "_Autodownloadfiles": { + "description": "[aws:2019-09-22 23:08:42] Auto-download files", + "message": "Download automático de arquivos" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:22:23] Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "O download automático está ativado. Você pode alterar isso em \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">opções\u003C/a>." + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "[aws:2019-09-22 23:08:43] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "message": "Baixe automaticamente sua captura de tela em vez de abri-la em uma nova janela.Isso significa que a guia de captura de extensão não será aberta. Você pode voltar aqui clicando com o botão direito do mouse na extensão e selecionando “Opções”." + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "[aws:2019-09-22 23:08:43] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "message": "Mostrar automaticamente uma caixa de diálogo “salvar como” ao baixar suas capturas de tela. Se a opção “Perguntar onde guardar cada ficheiro antes de transferir” estiver activada nas definições do Chrome, isso terá prioridade." + }, + "_Backtocapturechangesareautosaved": { + "description": "[aws:2019-09-22 23:08:44] Back to capture (changes are auto-saved)", + "message": "Voltar à captura (as alterações são salvas automaticamente)" + }, + "_Blur": { + "description": "[aws:2019-09-22 23:08:45] Blur", + "message": "Borrão" + }, + "_Bold": { + "description": "[aws:2019-09-22 23:08:46] Bold", + "message": "Negrito" + }, + "_Cancel": { + "description": "[aws:2019-09-23 19:22:24] Cancel", + "message": "Cancelar" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:22:25] Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "Não é possível fazer o download automático, você precisa reaprovar a permissão Downloads nas \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">opções\u003C/a>." + }, + "_Cannotdownloadfiles": { + "description": "[aws:2019-09-22 23:08:47] Cannot download files", + "message": "Não é possível baixar arquivos" + }, + "_Capture": { + "description": "[aws:2019-09-22 23:08:48] Capture", + "message": "Capturar" + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "[aws:2019-09-23 19:22:26] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "message": "O Chrome não permite o acesso a alguns URLs por motivos de segurança. Isso inclui a galeria da webstore, outras extensões cromadas e URLs chrome: //. A página atual parece ser uma URL restrita." + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "[aws:2019-09-22 23:08:49] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "message": "O Chrome impede que as extensões salvem arquivos fora do diretório de downloads padrão. O caminho inserido foi atualizado de acordo. Desculpem!" + }, + "_Clickdraginlayerspane": { + "description": "[aws:2019-09-22 23:08:49] Click + drag in layers pane", + "message": "Clique em + arrastar no painel de camadas" + }, + "_Color": { + "description": "[aws:2019-09-22 23:08:50] Color", + "message": "Cor" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "[aws:2019-09-22 23:08:51] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future.", + "message": "Configure suas configurações para a extensão Captura de Tela de Página Inteira. Fique ligado para mais atualizações. As configurações beta podem mudar no futuro." + }, + "_Continueediting": { + "description": "[aws:2019-09-22 23:08:51] Continue editing", + "message": "Continuar editando" + }, + "_CropImage": { + "description": "[aws:2019-09-22 23:08:53] Crop Image", + "message": "Recortar imagem" + }, + "_Cropeditannotateandexport": { + "description": "[aws:2019-09-22 23:08:52] Crop, edit, annotate, and export", + "message": "Cortar, editar, anotar e exportar" + }, + "_Delete": { + "description": "[aws:2019-09-22 23:08:54] Delete", + "message": "Excluir" + }, + "_Deletecurrentselection": { + "description": "[aws:2019-09-22 23:08:54] Delete current selection", + "message": "Excluir a seleção atual" + }, + "_Directory": { + "description": "[aws:2019-09-22 23:08:55] Directory:", + "message": "Diretório:" + }, + "_Document": { + "description": "[aws:2019-09-22 23:08:56] Document", + "message": "Documento" + }, + "_Documentedits": { + "description": "[aws:2019-09-22 23:08:56] Document edits", + "message": "Edições de documentos" + }, + "_DoneCropping": { + "description": "[aws:2019-09-22 23:08:57] Done Cropping", + "message": "Corte feito" + }, + "_Download": { + "description": "[aws:2019-09-22 23:08:58] Download", + "message": "Baixar" + }, + "_DownloadExport": { + "description": "[aws:2019-09-22 23:08:58] Download & Export", + "message": "Baixar e exportar" + }, + "_Downloadpermissionisrequired": { + "description": "[aws:2019-09-22 23:08:59] Download permission is required", + "message": "A permissão de download é necessária" + }, + "_Downloadpermissionnotgranted": { + "description": "[aws:2019-09-22 23:09:00] Download permission not granted", + "message": "Permissão de download não concedida" + }, + "_Downloadspermission": { + "description": "[aws:2019-09-22 23:09:00] Downloads permission", + "message": "Permissão de downloads" + }, + "_Draglayercontrolpoints": { + "description": "[aws:2019-09-22 23:09:01] Drag layer control points", + "message": "Arrastar pontos de controle da camada" + }, + "_Duplicateselection": { + "description": "[aws:2019-09-22 23:09:02] Duplicate selection", + "message": "Seleção duplicada" + }, + "_Edited": { + "description": "[aws:2019-09-22 23:09:02] Edited", + "message": "Editado" + }, + "_Elements": { + "description": "[aws:2019-09-22 23:09:03] Elements", + "message": "Elementos" + }, + "_Emoji": { + "description": "[aws:2019-09-22 23:09:03] Emoji", + "message": "Emoji" + }, + "_Enabled": { + "description": "[aws:2019-09-22 23:09:04] Enabled", + "message": "Ativado" + }, + "_Entertexthere": { + "description": "[aws:2019-09-22 23:09:05] Enter text here", + "message": "Insira o texto aqui" + }, + "_Error": { + "description": "[aws:2019-09-22 23:09:05] Error", + "message": "Erro" + }, + "_Errordownloadingfile": { + "description": "[aws:2019-09-22 23:09:06] Error downloading file", + "message": "Erro ao baixar o arquivo" + }, + "_Errordownloadingfiles": { + "description": "[aws:2019-09-22 23:09:07] Error downloading files", + "message": "Erro ao baixar arquivos" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 23:09:07] Error handling files. Please report this via the flag reporting button above.", + "message": "Erro ao manusear arquivos. Por favor, informe isso através do botão de relatório de sinalização acima." + }, + "_Errorloadinghistory": { + "description": "[aws:2019-09-22 23:09:08] Error loading history", + "message": "Erro ao carregar histórico" + }, + "_Errorloadingimage": { + "description": "[aws:2019-09-22 23:09:09] Error loading image", + "message": "Erro ao carregar imagem" + }, + "_Erroropeningscreenshot": { + "description": "[aws:2019-09-22 23:09:09] Error opening screenshot", + "message": "Erro ao abrir a captura de tela" + }, + "_Errorremovingscreenshot": { + "description": "[aws:2019-09-22 23:09:10] Error removing screenshot", + "message": "Erro ao remover a captura de tela" + }, + "_Exitzoom": { + "description": "[aws:2019-09-22 23:09:11] Exit zoom", + "message": "Sair do zoom" + }, + "_Export": { + "description": "[aws:2019-09-22 23:09:11] Export", + "message": "Exportação" + }, + "_Extensionsettings": { + "description": "[aws:2019-09-23 19:22:28] Extension settings", + "message": "Configurações de extensão" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "[aws:2019-09-23 19:22:28] Extra permissions are required to access the underlying page.", + "message": "Permissões extras são necessárias para acessar a página subjacente." + }, + "_Extrapermissionsrequired": { + "description": "[aws:2019-09-23 19:22:29] Extra permissions required", + "message": "Permissões extras necessárias" + }, + "_Fileaccessneeded": { + "description": "[aws:2019-09-23 19:22:30] File access needed", + "message": "Acesso ao arquivo necessário" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "[aws:2019-09-22 23:09:12] File no longer exists—perhaps it has been cleared from your browser", + "message": "O arquivo não existe mais — talvez tenha sido limpo do seu navegador" + }, + "_Fill": { + "description": "[aws:2019-09-22 23:09:13] Fill", + "message": "Encher" + }, + "_Font": { + "description": "[aws:2019-09-22 23:09:13] Font", + "message": "Fonte" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:22:30] For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "Para mais perguntas, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">entre em contato conosco\u003C/a>." + }, + "_Getstarted": { + "description": "[aws:2019-09-22 23:09:15] Get started", + "message": "Comece a usar" + }, + "_Gotit": { + "description": "[aws:2019-09-22 23:09:15] Got it!", + "message": "Pegue-o!" + }, + "_Gotoyouraccount": { + "description": "[aws:2019-09-22 23:09:16] Go to your account", + "message": "Acesse sua conta" + }, + "_Help": { + "description": "[aws:2019-09-22 23:09:16] Help", + "message": "Ajudar" + }, + "_HelpShortcuts": { + "description": "[aws:2019-09-22 23:09:17] Help / Shortcuts", + "message": "Ajuda/Atalhos" + }, + "_History": { + "description": "[aws:2019-09-22 23:09:18] History", + "message": "História" + }, + "_Hooray": { + "description": "[aws:2019-09-22 23:09:18] Hooray", + "message": "Viva" + }, + "_Icon": { + "description": "[aws:2019-09-22 23:09:19] Icon", + "message": "Ícone" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-22 23:09:20] If this persists, please report it via the flag reporting button above.", + "message": "Se isso persistir, por favor, informe através do botão de sinalização acima." + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "[aws:2019-09-22 23:09:21] If you’d like to try this feature in the future, click on the “Edit” button up top.", + "message": "Se você quiser experimentar esse recurso no futuro, clique no botão “Editar” na parte superior." + }, + "_Imagedeleted": { + "description": "[aws:2019-09-22 23:09:22] Image deleted", + "message": "Imagem excluída" + }, + "_Imageformat": { + "description": "[aws:2019-09-22 23:09:23] Image format:", + "message": "Formato da imagem:" + }, + "_Insertshapes": { + "description": "[aws:2019-09-22 23:09:23] Insert shapes", + "message": "Inserir formas" + }, + "_Italic": { + "description": "[aws:2019-09-22 23:09:24] Italic", + "message": "Itálico" + }, + "_Layers": { + "description": "[aws:2019-09-22 23:09:24] Layers", + "message": "Camadas" + }, + "_Learnmore": { + "description": "[aws:2019-09-22 23:09:25] Learn more", + "message": "Saiba mais" + }, + "_Line": { + "description": "[aws:2019-09-22 23:09:26] Line", + "message": "Linha" + }, + "_Loadpermissionsdialog": { + "description": "[aws:2019-09-23 19:22:31] Load permissions dialog?", + "message": "Caixa de diálogo de permissões de carregamento?" + }, + "_LogintoExport": { + "description": "[aws:2019-09-22 23:09:27] Login to Export", + "message": "Login para Exportar" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "[aws:2019-09-22 23:09:28] Look for an element within the page with its own scroll bars and scroll that item during the capture.", + "message": "Procure um elemento dentro da página com suas próprias barras de rolagem e role esse item durante a captura." + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "[aws:2019-09-22 23:09:28] Might you consider taking a minute to rate it in the Webstore?", + "message": "Você poderia considerar tirar um minuto para avaliá-lo na Webstore?" + }, + "_More": { + "description": "[aws:2019-09-22 23:09:29] More", + "message": "Mais" + }, + "_Mouseorarrowkeys": { + "description": "[aws:2019-09-22 23:09:30] Mouse or arrow keys", + "message": "Teclas de rato ou seta" + }, + "_Mouseorlayerspane": { + "description": "[aws:2019-09-22 23:09:30] Mouse or layers pane", + "message": "Painel de mouse ou camadas" + }, + "_Movelayer": { + "description": "[aws:2019-09-22 23:09:31] Move layer", + "message": "Mover camada" + }, + "_None": { + "description": "[aws:2019-09-22 23:09:32] None", + "message": "Nenhum" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "[aws:2019-09-22 23:09:32] No screen captures found. Go make some!", + "message": "Nenhuma captura de tela encontrada. Vai fazer um pouco!" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "[aws:2019-09-23 19:22:32] Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "message": "Observação: esta página é muito grande para que o navegador Chrome capture como uma imagem. Ele será dividido em \u003Cspan id=\"screenshot-count\">várias\u003C/span> imagens." + }, + "_Nothanks": { + "description": "[aws:2019-09-22 23:09:33] No, thanks.", + "message": "Não, obrigado." + }, + "_Nothankscontinueediting": { + "description": "[aws:2019-09-22 23:09:34] No thanks continue editing", + "message": "Não obrigado continuar editando" + }, + "_Notreally": { + "description": "[aws:2019-09-22 23:09:34] Not really", + "message": "Na verdade, não." + }, + "_OK": { + "description": "[aws:2019-09-23 19:22:32] OK", + "message": "ESTÁ BEM" + }, + "_On": { + "description": "[aws:2019-09-22 23:09:36] On", + "message": "Sobre" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "[aws:2019-09-22 23:09:37] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios.", + "message": "No Mac Chrome há problemas com “salvar como” para download automático e ao baixar vários arquivos, portanto, ele é desativado nesses cenários." + }, + "_Options": { + "description": "[aws:2019-09-22 23:09:38] Options", + "message": "Opções" + }, + "_Orderlayer": { + "description": "[aws:2019-09-22 23:09:39] Order layer", + "message": "Camada de ordem" + }, + "_Outline": { + "description": "[aws:2019-09-22 23:09:39] Outline", + "message": "Contorno" + }, + "_Oval": { + "description": "[aws:2019-09-22 23:09:40] Oval", + "message": "Oval" + }, + "_PDFsize": { + "description": "[aws:2019-09-22 23:09:43] PDF size:", + "message": "Tamanho do PDF:" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "[aws:2019-09-22 23:09:45] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression.", + "message": "PNG é sem perdas e deve corresponder exatamente ao que é visto na tela, mas geralmente terá tamanhos de arquivo maiores do que JPG, que usa compactação." + }, + "_Pad": { + "description": "[aws:2019-09-22 23:09:41] Pad", + "message": "Bloco" + }, + "_Padding": { + "description": "[aws:2019-09-22 23:09:41] Padding", + "message": "Acolchoamento" + }, + "_PaddingBorder": { + "description": "[aws:2019-09-22 23:09:42] Padding / Border", + "message": "Preenchimento/Borda" + }, + "_Permissionneededtodownloadfiles": { + "description": "[aws:2019-09-22 23:09:43] Permission needed to download files", + "message": "Permissão necessária para baixar arquivos" + }, + "_Permissions": { + "description": "[aws:2019-09-22 23:09:44] Permissions", + "message": "Permissões" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "[aws:2019-09-23 19:22:33] Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "message": "Acesse suas configurações de extensão do Chrome e ative \u003Cstrong>“Permitir acesso a URLs de arquivos”\u003C/strong>, para que a extensão possa acessar esta página. \u003Cbr>\u003Cbr>" + }, + "_Position": { + "description": "[aws:2019-09-22 23:09:46] Position", + "message": "Posição" + }, + "_Radius": { + "description": "[aws:2019-09-22 23:09:46] Radius", + "message": "Raio" + }, + "_Rectangle": { + "description": "[aws:2019-09-22 23:09:47] Rectangle", + "message": "Retângulo" + }, + "_Redo": { + "description": "[aws:2019-09-22 23:09:47] Redo", + "message": "Refaça" + }, + "_Removefiles": { + "description": "[aws:2019-09-22 23:09:48] Remove files", + "message": "Remover arquivos" + }, + "_Reportissue": { + "description": "[aws:2019-09-22 23:09:49] Report issue.", + "message": "Reporte um problema." + }, + "_Resizelayer": { + "description": "[aws:2019-09-22 23:09:50] Resize layer", + "message": "Redimensionar a camada" + }, + "_Roundedcorners": { + "description": "[aws:2019-09-22 23:09:51] Rounded corners", + "message": "Cantos arredondados" + }, + "_Saveas": { + "description": "[aws:2019-09-22 23:09:51] Save as", + "message": "Salvar como" + }, + "_Saved": { + "description": "[aws:2019-09-22 23:09:52] Saved", + "message": "Salvo" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "[aws:2019-09-22 23:09:53] Save this permission (if accepted) for future captures. It can still be revoked later from the options page.", + "message": "Salve esta permissão (se aceita) para capturas futuras. Ele ainda pode ser revogado mais tarde na página de opções." + }, + "_Screencaptureinprogress": { + "description": "[aws:2019-09-23 19:22:34] Screen capture in progress…", + "message": "Captura de tela em andamento..." + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "[aws:2019-09-22 23:09:55] Select 1 or more screenshots to use this action.", + "message": "Selecione 1 ou mais capturas de tela para usar esta ação." + }, + "_Selected": { + "description": "[aws:2019-09-22 23:09:55] Selected", + "message": "Selecionado" + }, + "_Selectlayer": { + "description": "[aws:2019-09-22 23:09:56] Select layer", + "message": "Selecionar camada" + }, + "_Setthemedefaults": { + "description": "[aws:2019-09-22 23:09:56] Set theme defaults", + "message": "Definir padrões de tema" + }, + "_Shapes": { + "description": "[aws:2019-09-22 23:09:57] Shapes", + "message": "Formas" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "[aws:2019-09-22 23:09:58] Sign up for a free 7-day trial to unlock the editor and download your masterpiece.", + "message": "Inscreva-se para um teste gratuito de 7 dias para desbloquear o editor e baixar sua obra-prima." + }, + "_SignuptoExport": { + "description": "[aws:2019-09-22 23:09:59] Sign up to Export", + "message": "Cadastre-se para exportar" + }, + "_Size": { + "description": "[aws:2019-09-22 23:09:59] Size", + "message": "Tamanho" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:22:35] Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "Algo deu errado. Tente atualizar a página e executá-la novamente. \u003Cbr>\u003Cbr>Se isso persistir, \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">entre em contato conosco\u003C/a>." + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "[aws:2019-09-22 23:10:00] Something went wrong deleting your screenshot.", + "message": "Algo deu errado ao excluir sua captura de tela." + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "[aws:2019-09-22 23:10:01] Something went wrong opening this screenshot into a new.", + "message": "Algo deu errado ao abrir esta captura de tela em um novo." + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "[aws:2019-09-22 23:10:02] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot.", + "message": "Às vezes, elementos, como um botão “voltar ao topo” ou um rodapé pegajoso se repetirão na página. Isso tenta posicioná-los absolutamente para impedi-los de repetir em um screeshot." + }, + "_Sorry": { + "description": "[aws:2019-09-22 23:10:02] Sorry", + "message": "Desculpem" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "[aws:2019-09-22 23:10:03] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed).", + "message": "Especifique um diretório abaixo do diretório de downloads para salvar suas capturas de tela, como “capturas de tela”. O padrão é o diretório de downloads se estiver em branco. (Limite a letras, números, traços, sublinhados e barras — caracteres inválidos serão removidos automaticamente)." + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "[aws:2019-09-22 23:10:04] Specify the format size of PDFs for when exporting to PDF.", + "message": "Especifique o tamanho do formato dos PDFs para quando exportar para PDF." + }, + "_Startyourfreetrial": { + "description": "[aws:2019-09-22 23:10:05] Start your free trial", + "message": "Inicie seu teste gratuito" + }, + "_Stickers": { + "description": "[aws:2019-09-22 23:10:05] Stickers", + "message": "Adesivos" + }, + "_Stillloading": { + "description": "[aws:2019-09-22 23:10:06] Still loading", + "message": "Ainda carregando" + }, + "_TakemetotheWebstore": { + "description": "[aws:2019-09-22 23:10:07] Take me to the Webstore!", + "message": "Leve-me para a Webstore!" + }, + "_Text": { + "description": "[aws:2019-09-22 23:10:07] Text", + "message": "Texto" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "description": "[aws:2019-09-22 23:10:08] Thank you for supporting Full Page Screen Capture", + "message": "Obrigado por oferecer suporte à Captura de Tela de Página Inteira" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "[aws:2019-09-22 23:10:09] The best and safest way to capture a screenshot of an entire web page.", + "message": "A melhor e mais segura maneira de capturar uma captura de tela de uma página inteira." + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "[aws:2019-09-22 23:10:09] The download permission is required to enable the download as PDF feature.", + "message": "A permissão de download é necessária para habilitar o download como recurso PDF." + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "[aws:2019-09-22 23:10:10] The following files could not be downloaded:", + "message": "Os seguintes arquivos não puderam ser baixados:" + }, + "_ThemeDefaults": { + "description": "[aws:2019-09-22 23:10:11] Theme Defaults", + "message": "Padrões do Tema" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "[aws:2019-09-22 23:10:12] There was an error downloading files, please report it via the flag button above.", + "message": "Ocorreu um erro ao baixar arquivos, por favor, comunique através do botão de sinalização acima." + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "[aws:2019-09-22 23:10:12] These settings will apply to all future edits of screenshots. Changes are autosaved.", + "message": "Essas configurações serão aplicadas a todas as edições futuras de capturas de tela. As alterações são salvas automaticamente." + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "[aws:2019-09-22 23:10:13] The specified image could not be found.", + "message": "A imagem especificada não pôde ser encontrada." + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "[aws:2019-09-22 23:10:14] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!", + "message": "Esta extensão leva muito trabalho para manter. É realmente significativo ouvir que você acha útil!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "[aws:2019-09-22 23:10:14] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.", + "message": "Isso está demorando mais tempo para carregar do que o esperado. Aguente firme! Se nada for atualizado depois de algum tempo, informe isso através do botão de sinalização de relatório acima." + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "description": "[aws:2019-09-22 23:10:15] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work.", + "message": "Essa permissão permite maior controle sobre como os downloads funcionam dentro da extensão. Sua preferência foi salva, e esse botão de download agora será revertido para downloads padrão ao clicar do navegador. No entanto, você ainda será solicitado para usar qualquer um dos recursos avançados nas páginas Histórico ou Opções, uma vez que eles precisam dessas permissões para funcionar." + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "[aws:2019-09-22 23:10:16] This permission is required for the download buttons and the auto-download feature.", + "message": "Essa permissão é necessária para os botões de download e o recurso de download automático." + }, + "_Thispermissionisrequiredinordertoscrolltheinnercontentsofiframesorframesets": { + "description": "[aws:2019-09-22 23:10:18] This permission is required in order to scroll the inner contents of $iframes$ or $framesets$.", + "message": "Esta permissão é necessária para rolar o conteúdo interno de $iframes$ ou $framesets$.", + "placeholders": { + "framesets": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">framesets\u003C/a>", + "example": "framesets" + }, + "iframes": { + "content": "\u003Ca class=\"dim\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframes\u003C/a>", + "example": "iframes" + } + } + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "[aws:2019-09-22 23:10:18] This screenshot been successfully removed.", + "message": "Esta captura de tela foi removida com sucesso." + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "[aws:2019-09-23 19:22:35] This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>.", + "message": "Este site parece ter conteúdo incorporado dentro de um \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">conjunto de quadros\u003C/a>." + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "[aws:2019-09-23 19:22:36] This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>.", + "message": "Este site parece ter conteúdo incorporado dentro de um \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>." + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "[aws:2019-09-23 19:22:37] This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "message": "Esta versão de teste expirou. Entre em contato para obter uma atualização ou alternar para a extensão correta na \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>." + }, + "_ToggleURLbrowser": { + "description": "[aws:2019-09-22 23:10:20] Toggle URL / browser", + "message": "Alternar URL/navegador" + }, + "_Togglecrop": { + "description": "[aws:2019-09-22 23:10:19] Toggle crop", + "message": "Alternar recorte" + }, + "_Togglepaddingborder": { + "description": "[aws:2019-09-22 23:10:20] Toggle padding / border", + "message": "Alternar preenchimento/borda" + }, + "_Type": { + "description": "[aws:2019-09-22 23:10:21] Type", + "message": "Digita" + }, + "_URLBrowser": { + "description": "[aws:2019-09-22 23:10:24] URL / Browser", + "message": "URL/Navegador" + }, + "_URLonbottom": { + "description": "[aws:2019-09-22 23:10:25] URL on bottom", + "message": "URL na parte inferior" + }, + "_URLontop": { + "description": "[aws:2019-09-22 23:10:26] URL on top", + "message": "URL no topo" + }, + "_Unabletofindimage": { + "description": "[aws:2019-09-22 23:10:22] Unable to find image", + "message": "Não foi possível encontrar a imagem" + }, + "_Unabletoloadimage": { + "description": "[aws:2019-09-22 23:10:22] Unable to load image", + "message": "Não foi possível carregar a imagem" + }, + "_Undo": { + "description": "[aws:2019-09-22 23:10:23] Undo", + "message": "Desfazer" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "[aws:2019-09-23 19:22:38] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page.", + "message": "Aviso: a extensão não foi projetada para lidar com capturas extremamente grandes. Pode falhar ao concluir uma captura desta página." + }, + "_WatchDemo": { + "description": "[aws:2019-09-22 23:10:28] Watch Demo", + "message": "Assista Demonstração" + }, + "_WelcometotheFullPageEditor": { + "description": "[aws:2019-09-22 23:10:28] Welcome to the Full Page Editor!", + "message": "Bem-vindo ao Editor de Página Completa!" + }, + "_WelcometotheFullPageScreenCaptureextension": { + "description": "[aws:2019-09-23 19:22:39] Welcome to the Full Page Screen Capture extension.", + "message": "Bem-vindo à extensão Captura de tela de página inteira." + }, + "_WelcometotheofficialFullPageEditor": { + "description": "[aws:2019-09-22 23:10:29] Welcome to the official Full Page Editor!", + "message": "Bem-vindo ao editor oficial de página inteira!" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "[aws:2019-09-22 23:10:30] We’re excited to have you aboard.", + "message": "Estamos ansiosos por tê-lo a bordo." + }, + "_Width": { + "description": "[aws:2019-09-22 23:10:30] Width", + "message": "Largura" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "[aws:2019-09-22 23:10:31] Would you like to report any issues you’re experiencing, so we can improve this extension together?", + "message": "Você gostaria de relatar quaisquer problemas que você está enfrentando, para que possamos melhorar essa extensão juntos?" + }, + "_Yes": { + "description": "[aws:2019-09-22 23:10:32] Yes!", + "message": "- Sim, sim." + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "[aws:2019-09-23 19:22:40] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "message": "Você pode executar isso em qualquer página da Web, exceto aquelas em que o navegador restringe extensões de executar scripts. Isso inclui a loja da Web do Chrome, páginas de configurações do navegador e outras extensões." + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "[aws:2019-09-23 19:22:40] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen.", + "message": "Talvez seja necessário executar novamente a extensão depois de interagir com a caixa de diálogo. Se você cancelar, ele irá capturar apenas a tela visível." + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "[aws:2019-09-22 23:10:32] You need to grant the download privilege in order to download files", + "message": "Você precisa conceder o privilégio de download para baixar arquivos" + }, + "_Zoom": { + "description": "[aws:2019-09-22 23:10:33] Zoom", + "message": "Zoom" + }, + "_Zoomin": { + "description": "[aws:2019-09-22 23:10:34] Zoom in", + "message": "Ampliar" + }, + "_Zoomout": { + "description": "[aws:2019-09-22 23:10:34] Zoom out", + "message": "Diminuir o zoom" + }, + "_billedannually": { + "description": "[aws:2019-09-22 23:08:45] billed annually", + "message": "faturado anualmente" + }, + "_cancelanytime": { + "description": "[aws:2019-09-22 23:08:47] cancel anytime", + "message": "cancelar a qualquer momento" + }, + "_close": { + "description": "[aws:2019-09-23 19:22:27] close", + "message": "perto" + }, + "_details": { + "description": "[aws:2019-09-23 19:22:27] details…", + "message": "detalhes..." + }, + "_fullimage": { + "description": "[aws:2019-09-22 23:09:14] full image", + "message": "imagem completa" + }, + "_iFramepermission": { + "description": "[aws:2019-09-22 23:09:20] iFrame permission", + "message": "permissão iFrame" + }, + "_loading": { + "description": "[aws:2019-09-22 23:09:26] loading…", + "message": "carregando..." + }, + "_numfilescouldnotberemoved": { + "description": "[aws:2019-09-22 23:09:35] $num$ files could not be removed.", + "message": "Os arquivos $num$ não puderam ser removidos.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "[aws:2019-09-22 23:09:36] $num$ files were successfully removed.", + "message": "Os arquivos $num$ foram removidos com sucesso.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "[aws:2019-09-22 23:09:38] or", + "message": "ou" + }, + "_restorefactorydefaults": { + "description": "[aws:2019-09-22 23:09:50] restore factory defaults", + "message": "restaurar padrões de fábrica" + }, + "_search": { + "description": "[aws:2019-09-22 23:09:54] search…", + "message": "pesquisar..." + }, + "_upontrialcompletion": { + "description": "[aws:2019-09-22 23:10:24] upon trial completion", + "message": "após a conclusão do teste" + }, + "_version": { + "description": "[aws:2019-09-22 23:10:26] version", + "message": "versão" + }, + "_watchademovideo": { + "description": "[aws:2019-09-22 23:10:27] watch a demo video", + "message": "assistir a um vídeo de demonstração" + }, + "actionClose": { + "description": "[aws:2019-09-22 23:10:35] Close", + "message": "Perto" + }, + "actionDeleteImage": { + "description": "[aws:2019-09-22 23:10:35] Delete image", + "message": "Excluir imagem" + }, + "actionDownloadImage": { + "description": "[aws:2019-09-22 23:10:36] Download image", + "message": "Baixar imagem" + }, + "actionDownloadPDF": { + "description": "[aws:2019-09-22 23:10:37] Download PDF", + "message": "Descarregar PDF" + }, + "actionEdit": { + "description": "[aws:2019-09-22 23:10:37] Edit", + "message": "Editar" + }, + "actionOK": { + "description": "[aws:2019-09-22 23:10:38] OK", + "message": "ESTÁ BEM" + }, + "actionReport": { + "description": "[aws:2019-09-22 23:10:39] Report issue", + "message": "Reportar problema" + }, + "appDesc": { + "description": "[aws:2019-09-22 23:08:32] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!", + "message": "Capture uma captura de tela de sua página atual na íntegra e de forma confiável, sem solicitar permissões extras!" + }, + "goPremiumHeader": { + "description": "Take your screenshots to the next level with Full Page Screen Capture Premium", + "message": "Leve suas capturas de tela ao próximo nível com o Full Page Screen Capture Premium." + }, + "goPremiumLink": { + "description": "Get started (free 1-week trial)", + "message": "Comece agora (teste grátis de 1 semana)." + }, + "goPremiumSignInLink": { + "description": "Sign in", + "message": "Entre aqui" + }, + "goPremiumSignInMessage": { + "description": "Already have an account?", + "message": "Já é cadastrado?" + }, + "goPremiumSubHeader": { + "description": "Including advanced editing and annotation features of screenshots", + "message": "Inclui ferramentas de edição avançada e marcações do usuário." + }, + "navHistory": { + "description": "[aws:2019-09-22 23:10:39] History", + "message": "História" + }, + "navOptions": { + "description": "[aws:2019-09-22 23:10:40] Options", + "message": "Opções" + }, + "tryEditingNo": { + "description": "No thanks", + "message": "Não, obrigado!" + }, + "tryEditingRequest": { + "description": "Try editing and annotating your screenshot", + "message": "Tente editar e criar marcaçōes na captura de tela" + }, + "tryEditingYes": { + "description": "Ok!", + "message": "Ok!" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/zh-TW/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/zh-TW/messages.json new file mode 100644 index 0000000..4a3d142 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/zh-TW/messages.json @@ -0,0 +1,890 @@ +{ + "appDesc": { + "message": "完整且可靠地擷取目前頁面的螢幕擷取畫面,而不需要任何額外的權限!", + "description": "[aws:2019-09-23 03:03:54] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!" + }, + "_1filecouldnotberemoved": { + "message": "無法移除 1 個檔案。", + "description": "[aws:2019-09-23 03:03:54] 1 file could not be removed." + }, + "_1filewassuccessfullyremoved": { + "message": "已成功移除 1 個檔案。", + "description": "[aws:2019-09-23 03:03:55] 1 file was successfully removed." + }, + "_Adjustrepeatingelements": { + "message": "調整重複元素", + "description": "[aws:2019-09-23 03:03:56] Adjust repeating elements" + }, + "_Advancedscrolling": { + "message": "進階捲動", + "description": "[aws:2019-09-23 03:03:56] Advanced scrolling" + }, + "_Align": { + "message": "對齊", + "description": "[aws:2019-09-23 03:03:57] Align" + }, + "_Anyissues": { + "message": "有什麼問題嗎?", + "description": "[aws:2019-09-23 03:03:58] Any issues?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "message": "任何先前授與的選擇性權限都會在此處顯示核取狀態。 您可以隨時撤銷它們。 如果他們在未來再次需要,他們將被重新請求。", + "description": "[aws:2019-09-23 03:03:59] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested." + }, + "_Areyouenjoyingthisextension": { + "message": "你喜歡這個擴展嗎?", + "description": "[aws:2019-09-23 03:03:59] Are you enjoying this extension?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "message": "您確定要刪除 1 個封裝嗎?\n (此動作無法復原)。", + "description": "[aws:2019-09-23 03:04:00] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)" + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "message": "您確定要刪除此螢幕擷取畫面嗎?\n(此動作無法復原)。", + "description": "[aws:2019-09-23 03:04:02] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "message": "您確定要重設為擴充套件的原始主題預設值嗎?", + "description": "[aws:2019-09-23 03:04:02] Are you sure you want to reset to the extension’s original theme defaults?" + }, + "_Arrow": { + "message": "箭頭", + "description": "[aws:2019-09-23 03:04:03] Arrow" + }, + "_Autodownloadfiles": { + "message": "自動下載檔案", + "description": "[aws:2019-09-23 03:04:04] Auto-download files" + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "message": "自動下載您的螢幕擷取畫面,而不是在新視窗中開啟。這意味著擴充功能擷取標籤將不會開啟。 您可以通過右鍵單擊擴展並選擇 “選項” 返回此處。", + "description": "[aws:2019-09-23 03:04:05] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\"." + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "message": "下載螢幕擷取畫面時自動顯示 “另存新檔” 對話方塊。 如果 Chrome 設定中啟用了 “下載前詢問每個檔案儲存位置” 選項,則優先考慮。", + "description": "[aws:2019-09-23 03:04:06] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority." + }, + "_Backtocapturechangesareautosaved": { + "message": "返回擷取 (變更會自動儲存)", + "description": "[aws:2019-09-23 03:04:06] Back to capture (changes are auto-saved)" + }, + "_billedannually": { + "message": "每年計費", + "description": "[aws:2019-09-23 03:04:07] billed annually" + }, + "_Blur": { + "message": "模糊", + "description": "[aws:2019-09-23 03:04:08] Blur" + }, + "_Bold": { + "message": "大膽", + "description": "[aws:2019-09-23 03:04:08] Bold" + }, + "_cancelanytime": { + "message": "隨時取消", + "description": "[aws:2019-09-23 03:04:09] cancel anytime" + }, + "_Cannotdownloadfiles": { + "message": "無法下載檔案", + "description": "[aws:2019-09-23 03:04:10] Cannot download files" + }, + "_Capture": { + "message": "抓住", + "description": "[aws:2019-09-23 03:04:10] Capture" + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "message": "Chrome 防止擴充功能將檔案儲存在預設下載目錄之外。 您輸入的路徑已相應地更新。 對不起!", + "description": "[aws:2019-09-23 03:04:11] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!" + }, + "_Clickdraginlayerspane": { + "message": "在圖層窗格中按一下 + 拖曳", + "description": "[aws:2019-09-23 03:04:12] Click + drag in layers pane" + }, + "_Color": { + "message": "顏色", + "description": "[aws:2019-09-23 03:04:13] Color" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "message": "設定 “全頁螢幕擷取” 延伸模組的設定。 請密切留意進一步的最新消息。 測試版設定將來可能會變更。", + "description": "[aws:2019-09-23 03:04:14] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future." + }, + "_Continueediting": { + "message": "繼續編輯", + "description": "[aws:2019-09-23 03:04:14] Continue editing" + }, + "_Cropeditannotateandexport": { + "message": "裁切、編輯、註解和匯出", + "description": "[aws:2019-09-23 03:04:15] Crop, edit, annotate, and export" + }, + "_CropImage": { + "message": "裁切影像", + "description": "[aws:2019-09-23 03:04:16] Crop Image" + }, + "_Delete": { + "message": "刪除", + "description": "[aws:2019-09-23 03:04:16] Delete" + }, + "_Deletecurrentselection": { + "message": "刪除目前的選取範圍", + "description": "[aws:2019-09-23 03:04:17] Delete current selection" + }, + "_Directory": { + "message": "目錄:", + "description": "[aws:2019-09-23 03:04:18] Directory:" + }, + "_Document": { + "message": "文件", + "description": "[aws:2019-09-23 03:04:18] Document" + }, + "_Documentedits": { + "message": "文件編輯", + "description": "[aws:2019-09-23 03:04:19] Document edits" + }, + "_DoneCropping": { + "message": "完成裁切", + "description": "[aws:2019-09-23 03:04:20] Done Cropping" + }, + "_Download": { + "message": "下載", + "description": "[aws:2019-09-23 03:04:20] Download" + }, + "_DownloadExport": { + "message": "下載與匯出", + "description": "[aws:2019-09-23 03:04:21] Download & Export" + }, + "_Downloadpermissionisrequired": { + "message": "需要下載權限", + "description": "[aws:2019-09-23 03:04:22] Download permission is required" + }, + "_Downloadpermissionnotgranted": { + "message": "未授予下載權限", + "description": "[aws:2019-09-23 03:04:22] Download permission not granted" + }, + "_Downloadspermission": { + "message": "下載權限", + "description": "[aws:2019-09-23 03:04:23] Downloads permission" + }, + "_Draglayercontrolpoints": { + "message": "拖曳圖層控制點", + "description": "[aws:2019-09-23 03:04:24] Drag layer control points" + }, + "_Duplicateselection": { + "message": "複製選取範圍", + "description": "[aws:2019-09-23 03:04:24] Duplicate selection" + }, + "_Edited": { + "message": "編輯", + "description": "[aws:2019-09-23 03:04:25] Edited" + }, + "_Elements": { + "message": "元素", + "description": "[aws:2019-09-23 03:04:26] Elements" + }, + "_Emoji": { + "message": "表情符號", + "description": "[aws:2019-09-23 03:04:26] Emoji" + }, + "_Enabled": { + "message": "啟用", + "description": "[aws:2019-09-23 03:04:27] Enabled" + }, + "_Entertexthere": { + "message": "在此輸入文字", + "description": "[aws:2019-09-23 03:04:28] Enter text here" + }, + "_Error": { + "message": "錯誤", + "description": "[aws:2019-09-23 03:04:28] Error" + }, + "_Errordownloadingfile": { + "message": "下載檔案時發生錯誤", + "description": "[aws:2019-09-23 03:04:29] Error downloading file" + }, + "_Errordownloadingfiles": { + "message": "下載檔案時發生錯誤", + "description": "[aws:2019-09-23 03:04:29] Error downloading files" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "message": "處理檔案時發生錯誤。 請透過上面的旗幟報告按鈕報告。", + "description": "[aws:2019-09-23 03:04:30] Error handling files. Please report this via the flag reporting button above." + }, + "_Errorloadinghistory": { + "message": "載入歷程記錄時發生錯誤", + "description": "[aws:2019-09-23 03:04:31] Error loading history" + }, + "_Errorloadingimage": { + "message": "載入影像時發生錯誤", + "description": "[aws:2019-09-23 03:04:32] Error loading image" + }, + "_Erroropeningscreenshot": { + "message": "開啟螢幕擷取畫面時發生錯誤", + "description": "[aws:2019-09-23 03:04:32] Error opening screenshot" + }, + "_Errorremovingscreenshot": { + "message": "移除螢幕擷取畫面時發生錯誤", + "description": "[aws:2019-09-23 03:04:33] Error removing screenshot" + }, + "_Exitzoom": { + "message": "結束縮放", + "description": "[aws:2019-09-23 03:04:34] Exit zoom" + }, + "_Export": { + "message": "出口", + "description": "[aws:2019-09-23 03:04:34] Export" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "message": "檔案已不存在,可能已從瀏覽器中清除", + "description": "[aws:2019-09-23 03:04:35] File no longer exists—perhaps it has been cleared from your browser" + }, + "_Fill": { + "message": "填滿", + "description": "[aws:2019-09-23 03:04:36] Fill" + }, + "_Font": { + "message": "字型", + "description": "[aws:2019-09-23 03:04:36] Font" + }, + "_fullimage": { + "message": "完整影像", + "description": "[aws:2019-09-23 03:04:37] full image" + }, + "_Getstarted": { + "message": "開始使用", + "description": "[aws:2019-09-23 03:04:38] Get started" + }, + "_Gotit": { + "message": "明白了!", + "description": "[aws:2019-09-23 03:04:38] Got it!" + }, + "_Gotoyouraccount": { + "message": "前往您的帳戶", + "description": "[aws:2019-09-23 03:04:39] Go to your account" + }, + "_Help": { + "message": "救命啊", + "description": "[aws:2019-09-23 03:04:40] Help" + }, + "_HelpShortcuts": { + "message": "說明/捷徑", + "description": "[aws:2019-09-23 03:04:40] Help / Shortcuts" + }, + "_History": { + "message": "歷史", + "description": "[aws:2019-09-23 03:04:41] History" + }, + "_Hooray": { + "message": "好萊", + "description": "[aws:2019-09-23 03:04:42] Hooray" + }, + "_Icon": { + "message": "圖示", + "description": "[aws:2019-09-23 03:04:42] Icon" + }, + "_iFramepermission": { + "message": "iFrame 權限", + "description": "[aws:2019-09-23 03:04:43] iFrame permission" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "message": "如果仍然存在,請透過上面的旗幟報告按鈕來報告。", + "description": "[aws:2019-09-23 03:04:44] If this persists, please report it via the flag reporting button above." + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "message": "如果您想在未來嘗試此功能,請點擊頂部的 “編輯” 按鈕。", + "description": "[aws:2019-09-23 03:04:45] If you’d like to try this feature in the future, click on the “Edit” button up top." + }, + "_Imagedeleted": { + "message": "影像已刪除", + "description": "[aws:2019-09-23 03:04:45] Image deleted" + }, + "_Imageformat": { + "message": "影像格式:", + "description": "[aws:2019-09-23 03:04:46] Image format:" + }, + "_Insertshapes": { + "message": "插入形狀", + "description": "[aws:2019-09-23 03:04:47] Insert shapes" + }, + "_Italic": { + "message": "斜體", + "description": "[aws:2019-09-23 03:04:47] Italic" + }, + "_Layers": { + "message": "圖層", + "description": "[aws:2019-09-23 03:04:48] Layers" + }, + "_Learnmore": { + "message": "進一步瞭解", + "description": "[aws:2019-09-23 03:04:49] Learn more" + }, + "_Line": { + "message": "線", + "description": "[aws:2019-09-23 03:04:49] Line" + }, + "_loading": { + "message": "載入...", + "description": "[aws:2019-09-23 03:04:50] loading…" + }, + "_LogintoExport": { + "message": "登入以匯出", + "description": "[aws:2019-09-23 03:04:51] Login to Export" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "message": "尋找具有自己捲軸的頁面內的元素,並在擷取期間捲動該項目。", + "description": "[aws:2019-09-23 03:04:51] Look for an element within the page with its own scroll bars and scroll that item during the capture." + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "message": "你能考慮花一分鐘在網上商店評分嗎?", + "description": "[aws:2019-09-23 03:04:52] Might you consider taking a minute to rate it in the Webstore?" + }, + "_More": { + "message": "更多", + "description": "[aws:2019-09-23 03:04:53] More" + }, + "_Mouseorarrowkeys": { + "message": "滑鼠或方向鍵", + "description": "[aws:2019-09-23 03:04:54] Mouse or arrow keys" + }, + "_Mouseorlayerspane": { + "message": "滑鼠或圖層窗格", + "description": "[aws:2019-09-23 03:04:55] Mouse or layers pane" + }, + "_Movelayer": { + "message": "移動圖層", + "description": "[aws:2019-09-23 03:04:55] Move layer" + }, + "_None": { + "message": "沒有", + "description": "[aws:2019-09-23 03:04:56] None" + }, + "_NoscreencapturesfoundGomakesome": { + "message": "找不到螢幕擷取畫面。 去做一些!", + "description": "[aws:2019-09-23 03:04:57] No screen captures found. Go make some!" + }, + "_Nothanks": { + "message": "不用了謝謝", + "description": "[aws:2019-09-23 03:04:57] No, thanks." + }, + "_Nothankscontinueediting": { + "message": "不,謝謝繼續編輯", + "description": "[aws:2019-09-23 03:04:58] No thanks continue editing" + }, + "_Notreally": { + "message": "不太清楚", + "description": "[aws:2019-09-23 03:04:59] Not really" + }, + "_numfilescouldnotberemoved": { + "message": "無法移除 $num$ 檔案。", + "description": "[aws:2019-09-23 03:05:00] $num$ files could not be removed.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "message": "$num$ 檔案已成功移除。", + "description": "[aws:2019-09-23 03:05:00] $num$ files were successfully removed.", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_On": { + "message": "上", + "description": "[aws:2019-09-23 03:05:01] On" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "message": "在 Mac Chrome 上,自動下載和下載多個文件時出現 “另存為” 問題,因此在這些情況下它被禁用。", + "description": "[aws:2019-09-23 03:05:02] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios." + }, + "_Options": { + "message": "選項", + "description": "[aws:2019-09-23 03:05:03] Options" + }, + "_or": { + "message": "或者", + "description": "[aws:2019-09-23 03:05:03] or" + }, + "_Orderlayer": { + "message": "訂購層", + "description": "[aws:2019-09-23 03:05:04] Order layer" + }, + "_Outline": { + "message": "輪廓", + "description": "[aws:2019-09-23 03:05:05] Outline" + }, + "_Oval": { + "message": "橢圓形", + "description": "[aws:2019-09-23 03:05:05] Oval" + }, + "_Pad": { + "message": "墊子", + "description": "[aws:2019-09-23 03:05:06] Pad" + }, + "_Padding": { + "message": "填充", + "description": "[aws:2019-09-23 03:05:07] Padding" + }, + "_PaddingBorder": { + "message": "填充/邊界", + "description": "[aws:2019-09-23 03:05:07] Padding / Border" + }, + "_PDFsize": { + "message": "PDF 大小:", + "description": "[aws:2019-09-23 03:05:08] PDF size:" + }, + "_Permissionneededtodownloadfiles": { + "message": "下載檔案所需的權限", + "description": "[aws:2019-09-23 03:05:09] Permission needed to download files" + }, + "_Permissions": { + "message": "權限", + "description": "[aws:2019-09-23 03:05:09] Permissions" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "message": "PNG 是無損的,應與螢幕上看到的完全相符,但檔案大小通常會比使用壓縮的 JPG 大。", + "description": "[aws:2019-09-23 03:05:10] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression." + }, + "_Position": { + "message": "位置", + "description": "[aws:2019-09-23 03:05:11] Position" + }, + "_Radius": { + "message": "半徑", + "description": "[aws:2019-09-23 03:05:12] Radius" + }, + "_Rectangle": { + "message": "矩形", + "description": "[aws:2019-09-23 03:05:12] Rectangle" + }, + "_Redo": { + "message": "重做", + "description": "[aws:2019-09-23 03:05:13] Redo" + }, + "_Removefiles": { + "message": "移除檔案", + "description": "[aws:2019-09-23 03:05:14] Remove files" + }, + "_Reportissue": { + "message": "報告問題。", + "description": "[aws:2019-09-23 03:05:14] Report issue." + }, + "_Resizelayer": { + "message": "重新調整圖層大小", + "description": "[aws:2019-09-23 03:05:15] Resize layer" + }, + "_restorefactorydefaults": { + "message": "還原出廠預設值", + "description": "[aws:2019-09-23 03:05:16] restore factory defaults" + }, + "_Roundedcorners": { + "message": "圓角", + "description": "[aws:2019-09-23 03:05:16] Rounded corners" + }, + "_Saveas": { + "message": "另存為", + "description": "[aws:2019-09-23 03:05:17] Save as" + }, + "_Saved": { + "message": "救了", + "description": "[aws:2019-09-23 03:05:18] Saved" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "message": "儲存此權限 (如果接受) 以供日後擷取。 它仍然可以在稍後從選項頁面撤銷。", + "description": "[aws:2019-09-23 03:05:19] Save this permission (if accepted) for future captures. It can still be revoked later from the options page." + }, + "_search": { + "message": "搜尋...", + "description": "[aws:2019-09-23 03:05:19] search…" + }, + "_Select1ormorescreenshotstousethisaction": { + "message": "選取一個或多個螢幕擷取畫面以使用此動作。", + "description": "[aws:2019-09-23 03:05:20] Select 1 or more screenshots to use this action." + }, + "_Selected": { + "message": "已選取", + "description": "[aws:2019-09-23 03:05:21] Selected" + }, + "_Selectlayer": { + "message": "選取圖層", + "description": "[aws:2019-09-23 03:05:22] Select layer" + }, + "_Setthemedefaults": { + "message": "設定主題預設值", + "description": "[aws:2019-09-23 03:05:23] Set theme defaults" + }, + "_Shapes": { + "message": "形狀", + "description": "[aws:2019-09-23 03:05:23] Shapes" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "message": "註冊一個免費的 7 天試用解鎖編輯器並下載你的傑作。", + "description": "[aws:2019-09-23 03:05:24] Sign up for a free 7-day trial to unlock the editor and download your masterpiece." + }, + "_SignuptoExport": { + "message": "註冊以匯出", + "description": "[aws:2019-09-23 03:05:25] Sign up to Export" + }, + "_Size": { + "message": "尺寸", + "description": "[aws:2019-09-23 03:05:26] Size" + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "message": "刪除螢幕擷取畫面時發生錯誤。", + "description": "[aws:2019-09-23 03:05:26] Something went wrong deleting your screenshot." + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "message": "將這個截圖打開成一個新的截圖出現了問題。", + "description": "[aws:2019-09-23 03:05:27] Something went wrong opening this screenshot into a new." + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "message": "有時元素,例如 “返回頂部” 按鈕或粘性頁腳會在頁面上重複。 這試圖絕對定位他們,以阻止他們在尖叫的中重複。", + "description": "[aws:2019-09-23 03:05:28] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot." + }, + "_Sorry": { + "message": "對不起,對不起", + "description": "[aws:2019-09-23 03:05:29] Sorry" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "message": "在下載目錄下指定一個目錄以儲存螢幕擷取畫面,例如 “封裝”。 如果空白,則預設為下載目錄。 (請限制為字母、數字、破折號、底線和斜線,無效的字元會自動移除)。", + "description": "[aws:2019-09-23 03:05:30] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed)." + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "message": "指定轉存為 PDF 時 PDF 的格式大小。", + "description": "[aws:2019-09-23 03:05:30] Specify the format size of PDFs for when exporting to PDF." + }, + "_Startyourfreetrial": { + "message": "開始免費試用", + "description": "[aws:2019-09-23 03:05:31] Start your free trial" + }, + "_Stickers": { + "message": "貼紙", + "description": "[aws:2019-09-23 03:05:32] Stickers" + }, + "_Stillloading": { + "message": "仍在載入", + "description": "[aws:2019-09-23 03:05:32] Still loading" + }, + "_TakemetotheWebstore": { + "message": "帶我去網上商店!", + "description": "[aws:2019-09-23 03:05:33] Take me to the Webstore!" + }, + "_Text": { + "message": "文本", + "description": "[aws:2019-09-23 03:05:34] Text" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "message": "感謝您支持全頁螢幕擷取", + "description": "[aws:2019-09-23 03:05:34] Thank you for supporting Full Page Screen Capture" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "message": "擷取整個網頁螢幕擷取畫面的最佳和最安全的方式。", + "description": "[aws:2019-09-23 03:05:35] The best and safest way to capture a screenshot of an entire web page." + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "message": "需要下載權限才能啟用下載為 PDF 功能。", + "description": "[aws:2019-09-23 03:05:36] The download permission is required to enable the download as PDF feature." + }, + "_Thefollowingfilescouldnotbedownloaded": { + "message": "下列檔案無法下載:", + "description": "[aws:2019-09-23 03:05:36] The following files could not be downloaded:" + }, + "_ThemeDefaults": { + "message": "主題圖預設值", + "description": "[aws:2019-09-23 03:05:37] Theme Defaults" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "message": "下載檔案時發生錯誤,請透過上方的旗標按鈕回報。", + "description": "[aws:2019-09-23 03:05:38] There was an error downloading files, please report it via the flag button above." + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "message": "這些設定將套用至未來對螢幕擷取畫面的所有編輯。 變更會自動儲存。", + "description": "[aws:2019-09-23 03:05:39] These settings will apply to all future edits of screenshots. Changes are autosaved." + }, + "_Thespecifiedimagecouldnotbefound": { + "message": "找不到指定的影像。", + "description": "[aws:2019-09-23 03:05:39] The specified image could not be found." + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "message": "這個擴展需要大量的工作來維護。 聽到你覺得它有用真的很有意義!", + "description": "[aws:2019-09-23 03:05:40] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "message": "這需要比預期更長的時間來載入。 掛緊! 如果一段時間後沒有更新,請透過上方的報告旗標按鈕回報。", + "description": "[aws:2019-09-23 03:05:41] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above." + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "message": "此權限允許更好地控制下載在擴充功能內的運作方式。 您的偏好設定已儲存,而且此下載按鈕現在會回復到預設瀏覽器上按一下下載。 不過,系統仍會提示您使用 “歷史記錄” 或 “選項” 頁面上的任何進階功能,因為他們需要此權限才能運作。", + "description": "[aws:2019-09-23 03:05:42] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work." + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "message": "下載按鈕和自動下載功能需要此權限。", + "description": "[aws:2019-09-23 03:05:43] This permission is required for the download buttons and the auto-download feature." + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "message": "此螢幕擷取畫面已成功移除。", + "description": "[aws:2019-09-23 03:05:44] This screenshot been successfully removed." + }, + "_Togglecrop": { + "message": "切換裁切", + "description": "[aws:2019-09-23 03:05:45] Toggle crop" + }, + "_Togglepaddingborder": { + "message": "切換填充/邊框", + "description": "[aws:2019-09-23 03:05:46] Toggle padding / border" + }, + "_ToggleURLbrowser": { + "message": "切換網址/瀏覽器", + "description": "[aws:2019-09-23 03:05:46] Toggle URL / browser" + }, + "_Type": { + "message": "類型", + "description": "[aws:2019-09-23 03:05:47] Type" + }, + "_Unabletofindimage": { + "message": "找不到影像", + "description": "[aws:2019-09-23 03:05:48] Unable to find image" + }, + "_Unabletoloadimage": { + "message": "無法載入影像", + "description": "[aws:2019-09-23 03:05:49] Unable to load image" + }, + "_Undo": { + "message": "復原", + "description": "[aws:2019-09-23 03:05:49] Undo" + }, + "_upontrialcompletion": { + "message": "試用完成後", + "description": "[aws:2019-09-23 03:05:50] upon trial completion" + }, + "_URLBrowser": { + "message": "網址/瀏覽器", + "description": "[aws:2019-09-23 03:05:51] URL / Browser" + }, + "_URLonbottom": { + "message": "底部的網址", + "description": "[aws:2019-09-23 03:05:51] URL on bottom" + }, + "_URLontop": { + "message": "頂端的網址", + "description": "[aws:2019-09-23 03:05:52] URL on top" + }, + "_version": { + "message": "版本", + "description": "[aws:2019-09-23 03:05:53] version" + }, + "_watchademovideo": { + "message": "觀看示範影片", + "description": "[aws:2019-09-23 03:05:54] watch a demo video" + }, + "_WatchDemo": { + "message": "觀看展示", + "description": "[aws:2019-09-23 03:05:55] Watch Demo" + }, + "_WelcometotheFullPageEditor": { + "message": "歡迎使用全頁編輯器!", + "description": "[aws:2019-09-23 03:05:55] Welcome to the Full Page Editor!" + }, + "_WelcometotheofficialFullPageEditor": { + "message": "歡迎來到官方全頁編輯器!", + "description": "[aws:2019-09-23 03:05:56] Welcome to the official Full Page Editor!" + }, + "_Wereexcitedtohaveyouaboard": { + "message": "我們很高興你能登機", + "description": "[aws:2019-09-23 03:05:57] We’re excited to have you aboard." + }, + "_Width": { + "message": "寬度", + "description": "[aws:2019-09-23 03:05:57] Width" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "message": "您想要回報您遇到的任何問題,以便我們一起改善這個擴充套件嗎?", + "description": "[aws:2019-09-23 03:05:58] Would you like to report any issues you’re experiencing, so we can improve this extension together?" + }, + "_Yes": { + "message": "是啊!", + "description": "[aws:2019-09-23 03:05:59] Yes!" + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "message": "您需要授與下載權限才能下載檔案", + "description": "[aws:2019-09-23 03:06:00] You need to grant the download privilege in order to download files" + }, + "_Zoom": { + "message": "縮放", + "description": "[aws:2019-09-23 03:06:00] Zoom" + }, + "_Zoomin": { + "message": "放大", + "description": "[aws:2019-09-23 03:06:01] Zoom in" + }, + "_Zoomout": { + "message": "縮小", + "description": "[aws:2019-09-23 03:06:02] Zoom out" + }, + "actionClose": { + "message": "關", + "description": "[aws:2019-09-23 03:06:02] Close" + }, + "actionDeleteImage": { + "message": "刪除影像", + "description": "[aws:2019-09-23 03:06:03] Delete image" + }, + "actionDownloadImage": { + "message": "下載影像", + "description": "[aws:2019-09-23 03:06:04] Download image" + }, + "actionDownloadPDF": { + "message": "下載 PDF", + "description": "[aws:2019-09-23 03:06:05] Download PDF" + }, + "actionEdit": { + "message": "編輯", + "description": "[aws:2019-09-23 03:06:05] Edit" + }, + "actionOK": { + "message": "好", + "description": "[aws:2019-09-23 03:06:06] OK" + }, + "actionReport": { + "message": "報告問題", + "description": "[aws:2019-09-23 03:06:07] Report issue" + }, + "goPremiumHeader": { + "message": "使用全頁高級功能將您的螢幕擷取畫面提升到一個新的境界", + "description": "[aws:2019-09-23 03:06:08] Take your screenshots to the next level with Full Page Premium" + }, + "goPremiumLink": { + "message": "進一步瞭解", + "description": "[aws:2019-09-23 03:06:08] Learn more" + }, + "goPremiumSignInLink": { + "message": "登入", + "description": "[aws:2019-09-23 03:06:09] Sign in" + }, + "goPremiumSignInMessage": { + "message": "已經有帳戶?", + "description": "[aws:2019-09-23 03:06:10] Already have an account?" + }, + "goPremiumSubHeader": { + "message": "直接在擴充套件中使用先進的編輯和註釋功能,加快您的工作流程!", + "description": "[aws:2019-09-23 03:06:11] Speed up your workflow with advanced editing and annotation features directly in the extension!" + }, + "navHistory": { + "message": "歷史", + "description": "[aws:2019-09-23 03:06:11] History" + }, + "navOptions": { + "message": "選項", + "description": "[aws:2019-09-23 03:06:12] Options" + }, + "tryEditingNo": { + "message": "不用了,謝謝", + "description": "[aws:2019-09-23 03:06:13] No thanks" + }, + "tryEditingRequest": { + "message": "嘗試編輯和註釋您的螢幕擷取畫面", + "description": "[aws:2019-09-23 03:06:13] Try editing and annotating your screenshot" + }, + "tryEditingYes": { + "message": "好吧!", + "description": "[aws:2019-09-23 03:06:14] Ok!" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "message": "已啟用自動下載。 您可以在 選項中更改此選項。", + "description": "[aws:2019-09-23 19:22:59] Auto-download is enabled. You can change this in options." + }, + "_Cancel": { + "message": "取消", + "description": "[aws:2019-09-23 19:23:00] Cancel" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "message": "無法自動下載,您需要在 項中重新核准 [下載] 權限。", + "description": "[aws:2019-09-23 19:23:01] Cannot auto-download, you need to reapprove the Downloads permission in options." + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "message": "基於安全考量,Chrome 不允許訪問某些 URL。 這包括網路商店庫、其他 Chrome 擴充功能和 chrome: // URL。 目前頁面似乎是受限制的 URL。", + "description": "[aws:2019-09-23 19:23:02] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL." + }, + "_close": { + "message": "接近", + "description": "[aws:2019-09-23 19:23:02] close" + }, + "_details": { + "message": "詳細資料...", + "description": "[aws:2019-09-23 19:23:04] details…" + }, + "_Extensionsettings": { + "message": "延伸設定", + "description": "[aws:2019-09-23 19:23:04] Extension settings" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "message": "需要額外的權限才能訪問基礎頁面。", + "description": "[aws:2019-09-23 19:23:05] Extra permissions are required to access the underlying page." + }, + "_Extrapermissionsrequired": { + "message": "需要額外權限", + "description": "[aws:2019-09-23 19:23:06] Extra permissions required" + }, + "_Fileaccessneeded": { + "message": "需要存取檔案", + "description": "[aws:2019-09-23 19:23:06] File access needed" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "message": "如有其他問題, 請與我們聯絡。", + "description": "[aws:2019-09-23 19:23:07] For additional questions, contact us." + }, + "_Loadpermissionsdialog": { + "message": "載入權限對話框?", + "description": "[aws:2019-09-23 19:23:08] Load permissions dialog?" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "message": "注意:此頁面太大,Chrome 瀏覽器無法擷取為單一影像。 它將被分成 多個 圖像。", + "description": "[aws:2019-09-23 19:23:09] Note: this page is too large for the Chrome browser to capture as one image. It will be split into multiple images." + }, + "_OK": { + "message": "好", + "description": "[aws:2019-09-23 19:23:09] OK" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "message": "請前往您的 Chrome 擴充功能設定並啟用 “允許存取檔案 URL”,以便擴充功能可以存取此頁面。

", + "description": "[aws:2019-09-23 19:23:10] Please go to your Chrome extension settings and enable “Allow access to file URLs”, so the extension can access this page.

" + }, + "_Screencaptureinprogress": { + "message": "螢幕擷取正在進行中...", + "description": "[aws:2019-09-23 19:23:11] Screen capture in progress…" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "message": "出了什麼問題。 嘗試刷新頁面並再次運行。

如果仍然存在,請 與我們聯繫。", + "description": "[aws:2019-09-23 19:23:12] Something went wrong. Try refreshing the page and running this again.

If this persists, please contact us." + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "message": "這個網站似乎有內嵌的內容在 框架組中。", + "description": "[aws:2019-09-23 19:23:13] This site appears to have embedded content within an a frameset." + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "message": "這個網站似乎嵌入了 iframe中的內容。", + "description": "[aws:2019-09-23 19:23:13] This site appears to have embedded content within an iframe." + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "message": "此測試版本已過期。 請聯絡以取得更新,或在 Chrome 網路商店中切換至適當的擴充套件。", + "description": "[aws:2019-09-23 19:23:14] This test version has expired. Please reach out to get an update or switch over to the proper extension in the Chrome Web Store." + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "message": "警告:擴展不是為了處理極大的捕獲而設計的。 它可能無法完成此頁面的擷取。", + "description": "[aws:2019-09-23 19:23:16] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page." + }, + "_WelcometotheFullPageScreenCaptureextension": { + "message": "歡迎使用全頁螢幕擷取延伸功能。", + "description": "[aws:2019-09-23 19:23:16] Welcome to the Full Page Screen Capture extension." + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "message": "您可以在任何網頁上運行此操作,但瀏覽器限制擴展無法運行腳本的網頁除外。 這包括 Chrome 網路商店、瀏覽器設定頁面和其他擴充功能。", + "description": "[aws:2019-09-23 19:23:17] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions." + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "message": "您可能需要在與對話框交互後重新運行擴展。 如果您取消,它將只捕獲可見屏幕。", + "description": "[aws:2019-09-23 19:23:18] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen." + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/zh/messages.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/zh/messages.json new file mode 100644 index 0000000..2f149b2 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_locales/zh/messages.json @@ -0,0 +1,900 @@ +{ + "_1filecouldnotberemoved": { + "description": "[aws:2019-09-23 03:01:00] 1 file could not be removed.", + "message": "1 个文件无法删除。" + }, + "_1filewassuccessfullyremoved": { + "description": "[aws:2019-09-23 03:01:01] 1 file was successfully removed.", + "message": "1 个文件已成功删除。" + }, + "_Adjustrepeatingelements": { + "description": "[aws:2019-09-23 03:01:01] Adjust repeating elements", + "message": "调整重复元素" + }, + "_Advancedscrolling": { + "description": "[aws:2019-09-23 03:01:02] Advanced scrolling", + "message": "高级滚动" + }, + "_Align": { + "description": "[aws:2019-09-23 03:01:03] Align", + "message": "对齐" + }, + "_Anyissues": { + "description": "[aws:2019-09-23 03:01:03] Any issues?", + "message": "有什么问题吗?" + }, + "_AnyoptionalpermissionsthatwerepreviouslygrantedwillappearcheckedhereYoucanrevokethematanytimeIftheyareneededagaininthefuturetheywillbererequested": { + "description": "[aws:2019-09-23 03:01:04] Any optional permissions that were previously granted will appear checked here. You can revoke them at any time. If they are needed again in the future, they will be re-requested.", + "message": "之前授予的任何可选权限将在此处显示为选中状态。 您可以随时撤销它们。 如果将来再次需要他们,我们将重新提出请求。" + }, + "_Areyouenjoyingthisextension": { + "description": "[aws:2019-09-23 03:01:05] Are you enjoying this extension?", + "message": "你喜欢这个扩展吗?" + }, + "_Areyousureyouwanttodelete1screencaptureThisactioncannotbeundone": { + "description": "[aws:2019-09-23 03:01:05] Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)", + "message": "您确定要删除 1 个屏幕截图吗?\n (此操作无法撤消。)" + }, + "_AreyousureyouwanttodeletecountscreencapturesThisactioncannotbeundone": { + "description": "[aws:2019-09-23 03:01:06] Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)", + "message": "您确定要删除 $count$ 屏幕截图吗?\n (此操作无法撤消。)", + "placeholders": { + "count": { + "content": "$1", + "example": "2" + } + } + }, + "_AreyousureyouwanttodeletethisscreenshotThisactioncannotbeundone": { + "description": "[aws:2019-09-23 03:01:07] Are you sure you want to delete this screenshot?\n(This action cannot be undone.)", + "message": "您确定要删除此屏幕截图吗?\n(此操作无法撤消。)" + }, + "_Areyousureyouwanttoresettotheextensionsoriginalthemedefaults": { + "description": "[aws:2019-09-23 03:01:08] Are you sure you want to reset to the extension’s original theme defaults?", + "message": "您确定要重置为扩展的原始主题默认值吗?" + }, + "_Arrow": { + "description": "[aws:2019-09-23 03:01:08] Arrow", + "message": "箭头" + }, + "_Autodownloadfiles": { + "description": "[aws:2019-09-23 03:01:09] Auto-download files", + "message": "自动下载文件" + }, + "_AutodownloadisenabledYoucanchangethisinahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:22:41] Auto-download is enabled. You can change this in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "已启用自动下载功能。 您可以在选项中更改此 \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">选项\u003C/a>。" + }, + "_AutomaticallydownloadyourscreenshotinsteadofopeningitinanewwindowThismeanstheextensioncapturetabwillnotopenYoucanreturnbackherebyrightclickingontheextensionandselectingOptions": { + "description": "[aws:2019-09-23 03:01:10] Automatically download your screenshot instead of opening it in a new window.This means the extension capture tab will not open. You can return back here by right-clicking on the extension and selecting \"Options\".", + "message": "自动下载您的屏幕截图,而不是在新窗口中打开它。这意味着扩展捕获选项卡将无法打开。 您可以通过右键单击扩展并选择 “选项” 返回此处。" + }, + "_AutomaticallyshowasaveasdialogwhendownloadingyourscreenshotsIftheAskwheretosaveeachfilebeforedownloadingoptionisenabledinyourChromesettingsthenthattakespriority": { + "description": "[aws:2019-09-23 03:01:11] Automatically show a \"save as\" dialog when downloading your screenshots. If the “Ask where to save each file before downloading” option is enabled in your Chrome settings, then that takes priority.", + "message": "下载截图时自动显示 “另存为” 对话框。 如果在 Chrome 设置中启用了 “在下载前询问每个文件的保存位置” 选项,则优先考虑。" + }, + "_Backtocapturechangesareautosaved": { + "description": "[aws:2019-09-23 03:01:12] Back to capture (changes are auto-saved)", + "message": "返回捕获(更改自动保存)" + }, + "_Blur": { + "description": "[aws:2019-09-23 03:01:13] Blur", + "message": "模糊" + }, + "_Bold": { + "description": "[aws:2019-09-23 03:01:14] Bold", + "message": "大胆" + }, + "_Cancel": { + "description": "[aws:2019-09-23 19:22:42] Cancel", + "message": "取消" + }, + "_CannotautodownloadyouneedtoreapprovetheDownloadspermissioninahrefdatahrefoptionshtmltargetblankrelnoopenernoreferreroptionsa": { + "description": "[aws:2019-09-23 19:22:42] Cannot auto-download, you need to reapprove the Downloads permission in \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">options\u003C/a>.", + "message": "无法自动下载,您需要重新批准 \u003Ca href=\"#\" data-href=\"/options.html\" target=\"_blank\" rel=\"noopener noreferrer\">选项\u003C/a>中的 “下载” 权限。" + }, + "_Cannotdownloadfiles": { + "description": "[aws:2019-09-23 03:01:15] Cannot download files", + "message": "无法下载文件" + }, + "_Capture": { + "description": "[aws:2019-09-23 03:01:16] Capture", + "message": "捕捉" + }, + "_ChromedoesnotallowaccesstosomeURLsforsecurityreasonsThisincludesthewebstoregalleryotherchromeextensionsandchromeURLsThecurrentpageappearstobearestrictedURL": { + "description": "[aws:2019-09-23 19:22:43] Chrome does not allow access to some URLs for security reasons. This includes the webstore gallery, other chrome extensions, and chrome:// URLs. The current page appears to be a restricted URL.", + "message": "出于安全原因,Chrome 不允许访问某些 URL。 这包括网上商店库、其他铬扩展和铬:// URL。 当前页面显示为受限 URL。" + }, + "_ChromepreventsextensionsfromsavingfilesoutsideofthedefaultdownloadsdirectoryThepathyouenteredhasbeenupdatedaccordinglySorry": { + "description": "[aws:2019-09-23 03:01:20] Chrome prevents extensions from saving files outside of the default downloads directory. The path you entered has been updated accordingly. Sorry!", + "message": "Chrome 可防止扩展程序将文件保存到默认下载目录之外。 您输入的路径已相应更新。 对不起!" + }, + "_Clickdraginlayerspane": { + "description": "[aws:2019-09-23 03:01:21] Click + drag in layers pane", + "message": "在图层窗格中单击 + 拖动" + }, + "_Color": { + "description": "[aws:2019-09-23 03:01:21] Color", + "message": "颜色" + }, + "_ConfigureyoursettingsfortheFullPageScreenCaptureextensionStaytunedforfurtherupdatesBetasettingsmaychangeinthefuture": { + "description": "[aws:2019-09-23 03:01:22] Configure your settings for the Full Page Screen Capture extension. Stay tuned for further updates. Beta settings may change in the future.", + "message": "为全页屏幕捕获扩展配置您的设置。 敬请关注进一步更新。 测试版设置将来可能会更改。" + }, + "_Continueediting": { + "description": "[aws:2019-09-23 03:01:23] Continue editing", + "message": "继续编辑" + }, + "_CropImage": { + "description": "[aws:2019-09-23 03:01:24] Crop Image", + "message": "裁剪图像" + }, + "_Cropeditannotateandexport": { + "description": "[aws:2019-09-23 03:01:24] Crop, edit, annotate, and export", + "message": "裁剪、编辑、注释和导出" + }, + "_Delete": { + "description": "[aws:2019-09-23 03:01:25] Delete", + "message": "删除" + }, + "_Deletecurrentselection": { + "description": "[aws:2019-09-23 03:01:26] Delete current selection", + "message": "删除当前选择" + }, + "_Directory": { + "description": "[aws:2019-09-23 03:01:26] Directory:", + "message": "目录:" + }, + "_Document": { + "description": "[aws:2019-09-23 03:01:27] Document", + "message": "文件" + }, + "_Documentedits": { + "description": "[aws:2019-09-23 03:01:28] Document edits", + "message": "文档编辑" + }, + "_DoneCropping": { + "description": "[aws:2019-09-23 03:01:29] Done Cropping", + "message": "完成裁剪" + }, + "_Download": { + "description": "[aws:2019-09-23 03:01:29] Download", + "message": "下载" + }, + "_DownloadExport": { + "description": "[aws:2019-09-23 03:01:30] Download & Export", + "message": "下载和导出" + }, + "_Downloadpermissionisrequired": { + "description": "[aws:2019-09-23 03:01:31] Download permission is required", + "message": "需要下载权限" + }, + "_Downloadpermissionnotgranted": { + "description": "[aws:2019-09-23 03:01:31] Download permission not granted", + "message": "未授予下载权限" + }, + "_Downloadspermission": { + "description": "[aws:2019-09-23 03:01:32] Downloads permission", + "message": "下载权限" + }, + "_Draglayercontrolpoints": { + "description": "[aws:2019-09-23 03:01:33] Drag layer control points", + "message": "拖动图层控制点" + }, + "_Duplicateselection": { + "description": "[aws:2019-09-23 03:01:33] Duplicate selection", + "message": "重复选择" + }, + "_Edited": { + "description": "[aws:2019-09-23 03:01:34] Edited", + "message": "编辑" + }, + "_Elements": { + "description": "[aws:2019-09-23 03:01:35] Elements", + "message": "元素" + }, + "_Emoji": { + "description": "[aws:2019-09-23 03:01:35] Emoji", + "message": "表情符號" + }, + "_Enabled": { + "description": "[aws:2019-09-23 03:01:36] Enabled", + "message": "已启用" + }, + "_Entertexthere": { + "description": "[aws:2019-09-23 03:01:37] Enter text here", + "message": "在此输入文本" + }, + "_Error": { + "description": "[aws:2019-09-23 03:01:37] Error", + "message": "错误" + }, + "_Errordownloadingfile": { + "description": "[aws:2019-09-23 03:01:38] Error downloading file", + "message": "下载文件时出错" + }, + "_Errordownloadingfiles": { + "description": "[aws:2019-09-23 03:01:40] Error downloading files", + "message": "下载文件时出错" + }, + "_ErrorhandlingfilesPleasereportthisviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-23 03:01:42] Error handling files. Please report this via the flag reporting button above.", + "message": "处理文件时出错。 请通过上面的标志报告按钮进行报告。" + }, + "_Errorloadinghistory": { + "description": "[aws:2019-09-23 03:01:43] Error loading history", + "message": "加载历史记录时出错" + }, + "_Errorloadingimage": { + "description": "[aws:2019-09-23 03:01:43] Error loading image", + "message": "加载图像时出错" + }, + "_Erroropeningscreenshot": { + "description": "[aws:2019-09-23 03:01:44] Error opening screenshot", + "message": "打开屏幕截图时出错" + }, + "_Errorremovingscreenshot": { + "description": "[aws:2019-09-23 03:01:45] Error removing screenshot", + "message": "删除屏幕截图时出错" + }, + "_Exitzoom": { + "description": "[aws:2019-09-23 03:01:45] Exit zoom", + "message": "退出缩放" + }, + "_Export": { + "description": "[aws:2019-09-23 03:01:46] Export", + "message": "出口" + }, + "_Extensionsettings": { + "description": "[aws:2019-09-23 19:22:45] Extension settings", + "message": "扩展设置" + }, + "_Extrapermissionsarerequiredtoaccesstheunderlyingpage": { + "description": "[aws:2019-09-23 19:22:46] Extra permissions are required to access the underlying page.", + "message": "访问基础页面需要额外的权限。" + }, + "_Extrapermissionsrequired": { + "description": "[aws:2019-09-23 19:22:46] Extra permissions required", + "message": "需要额外的权限" + }, + "_Fileaccessneeded": { + "description": "[aws:2019-09-23 19:22:47] File access needed", + "message": "需要文件访问" + }, + "_Filenolongerexistsperhapsithasbeenclearedfromyourbrowser": { + "description": "[aws:2019-09-23 03:01:47] File no longer exists—perhaps it has been cleared from your browser", + "message": "文件不再存在-可能已从浏览器中清除" + }, + "_Fill": { + "description": "[aws:2019-09-23 03:01:48] Fill", + "message": "填充" + }, + "_Font": { + "description": "[aws:2019-09-23 03:01:48] Font", + "message": "字体" + }, + "_Foradditionalquestionsaidinvalidlinkdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:22:48] For additional questions, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "如需其他问题, \u003Ca id=\"invalid-link\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">请联系我们\u003C/a>。" + }, + "_Getstarted": { + "description": "[aws:2019-09-23 03:01:49] Get started", + "message": "开始使用" + }, + "_Gotit": { + "description": "[aws:2019-09-23 03:01:50] Got it!", + "message": "明白了!" + }, + "_Gotoyouraccount": { + "description": "[aws:2019-09-23 03:01:51] Go to your account", + "message": "转到您的帐户" + }, + "_Help": { + "description": "[aws:2019-09-23 03:01:51] Help", + "message": "救命啊" + }, + "_HelpShortcuts": { + "description": "[aws:2019-09-23 03:01:52] Help / Shortcuts", + "message": "帮助/快捷方式" + }, + "_History": { + "description": "[aws:2019-09-23 03:01:53] History", + "message": "历史" + }, + "_Hooray": { + "description": "[aws:2019-09-23 03:01:53] Hooray", + "message": "胡丽" + }, + "_Icon": { + "description": "[aws:2019-09-23 03:01:54] Icon", + "message": "图标" + }, + "_Ifthispersistspleasereportitviatheflagreportingbuttonabove": { + "description": "[aws:2019-09-23 03:01:55] If this persists, please report it via the flag reporting button above.", + "message": "如果这种情况仍然存在,请通过上面的标志报告按钮进行报告。" + }, + "_IfyoudliketotrythisfeatureinthefutureclickontheEditbuttonuptop": { + "description": "[aws:2019-09-23 03:01:56] If you’d like to try this feature in the future, click on the “Edit” button up top.", + "message": "如果您将来想尝试此功能,请点击顶部的 “编辑” 按钮。" + }, + "_Imagedeleted": { + "description": "[aws:2019-09-23 03:01:57] Image deleted", + "message": "图像已删除" + }, + "_Imageformat": { + "description": "[aws:2019-09-23 03:01:58] Image format:", + "message": "图片格式:" + }, + "_Insertshapes": { + "description": "[aws:2019-09-23 03:01:58] Insert shapes", + "message": "插入形状" + }, + "_Italic": { + "description": "[aws:2019-09-23 03:01:59] Italic", + "message": "斜体" + }, + "_Layers": { + "description": "[aws:2019-09-23 03:02:00] Layers", + "message": "层" + }, + "_Learnmore": { + "description": "[aws:2019-09-23 03:02:00] Learn more", + "message": "了解更多信息" + }, + "_Line": { + "description": "[aws:2019-09-23 03:02:01] Line", + "message": "线路" + }, + "_Loadpermissionsdialog": { + "description": "[aws:2019-09-23 19:22:48] Load permissions dialog?", + "message": "加载权限对话框?" + }, + "_LogintoExport": { + "description": "[aws:2019-09-23 03:02:02] Login to Export", + "message": "登录以导出" + }, + "_Lookforanelementwithinthepagewithitsownscrollbarsandscrollthatitemduringthecapture": { + "description": "[aws:2019-09-23 03:02:03] Look for an element within the page with its own scroll bars and scroll that item during the capture.", + "message": "在页面中查找具有自己滚动条的元素,并在捕获过程中滚动该项目。" + }, + "_MightyouconsidertakingaminutetorateitintheWebstore": { + "description": "[aws:2019-09-23 03:02:04] Might you consider taking a minute to rate it in the Webstore?", + "message": "你可以考虑花一分钟在网上商店评分吗?" + }, + "_More": { + "description": "[aws:2019-09-23 03:02:05] More", + "message": "再来一点" + }, + "_Mouseorarrowkeys": { + "description": "[aws:2019-09-23 03:02:05] Mouse or arrow keys", + "message": "鼠标键或箭头键" + }, + "_Mouseorlayerspane": { + "description": "[aws:2019-09-23 03:02:06] Mouse or layers pane", + "message": "鼠标或图层窗格" + }, + "_Movelayer": { + "description": "[aws:2019-09-23 03:02:07] Move layer", + "message": "移动图层" + }, + "_None": { + "description": "[aws:2019-09-23 03:02:07] None", + "message": "没有" + }, + "_NoscreencapturesfoundGomakesome": { + "description": "[aws:2019-09-23 03:02:08] No screen captures found. Go make some!", + "message": "未找到屏幕截图。 去做一些!" + }, + "_NotethispageistoolargefortheChromebrowsertocaptureasoneimageItwillbesplitintospanidscreenshotcountmultiplespanimages": { + "description": "[aws:2019-09-23 19:22:49] Note: this page is too large for the Chrome browser to capture as one image. It will be split into \u003Cspan id=\"screenshot-count\">multiple\u003C/span> images.", + "message": "注意:此页面太大,Chrome 浏览器无法捕获为一张图像。 它将被分割成 \u003Cspan id=\"screenshot-count\">多个\u003C/span> 图像。" + }, + "_Nothanks": { + "description": "[aws:2019-09-23 03:02:09] No, thanks.", + "message": "不,谢谢。" + }, + "_Nothankscontinueediting": { + "description": "[aws:2019-09-23 03:02:09] No thanks continue editing", + "message": "不,谢谢继续编辑" + }, + "_Notreally": { + "description": "[aws:2019-09-23 03:02:10] Not really", + "message": "不是真的" + }, + "_OK": { + "description": "[aws:2019-09-23 19:22:50] OK", + "message": "好" + }, + "_On": { + "description": "[aws:2019-09-23 03:02:12] On", + "message": "上" + }, + "_OnMacChromethereareissueswithsaveasforautodownloadandwhendownloadingmultiplefilessoitisdisabledinthosescenarios": { + "description": "[aws:2019-09-23 03:02:13] On Mac Chrome there are issues with \"save as\" for auto-download and when downloading multiple files, so it is disabled in those scenarios.", + "message": "在 Mac Chrome 上,自动下载和下载多个文件时存在 “另存为” 的问题,因此在这些情况下它被禁用。" + }, + "_Options": { + "description": "[aws:2019-09-23 03:02:14] Options", + "message": "选项" + }, + "_Orderlayer": { + "description": "[aws:2019-09-23 03:02:15] Order layer", + "message": "订单层" + }, + "_Outline": { + "description": "[aws:2019-09-23 03:02:16] Outline", + "message": "大纲" + }, + "_Oval": { + "description": "[aws:2019-09-23 03:02:16] Oval", + "message": "椭圆形" + }, + "_PDFsize": { + "description": "[aws:2019-09-23 03:02:19] PDF size:", + "message": "PDF 尺寸:" + }, + "_PNGislosslessandshouldmatchexactlywhatisseenonthescreenbutwillusuallyhavelargerfilesizesthanJPGwhichusescompression": { + "description": "[aws:2019-09-23 03:02:22] PNG is lossless and should match exactly what is seen on the screen, but will usually have larger file sizes than JPG, which uses compression.", + "message": "PNG 是无损的,应该与屏幕上看到的内容完全匹配,但通常比使用压缩的 JPG 更大的文件大小。" + }, + "_Pad": { + "description": "[aws:2019-09-23 03:02:17] Pad", + "message": "垫" + }, + "_Padding": { + "description": "[aws:2019-09-23 03:02:18] Padding", + "message": "填充" + }, + "_PaddingBorder": { + "description": "[aws:2019-09-23 03:02:18] Padding / Border", + "message": "填充/边框" + }, + "_Permissionneededtodownloadfiles": { + "description": "[aws:2019-09-23 03:02:20] Permission needed to download files", + "message": "下载文件所需的权限" + }, + "_Permissions": { + "description": "[aws:2019-09-23 03:02:20] Permissions", + "message": "权限" + }, + "_PleasegotoyourChromeextensionsettingsandenablestrongx201CAllowaccesstofileURLsx201Dstrongsotheextensioncanaccessthispagebrbr": { + "description": "[aws:2019-09-23 19:22:51] Please go to your Chrome extension settings and enable \u003Cstrong>“Allow access to file URLs”\u003C/strong>, so the extension can access this page. \u003Cbr>\u003Cbr>", + "message": "请转到您的 Chrome 扩展设置并启用 \u003Cstrong>“允许访问文件 URL”\u003C/strong>,以便扩展程序可以访问此页面。 \u003Cbr>\u003Cbr>" + }, + "_Position": { + "description": "[aws:2019-09-23 03:02:22] Position", + "message": "位置" + }, + "_Radius": { + "description": "[aws:2019-09-23 03:02:23] Radius", + "message": "半径" + }, + "_Rectangle": { + "description": "[aws:2019-09-23 03:02:24] Rectangle", + "message": "矩形" + }, + "_Redo": { + "description": "[aws:2019-09-23 03:02:25] Redo", + "message": "重做" + }, + "_Removefiles": { + "description": "[aws:2019-09-23 03:02:25] Remove files", + "message": "删除文件" + }, + "_Reportissue": { + "description": "[aws:2019-09-23 03:02:26] Report issue.", + "message": "报告问题。" + }, + "_Resizelayer": { + "description": "[aws:2019-09-23 03:02:27] Resize layer", + "message": "调整图层大小" + }, + "_Roundedcorners": { + "description": "[aws:2019-09-23 03:02:28] Rounded corners", + "message": "圆角" + }, + "_Saveas": { + "description": "[aws:2019-09-23 03:02:29] Save as", + "message": "另存为" + }, + "_Saved": { + "description": "[aws:2019-09-23 03:02:30] Saved", + "message": "保存" + }, + "_SavethispermissionifacceptedforfuturecapturesItcanstillberevokedlaterfromtheoptionspage": { + "description": "[aws:2019-09-23 03:02:31] Save this permission (if accepted) for future captures. It can still be revoked later from the options page.", + "message": "保存此权限(如果接受)以供将来捕获。 它仍然可以在稍后从选项页面撤销。" + }, + "_Screencaptureinprogress": { + "description": "[aws:2019-09-23 19:22:51] Screen capture in progress…", + "message": "屏幕截图正在进行中..." + }, + "_Select1ormorescreenshotstousethisaction": { + "description": "[aws:2019-09-23 03:02:34] Select 1 or more screenshots to use this action.", + "message": "选择 1 个或多个屏幕截图以使用此操作。" + }, + "_Selected": { + "description": "[aws:2019-09-23 03:02:35] Selected", + "message": "已选择" + }, + "_Selectlayer": { + "description": "[aws:2019-09-23 03:02:35] Select layer", + "message": "选择图层" + }, + "_Setthemedefaults": { + "description": "[aws:2019-09-23 03:02:36] Set theme defaults", + "message": "设置主题默认值" + }, + "_Shapes": { + "description": "[aws:2019-09-23 03:02:37] Shapes", + "message": "形状" + }, + "_Signupforafree7daytrialtounlocktheeditoranddownloadyourmasterpiece": { + "description": "[aws:2019-09-23 03:02:38] Sign up for a free 7-day trial to unlock the editor and download your masterpiece.", + "message": "注册免费的 7 天试用版,解锁编辑器并下载您的杰作。" + }, + "_SignuptoExport": { + "description": "[aws:2019-09-23 03:02:38] Sign up to Export", + "message": "注册以导出" + }, + "_Size": { + "description": "[aws:2019-09-23 03:02:39] Size", + "message": "尺寸" + }, + "_SomethingwentwrongTryrefreshingthepageandrunningthisagainbrbrIfthispersistspleaseaidreportlinkclassnowrapdatahrefhttpsscreencapturemrcolescomhrefhttpsscreencapturemrcolescomtargetblankrelnoopenernoreferrercontactusa": { + "description": "[aws:2019-09-23 19:22:52] Something went wrong. Try refreshing the page and running this again. \u003Cbr>\u003Cbr> If this persists, please \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us\u003C/a>.", + "message": "出了什么问题 尝试刷新页面并再次运行。 \u003Cbr>\u003Cbr>如果这种情况仍然存在,请 \u003Ca id=\"report-link\" class=\"nowrap\" data-href=\"https://screencapture.mrcoles.com/\" href=\"https://screencapture.mrcoles.com/\" target=\"_blank\" rel=\"noopener noreferrer\">联系我们\u003C/a>。" + }, + "_Somethingwentwrongdeletingyourscreenshot": { + "description": "[aws:2019-09-23 03:02:40] Something went wrong deleting your screenshot.", + "message": "删除您的屏幕截图出错。" + }, + "_Somethingwentwrongopeningthisscreenshotintoanew": { + "description": "[aws:2019-09-23 03:02:40] Something went wrong opening this screenshot into a new.", + "message": "打开这个屏幕截图成一个新的出现了问题。" + }, + "_SometimeselementslikeabacktotopbuttonorastickyfooterwillrepeatonthepageThistriestopositionthemabsolutelytostopthemfromrepeatinginascreeshot": { + "description": "[aws:2019-09-23 03:02:41] Sometimes elements, like a “back to top” button or a sticky footer will repeat on the page. This tries to position them absolutely to stop them from repeating in a screeshot.", + "message": "有时,像 “返回到顶部” 按钮或粘页脚等元素会在页面上重复。 这试图绝对定位它们以阻止它们在屏幕热线中重复。" + }, + "_Sorry": { + "description": "[aws:2019-09-23 03:02:42] Sorry", + "message": "对不起" + }, + "_SpecifyadirectoryunderneathyourdownloadsdirectorytosaveyourscreenshotssuchasscreencapturesDefaultstothedownloadsdirectoryifblankPleaselimitittolettersnumbersdashesunderscoresandslashesinvalidcharacterswillautomaticallyberemoved": { + "description": "[aws:2019-09-23 03:02:43] Specify a directory underneath your downloads directory to save your screenshots, such as “screencaptures”. Defaults to the downloads directory if blank. (Please limit it to letters, numbers, dashes, underscores, and slashes—invalid characters will automatically be removed).", + "message": "在下载目录下指定一个目录以保存屏幕截图,例如 “屏幕截图”。 如果为空,则默认为下载目录。 (请将其限制为字母、数字、短划线、下划线和斜线-无效字符将被自动删除)。" + }, + "_SpecifytheformatsizeofPDFsforwhenexportingtoPDF": { + "description": "[aws:2019-09-23 03:02:44] Specify the format size of PDFs for when exporting to PDF.", + "message": "指定导出为 PDF 时的 PDF 格式大小。" + }, + "_Startyourfreetrial": { + "description": "[aws:2019-09-23 03:02:45] Start your free trial", + "message": "开始免费试用" + }, + "_Stickers": { + "description": "[aws:2019-09-23 03:02:45] Stickers", + "message": "贴纸" + }, + "_Stillloading": { + "description": "[aws:2019-09-23 03:02:46] Still loading", + "message": "仍在加载" + }, + "_TakemetotheWebstore": { + "description": "[aws:2019-09-23 03:02:46] Take me to the Webstore!", + "message": "带我去网上商店!" + }, + "_Text": { + "description": "[aws:2019-09-23 03:02:47] Text", + "message": "文本" + }, + "_ThankyouforsupportingFullPageScreenCapture": { + "description": "[aws:2019-09-23 03:02:48] Thank you for supporting Full Page Screen Capture", + "message": "感谢您支持全页屏幕截图" + }, + "_Thebestandsafestwaytocaptureascreenshotofanentirewebpage": { + "description": "[aws:2019-09-23 03:02:49] The best and safest way to capture a screenshot of an entire web page.", + "message": "捕获整个网页屏幕截图的最佳和最安全的方式。" + }, + "_ThedownloadpermissionisrequiredtoenablethedownloadasPDFfeature": { + "description": "[aws:2019-09-23 03:02:49] The download permission is required to enable the download as PDF feature.", + "message": "需要下载权限才能启用 PDF 格式下载功能。" + }, + "_Thefollowingfilescouldnotbedownloaded": { + "description": "[aws:2019-09-23 03:02:50] The following files could not be downloaded:", + "message": "无法下载以下文件:" + }, + "_ThemeDefaults": { + "description": "[aws:2019-09-23 03:02:51] Theme Defaults", + "message": "主题默认值" + }, + "_Therewasanerrordownloadingfilespleasereportitviatheflagbuttonabove": { + "description": "[aws:2019-09-23 03:02:51] There was an error downloading files, please report it via the flag button above.", + "message": "下载文件时出错,请通过上面的标志按钮报告。" + }, + "_ThesesettingswillapplytoallfutureeditsofscreenshotsChangesareautosaved": { + "description": "[aws:2019-09-23 03:02:52] These settings will apply to all future edits of screenshots. Changes are autosaved.", + "message": "这些设置将应用于所有未来的屏幕截图编辑。 更改将自动保存。" + }, + "_Thespecifiedimagecouldnotbefound": { + "description": "[aws:2019-09-23 03:02:53] The specified image could not be found.", + "message": "无法找到指定的图像。" + }, + "_ThisextensiontakesalotofworktomaintainItsreallymeaningfultohearthatyoufindituseful": { + "description": "[aws:2019-09-23 03:02:54] This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!", + "message": "此扩展需要大量的工作来维护。 听到你觉得它有用真的很有意义!" + }, + "_ThisistakinglongertoloadthanexpectedHangtightIfnothingupdatesafterawhilepleasereportthisviathereportingflagbuttonabove": { + "description": "[aws:2019-09-23 03:02:54] This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.", + "message": "这需要比预期更长的时间来加载。 挂紧! 如果一段时间后没有任何更新,请通过上面的报告标志按钮报告。" + }, + "_ThispermissionallowsgreatercontroloverhowdownloadsworkwithintheextensionYourpreferencehasbeensavedandthisdownloadbuttonwillnowfallbacktodefaultbrowseronclickdownloadsHoweveryoustillbepromptedforitinordertouseanyoftheadvancedfeaturesontheHistoryorOptionspagessincetheyneedthispermissionstowork": { + "description": "[aws:2019-09-23 03:02:56] This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fallback to default browser on-click downloads. However, you still be prompted for it in order to use any of the advanced features on the History or Options pages, since they need this permissions to work.", + "message": "此权限允许更好地控制下载在扩展中的工作方式。 您的首选项已保存,此下载按钮现在将回退到默认的浏览器点击下载。 但是,系统仍会提示您输入此功能以便使用历史记录或选项页面上的任何高级功能,因为它们需要此权限才能工作。" + }, + "_Thispermissionisrequiredforthedownloadbuttonsandtheautodownloadfeature": { + "description": "[aws:2019-09-23 03:02:56] This permission is required for the download buttons and the auto-download feature.", + "message": "下载按钮和自动下载功能需要此权限。" + }, + "_Thisscreenshotbeensuccessfullyremoved": { + "description": "[aws:2019-09-23 03:02:58] This screenshot been successfully removed.", + "message": "此屏幕截图已成功删除。" + }, + "_ThissiteappearstohaveembeddedcontentwithinanaatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementframesetframeseta": { + "description": "[aws:2019-09-23 19:22:53] This site appears to have embedded content within an a \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">frameset\u003C/a>.", + "message": "该网站似乎在 \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset\">框架集中\u003C/a>嵌入了内容。" + }, + "_ThissiteappearstohaveembeddedcontentwithinanatargetblankrelnoopenernoreferrerhrefhttpsdevelopermozillaorgenUSdocsWebHTMLElementiframeiframea": { + "description": "[aws:2019-09-23 19:22:54] This site appears to have embedded content within an \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>.", + "message": "该网站似乎在 \u003Ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\">iframe\u003C/a>中嵌入了内容。" + }, + "_ThistestversionhasexpiredPleasereachouttogetanupdateorswitchovertotheproperextensionintheahrefhttpschromegooglecomwebstoredetailfullpagescreencapturefdpohaocaechififmbbbbbknoalclaclhlenUStargetblankrelnoopenernoreferrerChromeWebStorea": { + "description": "[aws:2019-09-23 19:22:55] This test version has expired. Please reach out to get an update or switch over to the proper extension in the \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome Web Store\u003C/a>.", + "message": "此测试版本已过期。 请联系以获取更新或切换到 \u003Ca href=\"https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US\" target=\"_blank\" rel=\"noopener noreferrer\"> Chrome 网上商店\u003C/a>中的适当扩展程序。" + }, + "_ToggleURLbrowser": { + "description": "[aws:2019-09-23 03:03:00] Toggle URL / browser", + "message": "切换网址/浏览器" + }, + "_Togglecrop": { + "description": "[aws:2019-09-23 03:02:58] Toggle crop", + "message": "切换裁剪" + }, + "_Togglepaddingborder": { + "description": "[aws:2019-09-23 03:02:59] Toggle padding / border", + "message": "切换填充/边框" + }, + "_Type": { + "description": "[aws:2019-09-23 03:03:00] Type", + "message": "类型" + }, + "_URLBrowser": { + "description": "[aws:2019-09-23 03:03:04] URL / Browser", + "message": "URL/浏览器" + }, + "_URLonbottom": { + "description": "[aws:2019-09-23 03:03:04] URL on bottom", + "message": "底部的网址" + }, + "_URLontop": { + "description": "[aws:2019-09-23 03:03:05] URL on top", + "message": "顶部的网址" + }, + "_Unabletofindimage": { + "description": "[aws:2019-09-23 03:03:01] Unable to find image", + "message": "无法找到图片" + }, + "_Unabletoloadimage": { + "description": "[aws:2019-09-23 03:03:02] Unable to load image", + "message": "无法加载图片" + }, + "_Undo": { + "description": "[aws:2019-09-23 03:03:02] Undo", + "message": "撤消" + }, + "_WarningtheextensionisnotdesignedtohandleextremelylargecapturesItmightfailtocompleteacaptureofthispage": { + "description": "[aws:2019-09-23 19:22:56] Warning: the extension is not designed to handle extremely large captures. It might fail to complete a capture of this page.", + "message": "警告:扩展不是为了处理极大的捕获而设计的。 它可能无法完成此页面的捕获。" + }, + "_WatchDemo": { + "description": "[aws:2019-09-23 03:03:08] Watch Demo", + "message": "观看演示" + }, + "_WelcometotheFullPageEditor": { + "description": "[aws:2019-09-23 03:03:08] Welcome to the Full Page Editor!", + "message": "欢迎使用完整页面编辑器!" + }, + "_WelcometotheFullPageScreenCaptureextension": { + "description": "[aws:2019-09-23 19:22:57] Welcome to the Full Page Screen Capture extension.", + "message": "欢迎使用全页屏幕捕获扩展。" + }, + "_WelcometotheofficialFullPageEditor": { + "description": "[aws:2019-09-23 03:03:09] Welcome to the official Full Page Editor!", + "message": "欢迎来到官方的全页编辑器!" + }, + "_Wereexcitedtohaveyouaboard": { + "description": "[aws:2019-09-23 03:03:10] We’re excited to have you aboard.", + "message": "我们很高兴有你登上。" + }, + "_Width": { + "description": "[aws:2019-09-23 03:03:11] Width", + "message": "宽度" + }, + "_Wouldyouliketoreportanyissuesyoureexperiencingsowecanimprovethisextensiontogether": { + "description": "[aws:2019-09-23 03:03:11] Would you like to report any issues you’re experiencing, so we can improve this extension together?", + "message": "您是否要报告您遇到的任何问题,以便我们可以一起改进此扩展?" + }, + "_Yes": { + "description": "[aws:2019-09-23 03:03:12] Yes!", + "message": "是啊!" + }, + "_YoucanrunthisonanywebpageexceptforoneswherethebrowserrestrictsextensionsfromrunningscriptsThisincludestheChromewebstorebrowsersettingspagesandotherextensions": { + "description": "[aws:2019-09-23 19:22:58] You can run this on any webpage, except for ones where the browser restricts extensions from running scripts. This includes the Chrome web store, browser settings pages, and other extensions.", + "message": "除了浏览器限制扩展运行脚本的网页之外,您可以在任何网页上运行此操作。 这包括 Chrome 网络商店、浏览器设置页面和其他扩展程序。" + }, + "_YoumayneedtoreruntheextensionafterinteractingwiththedialogIfyoucancelitwillcapturejustthevisiblescreen": { + "description": "[aws:2019-09-23 19:22:59] You may need to re-run the extension after interacting with the dialog. If you cancel, it will capture just the visible screen.", + "message": "您可能需要在与对话框交互后重新运行扩展。 如果您取消,它将只捕获可见屏幕。" + }, + "_Youneedtograntthedownloadprivilegeinordertodownloadfiles": { + "description": "[aws:2019-09-23 03:03:13] You need to grant the download privilege in order to download files", + "message": "您需要授予下载权限才能下载文件" + }, + "_Zoom": { + "description": "[aws:2019-09-23 03:03:13] Zoom", + "message": "缩放" + }, + "_Zoomin": { + "description": "[aws:2019-09-23 03:03:14] Zoom in", + "message": "放大" + }, + "_Zoomout": { + "description": "[aws:2019-09-23 03:03:15] Zoom out", + "message": "缩小" + }, + "_billedannually": { + "description": "[aws:2019-09-23 03:01:13] billed annually", + "message": "每年计费" + }, + "_cancelanytime": { + "description": "[aws:2019-09-23 03:01:14] cancel anytime", + "message": "随时取消" + }, + "_close": { + "description": "[aws:2019-09-23 19:22:44] close", + "message": "接近" + }, + "_details": { + "description": "[aws:2019-09-23 19:22:45] details…", + "message": "细节..." + }, + "_fullimage": { + "description": "[aws:2019-09-23 03:01:49] full image", + "message": "完整图像" + }, + "_iFramepermission": { + "description": "[aws:2019-09-23 03:01:55] iFrame permission", + "message": "iFrame 权限" + }, + "_loading": { + "description": "[aws:2019-09-23 03:02:02] loading…", + "message": "正在加载..." + }, + "_numfilescouldnotberemoved": { + "description": "[aws:2019-09-23 03:02:11] $num$ files could not be removed.", + "message": "$num$ 文件无法删除。", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_numfilesweresuccessfullyremoved": { + "description": "[aws:2019-09-23 03:02:11] $num$ files were successfully removed.", + "message": "$num$ 文件已成功删除。", + "placeholders": { + "num": { + "content": "$1", + "example": "2" + } + } + }, + "_or": { + "description": "[aws:2019-09-23 03:02:14] or", + "message": "或者" + }, + "_restorefactorydefaults": { + "description": "[aws:2019-09-23 03:02:27] restore factory defaults", + "message": "恢复出厂默认值" + }, + "_search": { + "description": "[aws:2019-09-23 03:02:32] search…", + "message": "搜索..." + }, + "_upontrialcompletion": { + "description": "[aws:2019-09-23 03:03:03] upon trial completion", + "message": "审判结束后" + }, + "_version": { + "description": "[aws:2019-09-23 03:03:06] version", + "message": "版本" + }, + "_watchademovideo": { + "description": "[aws:2019-09-23 03:03:07] watch a demo video", + "message": "观看演示视频" + }, + "actionClose": { + "description": "[aws:2019-09-23 03:03:15] Close", + "message": "关" + }, + "actionDeleteImage": { + "description": "[aws:2019-09-23 03:03:16] Delete image", + "message": "删除图片" + }, + "actionDownloadImage": { + "description": "[aws:2019-09-23 03:03:17] Download image", + "message": "下载图片" + }, + "actionDownloadPDF": { + "description": "[aws:2019-09-23 03:03:17] Download PDF", + "message": "下载 PDF 格式" + }, + "actionEdit": { + "description": "[aws:2019-09-23 03:03:18] Edit", + "message": "编辑" + }, + "actionOK": { + "description": "[aws:2019-09-23 03:03:18] OK", + "message": "好" + }, + "actionReport": { + "description": "[aws:2019-09-23 03:03:19] Report issue", + "message": "报告问题" + }, + "appDesc": { + "description": "[aws:2019-09-23 03:00:59] Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!", + "message": "完整可靠地捕获当前页面的屏幕截图-无需请求任何额外的权限!" + }, + "goPremiumHeader": { + "description": "Take your screenshots to the next level with Full Page Screen Capture Premium", + "message": "享受高级截图体验,选择“全页截图尊享版”" + }, + "goPremiumLink": { + "description": "Get started (free 1-week trial)", + "message": "开始体验(免费一周体验版)" + }, + "goPremiumSignInLink": { + "description": "Sign in", + "message": "登录" + }, + "goPremiumSignInMessage": { + "description": "Already have an account?", + "message": "已有账户?" + }, + "goPremiumSubHeader": { + "description": "Including advanced editing and annotation features of screenshots", + "message": "包含高阶编辑和标注功能" + }, + "navHistory": { + "description": "[aws:2019-09-23 03:03:20] History", + "message": "历史" + }, + "navOptions": { + "description": "[aws:2019-09-23 03:03:20] Options", + "message": "选项" + }, + "tryEditingNo": { + "description": "No thanks", + "message": "不了,谢谢" + }, + "tryEditingRequest": { + "description": "Try editing and annotating your screenshot", + "message": "请尝试编辑和标注您的截图" + }, + "tryEditingYes": { + "description": "Ok!", + "message": "好的!" + } +} diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_metadata/computed_hashes.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_metadata/computed_hashes.json new file mode 100644 index 0000000..586cc17 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_metadata/computed_hashes.json @@ -0,0 +1 @@ +{"file_hashes":[{"block_hashes":["QsZclCgGhfAYUafFz6tFCYXl+QjyHGuRwIPa9Y2ydiQ=","LA4oWuZhnIOZZFlF/80KAFpsHozHwPa07M9Aoz540GY=","44DpDnnhGPqBv2XBBOwV1QtY3CDrqPqEbG5J7kKvHEI=","FFy7EzWnSYmNdo6qAYuh6P9Js70ZS+DUBIkWCvIGdho=","qiyQqlU6+DF9G5lqiLevSOe+FcEHtFGy0dKLO0p+hlQ=","/WQlttka2OTt1Fc83gLrSblJf9tZnjOFCbvsN12D3vQ=","10eXVMoxwlhU6BwltOml1fHZXGw5I8R3oVnGmCqy29o=","TltUd0A1fklPzDfXMg3ZHid6Vnre51/bls/uDUBcvOY=","ipLzcou9psTTFpJdxSC3n5iFXdGd7xF0TnOu20tDLC0=","p07tYNqEL0kzxFiEZ/1aqt6pJQQV2P6XYzSUtQfoyrQ=","kR/vUa0LRBQYD/s2XrjO/K/IaWsWnEc0hAm0xP2564Y=","61t00kaE8h3C/yUxGIadtZyZqUn0TCJhLcaaYFCVhyE=","C2XWIQ0QNQ5wp9Vz139Q5VxVE/yLNn4cTVY21qB/nBY=","44I9wCg/GQbLD7bKofwYKqTvfsyAWvvIngIG+N0xE1g=","nLzluUQv3kdrRGig90FMC3232PmqHzHqgXISTTVM4qY="],"block_size":4096,"path":"Pe-icon-7-stroke.4346a07d.woff"},{"block_hashes":["k9w3BY39VpOCwoTD5bVetxXzTmhqiyU9drxwZBwbj1A=","GZKROxH39kDjukq8juOuFvr1hLX1yfb6NW7GBTwY0nQ=","g6znaqO1c9uDj49BHeUGGr9v2UCusY1/DVMeM16kv6s=","MVJ3xswE++Zm2n4uTPeHF4d6N33oHapxsEtpPPFncA4=","fb4CTVSrtA929QzjoSUcfzl3mjHYLHeUi83biwVTHfI=","hnKZA/01ndcFLN6nIJoyKeFOTUSsj+cEloY21JRtX9Q=","SHo4AWVt/Cn9g5STezc9EHMNcghbuYBbrnyxAYCRA60=","lnqsMis9lzmi0KuXFK/fBaOTPamsU1l1rsQUcuUapaA=","Gu8JY/yla+4wWGFrdNy2PggN8g4hzl1GVS3z63fRDK8=","MUIsbFzSQCoTFVPPxl/aZH3738pKBuQ+SVnE9Px6HOQ=","KKWuaFFTG4EdozQR5nhr2JS7rOmPZAmgpLSZ9DMypPw=","UiO3Td5uhp2hma5BmOvX+MdMT02VILlnwH8D8c8NPKI=","03EHqyFISMv0u153kRmgFahMgmI2l9A1u1cHiKJjCVY=","SrWjm+8sTsrLLSjleMc+v5Tfy7NZeUL/2t4KWT0oMeY=","vvABlcZ4yOmJWTII+iUpuaGkjTH0ANp9xLAM47xKn8c="],"block_size":4096,"path":"Pe-icon-7-stroke.8d58b512.ttf"},{"block_hashes":["r1ZrVKsFBXd510mlZ9ePnYww8jG534Pb9I1Z/P6z1gI=","ODYXvasRxnxOYytLkZdE4oE9v3/CnsCOVOfsUtiWsw0=","lKBMxg0LlS05Rkl6uawhtCng1kuqzKIINkGN4cVecyk=","miQdKpbmAw0Cts6YLIS/RZn+n0rl4CruovHEtJUtKYI=","Bc4zU4s5h6KpQ0+i0tad0gl8KTV/tcwpyOcdCCwmGRo=","h5dcOC+A+Xg6ija8rkPvdT4FFsi865n9jrH1GjCsgQc=","kMoH3oiyr45oGnlMP1BtDSC+l8131LdsVekHEjkmo+o=","Kl5xmrNFW0Z0iDSPU/RDyUC8aXxDU2AjwptNcNGec7w=","UAUNaZCCYR8I8hWM6DnE6wSi4g4DHdohm1WI1O7AGIc=","RNkVSWSM/w7yH1yFsrSBFvmQDYUNOfC7A5HTMQ/EbXE=","zXZ2eS+TnplnP9gzi4xyaqpTII2wZxtzSZ9jjNo4/eA=","1A7p96x5tArbMNXWb0T7U0pua7iTQUgYBRVacbkqXSw=","s5PFUd+c86wJN+dVxWnMzuu7XmIx2Drxv6TCkf3qc0I=","O/sVQw2CmTGGX+1DdzNqG/B+1K48jC9d/G9m6w/Ukhk=","Fjz9dv0eNVlkZQBrGToTm1grSIF9F48yfWgFNwAHEtU="],"block_size":4096,"path":"Pe-icon-7-stroke.a46b5122.eot"},{"block_hashes":["QeHQhUR3UhpVDLL5ODXWTcxblE+or4DzRqOc46S4eoY=","bAdVVYLHnalVOPJJLtuIQcLIuGVilZcThObP0XnE28Q=","DMZ2y6brD11XZU0Nf9ITywM32klRVjNjf9PXCXSTqkg=","VhHghYjObgJA9VA8Pl+EqwO7eiJePB2ng03n36hd4Hs=","hH32hO7m08qUdNrL1fhed/12HFW1jvlQbtJO/jabW6M=","NKs8ABesBCZQ0BeJuVFMT0U0T8GNCSuCw4IvvHpqTNw=","+FdtuFAvgYTtmXMTmvfUbnK0chrjCAiWJ9HDpm50exU=","gaW+n9DepVQLq+0MsC3l047fxTzfKNoVoeyMpvRQh84=","hoSWO3zRWvMplqW7CkPitpgmMCHZTdMSqzLAHaU6YCw=","4Z0sC1Wj7E4w/itNdVOGO3f6RUxQH99g2Aq/PickxuI=","DYJ4R2DH9EvwhfeI6StZpYNh5rUDwC98ZsXbf4Vnkhs=","RxHyX7V5U0+iLt3ByvYGSo+M2Ze8UlPd4HjcnwhwXVo=","98PnjarRg9FaIgYS5O1bqwVsAIQL+eaAqHFnA5R/2yY=","NQVAO9aSFnHjEXCoVefvO1XXWPa2c8ui+5lWMPH5wj0=","2AKphBgWA/tRmg920dyKuDXUKs44Wk9/ap3cuOM88fw=","/IvHrwy1ZvE8y+njc0wdcNo4DFYfDdUSmgQL/xiy2Ko=","t8IboCCOJwDEXG0do9ACYPB01JxJqW05697ItZB8EGs=","RRM5MimjXXv6f0bMcEoW5pTLrJX/WBXzfK/f+oBCq7E=","0KwIHWfYnpOu361ArDZvWII0g5zaoCWzVh3N2tI3K50=","N1g6iwmLFdCkX0Q/pEktBOBZfOQ4spyq6alHrau6888=","BFUJtLe+/8nKbRV8m+LS17ePzhCIc1fujK6WU18oLwM=","WnItm0gUNySik/qRJ5HA0coJjIef5j1vhtUycrBAbPI=","asN8uyubQ78BZ5f0pZRLrMhEozIO4PVCERck0jM00YE=","TvjOseeUr+tgQUOpbMmq3wqBAked2xVD6REuEj7bt6E=","3zIibNsnp4zYxQMTqTnL/sX/Xg09SVadF4w3kh4I8Ao=","xAzsXmvGIcEwvTpFT1zXDwsCIkeUSmZoma1IIYZo3QE=","5fsz0+L8V4gzexfGtvUxuEhgKeVBmmq9Bi8LMFtdEjA=","AnmGj/PqKqwOnnmUos9QK5D0VuKg6xDp8ivq03vInmI=","itrQibe0fu4uSuwfUMDN/U9yioXaT/+HHSSWSDrIVnI=","kqdYXGUe9mlLJCEYHsviHNJ1uw+I2SXldX+J/7XqbcE=","26lUzcaDsKSBqH67mfnS0IlW69cjl+NnVUEyha1pfIU=","EY/SOIjAfon5x1nDEcO91wd0Zil1KGUe5GEFB9lS4Uc=","+iq0RfbZsBhXlrjNcE/ulzGJu63Ck8PUdCavitXqiUU=","rEtgy2FHb8enLtaQn3vPYAV5W+WozcIjMTDVpPZqt7k=","6vFHaFMyN8TqqIlEq790GUuK0VFSS77BgfjD/0IRjjw=","Jj+pYGOAvHX0tAl8aAb8kxzq73X5J6l9VwIKWrpbYsU=","SERognzsNVvwMrMcm+cMXS7LQh4H/YUolcrNdyFDXHQ=","VnzNUZl8txaPMse4aiKoQHfiGnBNSg03WN2MRtGHB8Y="],"block_size":4096,"path":"Pe-icon-7-stroke.a7213fa2.svg"},{"block_hashes":["A9IRtHrvgvj5Ql6gGkyl3fpwkAXKXg5eAIzgNR04+wQ=","R9+6Xq8nakiCzNbjr8CAMLWbeQchYIecn0CStpUEuDw=","HDTuOr7kzQt8txau+27g25v9zO0ZoJweH+59n4eqG/8=","X2jnE4LQMrRItAY8nY/5AFE7ixMv9buHIXxTWrQJDRc=","53/tDzs/jl3Gd/YRNHw2crMr+mDeZy9JT6muDmWzNP8=","Hl4xzlSI6ZT7lXRHcOs0kCCTvzfhf0jMF5qFyQ9jbew=","LLIOFE5wI6jfSs/XqnIxWvEtLZuOkBuux1Eh7Z61Xcs=","uqHL8jJuEaJ54zKygCr5SNkMMgtnlX02Ukv3MzoW6mc=","lyDnoObHm5BeqRp9nAMM2ZJCoWEnhRdSaMPfNtqrFVQ=","z544btLOlgE01sKGmOHkZUMO9h3kz9w3fDNSY7oznj4=","gr2L2AGRHmVV/7f8+06leg2Od2LOQ4/PbLpBvBU6Xtk="],"block_size":4096,"path":"_locales/zh-TW/messages.json"},{"block_hashes":["8IhfTBmi1U5H7GK/jBH6jgww9jj33maMA0MBhIlOMoA="],"block_size":4096,"path":"ajax-loader.76f7223e.gif"},{"block_hashes":["8vCITeDdqbFUKct9aoEdU6vb7KimGeSU6fjkYU+v1Os="],"block_size":4096,"path":"anim.2a26a9b2.gif"},{"block_hashes":["ddFohdAyOwIA+xtudo6vEJnIS825KQXH0BcgoTMCLto=","TVt8GF8IMtEPi1IPCrNfCvRC7NidRj6l/405gcP7FJs="],"block_size":4096,"path":"anim@2x.22bcd7f1.gif"},{"block_hashes":["e/IAABpJ31XxCA9fPxoJvuswEQZ1cjfAQDklFgHWzzw=","EvzOgiaip4G7Mpk9YSHchlJKTCPb1DeQ2vxB6RC/tbE=","snjtLqOHgdxM75KOmbpzuQwJJ/FcnXqghjop7yNvJ/s=","SY3Fr/rZsmfTGZfKJldqggxwmPzfZ/Fc4i4aaJWTjv4="],"block_size":4096,"path":"announce-emojis.573ad7a2.png"},{"block_hashes":["xuD6xDC6WyV3mpC4FC1nxmO94k76JRB+LN4mkbn8owk=","IZ20lGQp7eTttnsDtaQ48li3yxs4C8v56HpPyECOV7M=","XhpE6OEP4dtxxaiKfA/YkeZiv4k85Vr/cCnpfR4oJoM=","N9JUYZJT535qKyAwlwnZf/KV2Q7mOhRflBEeNcBGtsQ=","6NGP/EKLZ5lRRDbXwal0a1/s1l3w83sNjae0+SVujt0=","08EpWI9zS/N9KLXP0DRpPtDoAggc2+VsodW8H5RknZQ=","zAFXhhkD5bCokeKfYUiKSLqZ2zoyEb0ps3nKzeXGrCA=","AtNp2YmLX8R1L+2FVTQMhnUhqFs2QrO/AebdKZIIspc=","1epaM16cRMvu7jii+ruyPQdoxhj4k/gaQnbPMRCfzr8=","fdELU8gLeolVT3X56ILB+VtXnoVjAEL3ITys3E9aVkw=","Gj/Bz0uumfg6ZgcKtr2rLRZ2t2Lbllz3kuQ1yIhFuHA="],"block_size":4096,"path":"announce-emojis@2x.b5059a7c.png"},{"block_hashes":["1+eb20aW6tTKjvnPbGL/CI+i5K6DZ18te+jVvRoEVc8=","B6K7mq0/g13kcwgeLOD060lygpc4K2qWzphA0q9+0Hc=","wUbYXP059sp4qSoXk/iIvkzWzeqHdm0OdCYbRUfIVh8=","bhLI+3Z4dWLqYubHscLwShPbiowEV+jDpK9Y18gIbt8=","msVQXnRcKtveqIJQYaSZwNzjl1XWQyk/u58KlDbzxME=","MkpylkiYIKWFMnhawOBNERGPkQOHDLdkJb5IaMzOERo=","Z9wsCIeC7eJ2TZDEhS9sQ4t1fe4kU3SylhkXqJCCVns=","Bbp5/8HLrOb22EjDfGSYCeSofJ7/NC4TMmnDpQtlYt8=","dbEOkFbPgUMOK3GA1t0cdgkFtjbo8CQfJ77z2WtMj8Y=","ectInKd7mkGZuyGHWyWrNQIytxtSjp8NXJzumommB8Q=","CZlr5jQ4n2QzFqVUn03oyIHOCvpVJERejGrB3XttnkY=","F2XSKFiuTW2MADHDvTVtBWkXKz4NR//v6brPjteUgdE=","C5hnjSkiQL9RajMxVgf/6EIjz2GkqG248x4nYRZ96iw=","JQQ5iN7EbscyeEwfUXYSEh18YJf0HwC9NBiH04KsH6U="],"block_size":4096,"path":"capture.102c7527.js"},{"block_hashes":["cj6U40Y6eY2kn1kImMfAswKKzTQ/T6u8lg/RoTRguO0=","8XApirEMVWcU10vucrPiWuPngRhqondiI/gr4p4Q29g=","L0vBaXFBRJme8rFaSXGAL0886Ssj+9kZPJjBqidtSQI=","W8xKJg9uLsj06i9l3Yey8gn258scCX1quvRYzL7QZ6o=","7hS7E8OvVGGsO4SjCkUKJ5s+QONr1pRfYZMuvS90RkU=","cairZ3wuduN1cPx8zUSd4QKlNebMuW2tspywf1uXHaI=","9s1Q3p945pNcK4cBe8mZfiJwVb9Mi9P2OGPkhNIhcZo=","acivqGpXT+ygluXvieu6LbuOY4vOsV3ZLVdCMFyIh0c=","l6SyLhYkeumf+WKlwGpe2N/b1MLUcitxJoSxiBY0BdE=","395Jx7IKGA1HDriPCQUZisoP6aGwMIL2eeSB14uAqek=","lABBTAp0I/EzQxpfgfOSUUXo9KsRnaZVIbp/BUUgV/M=","i+kRn+4m/SJK6FGgqg5Szk8kY9ByCfTjsvkx3RedLpE=","aqRaTArYitdq/xnYF/a/ynggbThDlK5S/hW7jXmQnfU=","HEEh4cfuvb73KJfdL93+Bq6BYNMOlJgK/kUeNLcMvrA="],"block_size":4096,"path":"capture.324a865d.js"},{"block_hashes":["1L7pangknW0/IBPaXK+xBo4eL7WGt8xkImrD36yYyCA="],"block_size":4096,"path":"capture.839f08c2.css"},{"block_hashes":["y3m7/sDzA3LLxg6mrdtIGnfXRnsmNBq2Mi6AvcqfxzM="],"block_size":4096,"path":"capture.88f199e8.css"},{"block_hashes":["aaKdG704DZgUuyg9dCkDInqsARVFKz405YZ/uWMvP98=","4iTghZmD96PfG5Ede+Q+D+97/zWYrc8alaoqpUQ+lXI="],"block_size":4096,"path":"capture.8fe90b06.css"},{"block_hashes":["Q35fR9KUr5woJ61l2mjRjFw+lBdmoU5oISGo2Kz9/Uc=","yQTLa489T2VAwg0ak9fmejIDKZnTAmhy39ewGLDcmb4=","6fIMXdLnp9HJIaHwG99vbl2/cvLzTM0nUq0HdeA7mZ8="],"block_size":4096,"path":"capture.9e1e88bf.css"},{"block_hashes":["sL3uDXLzq65GMJkw3LCp3TG93xiowuIYslOQV9WCf1s=","zrZw9eAxumrwoWzTcotssin+t9keFRXQEuACmQZKODc="],"block_size":4096,"path":"capture.html"},{"block_hashes":["kvD1aPYyuMyWy3kjBP3qstRO+BfwhZ9/24+mRivlV74="],"block_size":4096,"path":"capture/index.html"},{"block_hashes":["tXW1ZdrFM40D9v+zeX9A9G+Qx6Lnni+ZDtCnMgFb8hQ="],"block_size":4096,"path":"capture/redir.js"},{"block_hashes":["Z+qLdVi7+Muep/KvFpI+0VDT21Z/w2XMRexNDPhdbIw="],"block_size":4096,"path":"editor.0a5332d6.css"},{"block_hashes":["HWJUXrIcHMEHnAULa0oxUSm44Mm0t+g85NOwePwRt/Q=","zbhrbI7Wk4Irt8CgfHmGimSIsa5nfKAEbplbCzqTYVs=","NL9It3MxxFcN3FpdnEmF0dDx9atHseS9dsRX+h47lKQ=","2GQNpMWXXXVwwF+6ggJ5r3hVd/4Pi0FIUwZrEYqh/JQ=","Zg/YXw+hieI9/WRgssUn33uKCe6BJ409i8Mc8hiZJ7Y=","ef8dE4TiGpEqVQjdvvu3Az8aKFy2EpIiRZrbqUsP6go=","YxTToOVRMNa9hCNbwYkc7wlBTVnOBycnGJil9iPMiug=","hBwq/v6oldePLcoFBjkTipJj5yAo1GVtY7O9Z3k6Cdg=","igj6bEv4z8OWBNdxdDwJuBahRSUOc6mrvbeKL9IuX4E=","idrmGimq1qztppr261unbRys7WrS/0tji4qPi1a/Puo=","mteZx/cbWC7r4XdTgUG9nCYbKUCzFWosDU+KvbJ9viI=","TijlLyD8q5PpMn6kF0PdNIs0Wzjs0FQ8Aa6RQsh3wO0=","qbH32Y0Md/Buedu3Yzp0pvb/jQCryXGZ0pEvTd//DfY=","ySXy3vdZqkeNoLwgvNe43z5IzfTq1/5cxqQ6HB01F+k=","H8m39eQev17EycmVbfppnZaOtQ4CB3ZPEHasynlHbkg=","DYTlTmy7V1oV2egasGu2srOINXpzOTdUfucezpS9sd8=","uacxSSLFT0aiW5w+MAyuuZMmEpdEzibqdIIy0jF9JB0=","Yxu6LZ9i79gmMW7j3Tt/nfSn22Ecku0bK0MDpRDwD8Y=","bqGXkQwhduJgeCN78zXSBX0AOXlMRR2pq0yjl1p8rOY=","+eRpxaAnqo44+xiggiwPYLAaPSsWcrgYhnSCcPInnMg=","qwdJyfe8VyVMRjJ/Ot9PWzES+qC/Jtea9Ll8J4rUlHk=","o9Hnf6yWrBQyPeBqGJrIcYhj0losoNwYkXP1gPJxnig=","+81Dg4HtRonTzGFYrkTCRHKEequjksG6dxvu3lKuGFM=","d9xFHm0csoAEg2NbutWWAnwRgt/3lRtu+ywR3LKoPQE=","BweqxpSxzVlj15JTpCNsLW3oMcHr8YsA/DnLbsqw3Xk=","5QoLiGD90dX3M1X2Y3w5smau1O4mUH2Q1JE3ywiPXYE=","cwUN0P6dK1tyx6vAXegb+RbiuPKLH4ul+HKj08BXt1s=","Ss4HB+xcsfuPxT4UMEhTDNj3UklhO14gEI6uWnfklp0=","0eagGNRXZTNfk+Rd9Ptfn6oKB5lW7rCAsM6h+fCVcXk=","CYvZRGLR0ZfFnWN/bHaWO86yvE+4Th8oLQ0IPNAqmB4=","hbKRekeSQMCOqyE591utTrc4DvHjO346AThVydKtqu8=","Et5wnTn+ajsEWPTJA0tMGqfKKjhTGRsZKpTL2525YNg=","HWqYjo4bnAbfNM5Mf1hX4L9L64xLAtpV/W9fQ9e4lpg=","9QkXol0xZVIYptg78UpCUDyUr4otleAaU2+nrCuBLws=","/RZccT4CL9Eqjh8eJRW4JbCf3mTjwLrVeOala5hkNvQ=","OkBXjbjJbqysOawbGlrhCuWwyvlAjoWGB47jOEvB3/M=","I0MWbOpk+ZOma9490TcHAoIDdUbXjGtQVM9uti+Qfww=","tVhlviYlnVRb9nWMQVgF/c0pqwlu9iKzRnB2qBBvANM=","RlMqMo+cJQkryiOwwTOdqvmjqTBlOEXEzNayUr4ljD0=","p04VBJo9FiWYxTYAgCBv2NrOgp9zVOX0Xq9DIq2ckXg=","tzUW0/xQwYG+7rkPX2XxayTWXY300wsoSWxLI2jcR8c=","/GPmOUdgJhj+6XX/KJ/o77K1pXWoab/YlOb2zpdZ6H0=","nc/ZPVRoWkQpx8Nm9dduAYZskNnJYjsH0FKmxen8HiY=","h8WNsEhhADRDepBCka+Mr3VPQLpcn7m6MbQ/j6XJFVs=","eJm78t2RVZsKCcKjgj+GZaYie0SvyDGEwvAKhCbvVBg=","z1TaMLjkbGvRXv++lRvguMFTsKTiDEm8oz6qj2jsboE=","hczbm1nKHaUvPPN3+5zaxFRYDQFniqe4Swsgm1zs6dI=","KQvRcaQJVcqISR/YSwTdWKRVsnU+OoaqvNmE9h6agg4=","yY2ROeOkbiFBN72XfWPV6pzM2dUltC5xsCdnxepT9Gs=","0aDhEom9Aqjr0QYqLOjXZi36O6ETgoxcdb2QKXAW/2I=","jB21wBSyfZTgHBtzbOB3U1zQvLuXS4DM2OognI4npOw=","wjsTZBIEOi/hLNWmwoY7j/TlSoDEYt64z5nhbzJ7aRI=","omaqUMsk4gLjuC0tf13ZiB0jTdfwG0Czb0jCxWDwgV8=","V+lrZkD7IPX30tfYa+7Py6Y4AreayQXgiYLm05FEf1I=","849xWoVXD2DCdV+RTDtYZ8mSMrDMKpi4IuBmRwwihBI=","ogEIXKT3x0os4L7tVGm6RKbDa9hpnDuMtCu1lpt+n1k=","Fe7uWz9bEh1TuvJni6fxPXJaOkbCIQ/AWpy2/t0P+XQ=","158dr4rm6sU8U0Mo68r4ZWMs4JVxGreS8v87mPm/RhI=","StSZZ+H4QNUma8tIfL26zva2SYa0vsztImgAWGydrQo=","V0gCUlBKf3p/w5HbI9i6v0eeoXr0XpjkUieSajCOgWM=","dFAU6uQoCSpdtJhTSIjaeUKRu8g3n5JVZ8ZPi8rIKiE=","gXRZ7FRGK7AC3iQ+a4lCXCxOJEQia5FYMoGSTAo1+S0=","1rHPUMiOWrpxIS2KOYuz58IG/QLzrtiu9UMwSRPLEB8=","Q8pJuJdHFQuinm1zu5r/Cbug4K8MZlj4j/aejhDyIrg=","iTSeVUcCqapfnqUzgZnPO3rZ39UgYwcL6f/zouJLVGQ=","fjzoaOjGJ6uXxYio5/2vbI+RyJtCDjaGJ+ZzcCitrxg=","7gVT1axw7eRQPNX++/NKe6nJslY2xvHqzlRIKaSLjaE=","1Tp0tR3p4sDZ4ZjQ+HpD2zyrDRoJSeA8oHDlYWNmIVM=","iBt9gjoBFVWIgD4nU/v9vn6S525lD0a2bHQh9i2qAGI=","/TpsIJbv54WjFqMGRmwjZbV9X4OXZd2jvUi/bc26CSA=","5f7dfdI3AFZGGhnNjFqTmPfQnngSYxOdgOrWVOhUdkk=","uT3cRtW1F0+1Y1t+djM60zQFKJzrLs5CNDW51zp6/Uk=","u1GId/M/+va9cH92e9CobWzsB8QNy8OJHSU5mqJyraY=","sMofkxdLqJBRpLy5BpQYA+YzkFcsgVxcRu/CspSk9GE=","Jv7yZQ6H5TjgsPbxCUL86DI8nI2FDm0B4owsqMOD/wc=","RthVT3GClsF3+GQx0NgWzc79xfcXeQy8e1uT+OtGdDc=","7mkpgjxfikHKAtoKR03FLD4603ydq9ZKs+v5hvVlRFI=","NrVuS8sohVF+Vk+2sQwOO4HeaukWxqxOOkAyJxI9t8g=","+26mgmHpxo3/FLPSTulLWKrV4Amca73sGw6U/atvgMM=","JriFJ1AZagXVHaVUMKk3GL4U7oEfxTsOXDbIBCbdd4g=","3ydRYvoKTCbafW2LVZ8Ffv8jsFo+fjiBzx42bgo9h0A=","tZUYsvbsMHBq3oGyqLS0yEBMfO0xi/908m944P4G44M=","Pl2HJBtacb+xRjDk9UKmORLtOitr6Y1yC9j8dGtVPMY=","K4numYPn2l5lwBklVoLvZyOYAA/Rz2cqzc2+m0LrmfU=","03dRuK3c+PAA9Rzxc+lZG+Dr26TqEl60Ls+h3E2aS3A=","pSoqWV6RFkhcMF+fkUicBI9UsHKx38pUm/mCpFRR9LY=","C+hfkSensOkyyJRq/MYU/v8+1dCj/dPnPgtO7e4KZmg=","aJb83N5Bo50Cw3gm5D6OuzvcCuGFMLdNCHnrazkyj98=","OPxYP1BJz9rj05t0o2YBVgHWUGqZRHgS/DrQcLahmH8=","K0nJuhlPvTZmXs8DMw0A7SA9SeRc6FL4H0POOfUlbo0=","8CzXUgS/MJ/JiGyfRwoOYqKe1ZOip/9Q+EYi+LODrJM=","ErSQc2NX5PdpenHtNDV8GpR74ViGBxsLFpBRtwFG6Cg=","gjMxKcYABcVnoPgza9gTwhZ3IkWE9RdRfBRFxVhs7R4=","oUjXeQmA96N2ZZycZvSu9DFJSPQM8yJJnvo/b1zClOE=","bclJ+BGCH5TUqUBkWQn78dsMhrAi1mFg4O/pwe+tV2c=","qW5YFWcZ7hyX7t7DyGA25GpjkINECeCuqfqA1LktKUs=","9V6Cs7vFVO90Gbj+BJOJxvw6AuW5lSyXlJsOmOQHesk=","pm+wpa5IKwdxVs39UNsNfKcmQJArzV6OAgNSXWREjr8=","M3XYeKbgXwcVKS9uLc/GCW7kPqFfOr+1ilXzBD9eehU=","IJecX/pyzNgyJapDh85x9Xzw9HwE6O0zOxYGY6FspKM=","vcqqBwOeaTDjXrddtDCgyj63aq0D3u8UtG+We5UjwDA=","/QMhk/ee0ylvAEl3L4vuJ8oNtGKADFOJof+opQgnmXI=","5756E5R+ZyZzWzy7ORPJoHOUn16tyekPsbf+j9XVdhs=","hYiHJqgTjY0r1zY1l0RRbHOEHUANBUo8J7yFTYb0WL4=","htVPaaDg7XSW95IKFJI8gufuFFlyI3J9ypK7A+n5sYE=","E+RIY5SD+LNjK9Hst3ztwiA4yx5TcwhbKtkunMJtZPM=","omlYzlcbYXS45+3SPMqsM/HJuIFCGoH3JgTKTpy46nk=","4yps01VOkOZVD1mqQSPRPj8iEzoC/KTQw2k5zYP4BU8=","Ur8Fj+e25E7dDk/zPL+vkX+PQsZL6sHTjEUUGOO4UhM=","lrcVt55HO60RBgtgr+YU3lGmCr1mVGx99AsKHdVEjZk=","PS0ZkSz8h5gKYMRswUEBxR4jyaunX3xCE0K3O+/spAQ=","QZQext7m03n4gxcxwkuprASWNIhXfV1fH5R2NmiN4BQ=","peKv3ny5Q7aM5T7cjSJxwBlPvPQ5IyA/am6GelHCPRY=","+2asUSBH9HW3XYESejVJPgSg53e4Mnj9TWCyBkghiEc=","4l6UYmHghFGWssJmreI+fkMR7jXYByRpXsVf3y7hbbA=","YjH92mYFZlKbclLjLlp9Z3C4GMFHCj3SowtvF4446rg=","ze7MXsK6Zz0/EABAXklL2cake7xHAvcDM7lJMY7/Kdw=","dYndyK9bJ5zcW57iSDdEyt/d6hho+5c/kBJ0iNWBAiI=","3nF8EppoY05MgfwI1i+r2LMhSS6xWCvPuWwqDr0f6Do=","dPfPyey3NbvgGNQSv3r4BsewPVesvwyYIQAMnLnF9zo=","pFaQ4GmNWycDFoMxAsvm2x7vLJd5v6y1MVqsVO4qzR4="],"block_size":4096,"path":"editor.286d9855.js"},{"block_hashes":["wjMmWy8sMT0MNfbfsq/KU4FzICVOmp3Pp2W2zYhThD0=","qY5evn6fC0OX7pjb/aT4Pv84/NViBAXJ0ExNiFLJ9ec=","0cT+ohuu74vqyVMF6gPHLuI3gFDZjfB+YhuH49aBFxE=","yatH1k9e71zFaKg+V9yT8HtBQJpq2bqWg/QbokuTtKI=","4+Jxxy23WET4VYKeQTR0L0/2F+9P3yNwNeGnc1Jx6sk=","C+BU2MfBaG+Yion/KsuXziEuVst7hOBuE0K4MwSMR4I=","TNY4FyU2JnNfsFVMKoM7P9UL+phDbiz1/OhejQXYuEw=","OYXeWDsjPXWOLl67D+gAGN/qcd3W6eiYDa9nhVOdGDY=","QeHtjzbqL2qzQSy75gKy0bbmwcdCwcRCBddJsQoWVNE=","ufP0XLVHw+NVP8SQsru1X74Upjb/Oy3N7xhKPkVaDRc=","pst/7bxMmf2JVWLiM9Bp7608hXO0qe+vLh8lhHFL/qM=","qt3P2YJWExo+Y94IpNEjTSJ7s9glgz5SQxuJKKgkhOw=","EbfYE0jwr9XA6fSp8OwHO2x+NrIyXdKu1BRkRroyMPQ=","HgzY4pRKQyYUa45bwYYQimVWDXuw4HKK6Vxown0fmn0=","JmGoR2fwYDvtB2fvLcr3oMKlo9qEQDwZFns398GFTD0=","2wafyvdgYFBm9q6u379ScOCoNiow4Oanl3c03uv/5qw=","zmLV6Ov9kmBZQqSTsYltREwwUtLNzk9x1Qx8q0BO8fI=","ekREjwmmx3B2twjsDhVtfplbRBlXcVQVBnzO0ZpaI3I=","AFjk3Y4jx8vb2H0f47X96xTHhfVgtn6MJGq5ezqjzpo=","0W3Rk4Dd4u6Fno1y7rl/b/cV9bhS+c/ntF+KUBo3vG0=","P9/okJbTcHTBwZIpPpPH9MdnebZR0eoHXZGDDf3fQA8=","x9Q4YgCBFJa0g5TtaFvUzz4axb1YB+gSiZCCVKshbo0=","AMCWwZ8G3gmbmvxRZYtOQ/7SeXSUYqCLf8M7SgIuvVU=","yjPD7btB4HvLYDG586s8GGWgvflf02OS9SBArfwYVww=","1Albn29HqrvvbB/BY3SOPG+BvnJQD14Sb+00oyFSDIs=","2dgnlZmRkg0q3v2YKyh3WhGYhY/FGJPecUNslWoK7l0=","nlF22Tpi2rMSJn7GTVcMiZkXbzyQ4pLcFBymFBGEBEw=","/uX073R0UHY+Hr0CSNDkQVEe6VTMBR+/tCDi+ffnJn4=","GT+3HSEVwwgv8I/kOgEVgIn8QITBcX2j6JB+IPOdX/w=","s7lM0oiSnlvDc6DPCMS4R/Ut3cMCL8P2OkoBNsTTKXM=","PsOdoLNaiqxEBARTTQxfv6ufQ4zBgTK3vqGaR+vB3k8=","++54xh/OOLpOUtf35QZszEENqNvt8RpxXWMgyCIIaXE=","/YTRZBNCPqFILUUPCJN6/EOBknyqlZ0+dZ5Tt/noh1o=","/dNYrsBxHuK+Rn8S/N2DRARI+59w1upmZ/2DdCgHbns=","YoXmiZgKKYmBc1wxAbu+KM6W9f+Cubck+0n1Ic6A8OY=","WtWgOnDbmO+PrBjICHP4dnlndXjH2UxHadspb7wVzCk=","uAUDxVgWnV84WfUp/CiVe/9AjHl9sOew7gp0gdhIaYk=","C8SKT0pTOadsLXad6cd4dVuJgAUM2DmLAMlOJV0jHg4=","H2OMKzzwImmhE4w5dt1nCF1uvvHPsTBNfARToyqUKU4=","gqX4xvocE4uFGZc7SF9rhmPJ1C916p/+9S1iq3x6CyI=","nwDLNP2sRY5INoNQ+5Cx18ge0bMQJEqBPndJZ/uFP5s=","Q3fvAgVdUtr+PDfDzyYGBymJfwZk4aLEaTb802KCtN0=","+7PJ9rDlqdKgwcAC5CPE3Cs8KhwPiOSNcx7V7uCKGEQ=","Nj1da69lM0wbgklMiZxae53TLxgvTpV5geUT+1D1ic0=","/cQmMeRAJcCSVfrzTGLZtMvoaZ1llxPg/VV/6/auP4k=","Dnc4jMjCzUAkOxyG3cKI4otDGQ6UeDUMt/AUWKD+MKw=","v7Z+DxKUSAfPm/8kCnaJ+UMT71PiG7s1n+g0FcKuEq0=","8XaPMUvSdDuRrK6admAOIFKqDkAA79cs9sNwYZ6EA7c=","OD/eqW9ZS81DOKNHjD3bLhi6omCyJv63WDpy5s5SqJ4=","EjSCeW5QYdvna7S1mJV5rTEkuf6mvUHL7MUP4jkHUbU=","uGWt9VFF3S4iRlkybFPY9VFHRxQgLkNxczAR2lu0otk=","iQeM+fskVkZLIvKYxeI1D9bbbFK/biW1sXiCi5DjUNs=","acHi5IAhhkZIbGby4qaZZ19XLUKgogCpM3ZyLsIUi9E=","FAqpvIk/gxACumTBpzJ/Z5SrCX871YR1xwINd82iSnQ=","dy0cF2HYh28JVUPkG1nZHXgb+VWZh9XoPanjGorAuAg=","qHjbmfpMsewVb+ONXGjGUQ2nBqQbpGw8uyDVYvqyXtY=","da2YcB1rZrGtHOByVsF/vRB4Fvbz9XLwM73RJPGFVI4=","Sbi5SuZFrNiWkhgGdG1J7jYm+WxM+ov5llcEafc25Js=","UQ3LjfC8i8BveixoBSjdTwFjBPOoJtcoDCYRJmg/X64=","+GVdjyHsxJuiTMlrQhNAuB2YbQTohavx2UBFmIxj3dM=","68nsiWUBWrUZ4Q/8xiQdEU5mqOM865Y8tmDsKEx57Yc=","ss20qzil5RlwyMkFLmRL+hnrA33EEiJ2WNjou1vPwcU=","IinBMniXR8iTi0tcX6rmh4+wNn5V91TMWLbyyBXT7cQ=","C0o4Tz++6Jp3KxCMuQOlBgJvXGZjYUQsQXXbEiVDQ5k=","qbMmmAllwn6kJkaLSiBfwAVt6HUJQXzzRlDj6T096sU=","FfGYp/HgfZiw8GbR+8/z2J3tGs/QOP5Wqsn42fxg59o=","PujBR3MYNkhHlKYctoevU2HzGuV1SHnR/DxQbn4ekzw=","3phXqYyEvXzkyuCRBIMe+ppFRDgxbTi+GDt/6Tw+7J4=","9eJa02jj2BffiYOEISQZwr+S2wUQvBqZPx0L99y+SUM=","xA+bUZxj6nx+LaRZymyynhuh3+jHWL9PI6IEBcyQA5Q=","L1DT8QaNZB0QIn1tZQ+OeJ0BqVaQqe1Oh9rjBuXKFNU=","gKlRxWpUivDO0NaLBD2eBCgIYE3OQvoD2o4XGzAPfsU=","wvgGCZurkGXwhQoE6MQPc3Y18fjlSydnkuW4QNwaT+U=","hHiBPp6r5aE5yCsrEz+YZPYACVt0TIQng2AltyHWv6g=","D3F9/0ZK6CBWX8edm4XPbb6ZQkdvqYhDqcn5bY6ly5E=","DeowQ1UbMJMb/Ddo/pKTM9HDwM9r/3JkSa57eQ06b2k=","wkq/lO02nHAm3N+mnPh84h0C1giu5qNltveMTOAuHug=","q/UxBq/pRGwy7JrhH9NFtdnG2j4Q8zZ3FhUqRculuY8=","tSSlAIqx1XCvV0D7bk2AHFGaT2FuMI36BDKDUwLoHnE=","sDd5Spqw8NdikjRqrOmxdSOn9dgPsbG8IpakgkfQmfs=","TZkswCVo/TJJlR5WZXLCiBCKB+jlZuRN708J8mmqb3Y=","jlvKJ4hpIs7um/9x+0Z/XSFYTkEinBs7wD/IBBYQeVc=","1661fEAAyVzjzEdZcrQnPxk1d0E78eESR+wCRvvJwFA=","USkZpjnRItmwX6Km3GQo+MZ8dSg9Q/IWGCoaQfKlF6k=","H1/mnZr5jStuj+QiSqwJoWRqMF3ftHEqXypT9AyyG+k=","C4Vris0O12l6eN8ZjXWr4D6Fi3QYzZBngIqtvW8Lj5g=","9XYeqIbyzJ/BAKre9i1h6zuFbZe9QUAXVxAk96Kqr5E=","bbjzJzjndbGPCx3WSHMxrm9iGveRKILaUjQ2fjKmeOY=","Ho9vz+Dm03nzYcTAeqjz4P3Q1f7qR7BGzC18yr/Xge4=","j7uJSP7oeqZeW8FRzTOizbybiIsc5J7TdNuuKb9V7kA=","0nDgr1NgRjHf4YSuxRTyP/8IipbB03foXfbudX2FGQM=","wa2AzSOl0zI7/3HhCAIecK8u52jlku8gEwUjuT5nLN4=","WXlOcf4k8Qglp8f1tcxlGOQQkVetVHcwufzhKFLwRL8=","0yU50Nrf/1BFc4WNYSokGu8ICz6oaVq32FdfyzO6XiY=","MJ6dsirKnwn103j8bebccZqj2qQqoalRi2jY8DsmA8Q=","qrNrjaUHIrQ0/eba+adU4p7035ciLE5XbeAiWPkxCBk=","kt3fP4DUvd7VRmAEOkIprCy09nLJkRFyXX7SrcjQoMY=","cW1zZWC8ozqeQNY4AQhwfqTyftfygEGXlTG929BuMNM=","Dd5ZKYrASWTKVmgskuF9s3lZdYM3hmnVdP22mUPgA48=","CTn+1kxhlZ7k3eNK4g6pdYZHlR8eVfY1iNdUFHipQcg=","swhc0Q0YMlnawcr3+cN97VO9SKwdL7s4GRMIBdDUNl0=","ysqOCuYJy+IcSauZhyHshslgmG9sbTmDPBVziqaJdNc=","vuVKz9vK2BO9isK3/2saI5bPDvfFHyt83FwriJ013dk=","BJFKZ1C3pbyP4T4mllLkQWSaosSOke/EDQp9g94CXQY=","+yxrhP7lxcMV0p5u9ohHuv/b9iNX0SEL+PqLNdWX334=","p0ZKklnWdTfdnVVAbKjj08pkmdFjzuzXcBuPpkXUoUU=","plVVg2uq6WI5KL1OK9aIDhdK3kHtKPcjx85tyVpzHvU=","wTp+eANuYHnB+DNYdHyz0WgXLujV1ujMkNVne5Aenkk=","aR6NL/lsY/VFeTP8ypt2L7jrmqJyfdFFeU5xB/4+7uY=","KXp8NSI0S9LN3oU3/XxnlrvR7ciBtwcWsqDIiUUm768=","MyzYFFUX5jlpfIsPhaemVc7WFHqhqLso+xYSwlB/RJo=","iEKBdUnZ5YaQt/hGboUoTo6YQlDmrkJo5WAKq9dNIzI=","8v2sXfdWD7PX4+dTRlIhx0aAUBAVz1f4lp64iA1e910=","WbGuNcYyibA2tF5RWfdcDLihX5nxE0MeuDrIiPF9qR8=","1/1MaDmaxtiehX76E1I00NxueZ3ISKz4d/RZ3ggmQis=","4QlXuS9fcXfnKnTOA7RRc/a+yWxXyMeLyPuYSEaHJ9Y=","J2TYvViRO0NXYzMXR6cUS2NnPIXAQvXBANOfDyG9dG4=","3nBAwNmSRpKWoSzzXIw+E/8zAr3yz6+sQdizSyFEJ1s=","CQ2XIpnM12chKNk17Ql0kbqaF9QPYK7fRB1JzuY87VQ=","bjZMuGDFP4NfyNQdZgiRv1GbrECIkiLJmuD8MxXc/hM=","JSxqtMXlVA6+vwNX1bBxOjBE7aXYhIX75NFfkDm/fVE=","+pFm/HBcalgm0vgmjyppFuknTY9zDpyEI3O5y39FphI=","BTA2Do0WlG46yoF+oMVjAGvZVxVFv5ulBUZzRVjb9No="],"block_size":4096,"path":"editor.513d0955.js"},{"block_hashes":["NgubzeozNsY1Il9LUmnwftnjS9KHJe6P42nHFYBucB0=","WEHWD+6t60mjppEZ+1zCUiSMAyBsKctNnwKbBOjOQVU=","GhMWgWS0nW54Pw1HW1eJaOxfxb3VjC+QLX1H0oGDXO0=","8o86B1FqM/ntwA9mmgeOYExdEQNP32rS2awrMjyt5M0=","rd5krQmiXUMOyFCAYIHLZolkVlkYCIkMRVxs+K74eDc="],"block_size":4096,"path":"editor.ddbd6582.css"},{"block_hashes":["Crz+pjcmsuO2okoXE5SSQ/4AD94+khHZbsUInQrWh20=","5YBaXHK4lgquBakGSrmrY8gkUEkseO94KZCv8Bo5SC4=","I8L5RPasM9XuvpgYL5fvf8evbFqN5ApA7OTNV7zzj2c=","kMXOBWZG/94m4oCSau0XTbNVcI/rFU1jEAZs18di5tw=","1qIKy4SC1XdCasD4pP83qaL+KPQ9EiR3wHQgSX81u6g=","KNVRqNzowSa7ZgQv+4bBIHxxmMO4y+rSt+KksRCbsxY=","bu8zMgS5U/c/ClDuMbcWAC6QGz5uqMw9boYXcKodjWk=","bpbuXVCWfMjWk2CmMyYj4O7+IRZFQCBZJu1oiHg2LHg=","6eDH9YjUoqe0dE4GrD/sez2yZPJXzgzWbWpTR1qhnRI=","hpKGFEgIdEdKktKIbRhw50vERFtznmTeLDtt1j8NyLk=","OKff91uUrbR4rIe74a2v2ovqEUPXOoFtW4NBX7yLBdQ=","Nqewq7VIoZ7mqZwZNxIEf0NLrhUUiJElN+EwnCXAgVY=","UvB58DLHRXai4Ai2+eZsEk6Walaxn3S2WOwCJzYjETM=","0TtxyUyVMNkG81bDAS48k7dGXj4kTVXdNTNTmKOM4+w=","fMHppWjvU1dlQ3OV0sNPLIYF8qKVxe4v4a5qaMmCCqQ=","yX1D63TY4dXG3qhXORe/jKZiz8tHgg94RE0ymE27bto=","ZvZjFgzQyTuKsbnvIcYB59vDHTRxaGat+p28iawHZ/c=","TwuMuyrQGtwDcjFmobu7ICqT3G4Timh6UniSs4xN60w=","0BwcXtK/V67mvex65HaD3YfGNkUNdu6GzwrtTeuvG8Y=","EJ0N+YendyT3zHqTCu2iND62qjXvhup4bFvwxoys2XU=","6iPMPRg/GuoO+ZozrqyLyRT6OR/qmfuMnbEALH4qAr4=","dH0jcIYKYZfKCsvu550mAlBxxJfuXL5z+MIFbVSrAD8=","AjejWzubgm+QidAa+JDxa6mRIGROy4sEsufto0sSI4k=","xivAK0hu+mFzwR3qk/x4yFC+E39GtS4tDy0d5CNTOlY=","b06BZqSgpYU7YhdS5p2cFjDl1PQeBqmHeB7GGHBxpaY=","lNO6elKAi9yJUS5Zlm6ok7QEAhAzhkdEw5DbqVAR+QM=","JVrq2tRyFVSYDDOGQA8pTR/oefknq9WRgNbTwRYHYCk=","7YRDnTaV3STU8y5T4jt45lQRJj2BMUciDMrVB3yLKu8=","JgYF2vIO/tG+QTTK7v3HAa0+bDy7vbExK8z43LMcd0c=","J3j3WBt3k0hiK/S6Z2T0wIm8/kyYhCqA+9GFSVA5F6A=","vpaixqq/QzqQvSu2GsQEzGBgWBYVk/cULNWsPyhsX3w=","x7geh5yL3mY0KGSoCbmo0nYtqa2TqA16Yw2dop+A1ZY=","FKu8FjOyovck1a6b1vVGRauKbJbCkwUoV7uSrK8yhDc=","Doe754WG2g/MTCDVFXuug4EW2EELls/n2J9cZsnu7+c=","3irHo74hOgjtFa/pPCC5hC5A6qS4QZLdBE5ajRPncoA=","QSzUxI6tuchrUk4Q6QJoi82jsert/RUeKRJOKrjVg8s=","Hc/yYDGLLxF67fM8MwkgDqsxustbSJK6J9dLGA7BN/4=","l5pFVPtXNV84CybPfBeFkvhS2X4ttbJkXch/gz/dMfQ=","fl32H5wzSg+6szJ9Zwx5rwwqZjRRiHf8iIeGdbDLkDY=","ZFi5i3ZajShoKdi/1wfmzh9ST46OHr8L70F0CmHiChg=","7yFXYj8GUDJEqpUH5BqOrhOPJWnsvPgeJbfVEhmBqQM=","f60fiIKc8lYj1ZnreFeQ96aKqVb5bGeH711dw5TEcYo=","ZXqqus/Koowm/ji2R+BdTS+BLn9ckn0h9RUFAexmpGY=","gcLv9I+SWZFy5yV6gLj5cW1Vs/mthdwO9b3bmDotQkg=","QX9l/JTKFaw5gwpFNjD+2ApBske0XDlWGyQFjzVTVJ0=","FpeiDMFylboWUDm2IWvrGZnjwjEzjaCLkvNwCI/v+UI=","sFktl+FncSqAwHOLc+D6QL70mBE0U68f0qLb3zJBZXc=","7VLLONs51oEaiIY/L0xO0ouhwl6EWHR3utN5VzMa2TI=","Ifh7my1L/VBltsEkAvdZ/1p7jGcN6AJfR53tJEZFxEI=","R0CvNIbObsF0IEM9FLKe3MvkvMdj1zcD0NErO+6KcgM=","R7yfe8S0s6zuTkv85BbTCbrYu6IaY4LIjbx5mr+xRI8=","8eV88WEcqkT90ni4kDYYPpKxaArCPvtqombboQoD4ow=","s5O45Hl6Cr7R00INPEGfS73oPI3Q1Ui90hIYERy4Vvc=","Xl6565w6zaV/50rH01g9IFymR+Bq5IWMln2Q3eeVU90=","5zzV+Rz2+blJHMyMZZW2OP8nVMDePC4FKoooNXLzYQg=","7RggKg/MzLkhGu9mE5FZdz7GFGMhXgG5n5dzj2iJX0Q=","0g4g591tpBljvd7fTvmoCBneOq9iP7Gsk8brI1tzX18=","o0mMHPr0FMoqVBD5snYH+6KhhEIO6YU/yBEA323PPjg=","3s2MEMvLeI2I0eGOTxBP6hW6XHTooigsAji5sawFU8I=","A8Xpo8HBK4/5HYo/4Q0sl/Jwu7ywlTNl0/4e58X4E5Y=","gUVqWT1q9U5ciqOEmC9ua1l80tpB0ErmOBLWibEvNuo=","nBBbU2dKb2Ft6wEuRAbhWuw5S6KeWPA8O4YSsP7Voj4=","RhfaSugRRdoGOZg3v8yG3/mugn72OqYw5asn8clan2M=","RKViDKao63/Qqqg3EazNY8WCAoBBgyN3DS5312bKS9k=","W56xRJymraP2ibm1z6cXQi8Ave7fp4AiJ8Et02YdWe8=","YmV1ezd4pIu73bWBVyeSFqMjJ++sfxMmd/KZTMUOyL4=","azvGiY43Yckz0xoiEvx+MZolqmSTUBSExuSG5D+L34E=","LXPVXXALxb4nyCnyxk8RK3K8jV14yFeI5E0zxlREi7I=","A65HAWX6fMHJI8rYm6qesR/7AXXDf0R9aSjx13Mp0Fw=","mGKGoPQLN2p5iU8zTVZ+CsUX24mYYNskEosk6FzTss0=","v579sWrBj2pABCrHWR8k5aE/E8GdcFeHSIHpFXkMXXg=","PC7hoWvRRecvYhLmf5e06hm/IaV3YRqA0G20IliOwB8=","8z2Wuur4jmoK5ErZTjAdxs/xboI0F6CC4dMZ7B7E6/I=","yUU1dcjPjUmBLbfP4NJQMcFtzY3lxehPm8Rm5pPdYBM=","Wx8KHn2T5YDzAxFqqJboMIO8zFV6mVEnA8/FSTk37SM=","raufs3p8g1bYuYbO34h+OfqGZJB01r5AJ9vJ9/+qTYo=","c2YSCcmpcV3r7epHIq0V6+qpZsd8mP0Cf4GYByfxzEQ=","ARIjlAHMVSG2QBKfGk5Wlv1EBJSLuHDjIKde1t92zxY=","0VOBw9ga5+4qZaCflAWSYo/tdVsBP2sO0VgXYT1HgJM=","IklU+Ixg/d9c1gdQYbM803v803bkiOt3TTi7/IXtV30=","u6uLNqGl9YuepfdlEK/YhnwJ83KFBmrwhAlpqwEzIbA=","BhYzkms0ZdxNs+lcC6vMiL70X4V9AmHlyiOD3lOn/Mk=","mAyDRF5FMzFAXzTqCqceA4AURtJYEpsnCRVj/4O4QQo=","6uP2tVyoXCytath85pyvEzCoEN+eVs/XYwtbTy6wR7A=","CbiaeGh1jfQIhg75MFyE5LG14iLlu/XdcnrQBeCz9ms=","ONQDSdMoM7xVqhVqX4+4ffMqrC/32hgIvipPvyLOux8=","/WOlpikCv/pk8kZIc288YLRlmwFFZF5DwUT6J1PW/+A=","CEmS+wJy91Cz0N80HQZimxaDxVrBKZpKRJWGPrndnb8=","U4xpcgvLV9m3oJKnZbX/LDybBl4fWcySpd/YM5Oc6rk=","kBlKYXHbIJ0igjql3FXzW3dKwtM6rbPzdvqSI5pJn6E=","wHR5G7vdtmQIWrxwSPuJWL+NxDJWgCX3y5+MiSFCDV0=","iKeE1Kg3K2+5eakSMy6K7CihVJBclQoZzxrX+knyblo=","W8C4WirVIHFCv7G2TE0W8Itdo2p0EoiDj/wPgvCTq40=","SdRV5D3xcaks2EN8spduq7OVxMhddCmvgiOYLPTyQl0=","UAU/14St2CHsdf5P0VChXi3RFVarw6JEqKsD3yWs01I=","qwT1JX7acIP+VheNNTP2V4ib2vlNUGmKbpx/ZkKbHm4=","ACzQwlhQ4ImJd2eJ8EyqxFzc6hMNU3oy/QxQ4WSNzTk=","IoGZMsjNVHk7pVShDi8bw/t1GwjKmTsVO2iVJDIYJ/k=","6aWKJyakIvt5bWkRmMxJLYdY/3IgJ9kGg/UvZ/es5RI=","vYD6F9TwdotUf24bA/uC3pPSlWbiYqsKsp3+KG4lO7s=","miPzlj1PoC45RhYmNPsN7yYaoG2o7tmCI7/YjZYlk3E=","TIGwqhF9fEKI75kqXSYKM19LUW+SN0j0xN76uBxFMaw=","UGTnWe4tZwF3u+QfAzJ6SZvzw8woAQuRTr3snA1TIKw=","gsvx58wbFAApxvJGi4LFvCWym3f2cwvs1Q8UyWRlKoE=","LYWOcar4Wc5YnuSH+yk1znyDGEAAPskD7MNNIfKb3B0=","cuAlVw+Vx3uLKCPcD2SbsZf4Wd3/aQKGc6NRKfmcNgg=","91Uw/FzVWhkHR45xeddCQGGQAWaLuFQIrEfA/x1k26s=","fO524ua6BX3NJqONvbA0clrbkAHh9aHjlEiKhhefdSA=","mApltFZDJGQmdJipDmEMmAS5k+uO1u2kNX2MKSLa6ks=","XLQHKt4OdiN7aHcWDXNTx3yw/NCb/bqLmlj9d7JOGbo=","pcXMghKOkWP29n2+4ll4jVrJlR28c/RpYRNZdBqUi+s=","CKIKkeqNV+EIiSpN+Ou0sh6QlUlXExM5noNI30VVpbo=","bxflLYAb2odTkGiaFaNWz8edY3/T+ujZl9TXgeqeSEU=","Ctd/HyfF3hQzU0DXftxGxaB7y/q+yFo0Pg0NLOJ3LrY=","IB5EC1aV6jFNUMV2deqFnI9Hwup3T7m07VREzspTwIw=","Na+O06d7Ij8Hjsgf8pvDrql3sLa5e6D4qpSCa3F87lA=","R0jAARm37BXLr1rDuDTjYcmRdYsqK1UXk8KxpOFSN6A=","3drF3KwgmiZvHDohvPDwNzuKfVQDLDLTeE26ewk6XsE=","iYzJRqThMmQsCem/eUIBAOKIQCEPbUxe4oVIdP2YUao=","jFcjWiA2M/ulNNHoMcWsuY3d8tbLE7jL49yyiD2FOP0=","TYa+/ZELw5I/0i+BEj6s/LaXASV+xkO44Rpe/z2CTSM=","RGbodi36H3QaF/q7mkKYmZThWMXpMJKA1T9dIFBUAuU=","mIz5wntLUFJSLEIfdsPKaSWSIvn/9gaf8cOHXDBbhwo=","saNwnViYhXkJzxGTifQ55ZxtAjMX8siXSXz61hDBQdo=","wb6c3PSGTcLVKU524aogSU4LnxPSqgwNBavHvR27SPY=","bv8T6iMXMRE8+H3zS8uYrI/3dlnBsIlp2qha9HsLEAM=","ZF1kgV1hEiRKmixAp/e/xr8K7FyTnq7xmQSAblSgANk=","lYZkfdZpknrUnOe+ajC3AXi++Mfs5AeePzMZbrH5QhE=","Qg0hf0UtbJvq935bwL892b/7C7vea4Oj33Ty0XJ9DKQ=","+NqOOsFXFrukeiQB+jak2zniAzfb6Ml3Y+LLn7FE+dE=","g7iktUgLnbg7B2wspjs7ITv3x8YDTkIzAgH6aufSR9Q=","ro9RTJDcD6cvK8kqc3YAXiWc0gFITIYDZ3sLOA7IrBA=","K/gkb3OlqwVDu9oEX0WdGfG9JXQd/PItGApBtVuxKew=","8dTaBgegFi1kWEWZex8r2RQhc1eKznAhQa9aYBdjQ/U=","fu0Cl2DUYeb1h8k3nkZtHdPkbDcHUmKQsnYgsFBbn5U=","3+sA8A7XY5TBI15m7T1HY50FzEj2RQir6tny6Z8gjRQ=","aUFXCKCqXw6wzwEe/zRpySVou7wT3w5cgs/qblaQzDs=","nfNnYew2gEcs+0ftKuAuwXFh4Fyzv7P+RTvRCFtPvXk=","1An9wB3g0ssKbUa2DiZW64+dDKgslRNYu4Y4cwB289M=","sQhrreHso7r2fXP3Orf+GX0UnoOhQ7h+cY2sdXNvyU4=","kQ6H77mK3TFwqmInENHxxpacM25IO7lOPNvSERbkIhQ=","ZtEznxflpBjQs8W2x1jXk62K6kQ/KbaoN6TKXRKLUlg=","a5Bfw541u9DV3U+XW+33aakPXKGN0dK35CzVaGcRe0M=","bifpTz66y4uZRr9j611djaQL/CmeAAeVeNxk+6s4V9M=","6N09kMixeknfi5DwoPwGtYGX09OKQM9KRt7B3+1HepM=","72QCiMq/zT0+AalmMQd25P1x6EcC0U+1w45t2jixfak=","SsWt0PuHeYWxxXr/NaH9uMHd7fi0RqGXJrVjv3LddGo=","ygjtR2Wa/ArVrTw7Y8U3Cl7wDyHcLXnY7knCTZ+FhSU=","VkrrtKnvuEHjdHDXp2t8vohdGKevf/XzQP6s8tmlMP8=","zbNWEa0lZQ8Ambr44h2cqmVSojJ2mv2mDMvh5f+MveU=","crtBUiTjv7jvphA/wgihEp7lDmq6Ga7cEJgFZBotJF4=","dtixiGcsJE6Zh0WlPmBB+6EV1sczRbW8PN3KdoVIbog=","o0g9TkirAzrok59Wwj9GxBtmQwwgZnb3yTgDdz35WAo=","NT51kI32IFUMykkDXajn4KLpUIxUkIw/AWq/lzGttds=","YCbpO4TZyATJEj7gzwA+/rgWeAZxOEVeKioFm4FjEFU=","V4vVuZpfI1SoYXiogi5oBDgcq2IQeBIjogOmS/SF+XM=","zx0nFQ8GedhMCp4QkI8i0FkJSNGyqgmFh9gUl2TrI/M=","gbCRYapk8/nnGD0Lt/FnFIU7en4SqwXfB0Wv6Kw06x0=","mzeAy3aUO+d7s2ePbZ50WrQzqJtSQx7nBxBO1ag0+cc=","ISYOvFSMcxERF+EvpxEr7nbntgYV6DzNZmRSUSfFzEs=","Fpb4staPYVletqApHGTxw/LeUlJzqaoNOBX1KG15EFA=","4cc18nEgbWX4EyLKzymGOe4EFlPVUF05S1XuS0x4pMU=","RWRpHtSdYUzInzRWXzfDZaqG9A/9I/PAHtUpjIdHADM=","c7L1TYaJ8sHs2sew8r/ufAhIOimFfei4hQiCiOeig2g=","BBvHmijBLUaJWlKaw4jvX3BR3sWOI5GEPU90n5kbQVQ=","D4xjpA9cVn3XFseS0wr3PLciMkM+vvSxr+k6TA87170=","yvMYi5XMLuN0jQLPioPaRcS2+fVq20Op9RImvBmSn0E=","QWMLsoYp52nNISF1MHgH4N5gOIVwE4tjFvE63mM2Isw=","8Q2mtrMyRqdG+WH8N0m6NBPNPzi4zMzYEXCjlji2Pis=","LkHIE266/FWKj/TLEpAnH6lJDk6T1tgp97Wubkd8l6g=","wvndGi1H6vFUhTAzmqNsH6B6J2SG8zAQ//qyFke9vjY=","YNk/xdf+EzimdC7Z0Urolk3tySJxg+S2X/i6FypTxqE=","iBpjvZMzlJ8vSkswTuq/JHmLxbazj3E5NAPxhDq+xsM=","B/VxcQ4TSDAVgBBWH3k2w+Q2jBPjk3TIVHLSb7UlBWY=","Z6h+aX8Lr0yQpcPDBaoWDE05aSdZFKHyhUkAzDvSpq0=","cH/oFOGTgnEf6jEKWkGBqOU5cxay/AMlhog5C9NX8lg=","Vk/a25ABVcXmdj70p74nI6zuFKwvFPeSFLr6Fhwx1DM=","khydJXrFNE7mYtf394HM8uRv9d5ix6sqJymvVOpHBss=","TCqJz2Vbr46kTa6TvY94Gm77UqvEkPIqbFDjk0G6n1I=","pUx+Vht/PCigGqERrrOsl7vRs3eN/5pSL5MvVtMTK3g=","3l1h20DF8koo6y7rrrq+eVY5S3V2NfPc0rvA35JBh4w=","ZSRZuoq2Nb8PgPNixp04SG0+7SOpWMKahOc13F3AgQQ=","vNGwygOE/RO0GD9XPMiGjcK5ztlc+99wVY3EoY6gYas=","R0N8xjcRwQC+PshzkUCXGuA2H8W0OBNtJqck03YPwNA=","w9MEMT6hN0bpHzpaXndVJbjO4ujy6cKwyNLJ/x7kZ/8=","abC/CYnWoexZeRcJl7Ot5FnMu8iYqJzt8La+cuSA9PY=","fq1o3JqxCRHgrrPtLr1fft6IS7rQ8m54n18cmdQkLcQ=","rZo7wtczU7S7fb4ee/djzhSvbZxrR9mf0EDkKuWTnDQ=","fLd0J63jYS4FYvpMTawhjcb2EnK1U4M+LlMb7+acaIc=","LUOBspoafwTP5ikPguE0/+dS+EMfr4YoQiDfWf0fkmA=","uAjf564W0V2QUQsktEzUaJyvWTrI3Qsn8pU0r9XxWMU=","DN6nKKKZeBpBhwYZC0Cge3C8FjHEbJQDQhjLIGfHPDA=","6lSqyvhLNsuKthGRHUVpuwSN+0yYsL/eKcpAy2jl1zE=","7ZA8w3G+4pdCJYuqyAvm8iG4vsufsIWWoXC4cHf6PRo=","MaaFSVrEzC7dLzzmT2W3ki9Hwz9NbomTRiE6d948QxA=","ywAbrQI60/tu9WKppMV5B/DLdEv+S0r8OKSGlStiOAQ=","I3ME5ZgTrM1KDfwhJiqhuzyqb54wwR72jC5Y4NkEvW0=","YGEUHmTHbdyBE3zRQoHheJNCWDYmvQU++rb257gTy0A="],"block_size":4096,"path":"editor.f0f6fcf8.js"},{"block_hashes":["AvEHCYZCxeiZc44WAFFKniyO1RVoDZLv2HBI714gbR0=","Zy/RcOq1+8IuS60k1rPxk6XAUf6IGot3i0MKpwLDJ0w=","P5uez9Z82/5Sk3f3pUe6jBc5LXhrhQziUIBgeiEQF0A=","vUUw4daMU3CmG1UweTf6M1f1PT99VzMQI9IlBVxnD1w=","X2d/6amBihUChPvfrueNUTQ5RZ7d8/JCOXZqyk75JTA=","edgWzv4OlanEGWzg2GDUSNNe9ZTQGtyTNGtJlM6PP9k=","mrHe7ioACBbkBi7SdLWpT33MepOMrhzbwFgSOFrQ60Q=","r9OEAbiB/5Hxb1xtHeNDD7NOn4FSvzyIJO8SabQSGdY=","hWimLue0ghikc50HFbPUJF6fZ7iOFQPJtsM2aONqFyw=","rwJztE6wwIxH7HEEvNP06mjBtS2lTfWkgrdlmWYpQG8=","bgxx/nf6NCbxKL2Zbg0SF98fxcALBTzi5g9iIaI86WM=","j+qdvZI6wRV/Cqx9H3z6xBFRd4B75mreC7+V9xOCLfs=","f+KX9oYh8XVa7GRnED7mibLVfutpNHtCUiR9YO822vw=","IZ64i+T+E5MFqXp+fkqg1Anr4/JBvKl1WGBqKCp3rh4=","gKSuW6ogZAvmhiW2pYMa/7bNDZaGTJkACixNtPIqSy8=","P2VU/cxPCOc6opw8jkTlzNlY0mQEzig9OQ+stwzKVb8=","/BPx6hCkbr37dGLIoj9N+TLeg8U2ONXh3zQUvHF/C3Y=","P/7Li32LBshIHtaprUl0jpMZDc145pU6CKbprT3WC08=","jxWfbt8XZLniQpuXPJe8KGhpl3B7MNjGrTN+BBsUr5Q=","U6/DVzWoOR3KWX+Dl13w4VcgbIVzNjobb5DPKJ5H298=","1PuheP09rMVEKQ8jCQf1h36uYqTBkxxQ+KUKqB+FFuM=","lpxpzrjhfbDB5JIKxV9dTCTNV+y+kN71WZyAfWLs3Hw=","8fwxHD/FagjcDlztgCa5WzGvZhFKonkXFon77IpboqQ=","11KBOHhbKpkEWWGvtXnvooWlr6oELVkuwZtnuqGaubg=","r4idCqzs4AAP4jhX0Bfh9SJfyhu9nry6uwyPzGntaOs=","YgSi3/sadMRNLRuUm+mg8MhtNMymGX0RT3zu9IN13oQ=","r/BMnZBZ3+yWit9dxTVzT4PdZ7i3paQXRohLA2xfVJ8=","Pv8SaGGZJcMnPspA+rcrfKyLmw+lyBXAxGt0eER/Bs8=","qhLtHBPggCv31YHbHOKzIAYcXpgQV/jOjK+tUDc8k7I=","qFgDx8MProbWp0k6cmIQo1/pv2X3dFuQHosF365bBqk=","Ahrc2YmBnP5qGbSnbVZMbw17fpnjBcPo2Y05RqHz7oo=","tREIxuUZq1QbOcdkWZjFmYskQv6G10/4r3uJGsfMw1Q=","YkIBxAoLBL9xnTkMVO4V5rvr7wBb3sGH1FNZ4przcis=","Y6j+j2lYF4r47omSfvv1KP80r36dmlMA3zEFItqTevM=","+tSl0DnHqSFEuXQFIZPkzu7pNin8L7q9TBmT19GAZcU=","wU9JRR5sKqyVuabe4HRJP888f+1lEwl7LQSi64htjLs=","2KEhUgpM510bS8vMJT8qNiLphpFkNQBR1fbMvEX8cbk=","m2/qg4LMTYk4LBsppU8KrEfpMnj8ekLmAGiiXFvEw64=","Q/rFu93MtG/eEmFQQXIaVKSu7/9J+jQ2xLc2rY6XI9o=","BFpHxsgFdbXhHp94aGm6zqXSvHb2NVNmzMyhkN+53n4=","x+2woyY1PPQ+fCdBXVNVQxWHqCsOgy+G7vAPKZmbbGw=","y2i3i75rjrZRJ1DKtQ60JvhC9IBrMNkj/S8+1b45pm4=","HMTxZsrGaUKHW6pJEBzdEvoezrgpSB4HWSf813QllDg=","4moCaIvJkDT45pVdu5+mcBeYy8wql+55F2d+ERJlkyM=","CRdG7EsnqFuLhaIz9ehj9wvRx09HVIBVyaAU0RU3d5g=","zvC97h8zolJawUhrFukqqEHMHSzntQAyH1Uxfak7fx4=","4LmNDh5h05JBXXMjcuHIOgv9DszgL9rJ3rSqjAKHHAI=","D8TN9hvHtYF8ySG21U+RV3rw6nIUi1hTZ2xqaYIh/5o=","CZwHl40jcmxDkfWZp+pE4/ePo8zpO+EmVAq7PeYZI3g=","nM7DlREXE5NiVkYb6DN0sD9qpbRGAblej8jOkQN7Ss4=","VhCycdz+1+Qacw/Aad1pwSB8SdGIWgCiscI3ni/cKMs=","BQFCqvDQ4r3WX5zzb9lVhHmqwIRtQcUbIZDyiQ2c2ds=","BOW7POmGjSZMTz/Vy9agc0RAcBU9cToZcfjNnTDfvi8=","4Jd2yagMNa7/J5ek1VsuiIi8BfeAaqM70GQAh3ihh8o=","+pUEasgbHxw/AoHsMhCKWNHXC4VGNElQbO5CFzcs1+o=","QYURwyuykCeMM+9pfHcRZhjXouSO1pvCBN8fPlWoLhc=","inT5trlR8IpQck87Pr5jpw9IeXAk798DbALbrSGrH8c=","akxsKZ5MMP4FMMXw7rcuq153yJ8ew74YXLGeSGliHUQ=","CFpKbw3hV+i1ANGlj0f3NOCml9I5PRIetGvrAkBPqaE=","ByYReu0s75c50img4hGAGNNLO07qxt8cysAmkS/1qGM=","EF6thK5FeT8nxLj2ezR2U2OuPRZTOgX8T3YfcPDmshk=","bac0AnXT4zlX1Q28asXqfLbRm6smYs68sxwkA17srTA=","yhxkoZgDX81mA+JmblkJNon7w41811+jSfUA8udvucg=","X+9d6C65J2iOURY5R2ztw5r04OV2vjSeSgHCa/ZrKIs=","Bib5xYXA7i1AFqdvRsLTzIyVxLNQo9TZWckL8liYihs=","IMRBDVp9jIIxjv0mR+tIZq4y64ma6nhalbIWIurh7RE=","6+CSKr6jcL1ppmZx2tVWN2HIg+N7kck3fW8Wen8ubCk=","lM5jJKQh2KJPpT5HQeFWer2pMNYMvFnedmP8LSWM30s=","IwOUhGxP/qmyw61aNmTTRKajKfOVKhA7JGrHm8jpViE=","sSdah76OKyLEke+z68WdPQe+KXl4XvwnxQYkJAJZvUs=","+dDOmuRvbJzzUiCMLhv/lmFIjRsogymWhwC8CRWk1KI=","qP58vorIzmmt4Tzbyi3l51NLE2bo92LFtsEd6xWtpGY=","1vgb5e8UOfhLdOwBkfB698RHwx92jTv5AZ7DabbmLiM=","2f0fVQ+JPwPk0BZehEmeMx9YielrCCb0yMCWUOboBUw=","Xpk8DkK1VYd6TtoO1a9acRzZLkfQEGCFDGz6Qu7iK48=","Er0rq9xgoHZyj7/EOwF8z98SRmQRzI3Ix2j17yUfd74=","WMcuxb+47ogZg8jRPZzC6hqHDRozy1DkU09XW1NihFE=","WZOXP0kow0YFS44y4M43kXz5s2OSNeLT4xVrnsEvTkw=","W+JxKiz7tBytVkArAFAJKZ3lvVn6nytIyuLE7kFMgtE=","Kt6Q4L3hnj/57XDdZb1l9rZhunBZL4nA1F9T/VK+6VY=","O7f3DIxjQGRuc1FTMNeHJdVn5CHDcoIGXV+xyWDI7JE=","z6mzXw3IlHYdmWbSpojdkoEd6pJYVodyEGfBM0op3jY=","/4ZIYwPLFJYVo5iOFxSZIL3DgKwipAfYcFg/KEWtLBE=","v9neLjyDvVeXTQKRdURNRZRkqQTX1kXSsYfmCT77ymE=","wj3wlH/UZUMh8pRwoGa44bpJermzxMn0ORtV850AdkA=","9d83uHcE8rtPek61EJIN6yIEx0hwMaJaEDAcpkEBnQc=","3mpV785gE3GmanynIqT9EhCkhkBGGRykGXhNytw+MWk=","LUJkqk9hPcUHgbs/vU4Te18KVSfZf4OSrozryWXXB9M=","A1sOHB9xZJTMB7YCfZ3TVZ60w6gf5R7f2UVMijseNtY=","XEpmezsb0KvG2GMwhFk8Ty3EjAxnGCRJUSHdC1kR/Ns=","OQZKIq2HW/k1hqFB1dkCqAXiDXg3Crz2+Esjv7KKkZc=","ki8uZK3iVixxQuRerVLAceOgKIlYqq7EMl/QKn20O+w=","v5/SvJPv7xGBVtngR7Cp+LU03rZ7JrzU1hNec+Rhox8=","AQHJQs4jrrPJSlXw6dR+UwAWj+VUJ2t9Wa2COyj54Hg=","M1MY29muUpYzkT1fgsvdYTnoCWLNVFxzIr58WwcRsvw=","1RdPnxfwVnZesDh//apzWQrxsq5aHdlyf7mbhudq1eo=","Eh+4uo/41CaGOHpthYGqmAtPQrrvcuKU81aivjJV6AE=","b4MC+I6xm5W7NOT5W+oqhfM6ZKBQ2uo6jtETgRZatuw=","PMpnjos1yabmkEWgLsjmPTD4MP6QHwRUxqQw0V6NXuQ=","q8kUfpF4qq/Fyghb8GhxCNJA5AhvX5tnGwXQGCnVF2I=","fDP6SMFqIksADH0o2Ki4c5WAB8bm1oUru0Y7gAtcyqg=","/KbBqFdtHJyxKOPPDKUqriDAEO7XD6YdXtkA6RwragA=","kwNzQaBWT7xtEVw+VLiLKxDJjdSP09neIoo5e0uasXo=","cV/MP7Bbf3oWgE6xpBZFS25xku892b2PXYbsSEUuDLw=","NvMcMkR6kra/FjjKf0i2cCyok48tXbp/nwsT29s2OnA=","YLbTn8F45vTykkg9AfGc8U87eM0wNCmTNPCY/f/t0wY=","hVF9HCvGdFItow/x0JXM83TvPQjbojQ1kRGNjsvkxUU=","aqLWlEBf74YecLDt6TEk2dpzf2/g07jFIcEmelcycQg=","fOUtp9F8uhFgZ4I6vG5xU3EVXbkvDv+oKAmWQw79qMk=","OX4H3lFwKZohvTsdzeVMtqh4tTlJuq7RFs6PU24tMPg=","Mdgrm3VW9875xSefTgO8Wm7NUHBd1NvIcHG1urBrYP8=","3XeVkiISHbtzxgV/0CsJtqQCU0hregntQoUuYa+u6LA=","vvniaGnPcorLTD4ApYga0sTLUO5EDQng7BFGvJzg/UI=","U92k7/XhTiau6TipTGFD62pm8PUTIQhhqdWo9M1zYBE=","/pS7B9T+CQzy3DVFpw/ufduRgw+gOaDHY9vlPYw8lN0=","ohMPySdSps4B32FRIXlUJHswPAy8vh+yejDPtZ5qXcw=","UiG/TueNK6oh1cu45BsvuMUw9MnD5RyY7e/PoCugTeU=","5YaipSQ7BVtKpzyZ0ZrlYEjXOkwNcDrPtvrN4dF6ECA=","i0tRwPS5aSGXsCQR3M+AY3ebouctNKPJzKnv3wdh3nU=","uCF0FV7y6EkuR8v1rT2TT3P7kobo0mkgp2dwF4rByOE=","TxkEh5hI1qaxSX1jx8mZ0tnTaw9IFrenjYQyHocFgEU=","bvDZp56yoOR8JzJK810Dg1BTQDSPq7LsauCB6K4dfZQ=","KpZ5FfiGihnuzZyu2FKqBrtnCQ0+pnG/N3gsiAyqvhw=","seL8oTxRqdokWGtFVI5p7gS20avCHSDdXFGCMTIvmGw=","aWCiI7jfT2Rfd04Jvj8jRlVj3XpGWvqEjI4eVX8xFpc=","HzDtDUeAS5kt4o7+kLmuD3D5XUizNHDvTbuN4uZNqvA=","hK86/I0pOZpuYfvo8YPIbWL59aPW0DQCgP/LcT2pfk8=","vzV4RfZ17UkX79QsoCFg+ysSw92V5WQUahH/tVMTx0U=","8Yisp4+WZJ0EDQ4LHtUEax6JnjvAJ2Tg1cgL9DJKBGc=","klDC3RVBNueRALzPuCw9UbDN+ASxYVLocxAaD25qU1s=","pc8gFY40YPdDVZm1pmrS2U92XJKgF9jRqKSfIubzi4I=","skv/HLIuA0Ed7nzCxYH8xeuYh+J76bLM2K5Rhsjo4Sc=","kANZxSGhTfiF8tYPHd+pdi/Ju0QN4pmECH4QFNEhAmE=","g8cz98IF8H90pIZcuLB8vcJFnP8UnmEw6zK2EPRVTZU=","90eS0XS5MACFIKtQ82C39BHshTxy3krecAdP3Jc707s=","xk5l43tdIsoCrfnsqtdTowA0XwSfaHi4pFc/JyJKJbk=","SfyYSu6Lv7GD3qVdaNxYsnnjFv65PABTfTXq4EKTOl0=","ZJnXh/JdNqJqTX8xbHlFfKsXVdGnlY68YIk6FOqrHfQ=","smYPJ9c0w1CCtGIRGDfEMsQUqDyCAyFV6oZTXxmfdBE=","Okqt4qTPF0KuWO5q59eac0OZhimtvDENr2fu8O65+ZI=","MQ7rREDWZbi5ctNFXS+oEhj0i5xJvBETJEtdSqyQ6qo=","Fk70QHuCOoKkEQUogvTt59PjDgiEduldGsnBEcwWBqE=","TL3X8zfeQkufd52KLfgS/tyyQg0XCN5436Sir7JWZ8A=","Ly7g8mlc9SxirErQV0LnQ72K8W653sFRHxL0nWlnF3o=","aXyuLEz6XbxLZP+21Ah1JXOwAZGwwvWiCWVtND2lKoA=","eEvJb71eXu3ja4kRtXkmAiMASDSLPGIOjvgG2SB+ycw=","gWO/Dx9tPnJZQNathDp7mdyPwCJ7fNnnLcE29UR17Uo=","wSTb5s9MzjtRTHxV3b90ehW1Q1Uw0zcwT1sNQPDPkWQ=","8zBL8VP+kI6OIfdcdOzFMd/WvioxXyO8SGkcbwLnhV0=","Fm626TnxZ3fvuI03L1ibqfFP/ICVQENI1NIYIS7x1VI=","rSPO2cip9zFCNz7qYzrLPBqPCuVG4+vs/AzUKHzsZ+A=","Ud2Q30huU50c07toaeHCHuN7XYAzRNkV0I4vtOEWe/o=","ixODAQU6cIQCXTps1/dUU1Z9XTAXtYF9nk/B9SiJm9k=","LbQW0pZbwZ+k6VUovxqsVNJWk+CBhDs0kCrSgRadFIs=","yl7/gMCYGEgsohaVZfrpGHQWTGdWv0dmBAlG9/3/sdY=","TeI+x1og1ZCU9BA0V60sAC11PmAIF6IjOpb5cX9Z5pc=","OKypRH5YwoUtcQJuBK4hZnFFKV8uQXaXeH+uMPDcOf0=","tKPPdEVHGlHBZy5NuOxtTddvgyYQztmNvJ58zBNToSg=","MYa3QtbNycbG8lJuqrBKRJ1GFcwhL8uMZ3DWqEelEfo=","xL5gfjErTo7FP5XS9nTjDNEnMESDYqb6NvmAVWdbZDY=","AbReT8Ue/TqP4ixezq/FqamtjJc4bADHnpGxdijQKnE=","xPdEFtGygAQwmWXOEWId1RvTqAcmbdQeFfdxjEBMgP8=","BWSide3HNCyb/WNtbryMePhuLKbRZ2CF4IE6Q6qCvHU=","ATZTcBspHEiwV+F2zx3jaN2U2Z0XRy4HKQVn83xEyo8=","QG9qwKjB4Rg0sT2XeTD2EVwAsvecJ09PGnJQhVdsCV4=","DvzoRB9HTmt3S1Hi0sI/LG4Xm9x7FdUmiiH93TBABpI=","jViFcWJdxOx6L7o6KyU+EWy6dk8kQHqaJnrT1e47FBA=","tEzmQcYzeeKdhkD/HtzCUPrftutUwKE4WhYO6wCj+s0=","wzxdDwrkKUNmqLdNXoD8VkWJJa9oRIyhNBVy4J6yhAc=","BgAS2y/Hg5lk+5o/B08+4dg9M6DE6ZLjmRRXqB2SiDg=","6yYeeXS/IfJ8bYsrqK6s3TX/y/yu6z0IOpS95QY7P+k=","7h0nOLC6Gaos7pRZVZytmDVj/bxyBikyDrPtLmVsJ+g=","lUJnJMtpYBt3OiQ/dOEmv3T3dMxc3Cy88l/Jw8mWvwk=","F0Eq4TyOcMJWCWOSizWksRfbmHdS8HraKN2FpmyHPlg=","k/js77OGUQRNUp0DGsmGwbXmpD6I2LbeqxSCwRIaKkw=","6uI6+8xF454p6zCSe/LUQH8EmPhoWIXtEBm8+uTgw08=","M+p7TDxxfWQx7XibbYkcCPQ5nE7YVwQ52F2IQ+N0/Wk=","xawnouucmmtBCkrHQNTobObpVX6OODkPsYr/+Ie8OU4=","Q/lYhYfnfMbWxKt7DUptyj5/3hr/s30FTLN1jOG4KfE=","qGmZZXijXvb+4BnpLXF9M5a+hcWN1ZbvL/WiYb/5wLo=","AbRRiDojCHHwUbGBICwPzWmuu5DMEjz8qbRcvb+fU6c=","6AShHd+JekJSx+VXDucbluZeDdw+l25X2HyRnXKWxU0=","Kxj2z/RjHA7152AQy5/R9I9nkV3xcG3I7yZdRcYyPBk=","wQhwx888NI6dhMYpb+fOqoCnF/7WR01W2dHMLfRkvUg=","a9HrpOPzwrPNuYn8IcVIDdcD5CGrBqv4PnI9LbJl8iM=","Gun0op1TjRL4X8MepRHDvGxhnR61Jg9YCiy+O+h6qhQ=","oEevAb1yRImwnvwNEtTZRv1WUGMUNVfXZalOlD3ntBk=","OzBOjxWJjUyTQvOsclhUcyAG9dwBuffQwOq6hnQOqI4=","1iNdDtNmcE6LZiyk2JUBCV6cPoMWn61txoYH3q1S8eY=","IbWj9ksD8ZxnsLVZzTuml/IXvK5K+OYYadPmBNKbpG4=","bRGDY8NwuEkTSDN9sR9VIp/BTnwmsioYeb6rnsQZofA=","Gouuz6xto2tFiiaCFgmZyGLy8bT7tvAy0mH2MBl5G8s=","s2xDdIA8PGQ7svSJDqVFY5lSnn9zeD4KnA2ngIc4des=","M0Jdrr0KaXisS0bm+mbvWHQ+ceIQzu/cUFsXqDJ/bXk=","M6AMMiiSXlGj6PS2GslFNQkmS6VjTLydHARVI9n+xl8=","Z4KgfSpdQD4DaSTr/VLGrPSWT5rMSYq1h2HFp9fp2NE=","MEN217aF77vo8N9aPxwxRi3/FU00ujaPA0AA55G1S6g="],"block_size":4096,"path":"editor.f54b262d.js"},{"block_hashes":["puw1vsenRzX3F3RTB9yPIdP2vmuJwevrMl28iUym9I0="],"block_size":4096,"path":"editor.html"},{"block_hashes":["QxdPi1RDyNF/xjj9IK+wCDNEdjzQTS2y6X6FVhk2+88="],"block_size":4096,"path":"emoji-smiling-face-16-20.de75cec0.png"},{"block_hashes":["INFsC2Vkbvi424uH4OfH18O+6a7JySqyumemJpQxk3c="],"block_size":4096,"path":"emoji-smiling-face-16-20@2x.5ff79d8e.png"},{"block_hashes":["ZdyS5OIlibLM+/CCgsbRKgMD723FgV27Y3s+zOQ+aHo="],"block_size":4096,"path":"hand2.ea55fedf.png"},{"block_hashes":["sZ4f/u6xZ06dEAqvJn/v0BQuwYekNVnsVSfTOtpmL5M="],"block_size":4096,"path":"hand2@2x.88cf7bd5.png"},{"block_hashes":["rnRXG0sqfAXX0aM1eT3jBs0a5e5WdR8EynNbzHbX8YQ="],"block_size":4096,"path":"icon-999.d93044ad.png"},{"block_hashes":["X1a/EN0fR1ApaiSFCIMV6tZl6hs5E+RPMfNPLi0CeL8="],"block_size":4096,"path":"icon-back-arrow.1a17d8ea.svg"},{"block_hashes":["oz7rzlNROLeH924KbHUpnKWcD2i9GgQr4XeT9SCtCxc="],"block_size":4096,"path":"icon-btn-delete.f78c5ab3.svg"},{"block_hashes":["pTFKwjzK8KPmc6ERYNL8Yh6+O632lfp0NLDZY4ucLh4="],"block_size":4096,"path":"icon-btn-download.6a1b3bd6.svg"},{"block_hashes":["439Sc0bHSB0BGhiKXL/SXXmzvv4rnqw7LgmbubJIiDE="],"block_size":4096,"path":"icon-camera-fm.39046717.svg"},{"block_hashes":["P813JQyjs9I9wKi6QOwUbQWPRRzB+ptz1SH8ceNtMiY="],"block_size":4096,"path":"icon-delete-hover.77cb32ed.svg"},{"block_hashes":["Lc107+dgq7OuqnisS2DL2jQ6UdTLRBwrXguByxCm0Ko="],"block_size":4096,"path":"icon-delete.d7c815ae.svg"},{"block_hashes":["0xKrpXNpa5zDS3MxB/cVavCpF+MtKobfIfXr96YWOv0="],"block_size":4096,"path":"icon-download-hover.7b5b27e0.svg"},{"block_hashes":["WVA2E0MB2VYqIaNJr8WDnL9YX3UCCsvfN+XVncBciC0="],"block_size":4096,"path":"icon-download-pdf-hover.09f623c9.svg"},{"block_hashes":["bNGsibihKtROqOcq0nG9qEFHrQBgUyJLMg6vkA/Fdao="],"block_size":4096,"path":"icon-download-pdf.df590c8e.svg"},{"block_hashes":["NozIxZiwXisJuYc8JyN+WM2iW9Qc0VU5ih8Ki9jqQiU="],"block_size":4096,"path":"icon-download.4871d5aa.svg"},{"block_hashes":["/U7d886fNBGILjpzf632J//XYRhwnR1nYzx6dkL7lUg="],"block_size":4096,"path":"icon-extensions-pin-example.d2caa1ed.png"},{"block_hashes":["7AT828c+EDikZtS110k3zaPHKTHmSIhklM3mitR10iM="],"block_size":4096,"path":"icon-extensions-pin-example@2x.68b8618d.png"},{"block_hashes":["cBxVh7c0VtSF6ad5cIUQhyC1hcCv0o2kcp5b8L1H124="],"block_size":4096,"path":"icon-extensions-puzzle-piece.bf2b8f2a.png"},{"block_hashes":["R2xTm5soPwYaZa5/+wX7pGumHP9I52UI35Jh0yZGN08="],"block_size":4096,"path":"icon-extensions-puzzle-piece@2x.727cf138.png"},{"block_hashes":["lXtrbLll9xoDzlSx8md/Sc4m9pQ21uqbYOAvVGiBnEY="],"block_size":4096,"path":"icon-files-hover.d768926f.svg"},{"block_hashes":["GXf4wnD7EJYpHXKIzKZwuPMCdnPZShcttEFLlTkYYYc="],"block_size":4096,"path":"icon-files.4c5993bb.svg"},{"block_hashes":["nLtiVBCSST/jJy8sx8hzutCfHtmGScklDE0mHU6jLhw="],"block_size":4096,"path":"icon-issue-hover.dbd4fd1d.svg"},{"block_hashes":["vAXLmzdDrP3GSTSbavogstIEhMpDxi7a9Xoc027IwqU="],"block_size":4096,"path":"icon-issue.9b4ffe88.svg"},{"block_hashes":["x7m/Gd5LCwcXvT0PAIfVvd6kuohXQD+i8hGSZjs2Hdk="],"block_size":4096,"path":"icon-settings-hover.6611fd12.svg"},{"block_hashes":["T/0VIsv4HPbft01GSIyEHLmCN7XZpdAJGDNZrRlUeWc="],"block_size":4096,"path":"icon-settings.d626a384.svg"},{"block_hashes":["8IhfTBmi1U5H7GK/jBH6jgww9jj33maMA0MBhIlOMoA="],"block_size":4096,"path":"images/ajax-loader.gif"},{"block_hashes":["8vCITeDdqbFUKct9aoEdU6vb7KimGeSU6fjkYU+v1Os="],"block_size":4096,"path":"images/anim.gif"},{"block_hashes":["ddFohdAyOwIA+xtudo6vEJnIS825KQXH0BcgoTMCLto=","TVt8GF8IMtEPi1IPCrNfCvRC7NidRj6l/405gcP7FJs="],"block_size":4096,"path":"images/anim@2x.gif"},{"block_hashes":["vN59BsU3O2PvN0J3C+OCP16rLvSMkmdVKRFoBu9IZTM="],"block_size":4096,"path":"images/chrome/icon-extensions-gofullpage-pinned.png"},{"block_hashes":["d/zA4OukhKowRlydiZUg7LPf/rHPp6ALDgcJW8AQclA=","3sel3/CLuSGnCwo0PoeZcxCYuXxU/mmgmHqbk64wynE="],"block_size":4096,"path":"images/chrome/icon-extensions-gofullpage-pinned@2x.png"},{"block_hashes":["5zDVBjy88H5g2+SdvHJvnG2uNGRtuVCXR3cC1/17qb0="],"block_size":4096,"path":"images/chrome/icon-extensions-pin-example.png"},{"block_hashes":["oOFHJ0wMdvNNdU7K2E665IJL0fd3G9jHANa7UbwAjb8="],"block_size":4096,"path":"images/chrome/icon-extensions-pin-example@2x.png"},{"block_hashes":["4GSWlsHBaYX+zEJeTMjhEg0eb8TrbuV+Qrjez5oAIOg="],"block_size":4096,"path":"images/chrome/icon-extensions-pinned.png"},{"block_hashes":["R/l+fvd4G6z4Jnj4NwxJt/yhekCLmK7GFpciqRCYJdM="],"block_size":4096,"path":"images/chrome/icon-extensions-pinned@2x.png"},{"block_hashes":["9UfesAPPZ2gbBUmjQtCNb2tDgit7NlvKnlKGXIjbVAE="],"block_size":4096,"path":"images/chrome/icon-extensions-puzzle-piece.png"},{"block_hashes":["KLHNw7tGXisd9kVz1xm+ttwqLIkHMo2RsW8lOTK4oIg="],"block_size":4096,"path":"images/chrome/icon-extensions-puzzle-piece@2x.png"},{"block_hashes":["9MFLuDM97s3egKKSOJFOYf+/uSchuGNiWhJ69E6cQuk="],"block_size":4096,"path":"images/chrome/icon-extensions-unpinned.png"},{"block_hashes":["dB4VZzqlkPilwmqFa7D5vH7l5SJPV787EIxg5Lk4tnw="],"block_size":4096,"path":"images/chrome/icon-extensions-unpinned@2x.png"},{"block_hashes":["tn+2hRqUGXeFjwmnwUY6k31G19qic0V/1LjIwErfVnk="],"block_size":4096,"path":"images/icon.png"},{"block_hashes":["J+aDbyLSJfxKxcnMd95Ml2cUdhqfy6BFtqbL0WiuzxU="],"block_size":4096,"path":"images/icon128.png"},{"block_hashes":["eUpHTJSsFMWMcd0UfJFkxziQgK4D7J3YOCidQR87tkk="],"block_size":4096,"path":"images/icon16.png"},{"block_hashes":["mVEtz8hh3HPIpMdpTMY6i0s5CtFvaglE762RKgxzSy4="],"block_size":4096,"path":"images/icon48.png"},{"block_hashes":["eSsxILNpTQUgzSb5ts9QmTof9+YoXsw1mIErYV/vwNI="],"block_size":4096,"path":"images/icons/icon-account.svg"},{"block_hashes":["kEkhJUjey7fDt3GNwQUGqElqHYbpLbaGMIWbXmT5MP0="],"block_size":4096,"path":"images/icons/icon-back-arrow.svg"},{"block_hashes":["o20JOeYEbsCgLweWu9Tx4TfCAIOSZt3qG6YMUOkVUKo="],"block_size":4096,"path":"images/icons/icon-btn-delete.svg"},{"block_hashes":["+ZXF+7x0kSfukINi5jsRexQAzIFI9szY/df7Hh3EaME="],"block_size":4096,"path":"images/icons/icon-btn-download.svg"},{"block_hashes":["wBPjOPCGa8BMTTkt8v6CW+B48QESvtavQaI0Sa8xwq8="],"block_size":4096,"path":"images/icons/icon-camera-fm.svg"},{"block_hashes":["ElaH3OK/NyydnhKwmr53q6ZanUmcE4A3n6PodnLIlTU="],"block_size":4096,"path":"images/icons/icon-camera.svg"},{"block_hashes":["mU3FWeTmUQVXH6K0C7xzB3Gz8ldMV4fA3bMUcyLw8TI="],"block_size":4096,"path":"images/icons/icon-delete-hover.svg"},{"block_hashes":["HsXJZG6ujSODlybTs/zjhHh32Rg0y+2Pm7qxvNOdyLs="],"block_size":4096,"path":"images/icons/icon-delete.svg"},{"block_hashes":["V9e4YxZgef8UnfmL90sg3QFuWMD3y9/vnw8m5kK0aAk="],"block_size":4096,"path":"images/icons/icon-download-hover.svg"},{"block_hashes":["KzNwlKjvJEGYmBcC2wjdrdDj17xjYvqznOyYVgcXGIg="],"block_size":4096,"path":"images/icons/icon-download-pdf-hover.svg"},{"block_hashes":["PQx304g2/Kq1st30LYyC4ql+Xoby2EkzlhG9YoOqRYE="],"block_size":4096,"path":"images/icons/icon-download-pdf.svg"},{"block_hashes":["KN3CBXwXW+UvH+8wexXlv3RpDqtV/1Fa6MW9kzbjBEc="],"block_size":4096,"path":"images/icons/icon-download.svg"},{"block_hashes":["EPk9P+4u+yeU+QjypfAW9RKC+BsfUbcxRQRkLVXHKnY="],"block_size":4096,"path":"images/icons/icon-files-hover.svg"},{"block_hashes":["obFBnKyee9Dkv15VNFobRUH4jwCXElebLFrPSY5Sv84="],"block_size":4096,"path":"images/icons/icon-files.svg"},{"block_hashes":["fzky4Ng0whb6Ym8U+3xnUJYdzLy74QY1AqoWRraAAOg="],"block_size":4096,"path":"images/icons/icon-issue-hover.svg"},{"block_hashes":["2nx8UzKm8GXH2487H+gPRBEHaa6Or98ZU9oB0TjG+rY="],"block_size":4096,"path":"images/icons/icon-issue.svg"},{"block_hashes":["HZya8Xrtj9tUSha/crIHDikQT6FRZnpOM34yJkzJgBc="],"block_size":4096,"path":"images/icons/icon-settings-hover.svg"},{"block_hashes":["CoxWcOtFSP6qSQahd7MEp/r7ihT5TsPsIvzc3XJnFT8="],"block_size":4096,"path":"images/icons/icon-settings.svg"},{"block_hashes":["kAqQCoIcdnfQYa1BidSmpkFgQuDJv9qI1FL+DyxblDo="],"block_size":4096,"path":"images/loader.gif"},{"block_hashes":["OST3Y5QUE9o+RrQmRgIIRHr7/LOXaopodp0j3UOa7eM=","jkS+il1HFdmwjhcy6sZ1c9vaVxKXc5xBMvrhRAI62m4=","+JmBfN/pVkUmqi+nzEdpzd4yL9XSL/hLDCdrrN+FNkc=","qc93GPnlTaPpTGvUI0rZIIFkF5LUq0K0ULucK/vf9pI=","B6FGmAXOPdCqLvZAbI0pjKcPRCvbDZCGB8pY3GcEjnA=","GGDoU2SrUSDV2LQRdPIv0eozs3ZtyNB5gJLKBgiXGho=","CWZHSnWLEGg5hUMxfvioAHMQzrV/TFf7MbSYgPhmp0Y=","CzOBWWJMAOpIx2cxRYOoC58LGs7PlD3vsUI1a0idn3I=","eNgnkXt/1D0r4JjYAAz9nW2vi53/R5K1zF1Yyj1VMTw=","L31p48i3rPCt6jlVRk7SZfWr7OqBkrmQUd2vaW1KHFM=","c4vLJ9U4BAA6wr+y6uy+pgFAOVl7nljaiC7zw5tksAQ=","hk/8At4PIWTNutDoDGPdZt/ePp7mNBz+DDLvYuVOzto="],"block_size":4096,"path":"images/promo-440-280.png"},{"block_hashes":["29ZCSnZsoVOnK+86/Qy/fZl4zDFvFOic+HDwgptPbFc="],"block_size":4096,"path":"js/background/index.js"},{"block_hashes":["GXw+mGR0cHii8zxXoWtGoOZi87Vfx7Ev6Y2OAwzRlPY=","ulR2EFTKkwCYyk/G9WK8cwZGe5E4hSghcZhKcjxjIEE=","WvhMhj4e9LOiQNEnUJ/4X2o6OTuUIFuAcA9W9q0a3lI=","yM0eWiuh4eRU5RcboKEzMHKdQzSW9EGkNDPidkCggo4=","OYxOjAwjfb/0r6giv3GjoNUxopzot1t1lq00QfwSCiI=","9hsJxy1O01Qu4ya7ti8d6+UsxbZyTuLNnZ0G9svbQfw=","Rdca2Oe3sUlVo31Tn9E2ps5/42xkj0MNq2gsnri+VBk=","GsE4lcsNLtfibbyZo90HqyAa7maD63S3hN07bTYF1P0=","1UP4CGcjnWDCv82jscS/llTv0cpoH0umeKdR73SFuvQ=","qjI7BfBzxRgzunAJ8UKID6CBZ5jI9c2KHVdji2FWc8o=","GhxkbWQo+eRXO4JkYS5v102NkUEO2EqXQ2PZt7OfaJw=","VJIhSj3ayVuoNjmox6AIv+l0YFSEN+I/PXFTmxNJerU="],"block_size":4096,"path":"js/page/index.js"},{"block_hashes":["XIylkZ2QrECEzuUwirF5RxuNuunRkKvXl/FqbZ/Cg+Y="],"block_size":4096,"path":"left_ptr.f58b5136.png"},{"block_hashes":["EmW8drxcdTZiG+JswH8bDFQxwZbq5fetHbfaDuLh1q4="],"block_size":4096,"path":"left_ptr@2x.2d33be1e.png"},{"block_hashes":["uAZ9a3lJ21m1PJOakjI5yo3QCPvCIdgVJSLb5hUpKGU="],"block_size":4096,"path":"mac1x-header-center.98a91e82.png"},{"block_hashes":["fZWv8D88la9wg4cnDHx8uuecMNrfXgQBW5ybrm2oejg="],"block_size":4096,"path":"mac1x-header-left-secure.16d65b79.png"},{"block_hashes":["FJPfqsy0AJJ/EzVcuUpuNtuVDa5gfBnPQ8DpQwrPYuw="],"block_size":4096,"path":"mac1x-header-left.8e8ee1c1.png"},{"block_hashes":["zFYHRJWfHMM5QT9wGnu1KGlG1s0J3sAK1fOsyh8ji7c="],"block_size":4096,"path":"mac1x-header-right.3a7e9a99.png"},{"block_hashes":["5CcsO32MFaoy8H6MnwGvqx6hBLdCs1kUvK7Fa5nWbXM="],"block_size":4096,"path":"mac2x-header-center.c4c70460.png"},{"block_hashes":["oOL+T+mmaZm3N2d4uA9c4PJANvuY/fEvgfBWmNg3/w0=","CQCiC1gpc1/8v9YlDn6q1w3xZLKGBKJMbBhbxNoE+0M="],"block_size":4096,"path":"mac2x-header-left-secure.9e7dc1f1.png"},{"block_hashes":["nU9H1z6IwKGcPJfbAMB2WRYQns8pqNt3a6iDx18llEg=","7cKFUZG/kFrgB6zyEsg6lt/tTWQMd6VIhiIVjM7WrYQ="],"block_size":4096,"path":"mac2x-header-left.e9da0a5d.png"},{"block_hashes":["kMyWZUn/zDZ9oJPn7zhYlrQUvmccvGEZbEH/wOREO/A="],"block_size":4096,"path":"mac2x-header-right.9263b9df.png"},{"block_hashes":["BVW3Kf173i2nZm6mnKkYKoP/gPYP3E41znhgdfVfBTM="],"block_size":4096,"path":"options.3ddba533.css"},{"block_hashes":["EDbesmhSyqiUFMFfiu6ydW1KS8auAr1N3jaBvqPeRYs=","C/zo8K0bfMBhszxv9RZZ7uGZw/3Xf3GTqbpCbzEHHoY=","fJCsiEd3I2BuKnlE8mU7PLpMYH9c4NrKUGIPiOAU2ec=","JWvBok24OWZtdyGmFi4ljDsqJERJOCXDD7+o2RN+nLY=","P7jn5dkzA1mVlomTIxfI2ABbRjpgOAbHz1YuYigjhdM="],"block_size":4096,"path":"options.3fb4960c.js"},{"block_hashes":["ZqBJ0gDZM1oUvu3hY6alMJxp+84aShSGz1Dr4vf4vJs=","H8b/Mbona1o4n6/BmXCxEmlenw8AXql0ZK/kGvFAJx4=","QerE5sEezp07XjBtLu/6r1zyVlxr/PDUx9aHIvV016M=","vOrvf7hVXE1yRGS+Aq2+yBOLYVyzBfVy2TbQ5J6AK8Y=","LdTjl7yiU8vcn7S1UOxnSjiRHODW0rOtP515VDrpMjw="],"block_size":4096,"path":"options.7bcf2b12.js"},{"block_hashes":["IAgzF11X39TsQCN35xDBsTFWrEk7dDjcDaTLsNmNM4U="],"block_size":4096,"path":"options.html"},{"block_hashes":["rg50XDfADanekpua3CrWyJbvjPSOT9BI6lgkwhJbs3w=","76w3vDD9AJoojWFURDfdOoa3YPIph8wPwuAhQ/D42hE=","Q8SkKygHlgCUuttaXCj2ioHt9GNqlG0Cr/P5+npdr0U=","KWk2ige7dBA7QuVkJA38FsiEtAFRDJOTDKswfNYyIJQ=","KJENpNq6t5sdD09BpI+8WbwV7YK8Sw6XiYdhgCGFDNs=","d594S+3SWD6e1cLpGx1evj8ik6OhHDsXdYIkQAUbwZ0=","QZadkn786ukr+1PF3Gsn6zDmpBEnGLzPpj0+/yAa1io=","Mb7QFHeC0XyJwmmZmnCzOAmMUNUInGO214Y1s9xgeUg=","lR25UR5AFEYEyrIFCJMEGRnPX6ehOsyUzXN3DPVhcBM=","yHSFC/cq2jme+0UHebt+TMkcXahD6P37EHB0pDiEPO0=","XinuGWvFi9DdNZMN9STKmYiYtMdWtfwYGNaF584aTgo=","JYqfStJpb95YO6QULRgt+2PjDuHrpezfxJBBC539Me0=","rlTg/GFYWrjGqYmKxIFAzATTRP9/BowfxpfeMJ7iR9A=","2o3Ltxf0HClxtZMSntOW39oDct5otq4qDIqSaeduROk=","Od2LsoMVYJWGwG+EPphwhWLe+Hg7jneIM0iFq1nhthw=","BRMzkB616azaKpQ15kXETTIfhpDW3XQyooPO7Nfc4pk=","x70+DeXQHmCAnrtqcQ7iqV2mh2jqJFFiVOBImGHvD1c=","C0/H/Iwks/yh9uXJ4JSRdM1jlufETEAGPpAvZhx6HrM=","tEfPf7Lax8zSl7ppUBz99jmckOnQvYEq6Y3PzD/p9kQ=","usJAsGREj8IclqXHKEAVyZ3W5IZerP3PppJz2ZUmUCc=","ZNaOzPadNzaOqtikR2XBHHWH8qQw7kmthmU4Dsu9Sfk=","XDqlzpKZzUgdfEVNCUSSS0MHA7ZMOk5cU8bR79WRX6w=","3A5aD8YHlROrHw6NOvO/0lAU6/P7lTxVi0ktcY8i8l4=","RWSlQwE7UpTMEg90EKEl41fHAemyIcyc9CXwOVUkr6I=","c5nQi/ZQy4a1KQ94oiCfR+/GVwTplBies50mxPGKDZI=","hrKeYRNgdJeqqNMjB4m/FtHC2ZvcCUQ7Rh/NMrl8oOw=","GDQWq8IeqcAAM+v0/oafEtTvB6HX5NsrL2L+2lrNXRk=","8QdCs1pgO+1KM6dFmvJFtFId5LRkyAxJWTSll7Jyn+I=","6jABbI+AZWLqy3mF8zLsBVBwM7v701VGzYYiHMGPh7A=","Ymw8HXP4PAZQaX3Hhemz7W4ls1eASHXXotYaw7pRcyI=","ftnxeR8V/NKemSLtIsvq425fJPrJR0a/D95uVfbyhBY=","BTmfRQed2NfeqhhEuvW9L99QoVT+CQOX0pDCakfgs5c=","cx32lftrFuzLTnyhNs3tSYNVrCqGFdu11SIJ/K7zrZA=","uIu4xhW7cddNwtuaMvO/A5s1Ykug6Jwnu3sy1GB6NrQ=","2K5RtwG3Yfi5X1GC0gIFC9khgzCf/U8xy0glk7nvrrs=","j/IewLOHL4mRyHQnLqps0aca0x8CGNjKI6s4NCCGsVM=","3/UfTKounIUgcUeh/LKq7kdcrcZuK8PqWPromo9JxBo=","HVUuWM3FJyYfbjhsJOkTdNsEWrclQeiOsM1PiyIqLas=","h9GbQPxQsPrmsGbFq/UmjwjpA5JxtJr+zjraS72AMu0=","SvaCj+PuznjaeDAmpFh5gi8IbRSUMnMIF/XFyoglMHE=","MuGU+7/T/kVU2a6OKCXVqL/db+xCcgyhIBGKq4NqnVg=","iIg+/PHb0P2LaSRtk/L5lImP3h+gsAZjDpaS8f65SHM=","uiCrgw/GkGNbH7GCae0UQyiT/L+qWENvsg4D6kkqEac=","n/WhufcZ8jc3eLD+CE/dwc3/KqGClS1t3KP/5wT6gmI=","XHpIQHWDoZr3NLYr4Feedk+ouNXDlXzS+2R0ga7NVZI=","/jEmonJ3BBFNx8xAYvQbLZcjNEjfDL/UPSXw+k9wrtI=","noQi+wicgRKCIPL89zHvZPlK+erklTJ45dE0LGchKpE=","/NE7IJJD53fdq45DWl3bLq+EiZ7FtzAgOe4yl4QAwbk=","Uo9zXsMN7wS1WOdPSuRRnMo35eGc83NJefiGcomNzgQ=","qPU3AAQyhNCaIZCbfi0gS/F15MO4VWTEXBgNq7N3Org=","yycl36EwPQdqv6mtrYhB0RYs1fHsty7FFah1JRAxJso=","hu4ZqsY6uRuO7JECuDZIxC7LGrWfXzxNiKUvOKiMJTc=","0cGFy1TicyRYDoCxitP18uLO344TlLRPcVxYRjapiAE=","WB9A4LVzeyQ0r2PEQcmtmhMzCk0zVeEf3dfXCubv0m4=","T/hUpGQAjZCT0TP5neCcn3hp/X3WAf2OU9FB5DPoG+E=","iUjYF9rA5ER7xK+189Nd3EFU0fSyTV/zJGlBTWtvjQI=","HngSTWgivbaYuDDH0jbghz8LHavD9HbWwAiQHn1hSPU="],"block_size":4096,"path":"p/_api.1a9cd02d.js"},{"block_hashes":["7WukVqyOSu00gnrfwwZmI3wsh18erVu2RP4tHIBWsKc=","uDh22Cf2IsP3OpxoVOV44mQH/A4Ze6kT3y6X6/skff4=","c/IyxBog3f0YYQUZExgc0w8DHN8MW4cXx0Oe0SGvwdk=","GoUwN362cpooJJlNJuBaih/fd16YU3kD5vmwHIQy1nE=","09ju8JtbQu+L0KBhCsX7XolSkkI4AC1diMzAumWks3c=","0n/VXB+t2HYN7h/JvMQqD47MlEpKiQRlb5CcbLAoEmE=","IgU5SMGhqcJaNq8g4N5b0Ss11Q/PEzTkk94tVi0Jw0o=","832GVzdJ7Q34O36R0Go5eB1rJpTP3iAbBcA4lB2TMrI=","4f6vCWKAc8tubEXrueTBlLzEFwSAzHYCjf3mpsUkSX8=","ep571YY9xhwt24Pi1FgPIgrG/0dM0/kdgi9S94f+sRg=","jefEc6ImDUMVaPVM3nIZjCIYsvRegp3e5hg6mBRtkPs=","dUcm72KzG8cQAWqCV4xnzfoR1tMhX8tSgUnIdNGzUo4=","brEzYaPiO0AlhPYWzo4hx7jFLlj4LqsE+uoiDmS7OT4=","jZOnH20Uo5lza4fk7GA0zkUWTr0+8CVdo08PHF9YDBQ=","B5QWNORI1rH40HYCdZsxtLizbQLkJsMxxjDhIXL0IL8=","qG/nIkWLqGIgQ8aW9eCZ5BP4XTAqDHAPFt7KSH11P0E=","Kb2EtIvLQt7uFbHMN/VAV/FsmYfKRKxWuKVUZzx85Lk=","ZfOfCnJBASOgxbXYkxggUHeEv08GyfO9s1KGVFi+HWs=","ETQU0o83OYAuowV4/icvy9g8lckS0s0bAKO40utDMVc=","iXo/1n+K0ZPE9rHfAMGgIX8xODzW95eSMWNkcqEQlKM=","a/+7oNUvWH2tPew2iM+quJOqyRQsXHXKnN7Uu8HaR5Y=","/pfEcQ0ZFHHkoDiPtSaagp6UYxkufseXxjbUvN6Ss5o=","mJsQo89xZlLAPR2fxTgk5nk58SYVZajHBzVhUoJL8Js=","uy3lJ0hZSDJY9N3CNTTrk+/H3k7lsPwQW2bzhZ4eQH4=","0iThe15+CXX/JafxylywI2GcxxZtpSjaNV+y05joQAs=","wc3ILUwC/o83M9kOFfmxsKNRKRAQsL7paHH/Rv29l0k=","N1tEp4c7SJOBC9kllzMBZULltP2cnnF/p7dRnF+V9xM=","/5NK/hU8uRrnRbN8sfA/PesckONqG/8jmBngAJroYIY=","vv3dpgZIfDWIGsT6oBEIJ5bcc/Jhhwa2tUtJz3s8fhA=","Oc3AI0vwK7ruAwBaMeNDDH7nZjqdZIgOzEMXX1u4ZIQ=","rxn30UitymINxiBJvV9f3X/u95zODQuYo0f75pNr9o8=","OA+1o56wsatdmAREeyKc+f5s/cu1QrCxypljf7YN4bc=","VT40jWSU0Uwx3iRTsYYsoeqOx1js13z6zjXDfXqOCsA=","mNv0YDbpXiS/9Xnv3rMpRAvqTQfKLYqhYBpll2q4PYg=","Tllo5ffauUDRH93DNh12kz8WvTCDQLEzMRfvlo5ZwAY=","Hx7/ts2MLBPYHKFXoAequJduuw/D6Pw9x9lhSwaHtMM=","HKSeoC6q11vcw+Mt1mb7N+Go1eaCYWUY3g61oHoi0ZE=","r5AlxrSUCifQiisJfdB1YJSe6gu0HrfIyIpgpChhAMU=","ct5ZdFYI/nsptM5sxxDFgUZ0PmhYr4aGzHAj2Vy9Ams=","w48Er0xHE//qYJVErEyj6Z8KCh6be8lb/eUODNrOoag=","6vPLYzYY1B2/dDCFwGdcN7AbURFZY7TGvUNbhlazNE0=","cqpTkSBGSAgiABIUg88/5l+vGNaXzJayYNPetPwnDWY=","9wIEWtg1Y+u3tQ2crW7oi8pBXrKaGCqyNZhs+yAF0W0=","bxm+BIw2xwAB1so/Kya69xobfKgC0ud/T/I1Cy+xU+g=","hueM9fxDs08xhoJYbCweY/1GRHnTaZamgGlmBrfbQVc=","7FUkMY7/45PR7sgx3LIS754CzIYtN2ouFJlqqlXIWls=","UsrYAP8tWlew0XGTz6ip7JBTC9g0ITD1wqyN6TgvAOg=","cH9voFaYRHpGfABs61ofD7JTrweM096yw6RgpH6dN3Q=","/PwmxzxBd45y2bLl3+XH209oElpINYYgrgoNojLQT6c=","Ew9s4SsEdXiMpidhWgnGjoTv0m/nbvptE0SDawNawaU=","TBBozkVqCwoDDAq0Z3RZ/w+Br95YaKn9qQkMJl40tjY=","AWKTH/C1x2YMauuov0ybYlxFf3KQIhw9alYcEG6RA3g=","AekimfD70hmOpbKiLIEzhyD6VjGS4P5MaMevvtDRtMA=","fA3SCcc6PI5wUhBZB6Ej0mVmvqfmGSXAQ2ra/f8xG8w=","8hLJTcyu58HQ5aSh6GwpIVeQrFpKOHBCItBSs0ocLoE=","eEjW15LVzaR6dGeUG1oo5LQPpzrVS9/jIIIVYtdE0UU=","KeWqRGM5AH9E2U26eMdV4MLFMLt+/5d2Rbtt2PWUsk8=","mWs7ZmoHGDdvJ2VL1Eb63ZtmDfrvW2ihsDQ/nJmxAYg="],"block_size":4096,"path":"p/_api.ff6e55f0.js"},{"block_hashes":["fsfyXZUpxXIZepe4IWy9t+/o+rT3Co0W8vBhd/0NIYA="],"block_size":4096,"path":"p/_api.html"},{"block_hashes":["IIHuW3t8pLZeKjvBhsClUG965nr2Pi1pfsEgjUsXbA8="],"block_size":4096,"path":"p/index.7cc758c9.js"},{"block_hashes":["Pz6iyXMCK9dkAToyreEDET2QMxpz8m4+irQyxXu+5bs="],"block_size":4096,"path":"p/index.cc37b9e5.js"},{"block_hashes":["cG/7Wxe1tgbws9diaFnnSTXii+v9CiPpgaqwpHb6ctU="],"block_size":4096,"path":"p/index.html"},{"block_hashes":["5E/oWLbvw0VrraRUP2xlrT1xb4Do3mTU8AES/lQ3AIk="],"block_size":4096,"path":"popup.47030b28.css"},{"block_hashes":["6jrrGw+5jA+vLPFfrS7tG0qA9YofobKoYocQ+VkVlIQ=","XiPar70XhepRyKOB5VvrJT3MgeU1Gfy6cxoAWhBzr5g=","x85axqeOZ91fn/eZz0ddT8xn+Fs3BeNhTiFdLlJPVaU=","7pPWYE2mNTUc7mIjntSGGwoELLx8jC35apMR1MN2eaI=","iL2fJrXq2erQL0uaUWPDsO6SZsVCaNTP3u/0+48Kams="],"block_size":4096,"path":"popup.77323d67.js"},{"block_hashes":["dqbff+WfRSrYRif8lHxTzdvGRD07qHGfoc9VVElP/C4=","1MGqVsFsskbxdXYk0hZQu+a9F/Zkw1JyIJtgTynC9bE=","GUzGlvqMXDPWYrapnA4iv6pg9z/soHk9xhYGD8y3xN0=","nzZTekr29yQadPEJL/SgXzLUP5QNYPU8vu2boeiEty8="],"block_size":4096,"path":"popup.7dc20801.js"},{"block_hashes":["AKwjo/yvDyOMr7p8e5zVghPlexfiLHwBffHhFiDWAKM=","rNWez5pRRN74pWSt8JH6BDMzC7IIE3nuj9fq4O3GluY=","fnCU2OzW6l0AWoAYFyASmhpTR5O6qOdBWwEcelTK7z8=","wU/qBTNB2t7advrRPz8QjT/zExc7xq9sgGQZqbK5zZ8="],"block_size":4096,"path":"popup.859980c1.js"},{"block_hashes":["I5xeAiVIHjIeOsxUo1e82X29PYTzqMNBgU/WogHxPgA=","+XAxT01872IwS0PdI78sMrG2V7ku14CyXTn3E1CCGYg=","PcJQIekS4X37TtzoutUVD0dA6wuScMDK2YGZBV23hX4=","GiFwx0lZji58PydyqRnbmlfTv9da3xjZDlRTRdV6+nM=","tmj9PNkO+E897nq/4duX4MD61Q7EAfqLlSVMY0bbAhw=","h+0Kd3nz6b3LxTMdFowkkqeFnTXIWeGrdVAmHubL0GY=","9JvQZtfM3QMbFJ0R9COWTz1XEjyKj5JEcEC7Ty8p+Po=","hJpoRxBq51UecdeCjCfEoDaZT4PRU1gN28T91XRpxpk=","RQSMXd3972JXC2wg/FkionJ911MZkYsMDOi5bDrq/1A=","SIEDJ2B6yGEtZCqJ1RCPJOZGG3e6CnSO6kkPylPSbMc=","FV/UyFNqCL+CLlFUvvgqvUMx7qODXmTr34GnVxShM9I=","+bwohGUHcIx+N7yeqDiIceQWsc31KalQCfYBSzsN55U=","4VjFHTZI2Jx7OtaXRTD2DfrY0wxRaUtjWYGa3QtiqbU=","dp1CZhBtZGteiAqM+KYHRu6QAnIf+KDS2Qw0I5GWExk=","uj8SnMSH1ve2JJ1XAlv6Usp5dZnDGWYRBnFA6cdwa84=","o6Bs77r1eIaRX9iVvZAwlP19vWjf3d5g7lHNgisQqiY=","Ai0UveHoF0SELiHbfHvFqTJdOiC8roGxNq8696ZLLI8=","CZ269SVAGsLUekBY0jWjvs61aeaTVzJRhAiGKaWokOw=","qsxgVtarD7JgBdCJWNi/Lrjm9G+ZWFsw2NzPVUz7RF0=","BSN5ObS2ZM7bsdqVs8Doe3yCyUO+Gkjx2UvlYX4q8N8=","dMrrSDphY5h1huI/Vp1NvN6E2a1UymMWGbBmTp48S6k=","V2KEev5opCULFTUQoYztBYC3cXva6M6xZv73CCpExaQ=","YM5i2rH/Q5Nt5NG0LJIwFJHPnGg+djXo8GoFK6qYWmo=","+YkYrHXake9wsHVLn2Knb+jtKFv46+i5ynioMpr3M7s=","IK4orSHuZE2wTkcNrdXGcy80ePK2cQZph2gLVfh4Ztk=","0j1GFrfNLnBYJ3rPoETwdpG83qqV0d6/eFRBP4ybfe0=","K54Wtz3UVv+tLPk5Usrb/gdQ37FHAe0fpDAozW5rOHM=","Hf7KBIgWeu8FFQQBMQFU7KrnEBPG2iu8KTWL6Dmct/A=","EN/ok9PW2IqAGpt5vx+otbu49M7EjiPNfQPFd4evoIc=","dugBR1Y1finV3V5mpGgS+zOAVo7OmDASEzjAQb/tgDs=","30U5afYOn1boLAamJkncEV0ZoQ5ObJJBmJFy5NrwjIk=","uhlPcgnQA6mxPjofZQ2hKz0wP8TN97Ld16tR8vpLUaY=","Dp2U8FFLgFUT21b+BVYV+CUIZPdRcFd23GDSRWW+Suc=","7N+LNVuf6CCary3oKYDazKLb6yRszy+LPKhRDkNniCs=","O+IF92TdOnlKOfsa7RjXhpCPiqsmOwS7epdy8cjSMLU=","PfL36SUJLNM5TC/DcHHP9hduAcZ1gR7Z96v7vaNIJQ4=","WszCmnuO54lOG4itk6ObPL303dwTJwQGuuX4vaia3TQ=","gLZmMgp2LUT8uOCw6U2gAeVxk1RxCYo8Mk3PexpQXC4=","FF1EoFON8NYVhoskLTIuXor4SkaEHpkypjegNCGi41c=","7vpNnWu/X3MfOPaJYktRPqh8/x2fVarNDy8iSpAr1E8=","a0ki0IpSUZo1F/buFFo1uaH7rMPxkXdh5CgCZ3lZ6Mk=","symkwF5hXVEGHGdMK/vGmubJSAJ+FffmO83oX2vicYA=","loFAunijWVTKePnRjr4eMoFdGONSNsICUAqpIMCGKmI=","Aka3L/Z1q0Bwh2Li/qCEYPiJJwJrYaoY9TUE82ntaLc=","QKxtpnRFVNTODW7CkHXPWho7nWdyYhHxwpKjJavUdtI=","5vf28FdRMMZ9pLBq6fm6UJ6vvYj9Mmqnd812/alVujs=","npfms4y9+Ms5LEAxQnT70cxeKWGS4KEu1shU0vIZEUM=","2RGmDr3ieudthlh5J9S4z1NseBlPsVLIkJUxbFSqOVg=","YLzeSNxNcYc71IaWko9S9P34xQ0g6tmxlJxxcllyxP0=","se5OCKeaMjiYsS+N842B1VL1+W+T05pSs9BXXhjltIA=","NRXeemYTEYYmFFepfqTZRxGiljuB+P8b713rJbZcUHU=","TDuIH1xZlBQywz8FcesaZlhsxS+olv04QpkxzasuC08=","iMTssaspDnFarPm4O3q1BsaVmFjfDUhqVbbfH6hv8/s=","3h6MMswZMe+GDHbGDIturp+qYvdr2cu74In0+MeYQb8=","3BgK2DpCJoVrDnhwMMhJZlfzlpg2tr/IurNpjwixzY8=","sG/QUhIQ40rPqVJjSz6bAsWqoOJM1W9yBy0MflQCJp0=","V9HYvbn1IFZ4JIvDf8lzPAlK5tSfeyS1HN2zgPM1VD4=","A0HGwh2t3Oj9qUcz/q6tzDspQAEuM2NkyA6+xiOOnT0=","jKffr4ro8Z5iKeAjtvaqgRDKc1T+KIFqQTnGcu9XKzs=","ajUKeewrLedW8iP6jP19y3kyDuQfkJzwKgQsHiStLtk=","ld/NmxJ613vpDB/Zw+hhBsVkbtChaGIPjlkJHh8wkM8=","fnpwBEeVRBcOeLQoDJu5Ayx7G9iOslgaP5xgOQG9of8=","TpJE6uWlULSQR2l+RD6F3qPPfzwwYt9FyCbcoImlE0E=","tv45xDg9t8HFJmOStjsAEZtipkPZKnAv7TJ/JsdBs1U=","fJU4nxa0GJk2CG1MHyXBxpkRdUvAQghT/K3H3lKo5ZE=","p0BTt6UcA0h5Jncj/PuJSF0y9ZoLR6RRR25poO6kqQE=","4FNOQyagNg0E9QWOKw9QFzjO37i8DQ650zREtBjoHAI=","H8BwOvyufZPucpY3UNqOkukoaVduP5LX1cOYLPut4Zw="],"block_size":4096,"path":"popup.9f6de43a.js"},{"block_hashes":["XUoBg1/u9xMy+R2j+L7HVawAekGOFaS6arC9iK3wd0s=","eKMfsT6zLD3QYTMbjBt6cu63dCPbzoyGUv5osowAOfg=","7M69tzy+DrDp+vyMLwk9woWtksr9MGCwZGrpfih78BU=","kA0YkbQzuonB1iU7RrmCAo2/MsEidPM3FoOJWzPdcao="],"block_size":4096,"path":"popup.bac7d9a0.js"},{"block_hashes":["H8UiaqM+ZhpNHWrwlakfqax3g7yxRFQg7jj+NVREjYI=","ayJnz0UAWM7PznhlY/7T4KgK24BrrmJca+OBKWoJhbE=","n0aNc0RJWmgl/dJSVJvpiPDpD/JHrltX07KDGIkBYMU=","PUT50v3zR/w4LlO132Ie60YTm3MYu6YjK/9G+9MKmpY=","bEJyTQawE8okufgf2cbTJjprfElShhpf1tiRSy6mPYk=","URwtXiK22XVD+N9UuodrXGIcT2uoitN+jQeG6E8LU0M=","XujabdaIC71ji5sPdmLq+38jowon6OHXFepB7z9U6BQ=","r0yIbXQvvWiOBXRkwaJAUtDQEnn5fXSV6CEoYw5kNCU=","GKz9hDYpzgOiXb6yT0OJ8oz1eL0VYRReTK5vv3C23sI=","iGB2gT4cVInv7yG3Mn3TO67nKaulvIkUcF2J8f0aYZM=","UgvMTt1fs+uvgxyE4BpF6EsDUTb00u+Eu4g0jKVfvow=","tcw8ajbaeQeCtRdSm/pNc+QyBQ92fQidVjfLO9qvFxs=","TSi3vRYlGNqbRiL6xbWrBLWFAtMIf7gRxQVg7MfuLGw=","8QbApcX7yRX3E4UF+qeBrE8CSMvYCpRyzt8iFlzTjDo=","LDPTbk1bbAt/sKTqKT5+9gjZ9sFACpmdWq0IV/vMKaE=","YRPDbJyp6e/MjWWR1x+a6PgTbxyeqJqvpUslGRkcSb0=","WyQymTuxe0xZsEfirgwu2Ngc81ssOepsGGIBSpVz5CE=","2Hn2WM7XiOlK7uaFgF8Xhp5uiFhVgEo6FTdj+WmI96w=","zGBfWaYsr/YdZoBHSUjrFY9MSSSAwLRjAi7yEIOa2OI=","J6C5EgDiBbnCJbBkmlhBGQbXWG++Jy6aViUZJBKb/JI=","b/zOBsuorsQy3TNtCfawTakfciBkIg16NS2ae0oRJY8=","+D2PmSNZ+NuWhxuS81rRCuy2KwYFRaiyRTC6U2KyoN4=","W3aVQmQTXB0C3AIWqgEk6m/GbycCZHbsJXPeNaA/Sek=","3hH6miqstY/9C/0mvFZND8unoCS6/RiS8caVNDrPfIo=","Rn3awgjJAWxlc6MwH1ErJGS3yVHZVClbDMtItzoS20o=","6Ssarp1qeAhcmRS3eOzQ9dhEjFHNzb6OHuk+563SyDM=","GYX+VrJu2OkxTfrQFwqnFrDr4+1c1ArzYqGhhVB0uek=","pYAIQZsSv5pJUgBZlGNUwQ/OcewJv7YXOElPfHY66fc=","HXccQj/ohGmYQZInjrNuOVU20TQXtYiTzqI1FcR+B/c=","xJv+PDGjaBmKbu/hKwWpL56TnVha96JSj43jKHmv0+o=","04lrBkSG9Huoc9LKHaCSmDvBadLoc6y9wTjtxpOLx94=","PFJZ4m96a3nBLYiEYFo++tiTj5Xy6p2kmn/GD+Ek25g=","E3km86bddFpMfyFXPJ+YgcIJdKsdU6epv1BPEXTdsT0=","U7FAcgS7sWbCLzjhxUmEArIoQ9WPktEDyVdGhmxx+3o=","IdD5riYy2+3iVu0ZxsFwgeZJrZeA1jTRpCgUgXr3Dz0=","GNe0s6jFROvKKJxQ9Tc+8YlHbN7JpGz+fTXbDYN/+l0=","NPWEvwWpQKIhBgmGj8TNkXZw8d05V8cH3kOiuitjrSE=","AB6vSpGAAgKaNuE6T3a3wKii6dLtreHhdxxT20gr6DA=","chSoBaMXZe8dfa48kXDMQnpOZfi33xD1LAmalEcR33c=","nW+0FCQNr3zaafwHfRpyZpKtEOXbrtqOAg5vtNpWQZA=","EhbGbDdr25OMiGYQjbMSlXWBtHzl56PXH908bWnLl30=","9MjobCKr7RYca91nskHY/O6PmoGuvkSaUoWrmEQTCdw=","9zrOcyKlQh5sXfTC3RsQ0TX/G5Ki7rSAWFSGrj6Fblo=","gD9QANSQucJLpzcDXY8Dlx1O6zf0/6Xvwi0bn+EYbVk=","5M+NNJaddUA/SV3wwBP8kyg/5wHNZ+Q2PkokJFa4vVU=","E/mrazTWQP3UZ186nK9bqLeo182vZWBG7i0Btax3q3g=","RrRqSqsNjCNpuozsGZRcMakwOyCySh8KESwGjcqpRDw=","DhL8e9TkAwtDAxZu+NKY7Qn6UnBBsXdYcgTd1cvGKso=","iXBoOyAxZqsVEr4RuwVjS2kbVMoIrQ7S1KK+24HLrR4=","9o1N8qTVjP9UgpcdNyY2VFf7t8aA+W3ZALzN1dgW/2w=","PzeOimUppARMqRQyfffnHqgAaD2/ifYLDS41Nqajd4k=","W8eZrFZXFkyMzemvS52ituiFNjVaS8e8WsI45XfSA7k=","u04cS2WrLtfG9XU1jH8w/6HawxcGD7J8cCq8Icux+Sc=","MFafJGCUpocTvgyfge4OugyyygYLp349RCduP4LT16o=","QkJn62w3++WL/Fn4UPD0Sq17ipT9vp2xOiJFtuc3O5Q=","HyX8QcB2/Jz7o+xoOQ986ANV5/TJp4jsN/RiWq6lSXk=","BFvfyPF0oHamlyLW3bZiHIYW4DLZZc8Y1X4030u9tGU=","/ibxFLI1QkSBsZ9AQoj6nNXdsEKcZHonG/03AotqAYI=","w30csCYoj29Duk1Xhwf3nJfyeJuyQgzjZPy41ZNaaXs=","9Y451G5mCIZAMuXghdDtZ+ZzRHndBzFHa2UGnHQk6lU=","1U7++3S2yb2v/0YpsX6sQiGcMK5zXi+DZsMFVWGj/uE=","v4yYo6GFPc9py7JUW7vSNs8Lso7sfgVbd5JkcXqaSxM=","XoFQ4ZUN+hA/Gug3AnsjBjPrMVTLaaTaHuibebJRha4=","EK2BmX3nRNvt1H9VgABWz3vGXO/EXAJHFOVLhTrEoVE=","jaoateo2Py9FFuE9tKBe2tJeP4F7HGSPe9W3ltJppqc=","SsIrnVY569j65aL1g8XpE6ChQC17Qo7n9XA5OsnzdoA=","wRZhddyh+UOpxn4kRf2ciT5ILUC+++135uhJUK8HR+I=","qVEXnuobVjdXjE9Dg4PI6ikQssgbzQSiecwzOBktMzE=","drVMQM1FBJthrdEb0ont02QkvSmZflYJqg5wg0c+BNc=","ijv2qcmlF5DyWml5OLzG+Iv1Qux06KgNTm/RzVh86po="],"block_size":4096,"path":"popup.beef8333.js"},{"block_hashes":["FcbRpQRbE0o52dvv8Myf+9CWCF//b6uyXQYjJBOl/Ws=","HLFgaX/cLW9kL31J6Z5G4exLVbbdajo9pMrkjzDbt3U="],"block_size":4096,"path":"popup.html"},{"block_hashes":["tPVM17D/Q9V4YUijMB0fb8ZFHPsmBfUGoO6+gj18MFY=","Axjv0UG5oP0Ln9AsszoUPKOq4VKRXIOncoRkFBz2PWM=","PbZP+FQyjODoUsd+NBnzMmzZX+yBtl53yyzd1SQBydc="],"block_size":4096,"path":"prem-emojis.e3242d04.png"},{"block_hashes":["jnFtC1ahhT2jnBnBbJSWXsbEP39+9VVA7sOvAuY+WM4=","BaCeG2MXKr4pQjsKNKgWHNWhLBZNUy1bUdze3G46zY8=","liNSZVfVJY/K0VjpD2apmgwkIRveFBzd7VHbk+DoLzw=","h2qPv2udugoXedndeQcd/x8+YZ+cfSChE8euNT47tUQ=","R3lcOR45V5h1HhB+oi/yyPxo5hlkPezkFoxSTyBrEMU=","aaCqSQVK85tZhj6TIKZw83fMPKU/onKs/awUG0oGyyc=","bGN0W8Iz0pM0D0uW4mMWedVmcLzSMfLDgAtk2+VmVsg=","Oc59VuwETU4bzv410TyBLDk2IVLhi26qBAU0VdPXpio=","yJW+dYqY2sKXRBmOVXklTIfu72DHudTj8rRSauGuH7A="],"block_size":4096,"path":"prem-emojis@2x.0a1348d8.png"},{"block_hashes":["PvHpwP2xSM2i6We8rABHuNhCdBISm80fVxN61zPfC+U="],"block_size":4096,"path":"wave-emoji-20-27.8619a450.png"},{"block_hashes":["MBW0svEYokF5LSn4xYZcSOumpll38xNLj6XeGdAom+w="],"block_size":4096,"path":"wave-emoji-20-27@2x.41ccecf4.png"},{"block_hashes":["tKNkgShShh957tdrrLtY/s3hFzJMbC+XWOSLsNrfbd8="],"block_size":4096,"path":"welcome.052319f9.css"},{"block_hashes":["5zT222qTUv3NRfEwfsUq00xg1vG6bG41OGuRO7a0C4c=","QuHlFtRGG3wMIvY9fJdnnzNTr6OMgEAX6vJQUl6W9Hs=","GaktURxlLPXF8tRr5wmlKy6W/pOaNMlIsXjIpvyBkRk=","uc9ga+0Kp7Cb7CYyCLxgXdjV04VUPdzw7FK22ZYbnJk=","WshnrHvaYFyLX8IN/mSs2NRws2HmcRqmjXoaX+aSDpk=","AbjSFbGfMMwKrFpfS9EFCcwddnKy6LEBgs2ilcbAZYw=","oX+DEZFhTZcJJErL0reZlYMP9gSZbTfc2JhQiGDRQ/g=","fjnqTW4UkGGSVIAaENVX2kEXLqtO35HKr2YxpGuWCyw=","kXWhAPfmZBz2quJ58ZjALwDkG4oR3l3I3gyqG/59/BE=","gQz6cd7d4nD07di1ZEICbFyM+dIimDv2vDMR+gIXlmA=","LksEct6FrpGMXBLz+fDqnAX+MPBS/g2he2quJ6Kf0tc=","6y8Otvkw/bgTsqkrGvSx3hapeXk8HlnmqyEH5Mdh8X4=","mfgxsSl5a7MiEe9yfztbRLGK9mYKquNoKHO0JxIIxmc=","69VDbErN/nQmFCuR5UDYHDfbaame+eWsGBmZvkQCv2A=","Rpmj3Uuf5fgDxOnSZgao3GFBjEG7I7+tYYFz2VbZOHo=","WvxXwBM4x9ueRMr3+jXtHdb37y+EnDx7077+yEQyq7I=","n8xEaN+YweGkpP9GFvEor1rTupdneMxzKe+8QyjEX/Y=","0dGr8P4jXZAZLHyUh0kc/qViDVIB251sz4Hh4ahQsSc=","8DRRUVGavMQjKyzWRyVAMAHWeZrJgryDouQQzTbU0AY=","jpydbZNwZH32EJtYGoiz0RC7P0Zcbm0Yo6jb/tGeorU=","i+WzkEKVV+WsTtXsTvl68hbExzE0EyCdz6nt/UV9DmQ=","RRF+bTXYfLREqhq3aC646krwF49kIGKvpJiIgq/Ov2A=","ARreL2ADVxjDxoVqmL7jxeZkNcsBmjuGXMghltcN3Qk=","ETrKb9aBEiBtdbPC9A/ciC9uSqyd7/T8O6d37HqUjv0=","p9SEV44ZePsf3VSweJOuqfx/KwppJtSnZhiQ79MIZGc=","VbE16Lh4KCGeAsZguIQtGjzHZDR3V1nk/4JV3gSU0p8=","ambfGRY+ZHASCOq7QOzSwtRZFt6e1xmOJeD5m2KbQjU=","8BLKnGGZCPQNzCdSoJEVobt24c7Enq0PhRYZkaLA2Y0=","KSFw//Fk97/DDW/A9wvuOGaDQbI0K0SWY6yGN5XjHeQ=","8GNGgr7zbSK9+foI23prmmAY9EM8DB97M4wXqoEiZQE=","CtlVozNiOzhKHOoEbd+ZVLXa/S7hD4oOrnO1a6kPkAI=","nMyqJ+6bC4hWIio1SIC/mA+qbKZSCVauNxa5G08fd3E=","yLoauAhXpOFNhGSrNxUXDeFlKtXVxhyw++adDnEUnQw="],"block_size":4096,"path":"welcome.24ee56ad.js"},{"block_hashes":["nBiH9RHrPHSRfSXPttht0qeKVrudSPWFw/V/d3v2uco=","q7eQCcRpyi/L96x/wI5iajpSd/z2Z5P0XLP0f6N8qKw=","d9OQWi6XQlSoCZz3nKjBGyGCdPjf/AINwaPI00jMnpM=","I4wAvED/Xn4ktuQHKp72E9tZFl2rpPgMbBKAJacBc6Y=","GDrkhnM21KARnSwMRs40cf/qRG03dsvZ5tKoFUvWTV0=","+bXSpSJPxA0JnOsXONmcMXHi6pP3khOjEIIUxSo7bOA=","Yj+Ol53WqgwP9uIpXsIH8WEddY4LDCV/kX8keipyq1w=","U8liZT8I0IDt9t8bkY57ExgS9AOeT/YyletHoDNr69M=","FmBYn76VLJ8EPVIbJ8xbhgciepXTUzvQtkH09z2lEm0=","jTh7gn2ziZDpCqzVM2j+OPibJVjN/SFxw2blcQau4wE=","Qe1JuonZOYftYsfTL+o4MTktSbfjcb9UXKf2JUruKkY=","RpQFg06rfDejKjo0DZdqx39wI5zGApadqtZDPucbXyg=","gbPJcVrPrY3h/DoYeZGyynmkFvZeTbWTDCqINub34V4=","IwVywNOlQjVxPXWUsunQxYfenCogfO9qszvUIDD0LfY=","BrvPHvMec5FIgBzdQl4Za9o2rqsQBMhkZJZ8iRpBZQo=","VLs1iBLThZFGInwoy/2ImP/QY45eL2gSUtYLQk6Mrko=","DmXuBQoH0xUe33mFl9JKK53vUOe91R/xYGDgKbc4CBg=","NOmOKjHFMb5uYgMt5JQPR8QK+C+jOsig7gDx6NlPFdw=","qs/4tyvi+KUxJak9OGCEaEtzKQ6dPunUG/hrvD8Fa+M=","jVovvyWYBtUGcxBNVc78BIOv0M/CK1oQhKvdMjuJEH8=","MkRihc0M2yMC4hIKCLJQodgHgDAXHvKKJJd4XgxNsTc=","o1S1kMkG/gU2tqmrsB2vblzh/0D/keyEZq2MkwAbnhE=","c8q4QwpHfkwzjRNz1MHwKRD6NiLdMXP25Tyb9JGn6lo="],"block_size":4096,"path":"welcome.2ba20910.js"},{"block_hashes":["y457qjjB8cpN20F3Zgl8ZUWNIbru416MqRE7b470Qmw=","R5duWJXTK2VVb0F6aoB5KsdUpc7vtT6o2t5kCNd29Hc=","LVOuyNgFR8sCAD1GMk5r5itzqCODgtTlecHOjPEawlU=","IVFc9vEYIWuHiY78DLNsH6oDx848yKy7G/1VvIUvfkw=","YgPgPA2R4duSOADcuAhAq4ZFuTbiCNhKeMnm5wotMEQ=","B1vcjzKrLTWxY9/5c98egFQZYUlDAOwpKxTQ1QGZkko=","/vo5KufpOt1W1hG/9ZZ0XoPRZ0Y08OUFAAp762oKFzk=","AUaMwHdvBE8PLll41QXs0mEhPkXqFl2OdPm+VLjln9o=","6rKMfFeuXo2H7lVGAry69AuynhQRSewds2/SG2sxJ9A=","wtFiTc3yw3zdeJ0H9lI2H3Tu0fXOpMs+KAznMw4qHWA=","w4UxhfiflU105faJFexBLg/uSRXA8ehULZDLZjfxH6A=","0+2pDbNnDQ+IAG0XzsNKgrKtEord8S1298H3yR3Pcm8=","nnQwdfOo8VVZG4STpsrAGGlqfexglkqzriL9vaBuRgs=","z58qDu6ZSnhGOpY//2HLzU4hrk/VxGF/0aPMufHnPCY=","+sWfvs/OvUNA3THM9fQNm38PbJ2ijsJlPrQLMye+N0U=","dvcKCtVInjpq7RaXmy9dmnjWNYYuMDKJaETwPwerXkU=","Zaug/7yz2Dfr9m3Kq6iv2rIVQNfM9bEv8lbufSFv7ts=","AE6c8UKBIKEjyzzhpJ0TMwLcbXSuKjE41MQIphhMapw=","MBzbl+qvCWcqOF0WccVHBS6+qzSPKoY4OvKrCrXvXaI=","qepsOZf+9JjQq/qb3s16Hr/VHZf+9AVtU+WAyLWD3Yw=","NWxg+K3Rsxpnr31QGijKjMP5nHFHE+0HDItO2ApC/QM=","sGhfsjyL50TRaHM/4wQlOUwgx84WRc5i2VYCKCyHfJc=","OYnWkIskcZTowLRzMAwEOvWslnjQG8RbwEf2wRfmLNg=","X1IzKdgEJl6TR33lO9zPwOsusCkctI9Ux8uxAfSnFhs=","KkxiGlnE63IcfO/S0eWkOQhLfWKmlvPlzvrrjI6Jj/8=","baO9gc8yRKoDTZ3CQ9bGNnUBOOIkRfNGpX30U1v4Px0=","o5AOmnXyF7ynKybkyq+XZPMuNKrr/9prDJzeCct4PvU=","9hNixn7EXq9cEDFVjs3zZHxP0wyxKPInk50izJNLU0I=","ttaykwBvY9yfqLczEGNM5RSrAiMEnOV/YyySlHL+9Yo=","dlwENpPtw1VdZmJrUHCc7bRGQt5CwhAWUrForxVrPdk=","tQjLSLB1u0B1JGqx2vuuakSf+SWG7grYon4LuX69jPQ=","XhbGAGa1NKTcm4AYvzTN8YdPJB7JIE8i8HQCice4L+A=","KxSNlOo8NqA4VEEgiy+AzMwzFMbSIrLCAQhQzxDIjtU="],"block_size":4096,"path":"welcome.37a07bec.js"},{"block_hashes":["Pl4WJeGT+CPNTpuawNH8hgIMQ6B11S1w/VPaY/kjqAY=","bStyOkDg9z9UKZpoffZs/Kqo0IIArE8ZdtEbFJ+wEyo=","TpIt3W6BNnNSP1n6hatE1B61RxbfHj0t0O/CTFx0T4w=","a+HAJwjkIzQv7AP4KT2fyDTf1y9capQ306sO+rIrrvo=","lhQowkzH7JvqJjK61k8mqIljLc6qhGeKy+m01Pn2U6I=","w/AXygoAvyDuu0NnYP+WRfZRJDIexPdJ5r9WhXx0rGE=","+Na+u4RA2NXXkD/waR/JLUvt376t4hTLQN1ANhgfFcY=","LBS7YwaWrdihdaAdzIaqhUvfm6Zg5/X7LeTy01d9U1I=","sZ3JsUbnicpL00Xx7g8+DmKd44fLWfUs/ndHL833Hos=","0ut5TXtpTIwQbQAZKkXZXhqA9lGI+8ueRTW8qTzJmbU=","zWJOzAWkLMJAPLvngfjkkfsK2aRss3vZPFOnJycUgjw=","znoi4qy8Fph5JYuqTd/E3foO+jO6NY55DqmsK0riupM=","X485r/iJC/tWet76R1CNrUhJukYGlHPQEb0O7ipRDys=","Lsl1N3Xh0i0Lc+uOydYliXRryo1rMcMqHLR4dcxp1CY=","xgEY9vrUQcvyVv7K+CCvIhO+anYJG9MfSbxLtWluwvg=","baDwqkFxl/z1+Trglp8hnUvlbyxwTE+4WINHUIzT/CQ=","V4gX9ZrOP0O9b4x08z9bYbVenlhpTAhUHwHEPFWEFM8=","jyGmDCYKeCNJi0WuiDpuUwQXcDyvVJfFWhPZTzlNB80=","rHrQAu+9PJ+H7mDL0Mlaqad0Z9LUotgQZJFKfeo5GvY="],"block_size":4096,"path":"welcome.578fbace.js"},{"block_hashes":["SiJh0RcoQ97o+KsLou3tEacalNhMG0r4dl82x2cPuNQ="],"block_size":4096,"path":"welcome.6e974aa7.js"},{"block_hashes":["vGeOYpttQaPRM93tBM9RP4Jx/O1QzGv6J3oJnYQldhE=","7Q7PTSbcSUo4WXHLqnh7QdRKyemmc+mtLebAbs9OYSA=","7MRCwEF5O1iQeGUciGJfpJQ3kblqANqOMRo9TYl6zl0=","DAyTew6lgrBGEZoJjuQV1ZOIbOizmoiGceP0+eH3zIw=","k3baO+r1AZ8oHXnR/enKulA30xiZn85tfswM6uuZw1o=","l5HB8KtoOB7FJ+kVAj1gzkPseeHtIxUzZLrvEC72Qmo=","pA7NSihY8cQyc3Hstk0HUfVZL0ngs5TzKd+Xw8i2jX8=","ubLZ+bpGAdJv6JimOD92Z1B/zSxTp13V23i4H5YJJW8=","YvbeZvxfIQ+VQzIaTBgtP9u6bo7jjwgnOeQT9ehldhw=","1yUgiyp1/Rrsf+2/cKODm+Qso+5ZkVwfBzzV+lqxlOo=","K7IPeq1TCHlA/bVNLrriOL3wqJEifnyELFODdJIY+T0=","Dlfsswi1pm8DYGXI2T8TdODy0EWiJV0lLgTtKMrTBxM=","3lLjXKd6iKnImO6qdceDYmaqJgrnMwgzT5XeVuzBWdc=","Sj8rKUMnYs3uGyq+/vmd935S7gXeJekBHHRmn+fb1K0=","DkndJqFqRhf9PDLGsCp3uN20IZBeaeYP6KK78gmQspM=","M1a4IrbMDzvZulr6wHE5IxgG3z8t9xYh2zBidA3diLY=","zt2TJahVloNxruFpAln6ts+cnUeP8ehv5VxppmAEo2Q=","awawOaF5vfpsHrtHn7ngH7odeXlKpPIrvjw5C3irZe0=","PFsJaGWnUya6X/5NFO63OXsq6gNqebITfbGZe4aTBwU="],"block_size":4096,"path":"welcome.7aac45d7.js"},{"block_hashes":["3KsNbIfaQ7fhB7B6P9ByVYCJ9d5TYf1SGR5jFnqUX2I=","0Sp7foMWMxDYNfRQBB/54JayyNWS3xeeg80vaAAQie8=","8+6r+HLgTT+Ith/lgsk/iiQk6Zg1IwgW5ihbAVDFqSc=","NvLWkguwmjB+0NqD1PWsfo8X7Z3WVZLmMR+FF580X/c=","BSITmQJqaniWADfq4REX1FQNPi1g/Kdb3XNMyKOxp24=","cbCKX2xiFaLgQONxQLehUKEyXWtBUTdm2J2ogQHSrrk=","C40BbDH75/B0zM2/0a9RIlqst5EIkTCJN0aI24I17Mk=","kCniqCEVgIrzS5XyLMEjoZiAtf98UqfcFnnSz9OjBMQ=","/Ja2DObnv1ek5/MKpN4LsZQzXm79C1RFvDMarX3l5ek=","CPRM+69z98RsUCj0Ujknbj6VtZxziyr3oXJ3U2/1SIc=","mMYZukL+9G6a5nCrfb/7XFdh7R6Z6Y4dxDYO+0pLMNM=","w8RL/nA/4lUQh5a2bHcySz8MSAyEOLpJkx4PzL+8/Bg=","I5gmlvn1So2D7Sk3+qMZDxhMJ+TbSHQ1HirT/wCamms=","y/ULQDb8o/F4TBAQOjw+hakJ8oglI9SKo6XcTEOKNk8=","kICwzayXDG1lqWbjG6YiVuMKKAsGst38ECdcjoHEhHw=","KdXW9/BgSA9cUp+vP2CA4iMXn+0KtJ/cAdrfUkmktyg=","0t9ADMJ8jUWL3DORpkFL/ba8NdoYlvHvRt3mMLCmesw=","epxzUFY3wgx09yTVm+bxBcxNPxMlm/zzg86JrshgByM=","eP3NP81YmK2t5xnaAjZMHuzahJMSCaApp2Q1gxDxbYo=","0XQcPEEPCLTdwD5RZrZHrGm+7c0llkITUEF+mZ2YlFU=","ITPUWODnvU/qtRG+xM1gnrPzmWrJy/sRrM5e2l3lgX4=","m3oL3yWv9ZP81p1qccvsSPR8Q8hxyjO0AEpxDAa10Jg=","cTNQ953+4fjEsvUFmgG5VleWYgM+PzcWP6AHYLtS2Ik="],"block_size":4096,"path":"welcome.9510c035.js"},{"block_hashes":["+oe3P03oZWOpZlsmGJS/be7Mwb1PotwftAIx6YHsvhI="],"block_size":4096,"path":"welcome.a3712e54.js"},{"block_hashes":["1LnSBJm//XbKN1za2fFudDzucZ+uFE0mxLAg9UVWsfY="],"block_size":4096,"path":"welcome.html"},{"block_hashes":["PfU53Xok3yZigF0dL0H2KBG+knVSkvNz1guj56onwIs="],"block_size":4096,"path":"windows1x-header-center.6b9730ac.png"},{"block_hashes":["cfCEdlll0YuOsH6G7uV7axyhYOhb7j9VkBciiTtOjYs="],"block_size":4096,"path":"windows1x-header-left-secure.0a58323a.png"},{"block_hashes":["+eoCUrvHpa9vvridMzRGRsRebI0jZRdEnFa1ZaLEEE4="],"block_size":4096,"path":"windows1x-header-left.e46470ef.png"},{"block_hashes":["wuzzolJsE46C6BtObeEJxUAUS6wjdXPn/Z+VIUw5q2M="],"block_size":4096,"path":"windows1x-header-right.19cf988c.png"}],"version":2} \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_metadata/verified_contents.json b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_metadata/verified_contents.json new file mode 100644 index 0000000..bcaf149 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/_metadata/verified_contents.json @@ -0,0 +1 @@ +[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJQZS1pY29uLTctc3Ryb2tlLjQzNDZhMDdkLndvZmYiLCJyb290X2hhc2giOiJGa3FtdjVMUUpNNGlfLW5fbUIzazFTQWxlMlJMZmJJQVNLVGpZN1RxeVNRIn0seyJwYXRoIjoiUGUtaWNvbi03LXN0cm9rZS44ZDU4YjUxMi50dGYiLCJyb290X2hhc2giOiJVQVRjbElmSEdmWDRVWHN2Zy1EekFpRXFSdjlxSklUOHdmRDBKSk1EOFpjIn0seyJwYXRoIjoiUGUtaWNvbi03LXN0cm9rZS5hNDZiNTEyMi5lb3QiLCJyb290X2hhc2giOiI3MG53QnM1dzYxWGNCelhheVhzaDJrWXg0aFNHMG0zZm93MGhodjEtMnVJIn0seyJwYXRoIjoiUGUtaWNvbi03LXN0cm9rZS5hNzIxM2ZhMi5zdmciLCJyb290X2hhc2giOiJBODBGUThJR05OVDZSMzRJUjhqaTdQU1JMd2gyS1h6OXNpVlZXTVZYZ2VvIn0seyJwYXRoIjoiX2xvY2FsZXMvZW4vbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkMxWE1uLXFkVWgyNENOWVNJQkNCSGZMQ3pOWnFsVXRqOUtJc29FVlNfc3MifSx7InBhdGgiOiJfbG9jYWxlcy9lcy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiSHVJb1VFY2w5aTkwWGdpVWtQMTlSdnZObm42TTcyVlVwbTV1WDlaLW9IOCJ9LHsicGF0aCI6Il9sb2NhbGVzL2ZyL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiI1akNNMFVvUFY0S0c4WExlLWFGQS1wMVBnOW1HTXZ5YnppWm53aXVnTUhZIn0seyJwYXRoIjoiX2xvY2FsZXMvamEvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Imp1ZDQ2ZVJ0SVdPRHNVRXpQTGJkdUl3MkdKNUlxdVF4R2xIZ05pM1BvQ0UifSx7InBhdGgiOiJfbG9jYWxlcy9rby9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiWkIzajJ3TzFGZWZkb2tIOFdaVTBuLTNlMnh6MlpsV3hWNUs1eWJCSjZiSSJ9LHsicGF0aCI6Il9sb2NhbGVzL3B0L21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHZG5qcjktS2xFUEU5NFB6cDBveTE0SUViRm9xMVkzLXl1cXgzay1zSHJRIn0seyJwYXRoIjoiX2xvY2FsZXMvemgtVFcvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkVpZWp2WWppUkYxVnlITmZ4c3ZtTlIzZGlUSkxHYVpacDFodUc3cGpwcGcifSx7InBhdGgiOiJfbG9jYWxlcy96aC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiRmpkUjR1TUZQa2lfM19YeTU2dmZNSHJEWE1YTEo1Y2pGRnViandaSnJWayJ9LHsicGF0aCI6ImFqYXgtbG9hZGVyLjc2ZjcyMjNlLmdpZiIsInJvb3RfaGFzaCI6IjhJaGZUQm1pMVU1SDdHS19qQkg2amd3dzlqajMzbWFNQTBNQmhJbE9Nb0EifSx7InBhdGgiOiJhbmltLjJhMjZhOWIyLmdpZiIsInJvb3RfaGFzaCI6Ijh2Q0lUZURkcWJGVUtjdDlhb0VkVTZ2YjdLaW1HZVNVNmZqa1lVLXYxT3MifSx7InBhdGgiOiJhbmltQDJ4LjIyYmNkN2YxLmdpZiIsInJvb3RfaGFzaCI6Ijc0QU1hX195cUZqSm9xc3dGZlgwZnhPb1VoeEc0ZVlraHNqRUprODNyYVEifSx7InBhdGgiOiJhbm5vdW5jZS1lbW9qaXMuNTczYWQ3YTIucG5nIiwicm9vdF9oYXNoIjoiYzZVMzJYeHEzVGpqVFVKd2VOS3NaMXhBQksxUWNTcGQ4TmNLX1JqbUNaQSJ9LHsicGF0aCI6ImFubm91bmNlLWVtb2ppc0AyeC5iNTA1OWE3Yy5wbmciLCJyb290X2hhc2giOiJZQzllamotaXE0OUtKZlNhcFN4Ynh5OFl4SzNXaklMNHFURHlpckpMVFMwIn0seyJwYXRoIjoiY2FwdHVyZS4xMDJjNzUyNy5qcyIsInJvb3RfaGFzaCI6IkV4SWlBaE82d1hkS201N1VfSE9QVDBXa2VwTzNwUE1GVzV5S293QUtURlUifSx7InBhdGgiOiJjYXB0dXJlLjMyNGE4NjVkLmpzIiwicm9vdF9oYXNoIjoidWNGZWVNWFpyLVR6OHMtck54Nm5jS0dpcjBtUWdPU1YwMXlCd2pzUlVyayJ9LHsicGF0aCI6ImNhcHR1cmUuODM5ZjA4YzIuY3NzIiwicm9vdF9oYXNoIjoiMUw3cGFuZ2tuVzBfSUJQYVhLLXhCbzRlTDdXR3Q4eGtJbXJEMzZ5WXlDQSJ9LHsicGF0aCI6ImNhcHR1cmUuODhmMTk5ZTguY3NzIiwicm9vdF9oYXNoIjoieTNtN19zRHpBM0xMeGc2bXJkdElHbmZYUm5zbU5CcTJNaTZBdmNxZnh6TSJ9LHsicGF0aCI6ImNhcHR1cmUuOGZlOTBiMDYuY3NzIiwicm9vdF9oYXNoIjoia3lxTW9OMUViMUdlQWZYNHNhWlBzUmJpQWJndEM1Z2hWcm9uczhaQ3ItSSJ9LHsicGF0aCI6ImNhcHR1cmUuOWUxZTg4YmYuY3NzIiwicm9vdF9oYXNoIjoiNXlFVTFsUUh0UGxTX2Y4QXJFSWFJZXp3NTRxZ1pxX1lITWpJVmFSay1SRSJ9LHsicGF0aCI6ImNhcHR1cmUuaHRtbCIsInJvb3RfaGFzaCI6IldUdVNTcXYtOFhMRVk1eVoyZFByR3FzZ2RsaFVVTnpMc09IZEdIVEZXek0ifSx7InBhdGgiOiJjYXB0dXJlL2luZGV4Lmh0bWwiLCJyb290X2hhc2giOiJrdkQxYVBZeXVNeVd5M2tqQlAzcXN0Uk8tQmZ3aFo5XzI0LW1SaXZsVjc0In0seyJwYXRoIjoiY2FwdHVyZS9yZWRpci5qcyIsInJvb3RfaGFzaCI6InRYVzFaZHJGTTQwRDl2LXplWDlBOUctUXg2TG5uaS1aRHRDbk1nRmI4aFEifSx7InBhdGgiOiJlZGl0b3IuMGE1MzMyZDYuY3NzIiwicm9vdF9oYXNoIjoiWi1xTGRWaTctTXVlcF9LdkZwSS0wVkRUMjFaX3cyWE1SZXhORFBoZGJJdyJ9LHsicGF0aCI6ImVkaXRvci4yODZkOTg1NS5qcyIsInJvb3RfaGFzaCI6Ii01dnNiZXRKWVJZZWFqWDhNREhtQUNraDNVcVYtU29XSFlURDQ5eFEwdncifSx7InBhdGgiOiJlZGl0b3IuNTEzZDA5NTUuanMiLCJyb290X2hhc2giOiJVYXV5cmtqWV85NFdYMUtXN01CRmNDSVhlM0VWdTN3bUlBbnoyZVRxbG9RIn0seyJwYXRoIjoiZWRpdG9yLmRkYmQ2NTgyLmNzcyIsInJvb3RfaGFzaCI6Ik4yeEM5SXpSY0tuYWRmTnZKTDZLdG95b3gybDExUGthMENmUHd4V2dTMVkifSx7InBhdGgiOiJlZGl0b3IuZjBmNmZjZjguanMiLCJyb290X2hhc2giOiJzd0tCOWt2ajhGUF9YQXUxY0poRm9SY0F2b2RfS1VDSDVqbTJDY2dFWDdNIn0seyJwYXRoIjoiZWRpdG9yLmY1NGIyNjJkLmpzIiwicm9vdF9oYXNoIjoiS1VBTC1BNnZDX1N3ODU2MjJicXA2ZU93T1hKZWhUYm9lU0lrUlRLT2JqVSJ9LHsicGF0aCI6ImVkaXRvci5odG1sIiwicm9vdF9oYXNoIjoicHV3MXZzZW5SelgzRjNSVEI5eVBJZFAydm11SndldnJNbDI4aVV5bTlJMCJ9LHsicGF0aCI6ImVtb2ppLXNtaWxpbmctZmFjZS0xNi0yMC5kZTc1Y2VjMC5wbmciLCJyb290X2hhc2giOiJReGRQaTFSRHlORl94amo5SUstd0NETkVkanpRVFMyeTZYNkZWaGsyLTg4In0seyJwYXRoIjoiZW1vamktc21pbGluZy1mYWNlLTE2LTIwQDJ4LjVmZjc5ZDhlLnBuZyIsInJvb3RfaGFzaCI6IklORnNDMlZrYnZpNDI0dUg0T2ZIMThPLTZhN0p5U3F5dW1lbUpwUXhrM2MifSx7InBhdGgiOiJoYW5kMi5lYTU1ZmVkZi5wbmciLCJyb290X2hhc2giOiJaZHlTNU9JbGliTE0tX0NDZ3NiUktnTUQ3MjNGZ1YyN1kzcy16T1EtYUhvIn0seyJwYXRoIjoiaGFuZDJAMnguODhjZjdiZDUucG5nIiwicm9vdF9oYXNoIjoic1o0Zl91NnhaMDZkRUFxdkpuX3YwQlF1d1lla05WbnNWU2ZUT3RwbUw1TSJ9LHsicGF0aCI6Imljb24tOTk5LmQ5MzA0NGFkLnBuZyIsInJvb3RfaGFzaCI6InJuUlhHMHNxZkFYWDBhTTFlVDNqQnMwYTVlNVdkUjhFeW5OYnpIYlg4WVEifSx7InBhdGgiOiJpY29uLWJhY2stYXJyb3cuMWExN2Q4ZWEuc3ZnIiwicm9vdF9oYXNoIjoiWDFhX0VOMGZSMUFwYWlTRkNJTVY2dFpsNmhzNUUtUlBNZk5QTGkwQ2VMOCJ9LHsicGF0aCI6Imljb24tYnRuLWRlbGV0ZS5mNzhjNWFiMy5zdmciLCJyb290X2hhc2giOiJvejdyemxOUk9MZUg5MjRLYkhVcG5LV2NEMmk5R2dRcjRYZVQ5U0N0Q3hjIn0seyJwYXRoIjoiaWNvbi1idG4tZG93bmxvYWQuNmExYjNiZDYuc3ZnIiwicm9vdF9oYXNoIjoicFRGS3dqeks4S1BtYzZFUllOTDhZaDYtTzYzMmxmcDBOTERaWTR1Y0xoNCJ9LHsicGF0aCI6Imljb24tY2FtZXJhLWZtLjM5MDQ2NzE3LnN2ZyIsInJvb3RfaGFzaCI6IjQzOVNjMGJIU0IwQkdoaUtYTF9TWFhtenZ2NHJucXc3TGdtYnViSklpREUifSx7InBhdGgiOiJpY29uLWRlbGV0ZS1ob3Zlci43N2NiMzJlZC5zdmciLCJyb290X2hhc2giOiJQODEzSlF5anM5STl3S2k2UU93VWJRV1BSUnpCLXB0ejFTSDhjZU50TWlZIn0seyJwYXRoIjoiaWNvbi1kZWxldGUuZDdjODE1YWUuc3ZnIiwicm9vdF9oYXNoIjoiTGMxMDctZGdxN091cW5pc1MyREwyalE2VWRUTFJCd3JYZ3VCeXhDbTBLbyJ9LHsicGF0aCI6Imljb24tZG93bmxvYWQtaG92ZXIuN2I1YjI3ZTAuc3ZnIiwicm9vdF9oYXNoIjoiMHhLcnBYTnBhNXpEUzNNeEJfY1ZhdkNwRi1NdEtvYmZJZlhyOTZZV092MCJ9LHsicGF0aCI6Imljb24tZG93bmxvYWQtcGRmLWhvdmVyLjA5ZjYyM2M5LnN2ZyIsInJvb3RfaGFzaCI6IldWQTJFME1CMlZZcUlhTkpyOFdEbkw5WVgzVUNDc3ZmTi1YVm5jQmNpQzAifSx7InBhdGgiOiJpY29uLWRvd25sb2FkLXBkZi5kZjU5MGM4ZS5zdmciLCJyb290X2hhc2giOiJiTkdzaWJpaEt0Uk9xT2NxMG5HOXFFRkhyUUJnVXlKTE1nNnZrQV9GZGFvIn0seyJwYXRoIjoiaWNvbi1kb3dubG9hZC40ODcxZDVhYS5zdmciLCJyb290X2hhc2giOiJOb3pJeFppd1hpc0p1WWM4SnlOLVdNMmlXOVFjMFZVNWloOEtpOWpxUWlVIn0seyJwYXRoIjoiaWNvbi1leHRlbnNpb25zLXBpbi1leGFtcGxlLmQyY2FhMWVkLnBuZyIsInJvb3RfaGFzaCI6Il9VN2Q4ODZmTkJHSUxqcHpmNjMySl9fWFlSaHduUjFuWXp4NmRrTDdsVWcifSx7InBhdGgiOiJpY29uLWV4dGVuc2lvbnMtcGluLWV4YW1wbGVAMnguNjhiODYxOGQucG5nIiwicm9vdF9oYXNoIjoiN0FUODI4Yy1FRGlrWnRTMTEwazN6YVBIS1RIbVNJaGtsTTNtaXRSMTBpTSJ9LHsicGF0aCI6Imljb24tZXh0ZW5zaW9ucy1wdXp6bGUtcGllY2UuYmYyYjhmMmEucG5nIiwicm9vdF9oYXNoIjoiY0J4Vmg3YzBWdFNGNmFkNWNJVVFoeUMxaGNDdjBvMmtjcDViOEwxSDEyNCJ9LHsicGF0aCI6Imljb24tZXh0ZW5zaW9ucy1wdXp6bGUtcGllY2VAMnguNzI3Y2YxMzgucG5nIiwicm9vdF9oYXNoIjoiUjJ4VG01c29Qd1lhWmE1Xy13WDdwR3VtSFA5STUyVUkzNUpoMHlaR04wOCJ9LHsicGF0aCI6Imljb24tZmlsZXMtaG92ZXIuZDc2ODkyNmYuc3ZnIiwicm9vdF9oYXNoIjoibFh0cmJMbGw5eG9EemxTeDhtZF9TYzRtOXBRMjF1cWJZT0F2VkdpQm5FWSJ9LHsicGF0aCI6Imljb24tZmlsZXMuNGM1OTkzYmIuc3ZnIiwicm9vdF9oYXNoIjoiR1hmNHduRDdFSllwSFhLSXpLWnd1UE1DZG5QWlNoY3R0RUZMbFRrWVlZYyJ9LHsicGF0aCI6Imljb24taXNzdWUtaG92ZXIuZGJkNGZkMWQuc3ZnIiwicm9vdF9oYXNoIjoibkx0aVZCQ1NTVF9qSnk4c3g4aHp1dENmSHRtR1Nja2xERTBtSFU2akxodyJ9LHsicGF0aCI6Imljb24taXNzdWUuOWI0ZmZlODguc3ZnIiwicm9vdF9oYXNoIjoidkFYTG16ZERyUDNHU1RTYmF2b2dzdElFaE1wRHhpN2E5WG9jMDI3SXdxVSJ9LHsicGF0aCI6Imljb24tc2V0dGluZ3MtaG92ZXIuNjYxMWZkMTIuc3ZnIiwicm9vdF9oYXNoIjoieDdtX0dkNUxDd2NYdlQwUEFJZlZ2ZDZrdW9oWFFELWk4aEdTWmpzMkhkayJ9LHsicGF0aCI6Imljb24tc2V0dGluZ3MuZDYyNmEzODQuc3ZnIiwicm9vdF9oYXNoIjoiVF8wVklzdjRIUGJmdDAxR1NJeUVITG1DTjdYWnBkQUpHRE5aclJsVWVXYyJ9LHsicGF0aCI6ImltYWdlcy9hamF4LWxvYWRlci5naWYiLCJyb290X2hhc2giOiI4SWhmVEJtaTFVNUg3R0tfakJINmpnd3c5amozM21hTUEwTUJoSWxPTW9BIn0seyJwYXRoIjoiaW1hZ2VzL2FuaW0uZ2lmIiwicm9vdF9oYXNoIjoiOHZDSVRlRGRxYkZVS2N0OWFvRWRVNnZiN0tpbUdlU1U2ZmprWVUtdjFPcyJ9LHsicGF0aCI6ImltYWdlcy9hbmltQDJ4LmdpZiIsInJvb3RfaGFzaCI6Ijc0QU1hX195cUZqSm9xc3dGZlgwZnhPb1VoeEc0ZVlraHNqRUprODNyYVEifSx7InBhdGgiOiJpbWFnZXMvY2hyb21lL2ljb24tZXh0ZW5zaW9ucy1nb2Z1bGxwYWdlLXBpbm5lZC5wbmciLCJyb290X2hhc2giOiJ2TjU5QnNVM08yUHZOMEozQy1PQ1AxNnJMdlNNa21kVktSRm9CdTlJWlRNIn0seyJwYXRoIjoiaW1hZ2VzL2Nocm9tZS9pY29uLWV4dGVuc2lvbnMtZ29mdWxscGFnZS1waW5uZWRAMngucG5nIiwicm9vdF9oYXNoIjoiX3RSc1I0SFprRkdHUzJSNGJMYXYySVd2VWpYRTd2eUowREVUQWd3cVdUUSJ9LHsicGF0aCI6ImltYWdlcy9jaHJvbWUvaWNvbi1leHRlbnNpb25zLXBpbi1leGFtcGxlLnBuZyIsInJvb3RfaGFzaCI6IjV6RFZCank4OEg1ZzItU2R2SEp2bkcydU5HUnR1VkNYUjNjQzFfMTdxYjAifSx7InBhdGgiOiJpbWFnZXMvY2hyb21lL2ljb24tZXh0ZW5zaW9ucy1waW4tZXhhbXBsZUAyeC5wbmciLCJyb290X2hhc2giOiJvT0ZISjB3TWR2Tk5kVTdLMkU2NjVJSkwwZmQzRzlqSEFOYTdVYndBamI4In0seyJwYXRoIjoiaW1hZ2VzL2Nocm9tZS9pY29uLWV4dGVuc2lvbnMtcGlubmVkLnBuZyIsInJvb3RfaGFzaCI6IjRHU1dsc0hCYVlYLXpFSmVUTWpoRWcwZWI4VHJidVYtUXJqZXo1b0FJT2cifSx7InBhdGgiOiJpbWFnZXMvY2hyb21lL2ljb24tZXh0ZW5zaW9ucy1waW5uZWRAMngucG5nIiwicm9vdF9oYXNoIjoiUl9sLWZ2ZDRHNno0Sm5qNE53eEp0X3loZWtDTG1LN0dGcGNpcVJDWUpkTSJ9LHsicGF0aCI6ImltYWdlcy9jaHJvbWUvaWNvbi1leHRlbnNpb25zLXB1enpsZS1waWVjZS5wbmciLCJyb290X2hhc2giOiI5VWZlc0FQUFoyZ2JCVW1qUXRDTmIydERnaXQ3Tmx2S25sS0dYSWpiVkFFIn0seyJwYXRoIjoiaW1hZ2VzL2Nocm9tZS9pY29uLWV4dGVuc2lvbnMtcHV6emxlLXBpZWNlQDJ4LnBuZyIsInJvb3RfaGFzaCI6IktMSE53N3RHWGlzZDlrVnoxeG0tdHR3cUxJa0hNbzJSc1c4bE9USzRvSWcifSx7InBhdGgiOiJpbWFnZXMvY2hyb21lL2ljb24tZXh0ZW5zaW9ucy11bnBpbm5lZC5wbmciLCJyb290X2hhc2giOiI5TUZMdURNOTdzM2VnS0tTT0pGT1lmLV91U2NodUdOaVdoSjY5RTZjUXVrIn0seyJwYXRoIjoiaW1hZ2VzL2Nocm9tZS9pY29uLWV4dGVuc2lvbnMtdW5waW5uZWRAMngucG5nIiwicm9vdF9oYXNoIjoiZEI0Vlp6cWxrUGlsd21xRmE3RDV2SDdsNVNKUFY3ODdFSXhnNUxrNHRudyJ9LHsicGF0aCI6ImltYWdlcy9pY29uLTk5OS5wbmciLCJyb290X2hhc2giOiJtWXVmd2NLUHl0cVFHQWxtQ2hwY01LX2tUU0d3V0FxbXdZUzVrTlJGMHFRIn0seyJwYXRoIjoiaW1hZ2VzL2ljb24ucG5nIiwicm9vdF9oYXNoIjoidG4tMmhScVVHWGVGandtbndVWTZrMzFHMTlxaWMwVl8xTGpJd0VyZlZuayJ9LHsicGF0aCI6ImltYWdlcy9pY29uMTI4LTk5OS5wbmciLCJyb290X2hhc2giOiJRaFE2YW9fR1hVemtXazVFdU1RLWJRYUJVb1l1a2xILW5DQmZVZEdjTkpjIn0seyJwYXRoIjoiaW1hZ2VzL2ljb24xMjgucG5nIiwicm9vdF9oYXNoIjoiSi1hRGJ5TFNKZnhLeGNuTWQ5NU1sMmNVZGhxZnk2QkZ0cWJMMFdpdXp4VSJ9LHsicGF0aCI6ImltYWdlcy9pY29uMTYtOTk5LnBuZyIsInJvb3RfaGFzaCI6IllZeGFvWnRKaEhxSUUxQXZIR2NCMjl0aWRVX1MwUzEwZjExQ1pyZEhSOEEifSx7InBhdGgiOiJpbWFnZXMvaWNvbjE2LnBuZyIsInJvb3RfaGFzaCI6ImVVcEhUSlNzRk1XTWNkMFVmSkZreHppUWdLNEQ3SjNZT0NpZFFSODd0a2sifSx7InBhdGgiOiJpbWFnZXMvaWNvbjQ4LTk5OS5wbmciLCJyb290X2hhc2giOiJmY0NrZjZ4a0hqYmNNQnBnNlNDdW9lcTB4bnBpbDFLQ044WjhGMXRJZXFVIn0seyJwYXRoIjoiaW1hZ2VzL2ljb240OC5wbmciLCJyb290X2hhc2giOiJtVkV0ejhoaDNIUElwTWRwVE1ZNmkwczVDdEZ2YWdsRTc2MlJLZ3h6U3k0In0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tYWNjb3VudC5zdmciLCJyb290X2hhc2giOiJlU3N4SUxOcFRRVWd6U2I1dHM5UW1Ub2Y5LVlvWHN3MW1JRXJZVl92d05JIn0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tYmFjay1hcnJvdy5zdmciLCJyb290X2hhc2giOiJrRWtoSlVqZXk3ZkR0M0dOd1FVR3FFbHFIWWJwTGJhR01JV2JYbVQ1TVAwIn0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tYnRuLWRlbGV0ZS5zdmciLCJyb290X2hhc2giOiJvMjBKT2VZRWJzQ2dMd2VXdTlUeDRUZkNBSU9TWnQzcUc2WU1VT2tWVUtvIn0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tYnRuLWRvd25sb2FkLnN2ZyIsInJvb3RfaGFzaCI6Ii1aWEYtN3gwa1NmdWtJTmk1anNSZXhRQXpJRkk5c3pZX2RmN0hoM0VhTUUifSx7InBhdGgiOiJpbWFnZXMvaWNvbnMvaWNvbi1jYW1lcmEtZm0uc3ZnIiwicm9vdF9oYXNoIjoid0JQak9QQ0dhOEJNVFRrdDh2NkNXLUI0OFFFU3Z0YXZRYUkwU2E4eHdxOCJ9LHsicGF0aCI6ImltYWdlcy9pY29ucy9pY29uLWNhbWVyYS5zdmciLCJyb290X2hhc2giOiJFbGFIM09LX055eWRuaEt3bXI1M3E2WmFuVW1jRTRBM242UG9kbkxJbFRVIn0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tZGVsZXRlLWhvdmVyLnN2ZyIsInJvb3RfaGFzaCI6Im1VM0ZXZVRtVVFWWEg2SzBDN3h6QjNHejhsZE1WNGZBM2JNVWN5THc4VEkifSx7InBhdGgiOiJpbWFnZXMvaWNvbnMvaWNvbi1kZWxldGUuc3ZnIiwicm9vdF9oYXNoIjoiSHNYSlpHNnVqU09EbHliVHNfempoSGgzMlJnMHktMlBtN3F4dk5PZHlMcyJ9LHsicGF0aCI6ImltYWdlcy9pY29ucy9pY29uLWRvd25sb2FkLWhvdmVyLnN2ZyIsInJvb3RfaGFzaCI6IlY5ZTRZeFpnZWY4VW5mbUw5MHNnM1FGdVdNRDN5OV92bnc4bTVrSzBhQWsifSx7InBhdGgiOiJpbWFnZXMvaWNvbnMvaWNvbi1kb3dubG9hZC1wZGYtaG92ZXIuc3ZnIiwicm9vdF9oYXNoIjoiS3pOd2xLanZKRUdZbUJjQzJ3amRyZERqMTd4all2cXpuT3lZVmdjWEdJZyJ9LHsicGF0aCI6ImltYWdlcy9pY29ucy9pY29uLWRvd25sb2FkLXBkZi5zdmciLCJyb290X2hhc2giOiJQUXgzMDRnMl9LcTFzdDMwTFl5QzRxbC1Yb2J5MkVremxoRzlZb09xUllFIn0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tZG93bmxvYWQuc3ZnIiwicm9vdF9oYXNoIjoiS04zQ0JYd1hXLVV2SC04d2V4WGx2M1JwRHF0Vl8xRmE2TVc5a3piakJFYyJ9LHsicGF0aCI6ImltYWdlcy9pY29ucy9pY29uLWZpbGVzLWhvdmVyLnN2ZyIsInJvb3RfaGFzaCI6IkVQazlQLTR1LXllVS1RanlwZkFXOVJLQy1Cc2ZVYmN4UlFSa0xWWEhLblkifSx7InBhdGgiOiJpbWFnZXMvaWNvbnMvaWNvbi1maWxlcy5zdmciLCJyb290X2hhc2giOiJvYkZCbkt5ZWU5RGt2MTVWTkZvYlJVSDRqd0NYRWxlYkxGclBTWTVTdjg0In0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24taXNzdWUtaG92ZXIuc3ZnIiwicm9vdF9oYXNoIjoiZnpreTROZzB3aGI2WW04VS0zeG5VSllkekx5NzRRWTFBcW9XUnJhQUFPZyJ9LHsicGF0aCI6ImltYWdlcy9pY29ucy9pY29uLWlzc3VlLnN2ZyIsInJvb3RfaGFzaCI6IjJueDhVekttOEdYSDI0ODdILWdQUkJFSGFhNk9yOThaVTlvQjBUakctclkifSx7InBhdGgiOiJpbWFnZXMvaWNvbnMvaWNvbi1zZXR0aW5ncy1ob3Zlci5zdmciLCJyb290X2hhc2giOiJIWnlhOFhydGo5dFVTaGFfY3JJSERpa1FUNkZSWm5wT00zNHlKa3pKZ0JjIn0seyJwYXRoIjoiaW1hZ2VzL2ljb25zL2ljb24tc2V0dGluZ3Muc3ZnIiwicm9vdF9oYXNoIjoiQ294V2NPdEZTUDZxU1FhaGQ3TUVwX3I3aWhUNVRzUHNJdnpjM1hKbkZUOCJ9LHsicGF0aCI6ImltYWdlcy9sb2FkZXIuZ2lmIiwicm9vdF9oYXNoIjoia0FxUUNvSWNkbmZRWWExQmlkU21wa0ZnUXVESnY5cUkxRkwtRHl4YmxEbyJ9LHsicGF0aCI6ImltYWdlcy9wcm9tby00NDAtMjgwLnBuZyIsInJvb3RfaGFzaCI6IlVaWTBoWHRxNGxaaFpfMjkxN25SUC1iNDNHNnBZVktTLXdrUkxkQnptVGsifSx7InBhdGgiOiJqcy9iYWNrZ3JvdW5kL2luZGV4LmpzIiwicm9vdF9oYXNoIjoiMjlaQ1NuWnNvVk9uSy04Nl9ReV9mWmw0ekRGdkZPaWMtSER3Z3B0UGJGYyJ9LHsicGF0aCI6ImpzL3BhZ2UvaW5kZXguanMiLCJyb290X2hhc2giOiJiSFRoazZlS2VPY1hnTUQzMU5sSjNZN3B4VVFtWGl2RThxbUFoMV9WWGFNIn0seyJwYXRoIjoibGVmdF9wdHIuZjU4YjUxMzYucG5nIiwicm9vdF9oYXNoIjoiWEl5bGtaMlFyRUNFenVVd2lyRjVSeHVOdXVuUmtLdlhsX0ZxYlpfQ2ctWSJ9LHsicGF0aCI6ImxlZnRfcHRyQDJ4LjJkMzNiZTFlLnBuZyIsInJvb3RfaGFzaCI6IkVtVzhkcnhjZFRaaUctSnN3SDhiREZReHdaYnE1ZmV0SGJmYUR1TGgxcTQifSx7InBhdGgiOiJtYWMxeC1oZWFkZXItY2VudGVyLjk4YTkxZTgyLnBuZyIsInJvb3RfaGFzaCI6InVBWjlhM2xKMjFtMVBKT2Frakk1eW8zUUNQdkNJZGdWSlNMYjVoVXBLR1UifSx7InBhdGgiOiJtYWMxeC1oZWFkZXItbGVmdC1zZWN1cmUuMTZkNjViNzkucG5nIiwicm9vdF9oYXNoIjoiZlpXdjhEODhsYTl3ZzRjbkRIeDh1dWVjTU5yZlhnUUJXNXlicm0yb2VqZyJ9LHsicGF0aCI6Im1hYzF4LWhlYWRlci1sZWZ0LjhlOGVlMWMxLnBuZyIsInJvb3RfaGFzaCI6IkZKUGZxc3kwQUpKX0V6VmN1VXB1TnR1VkRhNWdmQm5QUThEcFF3clBZdXcifSx7InBhdGgiOiJtYWMxeC1oZWFkZXItcmlnaHQuM2E3ZTlhOTkucG5nIiwicm9vdF9oYXNoIjoiekZZSFJKV2ZITU01UVQ5d0dudTFLR2xHMXMwSjNzQUsxZk9zeWg4amk3YyJ9LHsicGF0aCI6Im1hYzJ4LWhlYWRlci1jZW50ZXIuYzRjNzA0NjAucG5nIiwicm9vdF9oYXNoIjoiNUNjc08zMk1GYW95OEg2TW53R3ZxeDZoQkxkQ3Mxa1V2SzdGYTVuV2JYTSJ9LHsicGF0aCI6Im1hYzJ4LWhlYWRlci1sZWZ0LXNlY3VyZS45ZTdkYzFmMS5wbmciLCJyb290X2hhc2giOiJSY1VaSkx2SVp2WWJKMHRsNnRHUFFXYjZjVnd6ZVR6enB4MnV5YlNrdGNRIn0seyJwYXRoIjoibWFjMngtaGVhZGVyLWxlZnQuZTlkYTBhNWQucG5nIiwicm9vdF9oYXNoIjoibm9faWt0RmJXSjZqM2VoSXphNmV6TUdFVkJrbFBFVWxISUlZQ1FwUFBCNCJ9LHsicGF0aCI6Im1hYzJ4LWhlYWRlci1yaWdodC45MjYzYjlkZi5wbmciLCJyb290X2hhc2giOiJrTXlXWlVuX3pEWjlvSlBuN3poWWxyUVV2bWNjdkdFWmJFSF93T1JFT19BIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6IjZfLWRXc0xtNnNWQnhDRmRFWEtoLXdXMnNKTVMzWXl0NFozT3dVdEhWTGMifSx7InBhdGgiOiJvcHRpb25zLjNkZGJhNTMzLmNzcyIsInJvb3RfaGFzaCI6IkJWVzNLZjE3M2kyblptNm1uS2tZS29QX2dQWVAzRTQxem5oZ2RmVmZCVE0ifSx7InBhdGgiOiJvcHRpb25zLjNmYjQ5NjBjLmpzIiwicm9vdF9oYXNoIjoiZjVUU1VvbGFJckZEb3FJdkc2MW9CTDQtMlM2WEljNWE1TWl1Y19hdDk2TSJ9LHsicGF0aCI6Im9wdGlvbnMuN2JjZjJiMTIuanMiLCJyb290X2hhc2giOiJoM2pXN0ozNVd2OFdJalJ2ZDFYcDNoOWtGS25FcC10ZUFNcmRleno2QVZNIn0seyJwYXRoIjoib3B0aW9ucy5odG1sIiwicm9vdF9oYXNoIjoiSUFnekYxMVgzOVRzUUNOMzV4REJzVEZXckVrN2REamNEYVRMc05tTk00VSJ9LHsicGF0aCI6InAvX2FwaS4xYTljZDAyZC5qcyIsInJvb3RfaGFzaCI6ImZsWEk4MVY5azRXYk95X25KTlZvcVI1SmxHV0FHRmVWWFFlR3ZxNndQNW8ifSx7InBhdGgiOiJwL19hcGkuZmY2ZTU1ZjAuanMiLCJyb290X2hhc2giOiJSdk1odnE3MzNKUzlZS2xrRV92dFRvS3o0UUNFTUpZbS1XeW1oZDA5SkxFIn0seyJwYXRoIjoicC9fYXBpLmh0bWwiLCJyb290X2hhc2giOiJmc2Z5WFpVcHhYSVplcGU0SVd5OXQtX28tclQzQ28wVzh2QmhkXzBOSVlBIn0seyJwYXRoIjoicC9pbmRleC43Y2M3NThjOS5qcyIsInJvb3RfaGFzaCI6IklJSHVXM3Q4cExaZUtqdkJoc0NsVUc5NjVucjJQaTFwZnNFZ2pVc1hiQTgifSx7InBhdGgiOiJwL2luZGV4LmNjMzdiOWU1LmpzIiwicm9vdF9oYXNoIjoiUHo2aXlYTUNLOWRrQVRveXJlRURFVDJRTXhwejhtNC1pclF5eFh1LTVicyJ9LHsicGF0aCI6InAvaW5kZXguaHRtbCIsInJvb3RfaGFzaCI6ImNHXzdXeGUxdGdid3M5ZGlhRm5uU1RYaWktdjlDaVBwZ2Fxd3BIYjZjdFUifSx7InBhdGgiOiJwb3B1cC40NzAzMGIyOC5jc3MiLCJyb290X2hhc2giOiI1RV9vV0xidncwVnJyYVJVUDJ4bHJUMXhiNERvM21UVThBRVNfbFEzQUlrIn0seyJwYXRoIjoicG9wdXAuNzczMjNkNjcuanMiLCJyb290X2hhc2giOiJLdnpKaXctMXZrMFVGN3dJd2F6eTlCUU96UGYyaGVGUnFJV3dfei1CV3UwIn0seyJwYXRoIjoicG9wdXAuN2RjMjA4MDEuanMiLCJyb290X2hhc2giOiJ0dlJ3VWtMV2VJNVB1Vm1xcndxZmJEU1NGZG1lSkVrU2FDT1FlMWdRc3ZRIn0seyJwYXRoIjoicG9wdXAuODU5OTgwYzEuanMiLCJyb290X2hhc2giOiJUaC1WT1ZxR0VGWmRtdklyWkVNc1o1azJyZ2pQWHhvaTFtMG82SnZ3QTF3In0seyJwYXRoIjoicG9wdXAuOWY2ZGU0M2EuanMiLCJyb290X2hhc2giOiJnX3I4OXhWZG1pTXNRck5ndzNBLTY0S0RJdE85T1hsYkxacEhKZ1UwT0YwIn0seyJwYXRoIjoicG9wdXAuYmFjN2Q5YTAuanMiLCJyb290X2hhc2giOiJweWM4TG1HbTJGUEdZMTNybjZFcW1Fc3VGMnZwemkxQTJUSWwtT3ZHc05JIn0seyJwYXRoIjoicG9wdXAuYmVlZjgzMzMuanMiLCJyb290X2hhc2giOiJYd2x1S1hEVTNvQ2FVWDJFbXk2WlRKVlhSYVh2WlBlTU9nQjVVRVpTazNVIn0seyJwYXRoIjoicG9wdXAuaHRtbCIsInJvb3RfaGFzaCI6InhwcE9HcTF4V096b09OX2RkNXJkMFRTd0Yzalh2ZEVuV2RyR1l2VXI1LWsifSx7InBhdGgiOiJwcmVtLWVtb2ppcy5lMzI0MmQwNC5wbmciLCJyb290X2hhc2giOiJucFFQeENrWlhiTkZya0tfZENRaVJfeVhLRVQzQTF0NENRZVpCT2llRVhBIn0seyJwYXRoIjoicHJlbS1lbW9qaXNAMnguMGExMzQ4ZDgucG5nIiwicm9vdF9oYXNoIjoiZkpLdUlhdGdRZjQ4WUdZZFgwSXJIRW5vdWR4a1JnaWxZSjFLR3lXSVU2cyJ9LHsicGF0aCI6IndhdmUtZW1vamktMjAtMjcuODYxOWE0NTAucG5nIiwicm9vdF9oYXNoIjoiUHZIcHdQMnhTTTJpNldlOHJBQkh1TmhDZEJJU204MGZWeE42MXpQZkMtVSJ9LHsicGF0aCI6IndhdmUtZW1vamktMjAtMjdAMnguNDFjY2VjZjQucG5nIiwicm9vdF9oYXNoIjoiTUJXMHN2RVlva0Y1TFNuNHhZWmNTT3VtcGxsMzh4TkxqNlhlR2RBb20tdyJ9LHsicGF0aCI6IndlbGNvbWUuMDUyMzE5ZjkuY3NzIiwicm9vdF9oYXNoIjoidEtOa2dTaFNoaDk1N3RkcnJMdFlfczNoRnpKTWJDLVhXT1NMc05yZmJkOCJ9LHsicGF0aCI6IndlbGNvbWUuMjRlZTU2YWQuanMiLCJyb290X2hhc2giOiJwaEliVkNTanZrc2dlQWwtWDdXOG02Qm00WWZfa2EtUzY3cDBUOGgzRy04In0seyJwYXRoIjoid2VsY29tZS4yYmEyMDkxMC5qcyIsInJvb3RfaGFzaCI6IjkzcUpyMXNzTnE5czQwU21aYldUQkIzVlFsaFV6eDYtRU9TSE1xVlNwRUkifSx7InBhdGgiOiJ3ZWxjb21lLjM3YTA3YmVjLmpzIiwicm9vdF9oYXNoIjoiNGVWbzFNUU01NThVMDlvSTNaOXg4WVR4VDlXV19nZ3hfVjYtQkZJRE44MCJ9LHsicGF0aCI6IndlbGNvbWUuNTc4ZmJhY2UuanMiLCJyb290X2hhc2giOiI3U3ZQckJURjVXcS01eE5iTlluQ0Yza1Znak5lR3VsMmxtcDFuaFJzLWljIn0seyJwYXRoIjoid2VsY29tZS42ZTk3NGFhNy5qcyIsInJvb3RfaGFzaCI6IlNpSmgwUmNvUTk3by1Lc0xvdTN0RWFjYWxOaE1HMHI0ZGw4MngyY1B1TlEifSx7InBhdGgiOiJ3ZWxjb21lLjdhYWM0NWQ3LmpzIiwicm9vdF9oYXNoIjoidWdISzVhOG1VNngzSTRrb1JUUlU3dnlNcllua0phVmxKaFlLaU96VFU3USJ9LHsicGF0aCI6IndlbGNvbWUuOTUxMGMwMzUuanMiLCJyb290X2hhc2giOiJfUE1GN0dvUTFZR3pBeGFGQjlKSmNZdGdwWFVTUkZoSktSRTh1Y3hjOHNFIn0seyJwYXRoIjoid2VsY29tZS5hMzcxMmU1NC5qcyIsInJvb3RfaGFzaCI6Ii1vZTNQMDNvWldPcFpsc21HSlNfYmU3TXdiMVBvdHdmdEFJeDZZSHN2aEkifSx7InBhdGgiOiJ3ZWxjb21lLmh0bWwiLCJyb290X2hhc2giOiIxTG5TQkptX19YYktOMXphMmZGdWREenVjWi11RkUwbXhMQWc5VVZXc2ZZIn0seyJwYXRoIjoid2luZG93czF4LWhlYWRlci1jZW50ZXIuNmI5NzMwYWMucG5nIiwicm9vdF9oYXNoIjoiUGZVNTNYb2szeVppZ0YwZEwwSDJLQkcta25WU2t2TnoxZ3VqNTZvbndJcyJ9LHsicGF0aCI6IndpbmRvd3MxeC1oZWFkZXItbGVmdC1zZWN1cmUuMGE1ODMyM2EucG5nIiwicm9vdF9oYXNoIjoiY2ZDRWRsbGwwWXVPc0g2Rzd1VjdheHloWU9oYjdqOVZrQmNpaVR0T2pZcyJ9LHsicGF0aCI6IndpbmRvd3MxeC1oZWFkZXItbGVmdC5lNDY0NzBlZi5wbmciLCJyb290X2hhc2giOiItZW9DVXJ2SHBhOXZ2cmlkTXpSR1JzUmViSTBqWlJkRW5GYTFaYUxFRUU0In0seyJwYXRoIjoid2luZG93czF4LWhlYWRlci1yaWdodC4xOWNmOTg4Yy5wbmciLCJyb290X2hhc2giOiJ3dXp6b2xKc0U0NkM2QnRPYmVFSnhVQVVTNndqZFhQbl9aLVZJVXc1cTJNIn1dLCJmb3JtYXQiOiJ0cmVlaGFzaCIsImhhc2hfYmxvY2tfc2l6ZSI6NDA5Nn1dLCJpdGVtX2lkIjoiZmRwb2hhb2NhZWNoaWZpZm1iYmJiYmtub2FsY2xhY2wiLCJpdGVtX3ZlcnNpb24iOiI4LjMiLCJwcm90b2NvbF92ZXJzaW9uIjoxfQ","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"IYMK0I2hj8bav6DfekQd2i1b8LPvS_aqr55yZpMeS9ZKZx1aGO9ovoU1l_3cMrmwCnaZKlJmJ9cTbTp7t1pkeJw3ByH6lbPxNk_OnXMxPyA6808ZgQiQHGu9rtR_Ox5Dmg4UC7E8gzf9tuMrZhl0m9fmtBlxLDRWZx_04Tsxb24"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"HcGbyrSWOA7hZi_2vAJoqoUVo84VKEhyLaw_1hThoMVxZ99yaunCoKQ1L4pt2rQ3BGds-NNRoLjpXSUIqvKRFr4dy15OBI3A_G6asK4WPYVy-Yzno32TEzTblNKKsyKx0QAWPNs6QG_lofuDx6PfaxTqp0cq1OQ8kK0vkIGoMomFjNV3jF3q10guuTUXJP__vR_3wQisM_gyPe_2tqTpUwBi1Oim5vRdDgb1P3Np-8Xx6G7MeS40DvtXyrxjaFCn3I4PvU1Jwvq4Xc9pQiDCXhRvDy_hzAdznU-XuiU1TWgZ8Z17ROeDF3o1c3bQ4XnNgqMEnXBlR26tqk2lOf1CBw"}]}}] \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/ajax-loader.76f7223e.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/ajax-loader.76f7223e.gif new file mode 100644 index 0000000..f8f3dff Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/ajax-loader.76f7223e.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/anim.2a26a9b2.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/anim.2a26a9b2.gif new file mode 100644 index 0000000..42fcb13 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/anim.2a26a9b2.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/anim@2x.22bcd7f1.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/anim@2x.22bcd7f1.gif new file mode 100644 index 0000000..bda53db Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/anim@2x.22bcd7f1.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/announce-emojis.573ad7a2.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/announce-emojis.573ad7a2.png new file mode 100644 index 0000000..90bd79f Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/announce-emojis.573ad7a2.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/announce-emojis@2x.b5059a7c.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/announce-emojis@2x.b5059a7c.png new file mode 100644 index 0000000..c545165 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/announce-emojis@2x.b5059a7c.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.102c7527.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.102c7527.js new file mode 100644 index 0000000..0a26a3c --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.102c7527.js @@ -0,0 +1,14 @@ +function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n={},o={},s=r.parcelRequire60cc;null==s&&((s=function(e){if(e in n)return n[e].exports;if(e in o){var t=o[e];delete o[e];var r={id:e,exports:{}};return n[e]=r,t.call(r.exports,r,r.exports),r.exports}var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,t){o[e]=t},r.parcelRequire60cc=s),s.register("5IuNT",(function(t,r){var n,o;e(t.exports,"register",(()=>n),(e=>n=e)),e(t.exports,"resolve",(()=>o),(e=>o=e));var i={};n=function(e){for(var t=Object.keys(e),r=0;rn),(e=>n=e));var o={};function i(e){return(""+e).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}n=function(e){var t=o[e];return t||(t=function(){try{throw new Error}catch(t){var e=(""+t.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(e)return i(e[2])}return"/"}(),o[e]=t),t}})),s.register("fsIIe",(function(e,t){var r=s("8WK9J"),n=s("aE9S3"),o=s("8fRhX"),i=s("bDyoN");function a(e){var t=new o(e),i=n(o.prototype.request,t);return r.extend(i,o.prototype,t),r.extend(i,t),i}var l=a(i);l.Axios=o,l.create=function(e){return a(r.merge(i,e))},l.Cancel=s("gaLaE"),l.CancelToken=s("jKfay"),l.isCancel=s("7YfJF"),l.all=function(e){return Promise.all(e)},l.spread=s("5VaTU"),e.exports=l,e.exports.default=l})),s.register("8WK9J",(function(e,t){var r=s("aE9S3"),n=s("fHdr2"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r + * @license MIT + */ +e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}})),s.register("8fRhX",(function(e,t){var r=s("bDyoN"),n=s("8WK9J"),o=s("hSB82"),i=s("jDUA6");function a(e){this.defaults=e,this.interceptors={request:new o,response:new o}}a.prototype.request=function(e){"string"==typeof e&&(e=n.merge({url:arguments[0]},arguments[1])),(e=n.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[i,void 0],o=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)o=o.then(t.shift(),t.shift());return o},n.forEach(["delete","get","head","options"],(function(e){a.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}})),n.forEach(["post","put","patch"],(function(e){a.prototype[e]=function(t,r,o){return this.request(n.merge(o||{},{method:e,url:t,data:r}))}})),e.exports=a})),s.register("bDyoN",(function(e,t){var r=s("kIky1"),n=s("8WK9J"),o=s("ld7hz"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r)&&(l=s("kqen0")),l),transformRequest:[function(e,t){return o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c})),s.register("ld7hz",(function(e,t){var r=s("8WK9J");e.exports=function(e,t){r.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}})),s.register("kqen0",(function(e,t){var r=s("8WK9J"),n=s("jKGQ1"),o=s("1UUsN"),i=s("iQd8S"),a=s("6j9JE"),l=s("4EkQk");e.exports=function(e){return new Promise((function(t,c){var d=e.data,u=e.headers;r.isFormData(d)&&delete u["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";u.Authorization="Basic "+btoa(f+":"+p)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?i(h.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};n(t,c,o),h=null}},h.onerror=function(){c(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=s("jdnCN"),g=(e.withCredentials||a(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(u[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(u,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete u[t]:h.setRequestHeader(t,e)})),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),c(e),h=null)})),void 0===d&&(d=null),h.send(d)}))}})),s.register("jKGQ1",(function(e,t){var r=s("4EkQk");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}})),s.register("4EkQk",(function(e,t){var r=s("96WxY");e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}})),s.register("96WxY",(function(e,t){e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e}})),s.register("1UUsN",(function(e,t){var r=s("8WK9J");function n(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,o){if(!t)return e;var i;if(o)i=o(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))})))})),i=s.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}})),s.register("iQd8S",(function(e,t){var r=s("8WK9J"),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,o,i,s={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),o=r.trim(e.substr(i+1)),t){if(s[t]&&n.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([o]):s[t]?s[t]+", "+o:o}})),s):s}})),s.register("6j9JE",(function(e,t){var r=s("8WK9J");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}})),s.register("jdnCN",(function(e,t){var r=s("8WK9J");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}})),s.register("hSB82",(function(e,t){var r=s("8WK9J");function n(){this.handlers=[]}n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=n})),s.register("jDUA6",(function(e,t){var r=s("8WK9J"),n=s("594ib"),o=s("7YfJF"),i=s("bDyoN"),a=s("dHQA6"),l=s("HJw6u");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!a(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=n(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return c(e),t.data=n(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=n(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}})),s.register("594ib",(function(e,t){var r=s("8WK9J");e.exports=function(e,t,n){return r.forEach(n,(function(r){e=r(e,t)})),e}})),s.register("7YfJF",(function(e,t){e.exports=function(e){return!(!e||!e.__CANCEL__)}})),s.register("dHQA6",(function(e,t){e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}})),s.register("HJw6u",(function(e,t){e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}})),s.register("gaLaE",(function(e,t){function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r})),s.register("jKfay",(function(e,t){var r=s("gaLaE");function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n((function(t){e=t})),cancel:e}},e.exports=n})),s.register("5VaTU",(function(e,t){e.exports=function(e){return function(t){return e.apply(null,t)}}})),s.register("cW7yT",(function(e,t){ +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n{let e=[m],t=0;return(0,u.serialMap)(e,(e=>e().then((e=>{if("number"!=typeof e){let t=`Migration ${i-1} returned non-number: ${e}`,r=new Error(t);throw r.name="InvalidMigration",r}return t+=e,e})))).then((()=>{t&&(c.default.info("Updated",t),d.default.triggerUpdated({source:"MIGRATION",isDone:!0}))}))};const m=()=>h.default.load().then((e=>{const t="firstKnownVersion";return e[t]?0:h.default.set(t,(0,f.getVersion)()).then((()=>1))}));var g=s("aiU1O");let w=null;var y=s("03QYZ"),E=s("aQWOf"),v={};v=s("9yYZW").getBundleURL("1iJqy")+s("5IuNT").resolve("3sgVN");var b={};b=s("9yYZW").getBundleURL("1iJqy")+s("5IuNT").resolve("eZbkr");var C;C=s("fsIIe");const S=async e=>{const r=await(e=>t(C).get(e).then((e=>e.data)))(e),n=document.createElement("div");return n.innerHTML=r,n.getElementsByTagName("svg")[0]};var T=s("1BBN9"),_=s("8ABn4"),x=s("h4XuO"),k=(a=s("iMjBX"),d=s("mG6c6"),c=s("2xkva"),s("2kfQE"));g=s("aiU1O"),y=s("03QYZ");const I=()=>{const e=(0,y.getQueryString)(),t=e.id||e.oid,r=e.e,n=e.url;return{options:$(t,r,n),history:L(t,r,n),capture:t?N(t,n):void 0,editor:t&&r?A(t,r,n):void 0}},R=(e,t,r=!1)=>{if(e){-1===e.href.indexOf("?")&&(e.href=t,r&&e.setAttribute("style",""))}},N=(e,t=null)=>{const r={id:e};t&&(r.url=t);return"/capture.html"+("?"+(0,y.toQueryString)(r))},A=(e,t,r=null)=>{const n={id:e,e:t};r&&(n.url=r);return"/editor.html"+("?"+(0,y.toQueryString)(n))},$=(e=null,t=null,r=null)=>{let n="";if(e){const o={id:e};t&&(o.e=t),r&&(o.url=r),n="?"+(0,y.toQueryString)(o)}return"/options.html"+n},L=(e=null,t=null,r=null)=>{let n="";if(e){const o={oid:e};t&&(o.e=t),r&&(o.url=r),n="?"+(0,y.toQueryString)(o)}return"/capture.html"+n};y=s("03QYZ"),x=s("h4XuO"),y=s("03QYZ");const O=(e,t,r,n,o)=>{(0,x.$)("error-title").innerText=e;let i=(0,x.$)("error-body");i.innerText=t,(0,y.asArray)(i.getElementsByClassName(O.extrasClassName)).forEach((e=>{e.parentNode.removeChild(e)}));let s=(0,x.$)("error");s.classList.toggle("warning",!r),x.$.findClass("close",s).forEach((e=>{e.style.display=n?"":"none",e._assignedClose||(e._assignedClose=!0,x.$.on(e,"click",D))})),(0,x.$)("error-buttons").style.display=!0===o?"none":"",x.$.show("error-wrap")};O.extrasClassName="errors-html-extra";const D=()=>{(0,x.$)("error-wrap").style.display="none"},P=()=>Promise.resolve().then((()=>{(0,x.$)("image").classList.add("loading")})),j=()=>Promise.resolve().then((()=>{(0,x.$)("image").classList.remove("loading")}));function M(){return _.Capture.all().then((e=>function(e){D(),(0,x.$)("image").style.display="none",window.scrollTo(0,0);let r=document.createElement("ul");r.className="dropdown-items";let n=e.map((e=>function(e){let t=e.url;1!==e.images.length&&(t+=` (${e.images.length} images)`);let r=e.dateTime.toLocaleString({...E.DateTime.DATETIME_SHORT,year:"2-digit"}),n=e.sizes?H(e.sizes.reduce(((e,t)=>e+t))):"",o=e.displayURL,i=document.createElement("li");i.className="dropdown-item";let s=document.createElement("div");s.className="container",i.appendChild(s);let l=document.createElement("label");l.className="checkbox-wrap";let c=document.createElement("input");c.type="checkbox",c.className="checkbox file-checkbox",c.dataset.id=e.id,l.appendChild(c),s.appendChild(l);let d,u=document.createElement("a");u.textContent=t,u.href=o,s.appendChild(u),e.edits&&e.edits.length&&(d=document.createElement("span"),d.textContent=`(${(0,a.tr)("Edited")})`,d.className="dim edited-note",u.appendChild(d));return d=document.createElement("span"),d.textContent=n,d.className="size right",u.insertBefore(d,u.firstChild),d=document.createElement("span"),d.textContent=r,d.className="date right",u.insertBefore(d,u.firstChild),i}(e))),o=n.length-1;for(;o>=0;)r.appendChild(n[o]),o--;e.length||r.appendChild(function(){const e=document.createElement("li");e.className="dropdown-item info";const t=document.createElement("div");t.className="container";const r=document.createElement("em");return r.textContent=(0,a.tr)("No screen captures found. Go make some!"),t.appendChild(document.createTextNode("😦 ")),t.appendChild(r),t.appendChild(document.createTextNode(" 😊")),e.appendChild(t),e}());let i=(0,x.$)("history");x.$.empty(i);let s=document.createElement("div");s.className="big-card",s.appendChild(function(){let e=document.createElement("div");e.className=" container title-container history-title-container";const r=document.createElement("div");r.className="h2-wrap";let n=document.createElement("h2");n.textContent=(0,a.tr)("Files"),r.appendChild(n),e.appendChild(r);let o=document.createElement("div");o.className="controls clearfix",e.appendChild(o);let i=document.createElement("label");i.className="checkbox-wrap",o.appendChild(i);let s=document.createElement("input");s.type="checkbox",s.className="meta-checkbox",s.addEventListener("change",(e=>{let t=e.target.checked;U().forEach((e=>e.checked=t)),q()})),i.appendChild(s);let l=document.createElement("div");l.className="checkbox-note",l.textContent="",o.appendChild(l);let d=document.createElement("button");d.textContent=(0,a.tr)("Delete"),d.className="checkbox-button check-box-button-del",d.disabled=!0,o.appendChild(d),S(t(v)).then((e=>{e.classList.add("btn-icon"),d.appendChild(e)})).catch((e=>{c.default.error(`Error loading svg (${t(v)})`,e)})),d.addEventListener("click",(e=>{!function(e){let t=e.length;const r=1===t?(0,a.tr)("Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)"):(0,a.tr)("Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)",null,[t],{count:{content:"$1",example:"2"}});if(!confirm(r))return;let n=(0,a.tr)("Remove files");_.Capture.lookupIds(e).then((e=>{let t=[],r=[],n=[];return Promise.all(e.map((e=>e.remove().then((()=>t.push(e.id))).catch((t=>{r.push(e.id),n.push(t)}))))).then((()=>{if(r.length&&0===t.length)throw n[0];return{succeeded:t,failed:r,errors:n}}))})).then((({succeeded:e,failed:t})=>{let r=e.length,o=t.length,i=1===r?(0,a.tr)("1 file was successfully removed."):(0,a.tr)("$num$ files were successfully removed.",null,[r],{num:{content:"$1",example:"2"}});i+=" 🗑",o&&(i+="\n\n",i+=1===o?(0,a.tr)("1 file could not be removed."):(0,a.tr)("$num$ files could not be removed.",null,[o],{num:{content:"$1",example:"2"}})),M(),window.setTimeout((()=>{O(n,i),window.setTimeout((()=>{D()}),3e3)}),50)})).catch((e=>{c.default.error("Error handling files",e),g.update(e).then((()=>{let e=(0,a.tr)("Error handling files. Please report this via the flag reporting button above.");O(n,e,!0,!0)}))}))}(B(U()))}));let u=document.createElement("button");return u.textContent=(0,a.tr)("Download"),u.className="checkbox-button check-box-button-down",u.disabled=!0,o.appendChild(u),S(t(b)).then((e=>{e.classList.add("btn-icon"),u.appendChild(e)})).catch((e=>{c.default.error(`Error loading svg (${t(b)})`,e)})),u.addEventListener("click",(e=>{let t=B(U());(0,T.requestDownloads)().then((e=>{if(e)return _.Capture.lookupIds(t).then((e=>[].concat.apply([],e.map((e=>e.fullPaths))))).then((e=>(0,y.fullServiceDownload)(e))).then((({hasPerms:e,results:t,failCount:r,successCount:n})=>{if((0,c.default)(`download success ${t.length} files`),e)if(r){let e="Some files did not download",r=t.filter((e=>!1===e.success)),n=(0,a.tr)("The following files could not be downloaded:")+`\n\n${r.map((e=>e.url)).join("\n")}\n\n`+k.ERR_MSG_IF_PERSISTS;O(e,n,!0,!0)}else(0,c.default)(`downloaded ${t.length} files`);else{let e=(0,a.tr)("Cannot download files"),t=(0,a.tr)("You need to grant the download privilege in order to download files");O(e,t,!1,!0)}}));{let e=(0,a.tr)("Permission needed to download files"),t=(0,a.tr)("You need to grant the download privilege in order to download files");return O(e,t,!1,!0),g.update().then((()=>!0))}})).catch((e=>{g.update(e).then((()=>{c.default.error("Download error",e);let t=(0,a.tr)("Error downloading files"),r=(0,a.tr)("There was an error downloading files, please report it via the flag button above.");O(t,r,!0,!0)}))}))})),e}()),s.appendChild(r),i.appendChild(s),i.style.display="block";let l=F.loadIdsSet();U().forEach((e=>{l.has(e.dataset.id)&&(e.checked=!0),e.addEventListener("change",q)})),q()}(e))).catch((e=>{c.default.error("Error in loadHistory",e),g.update(e).then((()=>{let e=(0,a.tr)("Error loading history"),t=k.ERR_MSG_IF_PERSISTS;O(e,t,!0,!0)}))}))}function U(e){let t=x.$.findClass("file-checkbox",(0,x.$)("history"));return!0===e&&F.saveElts(t),t}function B(e){return e.filter((e=>e.checked)).map((e=>parseInt(e.dataset.id,10)))}const F=function(){let e="checkedFiles";return{saveElts:t=>{let r=B(t).join(",");if(window.sessionStorage)try{window.sessionStorage.setItem(e,r)}catch(e){c.default.error("Error storing checked state",e)}},loadIdsSet:()=>{let t="";if(window.sessionStorage)try{t=window.sessionStorage.getItem(e)||""}catch(e){c.default.error("Error loading checked state",e)}return new Set(t.split(","))}}}();function q(){let e=U(!0),t=e.length,r=e.filter((e=>e.checked)).length,n=(0,x.$)("history"),o=x.$.findClass("checkbox-note",n)[0];const i=(0,a.tr)("Selected");o.textContent=0===t?"":`(${r} ${i})`,n.classList[0===t?"add":"remove"]("no-screenshots");let s=x.$.findClass("meta-checkbox",n)[0];0!==r&&r!==t||(s.checked=0!==r),x.$.findClass("checkbox-button",n).forEach((e=>{e.disabled=0===r,e.title=0===r?(0,a.tr)("Select 1 or more screenshots to use this action."):""}))}function H(e,t=2){if(0==e)return"0";const r=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,r)).toFixed(t)} ${H.sizes[r]}`}H.sizes=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var K=s("2q4iO"),G=s("aHNfr"),W=(K=s("2q4iO"),s("21kSJ")),X=s("jmw9X"),Y=(a=s("iMjBX"),s("a5i9T"));const z=({cmd:e,ctrl:t,alt:r,shift:n,char:o})=>{const i=(0,Y.getIsMac)(),s=[];return e&&s.push(i?"⌘":"⌃"),t&&s.push("⌃"),r&&s.push("⌥"),n&&s.push("⇧"),s.push(o),s.join("")};var J=s("76B86"),V=s("lLQan");var Q=({Actions:e,STATE:r})=>{const[n,o]=(0,K.useState)(""),[i,s]=(0,K.useState)(null);(0,K.useEffect)((()=>{const e=({text:e})=>{o(e)};(0,V.onNotifyText)(e);const t=e=>{(0,W.canCopyTextToClipboard)()&&!r.rejectedDl&&(e.preventDefault(),s({pageX:e.pageX-window.scrollX,pageY:e.pageY-window.scrollY}))},n=document.getElementById("image");return n.addEventListener("contextmenu",t,!1),()=>{(0,V.offNotifyText)(e),n.removeEventListener("contextmenu",t,!1)}}));const l=i&&r.record;let c=[];if(l){r.record.fullPaths.forEach((e=>{c.push()}))}return t(K).createElement(t(K).Fragment,null,n&&t(K).createElement(V.default,{text:n}),l&&t(K).createElement(J.default,{pageX:i.pageX,pageY:i.pageY,onClose:()=>s(null),onUpdatePosition:(e,t)=>s({pageX:e,pageY:t}),cfg:{rows:[{text:(0,a.tr)("Save Image As…"),shortcut:z({cmd:!0,shift:!0,char:"S"}),onClick:t=>e.download(r.record,X.GA_VIA_DIALOG,!0)},{text:(0,a.tr)("Save PDF As…"),onClick:t=>e.downloadPDF(r.record,X.GA_VIA_DIALOG,!0)},...r.record.fullPaths.map(((t,n,o)=>({text:`${(0,a.tr)("Copy Image")}${1===o.length?"":" "+(n+1)}`,shortcut:0===n?z({cmd:!0,char:"C"}):void 0,onClick:t=>e.copyToClipboard(r.record,X.GA_VIA_DIALOG,n,r.images)}))),{divider:!0},{isTitle:!0,title:"Premium feature"},...r.record.fullPaths.map(((t,r,n)=>({text:`${(0,a.tr)("Edit Image")}${1===n.length?"":" "+(r+1)}`,shortcut:0===r?z({cmd:!0,char:"E"}):void 0,onClick:t=>e.goToEditor(X.GA_VIA_DIALOG,r)}))),{divider:!0},{text:(0,a.tr)("Copy original URL"),onClick:t=>e.copyUrl(r.record,X.GA_VIA_DIALOG)},{text:(0,a.tr)("Open original URL"),disabled:!r.record||r.record.url.startsWith("chrome://")||r.record.url.startsWith("edge://"),title:r.record&&r.record.url.startsWith("chrome://")||r.record&&r.record.url.startsWith("edge://")?"Cannot open chrome:// URLs":void 0,onClick:t=>e.goToUrl(r.record,X.GA_VIA_DIALOG)}]}}))},Z=(V=s("lLQan"),s("ecsdh")),ee=s("aZB6T"),te=s("l6VXY"),re=s("dqmzj"),ne=s("gstfn"),oe=s("317M2"),ie=(T=s("1BBN9"),s("5dZ7N"));const se="ChromeTabsError",ae=((0,ie.genLastErrorFmt)(se),(0,ie.genWrapError)(se)),le=()=>{return(e={active:!0,currentWindow:!0},ae(chrome.tabs.query(e),"query")).then((e=>e[0]));var e},ce=async(e,t)=>{let r,n=t.length;const o=i=>{if(i>=t.length)return t;let s=t[i],a=i===n-1;return e.incognito&&0===i?(l={url:s,incognito:!1,focused:a},ae(chrome.windows.create(l),"windowsCreate")).then((e=>(r=e.id,o(i+1)))):(e=>ae(chrome.tabs.create(e),"create"))({url:s,active:a,windowId:r,openerTabId:e.id,index:(e.incognito?0:e.index)+1+i}).then((e=>o(i+1)));var l};return o(0)};W=s("21kSJ"),X=s("jmw9X"),_=s("8ABn4"),x=s("h4XuO"),a=s("iMjBX");var de=s("9X70u");X=s("jmw9X"),x=s("h4XuO");var ue={[de.ERROR_INCOGNITO_NETWORK_NAME]:{title:"Network error downloading file",body:"You might be experiencing a bug that was introduced to the Chrome browser in v68. In the meantime, you can try either of the following.\n\n1. right-click and “Save image as” or just click and drag the image to your desktop (if you are not using auto-download)\n\n2. disable “Allow in incognito” from the Chrome settings page for this extension (you can return to this capture from the history view within this extension):",buttons:()=>{let e=`${X.CUR_BROWSER_INFO.browser_protocol}extensions?id=${chrome.runtime.id}`,t=document.createElement("a");return t.href="#",t.innerText=e,Object.assign(t.style,{display:"block",fontWeight:"bold",margin:"1em 0"}),x.$.on(t,"click",(t=>{t.preventDefault(),le().then((t=>ce(t,[e])))})),[t]}}},he=(d=s("mG6c6"),l=s("cEw93"),X=s("jmw9X"),s("k0f7q")),fe=s("jzpMZ"),pe=(X=s("jmw9X"),l=s("cEw93"),c=s("2xkva"),s("yZcwP")),me=s("fMrNL");const{local:ge,sync:we}=me.default;var ye=class{getField(e){return this.fields.find((t=>t.name===e))}_key(e){return this.namespace+"."+e}_keys(e){if(void 0===e)throw new Error("Cannot pass `undefined` as `keys`!");return"string"==typeof e&&(e=[e]),e.map((e=>this._key(e)))}_stripKey(e){return e.substring(this.namespace.length+1)}set(e,t){return this.setObj({[e]:t})}setObj(e){let r={};return Object.entries(e).forEach((([e,n])=>{const o=this._key(e),i=this.namespacedToField[o];t(pe).ok(i,`no field found for ${o} (${e})`),r[o]=this._serializeField(i,n)})),this.storage.set(r).then((()=>{Object.assign(this.state,e)}))}get(e){return e=this._keys(e),this.storage.get(e).then((e=>{let r={};return Object.entries(e).forEach((([e,n])=>{const o=this.namespacedToField[e];t(pe).ok(o,`no field found for ${e}`),r[this._stripKey(e)]=this._deserializeField(o,n)})),Object.assign(this.state,r),r}))}remove(e){"string"==typeof e&&(e=[e]);const t=this._keys(e);return this.storage.remove(t).then((()=>{e.forEach((e=>{delete this.state[e]}))}))}clear(){let e=this.fields.map((e=>e.name));return this.remove(e)}load(e=!1){return this._loadProm&&!0!==e||(this._loadProm=this._load()),this._loadProm.then((()=>Object.assign({},this.state)))}_load(){let e=this.fields.map((e=>e.name));return this.get(e).then((e=>(this.fields.forEach((t=>{if(void 0===e[t.name])void 0!==t.default&&(e[t.name]="function"==typeof t.default?t.default():t.default);else if(t.process){const{val:r}=t.process(e[t.name]);e[t.name]=r}})),Object.assign(this.state,e),e)))}onUpdate(e){this._listeners.push(e)}_startListening(){return!this._listening&&(this._listening=!0,chrome.storage.onChanged.addListener(((e,t)=>{if(t===this.areaName){const t=[];Object.entries(e).forEach((([e,r])=>{const n=this.namespacedToField[e];n&&(t.push(n.name),this.state[n.name]=this._deserializeField(n,r.newValue))})),t.length&&this._listeners.forEach((e=>e(t)))}})),!0)}_serializeField(e,t){return"json"===e.type?JSON.stringify(t):t}_deserializeField(e,t){return void 0===t&&void 0!==e.default?"function"==typeof e.default?e.default():e.default:"json"===e.type?JSON.parse(t):t}constructor(e,t,r){this.namespace=e,this.fields=t||[],this.state={},this.storage=!0===r?we:ge,this.areaName=!0===r?"sync":"local",this.fields.forEach((e=>{e.choices&&(e.choices=e.choices.map((e=>"string"==typeof e?{key:e,display:e}:e)))}));let n={};this.fields.forEach((e=>n[this._key(e.name)]=e)),this.namespacedToField=n,this._listeners=[],this.fields.length&&this._startListening()}};y=s("03QYZ");const Ee={keys:{DISMISSED:"dismissed",LIKE:"like",WENTOUT:"wentOut",TIMESTAMP:"timestamp"},category:"howisit",postInit:()=>{Ie("how-is-it-e7n-consider").textContent=(0,he.tr)("Might you consider taking a minute to rate it in the $webstore$?",null,[X.CUR_BROWSER_INFO.store_short],{webstore:{content:"$1",example:"web store"}});const e=Ie("how-is-it-e7n-url-webstore");e.href=X.CUR_BROWSER_INFO.store_reviews_url,e.textContent=(0,he.tr)("Take me to the $webstore$!",null,[X.CUR_BROWSER_INFO.store_short],{webstore:{content:"$1",example:"web store"}})}},ve={keys:{DISMISSED:"editDismissed",LIKE:"editHitOk",WENTOUT:"editWentOut",TIMESTAMP:"editTimestamp"},category:"tryedit"},be={keys:{DISMISSED:"namechangeDismissed",LIKE:"namechangeHitOk",WENTOUT:"namechangeWentOut",TIMESTAMP:"namechangeTimestamp"},category:"namechange"},Ce=[Ee,ve,be],Se=[];Ce.forEach((({keys:e})=>{Se.push({name:e.DISMISSED,type:"bool",default:!1},{name:e.LIKE,type:"bool"},{name:e.WENTOUT,type:"bool"},{name:e.TIMESTAMP,type:"text"})}));const Te=new ye("howisit",Se,!0);class _e{show(){this.elt.classList.remove("hide"),window.setTimeout((()=>this.elt.classList.add("show")),0)}hide(){this.elt.classList.remove("show"),window.setTimeout((()=>this.elt.classList.add("hide")),500)}dismiss(e){this.hide();let t={[this.keys.DISMISSED]:!0};void 0!==e&&(t[this.keys.WENTOUT]=e),this._updateHitStore(t)}_hideSteps(){this.steps.map((e=>e.style.display="none"))}_showStep(e,t,r){const n="hit-like"===e;if((n||"hit-dislike"===e)&&this._updateHitStore({[this.keys.LIKE]:n}),t)this.dismiss(r);else{this._hideSteps();this.elt.querySelector(`[data-step="${e}"]`).style.display="block"}}addListeners(){ke(this.elt.getElementsByClassName("for-step")).forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget;"#"===t.getAttribute("href")&&e.preventDefault();const r=t.dataset.next,n=!!t.dataset.nextDismiss,o="true"===t.dataset.nextDismiss;this._showStep(r,n,o),l.default.event(this.category,"hit",r)}),!1)})),["close","dismiss"].forEach((e=>{ke(this.elt.getElementsByClassName(e)).forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget;"#"===t.getAttribute("href")&&e.preventDefault();const r=t.dataset.wentOut,n="true"===r||"false"!==r&&void 0;this.dismiss(n);const o=!0===n?"accept":!1===n?"reject":"close";l.default.event(this.category,"complete",o)}),!1)}))})),Te.onUpdate((e=>{Te.state[this.keys.DISMISSED]&&this.hide()})),Ie("hit-report-link").setAttribute("href",(0,y.reportLink)(window.location.href,"AreYouEnjoyingReport"))}_updateHitStore(e){const t=xe();e[this.keys.TIMESTAMP]=t,Te.setObj(e).catch((e=>c.default.error(e)))}constructor(e,r){this.elt=e,t(fe)(e,`bad element sent to Controls: ${e}`),t(fe)(Ce.find((e=>e===r)),`Config not found in whitelist!: ${JSON.stringify(r)}`),this.elt=e,this.keys=r.keys,this.category=r.category,this.steps=ke(e.getElementsByClassName("hit-step")),r.postInit&&r.postInit(),this.addListeners(),this.show(),l.default.event(this.category,"show")}}const xe=()=>(new Date).getTime().toString();window._reset=()=>Te.clear();const ke=e=>Array.from(e),Ie=e=>document.getElementById(e);_=s("8ABn4"),x=s("h4XuO"),c=s("2xkva"),K=s("2q4iO"),G=s("aHNfr");var Re=s("lSPyV"),Ne=s("cAnjR"),Ae=(K=s("2q4iO"),l=s("cEw93"),c=s("2xkva"),Z=s("ecsdh"),s("6EXXg")),$e=s("gNZIH"),Le=s("94S9N");class Oe extends K.Component{componentDidMount(){l.default.event(this.props.gaCfg.category,"show")}render(){const{closing:e}=this.state,r={transition:"opacity 500ms ease-in-out",opacity:e?0:1};return t(K).createElement(t(K).Fragment,null,t(K).createElement($e.default,{style:r,className:"welcomemodal big-modal",dimBg:!0,width:630},t(K).createElement("h2",{className:"br"},"Same team, new name."),t(K).createElement(Le.AnnounceImg,null),t(K).createElement("p",{className:"br15"},"Full Page Screen Capture is now ",t(K).createElement("strong",null,"GoFullPage"),"! Read more"," ",t(K).createElement("a",{href:Z.BLOG_NAME_CHANGE_URL,target:"_blank",rel:"noopener noreferrer"},"on the blog"),"."),t(K).createElement("div",null,t(K).createElement("a",{className:"btn br15",href:"#",onClick:e=>{this.handleLogClick("hit-close",!1,!0,!0),this.handleClose(e)}},"OK, got it!")),t(K).createElement("a",{className:"close close-topright",href:"#",onClick:e=>{this.handleLogClick("hit-close",!1,!0,!0),this.handleClose(e)}},t(K).createElement(Ae.default,{fill:"#CCC"}))))}constructor(e){super(e),(0,Re.default)(this,"handleClose",(e=>{e&&e.preventDefault(),this.state.closing||(this.setState({closing:!0}),window.setTimeout((()=>{this.props.onClose()}),500))})),(0,Re.default)(this,"handleLogClick",((e,t,r=!1,n=!1)=>{const o={};o[this.props.gaCfg.keys.LIKE]=!r,o[this.props.gaCfg.keys.DISMISSED]=n,o[this.props.gaCfg.keys.TIMESTAMP]=De(),this.props.hitStore.setObj(o).catch((e=>c.default.error(e))),l.default[t?"delayedEvent":"event"](this.props.gaCfg.category,"hit",e)})),this.state={closing:!1}}}(0,Re.default)(Oe,"propTypes",{onClose:t(Ne).func.isRequired,hitStore:t(Ne).object.isRequired,gaCfg:t(Ne).shape({keys:t(Ne).shape({DISMISSED:t(Ne).string.isRequired,LIKE:t(Ne).string.isRequired,WENTOUT:t(Ne).string.isRequired,TIMESTAMP:t(Ne).string.isRequired}),category:t(Ne).string.isRequired}).isRequired});const De=()=>(new Date).getTime().toString();x=s("h4XuO");const Pe=(e,r)=>{const n=document.getElementById("modal-wrapper");x.$.empty(n);const o=document.createElement("div");n.appendChild(o),o.style.opacity="0",o.style.display="";(0,G.render)(t(K).createElement(Oe,{onClose:()=>{o.style.display="none"},hitStore:e,gaCfg:r}),o),window.setTimeout((()=>{o.style.transition="opacity 500ms ease-in-out",o.style.opacity="1",o.style.display=""}),1500)};u=s("alm1K"),h=s("8aJKE"),K=s("2q4iO"),G=s("aHNfr"),Re=s("lSPyV"),Ne=s("cAnjR"),K=s("2q4iO"),X=s("jmw9X"),l=s("cEw93"),c=s("2xkva"),Ae=s("6EXXg"),$e=s("gNZIH"),Le=s("94S9N");class je extends K.Component{componentDidMount(){l.default.event(this.props.gaCfg.category,"show")}render(){const{editorUrl:e}=this.props,{closing:r}=this.state,n={transition:"opacity 500ms ease-in-out",opacity:r?0:1};return t(K).createElement(t(K).Fragment,null,t(K).createElement($e.default,{style:n,className:"welcomemodal big-modal",dimBg:!0,width:630},t(K).createElement("h2",{className:"br"},"Try annotating, cropping, and doing more with your screenshots!"),t(K).createElement(Le.default,null),t(K).createElement("p",{className:"br15"},"Test drive the premium editor and turn your screenshots into masterpieces."),t(K).createElement("div",null,t(K).createElement("a",{className:"btn br15",href:e,onMouseDown:()=>this.handleLogClick("hit-like",!0)},"Give it a spin"),t(K).createElement("p",{className:"dim"},t(K).createElement("a",{href:X.PREMIUM_URL,target:"_blank",rel:"noopener noreferrer",onClick:()=>{this.handleLogClick("hit-learn",!1)}},"Learn more about premium features"))),t(K).createElement("a",{className:"close close-topright",href:"#",onClick:e=>{this.handleLogClick("hit-close",!1,!0,!0),this.handleClose(e)}},t(K).createElement(Ae.default,{fill:"#CCC"}))))}constructor(e){super(e),(0,Re.default)(this,"handleClose",(e=>{e&&e.preventDefault(),this.state.closing||(this.setState({closing:!0}),window.setTimeout((()=>{this.props.onClose()}),500))})),(0,Re.default)(this,"handleLogClick",((e,t,r=!1,n=!1)=>{const o={};o[this.props.gaCfg.keys.LIKE]=!r,o[this.props.gaCfg.keys.DISMISSED]=n,o[this.props.gaCfg.keys.TIMESTAMP]=Me(),this.props.hitStore.setObj(o).catch((e=>c.default.error(e))),l.default[t?"delayedEvent":"event"](this.props.gaCfg.category,"hit",e)})),this.state={closing:!1}}}(0,Re.default)(je,"propTypes",{onClose:t(Ne).func.isRequired,editorUrl:t(Ne).string.isRequired,hitStore:t(Ne).object.isRequired,gaCfg:t(Ne).shape({keys:t(Ne).shape({DISMISSED:t(Ne).string.isRequired,LIKE:t(Ne).string.isRequired,WENTOUT:t(Ne).string.isRequired,TIMESTAMP:t(Ne).string.isRequired}),category:t(Ne).string.isRequired}).isRequired});const Me=()=>(new Date).getTime().toString();x=s("h4XuO");const Ue=(e,r,n)=>{const o=document.getElementById("modal-wrapper");x.$.empty(o);const i=document.createElement("div");o.appendChild(i),i.style.opacity="0",i.style.display="";(0,G.render)(t(K).createElement(je,{onClose:()=>{i.style.display="none"},editorUrl:e,hitStore:r,gaCfg:n}),i),window.setTimeout((()=>{i.style.transition="opacity 500ms ease-in-out",i.style.opacity="1",i.style.display=""}),1500)};f=s("3ESIc");let Be=!1;const Fe=(e,t)=>t[e.keys.DISMISSED]||void 0!==t[e.keys.LIKE],qe=async e=>{const t=await Te.load(),r=await h.default.load(),n=Fe(Ee,t),o=Fe(ve,t),i=Fe(be,t);await(0,u.sleep)(250);const s=await _.Capture.count(),a=r.firstKnownVersion;a&&(0,f.compareVersions)(a,X.NAMECHANGE_VERSION)<0&&!i?Pe(Te,be):s>=8&&!o?Ue(e,Te,ve):s>=5&&!n&&new _e((0,x.$)("how-is-it"),Ee)};var He=s("ebCbw"),Ke=(c=s("2xkva"),k=s("2kfQE"),s("k1nP3")),Ge=(u=s("alm1K"),g=s("aiU1O"),s("7i7LO")),We=s("epmSf"),Xe=s("83PZf");y=s("03QYZ");const Ye="rejected_dl",ze=(0,a.tr)("File no longer exists—perhaps it has been cleared from your browser")+" 😐",Je=(0,a.tr)("Your browser does not support the clipboard API, please update to the most recent version."),Ve={record:null,images:null,loaded:!1,rejectedDl:!1},Qe="nav_button",Ze=()=>{(0,G.render)((0,K.createElement)(Q,{Actions:it,STATE:Ve}),document.getElementById("root"))},et=()=>{d.default.onUpdated((e=>{if("MIGRATION"===e.source){let t=(0,x.$)("error-status");if(t&&(t.innerText=""),e.isDone)window.location=window.location.href;else if(t&&e.title){let r=`\n${e.title}`;void 0!==e.step&&void 0!==e.numSteps&&(r+=` (${e.step} of ${e.numSteps}).`),t.innerText=r}}}));const e=e=>window.setTimeout((()=>e.blur()),10);x.$.on((0,x.$)("btn-trash"),"click",(function(t){t.preventDefault(),Ve.record&&it.remove(Ve.record,X.GA_VIA_NAV),e(this)})),x.$.on((0,x.$)("btn-download"),"click",(function(t){if(Ve.rejectedDl)return!0;Ve.record&&(t.preventDefault(),it.download(Ve.record,X.GA_VIA_NAV)),e(this)})),x.$.on((0,x.$)("btn-downloadpdf"),"click",(function(t){Ve.record&&(t.preventDefault(),it.downloadPDF(Ve.record,X.GA_VIA_NAV)),e(this)})),x.$.on(document,"keydown",(function(e){const t=(e=>(0,Y.getIsMac)()?e.metaKey:e.ctrlKey)(e);if(t)switch(e.keyCode){case 83:if(Ve.record){const t=e.altKey,r=e.shiftKey;let n=(0,x.$)("btn-download");"none"!==window.getComputedStyle(n).display&&(e.preventDefault(),t?it.copyToClipboard(Ve.record,X.GA_VIA_KEYPRESS,0,Ve.images):it.download(Ve.record,X.GA_VIA_KEYPRESS,r))}return;case 67:return void(e.shiftKey||e.altKey||(e.preventDefault(),Ve.record&&it.copyToClipboard(Ve.record,X.GA_VIA_KEYPRESS,0,Ve.images)));case 69:return e.preventDefault(),void(Ve.record&&it.goToEditor(X.GA_VIA_KEYPRESS));case 189:case 187:case 48:return e.preventDefault(),void(189===e.keyCode?(0,te.default)(window,"ZOOM_OUT"):(0,te.default)(window,"ZOOM_IN"))}})),Promise.all([(0,T.containsDownloads)(),We.default.load()]).then((([e,t])=>{Ve.rejectedDl=!e&&t[Ye],e&&t[Ye]&&We.default.set(Ye,!1).catch((e=>c.default.error(e)))})),function(){const e=I();R((0,x.$)("btn-settings"),e.options),R((0,x.$)("btn-history"),e.history)}()},tt=e=>{g.update({name:"SlowLoadingTimeout",message:`After ${e}ms.`},Ve.record).then((()=>{let e=(0,a.tr)("This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.");O((0,a.tr)("Still loading"),e,!1,!0)}))},rt=(e,t,r)=>{let n,o=!1;return r=r||1e4,t&&(n=window.setTimeout((()=>{o=!0,t(r)}),r)),Promise.all(e.map((e=>(0,u.loadImage)(e)))).then((e=>(window.clearTimeout(n),Ve.loaded=!0,{images:e,didTimeout:o}))).catch((e=>{throw window.clearTimeout(n),e}))},nt=e=>{Ve.images=e;let t=!1,r=!1,n=null,o=null,i=null,s=null;const a=(0,x.$)("image");x.$.empty(a),a.classList.toggle("one-child",1===e.length);const l=window;function c(){let t=e[0].width,r=e[0].height,n=function(e,t,r,n){let o=r/e,i=n/t,s=Math.min(e*o,e*i,e),a=Math.min(t*o,t*i,t);return{width:s,height:a,scaleRatio:s/e,left:Math.floor((r-s)/2,10),top:Math.floor((n-a)/2,10)}}(t,r,window.innerWidth-40,window.innerHeight-document.getElementsByTagName("header")[0].offsetHeight-40);const o=Ve.record.scaleMultiplier;h(n.scaleRatio*o),e.forEach((({img:e,width:t,height:r},o)=>{e.style.height=r*n.scaleRatio+"px",e.style.width=t*n.scaleRatio+"px",0===o&&e.parentNode&&(e.parentNode.style.padding=n.top+20+"px 0")})),u(!1)}function d(){h(1),e.forEach((({img:e,width:t,height:r},n)=>{let o=st(t),i=st(r);e.style.width=o+"px",e.style.height=i+"px",0===n&&(e.parentNode.style.padding="")})),u(!0)}function u(e){let t=null===e?"":e?"can-zoom-out":"can-zoom-in";["can-zoom-in","can-zoom-out"].forEach((e=>document.documentElement.classList.toggle(e,e===t)))}function h(e){let t=(0,x.$)("img-ctrls"),r=(n=e,(n*=100)>=1?Math.floor(n,10).toString():n>=.005?n.toString().substring(0,4):"0");var n;x.$.findClass("zoom-amount",t).forEach((e=>e.innerText=`${r}%`)),x.$.findClass("zoom-btn",t).forEach((t=>{t.classList.toggle("disabled",1===e?t.classList.contains("zoom-in"):t.classList.contains("zoom-out"))}))}function f(r){let n=!0===r,o="object"==typeof r,i=o?r.target:e[0].img,s=e.find((e=>e.img===i))||e[0],a=s.width,h=s.height,f=document.getElementsByTagName("header")[0].offsetHeight,p=a>window.innerWidth||h+40>window.innerHeight-f,m=i.width,g=i.height,w=o?x.$.offsets(i):null,E=document.documentElement.classList.contains("can-zoom-out");if(!0===n&&(E=!E),p)if(E){if(t)return;c()}else d();else e&&e.length&&(e[0].img.parentNode.style.padding="20px 0 0",u(null));if(o&&!E){const e=x.$.offsets(i),t=r.clientX-w.left,n=r.clientY-w.top,o=t/m*st(a),s=n/g*st(h),c=x.$.offsets(l),d=l.innerWidth||l.offsetWidth,u=l.innerHeight||l.offsetHeight,f=e.left-c.left+o-d/2,p=e.top-c.top+s-u/2;(0,y.scrollEltTo)(l,f,p)}}e.forEach(((e,t)=>{let r=e.img;r.src=e.src,r.title="Captured screenshot",a.appendChild(r)})),x.$.on(window,"ZOOM_IN",d),x.$.on(window,"ZOOM_OUT",c),f(!0),e.forEach((({img:e})=>x.$.on(e,"click",f))),x.$.on(window,"resize",(()=>f(!0)));const p=e=>{t=e,document.documentElement.classList.toggle("spacebar-down",e)},m={keydown:e=>{if(32===e.keyCode&&"image"===e.target.id)return e.preventDefault(),void p(!0)},keyup:e=>{32!==e.keyCode||(r?x.$.once(document,"click",(e=>{p(!1)})):p(!1))},mousedown:e=>{t&&(r=!0,n=e.clientX,o=e.clientY,i=l.scrollX||l.scrollLeft||0,s=l.scrollY||l.scrollTop||0)},mouseup:e=>{r=!1},mousemove:e=>{if(r&&t){const t=e.clientX,r=e.clientY,a=n-t,c=o-r;n=t,o=r,i+=a,s+=c,(0,y.scrollEltTo)(l,i,s)}}};Object.entries(m).forEach((([e,t])=>{x.$.on(document,e,t)}));const g=(0,x.$)("img-ctrls"),w=x.$.findClass("zoom-btn",g);w.push(x.$.findClass("zoom-amount",g)[0]),w.forEach((e=>{x.$.on(e,"click",(function(e){e.preventDefault(),this.classList.contains("disabled")||f(!1)}))}));const E=e[0].src,v=(0,x.$)("btn-download");v.href=E,v.download=E.split("/").pop(),function(e="img-btn"){if(!Ve.loaded)return void ot();x.$.findClass(e).forEach((function(e){e.classList.add("show")}))}()};function ot(){x.$.findClass("img-btn").forEach((function(e){e.classList.remove("show")}))}const it=function(){const e={downloadPDF:(t,r,n=!1)=>{l.default.event(Qe,"download_pdf",r),e._if(t).then((()=>(0,T.requestDownloads)())).then((async e=>{if(e){let e=(0,He.getImageFormat)("jpg");const[r,o]=await Promise.all([Ge.default.load(),Xe.default.loginStateProm()]),i=[];let s=null,a=0;if(r.pdf_url_and_date){let e=Ve.record.scaleMultiplier;const t=Ve.images[0].width/e,n=0,o={x:0,y:0,width:t,height:n},l=(0,Z.formatDate)(Ve.record.dateTime,r.pdf_date_fmt),c=(0,ee.createBrowserTemplate)(ee.TEMPLATE_DATA_BAR.key,Ve.record.url,t,n,e,Ve.record.title,Ve.record.dateTime,l),d=(0,re.computeBaseOffsets)(t,n,e,o,c,100,[],null,0);let u=document.createElement("canvas"),h=u.getContext("2d"),f=e/(h.webkitBackingStorePixelRatio||h.backingStorePixelRatio||1);u.width=d.outerWidth*f,u.height=d.outerHeight*f,a=d.outerHeight,h.scale(f,f),await c.draw(h,Ve.record.url),c.textCoords&&i.push({...c.textCoords,url:Ve.record.url}),s=u}if(r.pdf_insert_links&&o&&o.store.show_experimental&&Ve.record.metadata.links){const e=Ve.record.metadata.links;Array.isArray(e)&&(0,oe.flattenBounds)(e).forEach((e=>{i.push(a?{...e,y:e.y+a}:e)}))}const l=await(0,Ke.toPDF)(Ve.images,e,Ve.record.scaleMultiplier||window.devicePixelRatio||1,r.pdf_format,r.pdf_smart_page&&o&&"sub-ok"===o.subState,i,V.triggerNotifyText.creatingPDF,s),c=(0,ne.blobToUrl)(l),{hasPerms:d,results:u,failCount:h}=await(0,y.fullServiceDownload)([{url:c,filename:t.pdfFilename}],!1,n);if((0,ne.revokeObjectUrl)(c),!d){let e=new Error("No downloads perm despite just getting it!");throw e.name="UnreachableError",e}if(h)throw u.find((e=>!1===e.success)).error;V.triggerNotifyText.createdPDF()}else{try{await We.default.set(Ye,!0)}catch(e){c.default.error(e)}Ve.rejectedDl=!0;let e=(0,a.tr)("Download permission is required"),t=(0,a.tr)("The download permission is required to enable the download as PDF feature.");O(e,t,!0,!0)}})).catch((e=>{V.triggerNotifyText.clear(),g.update(e,Ve.record).then((()=>{if(c.default.error("Download error",e),ue[e.name])at(e);else{let e=(0,a.tr)("Error downloading file"),t=k.ERR_MSG_IF_PERSISTS;O(e,t,!0,!0)}}))}))},download:(t,r,n)=>{l.default.event(Qe,n?"download_img_as":"download_img",r||void 0),e._if(t).then((()=>(0,T.requestDownloads)())).then((e=>{if(e){let e=t.fullPaths;return(0,y.fullServiceDownload)(e,!1,n).then((({hasPerms:e,results:t,failCount:r})=>{if(!e){let e=new Error("No downloads perm despite just getting it!");throw e.name="UnreachableError",e}if(r)throw t.find((e=>!1===e.success)).error}))}{We.default.set(Ye,!0).catch((e=>c.default.error(e))),Ve.rejectedDl=!0;let e=(0,a.tr)("Download permission not granted"),t=(0,a.tr)("This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fall back to default browser on-click downloads. However, you will still be prompted for it in order to use any of the advanced features on the Files or Edit pages, since they need this permissions to work.");return void O(e,t,!1,!0)}})).catch((e=>{g.update(e,Ve.record).then((()=>{if(c.default.error("Download error",e),ue[e.name])at(e);else{let e=(0,a.tr)("Error downloading file"),t=k.ERR_MSG_IF_PERSISTS;O(e,t,!0,!0)}}))}))},goToUrl:(e,t)=>{l.default.event(Qe,"goto_url",t||void 0);const{url:r}=e;window.open(r,"_blank","noopener")},copyUrl:(e,t)=>{l.default.event(Qe,"copy_url",t||void 0);const{url:r}=e;if(!(0,W.canCopyTextToClipboard)()){const e=Je;return(0,V.triggerNotifyText)(e,4e3),void c.default.error("Copy not supported",e)}(0,W.copyTextToClipboard)(r).then((()=>{(0,V.triggerNotifyText)(`✅ ${(0,a.tr)("URL copied to clipboard")}`,3e3)})).catch((e=>{c.default.error("Error coping URL"),c.default.error(e),V.triggerNotifyText.clear(),g.update(e,Ve.record).then((()=>{let e=k.ERR_MSG_IF_PERSISTS;O((0,a.tr)("Error copying URL"),e,!0,!0)}))}))},copyToClipboard:(e,t,r=0,n=null)=>{l.default.event(Qe,"copy_img",t);const o=e.fullPaths[r],i=n&&n[r]||void 0;if(!(0,W.canCopyBlobToClipboard)()){const e=Je;return(0,V.triggerNotifyText)(e,4e3),void c.default.error("Copy not supported",e)}V.triggerNotifyText.copyingImage(),Promise.resolve().then((async()=>{const e=(await Ge.default.load()).fit_copies?W.GOOGLE_DOCS_MAX_PIXELS:void 0;let t;t=i?await(0,W.copyImgEltToClipboard)(i.img,i.width,i.height,e):await(0,W.copyImgToClipboard)(o,e),(0,c.default)("Copied image"+(t?" (RESIZED)":"")),V.triggerNotifyText.copiedImage(t)})).catch((e=>{c.default.error("Error coping image"),c.default.error(e),V.triggerNotifyText.clear(),g.update(e,Ve.record).then((()=>{O(k.ERR_TITLE_COPY,k.ERR_MSG_COPY+"\n\n"+k.ERR_MSG_IF_PERSISTS,!1,!0)}))}))},openInTabs:(t,r)=>{l.default.event(Qe,"expand",r||void 0),e._if(t).then((()=>le())).then((e=>ce(e,t.fullPaths))).catch((e=>{(0,c.default)("Error opening file in tabs",e),g.update(e,Ve.record).then((()=>{let e=(0,a.tr)("Something went wrong opening this screenshot into a new.")+" "+k.ERR_MSG_IF_PERSISTS;O((0,a.tr)("Error opening screenshot"),e,!0,!0)}))}))},remove:(t,r)=>{l.default.event(Qe,"remove",r||void 0);let n=(0,a.tr)("Are you sure you want to delete this screenshot?\n(This action cannot be undone.)");confirm(n)&&e._if(t).then((()=>t.remove())).then((()=>function(){ot();let e=(0,x.$)("image");x.$.empty(e),O((0,a.tr)("Image deleted"),(0,a.tr)("This screenshot been successfully removed."))}())).catch((e=>{(0,c.default)("Error removing file",e),g.update(e,Ve.record).then((()=>{let e=(0,a.tr)("Something went wrong deleting your screenshot.")+" "+k.ERR_MSG_IF_PERSISTS;O((0,a.tr)("Error removing screenshot"),e,!0,!0)}))}))},goToEditor:(e,t=0)=>{l.default.event(Qe,"goto_editor",e||void 0),Ve.record&&(window.location=Ve.record.getEditorURL(t))},_if:e=>Promise.resolve().then((()=>{if(!e){let e=new Error("No record on STATE obj");throw e.name="PageStateError",e}return e}))};return e}();function st(e){const t=Ve.record?Ve.record.scaleMultiplier:window.devicePixelRatio||1;return 1!==t?e/t:e}function at(e){let t=ue[e.name];if(O(t.title,t.body,!1,!0,!0),t.buttons){let e=document.createElement("div");e.className=O.extrasClassName,t.buttons().forEach((t=>{e.appendChild(t)})),(0,x.$)("error-body").appendChild(e)}}l.default.pageview(),((e=!1)=>{if(null===w){const e=document.createElement("a");e.style.cssText="position: sticky;",w=-1!==e.style.position.indexOf("sticky")}w&&e&&document.documentElement.classList.add("csspositionsticky")})(!0),Array.prototype.slice.call(document.querySelectorAll("a[data-href]")).forEach((e=>{e.href=e.dataset.href})),(0,a.updateHtml)(),g.update();let lt=(0,y.getQueryString)();const ct=e=>{c.default.error("Migration error",e),g.update(e).then((()=>{O("Data Error","The page encountered an error. Please report this via the the flag reporting button above.",!0,!1)}))};var dt,ut;lt.src?(ut=lt.src,_.Capture.findSrc(ut).then((e=>{window.location=e?e.displayURL:"?"})).catch((e=>{c.default.error("lookup Image src error",e),g.update(e).then((()=>{O((0,a.tr)("Unable to find image"),(0,a.tr)("The specified image could not be found.")+" "+k.ERR_MSG_IF_PERSISTS)}))}))):lt.id?(dt=lt.id,document.documentElement.classList.add("page-image"),et(),Ze(),_.Capture.lookup(dt).then((e=>{if(!e)return c.default.error("lookup, no record found",dt),O((0,a.tr)("Unable to load image"),ze);Ve.record=e,g.update(void 0,Ve.record),e.format&&((0,x.$)("btn-download").getElementsByClassName("image-type")[0].innerText=`(${e.format.toUpperCase()})`),x.$.findClass("editor-link").forEach((t=>{t.href=e.getEditorURL()}));const t=(0,x.$)("btn-editor-wrap");if(t&&e.images&&e.images.length>0){const r="hov-dropdown";let n=x.$.findClass("hov-dropdown",t)[0];if(n&&n.parentNode.removeChild(n),x.$.findClass("tooltip",t).forEach((e=>{e.classList.remove("hide")})),e.images.length>1){x.$.findClass("tooltip",t).forEach((e=>{e.classList.add("hide")})),n=document.createElement("div"),n.className=r;const o=document.createElement("ul");n.appendChild(o);const i=document.createElement("li"),s=document.createElement("span");s.className="hov-dropdown--title",s.textContent=`${(0,a.tr)("Premium feature")}:`,i.appendChild(s),o.appendChild(i),e.images.forEach(((r,n)=>{const i=document.createElement("li"),s=document.createElement("a");if(s.href=e.getEditorURL(n),s.addEventListener("mousedown",(()=>{l.default.event(Qe,"goto_editor","multi-dropdown")}),!1),s.textContent=`${(0,a.tr)("Edit Image")} ${n+1}`,0===n){const e=document.createElement("span");e.className="hov-dropdown--shortcut",e.textContent=z({cmd:!0,char:"E"}),s.prepend(e)}i.appendChild(s),o.appendChild(i);let c=null;t.addEventListener("mouseenter",(()=>{window.clearTimeout(c),t.classList.add("hover")}),!1),t.addEventListener("mouseleave",(()=>{c=window.setTimeout((()=>{t.classList.remove("hover")}),500)}),!1)})),t.appendChild(n)}}var r;return r=e.getEditorURL(),Be||(Be=!0,qe(r).catch((e=>{c.default.error("CAUGHT ERROR in hit.load chain"),c.default.error(e)}))),P().then((()=>rt(e.fullPaths,tt))).then((({images:e,didTimeout:t})=>(t&&D(),nt(e)))).then((()=>j())).catch((e=>{j().catch((e=>c.default.error(e))),c.default.error("loadImages error",e),g.update(e,Ve.record).then((()=>{O((0,a.tr)("Unable to load image"),ze)}))}))})).catch((e=>{c.default.error("Failed lookup",dt,e),g.update(e,Ve.record).then((()=>{O((0,a.tr)("Error loading image"),k.ERR_MSG_IF_PERSISTS,!0,!1)}))}))).then(p).catch(ct):(document.documentElement.classList.add("page-history"),d.default.onUpdated((e=>{"MIGRATION"===e.source&&e.isDone&&M()})),function(){const e=I(),t=e.editor||e.capture;t&&x.$.findClass("back-button").forEach((e=>{R(e,t,!0)})),R((0,x.$)("btn-settings"),e.options),R((0,x.$)("btn-history"),e.history)}(),P().then(M).then(j)).then(p).catch(ct); +//# sourceMappingURL=capture.102c7527.js.map diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.324a865d.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.324a865d.js new file mode 100644 index 0000000..f8cad4c --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.324a865d.js @@ -0,0 +1,14 @@ +(()=>{function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n={},o={},s=r.parcelRequire60cc;null==s&&((s=function(e){if(e in n)return n[e].exports;if(e in o){var t=o[e];delete o[e];var r={id:e,exports:{}};return n[e]=r,t.call(r.exports,r,r.exports),r.exports}var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,t){o[e]=t},r.parcelRequire60cc=s),s.register("fquJx",(function(t,r){var n,o;e(t.exports,"register",(()=>n),(e=>n=e)),e(t.exports,"resolve",(()=>o),(e=>o=e));var i={};n=function(e){for(var t=Object.keys(e),r=0;rn),(e=>n=e));var o={};function i(e){return(""+e).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}n=function(e){var t=o[e];return t||(t=function(){try{throw new Error}catch(t){var e=(""+t.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(e)return i(e[2])}return"/"}(),o[e]=t),t}})),s.register("b1UVT",(function(e,t){"use strict";var r=s("d3HzT"),n=s("fb6mP"),o=s("1WdkZ"),i=s("86BWN");function a(e){var t=new o(e),i=n(o.prototype.request,t);return r.extend(i,o.prototype,t),r.extend(i,t),i}var l=a(i);l.Axios=o,l.create=function(e){return a(r.merge(i,e))},l.Cancel=s("41odj"),l.CancelToken=s("9Z8Pc"),l.isCancel=s("d1VAq"),l.all=function(e){return Promise.all(e)},l.spread=s("lNKUZ"),e.exports=l,e.exports.default=l})),s.register("d3HzT",(function(e,t){"use strict";var r=s("fb6mP"),n=s("dLor5"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r + * @license MIT + */ +e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}})),s.register("1WdkZ",(function(e,t){"use strict";var r=s("86BWN"),n=s("d3HzT"),o=s("6rQCM"),i=s("h7KsZ");function a(e){this.defaults=e,this.interceptors={request:new o,response:new o}}a.prototype.request=function(e){"string"==typeof e&&(e=n.merge({url:arguments[0]},arguments[1])),(e=n.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[i,void 0],o=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)o=o.then(t.shift(),t.shift());return o},n.forEach(["delete","get","head","options"],(function(e){a.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}})),n.forEach(["post","put","patch"],(function(e){a.prototype[e]=function(t,r,o){return this.request(n.merge(o||{},{method:e,url:t,data:r}))}})),e.exports=a})),s.register("86BWN",(function(e,t){var r=s("jhCkN"),n=s("d3HzT"),o=s("1K8tZ"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r)&&(l=s("bbduW")),l),transformRequest:[function(e,t){return o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c})),s.register("1K8tZ",(function(e,t){"use strict";var r=s("d3HzT");e.exports=function(e,t){r.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}})),s.register("bbduW",(function(e,t){"use strict";var r=s("d3HzT"),n=s("jsPhH"),o=s("2Ai15"),i=s("5Iudu"),a=s("4Hyve"),l=s("lerNU");e.exports=function(e){return new Promise((function(t,c){var d=e.data,u=e.headers;r.isFormData(d)&&delete u["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",p=e.auth.password||"";u.Authorization="Basic "+btoa(h+":"+p)}if(f.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?i(f.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};n(t,c,o),f=null}},f.onerror=function(){c(l("Network Error",e,null,f)),f=null},f.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var m=s("bNNzL"),g=(e.withCredentials||a(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(u[e.xsrfHeaderName]=g)}if("setRequestHeader"in f&&r.forEach(u,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete u[t]:f.setRequestHeader(t,e)})),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),c(e),f=null)})),void 0===d&&(d=null),f.send(d)}))}})),s.register("jsPhH",(function(e,t){"use strict";var r=s("lerNU");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}})),s.register("lerNU",(function(e,t){"use strict";var r=s("cgAQ5");e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}})),s.register("cgAQ5",(function(e,t){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e}})),s.register("2Ai15",(function(e,t){"use strict";var r=s("d3HzT");function n(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,o){if(!t)return e;var i;if(o)i=o(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))})))})),i=s.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}})),s.register("5Iudu",(function(e,t){"use strict";var r=s("d3HzT"),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,o,i,s={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),o=r.trim(e.substr(i+1)),t){if(s[t]&&n.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([o]):s[t]?s[t]+", "+o:o}})),s):s}})),s.register("4Hyve",(function(e,t){"use strict";var r=s("d3HzT");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}})),s.register("bNNzL",(function(e,t){"use strict";var r=s("d3HzT");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}})),s.register("6rQCM",(function(e,t){"use strict";var r=s("d3HzT");function n(){this.handlers=[]}n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=n})),s.register("h7KsZ",(function(e,t){"use strict";var r=s("d3HzT"),n=s("jO7Rx"),o=s("d1VAq"),i=s("86BWN"),a=s("2alXl"),l=s("iNcqo");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!a(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=n(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return c(e),t.data=n(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=n(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}})),s.register("jO7Rx",(function(e,t){"use strict";var r=s("d3HzT");e.exports=function(e,t,n){return r.forEach(n,(function(r){e=r(e,t)})),e}})),s.register("d1VAq",(function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}})),s.register("2alXl",(function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}})),s.register("iNcqo",(function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}})),s.register("41odj",(function(e,t){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r})),s.register("9Z8Pc",(function(e,t){"use strict";var r=s("41odj");function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n((function(t){e=t})),cancel:e}},e.exports=n})),s.register("lNKUZ",(function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}})),s.register("gwJFa",(function(e,t){ +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n{let e=[m],t=0;return(0,u.serialMap)(e,(e=>e().then((e=>{if("number"!=typeof e){let t=`Migration ${i-1} returned non-number: ${e}`,r=new Error(t);throw r.name="InvalidMigration",r}return t+=e,e})))).then((()=>{t&&(c.default.info("Updated",t),d.default.triggerUpdated({source:"MIGRATION",isDone:!0}))}))};const m=()=>f.default.load().then((e=>{const t="firstKnownVersion";return e[t]?0:f.default.set(t,(0,h.getVersion)()).then((()=>1))}));var g=s("h1Khz");let w=null;var y=s("kOtTY"),E=s("jBCXK"),v=s("hGGFE"),b=s("e0Kwl"),C={};C=s("8r5Kp").getBundleURL("komXT")+s("fquJx").resolve("9BtOZ");var T={};T=s("8r5Kp").getBundleURL("komXT")+s("fquJx").resolve("6NbTI");var S,_=s("8rN6d"),k=s("8bPtr");S=s("b1UVT");const x=e=>t(S).get(e).then((e=>e.data)),R=(I=(0,_.default)((function(e){var t,r;return(0,k.__generator)(this,(function(n){switch(n.label){case 0:return[4,x(e)];case 1:return t=n.sent(),(r=document.createElement("div")).innerHTML=t,[2,r.getElementsByTagName("svg")[0]]}}))})),function(e){return I.apply(this,arguments)});var I,N=s("95ETH"),A=s("eC8rE"),L=s("nKr4g"),$=(a=s("5Xemj"),d=s("iW6yY"),c=s("2z2pA"),s("1RQvI"));g=s("h1Khz"),y=s("kOtTY");const D=()=>{const e=(0,y.getQueryString)(),t=e.id||e.oid,r=e.e,n=e.url;return{options:M(t,r,n),history:U(t,r,n),capture:t?P(t,n):void 0,editor:t&&r?j(t,r,n):void 0}},O=(e,t,r)=>{let n=void 0!==r&&r;if(e){-1===e.href.indexOf("?")&&(e.href=t,n&&e.setAttribute("style",""))}},P=(e,t)=>{let r=void 0===t?null:t;const n={id:e};r&&(n.url=r);return"/capture.html"+("?"+(0,y.toQueryString)(n))},j=(e,t,r)=>{let n=void 0===r?null:r;const o={id:e,e:t};n&&(o.url=n);return"/editor.html"+("?"+(0,y.toQueryString)(o))},M=(e,t,r)=>{let n=void 0===e?null:e,o=void 0===t?null:t,i=void 0===r?null:r,s="";if(n){const e={id:n};o&&(e.e=o),i&&(e.url=i),s="?"+(0,y.toQueryString)(e)}return"/options.html"+s},U=(e,t,r)=>{let n=void 0===e?null:e,o=void 0===t?null:t,i=void 0===r?null:r,s="";if(n){const e={oid:n};o&&(e.e=o),i&&(e.url=i),s="?"+(0,y.toQueryString)(e)}return"/capture.html"+s};y=s("kOtTY"),L=s("nKr4g"),y=s("kOtTY");const F=(e,t,r,n,o)=>{(0,L.$)("error-title").innerText=e;let i=(0,L.$)("error-body");i.innerText=t,(0,y.asArray)(i.getElementsByClassName(F.extrasClassName)).forEach((e=>{e.parentNode.removeChild(e)}));let s=(0,L.$)("error");s.classList.toggle("warning",!r),L.$.findClass("close",s).forEach((e=>{e.style.display=n?"":"none",e._assignedClose||(e._assignedClose=!0,L.$.on(e,"click",B))})),(0,L.$)("error-buttons").style.display=!0===o?"none":"",L.$.show("error-wrap")};F.extrasClassName="errors-html-extra";const B=()=>{(0,L.$)("error-wrap").style.display="none"},H=()=>Promise.resolve().then((()=>{(0,L.$)("image").classList.add("loading")})),z=()=>Promise.resolve().then((()=>{(0,L.$)("image").classList.remove("loading")}));function q(){return A.Capture.all().then((e=>function(e){B(),(0,L.$)("image").style.display="none",window.scrollTo(0,0);let r=document.createElement("ul");r.className="dropdown-items";let n=e.map((e=>function(e){let t=e.url;1!==e.images.length&&(t+=` (${e.images.length} images)`);let r=e.dateTime.toLocaleString((0,v.default)((0,E.default)({},b.DateTime.DATETIME_SHORT),{year:"2-digit"})),n=e.sizes?V(e.sizes.reduce(((e,t)=>e+t))):"",o=e.displayURL,i=document.createElement("li");i.className="dropdown-item";let s=document.createElement("div");s.className="container",i.appendChild(s);let l=document.createElement("label");l.className="checkbox-wrap";let c=document.createElement("input");c.type="checkbox",c.className="checkbox file-checkbox",c.dataset.id=e.id,l.appendChild(c),s.appendChild(l);let d,u=document.createElement("a");u.textContent=t,u.href=o,s.appendChild(u),e.edits&&e.edits.length&&(d=document.createElement("span"),d.textContent=`(${(0,a.tr)("Edited")})`,d.className="dim edited-note",u.appendChild(d));return d=document.createElement("span"),d.textContent=n,d.className="size right",u.insertBefore(d,u.firstChild),d=document.createElement("span"),d.textContent=r,d.className="date right",u.insertBefore(d,u.firstChild),i}(e))),o=n.length-1;for(;o>=0;)r.appendChild(n[o]),o--;e.length||r.appendChild(function(){const e=document.createElement("li");e.className="dropdown-item info";const t=document.createElement("div");t.className="container";const r=document.createElement("em");return r.textContent=(0,a.tr)("No screen captures found. Go make some!"),t.appendChild(document.createTextNode("😦 ")),t.appendChild(r),t.appendChild(document.createTextNode(" 😊")),e.appendChild(t),e}());let i=(0,L.$)("history");L.$.empty(i);let s=document.createElement("div");s.className="big-card",s.appendChild(function(){let e=document.createElement("div");e.className=" container title-container history-title-container";const r=document.createElement("div");r.className="h2-wrap";let n=document.createElement("h2");n.textContent=(0,a.tr)("Files"),r.appendChild(n),e.appendChild(r);let o=document.createElement("div");o.className="controls clearfix",e.appendChild(o);let i=document.createElement("label");i.className="checkbox-wrap",o.appendChild(i);let s=document.createElement("input");s.type="checkbox",s.className="meta-checkbox",s.addEventListener("change",(e=>{let t=e.target.checked;K().forEach((e=>e.checked=t)),Y()})),i.appendChild(s);let l=document.createElement("div");l.className="checkbox-note",l.textContent="",o.appendChild(l);let d=document.createElement("button");d.textContent=(0,a.tr)("Delete"),d.className="checkbox-button check-box-button-del",d.disabled=!0,o.appendChild(d),R(t(C)).then((e=>{e.classList.add("btn-icon"),d.appendChild(e)})).catch((e=>{c.default.error(`Error loading svg (${t(C)})`,e)})),d.addEventListener("click",(e=>{!function(e){let t=e.length;const r=1===t?(0,a.tr)("Are you sure you want to delete 1 screencapture?\n (This action cannot be undone.)"):(0,a.tr)("Are you sure you want to delete $count$ screen captures?\n (This action cannot be undone.)",null,[t],{count:{content:"$1",example:"2"}});if(!confirm(r))return;let n=(0,a.tr)("Remove files");A.Capture.lookupIds(e).then((e=>{let t=[],r=[],n=[];return Promise.all(e.map((e=>e.remove().then((()=>t.push(e.id))).catch((t=>{r.push(e.id),n.push(t)}))))).then((()=>{if(r.length&&0===t.length)throw n[0];return{succeeded:t,failed:r,errors:n}}))})).then((e=>{let t=e.succeeded,r=e.failed,o=t.length,i=r.length,s=1===o?(0,a.tr)("1 file was successfully removed."):(0,a.tr)("$num$ files were successfully removed.",null,[o],{num:{content:"$1",example:"2"}});s+=" 🗑",i&&(s+="\n\n",s+=1===i?(0,a.tr)("1 file could not be removed."):(0,a.tr)("$num$ files could not be removed.",null,[i],{num:{content:"$1",example:"2"}})),q(),window.setTimeout((()=>{F(n,s),window.setTimeout((()=>{B()}),3e3)}),50)})).catch((e=>{c.default.error("Error handling files",e),g.update(e).then((()=>{let e=(0,a.tr)("Error handling files. Please report this via the flag reporting button above.");F(n,e,!0,!0)}))}))}(G(K()))}));let u=document.createElement("button");return u.textContent=(0,a.tr)("Download"),u.className="checkbox-button check-box-button-down",u.disabled=!0,o.appendChild(u),R(t(T)).then((e=>{e.classList.add("btn-icon"),u.appendChild(e)})).catch((e=>{c.default.error(`Error loading svg (${t(T)})`,e)})),u.addEventListener("click",(e=>{let t=G(K());(0,N.requestDownloads)().then((e=>{if(e)return A.Capture.lookupIds(t).then((e=>[].concat.apply([],e.map((e=>e.fullPaths))))).then((e=>(0,y.fullServiceDownload)(e))).then((e=>{let t=e.hasPerms,r=e.results,n=e.failCount;e.successCount;if((0,c.default)(`download success ${r.length} files`),t)if(n){let e="Some files did not download",t=r.filter((e=>!1===e.success)),n=(0,a.tr)("The following files could not be downloaded:")+`\n\n${t.map((e=>e.url)).join("\n")}\n\n`+$.ERR_MSG_IF_PERSISTS;F(e,n,!0,!0)}else(0,c.default)(`downloaded ${r.length} files`);else{let e=(0,a.tr)("Cannot download files"),t=(0,a.tr)("You need to grant the download privilege in order to download files");F(e,t,!1,!0)}}));{let e=(0,a.tr)("Permission needed to download files"),t=(0,a.tr)("You need to grant the download privilege in order to download files");return F(e,t,!1,!0),g.update().then((()=>!0))}})).catch((e=>{g.update(e).then((()=>{c.default.error("Download error",e);let t=(0,a.tr)("Error downloading files"),r=(0,a.tr)("There was an error downloading files, please report it via the flag button above.");F(t,r,!0,!0)}))}))})),e}()),s.appendChild(r),i.appendChild(s),i.style.display="block";let l=W.loadIdsSet();K().forEach((e=>{l.has(e.dataset.id)&&(e.checked=!0),e.addEventListener("change",Y)})),Y()}(e))).catch((e=>{c.default.error("Error in loadHistory",e),g.update(e).then((()=>{let e=(0,a.tr)("Error loading history"),t=$.ERR_MSG_IF_PERSISTS;F(e,t,!0,!0)}))}))}function K(e){let t=L.$.findClass("file-checkbox",(0,L.$)("history"));return!0===e&&W.saveElts(t),t}function G(e){return e.filter((e=>e.checked)).map((e=>parseInt(e.dataset.id,10)))}const W=function(){let e="checkedFiles";return{saveElts:t=>{let r=G(t).join(",");if(window.sessionStorage)try{window.sessionStorage.setItem(e,r)}catch(e){c.default.error("Error storing checked state",e)}},loadIdsSet:()=>{let t="";if(window.sessionStorage)try{t=window.sessionStorage.getItem(e)||""}catch(e){c.default.error("Error loading checked state",e)}return new Set(t.split(","))}}}();function Y(){let e=K(!0),t=e.length,r=e.filter((e=>e.checked)).length,n=(0,L.$)("history"),o=L.$.findClass("checkbox-note",n)[0];const i=(0,a.tr)("Selected");o.textContent=0===t?"":`(${r} ${i})`,n.classList[0===t?"add":"remove"]("no-screenshots");let s=L.$.findClass("meta-checkbox",n)[0];0!==r&&r!==t||(s.checked=0!==r),L.$.findClass("checkbox-button",n).forEach((e=>{e.disabled=0===r,e.title=0===r?(0,a.tr)("Select 1 or more screenshots to use this action."):""}))}function V(e,t){let r=void 0===t?2:t;if(0==e)return"0";const n=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,n)).toFixed(r)} ${V.sizes[n]}`}V.sizes=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];_=s("8rN6d"),E=s("jBCXK"),v=s("hGGFE");var X=s("ff4Ef"),Z=(k=s("8bPtr"),s("7b0kr")),Q=s("iiDPj"),J=(X=s("ff4Ef"),Z=s("7b0kr"),s("i9kVF")),ee=s("8DwkQ"),te=(a=s("5Xemj"),s("5Gpcw"));const re=e=>{let t=e.cmd,r=e.ctrl,n=e.alt,o=e.shift,i=e.char;const s=(0,te.getIsMac)(),a=[];return t&&a.push(s?"⌘":"⌃"),r&&a.push("⌃"),n&&a.push("⌥"),o&&a.push("⇧"),a.push(i),a.join("")};var ne=s("94TAZ"),oe=s("2kaV1");var ie=e=>{let r=e.Actions,n=e.STATE;const o=(0,X.default)((0,Z.useState)(""),2),i=o[0],s=o[1],l=(0,X.default)((0,Z.useState)(null),2),c=l[0],d=l[1];(0,Z.useEffect)((()=>{const e=e=>{let t=e.text;s(t)};(0,oe.onNotifyText)(e);const t=e=>{(0,J.canCopyTextToClipboard)()&&!n.rejectedDl&&(e.preventDefault(),d({pageX:e.pageX-window.scrollX,pageY:e.pageY-window.scrollY}))},r=document.getElementById("image");return r.addEventListener("contextmenu",t,!1),()=>{(0,oe.offNotifyText)(e),r.removeEventListener("contextmenu",t,!1)}}));const u=c&&n.record;let f=[];if(u){n.record.fullPaths.forEach((e=>{f.push()}))}return t(Z).createElement(t(Z).Fragment,null,i&&t(Z).createElement(oe.default,{text:i}),u&&t(Z).createElement(ne.default,{pageX:c.pageX,pageY:c.pageY,onClose:()=>d(null),onUpdatePosition:(e,t)=>d({pageX:e,pageY:t}),cfg:{rows:[{text:(0,a.tr)("Save Image As…"),shortcut:re({cmd:!0,shift:!0,char:"S"}),onClick:e=>r.download(n.record,ee.GA_VIA_DIALOG,!0)},{text:(0,a.tr)("Save PDF As…"),onClick:e=>r.downloadPDF(n.record,ee.GA_VIA_DIALOG,!0)},...n.record.fullPaths.map(((e,t,o)=>({text:`${(0,a.tr)("Copy Image")}${1===o.length?"":" "+(t+1)}`,shortcut:0===t?re({cmd:!0,char:"C"}):void 0,onClick:e=>r.copyToClipboard(n.record,ee.GA_VIA_DIALOG,t,n.images)}))),{divider:!0},{isTitle:!0,title:"Premium feature"},...n.record.fullPaths.map(((e,t,n)=>({text:`${(0,a.tr)("Edit Image")}${1===n.length?"":" "+(t+1)}`,shortcut:0===t?re({cmd:!0,char:"E"}):void 0,onClick:e=>r.goToEditor(ee.GA_VIA_DIALOG,t)}))),{divider:!0},{text:(0,a.tr)("Copy original URL"),onClick:e=>r.copyUrl(n.record,ee.GA_VIA_DIALOG)},{text:(0,a.tr)("Open original URL"),disabled:!n.record||n.record.url.startsWith("chrome://")||n.record.url.startsWith("edge://"),title:n.record&&n.record.url.startsWith("chrome://")||n.record&&n.record.url.startsWith("edge://")?"Cannot open chrome:// URLs":void 0,onClick:e=>r.goToUrl(n.record,ee.GA_VIA_DIALOG)}]}}))},se=(oe=s("2kaV1"),s("fueUa")),ae=s("1AJdn"),le=s("fAoww"),ce=s("3cJ8u"),de=s("j4JJz"),ue=s("ekuHd"),fe=(N=s("95ETH"),_=s("8rN6d"),k=s("8bPtr"),s("3k2hL"));const he="ChromeTabsError",pe=((0,fe.genLastErrorFmt)(he),(0,fe.genWrapError)(he)),me=()=>{return(e={active:!0,currentWindow:!0},pe(chrome.tabs.query(e),"query")).then((e=>e[0]));var e},ge=function(){var e=(0,_.default)((function(e,t){var r,n,o;return(0,k.__generator)(this,(function(i){return r=void 0,n=t.length,[2,(o=i=>{if(i>=t.length)return t;let s=t[i],a=i===n-1;return e.incognito&&0===i?(l={url:s,incognito:!1,focused:a},pe(chrome.windows.create(l),"windowsCreate")).then((e=>(r=e.id,o(i+1)))):(e=>pe(chrome.tabs.create(e),"create"))({url:s,active:a,windowId:r,openerTabId:e.id,index:(e.incognito?0:e.index)+1+i}).then((e=>o(i+1)));var l})(0)]}))}));return function(t,r){return e.apply(this,arguments)}}();J=s("i9kVF"),ee=s("8DwkQ"),A=s("eC8rE"),L=s("nKr4g"),a=s("5Xemj");var we=s("gnAcz");ee=s("8DwkQ"),L=s("nKr4g");var ye={[we.ERROR_INCOGNITO_NETWORK_NAME]:{title:"Network error downloading file",body:"You might be experiencing a bug that was introduced to the Chrome browser in v68. In the meantime, you can try either of the following.\n\n1. right-click and “Save image as” or just click and drag the image to your desktop (if you are not using auto-download)\n\n2. disable “Allow in incognito” from the Chrome settings page for this extension (you can return to this capture from the history view within this extension):",buttons:()=>{let e=`${ee.CUR_BROWSER_INFO.browser_protocol}extensions?id=${chrome.runtime.id}`,t=document.createElement("a");return t.href="#",t.innerText=e,Object.assign(t.style,{display:"block",fontWeight:"bold",margin:"1em 0"}),L.$.on(t,"click",(t=>{t.preventDefault(),me().then((t=>ge(t,[e])))})),[t]}}},Ee=(d=s("iW6yY"),l=s("ceb36"),_=s("8rN6d"),k=s("8bPtr"),ee=s("8DwkQ"),s("aDcgc")),ve=s("ld3ci"),be=(ee=s("8DwkQ"),l=s("ceb36"),c=s("2z2pA"),X=s("ff4Ef"),s("4fNEN")),Ce=s("eL3Zw");const Te=Ce.default.local,Se=Ce.default.sync;var _e=class{getField(e){return this.fields.find((t=>t.name===e))}_key(e){return this.namespace+"."+e}_keys(e){if(void 0===e)throw new Error("Cannot pass `undefined` as `keys`!");return"string"==typeof e&&(e=[e]),e.map((e=>this._key(e)))}_stripKey(e){return e.substring(this.namespace.length+1)}set(e,t){return this.setObj({[e]:t})}setObj(e){let r={};return Object.entries(e).forEach((e=>{let n=(0,X.default)(e,2),o=n[0],i=n[1];const s=this._key(o),a=this.namespacedToField[s];t(be).ok(a,`no field found for ${s} (${o})`),r[s]=this._serializeField(a,i)})),this.storage.set(r).then((()=>{Object.assign(this.state,e)}))}get(e){return e=this._keys(e),this.storage.get(e).then((e=>{let r={};return Object.entries(e).forEach((e=>{let n=(0,X.default)(e,2),o=n[0],i=n[1];const s=this.namespacedToField[o];t(be).ok(s,`no field found for ${o}`),r[this._stripKey(o)]=this._deserializeField(s,i)})),Object.assign(this.state,r),r}))}remove(e){"string"==typeof e&&(e=[e]);const t=this._keys(e);return this.storage.remove(t).then((()=>{e.forEach((e=>{delete this.state[e]}))}))}clear(){let e=this.fields.map((e=>e.name));return this.remove(e)}load(e){let t=void 0!==e&&e;return this._loadProm&&!0!==t||(this._loadProm=this._load()),this._loadProm.then((()=>Object.assign({},this.state)))}_load(){let e=this.fields.map((e=>e.name));return this.get(e).then((e=>(this.fields.forEach((t=>{if(void 0===e[t.name])void 0!==t.default&&(e[t.name]="function"==typeof t.default?t.default():t.default);else if(t.process){const r=t.process(e[t.name]).val;e[t.name]=r}})),Object.assign(this.state,e),e)))}onUpdate(e){this._listeners.push(e)}_startListening(){return!this._listening&&(this._listening=!0,chrome.storage.onChanged.addListener(((e,t)=>{if(t===this.areaName){const t=[];Object.entries(e).forEach((e=>{let r=(0,X.default)(e,2),n=r[0],o=r[1];const i=this.namespacedToField[n];i&&(t.push(i.name),this.state[i.name]=this._deserializeField(i,o.newValue))})),t.length&&this._listeners.forEach((e=>e(t)))}})),!0)}_serializeField(e,t){return"json"===e.type?JSON.stringify(t):t}_deserializeField(e,t){return void 0===t&&void 0!==e.default?"function"==typeof e.default?e.default():e.default:"json"===e.type?JSON.parse(t):t}constructor(e,t,r){this.namespace=e,this.fields=t||[],this.state={},this.storage=!0===r?Se:Te,this.areaName=!0===r?"sync":"local",this.fields.forEach((e=>{e.choices&&(e.choices=e.choices.map((e=>"string"==typeof e?{key:e,display:e}:e)))}));let n={};this.fields.forEach((e=>n[this._key(e.name)]=e)),this.namespacedToField=n,this._listeners=[],this.fields.length&&this._startListening()}};y=s("kOtTY");const ke={keys:{DISMISSED:"dismissed",LIKE:"like",WENTOUT:"wentOut",TIMESTAMP:"timestamp"},category:"howisit",postInit:()=>{Oe("how-is-it-e7n-consider").textContent=(0,Ee.tr)("Might you consider taking a minute to rate it in the $webstore$?",null,[ee.CUR_BROWSER_INFO.store_short],{webstore:{content:"$1",example:"web store"}});const e=Oe("how-is-it-e7n-url-webstore");e.href=ee.CUR_BROWSER_INFO.store_reviews_url,e.textContent=(0,Ee.tr)("Take me to the $webstore$!",null,[ee.CUR_BROWSER_INFO.store_short],{webstore:{content:"$1",example:"web store"}})}},xe={keys:{DISMISSED:"editDismissed",LIKE:"editHitOk",WENTOUT:"editWentOut",TIMESTAMP:"editTimestamp"},category:"tryedit"},Re={keys:{DISMISSED:"namechangeDismissed",LIKE:"namechangeHitOk",WENTOUT:"namechangeWentOut",TIMESTAMP:"namechangeTimestamp"},category:"namechange"},Ie=[ke,xe,Re],Ne=[];Ie.forEach((e=>{let t=e.keys;Ne.push({name:t.DISMISSED,type:"bool",default:!1},{name:t.LIKE,type:"bool"},{name:t.WENTOUT,type:"bool"},{name:t.TIMESTAMP,type:"text"})}));const Ae=new _e("howisit",Ne,!0);class Le{show(){this.elt.classList.remove("hide"),window.setTimeout((()=>this.elt.classList.add("show")),0)}hide(){this.elt.classList.remove("show"),window.setTimeout((()=>this.elt.classList.add("hide")),500)}dismiss(e){this.hide();let t={[this.keys.DISMISSED]:!0};void 0!==e&&(t[this.keys.WENTOUT]=e),this._updateHitStore(t)}_hideSteps(){this.steps.map((e=>e.style.display="none"))}_showStep(e,t,r){const n="hit-like"===e;if((n||"hit-dislike"===e)&&this._updateHitStore({[this.keys.LIKE]:n}),t)this.dismiss(r);else{this._hideSteps();this.elt.querySelector(`[data-step="${e}"]`).style.display="block"}}addListeners(){De(this.elt.getElementsByClassName("for-step")).forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget;"#"===t.getAttribute("href")&&e.preventDefault();const r=t.dataset.next,n=!!t.dataset.nextDismiss,o="true"===t.dataset.nextDismiss;this._showStep(r,n,o),l.default.event(this.category,"hit",r)}),!1)})),["close","dismiss"].forEach((e=>{De(this.elt.getElementsByClassName(e)).forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget;"#"===t.getAttribute("href")&&e.preventDefault();const r=t.dataset.wentOut,n="true"===r||"false"!==r&&void 0;this.dismiss(n);const o=!0===n?"accept":!1===n?"reject":"close";l.default.event(this.category,"complete",o)}),!1)}))})),Ae.onUpdate((e=>{Ae.state[this.keys.DISMISSED]&&this.hide()})),Oe("hit-report-link").setAttribute("href",(0,y.reportLink)(window.location.href,"AreYouEnjoyingReport"))}_updateHitStore(e){const t=$e();e[this.keys.TIMESTAMP]=t,Ae.setObj(e).catch((e=>c.default.error(e)))}constructor(e,r){this.elt=e,t(ve)(e,`bad element sent to Controls: ${e}`),t(ve)(Ie.find((e=>e===r)),`Config not found in whitelist!: ${JSON.stringify(r)}`),this.elt=e,this.keys=r.keys,this.category=r.category,this.steps=De(e.getElementsByClassName("hit-step")),r.postInit&&r.postInit(),this.addListeners(),this.show(),l.default.event(this.category,"show")}}const $e=()=>(new Date).getTime().toString();window._reset=()=>Ae.clear();const De=e=>Array.from(e),Oe=e=>document.getElementById(e);A=s("eC8rE"),L=s("nKr4g"),c=s("2z2pA"),Z=s("7b0kr"),Q=s("iiDPj");var Pe=s("iPbYd"),je=s("3pr9z"),Me=(Z=s("7b0kr"),l=s("ceb36"),c=s("2z2pA"),se=s("fueUa"),s("kRWUw")),Ue=s("jIppf"),Fe=s("eYuPW");class Be extends Z.Component{componentDidMount(){l.default.event(this.props.gaCfg.category,"show")}render(){const e={transition:"opacity 500ms ease-in-out",opacity:this.state.closing?0:1};return t(Z).createElement(t(Z).Fragment,null,t(Z).createElement(Ue.default,{style:e,className:"welcomemodal big-modal",dimBg:!0,width:630},t(Z).createElement("h2",{className:"br"},"Same team, new name."),t(Z).createElement(Fe.AnnounceImg,null),t(Z).createElement("p",{className:"br15"},"Full Page Screen Capture is now ",t(Z).createElement("strong",null,"GoFullPage"),"! Read more"," ",t(Z).createElement("a",{href:se.BLOG_NAME_CHANGE_URL,target:"_blank",rel:"noopener noreferrer"},"on the blog"),"."),t(Z).createElement("div",null,t(Z).createElement("a",{className:"btn br15",href:"#",onClick:e=>{this.handleLogClick("hit-close",!1,!0,!0),this.handleClose(e)}},"OK, got it!")),t(Z).createElement("a",{className:"close close-topright",href:"#",onClick:e=>{this.handleLogClick("hit-close",!1,!0,!0),this.handleClose(e)}},t(Z).createElement(Me.default,{fill:"#CCC"}))))}constructor(e){super(e),(0,Pe.default)(this,"handleClose",(e=>{e&&e.preventDefault(),this.state.closing||(this.setState({closing:!0}),window.setTimeout((()=>{this.props.onClose()}),500))})),(0,Pe.default)(this,"handleLogClick",((e,t,r,n)=>{let o=void 0!==r&&r,i=void 0!==n&&n;const s={};s[this.props.gaCfg.keys.LIKE]=!o,s[this.props.gaCfg.keys.DISMISSED]=i,s[this.props.gaCfg.keys.TIMESTAMP]=He(),this.props.hitStore.setObj(s).catch((e=>c.default.error(e))),l.default[t?"delayedEvent":"event"](this.props.gaCfg.category,"hit",e)})),this.state={closing:!1}}}(0,Pe.default)(Be,"propTypes",{onClose:t(je).func.isRequired,hitStore:t(je).object.isRequired,gaCfg:t(je).shape({keys:t(je).shape({DISMISSED:t(je).string.isRequired,LIKE:t(je).string.isRequired,WENTOUT:t(je).string.isRequired,TIMESTAMP:t(je).string.isRequired}),category:t(je).string.isRequired}).isRequired});const He=()=>(new Date).getTime().toString();L=s("nKr4g");const ze=(e,r)=>{const n=document.getElementById("modal-wrapper");L.$.empty(n);const o=document.createElement("div");n.appendChild(o),o.style.opacity="0",o.style.display="";(0,Q.render)(t(Z).createElement(Be,{onClose:()=>{o.style.display="none"},hitStore:e,gaCfg:r}),o),window.setTimeout((()=>{o.style.transition="opacity 500ms ease-in-out",o.style.opacity="1",o.style.display=""}),1500)};u=s("6pLLc"),f=s("avfZw"),Z=s("7b0kr"),Q=s("iiDPj"),Pe=s("iPbYd"),je=s("3pr9z"),Z=s("7b0kr"),ee=s("8DwkQ"),l=s("ceb36"),c=s("2z2pA"),Me=s("kRWUw"),Ue=s("jIppf"),Fe=s("eYuPW");class qe extends Z.Component{componentDidMount(){l.default.event(this.props.gaCfg.category,"show")}render(){const e=this.props.editorUrl,r={transition:"opacity 500ms ease-in-out",opacity:this.state.closing?0:1};return t(Z).createElement(t(Z).Fragment,null,t(Z).createElement(Ue.default,{style:r,className:"welcomemodal big-modal",dimBg:!0,width:630},t(Z).createElement("h2",{className:"br"},"Try annotating, cropping, and doing more with your screenshots!"),t(Z).createElement(Fe.default,null),t(Z).createElement("p",{className:"br15"},"Test drive the premium editor and turn your screenshots into masterpieces."),t(Z).createElement("div",null,t(Z).createElement("a",{className:"btn br15",href:e,onMouseDown:()=>this.handleLogClick("hit-like",!0)},"Give it a spin"),t(Z).createElement("p",{className:"dim"},t(Z).createElement("a",{href:ee.PREMIUM_URL,target:"_blank",rel:"noopener noreferrer",onClick:()=>{this.handleLogClick("hit-learn",!1)}},"Learn more about premium features"))),t(Z).createElement("a",{className:"close close-topright",href:"#",onClick:e=>{this.handleLogClick("hit-close",!1,!0,!0),this.handleClose(e)}},t(Z).createElement(Me.default,{fill:"#CCC"}))))}constructor(e){super(e),(0,Pe.default)(this,"handleClose",(e=>{e&&e.preventDefault(),this.state.closing||(this.setState({closing:!0}),window.setTimeout((()=>{this.props.onClose()}),500))})),(0,Pe.default)(this,"handleLogClick",((e,t,r,n)=>{let o=void 0!==r&&r,i=void 0!==n&&n;const s={};s[this.props.gaCfg.keys.LIKE]=!o,s[this.props.gaCfg.keys.DISMISSED]=i,s[this.props.gaCfg.keys.TIMESTAMP]=Ke(),this.props.hitStore.setObj(s).catch((e=>c.default.error(e))),l.default[t?"delayedEvent":"event"](this.props.gaCfg.category,"hit",e)})),this.state={closing:!1}}}(0,Pe.default)(qe,"propTypes",{onClose:t(je).func.isRequired,editorUrl:t(je).string.isRequired,hitStore:t(je).object.isRequired,gaCfg:t(je).shape({keys:t(je).shape({DISMISSED:t(je).string.isRequired,LIKE:t(je).string.isRequired,WENTOUT:t(je).string.isRequired,TIMESTAMP:t(je).string.isRequired}),category:t(je).string.isRequired}).isRequired});const Ke=()=>(new Date).getTime().toString();L=s("nKr4g");const Ge=(e,r,n)=>{const o=document.getElementById("modal-wrapper");L.$.empty(o);const i=document.createElement("div");o.appendChild(i),i.style.opacity="0",i.style.display="";(0,Q.render)(t(Z).createElement(qe,{onClose:()=>{i.style.display="none"},editorUrl:e,hitStore:r,gaCfg:n}),i),window.setTimeout((()=>{i.style.transition="opacity 500ms ease-in-out",i.style.opacity="1",i.style.display=""}),1500)};h=s("1I2HB");let We=!1;const Ye=(e,t)=>t[e.keys.DISMISSED]||void 0!==t[e.keys.LIKE],Ve=function(){var e=(0,_.default)((function(e){var t,r,n,o,i,s,a;return(0,k.__generator)(this,(function(l){switch(l.label){case 0:return[4,Ae.load()];case 1:return t=l.sent(),[4,f.default.load()];case 2:return r=l.sent(),n=Ye(ke,t),o=Ye(xe,t),i=Ye(Re,t),[4,(0,u.sleep)(250)];case 3:return l.sent(),[4,A.Capture.count()];case 4:return s=l.sent(),a=r.firstKnownVersion,a&&(0,h.compareVersions)(a,ee.NAMECHANGE_VERSION)<0&&!i?ze(Ae,Re):s>=8&&!o?Ge(e,Ae,xe):s>=5&&!n&&new Le((0,L.$)("how-is-it"),ke),[2]}}))}));return function(t){return e.apply(this,arguments)}}();var Xe=s("Bqk7F"),Ze=(c=s("2z2pA"),$=s("1RQvI"),s("5kOv9")),Qe=(u=s("6pLLc"),g=s("h1Khz"),s("8ioZ3")),Je=s("fYpxg"),et=s("dChev");y=s("kOtTY");const tt="rejected_dl",rt=(0,a.tr)("File no longer exists—perhaps it has been cleared from your browser")+" 😐",nt=(0,a.tr)("Your browser does not support the clipboard API, please update to the most recent version."),ot={record:null,images:null,loaded:!1,rejectedDl:!1},it="nav_button",st=()=>{(0,Q.render)((0,Z.createElement)(ie,{Actions:ft,STATE:ot}),document.getElementById("root"))},at=()=>{d.default.onUpdated((e=>{if("MIGRATION"===e.source){let t=(0,L.$)("error-status");if(t&&(t.innerText=""),e.isDone)window.location=window.location.href;else if(t&&e.title){let r=`\n${e.title}`;void 0!==e.step&&void 0!==e.numSteps&&(r+=` (${e.step} of ${e.numSteps}).`),t.innerText=r}}}));const e=e=>window.setTimeout((()=>e.blur()),10);L.$.on((0,L.$)("btn-trash"),"click",(function(t){t.preventDefault(),ot.record&&ft.remove(ot.record,ee.GA_VIA_NAV),e(this)})),L.$.on((0,L.$)("btn-download"),"click",(function(t){if(ot.rejectedDl)return!0;ot.record&&(t.preventDefault(),ft.download(ot.record,ee.GA_VIA_NAV)),e(this)})),L.$.on((0,L.$)("btn-downloadpdf"),"click",(function(t){ot.record&&(t.preventDefault(),ft.downloadPDF(ot.record,ee.GA_VIA_NAV)),e(this)})),L.$.on(document,"keydown",(function(e){const t=(e=>(0,te.getIsMac)()?e.metaKey:e.ctrlKey)(e);if(t)switch(e.keyCode){case 83:if(ot.record){const t=e.altKey,r=e.shiftKey;let n=(0,L.$)("btn-download");"none"!==window.getComputedStyle(n).display&&(e.preventDefault(),t?ft.copyToClipboard(ot.record,ee.GA_VIA_KEYPRESS,0,ot.images):ft.download(ot.record,ee.GA_VIA_KEYPRESS,r))}return;case 67:return void(e.shiftKey||e.altKey||(e.preventDefault(),ot.record&&ft.copyToClipboard(ot.record,ee.GA_VIA_KEYPRESS,0,ot.images)));case 69:return e.preventDefault(),void(ot.record&&ft.goToEditor(ee.GA_VIA_KEYPRESS));case 189:case 187:case 48:return e.preventDefault(),void(189===e.keyCode?(0,le.default)(window,"ZOOM_OUT"):(0,le.default)(window,"ZOOM_IN"))}})),Promise.all([(0,N.containsDownloads)(),Je.default.load()]).then((e=>{let t=(0,X.default)(e,2),r=t[0],n=t[1];ot.rejectedDl=!r&&n[tt],r&&n[tt]&&Je.default.set(tt,!1).catch((e=>c.default.error(e)))})),function(){const e=D();O((0,L.$)("btn-settings"),e.options),O((0,L.$)("btn-history"),e.history)}()},lt=e=>{g.update({name:"SlowLoadingTimeout",message:`After ${e}ms.`},ot.record).then((()=>{let e=(0,a.tr)("This is taking longer to load than expected. Hang tight! If nothing updates after a while, please report this via the reporting flag button above.");F((0,a.tr)("Still loading"),e,!1,!0)}))},ct=(e,t,r)=>{let n,o=!1;return r=r||1e4,t&&(n=window.setTimeout((()=>{o=!0,t(r)}),r)),Promise.all(e.map((e=>(0,u.loadImage)(e)))).then((e=>(window.clearTimeout(n),ot.loaded=!0,{images:e,didTimeout:o}))).catch((e=>{throw window.clearTimeout(n),e}))},dt=e=>{ot.images=e;let t=!1,r=!1,n=null,o=null,i=null,s=null;const a=(0,L.$)("image");L.$.empty(a),a.classList.toggle("one-child",1===e.length);const l=window;function c(){let t=e[0].width,r=e[0].height,n=function(e,t,r,n){let o=r/e,i=n/t,s=Math.min(e*o,e*i,e),a=Math.min(t*o,t*i,t);return{width:s,height:a,scaleRatio:s/e,left:Math.floor((r-s)/2,10),top:Math.floor((n-a)/2,10)}}(t,r,window.innerWidth-40,window.innerHeight-document.getElementsByTagName("header")[0].offsetHeight-40);const o=ot.record.scaleMultiplier;f(n.scaleRatio*o),e.forEach(((e,t)=>{let r=e.img,o=e.width,i=e.height;r.style.height=i*n.scaleRatio+"px",r.style.width=o*n.scaleRatio+"px",0===t&&r.parentNode&&(r.parentNode.style.padding=n.top+20+"px 0")})),u(!1)}function d(){f(1),e.forEach(((e,t)=>{let r=e.img,n=e.width,o=e.height,i=ht(n),s=ht(o);r.style.width=i+"px",r.style.height=s+"px",0===t&&(r.parentNode.style.padding="")})),u(!0)}function u(e){let t=null===e?"":e?"can-zoom-out":"can-zoom-in";["can-zoom-in","can-zoom-out"].forEach((e=>document.documentElement.classList.toggle(e,e===t)))}function f(e){let t=(0,L.$)("img-ctrls"),r=(n=e,(n*=100)>=1?Math.floor(n,10).toString():n>=.005?n.toString().substring(0,4):"0");var n;L.$.findClass("zoom-amount",t).forEach((e=>e.innerText=`${r}%`)),L.$.findClass("zoom-btn",t).forEach((t=>{t.classList.toggle("disabled",1===e?t.classList.contains("zoom-in"):t.classList.contains("zoom-out"))}))}function h(r){let n=!0===r,o="object"==typeof r,i=o?r.target:e[0].img,s=e.find((e=>e.img===i))||e[0],a=s.width,f=s.height,h=document.getElementsByTagName("header")[0].offsetHeight,p=a>window.innerWidth||f+40>window.innerHeight-h,m=i.width,g=i.height,w=o?L.$.offsets(i):null,E=document.documentElement.classList.contains("can-zoom-out");if(!0===n&&(E=!E),p)if(E){if(t)return;c()}else d();else e&&e.length&&(e[0].img.parentNode.style.padding="20px 0 0",u(null));if(o&&!E){const e=L.$.offsets(i),t=r.clientX-w.left,n=r.clientY-w.top,o=t/m*ht(a),s=n/g*ht(f),c=L.$.offsets(l),d=l.innerWidth||l.offsetWidth,u=l.innerHeight||l.offsetHeight,h=e.left-c.left+o-d/2,p=e.top-c.top+s-u/2;(0,y.scrollEltTo)(l,h,p)}}e.forEach(((e,t)=>{let r=e.img;r.src=e.src,r.title="Captured screenshot",a.appendChild(r)})),L.$.on(window,"ZOOM_IN",d),L.$.on(window,"ZOOM_OUT",c),h(!0),e.forEach((e=>{let t=e.img;return L.$.on(t,"click",h)})),L.$.on(window,"resize",(()=>h(!0)));const p=e=>{t=e,document.documentElement.classList.toggle("spacebar-down",e)},m={keydown:e=>{if(32===e.keyCode&&"image"===e.target.id)return e.preventDefault(),void p(!0)},keyup:e=>{32!==e.keyCode||(r?L.$.once(document,"click",(e=>{p(!1)})):p(!1))},mousedown:e=>{t&&(r=!0,n=e.clientX,o=e.clientY,i=l.scrollX||l.scrollLeft||0,s=l.scrollY||l.scrollTop||0)},mouseup:e=>{r=!1},mousemove:e=>{if(r&&t){const t=e.clientX,r=e.clientY,a=n-t,c=o-r;n=t,o=r,i+=a,s+=c,(0,y.scrollEltTo)(l,i,s)}}};Object.entries(m).forEach((e=>{let t=(0,X.default)(e,2),r=t[0],n=t[1];L.$.on(document,r,n)}));const g=(0,L.$)("img-ctrls"),w=L.$.findClass("zoom-btn",g);w.push(L.$.findClass("zoom-amount",g)[0]),w.forEach((e=>{L.$.on(e,"click",(function(e){e.preventDefault(),this.classList.contains("disabled")||h(!1)}))}));const E=e[0].src,v=(0,L.$)("btn-download");v.href=E,v.download=E.split("/").pop(),function(e){let t=void 0===e?"img-btn":e;if(!ot.loaded)return void ut();L.$.findClass(t).forEach((function(e){e.classList.add("show")}))}()};function ut(){L.$.findClass("img-btn").forEach((function(e){e.classList.remove("show")}))}const ft=function(){const e={downloadPDF:(t,r,n)=>{let o=void 0!==n&&n;l.default.event(it,"download_pdf",r),e._if(t).then((()=>(0,N.requestDownloads)())).then(function(){var e=(0,_.default)((function(e){var r,n,i,s,l,d,u,f,h,p,m,g,w,b,C,T,S,_,x,R,I,N,A,L,$,D,O,P;return(0,k.__generator)(this,(function(k){switch(k.label){case 0:return e?(r=(0,Xe.getImageFormat)("jpg"),[4,Promise.all([Qe.default.load(),et.default.loginStateProm()])]):[3,6];case 1:return n=X.default.apply(void 0,[k.sent(),2]),i=n[0],s=n[1],l=[],d=null,u=0,i.pdf_url_and_date?(f=ot.record.scaleMultiplier,h=ot.images[0].width/f,0,p={x:0,y:0,width:h,height:0},m=(0,se.formatDate)(ot.record.dateTime,i.pdf_date_fmt),g=(0,ae.createBrowserTemplate)(ae.TEMPLATE_DATA_BAR.key,ot.record.url,h,0,f,ot.record.title,ot.record.dateTime,m),w=(0,ce.computeBaseOffsets)(h,0,f,p,g,100,[],null,0),b=document.createElement("canvas"),C=b.getContext("2d"),T=C.webkitBackingStorePixelRatio||C.backingStorePixelRatio||1,S=f/T,b.width=w.outerWidth*S,b.height=w.outerHeight*S,u=w.outerHeight,C.scale(S,S),[4,g.draw(C,ot.record.url)]):[3,3];case 2:k.sent(),g.textCoords&&l.push((0,v.default)((0,E.default)({},g.textCoords),{url:ot.record.url})),d=b,k.label=3;case 3:return i.pdf_insert_links&&s&&s.store.show_experimental&&ot.record.metadata.links&&(_=ot.record.metadata.links,Array.isArray(_)&&(0,ue.flattenBounds)(_).forEach((e=>{l.push(u?(0,v.default)((0,E.default)({},e),{y:e.y+u}):e)}))),[4,(0,Ze.toPDF)(ot.images,r,ot.record.scaleMultiplier||window.devicePixelRatio||1,i.pdf_format,i.pdf_smart_page&&s&&"sub-ok"===s.subState,l,oe.triggerNotifyText.creatingPDF,d)];case 4:return x=k.sent(),R=(0,de.blobToUrl)(x),[4,(0,y.fullServiceDownload)([{url:R,filename:t.pdfFilename}],!1,o)];case 5:if(I=k.sent(),N=I.hasPerms,A=I.results,L=I.failCount,(0,de.revokeObjectUrl)(R),!N)throw($=new Error("No downloads perm despite just getting it!")).name="UnreachableError",$;if(L)throw A.find((e=>!1===e.success)).error;return oe.triggerNotifyText.createdPDF(),[3,10];case 6:return k.trys.push([6,8,,9]),[4,Je.default.set(tt,!0)];case 7:return k.sent(),[3,9];case 8:return D=k.sent(),c.default.error(D),[3,9];case 9:return ot.rejectedDl=!0,O=(0,a.tr)("Download permission is required"),P=(0,a.tr)("The download permission is required to enable the download as PDF feature."),F(O,P,!0,!0),[2];case 10:return[2]}}))}));return function(t){return e.apply(this,arguments)}}()).catch((e=>{oe.triggerNotifyText.clear(),g.update(e,ot.record).then((()=>{if(c.default.error("Download error",e),ye[e.name])pt(e);else{let e=(0,a.tr)("Error downloading file"),t=$.ERR_MSG_IF_PERSISTS;F(e,t,!0,!0)}}))}))},download:(t,r,n)=>{l.default.event(it,n?"download_img_as":"download_img",r||void 0),e._if(t).then((()=>(0,N.requestDownloads)())).then((e=>{if(e){let e=t.fullPaths;return(0,y.fullServiceDownload)(e,!1,n).then((e=>{let t=e.hasPerms,r=e.results,n=e.failCount;if(!t){let e=new Error("No downloads perm despite just getting it!");throw e.name="UnreachableError",e}if(n)throw r.find((e=>!1===e.success)).error}))}{Je.default.set(tt,!0).catch((e=>c.default.error(e))),ot.rejectedDl=!0;let e=(0,a.tr)("Download permission not granted"),t=(0,a.tr)("This permission allows greater control over how downloads work within the extension. Your preference has been saved, and this download button will now fall back to default browser on-click downloads. However, you will still be prompted for it in order to use any of the advanced features on the Files or Edit pages, since they need this permissions to work.");return void F(e,t,!1,!0)}})).catch((e=>{g.update(e,ot.record).then((()=>{if(c.default.error("Download error",e),ye[e.name])pt(e);else{let e=(0,a.tr)("Error downloading file"),t=$.ERR_MSG_IF_PERSISTS;F(e,t,!0,!0)}}))}))},goToUrl:(e,t)=>{l.default.event(it,"goto_url",t||void 0);const r=e.url;window.open(r,"_blank","noopener")},copyUrl:(e,t)=>{l.default.event(it,"copy_url",t||void 0);const r=e.url;if(!(0,J.canCopyTextToClipboard)()){const e=nt;return(0,oe.triggerNotifyText)(e,4e3),void c.default.error("Copy not supported",e)}(0,J.copyTextToClipboard)(r).then((()=>{(0,oe.triggerNotifyText)(`✅ ${(0,a.tr)("URL copied to clipboard")}`,3e3)})).catch((e=>{c.default.error("Error coping URL"),c.default.error(e),oe.triggerNotifyText.clear(),g.update(e,ot.record).then((()=>{let e=$.ERR_MSG_IF_PERSISTS;F((0,a.tr)("Error copying URL"),e,!0,!0)}))}))},copyToClipboard:(e,t,r,n)=>{let o=void 0===r?0:r,i=void 0===n?null:n;l.default.event(it,"copy_img",t);const s=e.fullPaths[o],a=i&&i[o]||void 0;if(!(0,J.canCopyBlobToClipboard)()){const e=nt;return(0,oe.triggerNotifyText)(e,4e3),void c.default.error("Copy not supported",e)}oe.triggerNotifyText.copyingImage(),Promise.resolve().then((0,_.default)((function(){var e,t,r;return(0,k.__generator)(this,(function(n){switch(n.label){case 0:return[4,Qe.default.load()];case 1:return e=n.sent(),t=e.fit_copies?J.GOOGLE_DOCS_MAX_PIXELS:void 0,a?[4,(0,J.copyImgEltToClipboard)(a.img,a.width,a.height,t)]:[3,3];case 2:return r=n.sent(),[3,5];case 3:return[4,(0,J.copyImgToClipboard)(s,t)];case 4:r=n.sent(),n.label=5;case 5:return(0,c.default)("Copied image"+(r?" (RESIZED)":"")),oe.triggerNotifyText.copiedImage(r),[2]}}))}))).catch((e=>{c.default.error("Error coping image"),c.default.error(e),oe.triggerNotifyText.clear(),g.update(e,ot.record).then((()=>{F($.ERR_TITLE_COPY,$.ERR_MSG_COPY+"\n\n"+$.ERR_MSG_IF_PERSISTS,!1,!0)}))}))},openInTabs:(t,r)=>{l.default.event(it,"expand",r||void 0),e._if(t).then((()=>me())).then((e=>ge(e,t.fullPaths))).catch((e=>{(0,c.default)("Error opening file in tabs",e),g.update(e,ot.record).then((()=>{let e=(0,a.tr)("Something went wrong opening this screenshot into a new.")+" "+$.ERR_MSG_IF_PERSISTS;F((0,a.tr)("Error opening screenshot"),e,!0,!0)}))}))},remove:(t,r)=>{l.default.event(it,"remove",r||void 0);let n=(0,a.tr)("Are you sure you want to delete this screenshot?\n(This action cannot be undone.)");confirm(n)&&e._if(t).then((()=>t.remove())).then((()=>function(){ut();let e=(0,L.$)("image");L.$.empty(e),F((0,a.tr)("Image deleted"),(0,a.tr)("This screenshot been successfully removed."))}())).catch((e=>{(0,c.default)("Error removing file",e),g.update(e,ot.record).then((()=>{let e=(0,a.tr)("Something went wrong deleting your screenshot.")+" "+$.ERR_MSG_IF_PERSISTS;F((0,a.tr)("Error removing screenshot"),e,!0,!0)}))}))},goToEditor:(e,t)=>{let r=void 0===t?0:t;l.default.event(it,"goto_editor",e||void 0),ot.record&&(window.location=ot.record.getEditorURL(r))},_if:e=>Promise.resolve().then((()=>{if(!e){let e=new Error("No record on STATE obj");throw e.name="PageStateError",e}return e}))};return e}();function ht(e){const t=ot.record?ot.record.scaleMultiplier:window.devicePixelRatio||1;return 1!==t?e/t:e}function pt(e){let t=ye[e.name];if(F(t.title,t.body,!1,!0,!0),t.buttons){let e=document.createElement("div");e.className=F.extrasClassName,t.buttons().forEach((t=>{e.appendChild(t)})),(0,L.$)("error-body").appendChild(e)}}l.default.pageview(),(e=>{let t=void 0!==e&&e;if(null===w){const e=document.createElement("a");e.style.cssText="position: sticky;",w=-1!==e.style.position.indexOf("sticky")}w&&t&&document.documentElement.classList.add("csspositionsticky")})(!0),Array.prototype.slice.call(document.querySelectorAll("a[data-href]")).forEach((e=>{e.href=e.dataset.href})),(0,a.updateHtml)(),g.update();let mt=(0,y.getQueryString)();const gt=e=>{c.default.error("Migration error",e),g.update(e).then((()=>{F("Data Error","The page encountered an error. Please report this via the the flag reporting button above.",!0,!1)}))};var wt,yt;mt.src?(yt=mt.src,A.Capture.findSrc(yt).then((e=>{window.location=e?e.displayURL:"?"})).catch((e=>{c.default.error("lookup Image src error",e),g.update(e).then((()=>{F((0,a.tr)("Unable to find image"),(0,a.tr)("The specified image could not be found.")+" "+$.ERR_MSG_IF_PERSISTS)}))}))):mt.id?(wt=mt.id,document.documentElement.classList.add("page-image"),at(),st(),A.Capture.lookup(wt).then((e=>{if(!e)return c.default.error("lookup, no record found",wt),F((0,a.tr)("Unable to load image"),rt);ot.record=e,g.update(void 0,ot.record),e.format&&((0,L.$)("btn-download").getElementsByClassName("image-type")[0].innerText=`(${e.format.toUpperCase()})`),L.$.findClass("editor-link").forEach((t=>{t.href=e.getEditorURL()}));const t=(0,L.$)("btn-editor-wrap");if(t&&e.images&&e.images.length>0){const r="hov-dropdown";let n=L.$.findClass("hov-dropdown",t)[0];if(n&&n.parentNode.removeChild(n),L.$.findClass("tooltip",t).forEach((e=>{e.classList.remove("hide")})),e.images.length>1){L.$.findClass("tooltip",t).forEach((e=>{e.classList.add("hide")})),n=document.createElement("div"),n.className=r;const o=document.createElement("ul");n.appendChild(o);const i=document.createElement("li"),s=document.createElement("span");s.className="hov-dropdown--title",s.textContent=`${(0,a.tr)("Premium feature")}:`,i.appendChild(s),o.appendChild(i),e.images.forEach(((r,n)=>{const i=document.createElement("li"),s=document.createElement("a");if(s.href=e.getEditorURL(n),s.addEventListener("mousedown",(()=>{l.default.event(it,"goto_editor","multi-dropdown")}),!1),s.textContent=`${(0,a.tr)("Edit Image")} ${n+1}`,0===n){const e=document.createElement("span");e.className="hov-dropdown--shortcut",e.textContent=re({cmd:!0,char:"E"}),s.prepend(e)}i.appendChild(s),o.appendChild(i);let c=null;t.addEventListener("mouseenter",(()=>{window.clearTimeout(c),t.classList.add("hover")}),!1),t.addEventListener("mouseleave",(()=>{c=window.setTimeout((()=>{t.classList.remove("hover")}),500)}),!1)})),t.appendChild(n)}}var r;return r=e.getEditorURL(),We||(We=!0,Ve(r).catch((e=>{c.default.error("CAUGHT ERROR in hit.load chain"),c.default.error(e)}))),H().then((()=>ct(e.fullPaths,lt))).then((e=>{let t=e.images;return e.didTimeout&&B(),dt(t)})).then((()=>z())).catch((e=>{z().catch((e=>c.default.error(e))),c.default.error("loadImages error",e),g.update(e,ot.record).then((()=>{F((0,a.tr)("Unable to load image"),rt)}))}))})).catch((e=>{c.default.error("Failed lookup",wt,e),g.update(e,ot.record).then((()=>{F((0,a.tr)("Error loading image"),$.ERR_MSG_IF_PERSISTS,!0,!1)}))}))).then(p).catch(gt):(document.documentElement.classList.add("page-history"),d.default.onUpdated((e=>{"MIGRATION"===e.source&&e.isDone&&q()})),function(){const e=D(),t=e.editor||e.capture;t&&L.$.findClass("back-button").forEach((e=>{O(e,t,!0)})),O((0,L.$)("btn-settings"),e.options),O((0,L.$)("btn-history"),e.history)}(),H().then(q).then(z)).then(p).catch(gt)})(); +//# sourceMappingURL=capture.324a865d.js.map diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.839f08c2.css b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.839f08c2.css new file mode 100644 index 0000000..b69adcc --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.839f08c2.css @@ -0,0 +1,2 @@ +.how-is-it{background:#fff;border-bottom-width:0;border-radius:2px 2px 0 0;padding:10px 20px;font-size:14px;line-height:20px;transition:all .5s ease-in-out;position:fixed;bottom:-300px;right:15px;box-shadow:0 0 8px rgba(0,0,0,.24)}.how-is-it.show{bottom:0}.how-is-it.hide,.how-is-it .hit-step{display:none}.how-is-it .hit-step-first{display:block}.how-is-it .tight{max-width:450px}.how-is-it a.box{color:#fff;background:#03a9f4;border-radius:4px;margin-left:10px;padding:5px 10px;display:inline-block}.how-is-it button.close{box-sizing:border-box;width:20px;height:20px;text-transform:uppercase;text-align:center;background:#fff;border:0;padding:0;font-family:arial,sans-serif;font-size:20px;font-weight:700;line-height:20px;position:absolute;top:1px;right:1px}.clickdialog{color:#fff;width:200px;z-index:1010;background:#161616;padding:10px 0;font-size:12px;line-height:22px;display:none;position:fixed;top:200px;left:200px}.clickdialog.show{display:block}.clickdialog--row{padding:0}.clickdialog--row.title{padding:0 10px 10px;font-size:13px;line-height:22px}.clickdialog--row.title--inner{margin-bottom:5px;padding-bottom:0}.clickdialog--row.divider{height:22px;width:100%;position:relative}.clickdialog--row.divider:after{content:"";height:1px;width:100%;background:#666;position:absolute;top:11px}.clickdialog--btn{width:100%;height:22px;color:#fff;cursor:pointer;background:#161616;border:0;border-radius:0;outline:none;justify-content:space-between;align-items:center;padding:0 10px;font-size:12px;font-weight:700;line-height:22px;display:flex}.clickdialog--btn:hover{background:#007bed}.clickdialog--btn.disabled{color:#999;cursor:default;background:#161616}.notify-snackbar{width:100%;pointer-events:none;z-index:1000;opacity:0;justify-content:center;padding:0 20px;transition:transform .15s ease-in,opacity .25s ease-in;display:flex;position:fixed;bottom:35px;left:0;transform:translateY(20px)}.notify-snackbar.show{opacity:1;transform:translateY(0)}.notify-snackbar--inner{min-width:200px;box-sizing:content-box;color:#fff;pointer-events:all;white-space:pre-line;word-break:break-all;text-align:center;background:#161616;border:1px solid #000;border-radius:4px;padding:10px 20px;box-shadow:1px 1px 4px rgba(0,0,0,.5)}.modal{z-index:1000;padding:10vh 20px 0;position:fixed;top:0;bottom:0;left:0;right:0}.modal.dim-bg{background:rgba(0,0,0,.4)}.modal .close-wrapper,.modal .modal-inner{box-sizing:border-box;margin:0 auto;transition:all .15s ease-in-out;display:block;position:relative}.modal .close-wrapper.pre-animate,.modal .modal-inner.pre-animate{opacity:0;transform:translateY(10px)}.modal .modal-inner{max-height:84vh;background:#fff;overflow:auto}.modal .close-topright{position:absolute;top:10px;right:10px}.modal .close{cursor:pointer;background:0 0;border:0;outline:0;margin:0;padding:0}.modal .close-wrapper .close{position:absolute;top:0;right:-30px} +/*# sourceMappingURL=capture.839f08c2.css.map */ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.88f199e8.css b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.88f199e8.css new file mode 100644 index 0000000..eed9952 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.88f199e8.css @@ -0,0 +1,2 @@ +.big-modal .modal-inner{text-align:center;padding:50px 48px 40px}.big-modal .modal-inner .br{margin-bottom:20px}.big-modal .modal-inner .br15{margin-bottom:30px}.big-modal .modal-inner h2{letter-spacing:-.5px;margin-bottom:20px;font-size:48px;font-weight:300;line-height:58px}.big-modal a{color:#36b6e6;text-decoration:underline}.big-modal a:hover{color:#2e96bd}.big-modal a>svg path{fill:#ccc}.big-modal a.btn{color:#fff;background:#30c594;border-color:#1c7356;border-bottom-style:solid;border-bottom-width:4px;border-radius:5px;padding:20px 30px;font-size:16px;font-weight:700;line-height:20px;text-decoration:none;display:inline-block}.big-modal a.btn:active{border-top:3px solid #30c594;border-bottom-width:1px} +/*# sourceMappingURL=capture.88f199e8.css.map */ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.8fe90b06.css b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.8fe90b06.css new file mode 100644 index 0000000..cab0bf0 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.8fe90b06.css @@ -0,0 +1,2 @@ +@font-face{font-family:Pe-icon-7-stroke;src:url(Pe-icon-7-stroke.a46b5122.eot);src:url(Pe-icon-7-stroke.a46b5122.eot#iefixd7yf1v)format("embedded-opentype"),url(Pe-icon-7-stroke.4346a07d.woff)format("woff"),url(Pe-icon-7-stroke.8d58b512.ttf)format("truetype"),url(Pe-icon-7-stroke.a7213fa2.svg#Pe-icon-7-stroke)format("svg");font-weight:400;font-style:normal}[class^=pe-7s-],[class*=\ pe-7s-]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Pe-icon-7-stroke;font-style:normal;font-weight:400;line-height:1;display:inline-block}.pe-7s-album:before{content:""}.pe-7s-arc:before{content:""}.pe-7s-back-2:before{content:""}.pe-7s-bandaid:before{content:""}.pe-7s-car:before{content:""}.pe-7s-diamond:before{content:""}.pe-7s-door-lock:before{content:""}.pe-7s-eyedropper:before{content:""}.pe-7s-female:before{content:""}.pe-7s-gym:before{content:""}.pe-7s-hammer:before{content:""}.pe-7s-headphones:before{content:""}.pe-7s-helm:before{content:""}.pe-7s-hourglass:before{content:""}.pe-7s-leaf:before{content:""}.pe-7s-magic-wand:before{content:""}.pe-7s-male:before{content:""}.pe-7s-map-2:before{content:""}.pe-7s-next-2:before{content:""}.pe-7s-paint-bucket:before{content:""}.pe-7s-pendrive:before{content:""}.pe-7s-photo:before{content:""}.pe-7s-piggy:before{content:""}.pe-7s-plugin:before{content:""}.pe-7s-refresh-2:before{content:""}.pe-7s-rocket:before{content:""}.pe-7s-settings:before{content:""}.pe-7s-shield:before{content:""}.pe-7s-smile:before{content:""}.pe-7s-usb:before{content:""}.pe-7s-vector:before{content:""}.pe-7s-wine:before{content:""}.pe-7s-cloud-upload:before{content:""}.pe-7s-cash:before{content:""}.pe-7s-close:before{content:""}.pe-7s-bluetooth:before{content:""}.pe-7s-cloud-download:before{content:""}.pe-7s-way:before{content:""}.pe-7s-close-circle:before{content:""}.pe-7s-id:before{content:""}.pe-7s-angle-up:before{content:""}.pe-7s-wristwatch:before{content:""}.pe-7s-angle-up-circle:before{content:""}.pe-7s-world:before{content:""}.pe-7s-angle-right:before{content:""}.pe-7s-volume:before{content:""}.pe-7s-angle-right-circle:before{content:""}.pe-7s-users:before{content:""}.pe-7s-angle-left:before{content:""}.pe-7s-user-female:before{content:""}.pe-7s-angle-left-circle:before{content:""}.pe-7s-up-arrow:before{content:""}.pe-7s-angle-down:before{content:""}.pe-7s-switch:before{content:""}.pe-7s-angle-down-circle:before{content:""}.pe-7s-scissors:before{content:""}.pe-7s-wallet:before{content:""}.pe-7s-safe:before{content:""}.pe-7s-volume2:before{content:""}.pe-7s-volume1:before{content:""}.pe-7s-voicemail:before{content:""}.pe-7s-video:before{content:""}.pe-7s-user:before{content:""}.pe-7s-upload:before{content:""}.pe-7s-unlock:before{content:""}.pe-7s-umbrella:before{content:""}.pe-7s-trash:before{content:""}.pe-7s-tools:before{content:""}.pe-7s-timer:before{content:""}.pe-7s-ticket:before{content:""}.pe-7s-target:before{content:""}.pe-7s-sun:before{content:""}.pe-7s-study:before{content:""}.pe-7s-stopwatch:before{content:""}.pe-7s-star:before{content:""}.pe-7s-speaker:before{content:""}.pe-7s-signal:before{content:""}.pe-7s-shuffle:before{content:""}.pe-7s-shopbag:before{content:""}.pe-7s-share:before{content:""}.pe-7s-server:before{content:""}.pe-7s-search:before{content:""}.pe-7s-film:before{content:""}.pe-7s-science:before{content:""}.pe-7s-disk:before{content:""}.pe-7s-ribbon:before{content:""}.pe-7s-repeat:before{content:""}.pe-7s-refresh:before{content:""}.pe-7s-add-user:before{content:""}.pe-7s-refresh-cloud:before{content:""}.pe-7s-paperclip:before{content:""}.pe-7s-radio:before{content:""}.pe-7s-note2:before{content:""}.pe-7s-print:before{content:""}.pe-7s-network:before{content:""}.pe-7s-prev:before{content:""}.pe-7s-mute:before{content:""}.pe-7s-power:before{content:""}.pe-7s-medal:before{content:""}.pe-7s-portfolio:before{content:""}.pe-7s-like2:before{content:""}.pe-7s-plus:before{content:""}.pe-7s-left-arrow:before{content:""}.pe-7s-play:before{content:""}.pe-7s-key:before{content:""}.pe-7s-plane:before{content:""}.pe-7s-joy:before{content:""}.pe-7s-photo-gallery:before{content:""}.pe-7s-pin:before{content:""}.pe-7s-phone:before{content:""}.pe-7s-plug:before{content:""}.pe-7s-pen:before{content:""}.pe-7s-right-arrow:before{content:""}.pe-7s-paper-plane:before{content:""}.pe-7s-delete-user:before{content:""}.pe-7s-paint:before{content:""}.pe-7s-bottom-arrow:before{content:""}.pe-7s-notebook:before{content:""}.pe-7s-note:before{content:""}.pe-7s-next:before{content:""}.pe-7s-news-paper:before{content:""}.pe-7s-musiclist:before{content:""}.pe-7s-music:before{content:""}.pe-7s-mouse:before{content:""}.pe-7s-more:before{content:""}.pe-7s-moon:before{content:""}.pe-7s-monitor:before{content:""}.pe-7s-micro:before{content:""}.pe-7s-menu:before{content:""}.pe-7s-map:before{content:""}.pe-7s-map-marker:before{content:""}.pe-7s-mail:before{content:""}.pe-7s-mail-open:before{content:""}.pe-7s-mail-open-file:before{content:""}.pe-7s-magnet:before{content:""}.pe-7s-loop:before{content:""}.pe-7s-look:before{content:""}.pe-7s-lock:before{content:""}.pe-7s-lintern:before{content:""}.pe-7s-link:before{content:""}.pe-7s-like:before{content:""}.pe-7s-light:before{content:""}.pe-7s-less:before{content:""}.pe-7s-keypad:before{content:""}.pe-7s-junk:before{content:""}.pe-7s-info:before{content:""}.pe-7s-home:before{content:""}.pe-7s-help2:before{content:""}.pe-7s-help1:before{content:""}.pe-7s-graph3:before{content:""}.pe-7s-graph2:before{content:""}.pe-7s-graph1:before{content:""}.pe-7s-graph:before{content:""}.pe-7s-global:before{content:""}.pe-7s-gleam:before{content:""}.pe-7s-glasses:before{content:""}.pe-7s-gift:before{content:""}.pe-7s-folder:before{content:""}.pe-7s-flag:before{content:""}.pe-7s-filter:before{content:""}.pe-7s-file:before{content:""}.pe-7s-expand1:before{content:""}.pe-7s-exapnd2:before{content:""}.pe-7s-edit:before{content:""}.pe-7s-drop:before{content:""}.pe-7s-drawer:before{content:""}.pe-7s-download:before{content:""}.pe-7s-display2:before{content:""}.pe-7s-display1:before{content:""}.pe-7s-diskette:before{content:""}.pe-7s-date:before{content:""}.pe-7s-cup:before{content:""}.pe-7s-culture:before{content:""}.pe-7s-crop:before{content:""}.pe-7s-credit:before{content:""}.pe-7s-copy-file:before{content:""}.pe-7s-config:before{content:""}.pe-7s-compass:before{content:""}.pe-7s-comment:before{content:""}.pe-7s-coffee:before{content:""}.pe-7s-cloud:before{content:""}.pe-7s-clock:before{content:""}.pe-7s-check:before{content:""}.pe-7s-chat:before{content:""}.pe-7s-cart:before{content:""}.pe-7s-camera:before{content:""}.pe-7s-call:before{content:""}.pe-7s-calculator:before{content:""}.pe-7s-browser:before{content:""}.pe-7s-box2:before{content:""}.pe-7s-box1:before{content:""}.pe-7s-bookmarks:before{content:""}.pe-7s-bicycle:before{content:""}.pe-7s-bell:before{content:""}.pe-7s-battery:before{content:""}.pe-7s-ball:before{content:""}.pe-7s-back:before{content:""}.pe-7s-attention:before{content:""}.pe-7s-anchor:before{content:""}.pe-7s-albums:before{content:""}.pe-7s-alarm:before{content:""}.pe-7s-airplay:before{content:""} +/*# sourceMappingURL=capture.8fe90b06.css.map */ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.9e1e88bf.css b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.9e1e88bf.css new file mode 100644 index 0000000..8009306 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.9e1e88bf.css @@ -0,0 +1,2 @@ +html,body,h1,h2,h3,p,ul,ol,li{margin:0;padding:0}html{background:#ddd}body{min-height:100vh;color:#333;-webkit-font-smoothing:antialiased;background:radial-gradient(#fff 0%,#fff 30%,#ddd 100%);font-family:Helvetica,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;font-weight:400;line-height:22px}h2{letter-spacing:-.5px;margin-bottom:0;font-size:24px;font-weight:400;line-height:30px}h3{margin-bottom:20px;font-size:16px;font-weight:700;line-height:22px}*{box-sizing:border-box}.right{float:right}.left{float:left}.clr{overflow:hidden}.clearfix{zoom:1}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}body .hide{display:none}.em{font-style:italic}.strong{font-weight:700}a.underline,a.underline:hover,a.underline:focus,.underline{text-decoration:underline}a.dim{color:#777}a.dim:focus,a.dim:hover{color:#333}a.dim:active{color:#111}.dim{color:#999}.sr-only{width:1px;height:1px;clip:rect(0,0,0,0);border:0;margin:-1px;padding:0;position:absolute;overflow:hidden}a{color:#009bff;text-decoration:none}a>svg path{fill:#009bff}a:hover,a:focus{color:#0079ff;text-decoration:none}a:hover>svg path,a:focus>svg path{fill:#0079ff}a:active{color:#004e80}a:active>svg path{fill:#004e80}a.light{color:#53bbff}iframe.h{height:0;width:0;border:0;position:absolute;top:-999px;left:-999px}.icon{width:20px;height:27px;display:inline-block}.split-items{justify-content:space-between;align-items:center;display:flex}button{height:34px;cursor:pointer;background:#fff;border:1px solid #999;border-radius:4px;padding:6px 12px;font-size:14px;line-height:20px}button.nostyle{height:20px;color:inherit;background:0 0;border:0;padding:0;line-height:20px}.error button{color:#fff;background-color:#d9534f;border-color:#d43f3a}.error button:hover{background-color:#c9302c;border-color:#ac2925}.error a{color:#791412}.error a:hover{color:#590402}.error a:active{color:#000}.warning button{color:#fff;background-color:#f0ad4e;border-color:#eea236}.warning button:hover{background-color:#ec971f;border-color:#d58512}body,header{min-width:740px}header,#content{min-width:1050px}.big-card{box-sizing:border-box;min-height:80vh;background:#fff;margin:20px 60px 30px;display:block;box-shadow:0 2px 4px rgba(0,0,0,.15)}.container{margin-left:auto;margin-right:auto;padding-left:60px;padding-right:60px}.container.title-container{background:#fff;border-bottom:1px solid #eee;padding-top:30px;padding-bottom:20px;position:relative}.csspositionsticky .container.title-container{position:sticky;top:60px}.page-image body,.page-image #content{min-width:0}.page-image header{min-width:100%;position:fixed!important}@media (max-width:829.98px){.page-image header .header-text{display:none}}.page-image #wrap{padding-top:60px}header{width:100%;height:60px;color:#fff;z-index:10;background:#161616;padding:0 40px;line-height:60px;position:relative;top:0;left:0;box-shadow:0 2px 5px rgba(0,0,0,.1)}.csspositionsticky header{position:sticky}.csspositionsticky header:before{height:5px;width:100%;background:#161616;position:absolute;top:-5px;left:0}header .left{z-index:1}header .right{background:#161616;position:relative}html.page-image header .right:before{content:"";width:100vw;background:#161616;margin-left:-50vw;position:absolute;top:0;bottom:0;left:50%}header .logo-svg{width:20px;height:20px;margin-right:20px}header a{color:#fff}header h1{letter-spacing:-.5px;margin:0;font-size:24px;font-weight:300;line-height:60px;position:relative}header h1 .header--ext-back{box-sizing:content-box;width:40px;text-align:center;padding-right:40px;position:absolute;top:0;bottom:0;left:-40px}header h1 .header--ext-back img{vertical-align:middle;margin:0 0 3px 1px;transition:transform .25s ease-in-out}header h1 .header--ext-back:hover img{transform:translate(-2px)}header .btn{width:55px;height:60px;background:50% no-repeat;margin-left:1px;display:block;position:relative}header .btn:last-child{margin-right:0}header .btn .violator-dl{width:100%;text-align:center;position:absolute;bottom:0;left:0}header .btn .tooltip{color:#fff;white-space:nowrap;z-index:1;pointer-events:none;opacity:0;background:rgba(0,0,0,.75);border-radius:5px;padding:5px 15px;font-size:12px;line-height:20px;transition:opacity .1s ease-in;position:absolute;bottom:-36px;right:10px}header .btn .tooltip:after{content:"";border:6px solid transparent;border-top:0;border-bottom-color:rgba(0,0,0,.75);position:absolute;top:-6px;right:19px}header .btn:hover .tooltip,header .btn:focus .tooltip{opacity:1;transition:opacity .2s ease-in .15s}header .btn-report{background-image:url(icon-issue.9b4ffe88.svg)}header .btn-report:hover{background-image:url(icon-issue-hover.dbd4fd1d.svg),url(icon-issue.9b4ffe88.svg)}header .btn-trash{background-image:url(icon-delete.d7c815ae.svg)}header .btn-trash:hover{background-image:url(icon-delete-hover.77cb32ed.svg),url(icon-delete.d7c815ae.svg)}header .btn-downloadpdf{background-image:url(icon-download-pdf.df590c8e.svg)}header .btn-downloadpdf:hover{background-image:url(icon-download-pdf-hover.09f623c9.svg),url(icon-download-pdf.df590c8e.svg)}header .btn-download{background-image:url(icon-download.4871d5aa.svg)}header .btn-download:hover{background-image:url(icon-download-hover.7b5b27e0.svg),url(icon-download.4871d5aa.svg)}header .btn-history{background-image:url(icon-files.4c5993bb.svg)}header .btn-history:hover{background-image:url(icon-files-hover.d768926f.svg),url(icon-files.4c5993bb.svg)}header .btn-settings{background-image:url(icon-settings.d626a384.svg)}header .btn-settings:hover{background-image:url(icon-settings-hover.6611fd12.svg),url(icon-settings.d626a384.svg)}header .btn-editor{width:auto;text-align:center;margin-right:20px}header .btn-editor .txt{height:40px;vertical-align:middle;background:#000;border:1px solid #333;border-radius:5px;padding:0 15px;font-size:16px;font-weight:400;line-height:40px;display:inline-block}header .btn-editor:hover .txt{color:#ddd;border-color:#666}header #btn-editor-wrap{position:relative}header #btn-editor-wrap .hov-dropdown{width:220px;background:#fff;padding:0;font-size:16px;line-height:22px;display:none;position:absolute;right:0;box-shadow:0 0 2px rgba(0,0,0,.25)}header #btn-editor-wrap .hov-dropdown ul{margin:0;list-style:none}header #btn-editor-wrap .hov-dropdown li{display:block}header #btn-editor-wrap .hov-dropdown .hov-dropdown--title,header #btn-editor-wrap .hov-dropdown a{padding:.5em 20px;display:block}header #btn-editor-wrap .hov-dropdown .hov-dropdown--title{color:#666;color:#333;padding-bottom:.25em}header #btn-editor-wrap .hov-dropdown a{color:#333;font-weight:700}header #btn-editor-wrap .hov-dropdown a:hover{background:#9cf}header #btn-editor-wrap .hov-dropdown .hov-dropdown--shortcut{float:right;margin-left:10px;font-size:.9375em}header #btn-editor-wrap.hover .hov-dropdown{display:block}header .btn-nav{background-color:#444}header .global-btn,header .img-btn-editor,header .img-btn{display:none}header .global-btn:focus,header .global-btn:hover,header .global-btn:active,header .img-btn-editor:focus,header .img-btn-editor:hover,header .img-btn-editor:active,header .img-btn:focus,header .img-btn:hover,header .img-btn:active{color:#fff}header .global-btn.show,header .img-btn-editor.show,header .img-btn.show{display:block}#content,#wrap{position:relative}#image{float:left;min-width:100vw;justify-content:center;display:flex}#image:focus{outline:none}.can-zoom-out #image{padding:20px 10px}#image.loading{min-height:50vh;background:url(ajax-loader.76f7223e.gif) 50% no-repeat}#image img{max-width:100%;max-height:100%;margin:0 10px;display:block;box-shadow:0 0 10px rgba(0,0,0,.1)}.can-zoom-out #image.one-child{padding:0}#image.one-child img{margin:0}.can-zoom-in #image img{cursor:zoom-in;max-width:100%;max-height:100%}.can-zoom-out #image img{cursor:zoom-out;max-width:none;max-height:none}.can-zoom-out.spacebar-down #image img{cursor:grab;user-drag:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.ctrls{width:120px;text-align:center;color:#fff;opacity:0;z-index:1;background:rgba(51,51,51,.8);border-radius:3px;justify-content:space-between;margin-left:-60px;padding:8px 10px;transition:opacity .5s ease-in-out;display:none;position:fixed;bottom:15px;left:50%}#wrap:hover .ctrls{opacity:1;transition:opacity .5s ease-in-out 1s}.ctrls button{vertical-align:top;font-size:18px}.ctrls .zoom-amount{vertical-align:top;cursor:pointer}.ctrls .disabled{color:#999}.error-wrap{width:100%;padding:2em 15px 1em;display:none;position:absolute;top:60px;left:0}.error{max-width:630px;color:#a94442;background-color:#f2dede;border:3px solid #ebccd1;border-radius:4px;margin:0 auto;padding:1.5em;position:relative}.warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}a.close{font-size:22px;line-height:22px}.error a.close{position:absolute;top:5px;right:5px}.error button{margin-top:22px}.history-title-container{padding-left:0;padding-right:0;padding-bottom:0!important}.history-title-container>*{padding-left:60px;padding-right:60px}.history-title-container .h2-wrap{border-bottom:1px solid #eee;padding-bottom:20px}.history-title-container h2{margin-bottom:0}.history-title-container .controls{box-sizing:border-box;min-height:40px;margin:10px 0}.history-title-container .close{vertical-align:middle;margin-top:10px;font-size:30px;line-height:30px}.no-screenshots .big-card-header-scroll .controls{display:none}.dropdown-items li{border-bottom:1px solid #eee;list-style:none}.no-screenshots .dropdown-items{margin-top:50px}.history .checkbox-wrap{float:left;height:40px;width:30px;text-align:left;line-height:40px}.history .checkbox-wrap input{vertical-align:middle;margin-left:0}.history .checkbox-note{float:left;height:40px;color:#666;padding:0 10px;line-height:40px}.history .checkbox-button{float:right;box-sizing:border-box;height:40px;margin:0 0 0 15px;padding:0 15px;font-size:16px;line-height:38px}.history .checkbox-button .btn-icon{vertical-align:middle;margin-bottom:2px;margin-left:15px}.history .checkbox-button:hover .btn-icon path{fill:#161616}.history .checkbox-button:disabled{opacity:.5}.dropdown-item a{word-wrap:break-word;margin-left:30px;margin-right:-10px;padding:10px;display:block}.dropdown-item a .edited-note{color:#999;text-transform:lowercase;margin-left:8px;font-style:italic}.dropdown-item a:hover .edited-note{color:#666}.dropdown-item a .right{min-width:7em;color:#666;text-align:right;margin-left:15px}.dropdown-item a .date{min-width:9em;text-align:left}li.info{color:#999;padding:20px 0}#main-info{display:none} +/*# sourceMappingURL=capture.9e1e88bf.css.map */ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.html b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.html new file mode 100644 index 0000000..b3353d4 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture.html @@ -0,0 +1 @@ +Screen Capture Result

camera logoGoFullPage

The best and safest way to capture a screenshot of an entire web page.

Zoom
Are you enjoying this extension? 😊 Yes! 😕 Not really  

Hooray 🎉 This extension takes a lot of work to maintain. It’s really meaningful to hear that you find it useful!

Might you consider taking a minute to rate it in the Webstore?



Sorry 😟

Would you like to report any issues you’re experiencing, so we can improve this extension together?


Try editing and annotating your screenshot 😊 Ok! No thanks  

If you’d like to try this feature in the future, click on the “Edit” button up top. Got it!

\ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture/index.html b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture/index.html new file mode 100644 index 0000000..c899620 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture/index.html @@ -0,0 +1,10 @@ + + + + + Screen Capture Result + + + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture/redir.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture/redir.js new file mode 100644 index 0000000..81ada94 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/capture/redir.js @@ -0,0 +1 @@ +window.location = `../capture.html${window.location.search}${window.location.hash}`; diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.0a5332d6.css b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.0a5332d6.css new file mode 100644 index 0000000..a0e786c --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.0a5332d6.css @@ -0,0 +1,2 @@ +html,body,div,p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}html{min-height:100%}body{height:100%;color:#161616;-webkit-font-smoothing:antialiased;font-family:Helvetica,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;font-weight:400;line-height:22px}#root{width:100vw;position:relative}h1{margin-bottom:10px;font-size:24px;line-height:30px}h2{font-size:18px;line-height:24px}.pull-left{float:left}.pull-right{float:right}.br{margin-bottom:22px}.br-top{margin-top:22px}input[type=text],input[type=number]{height:18px;border:1px solid #c4c4c4;border-radius:2px;padding:0 2px;font-size:12px;line-height:16px}.dim{color:#999}.nowrap{white-space:nowrap}.emoji{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,none}.error{color:#900}.error a{color:maroon}.error a:hover{color:#600}.error a:active{color:#400}.strong{font-weight:700}iframe.h{height:0;width:0;border:0;position:absolute;top:-999px;left:-999px} +/*# sourceMappingURL=editor.0a5332d6.css.map */ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.286d9855.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.286d9855.js new file mode 100644 index 0000000..c195c65 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.286d9855.js @@ -0,0 +1,89 @@ +function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function r(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function n(e){return e&&e.__esModule?e.default:e}var o={},i={},a=t.parcelRequire60cc;null==a&&((a=function(e){if(e in o)return o[e].exports;if(e in i){var t=i[e];delete i[e];var r={id:e,exports:{}};return o[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){i[e]=t},t.parcelRequire60cc=a),a.register("6mjuN",(function(e,t){var r=a("69zQJ"),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||n}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var i=f(r);i&&i!==h&&e(t,i,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),g=l(r),m=0;mn),(e=>n=e)),e(t.exports,"ConcurrentMode",(()=>o),(e=>o=e)),e(t.exports,"ContextConsumer",(()=>i),(e=>i=e)),e(t.exports,"ContextProvider",(()=>a),(e=>a=e)),e(t.exports,"Element",(()=>s),(e=>s=e)),e(t.exports,"ForwardRef",(()=>l),(e=>l=e)),e(t.exports,"Fragment",(()=>u),(e=>u=e)),e(t.exports,"Lazy",(()=>c),(e=>c=e)),e(t.exports,"Memo",(()=>d),(e=>d=e)),e(t.exports,"Portal",(()=>p),(e=>p=e)),e(t.exports,"Profiler",(()=>f),(e=>f=e)),e(t.exports,"StrictMode",(()=>h),(e=>h=e)),e(t.exports,"Suspense",(()=>g),(e=>g=e)),e(t.exports,"isAsyncMode",(()=>m),(e=>m=e)),e(t.exports,"isConcurrentMode",(()=>v),(e=>v=e)),e(t.exports,"isContextConsumer",(()=>y),(e=>y=e)),e(t.exports,"isContextProvider",(()=>b),(e=>b=e)),e(t.exports,"isElement",(()=>x),(e=>x=e)),e(t.exports,"isForwardRef",(()=>w),(e=>w=e)),e(t.exports,"isFragment",(()=>E),(e=>E=e)),e(t.exports,"isLazy",(()=>O),(e=>O=e)),e(t.exports,"isMemo",(()=>_),(e=>_=e)),e(t.exports,"isPortal",(()=>S),(e=>S=e)),e(t.exports,"isProfiler",(()=>C),(e=>C=e)),e(t.exports,"isStrictMode",(()=>k),(e=>k=e)),e(t.exports,"isSuspense",(()=>T),(e=>T=e)),e(t.exports,"isValidElementType",(()=>R),(e=>R=e)),e(t.exports,"typeOf",(()=>j),(e=>j=e));var P="function"==typeof Symbol&&Symbol.for,M=P?Symbol.for("react.element"):60103,D=P?Symbol.for("react.portal"):60106,A=P?Symbol.for("react.fragment"):60107,L=P?Symbol.for("react.strict_mode"):60108,N=P?Symbol.for("react.profiler"):60114,I=P?Symbol.for("react.provider"):60109,H=P?Symbol.for("react.context"):60110,F=P?Symbol.for("react.async_mode"):60111,B=P?Symbol.for("react.concurrent_mode"):60111,U=P?Symbol.for("react.forward_ref"):60112,q=P?Symbol.for("react.suspense"):60113,W=P?Symbol.for("react.suspense_list"):60120,z=P?Symbol.for("react.memo"):60115,V=P?Symbol.for("react.lazy"):60116,$=P?Symbol.for("react.block"):60121,Y=P?Symbol.for("react.fundamental"):60117,G=P?Symbol.for("react.responder"):60118,K=P?Symbol.for("react.scope"):60119;function X(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case M:switch(e=e.type){case F:case B:case A:case N:case L:case q:return e;default:switch(e=e&&e.$$typeof){case H:case U:case V:case z:case I:return e;default:return t}}case D:return t}}}function Z(e){return X(e)===B}n=F,o=B,i=H,a=I,s=M,l=U,u=A,c=V,d=z,p=D,f=N,h=L,g=q,m=function(e){return Z(e)||X(e)===F},v=Z,y=function(e){return X(e)===H},b=function(e){return X(e)===I},x=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===M},w=function(e){return X(e)===U},E=function(e){return X(e)===A},O=function(e){return X(e)===V},_=function(e){return X(e)===z},S=function(e){return X(e)===D},C=function(e){return X(e)===N},k=function(e){return X(e)===L},T=function(e){return X(e)===q},R=function(e){return"string"==typeof e||"function"==typeof e||e===A||e===B||e===N||e===L||e===q||e===W||"object"==typeof e&&null!==e&&(e.$$typeof===V||e.$$typeof===z||e.$$typeof===I||e.$$typeof===H||e.$$typeof===U||e.$$typeof===Y||e.$$typeof===G||e.$$typeof===K||e.$$typeof===$)},j=X})),a.register("epbM0",(function(n,o){r(n.exports),e(n.exports,"default",(()=>l),(e=>l=e));var i,s=a("dfZ6e");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var l=(0,s.default)(i)})),a.register("dfZ6e",(function(t,r){function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}e(t.exports,"default",(()=>n))})),a.register("fcQwn",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dangerouslyUseGlobalCSS,r=void 0!==t&&t,o=e.productionPrefix,i=void 0===o?"jss":o,a=e.seed,s=void 0===a?"":a,l=0;return function(e,t){return l+=1,r&&t&&t.options.name?"".concat((o=t.options.name,String(o).replace(n,"-")),"-").concat(e.key):"".concat(i).concat(s).concat(l);var o}};r(a("Wv0QW"));var n=/([[\].#*$><+~=|^:(),"'`\s])/g})),a.register("7VsFE",(function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}})),a.register("Wv0QW",(function(e,t){var r=function(){};e.exports=r})),a.register("8CGcs",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;r(a("awqas"));var n=r(a("9BBKd")),o=r(a("jogIU")),i=r(a("cDJFU")),s=r(a("gzE5M")),l=(r(a("Wv0QW")),r(a("kTOYf"))),u=r(a("kj8Vh")),c=r(a("8MOZK")),d=r(a("3IcOk")),p=r(a("8XhRJ")),f=r(a("dKL4a")),h=r(a("gpn97")),g=r(a("lrBOw")),m=r(a("bJwCF"));var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,r=void 0===t?{}:t,a=e.mixins,v=void 0===a?{}:a,y=e.palette,b=void 0===y?{}:y,x=e.shadows,w=e.spacing,E=void 0===w?{}:w,O=e.typography,_=void 0===O?{}:O,S=(0,o.default)(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),C=(0,c.default)(b),k=(0,l.default)(r),T=(0,n.default)({},h.default,E);return(0,n.default)({breakpoints:k,direction:"ltr",mixins:(0,u.default)(k,T,v),overrides:{},palette:C,props:{},shadows:x||p.default,typography:(0,d.default)(C,_)},(0,i.default)({shape:f.default,spacing:T,transitions:g.default,zIndex:m.default},S,{isMergeableObject:s.default}))};e.exports.default=v})),a.register("awqas",(function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}})),a.register("9BBKd",(function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}})),a.register("a8wmH",(function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}})),a.register("cDJFU",(function(e,t){e.exports,e.exports=function(){var e=function(e){return t(e)&&!r(e)};function t(e){return!!e&&"object"==typeof e}function r(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||o(e)}var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e){return e.$$typeof===n}function i(e){return Array.isArray(e)?[]:{}}function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?p(i(e),e,t):e}function s(e,t,r){return e.concat(t).map((function(e){return a(e,r)}))}function l(e,t){if(!t.customMerge)return p;var r=t.customMerge(e);return"function"==typeof r?r:p}function u(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function c(e){return Object.keys(e).concat(u(e))}function d(e,t,r){var n={};return r.isMergeableObject(e)&&c(e).forEach((function(t){n[t]=a(e[t],r)})),c(t).forEach((function(o){r.isMergeableObject(t[o])&&e[o]?n[o]=l(o,r)(e[o],t[o],r):n[o]=a(t[o],r)})),n}function p(t,r,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||e;var o=Array.isArray(r);return o===Array.isArray(t)?o?n.arrayMerge(t,r,n):d(t,r,n):a(r,n)}return p.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return p(e,r,t)}),{})},p}()})),a.register("gzE5M",(function(e,t){var r=a("iE84D");function n(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,r;return!1!==n(e)&&("function"==typeof(t=e.constructor)&&(!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}})),a.register("iE84D",(function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}})),a.register("kTOYf",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){var t=e.values,r=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,a=e.unit,s=void 0===a?"px":a,l=e.step,u=void 0===l?5:l,c=(0,o.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof r[e]?r[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var n=i.indexOf(t)+1;return n===i.length?d(e):"@media (min-width:".concat(r[e]).concat(s,") and ")+"(max-width:".concat(r[i[n]]-u/100).concat(s,")")}return(0,n.default)({keys:i,values:r,up:d,down:function(e){var t=i.indexOf(e)+1,n=r[i[t]];return t===i.length?d("xs"):"@media (max-width:".concat(("number"==typeof n&&t>0?n:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return r[e]}},c)},e.exports.keys=void 0;var n=r(a("9BBKd")),o=r(a("jogIU")),i=["xs","sm","md","lg","xl"];e.exports.keys=i})),a.register("kj8Vh",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t,r){var i;return(0,o.default)({gutters:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.default)({paddingLeft:2*t.unit,paddingRight:2*t.unit},r,(0,n.default)({},e.up("sm"),(0,o.default)({paddingLeft:3*t.unit,paddingRight:3*t.unit},r[e.up("sm")])))},toolbar:(i={minHeight:56},(0,n.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,n.default)(i,e.up("sm"),{minHeight:64}),i)},r)};var n=r(a("awqas")),o=r(a("9BBKd"))})),a.register("8MOZK",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){var t=e.primary,r=void 0===t?{light:s.default[300],main:s.default[500],dark:s.default[700]}:t,a=e.secondary,m=void 0===a?{light:l.default.A200,main:l.default.A400,dark:l.default.A700}:a,v=e.error,y=void 0===v?{light:c.default[300],main:c.default[500],dark:c.default[700]}:v,b=e.type,x=void 0===b?"light":b,w=e.contrastThreshold,E=void 0===w?3:w,O=e.tonalOffset,_=void 0===O?.2:O,S=(0,o.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function C(e){return(0,p.getContrastRatio)(e,h.text.primary)>=E?h.text.primary:f.text.primary}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!e.main&&e[t]&&(e.main=e[t]),g(e,"light",r,_),g(e,"dark",n,_),e.contrastText||(e.contrastText=C(e.main)),e}k(r),k(m,"A400","A200","A700"),k(y);var T={dark:h,light:f};return(0,i.default)((0,n.default)({common:d.default,type:x,primary:r,secondary:m,error:y,grey:u.default,contrastThreshold:E,getContrastText:C,augmentColor:k,tonalOffset:_},T[x]),S,{clone:!1})},e.exports.dark=e.exports.light=void 0;var n=r(a("9BBKd")),o=r(a("jogIU")),i=(r(a("Wv0QW")),r(a("cDJFU"))),s=r(a("3M9sv")),l=r(a("cxkoT")),u=r(a("aGd9I")),c=r(a("9Auyu")),d=r(a("ZDjZi")),p=a("h7cYj"),f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.default.white,default:u.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};e.exports.light=f;var h={text:{primary:d.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:u.default[800],default:"#303030"},action:{active:d.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function g(e,t,r,n){e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,p.lighten)(e.main,n):"dark"===t&&(e.dark=(0,p.darken)(e.main,1.5*n)))}e.exports.dark=h})),a.register("3M9sv",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};e.exports.default=r})),a.register("cxkoT",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};e.exports.default=r})),a.register("aGd9I",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};e.exports.default=r})),a.register("9Auyu",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};e.exports.default=r})),a.register("ZDjZi",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={black:"#000",white:"#fff"};e.exports.default=r})),a.register("h7cYj",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.convertHexToRGB=o,e.exports.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=i(e).values;return t=t.map((function(e){return 1===(t=e.toString(16)).length?"0".concat(t):t;var t})),"#".concat(t.join(""))},e.exports.decomposeColor=i,e.exports.recomposeColor=s,e.exports.getContrastRatio=function(e,t){var r=l(e),n=l(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},e.exports.getLuminance=l,e.exports.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?u(e,t):c(e,t)},e.exports.fade=function(e,t){if(!e)return e;e=i(e),t=n(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,s(e)},e.exports.darken=u,e.exports.lighten=c;r(a("Wv0QW"));function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return er?r:e}function o(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb(".concat(r.map((function(e){return parseInt(e,16)})).join(", "),")"):""}function i(e){if("#"===e.charAt(0))return i(o(e));var t=e.indexOf("("),r=e.substring(0,t),n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function s(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")&&(r=r.map((function(e,t){return t<3?parseInt(e,10):e}))),-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e.type,"(").concat(r.join(", "),")")}function l(e){var t=i(e);if(-1!==t.type.indexOf("rgb")){var r=t.values.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}return t.values[2]/100}function u(e,t){if(!e)return e;if(e=i(e),t=n(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return s(e)}function c(e,t){if(!e)return e;if(e=i(e),t=n(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return s(e)}})),a.register("3IcOk",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t){var r="function"==typeof t?t(e):t,a=r.fontFamily,d=void 0===a?c:a,p=r.fontSize,f=void 0===p?14:p,h=r.fontWeightLight,g=void 0===h?300:h,m=r.fontWeightRegular,v=void 0===m?400:m,y=r.fontWeightMedium,b=void 0===y?500:y,x=r.htmlFontSize,w=void 0===x?16:x,E=r.useNextVariants,O=void 0===E?Boolean(s.default.__MUI_USE_NEXT_TYPOGRAPHY_VARIANTS__):E,_=(r.suppressWarning,r.allVariants),S=(0,o.default)(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","htmlFontSize","useNextVariants","suppressWarning","allVariants"]),C=f/14,k=function(e){return"".concat(e/w*C,"rem")},T=function(t,r,o,i,a){return(0,n.default)({color:e.text.primary,fontFamily:d,fontWeight:t,fontSize:k(r),lineHeight:o},d===c?{letterSpacing:"".concat(l(i/r),"em")}:{},a,_)},R={h1:T(g,96,1,-1.5),h2:T(g,60,1,-.5),h3:T(v,48,1.04,0),h4:T(v,34,1.17,.25),h5:T(v,24,1.33,0),h6:T(b,20,1.6,.15),subtitle1:T(v,16,1.75,.15),subtitle2:T(b,14,1.57,.1),body1Next:T(v,16,1.5,.15),body2Next:T(v,14,1.5,.15),buttonNext:T(b,14,1.75,.4,u),captionNext:T(v,12,1.66,.4),overline:T(v,12,2.66,1,u)},j={display4:(0,n.default)({fontSize:k(112),fontWeight:g,fontFamily:d,letterSpacing:"-.04em",lineHeight:"".concat(l(128/112),"em"),marginLeft:"-.04em",color:e.text.secondary},_),display3:(0,n.default)({fontSize:k(56),fontWeight:v,fontFamily:d,letterSpacing:"-.02em",lineHeight:"".concat(l(73/56),"em"),marginLeft:"-.02em",color:e.text.secondary},_),display2:(0,n.default)({fontSize:k(45),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(51/45),"em"),marginLeft:"-.02em",color:e.text.secondary},_),display1:(0,n.default)({fontSize:k(34),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(41/34),"em"),color:e.text.secondary},_),headline:(0,n.default)({fontSize:k(24),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(32.5/24),"em"),color:e.text.primary},_),title:(0,n.default)({fontSize:k(21),fontWeight:b,fontFamily:d,lineHeight:"".concat(l(24.5/21),"em"),color:e.text.primary},_),subheading:(0,n.default)({fontSize:k(16),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(1.5),"em"),color:e.text.primary},_),body2:(0,n.default)({fontSize:k(14),fontWeight:b,fontFamily:d,lineHeight:"".concat(l(24/14),"em"),color:e.text.primary},_),body1:(0,n.default)({fontSize:k(14),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(20.5/14),"em"),color:e.text.primary},_),caption:(0,n.default)({fontSize:k(12),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(1.375),"em"),color:e.text.secondary},_),button:(0,n.default)({fontSize:k(14),textTransform:"uppercase",fontWeight:b,fontFamily:d,color:e.text.primary},_)};return(0,i.default)((0,n.default)({pxToRem:k,round:l,fontFamily:d,fontSize:f,fontWeightLight:g,fontWeightRegular:v,fontWeightMedium:b},j,R,O?{body1:R.body1Next,body2:R.body2Next,button:R.buttonNext,caption:R.captionNext}:{},{useNextVariants:O}),S,{clone:!1})};var n=r(a("9BBKd")),o=r(a("jogIU")),i=r(a("cDJFU")),s=(r(a("Wv0QW")),a("18BzC"));function l(e){return Math.round(1e5*e)/1e5}var u={textTransform:"uppercase"},c='"Roboto", "Helvetica", "Arial", sans-serif'})),a.register("18BzC",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();e.exports.default=r})),a.register("8XhRJ",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r=.2,n=.14,o=.12;function i(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(r,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(n,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(o,")")].join(",")}var a=["none",i(0,1,3,0,0,1,1,0,0,2,1,-1),i(0,1,5,0,0,2,2,0,0,3,1,-2),i(0,1,8,0,0,3,4,0,0,3,3,-2),i(0,2,4,-1,0,4,5,0,0,1,10,0),i(0,3,5,-1,0,5,8,0,0,1,14,0),i(0,3,5,-1,0,6,10,0,0,1,18,0),i(0,4,5,-2,0,7,10,1,0,2,16,1),i(0,5,5,-3,0,8,10,1,0,3,14,2),i(0,5,6,-3,0,9,12,1,0,3,16,2),i(0,6,6,-3,0,10,14,1,0,4,18,3),i(0,6,7,-4,0,11,15,1,0,4,20,3),i(0,7,8,-4,0,12,17,2,0,5,22,4),i(0,7,8,-4,0,13,19,2,0,5,24,4),i(0,7,9,-4,0,14,21,2,0,5,26,4),i(0,8,9,-5,0,15,22,2,0,6,28,5),i(0,8,10,-5,0,16,24,2,0,6,30,5),i(0,8,11,-5,0,17,26,2,0,6,32,5),i(0,9,11,-5,0,18,28,2,0,7,34,6),i(0,9,12,-6,0,19,29,2,0,7,36,6),i(0,10,13,-6,0,20,31,3,0,8,38,7),i(0,10,13,-6,0,21,33,3,0,8,40,7),i(0,10,14,-6,0,22,35,3,0,8,42,7),i(0,11,14,-7,0,23,36,3,0,9,44,8),i(0,11,15,-7,0,24,38,3,0,9,46,8)];e.exports.default=a})),a.register("dKL4a",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={borderRadius:4};e.exports.default=r})),a.register("gpn97",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={unit:8};e.exports.default=r})),a.register("lrBOw",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=e.exports.isNumber=e.exports.isString=e.exports.formatMs=e.exports.duration=e.exports.easing=void 0;var n=r(a("jogIU")),o=(r(a("Wv0QW")),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});e.exports.easing=o;var i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};e.exports.duration=i;var s=function(e){return"".concat(Math.round(e),"ms")};e.exports.formatMs=s;e.exports.isString=function(e){return"string"==typeof e};e.exports.isNumber=function(e){return!isNaN(parseFloat(e))};var l={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.duration,a=void 0===r?i.standard:r,l=t.easing,u=void 0===l?o.easeInOut:l,c=t.delay,d=void 0===c?0:c;(0,n.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof a?a:s(a)," ").concat(u," ").concat("string"==typeof d?d:s(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};e.exports.default=l})),a.register("bJwCF",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};e.exports.default=r})),a.register("5FNXJ",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("eGsNF")),o=r(a("4NPHY")),i=r(a("eCwFC")),s=r(a("4vHk6")),l=r(a("1kiiB")),u=r(a("keQov"));var c=function(){return{plugins:[(0,n.default)(),(0,o.default)(),(0,i.default)(),(0,s.default)(),"undefined"==typeof window?null:(0,l.default)(),(0,u.default)()]}};e.exports.default=c})),a.register("eGsNF",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var o=0;o=this.index)t.push(e);else for(var n=0;nr)return void t.splice(n,0,e)}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.filter((function(e){return e.attached})).map((function(t){return t.toString(e)})).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}();e.exports.default=n})),a.register("jcAC1",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=function(){function e(e,t){for(var r=0;r0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,i.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function(){return this.keys.length}}]),e}();e.exports.default=s})),a.register("4Oe4R",(function(e,t){e.exports=function(){}})),a.register("9P1nx",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],i=arguments[2],a=i.jss,s=(0,o.default)(t),l=a.plugins.onCreateRule(e,s,i);if(l)return l;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new n.default(e,s,i)};var r=i(a("4Oe4R")),n=i(a("5I7lj")),o=i(a("3Rjvv"));function i(e){return e&&e.__esModule?e:{default:e}}})),a.register("5I7lj",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},n="";if(!t)return n;var a=r.indent,s=void 0===a?0:a,l=t.fallbacks;if(s++,l)if(Array.isArray(l))for(var u=0;u1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var i="c",a="";return o&&(i=o.options.classNamePrefix||"c",null!=o.options.jss.id&&(a+=o.options.jss.id)),""+i+n.default+a+e}}})),a.register("lbCEf",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?v.default:m.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index;"number"!=typeof r&&(r=0===p.default.index?0:p.default.index+1);var o=new s.default(e,n({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(o),o}},{key:"removeStyleSheet",value:function(e){return e.detach(),p.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var o=n;o.jss=this,o.Renderer=this.options.Renderer,o.generateClassName||(o.generateClassName=this.generateClassName),o.classes||(o.classes={});var i=(0,g.default)(e,t,o);return!o.selector&&i instanceof f.default&&(i.selector="."+o.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;ni)),e(t.exports,"default",(()=>a));var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i="object"===("undefined"==typeof window?"undefined":o(window))&&"object"===("undefined"==typeof document?"undefined":o(document))&&9===document.nodeType,a=i})),a.register("4e79x",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();e.exports.default=l})),a.register("hTa0v",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),e}();e.exports.default=l})),a.register("lUVWx",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===h)return e.selectorText;if(e.type===g){var t=e.name;if(t)return"@keyframes "+t;var r=e.cssText;return"@"+f(r,r.indexOf("keyframes"))}return f(e.cssText)});function v(e,t){return e.selectorText=t,e.selectorText===t}var y,b,x=u((function(){return document.head||document.getElementsByTagName("head")[0]})),w=(y=void 0,b=!1,function(e){var t={};y||(y=document.createElement("style"));for(var r=0;r0){var r=function(e,t){for(var r=0;rt.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r)return r.renderer.element;if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r)return r.renderer.element.nextElementSibling}var i=e.insertionPoint;if(i&&"string"==typeof i){var a=function(e){for(var t=x(),r=0;rl));var o=/[A-Z]/g,i=/^ms-/,a={};function s(e){return"-"+e.toLowerCase()}var l=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(o,s);return a[e]=i.test(t)?"-"+t:t}})),a.register("4vHk6",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=l(n,e[n],t);return e},onChangeValue:function(e,r){return l(r,e,t)}}};var n,o=a("2nvNv");function i(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var s=i(((n=o)&&n.__esModule?n:{default:n}).default);function l(e,t,n){if(!t)return t;var o=t,i=void 0===t?"undefined":r(t);switch("object"===i&&Array.isArray(t)&&(i="array"),i){case"object":if("fallbacks"===e){for(var a in t)t[a]=l(a,t[a],n);break}for(var u in t)t[u]=l(e+"-"+u,t[u],n);break;case"array":for(var c=0;co));var o=function(e){var t={},r=1,n=e;return{getState:function(){return n},setState:function(e){n=e;for(var r=Object.keys(t),o=0,i=r.length;o1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var a,g=t.withTheme,m=void 0!==g&&g,y=t.flip,w=void 0===y?null:y,O=t.name,M=(0,d.default)(t,["withTheme","flip","name"]),D=(0,_.default)(e),A=D.themingEnabled||"string"==typeof O||m;T+=1,D.options.index=T;var L=function(e){function t(e,r){var n;(0,i.default)(this,t),(n=(0,l.default)(this,(0,u.default)(t).call(this,e,r))).jss=r[v.default.jss]||C,n.sheetsManager=R,n.unsubscribeId=null;var a=r.muiThemeProviderOptions;return a&&(a.sheetsManager&&(n.sheetsManager=a.sheetsManager),n.sheetsCache=a.sheetsCache,n.disableStylesGeneration=a.disableStylesGeneration),n.stylesCreatorSaved=D,n.sheetOptions=(0,o.default)({generateClassName:k},r[v.default.sheetOptions]),n.theme=A?E.default.initial(r)||P:j,n.attach(n.theme),n.cacheClasses={value:null,lastProp:null,lastJSS:{}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){var e=this;A&&(this.unsubscribeId=E.default.subscribe(this.context,(function(t){var r=e.theme;e.theme=t,e.attach(e.theme),e.setState({},(function(){e.detach(r)}))})))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&E.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){if(this.disableStylesGeneration)return this.props.classes||{};var e=!1,t=x.default.get(this.sheetsManager,this.stylesCreatorSaved,this.theme);return t.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=t.sheet.classes,e=!0),this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,b.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:r})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,r=x.default.get(this.sheetsManager,t,e);if(r||(r={refs:0,sheet:null},x.default.set(this.sheetsManager,t,e,r)),0===r.refs){var n;this.sheetsCache&&(n=x.default.get(this.sheetsCache,t,e)),n||((n=this.createSheet(e)).attach(),this.sheetsCache&&x.default.set(this.sheetsCache,t,e,n)),r.sheet=n;var o=this.context[v.default.sheetsRegistry];o&&o.add(n)}r.refs+=1}}},{key:"createSheet",value:function(e){var t=this.stylesCreatorSaved.create(e,O),n=O;return this.jss.createStyleSheet(t,(0,o.default)({meta:n,classNamePrefix:n,flip:"boolean"==typeof w?w:"rtl"===e.direction,link:!1},this.sheetOptions,this.stylesCreatorSaved.options,{name:O||r.displayName},M))}},{key:"detach",value:function(e){if(!this.disableStylesGeneration){var t=x.default.get(this.sheetsManager,this.stylesCreatorSaved,e);if(t.refs-=1,0===t.refs){x.default.delete(this.sheetsManager,this.stylesCreatorSaved,e),this.jss.removeStyleSheet(t.sheet);var r=this.context[v.default.sheetsRegistry];r&&r.remove(t.sheet)}}}},{key:"render",value:function(){var e=this.props,t=(e.classes,e.innerRef),n=(0,d.default)(e,["classes","innerRef"]),i=(0,S.default)({theme:this.theme,name:O,props:n});return m&&!i.theme&&(i.theme=this.theme),p.default.createElement(r,(0,o.default)({},i,{classes:this.getClasses(),ref:t}))}}]),t}(p.default.Component);return L.contextTypes=(0,o.default)((a={muiThemeProviderOptions:f.default.object},(0,n.default)(a,v.default.jss,f.default.object),(0,n.default)(a,v.default.sheetOptions,f.default.object),(0,n.default)(a,v.default.sheetsRegistry,f.default.object),a),A?E.default.contextTypes:{}),(0,h.default)(L,r),L}});e.exports.default=function(e,t){return g.default.__MUI_STYLES__.withStyles(e,(0,o.default)({defaultTheme:P},t))}})),a.register("lAWLP",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={jss:"64a55d578f856d258dc345b094a2a2b3",sheetsRegistry:"d4bd0baacbc52bbd48bbb9eb24344ecd",sheetOptions:"6fc570d6bd61383819d0f9e7407c452d"};e.exports.default=r})),a.register("cqu86",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("9BBKd"));r(a("Wv0QW"));var o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,r=e.newClasses;if(e.Component,!r)return t;var o=(0,n.default)({},t);return Object.keys(r).forEach((function(e){r[e]&&(o[e]="".concat(t[e]," ").concat(r[e]))})),o};e.exports.default=o})),a.register("2DJwD",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={set:function(e,t,r,n){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},get:function(e,t,r){var n=e.get(t);return n?n.get(r):void 0},delete:function(e,t,r){e.get(t).delete(r)}};e.exports.default=r})),a.register("48Tbr",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("9BBKd")),o=(r(a("ihfCn")),r(a("Wv0QW")),r(a("cDJFU")));function i(e,t){return t}var s=function(e){var t="function"==typeof e;return{create:function(r,a){var s=t?e(r):e;if(!a||!r.overrides||!r.overrides[a])return s;var l=r.overrides[a],u=(0,n.default)({},s);return Object.keys(l).forEach((function(e){u[e]=(0,o.default)(u[e],l[e],{arrayMerge:i})})),u},options:{},themingEnabled:t}};e.exports.default=s})),a.register("1xNHj",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r=function(e){var t=e.theme,r=e.name,n=e.props;if(!t.props||!r||!t.props[r])return n;var o,i=t.props[r];for(o in i)void 0===n[o]&&(n[o]=i[o]);return n};e.exports.default=r})),a.register("8KjO9",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n,o=r(a("9BBKd")),i=r(a("jogIU")),s=r(a("bKROj")),l=r(a("bk6Wm")),u=r(a("iPmoE")),c=r(a("3sovv")),d=r(a("bhNOH")),p=r(a("2q4iO")),f=(r(a("cAnjR")),r(a("6mjuN"))),h=a("18BzC"),g=r(a("8CGcs")),m=r(a("5viy0"));h.default.__MUI_STYLES__||(h.default.__MUI_STYLES__={}),h.default.__MUI_STYLES__.withTheme||(h.default.__MUI_STYLES__.withTheme=function(){return function(e){var t=function(t){function r(e,t){var o;return(0,s.default)(this,r),(o=(0,u.default)(this,(0,c.default)(r).call(this))).state={theme:m.default.initial(t)||n||(n=(0,g.default)({typography:{suppressWarning:!0}}))},o}return(0,d.default)(r,t),(0,l.default)(r,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,(function(t){e.setState({theme:t})}))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){var t=this.props,r=t.innerRef,n=(0,i.default)(t,["innerRef"]);return p.default.createElement(e,(0,o.default)({theme:this.state.theme,ref:r},n))}}]),r}(p.default.Component);return t.contextTypes=m.default.contextTypes,(0,f.default)(t,e),t}});var v=h.default.__MUI_STYLES__.withTheme;e.exports.default=v})),a.register("cW7yT",(function(e,t){ +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n-1?e[r]:void 0},e.exports.createChainedFunction=function(){for(var e=arguments.length,t=new Array(e),r=0;ro),(e=>o=e)),e(t.exports,"default",(()=>i),(e=>i=e)),e(t.exports,"EXITING",(()=>s),(e=>s=e)),e(t.exports,"ENTERED",(()=>l),(e=>l=e)),e(t.exports,"ENTERING",(()=>u),(e=>u=e)),e(t.exports,"EXITED",(()=>c),(e=>c=e)),e(t.exports,"UNMOUNTED",(()=>d),(e=>d=e)),o=!0,i=s=l=u=c=d=void 0;var p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(a("cAnjR")),f=m(a("2q4iO")),h=m(a("aHNfr")),g=a("1bfI6");function m(e){return e&&e.__esModule?e:{default:e}}var v="unmounted";d=v;var y="exited";c=y;var b="entering";u=b;var x="entered";l=x;var w="exiting";s=w;var E=function(e){var t,r;function n(t,r){var n;n=e.call(this,t,r)||this;var o,i=r.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?a?(o=y,n.appearStatus=b):o=x:o=t.unmountOnExit||t.mountOnEnter?v:y,n.state={status:o},n.nextCallback=null,n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===v?{status:y}:null},o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==b&&r!==x&&(t=b):r!==b&&r!==x||(t=w)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var r=h.default.findDOMNode(this);t===b?this.performEnter(r,e):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===y&&this.setState({status:v})},o.performEnter=function(e,t){var r=this,n=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;t||n?(this.props.onEnter(e,o),this.safeSetState({status:b},(function(){r.props.onEntering(e,o),r.onTransitionEnd(e,a,(function(){r.safeSetState({status:x},(function(){r.props.onEntered(e,o)}))}))}))):this.safeSetState({status:x},(function(){r.props.onEntered(e)}))},o.performExit=function(e){var t=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(e),this.safeSetState({status:w},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:y},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:y},(function(){t.props.onExited(e)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},o.onTransitionEnd=function(e,t,r){this.setNextCallback(r);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===v)return null;var t=this.props,r=t.children,n=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof r)return r(e,n);var o=f.default.Children.only(r);return f.default.cloneElement(o,n)},n}(f.default.Component);function O(){}E.contextTypes={transitionGroup:p.object},E.childContextTypes={transitionGroup:function(){}},E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:O,onEntering:O,onEntered:O,onExit:O,onExiting:O,onExited:O},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4;var _=(0,g.polyfill)(E);i=_})),a.register("1bfI6",(function(t,r){function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function i(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var r=null,a=null,s=null;if("function"==typeof t.componentWillMount?r="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var l=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;c.call(this,e,t,n)}}return e}e(t.exports,"polyfill",(()=>a)),n.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0})),a.register("iXHyS",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getTransitionProps=function(e,t){var r=e.timeout,n=e.style,o=void 0===n?{}:n;return{duration:o.transitionDuration||"number"==typeof r?r:r[t.mode],delay:o.transitionDelay}},e.exports.reflow=void 0;e.exports.reflow=function(e){return e.scrollTop}})),a.register("PL1dg",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),Object.defineProperty(e.exports,"default",{enumerable:!0,get:function(){return n.default}});var n=r(a("bwrSy"))})),a.register("bwrSy",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("jogIU")),o=r(a("9BBKd")),i=r(a("bKROj")),s=r(a("bk6Wm")),l=r(a("iPmoE")),u=r(a("3sovv")),c=r(a("bhNOH")),d=r(a("a64UQ")),p=r(a("2q4iO")),f=r(a("aHNfr")),h=(r(a("cAnjR")),r(a("5l5Mz"))),g=r(a("jMTl8"));function m(e){if("rtl"!==("undefined"!=typeof window&&document.body.getAttribute("dir")||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}var v=function(e){function t(e){var r;return(0,i.default)(this,t),(r=(0,l.default)(this,(0,u.default)(t).call(this))).handleOpen=function(){var e=r.props,t=e.anchorEl,n=e.modifiers,i=e.open,a=e.placement,s=e.popperOptions,l=void 0===s?{}:s,u=e.disablePortal,c=f.default.findDOMNode((0,d.default)((0,d.default)(r)));c&&t&&i&&(r.popper&&(r.popper.destroy(),r.popper=null),r.popper=new h.default(function(e){return"function"==typeof e?e():e}(t),c,(0,o.default)({placement:m(a)},l,{modifiers:(0,o.default)({},u?{}:{preventOverflow:{boundariesElement:"window"}},n,l.modifiers),onCreate:r.handlePopperUpdate,onUpdate:r.handlePopperUpdate})))},r.handlePopperUpdate=function(e){e.placement!==r.state.placement&&r.setState({placement:e.placement})},r.handleExited=function(){r.setState({exited:!0}),r.handleClose()},r.handleClose=function(){r.popper&&(r.popper.destroy(),r.popper=null)},r.state={exited:!e.open},r}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidUpdate",value:function(e){e.open===this.props.open||this.props.open||this.props.transition||this.handleClose(),e.open===this.props.open&&e.anchorEl===this.props.anchorEl&&e.popperOptions===this.props.popperOptions&&e.modifiers===this.props.modifiers&&e.disablePortal===this.props.disablePortal&&e.placement===this.props.placement||this.handleOpen()}},{key:"componentWillUnmount",value:function(){this.handleClose()}},{key:"render",value:function(){var e=this.props,t=(e.anchorEl,e.children),r=e.container,i=e.disablePortal,a=e.keepMounted,s=(e.modifiers,e.open),l=e.placement,u=(e.popperOptions,e.transition),c=(0,n.default)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","transition"]),d=this.state,f=d.exited,h=d.placement;if(!a&&!s&&(!u||f))return null;var v={placement:h||m(l)};return u&&(v.TransitionProps={in:s,onExited:this.handleExited}),p.default.createElement(g.default,{onRendered:this.handleOpen,disablePortal:i,container:r},p.default.createElement("div",(0,o.default)({role:"tooltip",style:{position:"absolute"}},c),"function"==typeof t?t(v):t))}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:e.transition?null:{exited:!0}}}]),t}(p.default.Component);v.defaultProps={disablePortal:!1,placement:"bottom",transition:!1};var y=v;e.exports.default=y})),a.register("5l5Mz",(function(n,o){r(n.exports),e(n.exports,"default",(()=>ie)); +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();var s=i&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),a))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?e:d(c(e))}function p(e){return e&&e.referenceNode?e.referenceNode:e}var f=i&&!(!window.MSInputMethodContext||!document.documentMode),h=i&&/MSIE 10/.test(navigator.userAgent);function g(e){return 11===e?f:10===e?h:f||h}function m(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===u(r,"position")?m(r):r:e?e.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,o=r?t:e,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||n.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&m(a.firstElementChild)!==a?m(l):l;var u=v(e);return u.host?y(u.host,t):y(e,v(t).host)}function b(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var n=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||n)[t]}return e[t]}function x(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function w(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],g(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function E(e){var t=e.body,r=e.documentElement,n=g(10)&&getComputedStyle(r);return{height:w("Height",t,r,n),width:w("Width",t,r,n)}}var O=function(){function e(e,t){for(var r=0;r2&&void 0!==arguments[2]&&arguments[2],n=g(10),o="HTML"===t.nodeName,i=k(e),a=k(t),s=d(e),l=u(t),c=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);r&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=C({top:i.top-a.top-c,left:i.left-a.left-p,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!n&&o){var h=parseFloat(l.marginTop),m=parseFloat(l.marginLeft);f.top-=c-h,f.bottom-=c-h,f.left-=p-m,f.right-=p-m,f.marginTop=h,f.marginLeft=m}return(n&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(t,"top"),o=b(t,"left"),i=r?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=o*i,e.right+=o*i,e}(f,t)),f}function R(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var r=c(e);return!!r&&R(r)}function j(e){if(!e||!e.parentElement||g())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?j(e):y(e,p(t));if("viewport"===n)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=T(e,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:b(r),s=t?0:b(r,"left");return C({top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===n?"BODY"===(s=d(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===n?e.ownerDocument.documentElement:n;var l=T(s,a,o);if("HTML"!==s.nodeName||R(a))i=l;else{var u=E(e.ownerDocument),f=u.height,h=u.width;i.top+=l.top-l.marginTop,i.bottom=f+l.top,i.left+=l.left-l.marginLeft,i.right=h+l.left}}var g="number"==typeof(r=r||0);return i.left+=g?r:r.left||0,i.top+=g?r:r.top||0,i.right-=g?r:r.right||0,i.bottom-=g?r:r.bottom||0,i}function M(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(r,n,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return S({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function D(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return T(r,n?j(t):y(t,p(r)),n)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,r){r=r.split("-")[0];var n=A(e),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-n[l]/2,o[s]=r===s?t[s]-n[u]:t[L(s)],o}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function H(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=I(e,(function(e){return e[t]===r}));return e.indexOf(n)}(e,"name",r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&l(r)&&(t.offsets.popper=C(t.offsets.popper),t.offsets.reference=C(t.offsets.reference),t=r(t,e))})),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=H(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n1&&void 0!==arguments[1]&&arguments[1],r=Q.indexOf(e),n=Q.slice(r+1).concat(Q.slice(0,r));return t?n.reverse():n}var te={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function re(e,t,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(I(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map((function(e,n){var o=(1===n?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,n){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return C("%p"===a?r:n)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,r)}))})),u.forEach((function(e,t){e.forEach((function(r,n){G(r)&&(o[t]+=r*("-"===e[n-1]?-1:1))}))})),o}var ne={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(r),l=s?"left":"top",u=s?"width":"height",c={start:_({},l,i[l]),end:_({},l,i[l]+i[u]-a[u])};e.offsets.popper=S({},a,c[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r=t.offset,n=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=n.split("-")[0],l=void 0;return l=G(+r)?[+r,0]:re(r,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||m(e.instance.popper);e.instance.reference===r&&(r=m(r));var n=U("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var l=P(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);o.top=i,o.left=a,o[n]=s,t.boundaries=l;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var r=c[e];return c[e]l[e]&&!t.escapeWithReference&&(n=Math.min(c[r],l[e]-("right"===e?c.width:c.height))),_({},r,n)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=S({},c,d[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return r[s]i(n[s])&&(e.offsets.popper[l]=i(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",g=A(n)[c];s[h]-ga[h]&&(e.offsets.popper[p]+=s[p]+g-a[h]),e.offsets.popper=C(e.offsets.popper);var m=s[p]+s[c]/2-g/2,v=u(e.instance.popper),y=parseFloat(v["margin"+d]),b=parseFloat(v["border"+d+"Width"]),x=m-e.offsets.popper[p]-y-b;return x=Math.max(Math.min(a[c]-g,x),0),e.arrowElement=n,e.offsets.arrow=(_(r={},p,Math.round(x)),_(r,f,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],o=L(n),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te.FLIP:a=[n,o];break;case te.CLOCKWISE:a=ee(n);break;case te.COUNTERCLOCKWISE:a=ee(n,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(n!==s||a.length===l+1)return e;n=e.placement.split("-")[0],o=L(n);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,p="left"===n&&d(u.right)>d(c.left)||"right"===n&&d(u.left)d(c.top)||"bottom"===n&&d(u.top)d(r.right),g=d(u.top)d(r.bottom),v="left"===n&&f||"right"===n&&h||"top"===n&&g||"bottom"===n&&m,y=-1!==["top","bottom"].indexOf(n),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&g||!y&&"end"===i&&m),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&m||!y&&"end"===i&&g),w=b||x;(p||v||w)&&(e.flipped=!0,(p||v)&&(n=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=n+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=H(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,o=n.popper,i=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return o[a?"left":"top"]=i[r]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=C(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=I(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomr.right||t.top>r.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=s(this.update.bind(this)),this.options=S({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){n.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&l(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return O(e,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return q.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),e}();oe.Utils=("undefined"!=typeof window?window:t).PopperUtils,oe.placements=J,oe.Defaults=ne;var ie=oe})),a.register("jMTl8",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),Object.defineProperty(e.exports,"default",{enumerable:!0,get:function(){return n.default}});var n=r(a("jgvaL"))})),a.register("jgvaL",(function(e,t){var r=a("7VsFE");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("bKROj")),o=r(a("bk6Wm")),i=r(a("iPmoE")),s=r(a("3sovv")),l=r(a("bhNOH")),u=r(a("2q4iO")),c=r(a("aHNfr")),d=(r(a("cAnjR")),r(a("8QA9N")));var p=function(e){function t(){var e,r;(0,n.default)(this,t);for(var o=arguments.length,a=new Array(o),l=0;lu),(e=>u=e));var n=a("6lozI"),o=r&&!r.nodeType&&r,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o?n.default.Buffer:void 0,l=s?s.allocUnsafe:void 0;var u=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}})),a.register("6lozI",(function(t,r){e(t.exports,"default",(()=>i));var n=a("2ev4E"),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.default||o||Function("return this")()})),a.register("2ev4E",(function(r,n){e(r.exports,"default",(()=>o));var o="object"==typeof t&&t&&t.Object===Object&&t})),a.register("2AlpI",(function(t,r){e(t.exports,"default",(()=>u),(e=>u=e));var n=a("6lozI"),o=a("765hF"),i=r&&!r.nodeType&&r,s=i&&t&&!t.nodeType&&t,l=s&&s.exports===i?n.default.Buffer:void 0,u=(l?l.isBuffer:void 0)||o.default})),a.register("765hF",(function(t,r){e(t.exports,"default",(()=>n));var n=function(){return!1}})),a.register("fiSp1",(function(t,r){e(t.exports,"default",(()=>l),(e=>l=e));var n=a("2ev4E"),o=r&&!r.nodeType&&r,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.default.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}()})),a("5IuNT").register(JSON.parse('{"fiHs9":"editor.286d9855.js","3zT9l":"icon-camera-fm.39046717.svg","fvKcl":"hand2.ea55fedf.png","jtveH":"hand2@2x.88cf7bd5.png","2jUli":"left_ptr.f58b5136.png","iGc9m":"left_ptr@2x.2d33be1e.png","kahrf":"wave-emoji-20-27.8619a450.png","1eTHL":"wave-emoji-20-27@2x.41ccecf4.png","eKlAJ":"emoji-smiling-face-16-20.de75cec0.png","fOITv":"emoji-smiling-face-16-20@2x.5ff79d8e.png","6iPKz":"capture.88f199e8.css","kf5Lb":"editor.ddbd6582.css","ayiND":"editor.0a5332d6.css","bU0kU":"welcome.2ba20910.js","legAh":"popup.9f6de43a.js","ap8M2":"editor.f54b262d.js","aWhca":"capture.839f08c2.css","62t2Y":"welcome.24ee56ad.js","bLyJF":"welcome.578fbace.js"}'));var s=a("2q4iO"),l=a("aHNfr"),u=a("cEw93");s=a("2q4iO");function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}s=a("2q4iO");var d=a("cAnjR"),p=n(s=a("2q4iO")).createContext(null),f=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}c(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||p;return n(s).createElement(e.Provider,{value:this.state},this.props.children)},t}(s.Component);f.propTypes={store:n(d).shape({subscribe:n(d).func.isRequired,dispatch:n(d).func.isRequired,getState:n(d).func.isRequired}),context:n(d).object,children:n(d).any};var h=f;function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){return m=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}var y=a("6mjuN"),b={};b=function(e,t,r,n,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}};s=a("2q4iO");var x=a("69zQJ");function w(e,t){void 0===t&&(t={});var r=t,o=r.getDisplayName,i=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,a=r.methodName,l=void 0===a?"connectAdvanced":a,u=r.renderCountProp,d=void 0===u?void 0:u,f=r.shouldHandleStateChanges,h=void 0===f||f,w=r.storeKey,E=void 0===w?"store":w,O=r.withRef,_=void 0!==O&&O,S=r.forwardRef,C=void 0!==S&&S,k=r.context,T=void 0===k?p:k,R=v(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);n(b)(void 0===d,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),n(b)(!_,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var j="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: . You may also pass a {context : MyContext} option to connect";n(b)("store"===E,"storeKey has been removed and does not do anything. "+j);var P=T;return function(t){var r=t.displayName||t.name||"Component",o=i(r),a=m({},R,{getDisplayName:i,methodName:l,renderCountProp:d,shouldHandleStateChanges:h,storeKey:E,displayName:o,wrappedComponentName:r,WrappedComponent:t}),u=R.pure,p=s.Component;u&&(p=s.PureComponent);var f=function(r){function i(t){var o,i,a,l,c,d,p,f,h,v,y;return o=r.call(this,t)||this,n(b)(C?!t.wrapperProps[E]:!t[E],"Passing redux store in props has been removed and does not do anything. "+j),o.selectDerivedProps=function(t,r,n,o){if(u&&i===r&&a===t)return l;n===c&&d===o||(c=n,d=o,p=e(n.dispatch,o)),i=r,a=t;var s=p(t,r);return l=s},o.selectChildElement=function(e,t,r){return t===f&&r===h&&y===e||(f=t,h=r,y=e,v=n(s).createElement(e,m({},t,{ref:r}))),v},o.indirectRenderWrappedComponent=o.indirectRenderWrappedComponent.bind(g(o)),o}c(i,r);var l=i.prototype;return l.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},l.renderWrappedComponent=function(e){n(b)(e,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+o+" in connect options.");var r,i=e.storeState,s=e.store,l=this.props;C&&(l=this.props.wrapperProps,r=this.props.forwardedRef);var u=this.selectDerivedProps(i,l,s,a);return this.selectChildElement(t,u,r)},l.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,x.isContextConsumer)(n(s).createElement(this.props.context.Consumer,null))?this.props.context:P;return n(s).createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},i}(p);if(f.WrappedComponent=t,f.displayName=o,C){var v=n(s).forwardRef((function(e,t){return n(s).createElement(f,{wrapperProps:e,forwardedRef:t})}));return v.displayName=o,v.WrappedComponent=t,n(y)(v,t)}return n(y)(f,t)}}var E=Object.prototype.hasOwnProperty;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function _(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o=0;n--){var o=t[n](e);if(o)return o}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function K(e,t){return e===t}var X,Z,J,Q,ee,te,re,ne,oe,ie,ae,se,le=(J=(Z=void 0===X?{}:X).connectHOC,Q=void 0===J?w:J,ee=Z.mapStateToPropsFactories,te=void 0===ee?q:ee,re=Z.mapDispatchToPropsFactories,ne=void 0===re?U:re,oe=Z.mergePropsFactories,ie=void 0===oe?z:oe,ae=Z.selectorFactory,se=void 0===ae?Y:ae,function(e,t,r,n){void 0===n&&(n={});var o=n,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,l=void 0===s?K:s,u=o.areOwnPropsEqual,c=void 0===u?_:u,d=o.areStatePropsEqual,p=void 0===d?_:d,f=o.areMergedPropsEqual,h=void 0===f?_:f,g=v(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=G(e,te,"mapStateToProps"),b=G(t,ne,"mapDispatchToProps"),x=G(r,ie,"mergeProps");return Q(se,m({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:b,initMergeProps:x,pure:a,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:p,areMergedPropsEqual:h},g))}),ue=a("lSPyV"),ce=a("aQWOf"),de=a("jzpMZ"),pe=a("2xkva"),fe=a("epmSf");const he=(...e)=>{e.splice(1,0,"color:#C70;background:#FED"),e[0]=`%c${e[0]}`,pe.default.apply(pe.default,e)};he("NODE_ENV","production",true),window._abr=()=>fe.default.setObj({ab:{},login_data:{},has_logged_in:!1});const ge=async(e=!1)=>!0;class me{canRequestTest(){const e=ce.DateTime.now().diff(this.waitUntil,"milliseconds").milliseconds;return he(`[canRequestTest] ${!this.hasUser} && ${!this.token} (${this.token}) && ${e} (${this.waitUntil.toLocaleString(ce.DateTime.DATETIME_FULL)})`),!this.hasUser&&!this.token&&(e>=-1e3||"e9ce"!==this.curTest)}async save(){return fe.default.set("ab",{...this._ab})}_validate(e){return e&&"object"==typeof e&&Object.entries(me._types).every((([t,r])=>null===e[t]||void 0===e[t]?me._nullables.has(t):typeof e[t]===r))}constructor(e,t){this._ab=e,this.hasUser=!(!t||!t.userId),this.isValid=!1,this.reqToken=null==e?void 0:e.reqToken,this.curTest=null==e?void 0:e.curTest,this.token=null,this.waitUntil=ce.DateTime.now(),this.data={},this._validate(e)&&(this.isValid=!0,this.token=e.token||null,this.waitUntil=e.waitUntil&&e.waitUntil>0?ce.DateTime.fromSeconds(e.waitUntil):ce.DateTime.now().plus({years:100}),this.data=e.data||{}),this.showPremium=this.hasUser||this.data.showPremium}}(0,ue.default)(me,"makeNeverState",((e,t,r)=>{const o=new me({reqToken:e,token:null,curTest:r,waitUntil:-1,data:null,ext:t});return n(de)(o.isValid,"Generated ABState is invalid!"),o})),(0,ue.default)(me,"makeDelayState",((e,t)=>{const r=new me({reqToken:e,token:null,curTest:t,waitUntil:Math.floor(ce.DateTime.now().plus({days:7}).toSeconds()),data:null});return n(de)(r.isValid,"Generated ABState is invalid!"),r})),(0,ue.default)(me,"lookup",(async()=>{const e=await fe.default.load();return new me(e.ab,e.login_data)})),(0,ue.default)(me,"_types",{reqToken:"string",token:"string",waitUntil:"number",data:"object"}),(0,ue.default)(me,"_nullables",new Set(["token","data"]));var ve,ye=a("alm1K"),be=a("03QYZ");pe=a("2xkva");function xe(e,t,r){var n,o,i,a,s;function l(){var u=Date.now()-a;u=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var u=function(){i=this,o=arguments,a=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(i,o),i=o=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(i,o),i=o=null,clearTimeout(n),n=null)},u}xe.debounce=xe,ve=xe;ce=a("aQWOf");var we=a("8ABn4");pe=a("2xkva");var Ee=new(0,a("dk7YQ").default)("defaults",{shapeDefaults:{type:"json",default:()=>({})}}),Oe=a("8aJKE"),_e=a("83PZf"),Se=(be=a("03QYZ"),a("3ESIc")),Ce=a("jmw9X"),ke=(fe=a("epmSf"),_e=a("83PZf"),a("ecsdh")),Te=a("l6VXY");const Re={},je="capture/WELCOME_CLOSE",Pe="capture/LOGIN_DATA_UPDATE",Me="capture/TOUR_DEMO_HIDE",De="capture/TOUR_DEMO_SHOW";const Ae=(e,t=!1)=>{const r=e.subState!==_e.SUB_BAD;return{type:Pe,payload:{isSubOk:r,subState:e.subState,subUserId:e.userId,showWelcome:t&&"#welcome"===window.location.hash,hasPreviouslyLoggedIn:e.store.has_logged_in||!1,showTourDemo:e.store.show_editor_tour||!1,lastDlType:e.store.last_dl_type,planAmount:e.store.ab&&e.store.ab.data&&e.store.ab.data.amount||Ce.DEFAULT_PLAN_AMOUNT}}},Le=e=>{if(e!==Ce.DL_TYPE_IMAGE&&e!==Ce.DL_TYPE_PDF)throw new Error(`Invalid lastDlType: "${e}"`);return fe.default.set("last_dl_type",e),{type:"capture/LAST_DL_TYPE_UPDATE",payload:{lastDlType:e}}};var Ne=a("yZcwP");ke=a("ecsdh"),Te=a("l6VXY");function Ie(e){if(Array.isArray(e))return e}function He(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(ot)}}]),e}();function ot(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function it(e,t){return Object.keys(e).reduce((function(r,n){return-1===t.indexOf(n)&&(r[n]=e[n]),r}),{})}var at={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},st=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function lt(e,t){Object.keys(t).forEach((function(r){e.style[r]=t[r]}))}function ut(e,t){e.style["".concat(st,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function ct(e,t){e.style["".concat(st,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function dt(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function pt(e,t,r){return Math.max(e,Math.min(r,t))}function ft(e){return"px"===e.substr(-2)?parseFloat(e):0}function ht(e,t){var r=t.displayName||t.name;return r?"".concat(e,"(").concat(r,")"):e}function gt(e,t){var r=e.getBoundingClientRect();return{top:r.top+t.top,left:r.left+t.left}}function mt(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function vt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var n={left:r.left+e.offsetLeft,top:r.top+e.offsetTop};return e.parentNode===t?n:vt(e.parentNode,t,n)}}function yt(e){var t=e.lockOffset,r=e.width,o=e.height,i=t,a=t,s="px";if("string"==typeof t){var l=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);n(b)(null!==l,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),a=parseFloat(t),s=l[1]}return n(b)(isFinite(i)&&isFinite(a),"lockOffset value should be a finite. Given %s",t),"%"===s&&(i=i*r/100,a=a*o/100),{x:i,y:a}}function bt(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),r=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return r.test(t[e])}))}(e)?e:bt(e.parentNode):null}var xt=27,wt=32,Et=37,Ot=38,_t=39,St=40,Ct={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function kt(e){return null!=e.sortableHandle}var Tt=function(){function e(t,r){Ve(this,e),this.container=t,this.onScrollCallback=r}return Ye(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,r=e.translate,n=e.minTranslate,o=e.maxTranslate,i=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},u=10,c=10,d=this.container,p=d.scrollTop,f=d.scrollLeft,h=d.scrollHeight,g=d.scrollWidth,m=0===p,v=h-p-d.clientHeight==0,y=0===f,b=g-f-d.clientWidth==0;r.y>=o.y-a/2&&!v?(s.y=1,l.y=c*Math.abs((o.y-a/2-r.y)/a)):r.x>=o.x-i/2&&!b?(s.x=1,l.x=u*Math.abs((o.x-i/2-r.x)/i)):r.y<=n.y+a/2&&!m?(s.y=-1,l.y=c*Math.abs((r.y-a/2-n.y)/a)):r.x<=n.x+i/2&&!y&&(s.x=-1,l.x=u*Math.abs((r.x-i/2-n.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}();var Rt={axis:n(d).oneOf(["x","y","xy"]),contentWindow:n(d).any,disableAutoscroll:n(d).bool,distance:n(d).number,getContainer:n(d).func,getHelperDimensions:n(d).func,helperClass:n(d).string,helperContainer:n(d).oneOfType([n(d).func,"undefined"==typeof HTMLElement?n(d).any:n(d).instanceOf(HTMLElement)]),hideSortableGhost:n(d).bool,keyboardSortingTransitionDuration:n(d).number,lockAxis:n(d).string,lockOffset:n(d).oneOfType([n(d).number,n(d).string,n(d).arrayOf(n(d).oneOfType([n(d).number,n(d).string]))]),lockToContainerEdges:n(d).bool,onSortEnd:n(d).func,onSortMove:n(d).func,onSortOver:n(d).func,onSortStart:n(d).func,pressDelay:n(d).number,pressThreshold:n(d).number,keyCodes:n(d).shape({lift:n(d).arrayOf(n(d).number),drop:n(d).arrayOf(n(d).number),cancel:n(d).arrayOf(n(d).number),up:n(d).arrayOf(n(d).number),down:n(d).arrayOf(n(d).number)}),shouldCancelStart:n(d).func,transitionDuration:n(d).number,updateBeforeSortStart:n(d).func,useDragHandle:n(d).bool,useWindowAsScrollContainer:n(d).bool},jt={lift:[wt],drop:[wt],cancel:[xt],up:[Ot,Et],down:[St,_t]},Pt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:jt,shouldCancelStart:function(e){return-1!==[Ct.Input,Ct.Textarea,Ct.Select,Ct.Option,Ct.Button].indexOf(e.target.tagName)||!!dt(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},Mt=Object.keys(Rt);var Dt={index:n(d).number.isRequired,collection:n(d).oneOfType([n(d).number,n(d).string]),disabled:n(d).bool},At=Object.keys(Dt);const Lt=[],Nt="layers/BATCH_LAYER_ADD",It="layers/LAYER_ADD",Ht="layers/LAYERS_REMOVE",Ft="layers/LAYER_MOVE";const Bt=(e,t)=>({type:Nt,payload:e,groupAsUpdate:Boolean(t)}),Ut=(e,t,r,n,o,i,a,s)=>({type:It,payload:{id:e,shapeKey:t,x1:r,y1:n,x2:o,y2:i,groups:a,bottom:s||!1}}),qt=(e,t)=>({type:Ft,payload:{oldIndex:e,newIndex:t}}),Wt="select",zt="crop",Vt=[Wt,zt],$t="@@redux-undo/",Yt={selectedLayerIds:[],hoveringLayerId:null,mode:Wt,showLoginDropdown:!1,showDemoModal:!1,showHeaderUpdatedModal:!1,showHeaderUpdatedThrob:!1},Gt=Object.assign({zoom:75},Yt),Kt="editor/LAYERS_SELECT",Xt="editor/LAYERS_DESELECT",Zt="editor/LAYER_HOVER",Jt="editor/LAYER_UNHOVER",Qt="editor/ZOOM_CHANGE",er="editor/SHAPE_KEY_CHANGE",tr="editor/CROP_ENABLE",rr="editor/CROP_DISABLE",nr="editor/BORDER_EDIT",or="editor/TEMPLATE_EDIT",ir="editor/HELP_ENABLE",ar="editor/UPDATE_THEME_ENABLE",sr="editor/LOGIN_DROPDOWN_SHOW",lr="editor/LOGIN_DROPDOWN_HIDE",ur="editor/SHOW_DEMO_MODAL_UPDATE",cr="editor/NOTIFY_TEXT_SET",dr="editor/CLICK_DIALOG_OPEN",pr="editor/CLICK_DIALOG_CLOSE",fr="editor/UPDATED_HEADER_MODAL_CLOSE",hr="editor/UPDATED_HEADER_THROB_HIDE";const gr=e=>({type:Kt,payload:{selectedLayerIds:e.slice()}}),mr=e=>({type:Zt,payload:{hoveringLayerId:e}}),vr=e=>({type:Jt,payload:{hoveringLayerId:null}}),yr=e=>({type:Qt,payload:{zoom:e}}),br=(e,t)=>({type:nr,payload:{mode:Wt,selectedLayerIds:[ke.BORDER_ID],hoveringLayerId:null},isToggle:e,defaultGroups:t}),xr=e=>({type:or,payload:{mode:Wt,selectedLayerIds:[ke.TEMPLATE_ID],hoveringLayerId:null},defaultGroups:e}),wr=(e=!0)=>({type:ir,payload:{showHelp:e}}),Er=(e=!0)=>({type:ar,payload:{showUpdateTheme:e}}),Or=(e=!0)=>({type:ur,payload:{showDemoModal:e}}),_r=(e,t)=>(n(Ne).ok("number"==typeof e,"enableCrop width is not a number"),n(Ne).ok("number"==typeof t,"enableCrop height is not a number"),{type:tr,payload:{mode:zt,selectedLayerIds:[],hoveringLayerId:null},base:{width:e,height:t}}),Sr=()=>((0,Te.default)(window,ke.EVT_REFOCUS),{type:rr,payload:{mode:Wt,selectedLayerIds:[],hoveringLayerId:null}}),Cr=e=>({type:cr,payload:{notifyText:e}}),kr=(e,t)=>({type:dr,payload:{clickDialog:{pageX:e,pageY:t}}}),Tr=async(e,t=0)=>{const r=await _e.default.loginStateProm(!0),n={capture:Ae(r,!0).payload};let o;if((0,pe.default)(`%c> loginState? ${JSON.stringify(r)}`,"color:magenta;background:#FFEEF3"),e=Ar(e),t=Ar(t),null!==e&&null!==t&&((0,pe.default)("LOOKUP",e),o=await we.Capture.lookup(e),(0,pe.default)("CAPTURE",o)),null===e||null===t||!o||t>=o.images.length){const e=new Error("There appears to be no screenshot for this URL. Please return to the view screenshot page and click back into the editor from a valid screenshot.");throw e.name="CaptureNotFoundError",e.title="Capture not found",e}const i=o.edits;if(!i||!i.length||!i[t]){const e={id:t,imageId:t};(0,pe.default)("CREATE NEW EDIT",t,e),o=await o.addEdit(t,t),(0,pe.default)("SUCCESS",o)}o.scaleMultiplier||await o.updateScaleMultiplier();const a=o.edits[t];(0,pe.default)("EDIT",a),Object.assign(n.capture,{id:o.id,editId:t,imageId:a.imageId,format:o.format,src:o.fullPaths[a.imageId],url:o.url,title:o.title||"",extUrl:o.displayURL,links:o.metadata&&o.metadata.links||[],time:o.dateTime,pixelDensity:o.scaleMultiplier,updated:ce.DateTime.fromJSDate(a.updated),created:ce.DateTime.fromJSDate(a.created)});const s=(await Ee.load()).shapeDefaults;if(n.globalShapeDefaults=s,n.shapeDefaults=s,a.undos&&(n.undos=a.undos,n.undos.present&&n.undos.present.layersById)){const e=n.undos.present.layersById.__border__;e&&!e.padding&&delete n.undos.present.layersById.__border__}const l=await Oe.default.load();n.editor=n.editor||{...Gt};const u=(0,be.getQueryString)(),c="forceUpdatedHeaderModal";if(null!=u[c]){delete u[c];const e=(0,be.toQueryString)(u);await Oe.default.setObj({didUpdatedHeaderModal:!1,didUpdatedHeaderThrob:!1,firstKnownVersion:"7.6"}),window.location.href=`${window.location.pathname}${e?"?":""}${e}${window.location.hash}`}return l.firstKnownVersion&&(0,Se.compareVersions)(l.firstKnownVersion,Oe.UPDATED_HEADER_MIN_VERSION)<0&&(n.editor.showHeaderUpdatedModal=!l.didUpdatedHeaderModal,n.editor.showHeaderUpdatedThrob=!l.didUpdatedHeaderThrob),n};let Rr=Promise.resolve(),jr=null,Pr=null;const Mr=(0,ve.debounce)((e=>{const t=e.capture;if(t&&void 0!==t.id&&void 0!==t.editId){const{id:r,editId:n}=t;Rr=Rr.then((()=>Promise.all([function(){const t=e.undos;if(t!==jr)return we.Capture.updateEditState(r,n,t).then((()=>jr=t))}(),function(){const t=e.globalShapeDefaults;if(t!==Pr)return Ee.set("shapeDefaults",t).then((()=>Pr=t))}()]))).catch((e=>{pe.default.error("!!! UNABLE TO SAVE STATE !!!"),pe.default.error(e)}))}}),750),Dr=({getState:e})=>t=>r=>{const n=t(r);return Mr(e()),n};window._resetUser=()=>(0,_e.resetUser)();const Ar=e=>{switch(typeof e){case"string":return/^\d+$/.test(e)?parseInt(e):null;case"number":return isFinite(e)?Math.round(e):null;default:return null}};var Lr={};!function(e){function r(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function n(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function o(e,t,r){o.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:r,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,r){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:r,enumerable:!0})}function l(e,t,r){var n=e.slice((r||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,n),e}function u(e){var t=void 0===e?"undefined":j(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function c(e,t,r,n,d,p,f){f=f||[];var h=(d=d||[]).slice(0);if(void 0!==p){if(n){if("function"==typeof n&&n(h,p))return;if("object"===(void 0===n?"undefined":j(n))){if(n.prefilter&&n.prefilter(h,p))return;if(n.normalize){var g=n.normalize(h,p,e,t);g&&(e=g[0],t=g[1])}}}h.push(p)}"regexp"===u(e)&&"regexp"===u(t)&&(e=e.toString(),t=t.toString());var m=void 0===e?"undefined":j(e),v=void 0===t?"undefined":j(t),y="undefined"!==m||f&&f[f.length-1].lhs&&f[f.length-1].lhs.hasOwnProperty(p),b="undefined"!==v||f&&f[f.length-1].rhs&&f[f.length-1].rhs.hasOwnProperty(p);if(!y&&b)r(new i(h,t));else if(!b&&y)r(new a(h,e));else if(u(e)!==u(t))r(new o(h,e,t));else if("date"===u(e)&&e-t!=0)r(new o(h,e,t));else if("object"===m&&null!==e&&null!==t)if(f.filter((function(t){return t.lhs===e})).length)e!==t&&r(new o(h,e,t));else{if(f.push({lhs:e,rhs:t}),Array.isArray(e)){var x;for(e.length,x=0;x=t.length?r(new s(h,x,new a(void 0,e[x]))):c(e[x],t[x],r,n,h,x,f);for(;x=0?(c(e[o],t[o],r,n,h,o,f),E=l(E,a)):c(e[o],void 0,r,n,h,o,f)})),E.forEach((function(e){c(void 0,t[e],r,n,h,e,f)}))}f.length=f.length-1}else e!==t&&("number"===m&&isNaN(e)&&isNaN(t)||r(new o(h,e,t)))}function d(e,t,r,n){return n=n||[],c(e,t,(function(e){e&&n.push(e)}),r),n.length?n:void 0}function p(e,t,r){if(r.path&&r.path.length){var n,o=e[t],i=r.path.length-1;for(n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},A,e),r=t.logger,n=t.stateTransformer,o=t.errorTransformer,i=t.predicate,a=t.logErrors,s=t.diffPredicate;if(void 0===r)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var l=[];return function(e){var r=e.getState;return function(e){return function(u){if("function"==typeof i&&!i(r,u))return e(u);var c={};l.push(c),c.started=R.now(),c.startedTime=new Date,c.prevState=n(r()),c.action=u;var d=void 0;if(a)try{d=e(u)}catch(e){c.error=o(e)}else d=e(u);c.took=R.now()-c.started,c.nextState=n(r());var p=t.diff&&"function"==typeof s?s(r,u):t.diff;if(E(l,Object.assign({},t,{diff:p})),l.length=0,c.error)throw c.error;return d}}}}var _,S,C=function(e,t){return new Array(t+1).join(e)},k=function(e,t){return C("0",t-e.toString().length)+e},T=function(e){return k(e.getHours(),2)+":"+k(e.getMinutes(),2)+":"+k(e.getSeconds(),2)+"."+k(e.getMilliseconds(),3)},R="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,r=e.getState;return"function"==typeof t||"function"==typeof r?O()({dispatch:t,getState:r}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};e.defaults=A,e.createLogger=O,e.logger=L,e.default=L,Object.defineProperty(e,"__esModule",{value:!0})}(Lr);var Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Ir(e){return null!==e&&"object"===(void 0===e?"undefined":Nr(e))&&(e&&"function"==typeof e.then)}var Hr=a("kIky1"),Fr=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Br=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{}).dispatch;return"function"==typeof e?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[Ur.Pending,Ur.Fulfilled,Ur.Rejected],r=e.promiseTypeSuffixes||t,n=e.promiseTypeDelimiter||"_";return function(e){var t=e.dispatch;return function(e){return function(o){var i=void 0,a=void 0;if(!o.payload)return e(o);var s=o.payload;if(Ir(s))i=s;else if(Ir(s.promise))i=s.promise,a=s.data;else{if("function"!=typeof s&&"function"!=typeof s.promise)return e(o);if(i=s.promise?s.promise():s(),a=s.promise?s.data:void 0,!Ir(i))return e(Br({},o,{payload:i}))}var l=o.type,u=o.meta,c=Fr(r,3),d=c[0],p=c[1],f=c[2],h=function(e,t){return Br({type:[l,t?f:p].join(n)},null==e?{}:{payload:e},void 0!==u?{meta:u}:{},t?{error:!0}:{})};return e(Br({type:[l,d].join(n)},void 0!==a?{payload:a}:{},void 0!==u?{meta:u}:{})),i.then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=h(e,!1);return t(r),{value:e,action:r}}),(function(e){var r=h(e,!0);throw t(r),e}))}}}}()({dispatch:e}):(Hr&&Hr.env,null)}var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});var zr={};Object.defineProperty(zr,"__esModule",{value:!0});var Vr=zr.ActionTypes={UNDO:"@@redux-undo/UNDO",REDO:"@@redux-undo/REDO",JUMP_TO_FUTURE:"@@redux-undo/JUMP_TO_FUTURE",JUMP_TO_PAST:"@@redux-undo/JUMP_TO_PAST",JUMP:"@@redux-undo/JUMP",CLEAR_HISTORY:"@@redux-undo/CLEAR_HISTORY"};zr.ActionCreators={undo:function(){return{type:Vr.UNDO}},redo:function(){return{type:Vr.REDO}},jumpToFuture:function(e){return{type:Vr.JUMP_TO_FUTURE,index:e}},jumpToPast:function(e){return{type:Vr.JUMP_TO_PAST,index:e}},jump:function(e){return{type:Vr.JUMP,index:e}},clearHistory:function(){return{type:Vr.CLEAR_HISTORY}}};Object.defineProperty(Wr,"ActionTypes",{enumerable:!0,get:function(){return zr.ActionTypes}}),Object.defineProperty(Wr,"ActionCreators",{enumerable:!0,get:function(){return zr.ActionCreators}});var $r={};function Yr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Array.isArray(e)?e:"string"==typeof e?[e]:t}Object.defineProperty($r,"__esModule",{value:!0}),$r.parseActions=Yr,$r.isHistory=function(e){return void 0!==e.present&&void 0!==e.future&&void 0!==e.past&&Array.isArray(e.future)&&Array.isArray(e.past)},$r.distinctState=function(){return console.warn("distinctState is deprecated in beta4 and newer. The distinctState behavior is now default, which means only actions resulting in a new state are recorded. See https://github.com/omnidan/redux-undo#filtering-actions for more details."),function(){return!0}},$r.includeAction=function(e){var t=Yr(e);return function(e){return t.indexOf(e.type)>=0}},$r.excludeAction=function(e){var t=Yr(e);return function(e){return t.indexOf(e.type)<0}},$r.combineFilters=function(){for(var e=arguments.length,t=Array(e),r=0;r=0?e.type:null}},$r.newHistory=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{past:e,present:t,future:r,group:n,_latestUnfiltered:t,index:e.length,limit:e.length+r.length+1}},Object.defineProperty(Wr,"parseActions",{enumerable:!0,get:function(){return $r.parseActions}}),Object.defineProperty(Wr,"isHistory",{enumerable:!0,get:function(){return $r.isHistory}}),Object.defineProperty(Wr,"distinctState",{enumerable:!0,get:function(){return $r.distinctState}}),Object.defineProperty(Wr,"includeAction",{enumerable:!0,get:function(){return $r.includeAction}}),Object.defineProperty(Wr,"excludeAction",{enumerable:!0,get:function(){return $r.excludeAction}}),Object.defineProperty(Wr,"combineFilters",{enumerable:!0,get:function(){return $r.combineFilters}}),Object.defineProperty(Wr,"groupByActionTypes",{enumerable:!0,get:function(){return $r.groupByActionTypes}}),Object.defineProperty(Wr,"newHistory",{enumerable:!0,get:function(){return $r.newHistory}});var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});var Kr=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};rn.set(t.debug);var r={initTypes:(0,$r.parseActions)(t.initTypes,["@@redux-undo/INIT"]),limit:t.limit,filter:t.filter||function(){return!0},groupBy:t.groupBy||function(){return null},undoType:t.undoType||zr.ActionTypes.UNDO,redoType:t.redoType||zr.ActionTypes.REDO,jumpToPastType:t.jumpToPastType||zr.ActionTypes.JUMP_TO_PAST,jumpToFutureType:t.jumpToFutureType||zr.ActionTypes.JUMP_TO_FUTURE,jumpType:t.jumpType||zr.ActionTypes.JUMP,clearHistoryType:Array.isArray(t.clearHistoryType)?t.clearHistoryType:[t.clearHistoryType||zr.ActionTypes.CLEAR_HISTORY],neverSkipReducer:t.neverSkipReducer||!1,ignoreInitialState:t.ignoreInitialState||!1,syncFilter:t.syncFilter||!1},n=r.history;return function(){for(var t=arguments.length,o=Array(t>2?t-2:0),i=2;i0&&void 0!==arguments[0]?arguments[0]:n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};rn.start(s,a);var l=a;if(!n)if(rn.log("history is uninitialized"),void 0===a){var u={type:zr.ActionTypes.CLEAR_HISTORY};l=on(e.apply(void 0,[a,u].concat(o)),r.ignoreInitialState),rn.log("do not set initialState on probe actions")}else(0,$r.isHistory)(a)?(l=n=r.ignoreInitialState?a:(0,$r.newHistory)(a.past,a.present,a.future),rn.log("initialHistory initialized: initialState is a history",n)):(l=n=on(a,r.ignoreInitialState),rn.log("initialHistory initialized: initialState is not a history",n));var c,d=function(t){return r.neverSkipReducer?Kr({},t,{present:e.apply(void 0,[t.present,s].concat(o))}):t},p=void 0;switch(s.type){case void 0:return l;case r.undoType:return p=un(l,-1),rn.log("perform undo"),rn.end(p),d(p);case r.redoType:return p=un(l,1),rn.log("perform redo"),rn.end(p),d(p);case r.jumpToPastType:return p=ln(l,s.index),rn.log("perform jumpToPast to "+s.index),rn.end(p),d(p);case r.jumpToFutureType:return p=sn(l,s.index),rn.log("perform jumpToFuture to "+s.index),rn.end(p),d(p);case r.jumpType:return p=un(l,s.index),rn.log("perform jump to "+s.index),rn.end(p),d(p);case c=s.type,r.clearHistoryType.indexOf(c)>-1?c:!c:return p=on(l.present),rn.log("perform clearHistory"),rn.end(p),d(p);default:if(p=e.apply(void 0,[l.present,s].concat(o)),r.initTypes.some((function(e){return e===s.type})))return rn.log("reset history due to init action"),rn.end(n),n;if(l._latestUnfiltered===p)return l;var f="function"==typeof r.filter&&!r.filter(s,p,l),h=r.groupBy(s,p,l);if(f){var g=(0,$r.newHistory)(l.past,p,l.future,l.group);return r.syncFilter||(g._latestUnfiltered=l._latestUnfiltered),rn.log("filter ignored action, not storing it in past"),rn.end(g),g}if(null!=h&&h===l.group){var m=(0,$r.newHistory)(l.past,p,l.future,l.group);return rn.log("groupBy grouped the action with the previous action"),rn.end(m),m}return l=function(e,t,r,n){rn.log("inserting",t),rn.log("new free: ",r-an(e));var o=e.past,i=e._latestUnfiltered,a=r&&an(e)>=r,s=o.slice(a?1:0),l=null!=i?[].concat(nn(s),[i]):s;return(0,$r.newHistory)(l,t,[],n)}(l,p,r.limit,h),rn.log("inserted new state into history"),rn.end(l),l}}};var Xr={};function Zr(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t=e.future.length)return e;var r=e.past,n=e.future,o=e._latestUnfiltered,i=[].concat(nn(r),[o],nn(n.slice(0,t))),a=n[t],s=n.slice(t+1);return(0,$r.newHistory)(i,a,s)}function ln(e,t){if(t<0||t>=e.past.length)return e;var r=e.past,n=e.future,o=e._latestUnfiltered,i=r.slice(0,t),a=[].concat(nn(r.slice(t+1)),[o],nn(n)),s=r[t];return(0,$r.newHistory)(i,s,a)}function un(e,t){return t>0?sn(e,t-1):t<0?ln(e,e.past.length+t):e}Gr=Gr.default,Object.defineProperty(Wr,"default",{enumerable:!0,get:function(){return(e=Gr,e&&e.__esModule?e:{default:e}).default;var e}});pe=a("2xkva");var cn=a("hvGrI");const dn={},pn="base/LOAD_FULFILLED",fn="base/LOAD_REJECTED";const hn=(e,t,r,n)=>({type:"base/LOAD",payload:(0,cn.loadImage)(e).then((({img:e,src:o,width:i,height:a})=>({img:e,src:o,width:i/=t,height:a/=t,pixelDensity:t,url:r,title:n})))}),gn={error:null,prevError:null},mn="error/ERROR_SET",vn="error/ERROR_CLEAR";const yn=e=>({type:mn,payload:e});var bn=a("iMjBX"),xn=(ke=a("ecsdh"),a("aZB6T"));s=a("2q4iO"),s=a("2q4iO"),s=a("2q4iO"),s=a("2q4iO"),s=a("2q4iO"),s=a("2q4iO"),ue=a("lSPyV"),s=a("2q4iO");const wn=n(d=a("cAnjR")).string;var En={color:wn,shapeKey:n(d).string.isRequired,box:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),line:n(d).shape({x1:n(d).number.isRequired,y1:n(d).number.isRequired,x2:n(d).number.isRequired,y2:n(d).number.isRequired}),text:n(d).shape({text:n(d).string,autoHeight:n(d).bool}),font:n(d).shape({size:n(d).number.isRequired,fontFamily:n(d).string.isRequired,bold:n(d).boolean,italic:n(d).boolean}),fill:n(d).shape({fill:wn}),stroke:n(d).shape({width:n(d).number,color:wn}),corners:n(d).shape({radius:n(d).number}),icon:n(d).shape({src1x:n(d).string.isRequired,src2x:n(d).string.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),editor:n(d).shape({zoom:n(d).number,selectedLayerIds:n(d).arrayOf(n(d).string.isRequired).isRequired,hoveringLayerId:n(d).string})};const On=e=>{let{x1:t,y1:r,x2:n,y2:o}=e,i=Math.abs(n-t),a=Math.abs(o-r);return{x:Math.min(n,t),y:Math.min(o,r),width:i,height:a}};ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO");class _n extends s.Component{componentDidMount(){this.props.onFinishedComponentMount()}}(0,ue.default)(_n,"propTypes",{onFinishedComponentMount:n(d).func.isRequired});class Sn extends s.PureComponent{componentDidMount(){this.props.onFinishedComponentMount()}}(0,ue.default)(Sn,"propTypes",{onFinishedComponentMount:n(d).func.isRequired});const Cn=["x1","y1","x2","y2"];class kn extends _n{render(){let{line:e,stroke:t}=this.props,r=t.width||0,o=t.color||"none",i=Math.ceil(2*r)+20,a=-i,l=-i,u=On(e),{width:c,height:d}=u,p=u.x+a,f=u.y+l,[h,g,m,v]=Cn.map(((t,r)=>e[t]-(r%2==0?p:f))),y={position:"absolute",left:`${a}px`,top:`${l}px`,width:`${c+2*i}px`,height:`${d+2*i}px`},b=2.8*r,x=Math.atan((v-g)/(m-h)),w=m-(m>w,s[O+1]=M*x>>w,s[O+2]=D*x>>w,P-=T,M-=R,D-=j,T-=y.r,R-=y.g,j-=y.b,m=E+((m=F+i+1)>w,s[m+1]=G*x>>w,s[m+2]=K*x>>w,Y-=z,G-=V,K-=$,z-=y.r,V-=y.g,$-=y.b,m=B+((m=re+d)0&&e.height&&e.height>0&&Mn(e,0,0,e.width,e.height,a*r)}}render(){let{basePixelDensity:e,box:t}=this.props,r={position:"absolute",left:"0",top:"0",width:`${t.width}px`,height:`${t.height}px`};return n(s).createElement("canvas",{style:r,width:t.width*e,height:t.height*e,ref:this.canvasRef})}constructor(e){super(e),this.canvasRef=n(s).createRef()}}An.propTypes={base:n(d).object.isRequired,basePixelDensity:n(d).number.isRequired,box:En.box,blur:n(d).shape({radius:n(d).number})};var Ln=An,Nn=(ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO"),a("a5i9T")),In=(ke=a("ecsdh"),a("5Notz"));class Hn extends Sn{componentDidMount(){this._renderCanvas(),super.componentDidMount()}componentDidUpdate(){this._renderCanvas()}_renderCanvas(){let e=this.canvasRef.current;if(e){let{basePixelDensity:t,text:r}=this.props,{width:n,height:o}=e,i=o*((0,Nn.getIsMac)()?1:.8);const a=40;if(ithis.emojiMaxSize&&(o=o*this.emojiMaxSize/i,i=this.emojiMaxSize),n(s).createElement("canvas",{style:r,width:o,height:i,ref:this.canvasRef})}constructor(e){super(e),this.canvasRef=n(s).createRef(),this.emojiMaxSize=(0,In.getEmojiMaxSize)()}}(0,ue.default)(Hn,"propTypes",{basePixelDensity:n(d).number.isRequired,box:En.box,text:En.text});var Fn=Hn;ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO");class Bn extends Sn{render(){const{basePixelDensity:e,box:t,icon:r}=this.props,o=e>=2?r.src2x:r.src1x,{width:i,height:a}=t,l={position:"relative",left:0,top:0,width:`${i}px`,height:`${a}px`},u={position:"absolute",left:"0",top:"0",width:`${i}px`,height:`${a}px`,pointerEvents:"none"};return n(s).createElement("div",{className:"draggable",style:l},n(s).createElement("img",{style:u,src:o}))}}(0,ue.default)(Bn,"propTypes",{basePixelDensity:n(d).number.isRequired,box:En.box,icon:En.icon});var Un=Bn;ue=a("lSPyV"),s=a("2q4iO");class qn extends _n{render(){let{line:e,stroke:t}=this.props,{x1:r,y1:o,x2:i,y2:a}=e,l=On(e),u=t.width||0,c=Math.ceil(.8*u),d=-c,p=-c,{width:f,height:h}=l,g=l.x+d,m=l.y+p,v={position:"absolute",left:`${d}px`,top:`${p}px`,width:`${f+2*c}px`,height:`${h+2*c}px`};return n(s).createElement("svg",{style:v},n(s).createElement("line",{x1:r-g,y1:o-m,x2:i-g,y2:a-m,stroke:t.color||"transparent",strokeWidth:u}))}}(0,ue.default)(qn,"propTypes",{line:En.line,stroke:En.stroke});ue=a("lSPyV"),s=a("2q4iO");class Wn extends _n{render(){let{box:e,fill:t,stroke:r}=this.props,o=e.width,i=e.height,a=r.width||0,l=a/2,u={position:"absolute",left:`${-l}px`,top:`${-l}px`,width:`${o+2*l}px`,height:`${i+2*l}px`},c=o/2,d=i/2,p=l+c,f=l+d;return n(s).createElement("svg",{style:u},n(s).createElement("ellipse",{cx:p,cy:f,rx:c,ry:d,stroke:r.color||"transparent",fill:t.fill||"transparent",strokeWidth:a}))}}(0,ue.default)(Wn,"propTypes",{box:En.box,fill:En.fill,stroke:En.stroke});ue=a("lSPyV"),s=a("2q4iO");class zn extends _n{render(){let{box:e,fill:t,stroke:r,corners:o}=this.props,i=e.width,a=e.height,l=r&&r.width||0,u=o&&o.radius||0,c=Math.ceil(l/2),d={position:"absolute",left:-c+"px",top:-c+"px",width:`${i+2*c}px`,height:`${a+2*c}px`};return n(s).createElement("svg",{style:d},n(s).createElement("rect",{x:c,y:c,rx:u,ry:u,width:i,height:a,style:{fill:t&&t.fill||"transparent",stroke:r&&r.color||"transparent",strokeWidth:l}}))}}(0,ue.default)(zn,"propTypes",{box:En.box.isRequired,fill:En.fill,stroke:En.stroke,corners:En.corners});ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO"),pe=a("2xkva"),bn=a("iMjBX"),ke=a("ecsdh"),xn=a("aZB6T");const Vn="bool",$n="string",Yn="color",Gn="positive-integer",Kn="number",Xn="font",Zn="textarea",Jn="color",Qn="font",eo="flat-select",to="left",ro="center",no="right",oo={[Vn]:{convert:e=>Boolean(e),inputType:"checkbox",valueAttr:"checked"},[$n]:{convert:e=>e||"",inputType:"text"},[Yn]:{convert:e=>e||"",inputType:"text"},[Xn]:{convert:e=>e||ke.FONT_FAMILY_HELVETICA,inputType:"text"},[Gn]:{convert:e=>{const t=parseFloat(e);return isNaN(t)||t<0?0:t},inputType:"number"},[Kn]:{convert:e=>{const t=parseFloat(e);return isNaN(t)?0:t},inputType:"number"},"stroke-position":{convert:e=>e||"",inputType:"text"}},io=Object.keys(oo),ao=[{name:"enabled",controls:[{name:"on",type:Vn,title:(0,bn.tr)("On")}],title:(0,bn.tr)("Enabled")},{name:"box",controls:[{name:"x",type:Kn,title:"X"},{name:"y",type:Kn,title:"Y"},{name:"width",type:Gn,title:"W"},{name:"height",type:Gn,title:"H"}],title:(0,bn.tr)("Position")},{name:"line",controls:[{name:"x1",type:Kn,title:"X1"},{name:"y1",type:Kn,title:"Y1"},{name:"x2",type:Kn,title:"X2"},{name:"y2",type:Kn,title:"Y2"}],title:(0,bn.tr)("Position")},{name:"padding",controls:[{name:"padding",title:(0,bn.tr)("Pad"),type:Gn}],title:(0,bn.tr)("Padding")},{name:"text",controls:[{name:"text",type:$n,widget:Zn},{name:"autoHeight",type:Vn}],hide:!0},{name:"icon",controls:[{name:"src1x",type:$n},{name:"src2x",type:$n},{name:"width",type:Gn},{name:"height",type:Gn}],hide:!0},{name:"font",controls:[{name:"size",type:Gn,title:(0,bn.tr)("Size")},{name:"fontFamily",type:Xn,widget:Qn,title:(0,bn.tr)("Type"),choices:[{title:"Helvetica",value:ke.FONT_FAMILY_HELVETICA},{title:"Arial",value:ke.FONT_FAMILY_ARIAL},{title:"Comic Sans",value:ke.FONT_FAMILY_COMIC_SANS},{title:"Impact",value:ke.FONT_FAMILY_IMPACT},{title:"Courier New",value:ke.FONT_FAMILY_COURIER},{title:"Georgia",value:ke.FONT_FAMILY_GEORGIA}]},{name:"align",type:$n,choices:[{title:"left",value:to},{title:"center",value:ro},{title:"right",value:no}],widget:Qn,title:(0,bn.tr)("Align")},{name:"bold",type:Vn,title:(0,bn.tr)("Bold")},{name:"italic",type:Vn,title:(0,bn.tr)("Italic")}],title:(0,bn.tr)("Font")},{name:"fill",controls:[{name:"fill",type:Yn,widget:Jn,title:(0,bn.tr)("Fill")}],title:(0,bn.tr)("Fill")},{name:"stroke",controls:[{name:"color",type:Yn,widget:Jn,title:(0,bn.tr)("Color")},{name:"width",type:Gn,title:(0,bn.tr)("Width")}],title:(0,bn.tr)("Outline")},{name:"corners",controls:[{name:"radius",type:Gn,title:(0,bn.tr)("Radius")}],title:(0,bn.tr)("Rounded corners")},{name:"blur",controls:[{name:"radius",type:Gn,title:(0,bn.tr)("Radius")}],title:(0,bn.tr)("Blur")},{name:"template",controls:[{name:"templateId",type:$n,widget:eo,choices:Object.values(xn.BROWSER_TEMPLATES).map((e=>({title:e.title,value:e.key})))}],title:ke.TEMPLATE_LAYER_DISPLAY_NAME},{name:"include_date",controls:[{name:"format",type:$n,title:(0,bn.tr)("Format"),widget:eo,choices:Object.values(ke.DATE_FORMATS).map((e=>({title:e.title,value:e.value}))),dim:e=>{var t;return!(null==e||null===(t=e.template)||void 0===t?void 0:t.templateId)},dimTitle:"Select URL & Browser to enable showing a date"}],title:(0,bn.tr)("Date & Time of Capture")}],so=ao.find((e=>"box"===e.name)),lo=Object.assign({},so,{controls:so.controls.filter((e=>"x"===e.name||"y"===e.name))}),uo="http://www.w3.org/2000/svg";let co;const po={},fo=["fontSize","fontFamily","fontWeight","fontStyle","whiteSpace"],ho=(e,t,r,n)=>{let o=((e,t,r,n)=>`${e}|${t}|${r}|${n?fo.map((e=>n[e])):""}`)(e,t=t||10,r,n);if(o in po)return po[o];let i=go(e,r,n),a=[];return e.split("\n").forEach(((e,r)=>{if(!e)return void a.push({text:"",width:0});let n=yo(e);for(;n.length;){let e="",r=0;for(;;){let o=e+n[0].trimRight();i.textContent=o;let s=i.getBBox().width;if(s>t){if(!e){let o=n[0].trimRight(),a=o.length,s=a;for(let e=2;e<=a;e++){let n=o.substring(0,e);i.textContent=n;let a=i.getBBox().width;if(a>t){s=e-1;break}r=a}e=o.substring(0,s),n[0]=n[0].substring(s)}a.push({text:e.trimRight(),width:r});break}if(r=s,e+=n.shift(),0===n.length){a.push({text:e.trimRight(),width:r});break}}}})),po[o]=a,a},go=(e,t,r)=>{let n=`text${vo()}`,o=document.createElementNS(uo,"text");return o.setAttribute("class",n),o.setAttribute("stroke-width",t),r&&Object.assign(o.style,r),co.appendChild(o),o};let mo=0;const vo=()=>mo++,yo=e=>{let t=[],r=e.split(/(\s+|-)/),n=0,o=r.length;for(;n{let r=0;switch(c){case ro:r=(f-e.width)/2;break;case no:r=f-e.width}return n(s).createElement("text",{key:t,style:d,x:g+r,y:g+m+t*u,fill:o.fill||"none",stroke:i.color||"none",strokeWidth:l},e.text)}));return n(s).createElement("svg",{className:"text",style:v,onDoubleClick:this.handleDoubleClick},y)}constructor(e){super(e),(0,ue.default)(this,"handleDoubleClick",(e=>{(0,pe.default)("[Text.onDoubleClick]"),e.stopPropagation(),this.props.onChangeEditing(!0)})),(0,ue.default)(this,"handleBlur",(e=>{(0,pe.default)("[Text.onBlur]"),this.props.onChangeEditing(!1)})),(0,ue.default)(this,"handleTextareaChange",(e=>{let t=this.props,r=e.target,n=r.value,o=r.scrollHeight-r.offsetHeight;o>0&&t.onChangeProperties(t.layerId,t.shapeKey,"box",Object.assign({},t.box,{height:t.box.height+o})),(0,pe.default)("[Text.onChange]",n,r.offsetHeight,r.scrollHeight),t.onChangeProperties(t.layerId,t.shapeKey,"text",Object.assign({},t.text,{text:n}))})),(0,ue.default)(this,"stopPropagation",(e=>{e.stopPropagation()})),this.textareaRef=n(s).createRef()}}bo.propTypes={box:En.box,fill:En.fill,stroke:En.stroke,text:En.text,font:En.font,selected:n(d).bool,onChangeProperties:n(d).func,layerId:n(d).string,shapeKey:n(d).string.isRequired,editing:n(d).bool.isRequired,onChangeEditing:n(d).func.isRequired};var xo=bo;const wo="arrow",Eo="blur",Oo="border",_o="emoji",So="icon",Co="line",ko="oval",To="slice",Ro="rectangle",jo="text",Po="multi",Mo="template",Do=[{id:"W",left:0,top:"50%",marginTop:0},{id:"S",bottom:0,left:"50%",marginLeft:0},{id:"E",right:0,top:"50%",marginTop:0},{id:"N",top:0,left:"50%",marginLeft:0},{id:"SW",bottom:0,left:0},{id:"SE",bottom:0,right:0},{id:"NE",top:0,right:0},{id:"NW",top:0,left:0}],Ao=[{id:"2",point:{x:"x2",y:"y2"}},{id:"1",point:{x:"x1",y:"y1"}}],Lo={[Ro]:{type:Ro,title:(0,bn.tr)("Rectangle"),isBox:!0,controlPoints:Do,component:zn,Icon:({className:e,stroke:t="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("rect",{x:"3.5",y:"4.5",width:"19",height:"15",fill:"none",stroke:t})),insertKey:"R",defaults:{fill:{color:""},stroke:{width:6,color:"#BD10E0"},corners:{radius:0}},remember:["fill","stroke","corners"]},[Po]:{type:Po,isBox:!0,controlPoints:[],component:zn,defaults:{},remember:[],hide:!0},[To]:{type:To,isBox:!0,controlPoints:Do,component:zn,defaults:{},hide:!0},[ko]:{type:ko,title:(0,bn.tr)("Oval"),isBox:!0,controlPoints:Do,component:Wn,Icon:({className:e,stroke:t="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M22.5 12C22.5 16.0438 18.3566 19.5 13 19.5C7.64341 19.5 3.5 16.0438 3.5 12C3.5 7.95621 7.64341 4.5 13 4.5C18.3566 4.5 22.5 7.95621 22.5 12Z",fill:"none",stroke:t})),insertKey:"O",defaults:{fill:{color:""},stroke:{width:6,color:"#BD10E0"}},remember:["fill","stroke"]},[Co]:{type:Co,title:(0,bn.tr)("Line"),isBox:!1,controlPoints:Ao,component:qn,Icon:({className:e,fill:t="#000"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("line",{x1:"4.67737",y1:"17.9479",x2:"22.3363",y2:"8.5585",stroke:t})),insertKey:"L",defaults:{stroke:{width:6,color:"#000000"}},remember:["stroke"]},[wo]:{type:wo,title:(0,bn.tr)("Arrow"),isBox:!1,controlPoints:Ao,component:kn,Icon:({className:e,fill:t="#000"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M23.1454 7.77262C23.2261 7.50855 23.0775 7.22902 22.8134 7.14829L18.5101 5.83261C18.246 5.75188 17.9665 5.9005 17.8857 6.16458C17.805 6.42866 17.9536 6.70818 18.2177 6.78892L22.0429 7.9584L20.8734 11.7836C20.7927 12.0477 20.9413 12.3272 21.2054 12.408C21.4695 12.4887 21.749 12.3401 21.8297 12.076L23.1454 7.77262ZM5.24304 17.4573L22.902 8.06791L22.4325 7.18496L4.77356 16.5744L5.24304 17.4573Z",fill:t})),insertKey:"A",defaults:{stroke:{width:6,color:"#BD10E0"}},remember:["stroke"]},[jo]:{type:jo,title:(0,bn.tr)("Text"),isBox:!0,controlPoints:[{id:"W",left:0,top:"50%",marginTop:0},{id:"S",bottom:0,left:"50%",marginLeft:0},{id:"E",right:0,top:"50%",marginTop:0}],component:xo,Icon:({className:e,fill:t="#151515",fill2:r="#666666"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M19.5703 6V7.36719H15.7031V17.4766H14.125V7.36719H10.2578V6H19.5703Z",fill:t}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 22L5 2L6 2L6 22L5 22Z",fill:r})),insertKey:"T",defaults:{fill:{fill:"#BD10E0"},stroke:{width:0,color:""},text:{text:(0,bn.tr)("Enter text here"),autoHeight:!0},font:{size:32,fontFamily:ke.FONT_FAMILY_HELVETICA,bold:!1,italic:!1}},remember:["fill","stroke","font"]},[Eo]:{type:Eo,title:(0,bn.tr)("Blur"),isBox:!0,takesBase:!0,controlPoints:Do,component:Ln,Icon:({className:e,fill:t="#CCC",stroke:r="#151515"})=>{const[o,i]=(0,s.useState)(`filter-${(new Date).getTime()}-${Math.floor(1e6*Math.random())}`);return n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("g",{filter:`url(#${o})`},n(s).createElement("ellipse",{cx:"13",cy:"12",rx:"7",ry:"6",fill:t}),n(s).createElement("path",{d:"M19 12C19 14.6224 16.4639 17 13 17C9.53612 17 7 14.6224 7 12C7 9.37764 9.53612 7 13 7C16.4639 7 19 9.37764 19 12Z",stroke:r,strokeWidth:"2"})),n(s).createElement("defs",null,n(s).createElement("filter",{id:o,x:"0",y:"0",width:"26",height:"24",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n(s).createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n(s).createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n(s).createElement("feGaussianBlur",{stdDeviation:"3",result:"effect1_foregroundBlur"}))))},insertKey:"B",defaults:{blur:{radius:5}},remember:["blur"],addToBottom:!1},[_o]:{type:_o,title:(0,bn.tr)("Emoji"),isBox:!0,isSquare:!0,controlPoints:Do,component:Fn,defaults:{},hide:!0},[So]:{type:So,title:(0,bn.tr)("Icon"),isBox:!0,isSquare:!0,controlPoints:Do,component:Un,defaults:{},hide:!0},[Oo]:{type:Oo,title:(0,bn.tr)("Padding / Border"),isBox:!0,defaults:{enabled:{on:!1},padding:{padding:40},fill:{fill:"#50E3C2"},stroke:{width:1,color:"#9B9B9B"}},remember:["enabled","padding","fill","stroke"],hide:!0},[Mo]:{type:Mo,title:ke.TEMPLATE_LAYER_DISPLAY_NAME_HEADER,defaults:{template:{templateId:xn.BROWSER_TEMPLATE_ID_NONE},include_date:{on:!1,format:ke.DATE_FORMAT_NONE}},remember:["template","include_date"],hide:!0}},No=e=>Object.assign({},e),Io=e=>JSON.parse(JSON.stringify(e)),Ho={},Fo="globalShapeDefaults/UPDATE_DEFAULTS",Bo="globalShapeDefaults/UPDATE_ALL_DEFAULTS";const Uo=(e,t,r,n)=>{const o=Lo[t];if(o.remember&&-1!==o.remember.indexOf(r)){const o=Object.assign({},e[t]);return o[r]=Object.assign({},o[r],n),{...e,[t]:o}}return e},qo=(e,t,r)=>({type:Fo,payload:{shapeKey:e,groupName:t,updates:r}});ke=a("ecsdh"),xn=a("aZB6T");const Wo={width:{E:"W",W:"E"},height:{N:"S",S:"N"}},zo=(e,t)=>$o[e||(t?"__line__":"__box__")],Vo={N:{y:{dim:"dy",delta:1},height:{dim:"dy",delta:-1}},E:{width:{dim:"dx",delta:1}},S:{height:{dim:"dy",delta:1}},W:{x:{dim:"dx",delta:1},width:{dim:"dx",delta:-1}},1:{x1:{dim:"dx",delta:1},y1:{dim:"dy",delta:1}},2:{x2:{dim:"dx",delta:1},y2:{dim:"dy",delta:1}}},$o=Object.assign({},{__box__:{x:{dim:"dx",delta:1},y:{dim:"dy",delta:1}},__line__:{x1:{dim:"dx",delta:1},y1:{dim:"dy",delta:1},x2:{dim:"dx",delta:1},y2:{dim:"dy",delta:1}}});["NE","SE","SW","NW","N","S","E","W","1","2"].forEach((e=>{$o[e]=(e=>{let t={};return(e=e||"").split("").forEach((e=>{Object.assign(t,Vo[e])})),t})(e)}));const Yo={},Go="layers/PROPERTIES_UPDATE",Ko="layers/BATCH_PROPERTIES_UPDATE";const Xo=(e,t,r,n,o,i,a)=>{let s=Lo[t],l={id:e,shapeKey:t};if(Object.assign(l,Io(s.defaults)),a&&Object.entries(a).forEach((([e,t])=>{l[e]=Object.assign(l[e]||{},t)})),t===Oo||t===Mo);else if(s.isBox){if(l.box={x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)},s.isSquare&&l.box.width!==l.box.height){let{x:e,y:t,width:a,height:s}=l.box,u=a>s?Vo[o>r?"E":"W"]:Vo[i>n?"S":"N"],c=-Math.abs(a-s);Object.entries(u).forEach((([e,t])=>{l.box[e]+=c*t.delta}))}}else l.line={x1:r,y1:n,x2:o,y2:i};return l},Zo=e=>({type:Ko,payload:e}),Jo=(e,t,r,n,o)=>({type:Go,id:e,payload:{shapeKey:t,groupName:r,updates:n,isMultiLayer:o}}),Qo=(e,t,r)=>{switch(e.type){case Nt:if(e.groupAsUpdate){const t=e.payload.length;return`${Go}--${t>1?ke.MULTI_LAYER_ID:e.payload[t-1].payload.id}--${["height","width","x","y"].join("|")}`}return null;case Ko:return Qo(e.payload[e.payload.length-1],t,r);case Go:{const t=e.payload.isMultiLayer?ke.MULTI_LAYER_ID:e.id,r=Object.keys(e.payload.updates);return r.sort(),`${e.type}--${t}--${r.join("|")}`}default:return null}};ke=a("ecsdh");const ei={};var ti=P({capture:function(e=Re,t){switch(t.type){case Pe:case je:case Me:case De:return{...e,...t.payload};default:return e}},base:function(e=dn,t){switch(t.type){case pn:return Object.assign({},e,t.payload);case fn:return pe.default.error("ERROR LOADING BASE!",t.payload),e;default:return e}},editor:function(e=Gt,t){switch(t.type.startsWith($t)&&(e=Object.assign({},e,Yt)),t.type){case Kt:case Xt:case Zt:case Jt:case Qt:case er:case tr:case rr:case nr:case or:case ir:case ar:case sr:case lr:case ur:case cr:case dr:case pr:case fr:case hr:return t.type===Qt&&window.setTimeout((()=>{(0,Te.default)(window,ke.EVT_RESIZE)}),50),Object.assign({},e,t.payload);case It:return{...e,selectedLayerIds:[t.payload.id]};case Ht:{const r=t.payload.ids,n=e.selectedLayerIds.filter((e=>!r.includes(e)));return{...e,selectedLayerIds:n}}default:return e}},error:function(e=gn,t){switch(t.type){case mn:case vn:return{error:t.payload,prevError:e.error||e.prevError};default:return e}},globalShapeDefaults:function(e=Ho,t){switch(t.type){case Fo:{const{shapeKey:r,groupName:n,updates:o}=t.payload;return Uo(e,r,n,o)}case Bo:return Io(t.payload);default:return e}},shapeDefaults:function(e=ei,t){switch(t.type){case Go:case Fo:if(t.id!==ke.CROP_ID){const{shapeKey:r,groupName:n,updates:o}=t.payload;return Uo(e,r,n,o)}return e;case Bo:return Io(t.payload);default:return e}},undos:n(Wr)(P({layersById:function e(t=Yo,r){let n=r.id?t[r.id]:void 0;switch(r.type){case tr:if(!(ke.CROP_ID in t)){let{width:e,height:t}=r.base;r=Ut(ke.CROP_ID,To,0,0,e,t)}break;case nr:{const e=r.isToggle;if(ke.BORDER_ID in t)e&&(n=t[ke.BORDER_ID],r=Jo(n.id,Oo,"enabled",{on:!n.enabled.on},!1));else if(r=Ut(ke.BORDER_ID,Oo,0,0,0,0,r.defaultGroups),e){const e=r.payload.groups||{};e.enabled={on:!0},r.payload.groups=e}break}case or:ke.TEMPLATE_ID in t||(r=Ut(ke.TEMPLATE_ID,Mo,0,0,0,0,Object.assign({template:{templateId:xn.BROWSER_TEMPLATE_ID_NONE}},r.defaultGroups)))}switch(r.type){case Nt:case Ko:return r.payload.reduce(e,t);case Go:{let{groupName:e,updates:o}=r.payload;return n=Object.assign({},n),n[e]=Object.assign({},n[e],o),{...t,[r.id]:n}}case It:{let{id:e,shapeKey:n,x1:o,y1:i,x2:a,y2:s,groups:l}=r.payload;return{...t,[e]:Xo(e,n,o,i,a,s,l)}}case Ht:{const e=r.payload.ids;return t=Object.assign({},t),e.forEach((e=>{delete t[e]})),t}default:return t}},layersIds:function e(t=Lt,r){switch(r.type){case Nt:return r.payload.reduce(e,t);case It:return(t=Array.from(t))[r.payload.bottom?"push":"unshift"](r.payload.id),t;case Ht:return t.filter((e=>!r.payload.ids.includes(e)));case Ft:{let{oldIndex:e,newIndex:a}=r.payload;return o=e,i=a,(n=(n=t).slice()).splice(i<0?n.length+i:i,0,n.splice(o,1)[0]),n}default:return t}var n,o,i}}),{limit:100,groupBy:Qo})});var ri=e=>{const t=[qr,Dr];const r=I.apply(null,t);return R(ti,e,r)},ni={},oi=a("7VsFE");Object.defineProperty(ni,"__esModule",{value:!0}),Object.defineProperty(ni,"createGenerateClassName",{enumerable:!0,get:function(){return ii.default}}),Object.defineProperty(ni,"createMuiTheme",{enumerable:!0,get:function(){return ai.default}}),Object.defineProperty(ni,"jssPreset",{enumerable:!0,get:function(){return si.default}}),Object.defineProperty(ni,"MuiThemeProvider",{enumerable:!0,get:function(){return li.default}}),Object.defineProperty(ni,"createStyles",{enumerable:!0,get:function(){return ui.default}}),Object.defineProperty(ni,"withStyles",{enumerable:!0,get:function(){return ci.default}}),Object.defineProperty(ni,"withTheme",{enumerable:!0,get:function(){return di.default}});var ii=oi(a("fcQwn")),ai=oi(a("8CGcs")),si=oi(a("5FNXJ")),li=oi(a("adp6N")),ui=oi(a("gGuf8")),ci=oi(a("9Fp11")),di=oi(a("8KjO9")),pi=(s=a("2q4iO"),u=a("cEw93"),pe=a("2xkva"),Oe=a("8aJKE"),ue=a("lSPyV"),Ne=a("yZcwP"),a("cW7yT")),fi=(s=a("2q4iO"),Ce=a("jmw9X"),bn=a("iMjBX"),a("8P88O")),hi=(pe=a("2xkva"),_e=a("83PZf"),ke=a("ecsdh"),d=a("cAnjR"),s=a("2q4iO"),pi=a("cW7yT"),s=a("2q4iO"),a("6EXXg")),gi=a("jHOBT"),mi=e=>{const t=Object.assign({},e);t.className=n(pi)(e.className,"closelink");let r={size:10};return"fill"in t&&(r.fill=t.fill,delete t.fill),n(s).createElement("a",{href:"#",...t},n(s).createElement(hi.default,r),n(s).createElement(gi.default,null,"Close"))};pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO");const vi=e=>((e=Object.assign({role:"img"},e)).label&&(e["aria-label"]=e.label,delete e.label),e.className=n(pi)(e.className,"emoji"),n(s).createElement("span",e));vi.propTypes={label:n(d).string.isRequired};var yi=vi;const bi=({error:e,reportUrl:t,onClearError:r})=>{if(!e)return null;const o=e.displayMessage||e.message||"Error",i=e.title||"Oh no, there was an error!",a=e.permanent?null:r;return n(s).createElement("div",{className:"errormessage error"},n(s).createElement("strong",null,i," ",!e.noEmoji&&n(s).createElement(yi,{label:"Surprised face"},"😯")),n(s).createElement("br",null),n(s).createElement("br",null),o,n(s).createElement("br",null),n(s).createElement("br",null),"If this persists, please"," ",n(s).createElement("a",{className:"nowrap",href:t,target:"_blank",rel:"noopener noreferrer"},"contact support"),".",a&&n(s).createElement(mi,{onClick:a,fill:"#900"}))};bi.props={error:n(d).object,reportUrl:n(d).string.isRequired,onClearError:n(d).func.isRequired};var xi=bi;function wi(e,t){return e===t}var Ei=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:wi,r=null,n=null;return function(){return function(e,t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,o=0;oObject.values(Lo).filter((e=>e.remember&&e.remember.length)),Si=e=>{const t={};return e.forEach((e=>{const r={};t[e.type]=r,e.remember.forEach((t=>{const n=e.defaults[t];n&&(r[t]=Io(n))}))})),t},Ci=(e,...t)=>{for(let r of t){if(!e||"object"!=typeof e)return;e=e[r]}return e};var ki=a("dqmzj");const Ti=Ei([e=>e.undos.present.layersById,e=>e.undos.present.layersIds],((e,t)=>t.map((t=>e[t])).filter((e=>e)))),Ri=Ei([e=>e.editor.mode,e=>e.undos.present.layersById[ke.CROP_ID],e=>e.editor.selectedLayerIds],((e,t,r)=>e===zt?t?[ke.CROP_ID]:[]:r)),ji=Ei([e=>Ri(e)],(e=>e.filter((e=>e!==ke.BORDER_ID&&e!==ke.TEMPLATE_ID)))),Pi=e=>e.editor.mode===zt?null:e.editor.hoveringLayerId,Mi=e=>e.undos.present.layersById[ke.CROP_ID]||null,Di=e=>{const t=e.undos.present.layersById[ke.BORDER_ID];return t&&t.enabled.on?t:null},Ai=Ei([e=>e.base],(e=>({x:0,y:0,width:e.width||0,height:e.height||0}))),Li=Ei([e=>e.editor.mode,e=>e.base,Mi],((e,t,r)=>e!==zt&&r?r.box:Ai({base:t}))),Ni=e=>{const t=e.undos.present.layersById[ke.TEMPLATE_ID];return t?t.template.templateId:xn.BROWSER_TEMPLATE_ID_NONE},Ii=e=>{const t=e.undos.present.layersById[ke.TEMPLATE_ID],r=t&&t.include_date;if(r){if(r.format)return r.format;if(r.on)return ke.DATE_FORMAT_DATE}return ke.DATE_FORMAT_NONE},Hi=Ei([e=>e.base,Ni,e=>Ii(e)!==ke.DATE_FORMAT_NONE&&e.capture.time||null,Ii,Li],((e,t,r,n,o)=>(0,xn.createBrowserTemplate)(t,e.url,o.width||0,o.height||0,e.pixelDensity||1,e.title,r,(0,ke.formatDate)(r,n)))),Fi=Ei([e=>ji(e),e=>e.undos.present.layersById],((e,t)=>{if(e.length<=1)return null;const r=e.map((e=>t[e])),n=(0,ki.computeLayersMinMax)(r);n.minX,n.minY,n.maxX,n.minX,n.maxY,n.minY;return Xo(ke.MULTI_LAYER_ID,Po,n.minX,n.minY,n.maxX,n.maxY)})),Bi=Ei([e=>e.error.error||e.error.prevError,e=>window.location.href,e=>e.capture&&e.capture.subUserId,e=>e.capture&&e.capture.subState],((e,t,r,n)=>(0,Oi.getReportUrl)({url:t,error:e,userId:r,subState:n}))),Ui=Ei([e=>e.error.error||e.error.prevError,e=>window.location.href,e=>e.capture&&e.capture.subUserId,e=>e.capture&&e.capture.subState],((e,t,r,n)=>o=>(0,Oi.getReportUrl)({type:o,url:t,error:e,userId:r,subState:n}))),qi=Ei([e=>e.globalShapeDefaults&&e.globalShapeDefaults[Oo],e=>e.globalShapeDefaults&&e.globalShapeDefaults[Mo]],((e,t)=>{const r=Si(_i());return{borderDefaults:e=Object.assign(r[Oo],e),templateDefaults:t=Object.assign(r[Mo],t)}})),Wi=Ei([e=>!(!e.capture||!e.capture.subUserId),e=>e.capture&&e.capture.hasPreviouslyLoggedIn||!1,e=>e.capture&&e.capture.isSubOk||!1],((e,t,r)=>({isLoggedIn:e,hasPreviouslyLoggedIn:t,isSubOk:r})));var zi=le((e=>({error:e.error.error||null,reportUrl:Bi(e)})),(e=>({onClearError:()=>e({type:vn,payload:null})})))(xi),Vi=(Oe=a("8aJKE"),{});oi=a("7VsFE");Object.defineProperty(Vi,"__esModule",{value:!0}),Object.defineProperty(Vi,"default",{enumerable:!0,get:function(){return Yi.default}});var $i,Yi=oi(a("7TRmd"));d=a("cAnjR"),s=a("2q4iO");$i=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("3zT9l");bn=a("iMjBX"),ue=a("lSPyV"),Ne=a("yZcwP");var Gi={};(e=>{const t=Math.clz32,r=String.fromCharCode,n=String.fromCodePoint,o=atob,i=btoa,a=e=>{let t=e.codePointAt(0);return 127>=t?e:2047>=t?r(192|t>>>6,128|63&t):65535>=t?r(224|t>>>12,128|t>>>6&63,128|63&t):r(240|t>>>18,128|t>>>12&63,128|t>>>6&63,128|63&t)},s=(e,t)=>i((t?"":"")+e.replace(/[\x80-\uD7ff\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]?/g,a)),l=e=>{let r=e.charCodeAt(0)<<24,o=0,i="";const a=t(~r),s=0|e.length;if(5>a&&s>=a){for(r=r<>>24+a,o=1;o(e=o(e),t||""!==e.substring(0,3)||(e=e.substring(3)),e.replace(/[\xc0-\xff][\x80-\xbf]*/g,l)),c=e=>(e.btoaUTF8=s,e.atobUTF8=u,e);typeof define==typeof c&&define.amd?define((()=>c({}))):c(Gi)})();pi=a("cW7yT"),ce=a("aQWOf"),d=a("cAnjR"),s=a("2q4iO"),l=a("aHNfr");var Ki=a("gstfn"),Xi=a("317M2"),Zi=a("1BBN9"),Ji=a("21kSJ"),Qi=(Ce=a("jmw9X"),bn=a("iMjBX"),fi=a("8P88O"),u=a("cEw93"),a("ebCbw")),ea=(pe=a("2xkva"),a("2kfQE")),ta=a("k1nP3"),ra=a("7i7LO"),na=(_e=a("83PZf"),be=a("03QYZ"),ke=a("ecsdh"),Te=a("l6VXY"),ki=a("dqmzj"),cn=a("hvGrI"),pi=a("cW7yT"),n(s=a("2q4iO")).forwardRef(((e,t)=>n(s).createElement("button",{ref:t,type:"button",...e,className:n(pi)(e.className,"fpsc-button")}))));const oa=n(s).forwardRef(((e,t)=>n(s).createElement("a",{ref:t,href:"#",...e,className:n(pi)(e.className,"fpsc-button")})));d=a("cAnjR"),s=a("2q4iO");const ia=({cents:e,monthly:t,simplify:r})=>{let o=(e/100/(t?12:1)).toLocaleString(void 0,{style:"currency",currency:"USD"});return r&&(o.endsWith(".00")||o.endsWith(",00"))&&(o=o.substring(0,o.length-3)),n(s).createElement(n(s).Fragment,null,o)};ia.propTypes={cents:n(d).number.isRequired};var aa=ia,sa=(s=a("2q4iO"),({fill:e="#fff"})=>n(s).createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4443 4.5H9.33322V0H4.66655V4.5H1.55544L6.99988 9.75L12.4443 4.5ZM0 12V15H14V12H0Z",fill:e})));s=a("2q4iO");var la=({fill:e,fitWidth:t,fitHeight:r})=>{e=e||"#151515";const o={verticalAlign:"middle"};return t&&(o.width=`${t}px`),r&&(o.height=`${r}px`),n(s).createElement("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6H12V0H6V6H2L9 13L16 6V6ZM0 16V20H18V16H0V16Z",fill:e}))};s=a("2q4iO");const ua="#151515";var ca=({fill:e,fitWidth:t,fitHeight:r})=>{e=(e=e||ua)||ua;const o={verticalAlign:"middle"};return t&&(o.width=`${t}px`),r&&(o.height=`${r}px`),n(s).createElement("svg",{width:"18",height:"21",viewBox:"0 0 18 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6H12V0H6V6H2L9 13L16 6V6Z",fill:e}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 16.5H3.5V17.5H1.5V16.5ZM5 17.5C5 18.35 4.35 19 3.5 19H1.5V21H0V15H3.5C4.35 15 5 15.65 5 16.5V17.5V17.5Z",fill:e}),n(s).createElement("path",{d:"M13 15H17.5V16.5H14.5V17.5H16.6V19H14.5V21H13V15Z",fill:e}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19.5H8V16.5H10V19.5V19.5ZM10 15H6.5V21H10C10.8 21 11.5 20.3 11.5 19.5V16.5C11.5 15.7 10.8 15 10 15V15Z",fill:e}))};ue=a("lSPyV"),s=a("2q4iO"),d=a("cAnjR"),Ki=a("gstfn"),pe=a("2xkva");let da=0;class pa extends s.Component{componentDidMount(){this._renderImg()}componentDidUpdate(){this._renderImg()}_renderImg(){let e=this.imgRef.current;if(e){const{img:t,width:r,height:n,pixelDensity:o}=this.props.base,{browserTemplate:i,cropBox:a}=this.props,s=[t.src,r,n,o,i.id,i.time,i.timeText,a.x,a.y,a.width,a.height];if(this._isNewRender(s)){e.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQYV2P4/PnzfwAJjwPZUvo+oQAAAABJRU5ErkJggg==";let r=this._nextCounter();(0,pe.default)(`%c> [${r}] REDRAW IMAGE BASE! (${(new Date).toString().replace(/ \([^\)]*\)$/,"")})`,"color:pink");const n=document.createElement("canvas"),s=n.getContext("2d"),l=i.offsets.fullWidth,u=i.offsets.fullHeight;n.width=l*o,n.height=u*o,s.scale(o,o),fa(s,t,o,a,i.offsets.left,i.offsets.top),i.draw(s,this.props.base.url).then((()=>this._expired(r)?null:(0,Ki.canvasToBlob)(n))).then((t=>{t&&!this._expired(r)&&(e.src=(0,Ki.blobToUrl)(t))})).catch((e=>{pe.default.error("[ImageBase._renderImg.ERROR]",e),e.customMessage="Error rendering base image.",this.props.onSetError(e)}))}}}_isNewRender(e){let t,r=this._lastRenderArgs;if(null!==r&&r.length===e.length&&!r.some(((t,r)=>t!==e[r])))return!1;if(null===r)t=`... lastArgs === null (${JSON.stringify(e)})`;else{let n=e.map(((e,t)=>e!==r[t]?[t,e,r[t]]:null)).filter((e=>null!==e));t=`... diffs: ${JSON.stringify(n)}`}return(0,pe.default)(`%c${t}`,"color:pink"),this._lastRenderArgs=e,!0}render(){const{base:e,baseLeft:t,baseTop:r,browserTemplate:o,onClick:i}=this.props,a={top:`${r}px`,left:`${t}px`,width:`${o.offsets.fullWidth}px`,height:`${o.offsets.fullHeight}px`},l=["imagebase",`template-${this.props.browserTemplate.id||"none"}`];return this.props.browserTemplate.id||this.props.border||l.push("imagebase-border"),n(s).createElement("img",{ref:this.imgRef,style:a,className:l.join(" "),onClick:i})}constructor(e){super(e),(0,ue.default)(this,"_nextCounter",(()=>++da)),(0,ue.default)(this,"_expired",(e=>e{e.drawImage(t,n.x*r,n.y*r,n.width*r,n.height*r,o,i,n.width,n.height)};pa.propTypes={base:n(d).object.isRequired,baseLeft:n(d).number.isRequired,baseTop:n(d).number.isRequired,border:n(d).object,browserTemplate:n(d).object.isRequired,cropBox:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}).isRequired,onSetError:n(d).func.isRequired,onClick:n(d).func};var ha=pa;ue=a("lSPyV"),s=a("2q4iO"),pi=a("cW7yT"),d=a("cAnjR"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO");const ga=e=>{let t={width:`${e.width}px`,height:`${e.height}px`};const r=n(pi)("controlborder",{hover:e.hovering&&!e.selected,spotlight:e.spotlight});return n(s).createElement("div",{className:r,style:t})};ga.propTypes={width:n(d).number.isRequired,height:n(d).number.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,spotlight:n(d).bool};var ma=ga;pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO");const va=e=>{let{x1:t,y1:r,x2:o,y2:i}=e.line,a=On(e.line),l={position:"absolute",left:"-1px",top:"-1px",width:`${a.width+2}px`,height:`${a.height+2}px`},u=e.spotlight?"rgba(81, 203, 238, 1)":e.hovering&&!e.selected?"#69f":"#999";const c=n(pi)("controlline",{spotlight:e.spotlight});return n(s).createElement("svg",{className:c,style:l},n(s).createElement("line",{x1:t-a.x+1,y1:r-a.y+1,x2:o-a.x+1,y2:i-a.y+1,stroke:u,strokeWidth:1}))};va.propTypes={line:En.line.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,spotlight:n(d).bool};var ya=va;s=a("2q4iO"),pe=a("2xkva");const ba=e=>10/(e<1?e:1);var xa=e=>{let t=ba(e.pxPerModel),r=["controlpoint",`controlpoint-${e.id.toLowerCase()}`],o={position:"absolute",boxSizing:"border-box",width:`${t}px`,height:`${t}px`,background:"white",border:"1px solid #111"};return e.point?(o.left=e.line[e.point.x]-e.box.x-t/2+"px",o.top=e.line[e.point.y]-e.box.y-t/2+"px"):["top","right","bottom","left","marginTop","marginLeft"].forEach((r=>{void 0!==e[r]&&(o[r]="number"==typeof e[r]?e[r]-t/2+"px":e[r])})),n(s).createElement("div",{className:r.join(" "),style:o,onMouseDown:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),(0,pe.default)("[ControlPoint.mouseDown]",t.id),t.onMouseDown(e,t.id)})(t,e)})};pe=a("2xkva");class wa extends s.PureComponent{render(){let e,{props:t,state:r}=this,o=n(pi)({layer:!0,selected:t.selected,spotlight:t.spotlight}),i=Lo[t.shapeKey],a=Boolean(t.line),l=a?On(t.line):t.box,u={top:`${t.yOffset+l.y}px`,left:`${t.xOffset+l.x}px`,width:`${l.width}px`,height:`${l.height}px`},c=[];(t.selected||t.hovering||t.secondarySelected)&&!r.editing&&(e=a?n(s).createElement(ya,{line:t.line,selected:t.selected,hovering:t.hovering,spotlight:t.spotlight}):n(s).createElement(ma,{width:l.width,height:l.height,selected:t.selected,hovering:t.hovering,spotlight:t.spotlight}));const d=ba(t.pxPerModel);if(t.selected&&!r.editing){let e=i.controlPoints;t.box&&(t.box.height<2.25*d&&(e=e.filter((e=>"E"!==e.id&&"W"!==e.id))),t.box.width<2.25*d&&(e=e.filter((e=>"N"!=e.id&&"S"!==e.id)))),c=e.map((e=>n(s).createElement(xa,{key:e.id,line:t.line,box:l,pxPerModel:t.pxPerModel,...e,onMouseDown:this.handleControlPointMouseDown})))}let p={onChangeEditing:this.handleChangeEditing,editing:r.editing,basePixelDensity:t.basePixelDensity,shapeKey:t.shapeKey,onFinishedComponentMount:t.onFinishedComponentMount};return ao.forEach((e=>{p[e.name]=t[e.name]})),t.shapeKey===jo&&(p.onChangeProperties=t.onChangeProperties,p.selected=t.selected,p.layerId=t.id),i.isSquare&&(p.isSquare=!0),i.takesBase&&(p.base=t.base),n(s).createElement("div",{className:o,style:u,onMouseDown:this.handleMouseDown,onMouseOver:this.handleMouseOver,onMouseLeave:this.handleMouseOut},n(s).createElement(i.component,p),e,c)}constructor(e){super(e),(0,ue.default)(this,"handleMouseDown",(e=>{e.stopPropagation(),(0,pe.default)("[Layer.onMouseDown]"),this.props.onMouseDown(e,this.props.id)})),(0,ue.default)(this,"handleControlPointMouseDown",((e,t)=>{this.props.onMouseDown(e,this.props.id,t)})),(0,ue.default)(this,"handleMouseOver",(e=>{this.props.onHoverLayer(this.props.id)})),(0,ue.default)(this,"handleMouseOut",(e=>{this.props.onUnhoverLayer()})),(0,ue.default)(this,"handleChangeEditing",(e=>{this.setState({editing:e})})),this.state={editing:!1}}}(0,ue.default)(wa,"propTypes",{yOffset:n(d).number.isRequired,xOffset:n(d).number.isRequired,pxPerModel:n(d).number.isRequired,basePixelDensity:n(d).number.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,secondarySelected:n(d).bool,onMouseDown:n(d).func.isRequired,onHoverLayer:n(d).func.isRequired,onUnhoverLayer:n(d).func.isRequired,spotlight:n(d).bool,id:n(d).string.isRequired,shapeKey:n(d).string.isRequired,box:En.box,text:En.text,font:En.font,fill:En.fill,stroke:En.stroke,onFinishedComponentMount:n(d).func.isRequired}),(0,ue.default)(wa,"defaultProps",{onFinishedComponentMount:()=>{}});s=a("2q4iO");var Ea=({fill:e="#666666",width:t=52,height:r=12,scale:o=1,style:i={}})=>n(s).createElement("svg",{version:"1.1",id:"L4",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 52 12",enableBackground:"new 0 0 0 0",xmlSpace:"preserve",width:t*o,height:r*o,style:i},n(s).createElement("title",null,"Loading"),n(s).createElement("circle",{fill:e,stroke:"none",cx:"6",cy:"6",r:"6",opacity:"0"},n(s).createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.1"})),n(s).createElement("circle",{fill:e,stroke:"none",cx:"26",cy:"6",r:"6",opacity:"0"},n(s).createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.2"})),n(s).createElement("circle",{fill:e,stroke:"none",cx:"46",cy:"6",r:"6",opacity:"0"},n(s).createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.3"}))),Oa=a("lLQan");const _a="default",Sa="copy",Ca="saveas",ka="editor_export";class Ta extends s.Component{componentDidMount(){this._mounted=!0,fi.on(ke.EVT_DO_EXPORT,this._onTriggerExport),window.addEventListener(ke.EVT_DROPDOWN_CLEAR,this._clearDLOptsHover),_e.default.setWebsiteABState()}componentWillUnmount(){this._mounted=!1,fi.off(ke.EVT_DO_EXPORT,this._onTriggerExport),window.removeEventListener(ke.EVT_DROPDOWN_CLEAR,this._clearDLOptsHover)}componentDidUpdate(e){const{pastCount:t}=this.props,{autoSlidedownEnabled:r}=this.state;!r&&t>8&&this.setState({autoSlidedownEnabled:!0})}doExport(e,t=null,r=_a){const o=ce.DateTime.now();if(this.state.isExporting)return;if(!this.props.user.isSubOk)return void(0,Oa.triggerNotifyText)(`😮 ${(0,bn.tr)("You need to sign up in order to export your edited image.")}`,4e3);const i=r===Sa,a=r===Ca;if(i&&!(0,Ji.canCopyBlobToClipboard)())return void pe.default.error("Cannot copy to clipboard, browser does not support it");this.setState({isExporting:!0}),(t=t||this.props.lastDlType)!==this.props.lastDlType&&this.props.onUpdateLastDlType(t),i&&(t=Ce.DL_TYPE_IMAGE,Oa.triggerNotifyText.copyingImage());const{base:c,border:d,browserTemplate:p,cropBox:f,layers:h,format:g,links:m}=this.props,v=i?Qi.default.png.canvas:(0,Qi.getImageFormat)(g).canvas,y=v===Qi.default.png.canvas,b=(0,ki.computeBaseOffsets)(c.width,c.height,c.pixelDensity,f,p,100,h,d,0),x=t===Ce.DL_TYPE_PDF;let w=p.offsets,E=document.createElement("canvas"),O=E.getContext("2d"),_=c.pixelDensity,S=O.webkitBackingStorePixelRatio||O.backingStorePixelRatio||1,C=_/S;if(E.width=b.outerWidth*C,E.height=b.outerHeight*C,(v===Qi.default.jpg.canvas||x)&&(O.fillStyle="#fff",O.fillRect(0,0,E.width,E.height)),O.scale(C,C),d){const e=b.outerWidth,t=b.outerHeight;if(d.stroke.width&&(O.fillStyle=d.stroke.color||"transparent",O.fillRect(0,0,e,t)),d.fill.fill||d.stroke.width){const r=d.stroke.width||0,n=d.fill.fill?"fillRect":"clearRect";O.fillStyle=d.fill.fill||"transparent",O[n](r,r,e-2*r,t-2*r)}}O.translate(b.baseLeft,b.baseTop),fa(O,c.img,C,f,w.left,w.top);let k,T,R=1e4,j=[],P=!1;Promise.resolve().then((()=>p.draw(O,c.url))).then((()=>{let e=w.left-f.x,t=w.top-f.y;return(0,cn.serialMap)(La(h),(r=>new Promise(((o,i)=>{let a=document.createElement("div");Aa(a,{position:"absolute",left:"-10000px",top:"-10000px"}),n(l).render(n(s).createElement(wa,{xOffset:e,yOffset:t,pxPerModel:1,basePixelDensity:_,base:c,...r,selected:!1,hovering:!1,onMouseDown:()=>{},onHoverLayer:()=>{},onUnhoverLayer:()=>{},onChangeProperties:()=>{},onFinishedComponentMount:()=>o(a)}),a)})).then((e=>{document.body.appendChild(e),j.push(e);let t=e.querySelector("svg")||e.querySelector("canvas")||e.querySelector("img"),n=t&&t.getBoundingClientRect(),o=n?n.left+R:0,i=n?n.top+R:0,a=t?t.nodeName.toLowerCase():"";switch(a){case"svg":let e=Da(t,n.width,n.height);return(0,cn.loadImage)(e).then((e=>(e.left=o,e.top=i,e)));case"img":return Promise.resolve({img:t,left:o,top:i,width:t.width,height:t.height});case"canvas":const s=t.style.width?parseInt(t.style.width):t.width/_,l=t.style.height?parseInt(t.style.height):t.height/_;return Promise.resolve({img:t,left:o,top:i,width:s,height:l});default:let u=new Error(`Unexpected nodeName: "${a}" for ${r.shapeKey}`);throw u.name="ExportLayerError",u}})).then((e=>{O.drawImage(e.img,e.left,e.top,e.width,e.height)}))))})).then((()=>{y||(O.save(),O.globalCompositeOperation="destination-over",O.fillStyle="#fff",O.fillRect(0,0,E.width,E.height),O.restore())})).then((async()=>{const[e,t]=await Promise.all([ra.default.load(),_e.default.loginStateProm()]);if(x){const r=(0,Qi.getImageFormat)("jpg"),n=[];p.textCoords&&n.push({...p.textCoords,url:c.url});const o=e.pdf_insert_links&&t&&t.store.show_experimental;return m&&Array.isArray(m)&&m.length&&o&&(0,Xi.flattenBounds)(m).forEach((e=>{let{x:t,y:r,width:o,height:i}=e;if(t=f.x+f.width){if(t>=f.x+f.width)return;o-=t+o-(f.x+f.width)}if(r=f.y+f.height){if(r>=f.y+f.height)return;i-=r+i-(f.y+f.height)}t+=b.xOffset,r+=b.yOffset,n.push({...e,width:o,height:i,x:t,y:r})})),(0,ta.toPDF)([{img:E,width:E.width,height:E.height}],r,C,e.pdf_format,e.pdf_smart_page&&t&&"sub-ok"===t.subState,n).then((e=>e))}return i&&e.fit_copies&&([E,P]=(0,Ji.fitToMaxPixels)(E,Ji.GOOGLE_DOCS_MAX_PIXELS)),(0,Ki.canvasToBlob)(E,v)})).then((async t=>{if(i)return u.default.event(ka,"copy_img",e,h.length),(0,Ji.copyBlobToClipboard)(t).then((()=>{(0,pe.default)("Copied to clipboard!"),Oa.triggerNotifyText.copiedImage(P)})).catch((e=>{Oa.triggerNotifyText.clear(),e.title=ea.ERR_TITLE_COPY,e.displayMessage=ea.ERR_MSG_COPY,e.customMessage="Error copying image.",e.noEmoji=!0,(0,be.addViaToError)(e,"Export.doExport.copyImage"),this.props.onSetError(e)}));k=(0,Ki.blobToUrl)(t),n(Ne).ok(c.src,`Missing base.src! ${c.src}`);const r=c.src.split("/").pop().split("."),s=r.length>1?`.${r.pop()}`:"",l=x?".pdf":s,d=r.join(".");T=`${d}-edit${l}`;try{await this._doDownload(k,T,e,a)}catch(t){pe.default.error("[doExport._doDownload.ERROR]",t);if(!(ce.DateTime.now().diff(o,"milliseconds").milliseconds+10>be.GESTURE_TIMEOUT||t&&t.message&&"string"==typeof t.message&&-1!==t.message.indexOf("This function must be called during a user gesture")))throw t;await new Promise(((t,r)=>{this._mounted&&(this.setState({retryModalOnClick:r=>t(this._doDownload(k,T,e))}),window.setTimeout((()=>{this.retryBtnRef.current&&this.retryBtnRef.current.focus()}),250))}))}})).catch((e=>{pe.default.error("[doExport.ERROR]",e),i&&(0,Oa.triggerNotifyText)(""),e.customMessage="Error exporting document.",(0,be.addViaToError)(e,"Export.doExport"),this.props.onSetError(e)})).then((()=>{this._mounted&&this.setState({isExporting:!1}),j.forEach((e=>{e.parentNode.removeChild(e)})),(0,Ki.revokeObjectUrl)(k)}))}async _doDownload(e,t,r,n=!1){const{layers:o}=this.props;if(!await(0,Zi.requestDownloads)())return;const{hasPerms:i,results:a,failCount:s}=await(0,be.fullServiceDownload)([{url:e,filename:t}],!1,n);if(!i){let e=new Error("No downloads perm despite just getting it!");throw e.name="UnreachableError",e}if(s)throw a.find((e=>!1===e.success)).error;u.default.event(ka,"download",r,o.length)}render(){const{planAmount:e,isShowLoginDropdown:t,format:r}=this.props,{hasPreviouslyLoggedIn:o,isLoggedIn:i,isSubOk:a}=this.props.user,{isExporting:l,retryModalOnClick:u,autoSlidedownEnabled:c,hasDismissedSlidedown:d,showDownloadOptions:p}=this.state,f=t||c&&!d;let h=n(pi)("dl-btn",{highlight:a}),g={},m={},v=(0,bn.tr)("Download & Export"),y=null;return a?(m={onClick:this.makeHandleClick()},g={onMouseOver:e=>{this._clearDLOptsHoverDebounced.clear(),(0,Te.default)(window,ke.EVT_DROPDOWN_CLEAR),this.setState({showDownloadOptions:!0})},onMouseLeave:e=>{this._clearDLOptsHoverDebounced()}},p&&(y=n(s).createElement(Pa,{onClickDownloadImage:this.makeHandleClick(Ce.DL_TYPE_IMAGE),onClickDownloadPdf:this.makeHandleClick(Ce.DL_TYPE_PDF),lastDlType:this.props.lastDlType,format:r}))):!i&&o?(v=(0,bn.tr)("Login to Export"),m={onClick:this.props.onShowLoginPopup}):(v=(0,bn.tr)("Sign up to Export"),m={onClick:this.props.onShowLoginDropdown,onMouseOver:e=>this.state.autoSlidedownEnabled&&this.props.onShowLoginDropdown(e)||!0},f&&(y=n(s).createElement(ja,{onShowLoginPopup:this.props.onShowLoginPopup,onShowSignupPopup:this.props.onShowSignupPopup,onHideLoginDropdown:this.handleHideLoginDropdown,planAmount:e}))),n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"export header--text",...g},n(s).createElement(na,{className:h,...m},n(s).createElement("span",{className:n(pi)("dl-btn-inner",{"is-exporting":l})},v,n(s).createElement(sa,null)),l&&n(s).createElement("span",{className:"loader"},n(s).createElement(Ea,{fill:"#fff"}))),y),u&&n(s).createElement("div",{className:"export-retrymodal"},n(s).createElement("div",{className:"export-retrymodal-inner"},"Image rendering finished:",n(s).createElement("br",null),n(s).createElement("br",null),n(s).createElement(na,{ref:this.retryBtnRef,className:"retry-btn",type:"button",onClick:e=>{Promise.resolve().then((async()=>{await u(e),this.setState({retryModalOnClick:null})})).catch((e=>{e.customMessage="Error retrying exporting document.",(0,be.addViaToError)(e,"Export.retryModal"),this.props.onSetError(e)}))}},"Complete download",n(s).createElement(sa,null)))))}constructor(e){super(e),(0,ue.default)(this,"_onTriggerExport",(({copy:e,saveAs:t,dlType:r,via:n})=>{if(r){if(!{[Ce.DL_TYPE_IMAGE]:!0,[Ce.DL_TYPE_PDF]:!0}[r])throw new Error(`UNKNOWN DL TYPE: ${r}`)}else r=null;const o=!0===e?Sa:!0===t?Ca:_a;n=n||"keyboard",this.doExport(n,r,o)})),(0,ue.default)(this,"makeHandleClick",(e=>t=>{this.doExport("mouse",e)})),(0,ue.default)(this,"handleHideLoginDropdown",(()=>{this.state.hasDismissedSlidedown||this.setState({hasDismissedSlidedown:!0}),this.props.onHideLoginDropdown()})),this.state={isExporting:!1,retryModalOnClick:null,autoSlidedownEnabled:!1,hasDismissedSlidedown:!1,showDownloadOptions:!1},this.retryBtnRef=n(s).createRef(),this._clearDLOptsHover=()=>this.setState({showDownloadOptions:!1}),this._clearDLOptsHoverDebounced=(0,ve.debounce)(this._clearDLOptsHover,300)}}(0,ue.default)(Ta,"propTypes",{layers:n(d).array,browserTemplate:n(d).object,cropBox:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}).isRequired,base:n(d).shape({img:n(d).object.isRequired,src:n(d).string.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired,pixelDensity:n(d).number.isRequired}),format:n(d).oneOf(["jpg","png"]).isRequired,links:n(d).arrayOf(n(d).shape({bounds:n(d).arrayOf(n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired})),url:n(d).string.isRequired})),pastCount:n(d).number.isRequired,lastDlType:n(d).oneOf([Ce.DL_TYPE_IMAGE,Ce.DL_TYPE_PDF]).isRequired,user:n(d).shape({isLoggedIn:n(d).bool.isRequired,hasPreviouslyLoggedIn:n(d).bool.isRequired,isSubOk:n(d).bool.isRequired}),isShowLoginDropdown:n(d).bool.isRequired,planAmount:n(d).number.isRequired,onSetError:n(d).func.isRequired,onShowLoginPopup:n(d).func.isRequired,onShowLoginDropdown:n(d).func.isRequired,onHideLoginDropdown:n(d).func.isRequired,onUpdateLastDlType:n(d).func.isRequired});const Ra=({children:e,className:t})=>{const[r,o]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{o(!0)}),[]),(0,s.useEffect)((()=>()=>{o(!1)}),[]),n(s).createElement("div",{className:n(pi)("exportdropdown",t)},n(s).createElement("div",{className:n(pi)("exportdropdown--content",{show:r})},e))},ja=({onShowLoginPopup:e,onShowSignupPopup:t,onHideLoginDropdown:r,planAmount:o})=>n(s).createElement(Ra,{className:"logindropdown"},n(s).createElement("p",null,(0,bn.tr)("Sign up for a free 7-day trial to unlock the editor and download your masterpiece.")),n(s).createElement("p",null,n(s).createElement(na,{className:"checkout",onClick:()=>{Ma("checkout"),t()}},(0,bn.tr)("Start your free trial"))),n(s).createElement("p",{className:"small"},n(s).createElement(aa,{cents:o,monthly:!0,simplify:!0}),"/mo ",`(${(0,bn.tr)("billed annually")})`," ",n(s).createElement("span",{className:"nowrap"},(0,bn.tr)("upon trial completion"),",")," ",n(s).createElement("span",{className:"nowrap"},(0,bn.tr)("cancel anytime"))),n(s).createElement("p",{className:"small"},n(s).createElement("a",{className:"plainlink underline",href:Ce.PREMIUM_URL,target:"_blank",rel:"noopener noreferrer",onClick:()=>{Ma("learnMore")}},(0,bn.tr)("Learn more")),n(s).createElement("a",{href:"#",className:"plainlink underline",onClick:e=>{e.preventDefault(),Ma("noThanks"),r()}},(0,bn.tr)("No thanks continue editing")),n(s).createElement("a",{href:"#",className:"plainlink underline",onClick:e},(0,bn.tr)("Sign in with existing account")))),Pa=({onClickDownloadImage:e,onClickDownloadPdf:t,lastDlType:r,format:o})=>{const i=[{name:`${(0,bn.tr)("Download image","actionDownloadImage")} (${o&&o.toUpperCase()})`,Icon:la,onClick:e,dlType:Ce.DL_TYPE_IMAGE},{name:(0,bn.tr)("Download PDF","actionDownloadPDF"),Icon:ca,onClick:t,dlType:Ce.DL_TYPE_PDF}],[a,l]=(0,s.useState)(r);return n(s).createElement(Ra,{className:"exportoptionsdropdown"},n(s).createElement("ul",null,i.map((({name:e,Icon:t,onClick:r,dlType:o})=>{return n(s).createElement("li",{key:e,className:n(pi)({active:o===a}),onClick:(i=r,e=>(e.preventDefault(),e.stopPropagation(),i(e))),onMouseOver:()=>{l(o)}},n(s).createElement(t,{fitWidth:16,fitHeight:16})," ",e);var i}))))},Ma=e=>{u.default.event("loginDropdown",e)},Da=(e,t,r)=>{const n=`${e.innerHTML}`;return`data:image/svg+xml;base64,${(0,Gi.btoaUTF8)(n)}`},Aa=(e,t)=>{Object.entries(t).forEach((([t,r])=>{e.style[t]=r}))},La=e=>e.slice(0).reverse();var Na=Ta;Ce=a("jmw9X");const Ia=(e,t,r,n={})=>{const{outerWidth:o,outerHeight:i,screenX:a,screenY:s}=window;r=Object.assign({},r);let{width:l,height:u,left:c,top:d}=r;const{center:p,focus:f}=n;l=l||window.outerWidth,u=u||window.outerHeight,Object.assign(r,{width:l,height:u}),p&&(c=a+(o-l)/2,c<0&&(c=100),d=s+(i-u)/2,d<0&&(d=100),Object.assign(r,{left:c,top:d}));const h=Object.entries(r).map((([e,t])=>`${e}=${"boolean"==typeof t?t?"yes":"no":t}`)).join(","),g=window.open(e,t||"_blank",h);return f&&g.focus(),g},Ha=()=>Ba(Ce.IFRAME_LOGIN_URL),Fa=()=>Ba(Ce.IFRAME_SIGNUP_URL),Ba=e=>{Ia(e,"fpsc_login",{width:540,height:770,menubar:!1,toolbar:!1,location:!0,status:!1,scrollbars:!0},{center:!0,focus:!0})};var Ua=le((e=>({base:e.base.img?e.base:null,format:e.capture&&e.capture.format||"png",border:Di(e),browserTemplate:Hi(e),cropBox:Li(e),layers:Ti(e),links:e.capture.links||null,pastCount:e.undos.past.length,lastDlType:e.capture.lastDlType,user:Wi(e),isShowLoginDropdown:e.editor.showLoginDropdown||!1,planAmount:e.capture.planAmount})),(e=>({onSetError:t=>e(yn(t)),onShowLoginDropdown:()=>e({type:sr,payload:{showLoginDropdown:!0}}),onHideLoginDropdown:()=>e({type:lr,payload:{showLoginDropdown:!1}}),onShowLoginPopup:()=>Ha(),onShowSignupPopup:()=>Fa(),onUpdateLastDlType:t=>e(Le(t))})))(Na),qa=(fi=a("8P88O"),u=a("cEw93"),ue=a("lSPyV"),Ne=a("yZcwP"),d=a("cAnjR"),s=a("2q4iO"),fi=a("8P88O"),ke=a("ecsdh"),a("cTlMU")),Wa=(ki=a("dqmzj"),ue=a("lSPyV"),Ne=a("yZcwP"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),a("h4XuO"));bn=a("iMjBX"),ke=a("ecsdh");const za=[],Va=(e,t,r)=>{let n=za.find((t=>t.elt===e));if(n||(n={elt:e,evts:{}},za.push(n)),!n.evts[t]){const r=[],o=Ya(r);n.evts[t]={handler:o,fns:r},e.addEventListener(t,o,!1)}n.evts[t].fns.push(r)},$a=(e,t,r)=>{let n=0,o=za.find(((t,r)=>(n=r,t.elt===e)));if(o&&o.evts[t]){let i=o.evts[t].fns,a=0;i.find(((e,t)=>(a=t,r===e)))&&i.splice(a,1),i.length||(e.removeEventListener(t,o.evts[t].handler),delete o.evts[t],0===Object.keys(o.evts).length&&za.splice(n,1))}},Ya=e=>t=>{e.forEach((e=>{e.call(t.target,t)}))};Te=a("l6VXY"),Nn=a("a5i9T");const Ga=({cmd:e,ctrl:t,alt:r,shift:n,char:o})=>{const i=(0,Nn.getIsMac)(),a=[];return e&&a.push(i?"⌘":"⌃"),t&&a.push("⌃"),r&&a.push("⌥"),n&&a.push("⇧"),a.push(o),a.join("")},Ka=e=>(0,Nn.getIsMac)()?e.metaKey:e.ctrlKey,Xa=e=>"which"in e?3===e.which:"button"in e&&2===e.button,Za=e=>(null!==Ja&&!0!==e||(Ja=Qa()),Ja);let Ja=null;const Qa=()=>{let e=document.createElement("div");Object.assign(e.style,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px",left:"-9999px"}),document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth,r=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),{width:t,height:r}},es=(e,t)=>{t=t||e.currentTarget;const{targetX:r,targetY:n}=rs(e,t);return ts(t,r,n)},ts=(e,t,r)=>{const n=e.clientWidth,o=e.clientHeight;return t>=n||r>=o},rs=(e,t)=>{t=t||e.currentTarget;let{left:r,top:n}=ns(t);return{targetX:e.pageX-r,targetY:e.pageY-n}},ns=e=>{let t=0,r=0;for(;e;)t+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{left:t,top:r}},os=ke.LAYOUT_ROWS,is={[ke.LAYOUT_ROWS]:{className:"layout-rows"},[ke.LAYOUT_GRID]:{className:"layout-grid"}};let as=0;n(Ne).ok(Object.keys(is).length===ke.LAYOUTS.length,"Missing a known layout");class ss extends s.PureComponent{componentDidMount(){this._isMounted=!0,Va(window,ke.EVT_DROPDOWN_CLEAR,this._clearHover)}componentWillUnmount(){this._isMounted=!1,$a(window,ke.EVT_DROPDOWN_CLEAR,this._clearHover)}_makeRowsUl(e,t,r){const{rowClassFn:o,renderRow:i,layout:a}=this.props,{searchText:l}=this.state,{rows:u,key:c,className:d,layout:p,isSearch:f,didSearch:h}=e,g=u.length,m=u.map(((e,r)=>n(s).createElement("li",{key:e.key||e.id||r,className:n(pi)(!0===e.noInsert?"no-insert":null,o?o(e):"",e.className,{"is-link":e.isLink}),title:e.title||"",onMouseDown:n=>this.handleMouseDown(n,e,t,r),onMouseOver:t=>{if(t.preventDefault(),this.props.onSetSubCfg)if(e.subCfg){const r=t.currentTarget,n=Wa.$.offsets(r),o=Wa.$.offsets(this.wrapperRef.current),i={x:n.left-o.left,y:n.top-o.top,width:r.offsetWidth,height:r.offsetHeight};this.props.onSetSubCfg({subCfg:e.subCfg,offsets:i})}else this.props.onSetSubCfg({subCfg:null})}},i(e,t,r)))),v=is[p||a];r.add(`has-${v.className}`);const y=n(pi)(v.className,d);let b=0===g?null:n(s).createElement("ul",{key:c||t,className:y},m);return f&&(b=n(s).createElement("div",{key:c||t,className:"dropdown--search--wrap"},n(s).createElement("div",{className:"dropdown--search"},n(s).createElement("input",{ref:this.searchInputRef,type:"text",className:"dropdown--search--text",placeholder:(0,bn.tr)("search…"),value:l,onChange:this.handleSearchChange,onKeyDown:this.stopProp,onKeyUp:this.handleSearchKeyUp}),l&&n(s).createElement(mi,{onClick:this.handleClearSearch,fill:"#333"})),b,h&&0===g&&n(s).createElement("div",{className:"dropdown--search--msg"},"No matches found"))),b}render(){const{title:e,alignRight:t,icon:r,search:o,offsets:i,hideHeader:a,children:l}=this.props;let{sections:u}=this.props;const{showCount:c,searchText:d}=this.state;let p=a||this.state.hovering;if(c{let r=t.rows.slice(0,e);return e-=r.length,Object.assign({},t,{rows:r})})).filter((e=>e.rows.length>0))}const f=new Set;o&&(u=[o.fn(d.toLowerCase().trim())].concat(u));const h=u.map(((e,t)=>{const{heading:r,key:o}=e,i=this._makeRowsUl(e,t,f);return r?n(s).createElement("div",{key:o||t,className:"dropdown--heading--wrap"},n(s).createElement("div",{className:"dropdown--heading"},r),i):i})),g=n(pi)("dropdown--rows",{hover:p},Array.from(f));let m;this.props.width&&(m={width:`${this.props.width+Za().width}px`});const v=n(pi)("dropdown",this.props.className,{"align-right":t,"is-hovering":p}),y=i?{position:"absolute",left:`${i.x+i.width+1}px`,top:i.y-3+"px"}:void 0;return n(s).createElement("div",{className:v,onMouseOver:this.handleMouseOver,onMouseLeave:this.handleMouseLeave,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),style:y,ref:this.wrapperRef},!a&&n(s).createElement("span",{className:"dropdown--title header--text selectable"},e,r),n(s).createElement("div",{ref:this.listRef,style:m,className:g,onScroll:this.handleScroll},h),p&&l)}constructor(e){super(e),(0,ue.default)(this,"handleScroll",(e=>{const t=e.currentTarget,r=this._totalRows();this.state.showCount=t.scrollHeight&&this.setState(((e,t)=>({showCount:e.showCount+t.showCountIncr})))})),(0,ue.default)(this,"handleMouseOver",(e=>{this._clearHoverDebounced.clear(),(0,Te.default)(window,ke.EVT_DROPDOWN_CLEAR,{index:this.dropdownIndex,depth:this.props.depth}),this.setState({hovering:!0}),this.props.onMouseOver&&this.props.onMouseOver(e)})),(0,ue.default)(this,"handleMouseLeave",(e=>{this._clearHoverDebounced()})),(0,ue.default)(this,"handleMouseDown",((e,t,r,n)=>{!!e.target.closest("a")||(e.preventDefault(),e.stopPropagation(),t.noInsert||(this.setState({hovering:!1}),this.props.onSelectRow(t,r,n)))})),(0,ue.default)(this,"handleSearchChange",(e=>{e.stopPropagation(),this.setState({searchText:e.target.value})})),(0,ue.default)(this,"handleSearchKeyUp",(e=>{e.stopPropagation(),27===e.keyCode&&this._clearHover()})),(0,ue.default)(this,"handleClearSearch",(e=>{this.setState({searchText:""}),this.searchInputRef.current&&this.searchInputRef.current.focus()})),(0,ue.default)(this,"stopProp",(e=>{e.stopPropagation()})),(0,ue.default)(this,"_totalRows",(()=>this.props.sections.reduce(((e,{rows:t})=>e+t.length),0))),this.dropdownIndex=++as,this.state={hovering:!1,showCount:e.showCountIncr,searchText:""},this._clearHover=e=>{if(!this._isMounted)return;const t=e&&e.detail||{},r=t.depth||-1,n=t.index||-1;this.dropdownIndex!==n&&this.props.depth>=r&&(this.setState({hovering:!1}),this.props.onClear&&this.props.onClear())},this._clearHoverDebounced=(0,ve.debounce)(this._clearHover,400),this.wrapperRef=n(s).createRef(),this.listRef=n(s).createRef(),this.searchInputRef=n(s).createRef()}}(0,ue.default)(ss,"propTypes",{className:n(d).string,showCountIncr:n(d).number.isRequired,title:n(d).any.isRequired,sections:n(d).arrayOf(n(d).shape({heading:n(d).string,rows:n(d).array.isRequired,layout:n(d).oneOf(ke.LAYOUTS)})).isRequired,search:n(d).shape({fn:n(d).func.isRequired}),layout:n(d).oneOf(ke.LAYOUTS),width:n(d).number,rowClassFn:n(d).func,renderRow:n(d).func.isRequired,onSelectRow:n(d).func.isRequired,onSetSubCfg:n(d).func,onMouseOver:n(d).func,alignRight:n(d).bool.isRequired,icon:n(d).node,offsets:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),depth:n(d).number,hideHeader:n(d).bool,onClear:n(d).func}),(0,ue.default)(ss,"defaultProps",{showCountIncr:160,alignRight:!1,layout:os,depth:0});var ls=ss;const us={x:0,y:0,width:0,heigt:0};class cs extends s.PureComponent{componentDidMount(){this._mounted=!0;"shapes"===this.props.cfg.key&&(this._attachedHandler=!0,fi.on(ke.EVT_INSERT_SHAPE,this._onInsertShape))}componentWillUnmount(){this._mounted=!1,this._attachedHandler&&fi.off(ke.EVT_INSERT_SHAPE,this._onInsertShape)}render(){const{title:e,search:t,sections:r,width:o}=this.props.cfg,{offsets:i,depth:a}=this.props,{subCfg:l,subCfgEltOffsets:u}=this.state;return n(s).createElement(ls,{className:"insertwidget",title:e,search:t,sections:r,width:o,offsets:i,hideHeader:Boolean(i),renderRow:this.renderRow,onSelectRow:this.handleSelectRow,onSetSubCfg:this.handleSetSubCfg,onClear:this.handleClear,depth:a},l&&u&&n(s).createElement(cs,{...this.props,cfg:l,offsets:u,depth:a+1}))}constructor(e){super(e),(0,ue.default)(this,"_onInsertShape",(({type:e})=>{for(let t of this.props.cfg.sections)for(let r of t.rows)if(r.shape.type===e){this.handleSelectRow(r);break}})),(0,ue.default)(this,"handleSelectRow",(({shape:e,groups:t,noInsert:r})=>{if(r)return;let o=(0,qa.generateLayerId)();const{shapeDefaults:i}=this.props;i[e.type]&&(t=t?Io(t):{},Object.entries(i[e.type]).forEach((([e,r])=>{t[e]=Object.assign(t[e]||{},r)})));const{browserTemplate:a,cropBox:s,zoom:l}=this.props,{centerX:u,centerY:c,width:d,height:p}=(0,ki.getCenterCoords)(a,s,l);let f,h,g=0,m=0;e.type===jo?(f=g+200,h=m+100):e.type===So?(f=g+t.icon.width,h=m+t.icon.height,n(Ne).number(f,"InsertWidget.handleClick.icon.x2"),n(Ne).number(h,"InsertWidget.handleClick.icon.y2")):e.isSquare&&e.isBox?(f=g+100,h=m+100):e.isBox?(f=g+200,h=m+100):(f=g+150,h=m+0),[g,f]=[u-Math.floor((g+f)/2),u+Math.ceil((g+f)/2)],[m,h]=[c-Math.floor((m+h)/2),c+Math.ceil((m+h)/2)],n(Ne).number(g,"x1"),n(Ne).number(m,"y1"),n(Ne).number(f,"x2"),n(Ne).number(h,"y2");const v=e.addToBottom||!1;this.props.addLayer(o,e.type,g,m,f,h,t,v)})),(0,ue.default)(this,"handleSetSubCfg",(({subCfg:e,offsets:t})=>{if(e&&t){const r=357,n=60;t.y+r>window.innerHeight&&(t.y=Math.max(n,window.innerHeight-r)),this.setState({subCfg:e,subCfgEltOffsets:t})}else this.setState({subCfg:null,subCfgEltOffsets:us})})),(0,ue.default)(this,"handleClear",(()=>{this.setState({subCfg:null,subCfgEltOffsets:us})})),(0,ue.default)(this,"renderRow",(({shape:e,groups:t,text:r,title:o,className:i,imgData:a,subCfg:l})=>(r=r||e.title,a?n(s).createElement("img",{src:a.src1x,srcSet:`${a.src2x} 2x`,width:a.width,height:a.height,alt:r}):e.Icon?n(s).createElement("div",{className:"layout-row--icon"},e.insertKey&&n(s).createElement("span",{className:"insert-shortcut"},e.insertKey),n(s).createElement(e.Icon,{className:"insert-icon"}),r):r))),this.state={subCfg:null,subCfgEltOffsets:us}}}(0,ue.default)(cs,"defaultProps",{depth:0}),(0,ue.default)(cs,"propTypes",{cfg:n(d).shape({key:n(d).string.isRequired,title:n(d).string.isRequired,search:n(d).shape({fn:n(d).func.isRequired}),sections:n(d).arrayOf(n(d).shape({heading:n(d).string,rows:n(d).arrayOf(n(d).shape({title:n(d).string,shape:n(d).object.isRequired,groups:n(d).object,text:n(d).string,imgData:n(d).object})),layout:n(d).oneOf(ke.LAYOUTS).isRequired,isSearch:n(d).bool})).isRequired}).isRequired,zoom:n(d).number.isRequired,browserTemplate:n(d).object,cropBox:n(d).object,shapeDefaults:n(d).object,offsets:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),depth:n(d).number});var ds=cs;ke=a("ecsdh"),s=a("2q4iO"),bn=a("iMjBX"),s=a("2q4iO");const ps=({fill:e="#666",...t})=>n(s).createElement("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},n(s).createElement("path",{d:"M8 4L1.27147e-07 7.99998L0 -3.49691e-07L8 4Z",fill:e}));ps.displayName="MoreArrow";var fs=ps;s=a("2q4iO");const hs=({className:e})=>n(s).createElement("div",{style:{width:"26px",height:"26px",display:"inline-block",fontSize:"16px",lineHeight:"24px",textAlign:"center"},className:e},"🙂");hs.displayName="ShapeSticker";var gs,ms=hs;ke=a("ecsdh"),In=a("5Notz");gs=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("fvKcl");var vs;vs=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("jtveH");var ys;ys=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("2jUli");var bs;bs=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("iGc9m");var xs={default:{width:25,height:25,densities:{"1x":n(ys),"2x":n(bs)}},pointer:{width:25,height:25,densities:{"1x":n(gs),"2x":n(vs)}}};const ws={key:"stickers",title:(0,bn.tr)("Stickers"),width:256,sections:[{key:"icons",heading:(0,bn.tr)("Elements"),rows:Object.entries(xs).map((([e,t])=>{let r={src1x:t.densities["1x"],src2x:t.densities["2x"],width:t.width,height:t.height};return{title:"",text:e,shape:Lo[So],groups:{icon:r},imgData:r}})),layout:ke.LAYOUT_GRID}]};if(In.default.forEach((({group:e,emojis:t})=>{ws.sections.push({key:`emojis-${e}`,heading:e,rows:t.map((({text:e,name:t})=>({title:t,text:e,shape:Lo[_o],className:"emoji",groups:{text:{text:e}}}))),layout:ke.LAYOUT_GRID})})),In.default.length){let e=48;ws.search={fn:t=>{let r=!1,n=[];return((t=t.startsWith("num")?"keycap":{smile:"smil","?":"question","!":"exclam",x:"cross"}[t]||t).length>=2||/^\d+$/.test(t))&&(r=!0,n=ws.sections.reduce(((r,{rows:n})=>r.length>=e?r:r.concat(n.filter((({title:e})=>~e.indexOf(t))))),[]),n.length>e&&(n=n.slice(0,e))),{heading:"",rows:n,layout:ke.LAYOUT_GRID,isSearch:!0,didSearch:r}}}}var Es=[{key:"shapes",title:(0,bn.tr)("Shapes"),sections:[{key:"shapes",heading:"",rows:Object.entries(Lo).filter((([e,t])=>!t.hide)).map((([e,t])=>({shape:t}))),layout:ke.LAYOUT_ROWS},{key:"stickers",heading:"",rows:[{shape:{title:"Stickers…",Icon:ms,insertKey:n(s).createElement(fs,{className:"insert-arrow"})},subCfg:ws,noInsert:!0}],layout:ke.LAYOUT_ROWS}]}].map((e=>le((t=>({cfg:e,zoom:t.editor.zoom||100,browserTemplate:Hi(t),cropBox:Li(t),shapeDefaults:t.shapeDefaults})),(e=>({addLayer:(t,r,n,o,i,a,s,l)=>(u.default.event("editor_insert",r,"dropdown"),(0,fi.trigger)(ke.EVT_ADD_LAYER,{id:t}),e(Ut(t,r,n,o,i,a,s,l)))})))(ds)));u=a("cEw93"),s=a("2q4iO"),bn=a("iMjBX"),d=a("cAnjR");const Os=e=>{let t={cursor:"pointer",userSelect:"none"};return n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"header--text selectable",style:t,onClick:t=>e.onUndo()},(0,bn.tr)("Undo")," (",e.pastCount,")"),n(s).createElement("div",{className:"header--text selectable",style:t,onClick:t=>e.onRedo()},(0,bn.tr)("Redo")," (",e.futureCount,")"))};Os.propTypes={pastCount:n(d).number.isRequired,futureCount:n(d).number.isRequired,onUndo:n(d).func.isRequired,onRedo:n(d).func.isRequired};var _s=Os;var Ss=le((e=>({pastCount:e.undos.past.length,futureCount:e.undos.future.length})),(e=>({onUndo:()=>(u.default.event("editor_undo","undo"),e(Wr.ActionCreators.undo())),onRedo:()=>(u.default.event("editor_undo","redo"),e(Wr.ActionCreators.redo()))})))(_s),Cs=(u=a("cEw93"),ue=a("lSPyV"),s=a("2q4iO"),d=a("cAnjR"),ue=a("lSPyV"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),ke=a("ecsdh"),Te=a("l6VXY"),ue=a("lSPyV"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),s=a("2q4iO"),{});Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.ReactCSS=Cs.loop=Cs.handleActive=Cs.handleHover=Cs.hover=void 0;var ks={};Object.defineProperty(ks,"__esModule",{value:!0}),ks.flattenNames=void 0;var Ts,Rs={};Ts=(Tu=a("69qW4")).Symbol;var js={},Ps=Object.prototype,Ms=Ps.hasOwnProperty,Ds=Ps.toString,As=Ts?Ts.toStringTag:void 0;js=function(e){var t=Ms.call(e,As),r=e[As];try{e[As]=void 0;var n=!0}catch(e){}var o=Ds.call(e);return n&&(t?e[As]=r:delete e[As]),o};var Ls={},Ns=Object.prototype.toString;Ls=function(e){return Ns.call(e)};var Is="[object Null]",Hs="[object Undefined]",Fs=Ts?Ts.toStringTag:void 0;Rs=function(e){return null==e?void 0===e?Hs:Is:Fs&&Fs in Object(e)?js(e):Ls(e)};var Bs={},Us=Array.isArray;Bs=Us;var qs={};qs=function(e){return null!=e&&"object"==typeof e};var Ws="[object String]";var zs,Vs=Qd((function(e){return"string"==typeof e||!Bs(e)&&qs(e)&&Rs(e)==Ws})),$s={},Ys={},Gs={};Gs=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}};var Ks=Gs();Ys=Ks;var Xs={},Zs={},Js={};Js=function(e,t){for(var r=-1,n=Array(e);++r-1&&e%1==0&&e-1&&e%1==0&&e<=fl};var hl={};hl["[object Float32Array]"]=hl["[object Float64Array]"]=hl["[object Int8Array]"]=hl["[object Int16Array]"]=hl["[object Int32Array]"]=hl["[object Uint8Array]"]=hl["[object Uint8ClampedArray]"]=hl["[object Uint16Array]"]=hl["[object Uint32Array]"]=!0,hl["[object Arguments]"]=hl["[object Array]"]=hl["[object ArrayBuffer]"]=hl["[object Boolean]"]=hl["[object DataView]"]=hl["[object Date]"]=hl["[object Error]"]=hl["[object Function]"]=hl["[object Map]"]=hl["[object Number]"]=hl["[object Object]"]=hl["[object RegExp]"]=hl["[object Set]"]=hl["[object String]"]=hl["[object WeakMap]"]=!1,cl=function(e){return qs(e)&&pl(e.length)&&!!hl[Rs(e)]};var gl={};gl=function(e){return function(t){return e(t)}};var ml=(hf=a("39aHY"))&&hf.isTypedArray,vl=ml?gl(ml):cl;dl=vl;var yl=Object.prototype.hasOwnProperty;Zs=function(e,t){var r=Bs(e),n=!r&&Qs(e),o=!r&&!n&&al(e),i=!r&&!n&&!o&&dl(e),a=r||n||o||i,s=a?Js(e.length,String):[],l=s.length;for(var u in e)!t&&!yl.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||sl(u,l))||s.push(u);return s};var bl={},xl={},wl=Object.prototype;xl=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||wl)};var El={},Ol={};Ol=function(e,t){return function(r){return e(t(r))}};var _l=Ol(Object.keys,Object);El=_l;var Sl=Object.prototype.hasOwnProperty;bl=function(e){if(!xl(e))return El(e);var t=[];for(var r in Object(e))Sl.call(e,r)&&"constructor"!=r&&t.push(r);return t};var Cl={},kl={},Tl={};Tl=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Rl="[object AsyncFunction]",jl="[object Function]",Pl="[object GeneratorFunction]",Ml="[object Proxy]";kl=function(e){if(!Tl(e))return!1;var t=Rs(e);return t==jl||t==Pl||t==Rl||t==Ml},Cl=function(e){return null!=e&&pl(e.length)&&!kl(e)},Xs=function(e){return Cl(e)?Zs(e):bl(e)},$s=function(e,t){return e&&Ys(e,t,Xs)};var Dl={},Al={};Al=function(e){return e},Dl=function(e){return"function"==typeof e?e:Al};var Ll=Qd(zs=function(e,t){return e&&$s(e,Dl(t))}),Nl={},Il=Ol(Object.getPrototypeOf,Object);Nl=Il;var Hl="[object Object]",Fl=Function.prototype,Bl=Object.prototype,Ul=Fl.toString,ql=Bl.hasOwnProperty,Wl=Ul.call(Object);var zl=Qd((function(e){if(!qs(e)||Rs(e)!=Hl)return!1;var t=Nl(e);if(null===t)return!0;var r=ql.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ul.call(r)==Wl})),Vl={};Vl=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r-1};var ou;function iu(e){var t=-1,r=null==e?0:e.length;for(this.clear();++ts))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&dc?new oc:void 0;for(i.set(e,t),i.set(t,e);++d0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,Jd.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,zl.default)(t)?(0,Ll.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,Vs.default)(t)&&r.push(t)})),r};ks.default=ep;var tp=Qf(ks),rp={};Object.defineProperty(rp,"__esModule",{value:!0}),rp.mergeClasses=void 0;var np=Rf(zs),op={},ip={};ip=function(e,t){for(var r=-1,n=null==e?0:e.length;++r1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,kf.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,np.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=Tf({},r[t],n[t])})),t})),r};rp.default=jf;var Pf=Qf(rp),Mf={};Object.defineProperty(Mf,"__esModule",{value:!0}),Mf.autoprefix=void 0;var Df,Af=(Df=zs)&&Df.__esModule?Df:{default:Df},Lf=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var a=arguments.length,s=Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var a=arguments.length,s=Array(a),l=0;l1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r};var Jf=Qf(Zf);function Qf(e){return e&&e.__esModule?e:{default:e}}Cs.hover=zf.default,Cs.handleHover=zf.default,Cs.handleActive=Xf.default,Cs.loop=Jf.default;var eh=Cs.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;na?1:Math.round(100*c/a)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var p=void 0;if(n!==(p=u<0?0:u>i?1:Math.round(100*u/i)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},lh(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,(0,s.PureComponent)||(0,s.Component)),sh(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=n(Cs)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:ah({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return n(s).createElement("div",{style:r.alpha},n(s).createElement("div",{style:r.checkboard},n(s).createElement(ih,{renderers:this.props.renderers})),n(s).createElement("div",{style:r.gradient}),n(s).createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n(s).createElement("div",{style:r.pointer},this.props.pointer?n(s).createElement(this.props.pointer,this.props):n(s).createElement("div",{style:r.slider}))))}}]),t}(),ch=uh,dh=(s=a("2q4iO"),function(){function e(e,t){for(var r=0;r-1)){var o=r.getArrowOffset(),i=38===e.keyCode?n+o:n-o;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+fh++,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,(0,s.PureComponent)||(0,s.Component)),dh(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=n(Cs)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return n(s).createElement("div",{style:t.wrap},n(s).createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?n(s).createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(),gh=hh,mh=(s=a("2q4iO"),function(){function e(e,t){for(var r=0;ri?0:360*(-100*u/i+100)/100,r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var d=void 0;if(d=l<0?0:l>o?359:100*l/o*360/100,r.h!==d)return{h:d,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null}(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},vh(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,(0,s.PureComponent)||(0,s.Component)),mh(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,o=n(Cs)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return n(s).createElement("div",{style:o.hue},n(s).createElement("div",{className:"hue-"+r,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n(s).createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),n(s).createElement("div",{style:o.pointer},this.props.pointer?n(s).createElement(this.props.pointer,this.props):n(s).createElement("div",{style:o.slider}))))}}]),t}(),bh=yh;s=a("2q4iO"),d=a("cAnjR");var xh=function(){this.__data__=[],this.size=0};var wh=function(e,t){return e===t||e!=e&&t!=t};var Eh=function(e,t){for(var r=e.length;r--;)if(wh(e[r][0],t))return r;return-1},Oh=Array.prototype.splice;var _h=function(e){var t=this.__data__,r=Eh(t,e);return!(r<0)&&(r==t.length-1?t.pop():Oh.call(t,r,1),--this.size,!0)};var Sh=function(e){var t=this.__data__,r=Eh(t,e);return r<0?void 0:t[r][1]};var Ch=function(e){return Eh(this.__data__,e)>-1};var kh=function(e,t){var r=this.__data__,n=Eh(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Th(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=dm};var fm=function(e){return null!=e&&pm(e.length)&&!Zh(e)};var hm=function(e){return nm(e)&&fm(e)},gm=a("2AlpI"),mm="[object Object]",vm=Function.prototype,ym=Object.prototype,bm=vm.toString,xm=ym.hasOwnProperty,wm=bm.call(Object);var Em=function(e){if(!nm(e)||Vh(e)!=mm)return!1;var t=Qg(e);if(null===t)return!0;var r=xm.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&bm.call(r)==wm},Om={};Om["[object Float32Array]"]=Om["[object Float64Array]"]=Om["[object Int8Array]"]=Om["[object Int16Array]"]=Om["[object Int32Array]"]=Om["[object Uint8Array]"]=Om["[object Uint8ClampedArray]"]=Om["[object Uint16Array]"]=Om["[object Uint32Array]"]=!0,Om["[object Arguments]"]=Om["[object Array]"]=Om["[object ArrayBuffer]"]=Om["[object Boolean]"]=Om["[object DataView]"]=Om["[object Date]"]=Om["[object Error]"]=Om["[object Function]"]=Om["[object Map]"]=Om["[object Number]"]=Om["[object Object]"]=Om["[object RegExp]"]=Om["[object Set]"]=Om["[object String]"]=Om["[object WeakMap]"]=!1;var _m=function(e){return nm(e)&&pm(e.length)&&!!Om[Vh(e)]};var Sm,Cm=a("fiSp1"),km=Cm.default&&Cm.default.isTypedArray,Tm=km?(Sm=km,function(e){return Sm(e)}):_m;var Rm=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},jm=Object.prototype.hasOwnProperty;var Pm=function(e,t,r){var n=e[t];jm.call(e,t)&&wh(n,r)&&(void 0!==r||t in e)||Ug(e,t,r)};var Mm=function(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i-1&&e%1==0&&e0){if(++t>=Qm)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},nv=rv(Jm);var ov=function(e,t){return nv(Km(e,t,$m),e+"")};var iv=function(e,t,r){if(!$h(r))return!1;var n=typeof t;return!!("number"==n?fm(r)&&Nm(t,r.length):"string"==n&&t in r)&&wh(r[t],e)};var av,sv=(av=function(e,t,r){Vm(e,t,r)},ov((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=av.length>3&&"function"==typeof o?(n--,o):void 0,i&&iv(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r=t||r<0||d&&e-u>=i}function g(){var e=cv();if(h(e))return m(e);s=setTimeout(g,function(e){var r=t-(e-l);return d?Sv(r,i-(e-u)):r}(e))}function m(e){return s=void 0,p&&n?f(e):(n=o=void 0,a)}function v(){var e=cv(),r=h(e);if(n=arguments,o=this,l=e,r){if(void 0===s)return function(e){return u=e,s=setTimeout(g,t),c?f(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(g,t),f(l)}return void 0===s&&(s=setTimeout(g,t)),a}return t=Ev(t)||0,$h(r)&&(c=!!r.leading,i=(d="maxWait"in r)?_v(Ev(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),v.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=o=s=void 0},v.flush=function(){return void 0===s?a:m(cv())},v},kv="Expected a function";var Tv=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError(kv);return $h(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Cv(e,t,{leading:n,maxWait:t,trailing:o})},Rv=function(){function e(e,t){for(var r=0;ro&&(l=o),u<0?u=0:u>i&&(u=i);var c=l/o,d=1-u/i;return{h:t.h,s:c,v:d,a:t.a,source:"hsv"}}(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=Tv((function(e,t,r){e(t,r)}),50),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,(0,s.PureComponent)||(0,s.Component)),Rv(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,o=t.white,i=t.black,a=t.pointer,l=t.circle,u=n(Cs)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:o,black:i,pointer:a,circle:l}},{custom:!!this.props.style});return n(s).createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n(s).createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),n(s).createElement("div",{style:u.white,className:"saturation-white"},n(s).createElement("div",{style:u.black,className:"saturation-black"}),n(s).createElement("div",{style:u.pointer},this.props.pointer?n(s).createElement(this.props.pointer,this.props):n(s).createElement("div",{style:u.circle}))))}}]),t}();s=a("2q4iO");var Pv=function(e,t){for(var r=-1,n=null==e?0:e.length;++r1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=R(e,360),t=R(t,100),r=R(r,100),0===t)n=o=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(n.h,l,c),d=!0,p="hsl"),n.hasOwnProperty("a")&&(s=n.a));var f,h,g;return s=T(s),{ok:d,format:n.format||p,r:i(255,a(o.r,0)),g:i(255,a(o.g,0)),b:i(255,a(o.b,0)),a:s}}(s);this._originalInput=s,this._r=c.r,this._g=c.g,this._b=c.b,this._a=c.a,this._roundA=o(100*this._a)/100,this._format=u.format||c.format,this._gradientType=u.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=c.ok,this._tc_id=n++}function u(e,t,r){e=R(e,255),t=R(t,255),r=R(r,255);var n,o,s=a(e,t,r),l=i(e,t,r),u=(s+l)/2;if(s==l)n=o=0;else{var c=s-l;switch(o=u>.5?c/(2-s-l):c/(s+l),s){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(l(n));return i}function S(e,t){t=t||6;for(var r=l(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(l({h:n,s:o,v:i})),i=(i+s)%1;return a}l.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var t,r,n,o=this.toRgb();return t=o.r/255,r=o.g/255,n=o.b/255,.2126*(t<=.03928?t/12.92:e.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:e.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=o(360*e.h),r=o(100*e.s),n=o(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=o(360*e.h),r=o(100*e.s),n=o(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,i){var a=[M(o(e).toString(16)),M(o(t).toString(16)),M(o(r).toString(16)),M(A(n))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*R(this._r,255))+"%",g:o(100*R(this._g,255))+"%",b:o(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*R(this._r,255))+"%, "+o(100*R(this._g,255))+"%, "+o(100*R(this._b,255))+"%)":"rgba("+o(100*R(this._r,255))+"%, "+o(100*R(this._g,255))+"%, "+o(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(k[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=l(e);r="#"+p(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return l(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},l.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return l(e,t)},l.equals=function(e,t){return!(!e||!t)&&l(e).toRgbString()==l(t).toRgbString()},l.random=function(){return l.fromRatio({r:s(),g:s(),b:s()})},l.mix=function(e,t,r){r=0===r?0:r||50;var n=l(e).toRgb(),o=l(t).toRgb(),i=r/100;return l({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},l.readability=function(t,r){var n=l(t),o=l(r);return(e.max(n.getLuminance(),o.getLuminance())+.05)/(e.min(n.getLuminance(),o.getLuminance())+.05)},l.isReadable=function(e,t,r){var n,o,i=l.readability(e,t);switch(o=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},l.mostReadable=function(e,t,r){var n,o,i,a,s=null,u=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var c=0;cu&&(u=n,s=l(t[c]));return l.isReadable(e,s,{level:i,size:a})||!o?s:(r.includeFallbackColors=!1,l.mostReadable(e,["#fff","#000"],r))};var C=l.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},k=l.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(C);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function R(t,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(t)&&(t="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(t);return t=i(r,a(0,parseFloat(t))),n&&(t=parseInt(t*r,10)/100),e.abs(t-r)<1e-6?1:t%r/parseFloat(r)}function j(e){return i(1,a(0,e))}function P(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function A(t){return e.round(255*parseFloat(t)).toString(16)}function L(e){return P(e)/255}var N,I,H,F=(I="[\\s|\\(]+("+(N="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",H="[\\s|\\(]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",{CSS_UNIT:new RegExp(N),rgb:new RegExp("rgb"+I),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+I),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+I),hsva:new RegExp("hsva"+H),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!F.CSS_UNIT.exec(e)}Fv?Fv=l:"function"==typeof define&&define.amd?define((function(){return l})):window.tinycolor=l}(Math);var Bv=function(e){var t,r,n=0,o=0;return r=function(t){e[t]&&(n+=1,isNaN(e[t])||(o+=1),"s"===t||"l"===t)&&/^\d+%$/.test(e[t])&&(o+=1)},(cm(t=["r","g","b","a","h","s","l","v"])?Pv:Iv)(t,Hv(r)),n===o&&e},Uv=function(e,t){var r=e.hex?n(Fv)(e.hex):n(Fv)(e),o=r.toHsl(),i=r.toHsv(),a=r.toRgb(),s=r.toHex();return 0===o.s&&(o.h=t||0,i.h=t||0),{hsl:o,hex:"000000"===s&&0===a.a?"transparent":"#"+s,rgb:a,hsv:i,oldHue:e.h||t||o.h,source:e.source}},qv=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&n(Fv)(e).isValid()},Wv=function(e){if(!e)return"#fff";var t=Uv(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},zv=function(e,t){var r=e.replace("°","");return n(Fv)(t+" ("+r+")")._ok},Vv=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var n=arguments.length,i=Array(n),a=0;as))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&dy?new sy:void 0;for(i.set(e,t),i.set(t,e);++d=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return Ox.default.createElement("svg",Ex({viewBox:"0 0 24 24",style:Ex({fill:r,width:o,height:a},l)},u),Ox.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))};var _x=function(){function e(e,t){for(var r=0;r1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(xx(e.s)?r.props.hsl.s:e.s),l:Number(xx(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,(0,n(s)).Component),_x(t,[{key:"render",value:function(){var e=this,t=n(Cs)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n(s).createElement("div",{style:t.fields,className:"flexbox-fix"},n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n(s).createElement("div",{style:t.fields,className:"flexbox-fix"},n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n(s).createElement("div",{style:t.alpha},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n(s).createElement("div",{style:t.fields,className:"flexbox-fix"},n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n(s).createElement("div",{style:t.alpha},n(s).createElement(gh,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n(s).createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n(s).createElement("div",{style:t.toggle},n(s).createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n(s).createElement(n(wx),{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}();Sx.defaultProps={view:"hex"};var Cx=Sx,kx=(s=a("2q4iO"),function(){var e=n(Cs)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n(s).createElement("div",{style:e.picker})}),Tx=(s=a("2q4iO"),function(){var e=n(Cs)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n(s).createElement("div",{style:e.picker})}),Rx=function(e){var t=e.width,r=e.onChange,o=e.disableAlpha,i=e.rgb,a=e.hsl,l=e.hsv,u=e.hex,c=e.renderers,d=e.styles,p=void 0===d?{}:d,f=e.className,h=void 0===f?"":f,g=e.defaultView,m=n(Cs)(sv({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:o});return n(s).createElement("div",{style:m.picker,className:"chrome-picker "+h},n(s).createElement("div",{style:m.saturation},n(s).createElement(jv,{style:m.Saturation,hsl:a,hsv:l,pointer:Tx,onChange:r})),n(s).createElement("div",{style:m.body},n(s).createElement("div",{style:m.controls,className:"flexbox-fix"},n(s).createElement("div",{style:m.color},n(s).createElement("div",{style:m.swatch},n(s).createElement("div",{style:m.active}),n(s).createElement(ih,{renderers:c}))),n(s).createElement("div",{style:m.toggles},n(s).createElement("div",{style:m.hue},n(s).createElement(bh,{style:m.Hue,hsl:a,pointer:kx,onChange:r})),n(s).createElement("div",{style:m.alpha},n(s).createElement(ch,{style:m.Alpha,rgb:i,hsl:a,pointer:kx,renderers:c,onChange:r})))),n(s).createElement(Cx,{rgb:i,hsl:a,hex:u,view:g,onChange:r,disableAlpha:o})))};Rx.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),disableAlpha:n(d).bool,styles:n(d).object,defaultView:n(d).oneOf(["hex","rgb","hsl"])},Rx.defaultProps={width:225,disableAlpha:!1,styles:{}};Yv(Rx),s=a("2q4iO"),d=a("cAnjR"),s=a("2q4iO");var jx=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.active,l=n(Cs)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Wv(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n(s).createElement(Jv,{style:l.color,color:t,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n(s).createElement("div",{style:l.dot}))},Px=(s=a("2q4iO"),function(e){var t=e.hex,r=e.rgb,o=e.onChange,i=n(Cs)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?o({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return n(s).createElement("div",{style:i.fields,className:"flexbox-fix"},n(s).createElement("div",{style:i.active}),n(s).createElement(gh,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:a}),n(s).createElement(gh,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:a}),n(s).createElement(gh,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:a}),n(s).createElement(gh,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:a}))}),Mx=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.colors,i=e.hex,a=e.rgb,l=e.styles,u=void 0===l?{}:l,c=e.className,d=void 0===c?"":c,p=n(Cs)(sv({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),f=function(e,r){e.hex?qv(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n(s).createElement(uv,{style:p.Compact,styles:u},n(s).createElement("div",{style:p.compact,className:"compact-picker "+d},n(s).createElement("div",null,Xb(o,(function(e){return n(s).createElement(jx,{key:e,color:e,active:e.toLowerCase()===i,onClick:f,onSwatchHover:r})})),n(s).createElement("div",{style:p.clear})),n(s).createElement(Px,{hex:i,rgb:a,onChange:f})))};Mx.propTypes={colors:n(d).arrayOf(n(d).string),styles:n(d).object},Mx.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};Yv(Mx),s=a("2q4iO"),d=a("cAnjR"),s=a("2q4iO");var Dx=(0,Cs.handleHover)((function(e){var t=e.hover,r=e.color,o=e.onClick,i=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=n(Cs)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return n(s).createElement("div",{style:l.swatch},n(s).createElement(Jv,{color:r,onClick:o,onHover:i,focusStyle:a}))})),Ax=function(e){var t=e.width,r=e.colors,o=e.onChange,i=e.onSwatchHover,a=e.triangle,l=e.styles,u=void 0===l?{}:l,c=e.className,d=void 0===c?"":c,p=n(Cs)(sv({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-left-triangle":"bottom-left"===a,"bottom-right-triangle":"bottom-right"===a}),f=function(e,t){return o({hex:e,source:"hex"},t)};return n(s).createElement("div",{style:p.card,className:"github-picker "+d},n(s).createElement("div",{style:p.triangleShadow}),n(s).createElement("div",{style:p.triangle}),Xb(r,(function(e){return n(s).createElement(Dx,{color:e,key:e,onClick:f,onSwatchHover:i})})))};Ax.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),colors:n(d).arrayOf(n(d).string),triangle:n(d).oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:n(d).object},Ax.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};Yv(Ax),s=a("2q4iO"),d=a("cAnjR"),s=a("2q4iO");var Lx=function(e){var t=e.direction,r=n(Cs)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n(s).createElement("div",{style:r.picker})},Nx=Object.assign||function(e){for(var t=1;t.5});return n(s).createElement("div",{style:r.picker})}),Bx=(s=a("2q4iO"),function(){var e=n(Cs)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n(s).createElement("div",{style:e.pointer},n(s).createElement("div",{style:e.left},n(s).createElement("div",{style:e.leftInside})),n(s).createElement("div",{style:e.right},n(s).createElement("div",{style:e.rightInside})))}),Ux=(s=a("2q4iO"),function(e){var t=e.onClick,r=e.label,o=e.children,i=e.active,a=n(Cs)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n(s).createElement("div",{style:a.button,onClick:t},r||o)}),qx=(s=a("2q4iO"),function(e){var t=e.rgb,r=e.currentColor,o=n(Cs)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n(s).createElement("div",null,n(s).createElement("div",{style:o.label},"new"),n(s).createElement("div",{style:o.swatches},n(s).createElement("div",{style:o.new}),n(s).createElement("div",{style:o.current})),n(s).createElement("div",{style:o.label},"current"))}),Wx=function(){function e(e,t){for(var r=0;r100&&(e.a=100),e.a/=100,t({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},n))};return n(s).createElement("div",{style:l.fields,className:"flexbox-fix"},n(s).createElement("div",{style:l.double},n(s).createElement(gh,{style:{input:l.input,label:l.label},label:"hex",value:i.replace("#",""),onChange:u})),n(s).createElement("div",{style:l.single},n(s).createElement(gh,{style:{input:l.input,label:l.label},label:"r",value:r.r,onChange:u,dragLabel:"true",dragMax:"255"})),n(s).createElement("div",{style:l.single},n(s).createElement(gh,{style:{input:l.input,label:l.label},label:"g",value:r.g,onChange:u,dragLabel:"true",dragMax:"255"})),n(s).createElement("div",{style:l.single},n(s).createElement(gh,{style:{input:l.input,label:l.label},label:"b",value:r.b,onChange:u,dragLabel:"true",dragMax:"255"})),n(s).createElement("div",{style:l.alpha},n(s).createElement(gh,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*r.a),onChange:u,dragLabel:"true",dragMax:"100"})))},$x=(s=a("2q4iO"),d=a("cAnjR"),Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return ow.default.createElement("svg",nw({viewBox:"0 0 24 24",style:nw({fill:r,width:o,height:a},l)},u),ow.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))};var iw=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.first,l=e.last,u=e.active,c=n(Cs)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Wv(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:l,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n(s).createElement(Jv,{color:t,style:c.color,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n(s).createElement("div",{style:c.check},n(s).createElement(n(rw),null)))},aw=function(e){var t=e.onClick,r=e.onSwatchHover,o=e.group,i=e.active,a=n(Cs)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n(s).createElement("div",{style:a.group},Xb(o,(function(e,a){return n(s).createElement(iw,{key:e,color:e,active:e.toLowerCase()===i,first:0===a,last:a===o.length-1,onClick:t,onSwatchHover:r})})))},sw=function(e){var t=e.width,r=e.height,o=e.onChange,i=e.onSwatchHover,a=e.colors,l=e.hex,u=e.styles,c=void 0===u?{}:u,d=e.className,p=void 0===d?"":d,f=n(Cs)(sv({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),h=function(e,t){return o({hex:e,source:"hex"},t)};return n(s).createElement("div",{style:f.picker,className:"swatches-picker "+p},n(s).createElement(uv,null,n(s).createElement("div",{style:f.overflow},n(s).createElement("div",{style:f.body},Xb(a,(function(e){return n(s).createElement(aw,{key:e.toString(),group:e,active:l,onClick:h,onSwatchHover:i})})),n(s).createElement("div",{style:f.clear})))))};sw.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),height:n(d).oneOfType([n(d).string,n(d).number]),colors:n(d).arrayOf(n(d).arrayOf(n(d).string)),styles:n(d).object},sw.defaultProps={width:320,height:240,colors:[[Qb[900],Qb[700],Qb[500],Qb[300],Qb[100]],[ex[900],ex[700],ex[500],ex[300],ex[100]],[tx[900],tx[700],tx[500],tx[300],tx[100]],[rx[900],rx[700],rx[500],rx[300],rx[100]],[nx[900],nx[700],nx[500],nx[300],nx[100]],[ox[900],ox[700],ox[500],ox[300],ox[100]],[ix[900],ix[700],ix[500],ix[300],ix[100]],[ax[900],ax[700],ax[500],ax[300],ax[100]],[sx[900],sx[700],sx[500],sx[300],sx[100]],["#194D33",lx[700],lx[500],lx[300],lx[100]],[ux[900],ux[700],ux[500],ux[300],ux[100]],[cx[900],cx[700],cx[500],cx[300],cx[100]],[dx[900],dx[700],dx[500],dx[300],dx[100]],[px[900],px[700],px[500],px[300],px[100]],[fx[900],fx[700],fx[500],fx[300],fx[100]],[hx[900],hx[700],hx[500],hx[300],hx[100]],[gx[900],gx[700],gx[500],gx[300],gx[100]],[mx[900],mx[700],mx[500],mx[300],mx[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};Yv(sw),s=a("2q4iO"),d=a("cAnjR");var lw=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,i=e.colors,a=e.width,l=e.triangle,u=e.styles,c=void 0===u?{}:u,d=e.className,p=void 0===d?"":d,f=n(Cs)(sv({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),h=function(e,r){qv(e)&&t({hex:e,source:"hex"},r)};return n(s).createElement("div",{style:f.card,className:"twitter-picker "+p},n(s).createElement("div",{style:f.triangleShadow}),n(s).createElement("div",{style:f.triangle}),n(s).createElement("div",{style:f.body},Xb(i,(function(e,t){return n(s).createElement(Jv,{key:t,color:e,hex:e,style:f.swatch,onClick:h,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n(s).createElement("div",{style:f.hash},"#"),n(s).createElement(gh,{label:null,style:{input:f.input},value:o.replace("#",""),onChange:h}),n(s).createElement("div",{style:f.clear})))};lw.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),triangle:n(d).oneOf(["hide","top-left","top-right"]),colors:n(d).arrayOf(n(d).string),styles:n(d).object},lw.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};Yv(lw),s=a("2q4iO"),d=a("cAnjR"),s=a("2q4iO"),d=a("cAnjR");var uw=function(e){var t=n(Cs)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return n(s).createElement("div",{style:t.picker})};uw.propTypes={hsl:n(d).shape({h:n(d).number,s:n(d).number,l:n(d).number,a:n(d).number})},uw.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var cw=uw,dw=(s=a("2q4iO"),d=a("cAnjR"),function(e){var t=n(Cs)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return n(s).createElement("div",{style:t.picker})});dw.propTypes={hsl:n(d).shape({h:n(d).number,s:n(d).number,l:n(d).number,a:n(d).number})},dw.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var pw=dw,fw=(s=a("2q4iO"),function(e){var t=e.onChange,r=e.rgb,o=e.hsl,i=e.hex,a=e.hsv,l=function(e,r){if(e.hex)qv(e.hex)&&t({hex:e.hex,source:"hex"},r);else if(e.rgb){var n=e.rgb.split(",");zv(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},r)}else if(e.hsv){var o=e.hsv.split(",");zv(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},r))}else if(e.hsl){var i=e.hsl.split(",");zv(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},r))}},u=n(Cs)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,d=Math.round(o.h)+"°, "+Math.round(100*o.s)+"%, "+Math.round(100*o.l)+"%",p=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.v)+"%";return n(s).createElement("div",{style:u.wrap,className:"flexbox-fix"},n(s).createElement("div",{style:u.fields},n(s).createElement("div",{style:u.double},n(s).createElement(gh,{style:{input:u.input,label:u.label},label:"hex",value:i,onChange:l})),n(s).createElement("div",{style:u.column},n(s).createElement("div",{style:u.single},n(s).createElement(gh,{style:{input:u.input2,label:u.label2},label:"rgb",value:c,onChange:l})),n(s).createElement("div",{style:u.single},n(s).createElement(gh,{style:{input:u.input2,label:u.label2},label:"hsv",value:p,onChange:l})),n(s).createElement("div",{style:u.single},n(s).createElement(gh,{style:{input:u.input2,label:u.label2},label:"hsl",value:d,onChange:l})))))}),hw=function(e){var t=e.width,r=e.onChange,o=e.rgb,i=e.hsl,a=e.hsv,l=e.hex,u=e.header,c=e.styles,d=void 0===c?{}:c,p=e.className,f=void 0===p?"":p,h=n(Cs)(sv({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+o.r+", "+o.g+", "+o.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},d));return n(s).createElement("div",{style:h.picker,className:"google-picker "+f},n(s).createElement("div",{style:h.head},u),n(s).createElement("div",{style:h.swatch}),n(s).createElement("div",{style:h.saturation},n(s).createElement(jv,{hsl:i,hsv:a,pointer:cw,onChange:r})),n(s).createElement("div",{style:h.body},n(s).createElement("div",{style:h.controls,className:"flexbox-fix"},n(s).createElement("div",{style:h.hue},n(s).createElement(bh,{style:h.Hue,hsl:i,radius:"4px",pointer:pw,onChange:r}))),n(s).createElement(fw,{rgb:o,hsl:i,hex:l,hsv:a,onChange:r})))};hw.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),styles:n(d).object,header:n(d).string},hw.defaultProps={width:652,styles:{},header:"Color picker"};Yv(hw),ke=a("ecsdh"),ue=a("lSPyV");a("cAnjR");s=a("2q4iO"),ke=a("ecsdh");class gw extends s.Component{componentDidMount(){ke.RESIZE_EVENTS.forEach((e=>window.addEventListener(e,this._debouncedCheck,!1))),this._check()}componentWillUnmount(){ke.RESIZE_EVENTS.forEach((e=>window.removeEventListener(e,this._debouncedCheck)))}render(){const{topOffset:e}=this.state;let t=Object.assign({},this.props);if(e){const r=Object.assign({},t.style);r.marginTop=`${parseInt(r.marginTop||0)+e}px`,t.style=r}return n(s).createElement("div",{...t,ref:this.eltRef})}constructor(e){super(e),(0,ue.default)(this,"_check",(()=>{const e=this.eltRef.current;if(e){const t=e.offsetTop+e.offsetHeight,r=window.innerHeight,n=this.state.topOffset;t>r&&this.setState({topOffset:n+r-t})}})),this.eltRef=n(s).createRef(),this.state={topOffset:0},this._debouncedCheck=(0,ve.debounce)(this._check,200)}}class mw extends s.PureComponent{componentDidMount(){Va(window,ke.EVT_MOUSEUP,this._clearFocused),Va(window,ke.EVT_FOCUS_FORMCONTROL,this._clearFocused)}componentWillUnmount(){$a(window,ke.EVT_MOUSEUP,this._clearFocused),$a(window,ke.EVT_FOCUS_FORMCONTROL,this._clearFocused)}render(){let{props:e,state:t}=this,r=e.value||t.lastValue||"#fff",o={backgroundColor:r},i=null;if(this.state.focused){let t={position:"absolute",right:"200px",marginTop:"-50px"};i=n(s).createElement(gw,{style:t,"data-nodispatch":"1",onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,className:"colorinput--picker"},n(s).createElement(Zx,{styles:{default:{picker:{borderRadius:0}}},color:r,onChangeComplete:this.handleChange}))}let a={colorinput:!0};return e.className&&(a[e.className]=!0),a=n(pi)(a),n(s).createElement("div",{className:a,"data-modal-ignore":"true"},n(s).createElement("input",{className:"colorinput--checkbox",type:"checkbox",checked:Boolean(e.value),onChange:this.handleCheckboxChange,onMouseUp:this.handleCheckboxMouseUp}),n(s).createElement("div",{className:"colorinput--color"},n(s).createElement("div",{className:"handle",tabIndex:0,style:o,onFocus:this.handleFocus,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,onMouseUp:e.onMouseUp})),i)}constructor(e){super(e),(0,ue.default)(this,"_clearFocused",(e=>this.setState({focused:!1}))),(0,ue.default)(this,"handleChange",(e=>{let{hex:t,rgb:r}=e,n=r.a;1!=n&&(t+=vw(n)),this.props.onUpdateValue(t),t&&this.setState({lastValue:t})})),(0,ue.default)(this,"handleFocus",(e=>{this.props.onFocus&&this.props.onFocus(),this.setState({focused:!0})})),(0,ue.default)(this,"handleCheckboxMouseUp",(e=>{e.stopPropagation()})),(0,ue.default)(this,"handleCheckboxChange",(e=>{if(e.target.checked)this.state.lastValue&&this.props.onUpdateValue(this.state.lastValue),this.state.focused||this.handleFocus(e);else{let e=!1;const t={};this.state.focused&&(e=!0,t.focused=!1),this.props.value&&this.state.lastValue!==this.props.value&&(e=!0,t.lastValue=this.props.value),e&&this.setState(t),this.props.onUpdateValue("")}})),this.state={focused:!1,lastValue:e.value||"#ffffff"}}}const vw=e=>{let t=Math.round(255*e,10).toString(16);return 1===t.length&&(t="0"+t),t};mw.propTypes={color:n(d).string};var yw=mw;class bw extends s.Component{_getTypeDetails(){return oo[this.props.type]}render(){let{props:e}=this,t=this._getTypeDetails(),r=xw(e.value),o=e.namespace?`id_${e.namespace}-${e.name}`:null;const i={type:t.inputType,className:"formcontrol--input",[t.valueAttr||"value"]:"number"===t.inputType?r.toString():r,onChange:this.handleChange},a={onKeyDown:this.stopPropagation,onKeyUp:this.stopPropagation,onMouseUp:this.stopPropagation,onFocus:this.handleFocus};let l;switch(o&&(a.id=o),Object.assign(i,a),e.widget){case Jn:i.onUpdateValue=this.handleUpdateValue,l=n(s).createElement(yw,i);break;case Zn:l=n(s).createElement("textarea",i);break;case Qn:l=n(s).createElement("select",i,e.choices.map((e=>n(s).createElement("option",{key:e.title,value:e.value},e.title))));break;case eo:l=n(s).createElement("div",{className:"formcontrol--flat-select",...a},n(s).createElement("ul",null,e.choices.map((e=>n(s).createElement("li",{className:n(pi)({active:xw(e.value)===r}),key:e.value||"_blank",onClick:t=>this.handleUpdateValue(e.value)},e.title)))));break;default:l=n(s).createElement("input",i)}const u=n(s).createElement("div",{className:n(pi)("formcontrol",e.widget&&`formcontrol--widget--${e.widget}`)},n(s).createElement("div",{className:n(pi)("formcontrol--labelwrap",e.isDim&&"formcontrol--dim")},n(s).createElement("label",{htmlFor:o,className:"formcontrol--label"},e.title||e.name)),n(s).createElement("div",{className:n(pi)("formcontrol--inputwrap",e.isDim&&"formcontrol--dim")},l)),c=e.isDim&&e.dimTitle||null;return c?n(s).createElement(n(Vi),{title:c},u):u}constructor(e){super(e),(0,ue.default)(this,"handleUpdateValue",(e=>{let{onChange:t,name:r}=this.props;t(r,this._getTypeDetails().convert(e))})),(0,ue.default)(this,"handleChange",(e=>{let t=e.target,r="checkbox"===t.type?t.checked:t.value;this.handleUpdateValue(r)})),(0,ue.default)(this,"handleFocus",(e=>{(0,Te.default)(window,ke.EVT_FOCUS_FORMCONTROL)})),(0,ue.default)(this,"stopPropagation",(e=>{e.stopPropagation()}))}}const xw=e=>null==e?"":e;bw.propTypes={namespace:n(d).string,name:n(d).string.isRequired,type:n(d).oneOf(io).isRequired,value:n(d).any,isDim:n(d).bool,dimTitle:n(d).string,onChange:n(d).func.isRequired};var ww=bw;ke=a("ecsdh"),Te=a("l6VXY");const Ew=[12.5,25,50,75,100,200,400],Ow=Ew.slice(0).reverse(),_w=Ow[0],Sw=Ew[0],Cw=e=>Ow.find((t=>tEw.find((t=>t>e))||e;class Tw extends s.Component{render(){const{zoom:e}=this.props,t=(e=>e>Sw)(e),r=(e=>e<_w)(e);return n(s).createElement("div",{className:"zoomwidget header--text"},n(s).createElement("div",{className:"zoomwidget--buttons"},n(s).createElement("button",{className:"step-btn dec-btn",type:"button",disabled:!t,onClick:this.handleClickZoomOut},"–"),n(s).createElement("button",{className:"text-btn",type:"button",onClick:this.handleClickZoomIcon},100===e?"Zoom":`${e}%`),n(s).createElement("button",{className:"step-btn inc-btn",type:"button",disabled:!r,onClick:this.handleClickZoomIn},"+")))}constructor(e){super(e),(0,ue.default)(this,"handleClickZoomOut",(e=>{const{zoom:t,onChange:r}=this.props,n=Cw(t);n!==t&&r(n,n{const{zoom:t,onChange:r}=this.props,n=kw(t);n!==t&&r(n)})),(0,ue.default)(this,"handleClickZoomIcon",(e=>{const{zoom:t}=this.props;(0,Te.default)(window,ke.EVT_MOUSE_ZOOM),document.querySelector(".editor").focus()}))}}Tw.propTypes={zoom:n(d).number,onChange:n(d).func.isRequired};var Rw=Tw;ke=a("ecsdh"),Te=a("l6VXY");var jw=le((e=>({zoom:e.editor.zoom})),(e=>({onChange:(t,r)=>((0,Te.default)(window,ke.EVT_CHANGE_ZOOM,{zoom:t}),u.default.event("editor_zoom",r?"out":"in","header",t),e(yr(t)))})))(Rw),Pw=(ue=a("lSPyV"),s=a("2q4iO"),bn=a("iMjBX"),Ne=a("yZcwP"),d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),s=a("2q4iO"),({className:e,fill:t="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("rect",{x:"3.5",y:"4.5",width:"19",height:"15",fill:"none",stroke:t}),n(s).createElement("rect",{x:"11",y:"5",width:"4",height:"2",fill:t}),n(s).createElement("rect",{x:"20",y:"5",width:"2",height:"2",fill:t}),n(s).createElement("rect",{x:"4",y:"5",width:"2",height:"2",fill:t}),n(s).createElement("rect",{x:"21",y:"10",width:"2",height:"4",fill:t}),n(s).createElement("rect",{x:"3",y:"10",width:"2",height:"4",fill:t}),n(s).createElement("rect",{x:"11",y:"17",width:"4",height:"2",fill:t}),n(s).createElement("rect",{x:"20",y:"17",width:"2",height:"2",fill:t}),n(s).createElement("rect",{x:"4",y:"17",width:"2",height:"2",fill:t})));const Mw=e=>{if(null===e.baseWidth)return null;n(Ne).number(e.baseHeight,"baseHeight not defined in Crop!");let t=e.mode===zt,r=t?(0,bn.tr)("Done Cropping"):(0,bn.tr)("Crop Image"),o=r=>{r&&r.preventDefault(),t?e.disableCrop():e.enableCrop(e.baseWidth,e.baseHeight)};return e.addClickHandler&&(e.addClickHandler(o),o=null),n(s).createElement("div",{className:"layout-row--icon",onClick:o},n(s).createElement("span",{className:"pull-right dim"},"C"),n(s).createElement(Pw,null),r)};Mw.propTypes={mode:n(d).oneOf(Vt).isRequired,baseWidth:n(d).number,baseHeight:n(d).number,enableCrop:n(d).func.isRequired,disableCrop:n(d).func.isRequired,addClickHandler:n(d).func};var Dw=Mw;var Aw=le(((e,t)=>({mode:e.editor.mode,baseWidth:e.base&&e.base.width||null,baseHeight:e.base&&e.base.height||null,addClickHandler:t.addClickHandler})),(e=>({enableCrop:(t,r)=>e(_r(t,r)),disableCrop:()=>e(Sr())})))(Dw),Lw=(d=a("cAnjR"),s=a("2q4iO"),s=a("2q4iO"),({className:e,fill:t="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("rect",{x:"3.5",y:"4.5",width:"19",height:"15",fill:"none",stroke:t}),n(s).createElement("rect",{x:"5.5",y:"6.5",width:"15",height:"11",fill:"none",stroke:t})));const Nw=({onEdit:e,addClickHandler:t,border:r,globalShapeDefaults:o})=>{let i=t=>{t&&t.preventDefault();e(!r,o.borderDefaults)};t&&(t(i),i=null);const a=Lo[Oo].title;return n(s).createElement("div",{className:"layout-row--icon",onClick:i},n(s).createElement("span",{className:"pull-right dim"},"P"),n(s).createElement(Lw,null),a)};Nw.propTypes={onEdit:n(d).func.isRequired,border:n(d).object,addClickHandler:n(d).func};var Iw=Nw;var Hw=le(((e,t)=>({addClickHandler:t.addClickHandler,border:Di(e),globalShapeDefaults:qi(e)})),(e=>({onEdit:(t,r)=>e(br(t,r))})))(Iw),Fw=(d=a("cAnjR"),s=a("2q4iO"),s=a("2q4iO"),({className:e,fill:t="#151515",fill2:r="black"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M7.20711 4.5H22.5V19.5H3.5V8.20711L7.20711 4.5Z",stroke:t}),n(s).createElement("path",{d:"M6.37158 10.4014L6.84766 12.4619L6.9502 13.0356L7.05518 12.4741L7.46045 10.4014H8.25391L8.68115 12.4619L8.79102 13.0356L8.90088 12.4839L9.38184 10.4014H10.146L9.13281 14H8.41504L7.98047 11.8955L7.85352 11.1997L7.72656 11.8955L7.29199 14H6.59375L5.57324 10.4014H6.37158ZM11.5933 10.4014L12.0693 12.4619L12.1719 13.0356L12.2769 12.4741L12.6821 10.4014H13.4756L13.9028 12.4619L14.0127 13.0356L14.1226 12.4839L14.6035 10.4014H15.3677L14.3545 14H13.6367L13.2021 11.8955L13.0752 11.1997L12.9482 11.8955L12.5137 14H11.8154L10.7949 10.4014H11.5933ZM16.8149 10.4014L17.291 12.4619L17.3936 13.0356L17.4985 12.4741L17.9038 10.4014H18.6973L19.1245 12.4619L19.2344 13.0356L19.3442 12.4839L19.8252 10.4014H20.5894L19.5762 14H18.8584L18.4238 11.8955L18.2969 11.1997L18.1699 11.8955L17.7354 14H17.0371L16.0166 10.4014H16.8149Z",fill:r})));const Bw=({isEditing:e,onEdit:t,templateId:r,addClickHandler:o})=>{let i=e=>{e&&e.preventDefault(),t()};o&&(o(i),i=null);const a=Lo[Mo].title;return n(s).createElement("div",{className:"layout-row--icon",onClick:i},n(s).createElement("span",{className:"pull-right dim"},"U"),n(s).createElement(Fw,null),a)};Bw.propTypes={templateId:n(d).string,isEditing:n(d).bool.isRequired,onEdit:n(d).func.isRequired,addClickHandler:n(d).func},Bw.defaultProps={isEditing:!1};var Uw=Bw;var qw=le(((e,t)=>({templateId:Ni(e),addClickHandler:t.addClickHandler})),(e=>({onEdit:()=>e(xr())})))(Uw);pi=a("cW7yT"),s=a("2q4iO");const Ww=()=>{const[e,t]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{let e=window.setTimeout((()=>{t(!0)}),1e3);return()=>{window.clearTimeout(e)}}),[]),n(s).createElement("span",{className:"newthrob"},n(s).createElement("span",{className:n(pi)("throb","will-fade",{"fade-in":e}),title:"New!"}))};Ww.displayName="NewThrob";var zw=Ww;const Vw=(0,bn.tr)("Formatting");class $w extends s.Component{render(){const{alignRight:e=!1,showHeaderUpdatedThrob:t,onHideHeaderUpdatedThrob:r}=this.props,o=[{className:"divider",Comps:[Aw,qw,Hw]}].map((({className:e,Comps:t,...r},o)=>({...r,className:e,rows:t.map(((e,t)=>n(s).createElement(e,{addClickHandler:this.makeAddClickHandler(o,t)})))})));return n(s).createElement(ls,{className:"headerformatting",title:n(s).createElement(n(s).Fragment,null,Vw,t&&n(s).createElement(zw,null)),onMouseOver:t?()=>r():void 0,sections:o,renderRow:this.renderRow,onSelectRow:this.onSelectRow,alignRight:e})}constructor(e){super(e),(0,ue.default)(this,"makeAddClickHandler",((e,t)=>r=>{this._clickHandlers[e]||(this._clickHandlers[e]=[]),this._clickHandlers[e][t]=r})),(0,ue.default)(this,"renderRow",(e=>e)),(0,ue.default)(this,"onSelectRow",((e,t,r)=>{this._clickHandlers[t]&&this._clickHandlers[t][r]&&this._clickHandlers[t][r]()})),this._clickHandlers=[]}}ue=a("lSPyV"),s=a("2q4iO"),bn=a("iMjBX"),d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),s=a("2q4iO");var Yw=({className:e,fill:t="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M3.5 12C3.5 6.77614 7.77614 2.5 13 2.5C18.2239 2.5 22.5 6.77614 22.5 12C22.5 17.2239 18.2239 21.5 13 21.5C7.77614 21.5 3.5 17.2239 3.5 12Z",stroke:t}),n(s).createElement("path",{d:"M12.3516 16.375H13.9062V18H12.3516V16.375ZM9.71875 10.1172C9.71875 8.99219 10.0365 8.08854 10.6719 7.40625C11.3073 6.71875 12.1797 6.375 13.2891 6.375C14.3151 6.375 15.1354 6.66927 15.75 7.25781C16.3698 7.84115 16.6797 8.58854 16.6797 9.5C16.6797 10.0521 16.5651 10.5 16.3359 10.8438C16.112 11.1875 15.6562 11.6927 14.9688 12.3594C14.4688 12.8438 14.1432 13.2552 13.9922 13.5938C13.8464 13.9271 13.7734 14.4219 13.7734 15.0781H12.3828C12.3828 14.3333 12.4714 13.7344 12.6484 13.2812C12.8255 12.8229 13.2135 12.2995 13.8125 11.7109L14.4375 11.0938C14.625 10.9167 14.776 10.7318 14.8906 10.5391C15.099 10.2005 15.2031 9.84896 15.2031 9.48438C15.2031 8.97396 15.0495 8.53125 14.7422 8.15625C14.4401 7.78125 13.9375 7.59375 13.2344 7.59375C12.3646 7.59375 11.763 7.91667 11.4297 8.5625C11.2422 8.92188 11.1354 9.4401 11.1094 10.1172H9.71875Z",fill:t}));const Gw=({addClickHandler:e,onEnable:t})=>{let r=e=>{e&&e.preventDefault(),t()};return e&&(e(r),r=null),n(s).createElement("div",{className:"layout-row--icon",onClick:r},n(s).createElement(Yw,null),(0,bn.tr)("Help / Shortcuts"))};Gw.propTypes={onEnable:n(d).func.isRequired};var Kw=Gw;var Xw=le(((e,t)=>({})),(e=>({onEnable:()=>e(wr(!0))})))(Kw),Zw=(d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),s=a("2q4iO"),({className:e,fill:t="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("line",{x1:"5.5",y1:"4",x2:"5.5",y2:"20",stroke:t}),n(s).createElement("line",{x1:"12.5",y1:"4",x2:"12.5",y2:"20",stroke:t}),n(s).createElement("line",{x1:"19.5",y1:"4",x2:"19.5",y2:"20",stroke:t}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6H7V7H8V10H7V11H4V10H3V7H4V6Z",fill:t}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 13H14V14H15V17H14V18H11V17H10V14H11V13Z",fill:t}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 7H21V8H22V11H21V12H18V11H17V8H18V7Z",fill:t})));const Jw=({addClickHandler:e,onEnable:t})=>{let r=e=>{e&&e.preventDefault(),t()};return e&&(e(r),r=null),n(s).createElement("div",{className:"layout-row--icon",onClick:r},n(s).createElement(Zw,null),(0,bn.tr)("Set theme defaults"))};Jw.propTypes={onEnable:n(d).func.isRequired};var Qw=Jw;var eE=le(((e,t)=>({})),(e=>({onEnable:()=>e(Er(!0))})))(Qw),tE=(s=a("2q4iO"),({fill:e="#fff"})=>n(s).createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0.5L5 5.5L10 0.5H0Z",fill:e}))),rE=(d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),a("2auQc"));be=a("03QYZ");const nE=()=>{const e=(0,be.getQueryString)(),t=e.id||e.oid,r=e.e,n=e.url;return{options:aE(t,r,n),history:sE(t,r,n),capture:t?oE(t,n):void 0,editor:t&&r?iE(t,r,n):void 0}},oE=(e,t=null)=>{const r={id:e};t&&(r.url=t);return"/capture.html"+("?"+(0,be.toQueryString)(r))},iE=(e,t,r=null)=>{const n={id:e,e:t};r&&(n.url=r);return"/editor.html"+("?"+(0,be.toQueryString)(n))},aE=(e=null,t=null,r=null)=>{let n="";if(e){const o={id:e};t&&(o.e=t),r&&(o.url=r),n="?"+(0,be.toQueryString)(o)}return"/options.html"+n},sE=(e=null,t=null,r=null)=>{let n="";if(e){const o={oid:e};t&&(o.e=t),r&&(o.url=r),n="?"+(0,be.toQueryString)(o)}return"/capture.html"+n};s=a("2q4iO");var lE=({className:e,style:t=null,fill:r="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:t},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 5H5V18H21V5ZM5 4H4V5V18V19H5H21H22V18V5V4H21H5ZM18 9H8V8H18V9V9ZM18 12H8V11H18V12V12ZM14 15H8V14H14V15V15Z",fill:r})),uE=(s=a("2q4iO"),({className:e,style:t=null,fill:r="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:t},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.61 13.03v-.527a3.565 3.565 0 01.06-.596 2.26 2.26 0 00.037-.36c0-.417-.01-.531-.044-.633l-.225-.665.549-.438 1.654-1.32-1.424-2.454-2.05.808-.535.21-.451-.355c-.387-.305-.87-.547-1.47-.843l-.466-.23-.08-.513L13.834 3h-2.9l-.318 2.109-.092.609-.585.192c-.318.104-.575.278-.984.555-.126.085-.266.18-.426.285l-.441.29-.488-.2-1.977-.812-1.448 2.496 1.691 1.27.4.3v.499a3.563 3.563 0 01-.06.596c-.024.15-.037.251-.037.359 0 .417.01.531.044.634l.225.665-.548.437-1.655 1.32 1.424 2.455 2.05-.809.535-.21.452.355c.387.306.869.547 1.47.844l.466.23.08.512.315 2.019h3.015l.315-2.019.08-.513.466-.23c.601-.296 1.084-.537 1.47-.843l.452-.355.534.21 2.006.791 1.45-2.5-1.77-1.214-.436-.297zm3.326 1.573l-1.938 3.342c-.097.19-.388.286-.581.19l-2.423-.954c-.485.382-1.066.668-1.648.955l-.387 2.482c0 .191-.291.382-.485.382h-3.877c-.29 0-.484-.191-.484-.382l-.388-2.482c-.581-.287-1.163-.573-1.647-.955l-2.423.955c-.291.095-.485 0-.582-.096L3.135 14.7c-.097-.191-.097-.382.097-.573l2.035-1.623c-.097-.287-.097-.573-.097-.955 0-.205.028-.382.054-.547.022-.142.043-.275.043-.408L3.232 9.065c-.194-.19-.29-.477-.194-.573l1.938-3.341c.194-.191.388-.287.679-.191l2.326.955c.118-.078.233-.156.345-.233.438-.297.84-.57 1.302-.722l.388-2.578c0-.191.29-.382.484-.382h3.877c.194 0 .485.19.388.477l.387 2.483c.582.286 1.163.573 1.648.955l2.423-.955c.29-.096.484 0 .581.095l1.939 3.342c.096.19.096.382-.097.573l-2.036 1.623c.097.286.097.573.097.955 0 .204-.027.382-.053.546-.023.143-.044.276-.044.409l2.23 1.527c.193.096.193.382.096.573zM9 11.5c0 1.89 1.61 3.5 3.5 3.5s3.5-1.61 3.5-3.5S14.39 8 12.5 8 9 9.61 9 11.5zm-1 0c0 2.443 2.057 4.5 4.5 4.5s4.5-2.057 4.5-4.5S14.943 7 12.5 7 8 9.057 8 11.5z",fill:r}))),cE=(s=a("2q4iO"),({className:e,style:t=null,fill:r="#151515"})=>n(s).createElement("svg",{className:e,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:t},n(s).createElement("circle",{cx:"13",cy:"9",r:"2.5",stroke:r}),n(s).createElement("path",{d:"M7.5 17.5001V16.1699C10.2977 12.6101 15.7023 12.6101 18.5 16.1699V17.5001H7.5Z",stroke:r})));const dE={opacity:.25},pE=()=>{const e=(0,bn.tr)("Go to Files"),t=nE().history;return n(s).createElement(gE,{href:t},n(s).createElement(lE,{style:dE}),e)},fE=()=>{const e=(0,bn.tr)("Go to Options"),t=nE().options;return n(s).createElement(gE,{href:t},n(s).createElement(uE,{style:dE}),e)},hE=()=>{const e=(0,bn.tr)("Go to Account"),t=(0,rE.makeLoginUrl)();return n(s).createElement(gE,{href:t},n(s).createElement(cE,{style:dE}),e)},gE=({children:e,...t})=>n(s).createElement("a",t,n(s).createElement("span",{className:"layout-row--icon"},e));gE.displayName="RowWrap",gE.propTypes={href:n(d).string.isRequired};const mE=(0,bn.tr)("More");class vE extends s.Component{render(){const{alignRight:e=!0}=this.props,t=[{className:"divider",Comps:[eE]},{className:"divider is-links",Comps:[pE,fE,hE]},{Comps:[Xw]}].map((({className:e,Comps:t,...r},o)=>({...r,className:e,rows:t.map(((e,t)=>n(s).createElement(e,{addClickHandler:this.makeAddClickHandler(o,t)})))})));return n(s).createElement(ls,{className:"headermore",title:mE,icon:n(s).createElement(tE,null),sections:t,renderRow:this.renderRow,onSelectRow:this.onSelectRow,alignRight:e})}constructor(e){super(e),(0,ue.default)(this,"makeAddClickHandler",((e,t)=>r=>{this._clickHandlers[e]||(this._clickHandlers[e]=[]),this._clickHandlers[e][t]=r})),(0,ue.default)(this,"renderRow",(e=>e)),(0,ue.default)(this,"onSelectRow",((e,t,r)=>{this._clickHandlers[t]&&this._clickHandlers[t][r]&&this._clickHandlers[t][r]()})),this._clickHandlers=[]}}s=a("2q4iO");var yE=({fill:e="#fff"})=>n(s).createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M 0.5,5 5.5,0 5.5,10 Z",fill:e}));const bE=e=>e&&e.extUrl||chrome.runtime.getURL("/capture.html"),xE=({capture:e,showHeaderUpdatedThrob:t,onHideHeaderUpdatedThrob:r})=>{let o=bE(e);return n(s).createElement("div",{className:"header"},n(s).createElement("div",{className:"header--left"},n(s).createElement("h1",{className:"header--text"},n(s).createElement(n(Vi),{title:(0,bn.tr)("Back to capture (changes are auto-saved in the editor)")},n(s).createElement("a",{className:"header--ext-back",href:o},n(s).createElement(yE,null))),n(s).createElement("img",{src:n($i)}),"Editor"),Es.map(((e,t)=>n(s).createElement(e,{key:t}))),n(s).createElement($w,{showHeaderUpdatedThrob:t,onHideHeaderUpdatedThrob:r}),n(s).createElement(Ss,null),n(s).createElement(jw,null)),n(s).createElement("div",{className:"header--right"},n(s).createElement(vE,{alignRight:!0}),n(s).createElement(Ua,null)))};xE.propTypes={capture:n(d).object,showHeaderUpdatedThrob:n(d).bool.isRequired,onHideHeaderUpdatedThrob:n(d).func.isRequired};var wE=xE;var EE=le((e=>({capture:e.capture,showHeaderUpdatedThrob:e.editor.showHeaderUpdatedThrob||!1})),(e=>({onHideHeaderUpdatedThrob:()=>(Oe.default.set("didUpdatedHeaderThrob",!0).catch((e=>log.error(e))),e({type:hr,payload:{showHeaderUpdatedThrob:!1}}))})))(wE);u=a("cEw93"),ue=a("lSPyV"),s=a("2q4iO"),d=a("cAnjR"),ue=a("lSPyV"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),ke=a("ecsdh");class OE extends s.Component{render(){let{layerId:e,layer:t,cfg:r,data:o,onDisableCrop:i}=this.props,a=r.controls.map((({dim:e,...r})=>{const i=e&&e(t)||!1;return n(s).createElement(ww,{readOnly:i,key:r.name,value:o[r.name],...r,isDim:i,namespace:"propertieswidgets",onChange:this.handleFormControlChange})}));const l=e===ke.CROP_ID&&"box"===r.name,u=n(pi)("propertieswidget",`propertieswidget--type--${r.name}`);let c=null,d=null;return l&&(c=n(s).createElement("div",{className:"propertieswidget propertieswidget--over"},n(s).createElement("div",{className:"propertieswidget--title"},"Crop")),d=n(s).createElement("div",{className:"propertieswidget propertieswidget--under"},n(s).createElement("button",{type:"button",onClick:i},"Done cropping"))),n(s).createElement(n(s).Fragment,null,c,n(s).createElement("div",{className:u},n(s).createElement("div",{className:"propertieswidget--title"},r.title||r.name),a),d)}constructor(e){super(e),(0,ue.default)(this,"handleFormControlChange",((e,t)=>{let{props:r}=this;r.onChange(r.cfg.name,e,t)}))}}(0,ue.default)(OE,"propTypes",{layerId:n(d).string.isRequired,data:n(d).object.isRequired,cfg:n(d).shape({name:n(d).string.isRequired,title:n(d).string,controls:n(d).arrayOf(n(d).shape({name:n(d).string.isRequired,type:n(d).string.isRequired,widget:n(d).string})).isRequired,hide:n(d).bool}).isRequired,layer:n(d).shape({id:n(d).string.isRequired,shapeKey:n(d).string.isRequired}).isRequired,onChange:n(d).func.isRequired,onDisableCrop:n(d).func.isRequired});var _E=OE;ke=a("ecsdh");const SE=(e,t,r)=>(n,o,i,a,s)=>(n===ke.CROP_ID&&"box"===i&&(a=((e,t,r)=>{const n=Math.max(0,e.x),o=Math.max(0,e.y);return{x:n,y:o,width:Math.min(t,e.x+e.width)-n,height:Math.min(r,e.y+e.height)-o}})(a=Object.assign({},r.box,a),t.width,t.height)),e(n,o,i,a,s));class CE extends s.Component{render(){const{layer:e,onDisableCrop:t}=this.props;let r;if(e){let o=Lo[e.shapeKey].coordsOnly;r=ao.map((r=>{const i=r.hide?null:((e,t)=>{const r=e[t];return r||(Lo[e.shapeKey].defaults||{})[t]})(e,r.name);return i?n(s).createElement(_E,{layerId:e.id,key:r.name,data:i,cfg:"box"===r.name&&o?lo:r,layer:e,onChange:this.handlePropertiesWidgetChange,onDisableCrop:t}):null})).filter((e=>e))}return n(s).createElement("div",{className:"properties",onMouseDown:this.handleMouseDown},r)}constructor(e){super(e),(0,ue.default)(this,"handleMouseDown",(e=>{e.stopPropagation()})),(0,ue.default)(this,"handlePropertiesWidgetChange",((e,t,r)=>{const{props:n}=this;let o={[t]:r};if(Lo[n.layer.shapeKey].isSquare){let e=["width","height"];-1!==e.indexOf(t)&&e.forEach((e=>{e!==t&&(o[e]=r)}))}SE(n.onChangeProperties,n.base,n.layer)(n.layer.id,n.layer.shapeKey,e,o)})),this.state={}}}(0,ue.default)(CE,"propTypes",{base:n(d).object.isRequired,layer:n(d).object,onChangeProperties:n(d).func.isRequired,onDisableCrop:n(d).func.isRequired});var kE=CE;ke=a("ecsdh");var TE=le((e=>{const t=Ri(e),r=1===t.length?t[0]:null,n=r&&e.undos.present.layersById[r]||null;return{base:e.base,layer:n}}),(e=>({onChangeProperties:(t,r,n,o)=>{switch(t){case ke.BORDER_ID:if("border"===n&&o&&void 0!==o.on){const e=o.on;u.default.event("editor_padding",e?"enabled":"disabled")}break;case ke.TEMPLATE_ID:if("template"===n&&o&&void 0!==o.templateId){const e=o.templateId||"none";u.default.event("editor_browserurl",e)}}return e(Jo(t,r,n,o))},onDisableCrop:()=>(u.default.event("editor_crop","cropped"),e(Sr()))})))(kE);ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),ke=a("ecsdh"),Te=a("l6VXY");hi=a("6EXXg");var RE=a("gNZIH");class jE extends s.Component{render(){const{globalShapeDefaults:e,onToggle:t}=this.props;return n(s).createElement(RE.default,{className:"themedefaultsmodal",onToggle:t,width:780,radius:0,render:({onClose:t,parentRef:r})=>n(s).createElement("div",{onMouseUp:this.handleMouseUp},n(s).createElement("div",{className:"td-header"},n(s).createElement("h2",null,(0,bn.tr)("Theme Defaults")),n(s).createElement("a",{className:"close",href:"#",onClick:t},n(s).createElement(hi.default,{fill:"#333"}))),n(s).createElement("div",{className:"td-body"},n(s).createElement("div",{className:"shapeddefaults"},n(s).createElement("p",null,(0,bn.tr)("These settings will apply to all future edits of screenshots. Changes are autosaved."),n(s).createElement("br",null),n(s).createElement("br",null))),this.shapes.map((t=>{const r=this.makeOnFormControlChange(t.type),o={id:"temp",shapeKey:t.type};return t.remember.forEach((r=>{const n=Object.assign({},Ci(this.hardcodedDefaults,t.type,r),Ci(e,t.type,r));o[r]=n})),n(s).createElement("div",{key:t.type,className:"shapedefaults"},n(s).createElement("h3",null,t.Icon&&n(s).createElement(t.Icon,{className:"insert-icon"}),n(s).createElement("span",null,t.title||(i=t.type).substring(0,1).toUpperCase()+i.substring(1))),t.remember.map((e=>{const i=o[e],a=ao.find((({name:t})=>t===e))||null;return i&&a&&n(s).createElement(_E,{key:e,layerId:`${t.type}-${e}`,layer:o,data:i,cfg:a,onChange:r,onDisableCrop:()=>{}})})));var i})),n(s).createElement("div",{className:"shapedefaults"},n(s).createElement("a",{href:"#",onClick:this.makeHandleRestoreDefaults(r)},(0,bn.tr)("restore factory defaults")))))})}constructor(e){super(e),(0,ue.default)(this,"makeOnFormControlChange",(e=>(t,r,n)=>{const{onUpdateGroupDefaults:o}=this.props;o(e,t,{[r]:n})})),(0,ue.default)(this,"handleMouseUp",(e=>{(0,Te.checkCanDispatch)(e)&&(0,Te.default)(window,ke.EVT_MOUSEUP)})),(0,ue.default)(this,"makeHandleRestoreDefaults",(e=>t=>{t.preventDefault();const{onUpdateAllGroupDefaults:r}=this.props;confirm((0,bn.tr)("Are you sure you want to reset to the extension’s original theme defaults?"))&&(r(this.hardcodedDefaults),e.current&&e.current.scrollTo(0,0))})),this.shapes=_i(),this.hardcodedDefaults=Si(this.shapes)}}(0,ue.default)(jE,"propTypes",{globalShapeDefaults:n(d).objectOf(n(d).objectOf(n(d).object)).isRequired,onUpdateGroupDefaults:n(d).func.isRequired,onToggle:n(d).func.isRequired});var PE=le((e=>({globalShapeDefaults:e.globalShapeDefaults})),(e=>({onUpdateGroupDefaults:(t,r,n)=>e(qo(t,r,n)),onUpdateAllGroupDefaults:t=>e({type:Bo,payload:t})})))(jE);xn=a("aZB6T"),Te=a("l6VXY"),qa=a("cTlMU"),ki=a("dqmzj");const ME={},DE={},AE={},LE=(e,t,r)=>{const n=ME[e];ME[e]=t,n||(DE[e]=window.setTimeout((()=>{AE[e]=window.requestAnimationFrame((()=>{const t=ME[e];delete ME[e],t&&t()}))}),r))},NE=["x1","y1","x2","y2"],IE=(e,t)=>{e.save(),e.strokeStyle="#F00",e.lineWidth=1,t.forEach((({x1:t,y1:r,x2:n,y2:o})=>HE(e,t,r,n,o))),e.restore()},HE=(e,t,r,n,o)=>{r===o&&(FE(e,t,r-3,t,r+3),FE(e,n,o-3,n,o+3)),t===n&&(FE(e,t-3,r,t+3,r),FE(e,n-3,o,n+3,o)),FE(e,t,r,n,o)},FE=(e,t,r,n,o)=>{e.beginPath(),e.moveTo(t,r),e.lineTo(n,o),e.stroke()};var BE=(e,t,r,n,o,i,a,s,l,u,c)=>{if(e.clearRect(0,0,t,r),s===zt&&u){let n=u.box,s=i+n.x,l=a+n.y;e.save(),e.fillStyle="#00000044",e.fillRect(0,0,t,r),e.clearRect(s*o,l*o,n.width*o,n.height*o),e.restore()}if(n&&n.length){let t=n.map((e=>{let t={};return NE.forEach(((r,n)=>{let s=e[r];s=n%2==0?(s+i)*o:(s+a)*o,t[r]=Math.floor(s)+.5})),t}));IE(e,t)}if(c){const t=(i+Math.min(c.x1,c.x2))*o,r=(a+Math.min(c.y1,c.y2))*o,n=Math.abs(c.x1-c.x2)*o,s=Math.abs(c.y1-c.y2)*o;e.save(),e.strokeStyle="#39f",e.fillStyle="#3399ff44",e.lineWidth=1,e.fillRect(t,r,n,s),e.strokeRect(t,r,n,s),e.restore()}},UE=a("76B86");ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO"),Ce=a("jmw9X"),u=a("cEw93"),hi=a("6EXXg"),RE=a("gNZIH"),ue=a("lSPyV"),pi=a("cW7yT"),s=a("2q4iO");class qE extends n(s).Component{componentDidMount(){window.addEventListener("resize",this.recomputeSizeDebounced),this.recomputeSize()}componentWillUnmount(){window.removeEventListener("resize",this.recomputeSizeDebounced)}render(){const{className:e,children:t,ratioWidth:r,ratioHeight:o,style:i}=this.props,{width:a,height:l}=this.state,u=r/o;let c=a,d=l;a/l>u?c=Math.floor(l*u):d=Math.floor(a/u);const p={width:`${c}px`,height:`${d}px`};return n(s).createElement("div",{ref:this.wrapRef,className:n(pi)("ratio-box",e),style:i},n(s).createElement("div",{className:"ratio-box-inner",style:p},t))}constructor(e){super(e),(0,ue.default)(this,"wrapRef",n(s).createRef()),(0,ue.default)(this,"state",{width:0,height:0}),(0,ue.default)(this,"recomputeSize",(()=>{const e=this.wrapRef.current;e&&this.setState({width:e.offsetWidth,height:e.offsetHeight})})),(0,ue.default)(this,"recomputeSizeDebounced",(0,ve.debounce)(this.recomputeSize,160))}}var WE=qE;pi=a("cW7yT"),s=a("2q4iO");var zE=({width:e,height:t,style:r,className:o,...i})=>{const a=e&&t?100*t/e+"%":"56.25%";return r=Object.assign({paddingBottom:a},r),o=n(pi)(o,"videowrap"),n(s).createElement("div",{style:r,className:o,...i})};class VE extends s.Component{componentDidMount(){const e=window.location,t="/editor/demo-video-modal";u.default.pageview(t,`${e.protocol}//${e.host}${t}`)}componentWillUnmount(){u.default.pageview()}render(){return n(s).createElement(RE.default,{className:"demomodal",onToggle:this.props.onToggle,fullscreen:!0,render:({onClose:e})=>n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"hm-header"},n(s).createElement("h2",null,"Editor Demo"),n(s).createElement("a",{className:"close",href:"#",onClick:e},n(s).createElement(hi.default,null))),n(s).createElement("div",{className:"hm-body",style:{maxWidth:""}},n(s).createElement(WE,{ratioWidth:16,ratioHeight:9},n(s).createElement(zE,null,n(s).createElement("iframe",{allowFullScreen:!0,src:Ce.INLINE_DEMO_EDITOR_URL})))))})}}(0,ue.default)(VE,"propTypes",{onToggle:n(d).func.isRequired});s=a("2q4iO"),bn=a("iMjBX");var $E=a("2OdSy"),YE=(hi=a("6EXXg"),RE=a("gNZIH"),a("94S9N"));var GE,KE=({onClose:e,triggerShowTourDemo:t})=>{const[r,o]=(0,s.useState)(!1),i=(0,s.useCallback)((t=>{t.preventDefault(),r||(o(!0),window.setTimeout((()=>{e()}),500))}),[r]);(0,s.useEffect)((()=>{window.setTimeout((()=>{t()}),0)}),[]);const a={transition:"opacity 500ms ease-in-out",opacity:r?0:1},l=(0,bn.tr)("Some menu options have moved!"),u=(0,bn.tr)('Don’t worry, your favorite features are still here! Crop, URL, datestamp, and padding are now in the new “Formatting” menu. Watch the demo to see more.',void 0,void 0,void 0,!0),c=(0,bn.tr)("Bonus: we have added new timestamp formats too!"),d=(0,bn.tr)("Got it!");return n(s).createElement(n(s).Fragment,null,n(s).createElement(RE.default,{style:a,className:"welcomemodal big-modal",dimBg:!0,width:540},n(s).createElement("h2",{className:"br"},l),n(s).createElement(YE.default,null),n(s).createElement("p",{className:"br",dangerouslySetInnerHTML:{__html:u}}),n(s).createElement("p",{className:"br15 strong"},c),n(s).createElement("div",null,n(s).createElement("a",{className:"btn",href:"#",onClick:i},d)),n(s).createElement("a",{className:"close close-topright",href:"#",onClick:i},n(s).createElement(hi.default,{fill:"#CCC"}))),n(s).createElement($E.default,{style:a}))},XE=(ue=a("lSPyV"),/[|\\{}()[\]^$+*?.]/g);GE=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(XE,"\\$&")};d=a("cAnjR"),s=a("2q4iO"),Ce=a("jmw9X"),bn=a("iMjBX"),u=a("cEw93"),Nn=a("a5i9T");var ZE=a("ev0Ha");hi=a("6EXXg"),RE=a("gNZIH");var JE,QE={groups:[{key:"left",sections:[{title:(0,(bn=a("iMjBX")).tr)("Insert shapes"),lines:[{a:(0,bn.tr)("Rectangle"),c:"R"},{a:(0,bn.tr)("Oval"),c:"O"},{a:(0,bn.tr)("Line"),c:"L"},{a:(0,bn.tr)("Arrow"),c:"A"},{a:(0,bn.tr)("Text"),c:"T"},{a:(0,bn.tr)("Blur"),c:"B"}]},{title:(0,bn.tr)("Document edits"),lines:[{a:(0,bn.tr)("Toggle crop"),c:"C"},{a:(0,bn.tr)("Toggle URL / browser"),c:"U"},{a:(0,bn.tr)("Toggle padding / border"),c:"P"}]},{title:(0,bn.tr)("Zoom"),lines:[{a:(0,bn.tr)("Zoom in"),c:"Z"},{a:(0,bn.tr)("Zoom out"),c:"{{OPTION}} + Z"},{a:(0,bn.tr)("Exit zoom"),c:"Escape (or V)"}]}]},{key:"right",sections:[{title:(0,bn.tr)("Layers"),lines:[{a:(0,bn.tr)("Select layer"),c:(0,bn.tr)("Mouse or layers pane")},{a:(0,bn.tr)("Move layer"),c:(0,bn.tr)("Mouse or arrow keys")},{a:(0,bn.tr)("Resize layer"),c:(0,bn.tr)("Drag layer control points")},{a:(0,bn.tr)("Order layer"),c:(0,bn.tr)("Click + drag in layers pane")},{a:(0,bn.tr)("Duplicate selection"),c:"{{CMD}} + D"},{a:(0,bn.tr)("Delete current selection"),c:(0,bn.tr)("Delete")}]},{title:(0,bn.tr)("Document"),lines:[{a:(0,bn.tr)("Undo"),c:"{{CMD}} + Z"},{a:(0,bn.tr)("Redo"),c:"{{CMD}} + Y"},{a:(0,bn.tr)("Export"),c:"{{CMD}} + E"},{a:(0,bn.tr)("Export save as"),c:"{{CMD}} + Shift + E"},{a:(0,bn.tr)("Copy to clipboard"),c:"{{CMD}} + {{OPTION}} + E"},{a:(0,bn.tr)("Help"),c:"Shift + ?"}]}]}]};JE=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("kahrf");var eO;eO=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("1eTHL");var tO;tO=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("eKlAJ");var rO;rO=a("9yYZW").getBundleURL("fiHs9")+a("5IuNT").resolve("fOITv");class nO extends s.Component{componentDidMount(){const e=window.location,t="/editor/help";u.default.pageview(t,`${e.protocol}//${e.host}${t}`)}componentWillUnmount(){u.default.pageview()}render(){return n(s).createElement(RE.default,{className:"helpmodal",onToggle:this.props.onToggle,width:680,render:({onClose:e})=>n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"hm-header"},n(s).createElement("h2",null,n(s).createElement("img",{src:(0,ZE.pickDensity)(n(JE),n(eO)),width:"22",height:"27"}),(0,bn.tr)("Help")),n(s).createElement("a",{className:"close",href:"#",onClick:e},n(s).createElement(hi.default,null))),n(s).createElement("div",{className:"hm-body"},QE.groups.map((({key:e,sections:t})=>n(s).createElement("div",{className:`hm-body-${e}`,key:e},t.map((({title:e,lines:t},r)=>n(s).createElement("div",{className:"hm-section",key:r},n(s).createElement("h3",null,e,":"),t.map(((e,t)=>n(s).createElement("div",{className:"hm-line",key:t},n(s).createElement("span",null,e.a),n(s).createElement("span",null,iO(e.c)))))))),"right"===e&&n(s).createElement("div",{className:"hm-section hm-extra-note"},n(s).createElement("p",null,n(s).createElement("img",{style:{verticalAlign:"top",marginLeft:"5px",opacity:.95},src:(0,ZE.pickDensity)(n(tO),n(rO)),width:"16",height:"20",alt:"smile"})," ","All screenshot edits are auto-saved"),n(s).createElement("p",null,"Need more help?"," ",n(s).createElement("a",{href:Ce.DEMO_URL,target:"_blank",rel:"noopener noreferrer"},"Watch the demo video"))))))))})}}(0,ue.default)(nO,"propTypes",{onToggle:n(d).func.isRequired});const oO=[{token:"{{CMD}}",mac:"Cmd",other:"Ctrl"},{token:"{{OPTION}}",mac:"Option",other:"Alt"}];oO.forEach((e=>e.regex=new RegExp(n(GE)(e.token),"g")));const iO=e=>{const t=(0,Nn.getIsMac)();return oO.reduce(((e,r)=>e.replace(r.regex,t?r.mac:r.other)),e)};window.escapeStringRegexp=n(GE),window._matchOs=iO;s=a("2q4iO"),ue=a("lSPyV"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),ue=a("lSPyV"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO");class aO extends s.Component{render(){let e=this.props,t=n(pi)({layersbarwidget:!0,hover:e.hovering,selected:e.selected,even:e.position%2==0,odd:e.position%2==1,[`shape-${e.shapeKey}`]:!0});return n(s).createElement("div",{className:t,onMouseDown:e.onMouseDown,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseOut},n(s).createElement("strong",null,e.label))}}(0,ue.default)(aO,"propTypes",{position:n(d).number.isRequired,label:n(d).string.isRequired,shapeKey:n(d).string.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,onMouseDown:n(d).func.isRequired,onMouseOver:n(d).func.isRequired,onMouseOut:n(d).func.isRequired});var sO=aO;const lO=function(e){var t,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return r=t=function(t){function r(){return Ve(this,r),Ke(this,Xe(r).apply(this,arguments))}return Je(r,(0,s.Component)),Ye(r,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,r=e.disabled,n=e.index,o=(0,l.findDOMNode)(this);o.sortableInfo={collection:t,disabled:r,index:n,manager:this.context.manager},this.node=o,this.ref={node:o},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return n(b)(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return(0,s.createElement)(e,m({ref:t},it(this.props,At)))}}]),r}(),We(t,"displayName",ht("sortableElement",e)),We(t,"contextTypes",{manager:n(d).object.isRequired}),We(t,"propTypes",Dt),We(t,"defaultProps",{collection:0}),r}((e=>n(s).createElement("li",{className:"layersbar--item"},n(s).createElement(sO,e)))),uO=function(e){var t,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return r=t=function(t){function r(e){var t;return Ve(this,r),We(g(g(t=Ke(this,Xe(r).call(this,e)))),"state",{}),We(g(g(t)),"handleStart",(function(e){var r=t.props,n=r.distance,o=r.shouldCancelStart;if(2!==e.button&&!o(e)){t.touched=!0,t.position=mt(e);var i=dt(e.target,(function(e){return null!=e.sortableInfo}));if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var a=t.props.useDragHandle,s=i.sortableInfo,l=s.index,u=s.collection;if(s.disabled)return;if(a&&!dt(e.target,kt))return;t.manager.active={collection:u,index:l},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||e.target.tagName!==Ct.Anchor||e.preventDefault(),n||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),We(g(g(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),We(g(g(t)),"handleMove",(function(e){var r=t.props,n=r.distance,o=r.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=mt(e),a={x:t.position.x-i.x,y:t.position.y-i.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,n||o&&!(s>=o)?n&&s>=n&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),We(g(g(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),We(g(g(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),We(g(g(t)),"handlePress",(function(e){try{var r=t.manager.getActive(),n=function(){if(r){var n=function(){var r,n,o,u,g,m,v=p.sortableInfo.index,y=(r=p,{bottom:ft((n=window.getComputedStyle(r)).marginBottom),left:ft(n.marginLeft),right:ft(n.marginRight),top:ft(n.marginTop)}),b=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:ft(t.gridColumnGap),y:ft(t.gridRowGap)}:{x:0,y:0}}(t.container),x=t.scrollContainer.getBoundingClientRect(),w=a({index:v,node:p,collection:f});if(t.node=p,t.margin=y,t.gridGap=b,t.width=w.width,t.height=w.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=x,t.index=v,t.newIndex=v,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=vt(p,t.container),t.initialOffset=mt(h?ze({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((u="input, textarea, select, canvas, [contenteditable]",g=(o=p).querySelectorAll(u),rt((m=o.cloneNode(!0)).querySelectorAll(u)).forEach((function(e,t){"file"!==e.type&&(e.value=g[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===Ct.Canvas&&g[t].width>0&&g[t].height>0&&e.getContext("2d").drawImage(g[t],0,0)})),m)),lt(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-y.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-y.top,"px"),width:"".concat(t.width,"px")}),h&&t.helper.focus(),l&&(t.sortableGhost=p,lt(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},h){var E=d?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,O=E.top,_=E.left,S=E.width,C=O+E.height,k=_+S;t.axis.x&&(t.minTranslate.x=_-t.boundingClientRect.left,t.maxTranslate.x=k-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=O-t.boundingClientRect.top,t.maxTranslate.y=C-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(d?0:x.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(d?t.contentWindow.innerWidth:x.left+x.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(d?0:x.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(d?t.contentWindow.innerHeight:x.top+x.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?p:t.contentWindow,h?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(at.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),at.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:v}),c&&c({node:p,index:v,collection:f,isKeySorting:h,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),h&&t.keyMove(0)},o=t.props,i=o.axis,a=o.getHelperDimensions,s=o.helperClass,l=o.hideSortableGhost,u=o.updateBeforeSortStart,c=o.onSortStart,d=o.useWindowAsScrollContainer,p=r.node,f=r.collection,h=t.manager.isKeySorting,g=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var r=function(e,t){try{var r=e()}catch(e){return t(!0,e)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}((function(){var t=p.sortableInfo.index;return Promise.resolve(u({collection:f,index:t,node:p,isKeySorting:h},e)).then((function(){}))}),(function(e,r){if(t._awaitingUpdateBeforeSortStart=!1,e)throw r;return r}));if(r&&r.then)return r.then((function(){}))}}();return g&&g.then?g.then(n):n()}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),We(g(g(t)),"handleSortMove",(function(e){var r=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),r&&r(e)})),We(g(g(t)),"handleSortEnd",(function(e){var r=t.props,n=r.hideSortableGhost,o=r.onSortEnd,i=t.manager,a=i.active.collection,s=i.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(at.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),at.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),n&&t.sortableGhost&<(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=l.length;un)){t.prevIndex=i,t.newIndex=o;var a=function(e,t,r){return et?e-1:e>r&&em?m/2:this.height/2,width:this.width>g?g/2:this.width/2},y=u&&h>this.index&&h<=c,b=u&&h=c,x={x:0,y:0},w=a[d].edgeOffset;w||(w=vt(f,this.container),a[d].edgeOffset=w,u&&(a[d].boundingClientRect=gt(f,o)));var E=d0&&a[d-1];E&&!E.edgeOffset&&(E.edgeOffset=vt(E.node,this.container),u&&(E.boundingClientRect=gt(E.node,o))),h!==this.index?(t&&ct(f,t),this.axis.x?this.axis.y?b||hthis.containerBoundingRect.width-v.width&&E&&(x.x=E.edgeOffset.left-w.left,x.y=E.edgeOffset.top-w.top),null===this.newIndex&&(this.newIndex=h)):(y||h>this.index&&(s+i.left+v.width>=w.left&&l+i.top+v.height>=w.top||l+i.top+v.height>=w.top+m))&&(x.x=-(this.width+this.marginOffset.x),w.left+x.xthis.index&&s+i.left+v.width>=w.left?(x.x=-(this.width+this.marginOffset.x),this.newIndex=h):(b||hthis.index&&l+i.top+v.height>=w.top?(x.y=-(this.height+this.marginOffset.y),this.newIndex=h):(b||hn(s).createElement("ol",{className:"layersbar--items"},e.layers.map(((r,o)=>n(s).createElement(lO,{key:r.id,index:o,disabled:!e.canEdit,position:o,label:r.text&&r.text.text||dO(r.shapeKey),shapeKey:r.shapeKey,selected:e.selectedLayerIds.includes(r.id),hovering:r.id===e.hoveringLayerId,onMouseDown:n=>e.canEdit&&t(n,r.id),onMouseOver:()=>e.canEdit&&e.onHoverLayer(r.id),onMouseOut:()=>e.canEdit&&e.onUnhoverLayer()}))))));class cO extends s.Component{render(){return n(s).createElement("div",{className:n(pi)("layersbar",this.props.className)},n(s).createElement("h2",null,(0,bn.tr)("Layers")),n(s).createElement("div",{onMouseDown:this.handleMouseDown},n(s).createElement(uO,{props:this.props,onSelectLayerId:this.handleSelectLayerId,onSortEnd:this.handleSortEnd,pressDelay:1,helperClass:"layersbar--item--moving"})))}constructor(e){super(e),(0,ue.default)(this,"handleMouseDown",(e=>{e.stopPropagation()})),(0,ue.default)(this,"handleSortEnd",(({oldIndex:e,newIndex:t})=>{this.props.onMoveLayer(e,t)})),(0,ue.default)(this,"handleSelectLayerId",((e,t)=>{const r=Ka(e),n=!r&&e.shiftKey;let o=this.props.selectedLayerIds;if(r)o=o.includes(t)?o.filter((e=>e!==t)):o.concat([t]);else if(n){let e=o[o.length-1];if(e){let r=0,n=this.props.layers.filter((n=>{let o=1===r;return n.id!==t&&n.id!==e||(r+=1),1===r||o})).map((e=>e.id));o=o.filter((e=>!n.includes(e))).concat(n)}else o=[t]}else o=[t];this.props.onSelectLayers(o)}))}}cO.propTypes={className:n(d).string,canEdit:n(d).bool.isRequired,layers:n(d).arrayOf(n(d).object.isRequired),selectedLayerIds:n(d).arrayOf(n(d).string.isRequired).isRequired,hoveringLayerId:n(d).string,onSelectLayers:n(d).func.isRequired,onHoverLayer:n(d).func.isRequired,onUnhoverLayer:n(d).func.isRequired};const dO=e=>{const t=Lo[e];return t?t.title.toLowerCase()||t.type:e};var pO=cO;var fO=le((e=>{let t=e.editor.mode===Wt;return{layers:Ti(e),selectedLayerIds:t?ji(e):[],hoveringLayerId:t?e.editor.hoveringLayerId:null,canEdit:t}}),(e=>({onSelectLayers:t=>e(gr(t)),onHoverLayer:t=>e(mr(t)),onUnhoverLayer:()=>e(vr()),onMoveLayer:(t,r)=>e(qt(t,r))})))(pO),hO=(ue=a("lSPyV"),pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX"),s=a("2q4iO"),({fill:e="#fff",scale:t=1})=>n(s).createElement("svg",{width:15*t,height:17*t,viewBox:"0 0 15 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 2L9 0H0V17H2V10H7.6L8 12H15V2H9.4Z",fill:e})));class gO extends s.Component{render(){const{className:e,makeReportUrl:t}=this.props,r=t("EditorReportButton");return n(s).createElement("div",{className:n(pi)("reportissue",e)},n(s).createElement(oa,{href:r,target:"_blank",rel:"noopener noreferrer"},(0,bn.tr)("Any issues?"),n(s).createElement(hO,{scale:.75,fill:"#888"})))}}(0,ue.default)(gO,"propTypes",{className:n(d).string,makeReportUrl:n(d).func.isRequired});var mO=le((e=>({makeReportUrl:Ui(e)})))(gO);pi=a("cW7yT"),d=a("cAnjR"),s=a("2q4iO"),bn=a("iMjBX");const vO=e=>{if(!e.showTourDemo)return null;const[t,r]=(0,s.useState)(!1);return n(s).createElement("div",{className:n(pi)("tour",e.className,{slideup:t})},n(s).createElement(mi,{fill:"#161616",onClick:t=>{t.preventDefault(),r(!0),window.setTimeout((()=>{e.onClose()}),80)}}),n(s).createElement("p",null,n(s).createElement(yi,{label:"Hurray"},"🎉")," ",(0,bn.tr)("Welcome to the GoFullPage Editor!")),n(s).createElement(na,{className:"highlight",style:{width:"100%"},onClick:e.onShowDemoModal},(0,bn.tr)("Watch Demo")))};vO.propTypes={className:n(d).string,showTourDemo:n(d).bool.isRequired,onClose:n(d).func.isRequired,onShowDemoModal:n(d).func.isRequired};var yO=vO;var bO=le((e=>({showTourDemo:e.capture&&e.capture.showTourDemo})),(e=>({onClose:()=>e((fe.default.set("show_editor_tour",!1),{type:Me,payload:{showTourDemo:!1}})),onShowDemoModal:()=>e(Or(!0))})))(yO),xO=()=>n(s).createElement("div",{className:"leftsidebar"},n(s).createElement(bO,{className:"leftsidebar-tight"}),n(s).createElement(fO,{className:"leftsidebar-wide"}),n(s).createElement(mO,{className:"leftsidebar-tight"}));Oa=a("lLQan"),ue=a("lSPyV"),d=a("cAnjR"),s=a("2q4iO"),Ce=a("jmw9X"),bn=a("iMjBX"),hi=a("6EXXg"),RE=a("gNZIH"),YE=a("94S9N"),$E=a("2OdSy");class wO extends s.Component{render(){const{capture:e,hasEdits:t}=this.props,{closing:r}=this.state,o={transition:"opacity 500ms ease-in-out",opacity:r?0:1};let i,a,l;const u=(0,bn.tr)("We’re excited to have you aboard.");return t?(i=(0,bn.tr)("Thank you for supporting GoFullPage"),a=u,l=(0,bn.tr)("Continue editing")):(i=(0,bn.tr)("Welcome to the official GoFullPage Editor!"),a=u,l=(0,bn.tr)("Get started")),n(s).createElement(n(s).Fragment,null,n(s).createElement(RE.default,{style:o,className:"welcomemodal big-modal",dimBg:!0,width:540},n(s).createElement("h2",{className:"br"},i),n(s).createElement(YE.default,null),n(s).createElement("p",{className:"br15"},a),n(s).createElement("div",null,n(s).createElement("a",{className:"btn br15",href:"#",onClick:this.handleClose},l),n(s).createElement("p",{className:"dim"},(0,bn.tr)("or")+" ",n(s).createElement("a",{href:Ce.DEMO_URL,target:"_blank",rel:"noopener noreferrer"},(0,bn.tr)("watch a demo video")))),n(s).createElement("a",{className:"close close-topright",href:"#",onClick:this.handleClose},n(s).createElement(hi.default,{fill:"#CCC"}))),n(s).createElement($E.default,{style:o}))}constructor(e){super(e),(0,ue.default)(this,"handleClose",(e=>{e.preventDefault(),this.state.closing||(this.setState({closing:!0}),window.setTimeout((()=>{this.props.onClose()}),500))})),this.state={closing:!1}}}(0,ue.default)(wO,"propTypes",{onClose:n(d).func.isRequired,hasEdits:n(d).bool.isRequired}),(0,ue.default)(wO,"defaultProps",{hasEdits:!1});const EO={defaults:{baseLeft:0,baseTop:0,outerWidth:0,outerHeight:0,xOffset:0,yOffset:0,gutterLeft:0,gutterRight:0,gutterTop:0,gutterBottom:0},isDiff:(e,t)=>Object.entries(t).some((([t,r])=>e[t]!==r)),create:e=>{let t={};return Object.keys(EO.defaults).forEach((r=>t[r]=e[r])),t}},OO="Editor.computedOffsets",_O=[ke.EVT_REFOCUS,ke.EVT_MODAL_CLOSE];class SO extends s.Component{componentDidMount(){const{src:e,url:t,pixelDensity:r,title:n}=this.props.capture;e&&this.props.loadBase(e,r,t,n),this._renderCanvas(),window.addEventListener(ke.EVT_MOUSE_ZOOM,this._zoomMouseListener,!1),window.addEventListener(ke.EVT_CHANGE_ZOOM,this._zoomListener,!1),window.addEventListener("mouseup",this._windowMouseUpListener,!1),this._debouncedResizeEvt=(0,ve.debounce)(this._resizeEvt,200),ke.RESIZE_EVENTS.forEach((e=>window.addEventListener(e,this._debouncedResizeEvt,!1))),window.setTimeout(this._resizeEvt,60),this._focus(),_O.forEach((e=>window.addEventListener(e,this._focus,!1))),_e.default.addListener(this._userListener),fi.on(ke.EVT_ADD_LAYER,this._layerSpotlightListener),(0,Oa.onNotifyText)(this._notifyTextListener);const{undosCount:o,redosCount:i}=this.props,{borderDefaults:a,templateDefaults:s}=this.props.globalShapeDefaults;0===o&&0===i&&(a&&a&&a.enabled&&a.enabled.on&&this.props.onEditBorder(!1,a),s&&s.template&&s.template.templateId!==xn.BROWSER_TEMPLATE_ID_NONE&&this.props.onEditTemplate(s));const l={animFrameId:null,stop:()=>{window.cancelAnimationFrame(l.animFrameId)},loop:()=>{l.animFrameId=window.requestAnimationFrame((()=>{if(this.state.isMouseDown&&this.nonreactState.lastMouse&&!this.state.isSpacebarDown){let{pageX:e,pageY:t}=this.nonreactState.lastMouse;const r=this.canvasParentRef.current;e-=r.offsetLeft,t-=r.offsetTop;const n=this._scrollElt(),o=n.offsetWidth,i=n.offsetHeight,a=Math.min(e,o-e),s=Math.min(t,i-t),l=a===e?-1:1,u=s===t?-1:1;if(a<=30){let e=3;a<=15&&(e=10,a<=5&&(e=20)),n.scrollLeft+=e*l}if(s<=30){let e=3;s<=15&&(e=10,s<=5&&(e=20)),n.scrollTop+=e*u}}return l.loop()}))}};l.loop(),this._edgeScroller=l}componentWillUnmount(){var e;window.removeEventListener(ke.EVT_MOUSE_ZOOM,this._zoomMouseListener),window.removeEventListener(ke.EVT_CHANGE_ZOOM,this._zoomListener),window.removeEventListener("mouseup",this._windowMouseUpListener),ke.RESIZE_EVENTS.forEach((e=>window.removeEventListener(e,this._debouncedResizeEvt))),_O.forEach((e=>window.removeEventListener(e,this._focus))),e=OO,window.clearTimeout(DE[e]),window.cancelAnimationFrame(AE[e]),fi.off(ke.EVT_ADD_LAYER,this._layerSpotlightListener),(0,Oa.offNotifyText)(this._notifyTextListener),_e.default.removeListener(this._userListener),this._edgeScroller.stop()}componentDidUpdate(){this._resizeEvt(),this.state.computedOffsets===this.nonreactState.throttledComputedOffsets&&(this.nonreactState.throttledComputedOffsets=null,this.handleMouseMove())}_mousePosition(e){let{pageX:t,pageY:r}=e||this.nonreactState.lastMouse;e&&(this.nonreactState.lastMouse={pageX:t,pageY:r});let{zoom:n,pxPerModel:o}=this._zoomData(),i=this.canvasParentRef.current;return t-=i.offsetLeft-this.nonreactState.scroll.scrollLeft,r-=i.offsetTop-this.nonreactState.scroll.scrollTop,{x:Math.round(t/o-this.state.computedOffsets.xOffset,10),y:Math.round(r/o-this.state.computedOffsets.yOffset,10)}}_selectedLayers(e,t){e=e||this.props;const r=!0===t?e.selectedLayerIds.filter((e=>e!==ke.CROP_ID)):e.selectedLayerIds;return this._getLayers(r,e)}_getLayers(e,t){return t=t||this.props,e.map((e=>e===ke.MULTI_LAYER_ID?t.multiLayer:e===ke.CROP_ID?t.cropLayer:t.layers.find((t=>t.id===e))))}_zoomData(){let e=this.props.zoom;return{zoom:e,pxPerModel:e/100}}_zoomChecker(){let e=this._lastZoomCoords;if(e&&e.newZoom===this.props.zoom){const{browserTemplate:t,cropBox:r,zoom:n}=this.props,{centerX:o,centerY:i}=(0,ki.getCenterCoords)(t,r,n),a=n/100,s=this._scrollElt();if(s){const t=Math.floor((e.centerX-o)*a),r=Math.floor((e.centerY-i)*a);t&&(s.scrollLeft+=t),r&&(s.scrollTop+=r)}this._lastZoomCoords=void 0}}_copyPaste(e,t,r,n){const o=[],i=[],a={};e.forEach((e=>a[e.id]=e));this.props.layers.map((e=>a[e.id])).filter((e=>void 0!==e)).reverse().forEach((e=>{const n={};ao.forEach((({name:t})=>{e[t]&&(n[t]=e[t])}));const a=(0,qa.getBounds)(e),s=(0,qa.generateLayerId)();i.push(s),o.push(Ut(s,e.shapeKey,a.x1+t,a.y1+r,a.x2+t,a.y2+r,n))})),this.props.onBatchAddLayer(o,!0,n),this.props.onSelectLayers(i)}_renderCanvas(){let e=this.canvasOverlayRef.current;if(e){let{props:t,state:r}=this;window.cancelAnimationFrame(this._lastAnimFrame),this._lastAnimFrame=window.requestAnimationFrame((()=>BE(e.getContext("2d"),e.width,e.height,r.snapPairsCoords,t.zoom/100,r.computedOffsets.xOffset,r.computedOffsets.yOffset,t.mode,t.cropBox,t.cropLayer,r.mouseSelectBox)))}}render(){const{props:e,state:t}=this,r={editor:!0,"cursor-zoom":t.isZoomMode&&!t.isZoomOut,"cursor-zoomout":t.isZoomMode&&t.isZoomOut,"cursor-move-canvas":t.isSpacebarDown},{pxPerModel:o}=this._zoomData(),i=t.computedOffsets;let a,l,u,c,d=0,p=0;if(e.base&&void 0!==e.base.pixelDensity){const l=i.outerWidth,f=i.outerHeight;d=l*o,p=f*o,a={width:`${l}px`,height:`${f}px`,transform:`scale(${o})`};const{baseLeft:h,baseTop:g,xOffset:m,yOffset:v}=i;u=n(s).createElement(ha,{base:e.base,baseLeft:h,baseTop:g,border:e.border,browserTemplate:e.browserTemplate,cropBox:e.cropBox,onSetError:e.onSetError,onClick:this.handleClickImageBase});this._isMouseSelect();const y=e.multiLayer?e.multiLayer.id:1===e.selectedLayerIds.length?e.selectedLayerIds[0]:null;c=[];let b=e.layers;e.selectedLayerIds.includes(ke.CROP_ID)&&(b=[e.cropLayer].concat(b)),e.multiLayer&&(b=[...b,e.multiLayer]);let x=b.length;for(;0!==x;){x--;let r=b[x];c.push(n(s).createElement(wa,{key:r.id,spotlight:r.id===t.spotlightLayerId,xOffset:m,yOffset:v,pxPerModel:o,basePixelDensity:e.base.pixelDensity,base:e.base,...r,selected:r.id===y,hovering:r.id===e.hoveringLayerId,secondarySelected:e.selectedLayerIds.includes(r.id),onMouseDown:this.handleLayerMouseDown,onHoverLayer:e.onHoverLayer,onUnhoverLayer:e.onUnhoverLayer,onChangeProperties:e.onChangeProperties}))}t.selectedControlPointId?r[`cursor-${t.selectedControlPointId.toLowerCase()}`]=!0:t.isMouseDown&&e.selectedLayerIds.length&&(r["cursor-dragging"]=!0)}if(e.border&&i.outerWidth>0){const{gutterLeft:t,gutterRight:r,gutterTop:o,gutterBottom:a,outerWidth:u,outerHeight:c}=i,d=e.border.padding.padding||0,p=e.border.stroke.width||0,f={position:"absolute",boxSizing:"border-box",left:`${t-d-p}px`,top:`${o-d-p}px`,width:`${u-t-r+2*d+2*p}px`,height:`${c-o-a+2*d+2*p}px`,background:e.border.fill.fill||"transparent",border:`${p}px solid ${e.border.stroke.color||"transparent"}`};l=n(s).createElement("div",{className:"document-border imagebase-border",onClick:this.handlePaddingBorderClick,style:f})}const f=t.cssHeight?{height:t.cssHeight}:null,h={rows:[{text:(0,bn.tr)("Export Image As…"),shortcut:e.capture.lastDlType!==Ce.DL_TYPE_PDF?Ga({cmd:!0,shift:!0,char:"E"}):void 0,disabled:!e.user.isSubOk,onClick:e=>fi.trigger(ke.EVT_DO_EXPORT,{saveAs:!0,dlType:Ce.DL_TYPE_IMAGE})},{text:(0,bn.tr)("Export PDF As…"),shortcut:e.capture.lastDlType===Ce.DL_TYPE_PDF?Ga({cmd:!0,shift:!0,char:"E"}):void 0,disabled:!e.user.isSubOk,onClick:e=>fi.trigger(ke.EVT_DO_EXPORT,{saveAs:!0,dlType:Ce.DL_TYPE_PDF})},{text:(0,bn.tr)("Copy Image"),shortcut:Ga({cmd:!0,alt:!0,char:"E"}),disabled:!e.user.isSubOk,onClick:e=>fi.trigger(ke.EVT_DO_EXPORT,{copy:!0})},{divider:!0},{text:(0,bn.tr)("Help / Shortcuts"),onClick:t=>e.onToggleHelp(!0)}]};return e.user.isSubOk||(h.title=(0,bn.tr)("Sign up for Premium in order to export your edits."),h.rows=[{text:(0,bn.tr)("Sign Up"),onClick:e=>Fa()},{text:(0,bn.tr)("Sign In"),onClick:e=>Ha()},{text:(0,bn.tr)("Learn more"),onClick:e=>window.open(Ce.PREMIUM_URL,"_blank","noopener")},{text:(0,bn.tr)("Go back"),onClick:t=>window.location=bE(e.capture)},{divider:!0},...h.rows]),n(s).createElement("div",{className:n(pi)(r),onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseMove:this.handleMouseMove,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onContextMenu:this.handleContextMenu,tabIndex:1,style:f,ref:this.editorRef},n(s).createElement(EE,null),n(s).createElement(xO,null),n(s).createElement("div",{ref:this.canvasParentRef,className:"canvas",onMouseUp:this.handleCanvasMouseUp,onScroll:this.handleScroll},n(s).createElement("div",{className:"canvas-inner-wrap",style:{width:`${d}px`,height:`${p}px`}},n(s).createElement("div",{className:"canvas-inner",style:a},l,u,c)),n(s).createElement("canvas",{ref:this.canvasOverlayRef,className:"canvas-overlay",width:d,height:p,style:{width:`${d}px`,height:`${p}px`}})),n(s).createElement(TE,null),this.props.showHelp?n(s).createElement(nO,{onToggle:this.props.onToggleHelp}):this.props.showUpdateTheme?n(s).createElement(PE,{onToggle:this.props.onToggleUpdateTheme}):this.props.capture.showWelcome?n(s).createElement(wO,{onClose:this.props.onCloseWelcome,hasEdits:this.props.undosCount>0}):this.props.showDemoModal?n(s).createElement(VE,{onToggle:this.props.onToggleDemoModal}):this.props.showHeaderUpdatedModal?n(s).createElement(KE,{onClose:this.props.onCloseHeaderUpdatedModal,triggerShowTourDemo:this.props.triggerShowTourDemo}):null,n(s).createElement(zi,null),e.notifyText&&n(s).createElement(Oa.default,{text:e.notifyText}),e.clickDialog&&n(s).createElement(UE.default,{pageX:e.clickDialog.pageX,pageY:e.clickDialog.pageY,onClose:e.onCloseClickDialog,onUpdatePosition:(t,r)=>e.onOpenClickDialog(t,r),cfg:h}))}constructor(e){super(e),(0,ue.default)(this,"_notifyTextListener",(({text:e})=>{this.props.setNotifyText(e)})),(0,ue.default)(this,"_userListener",(e=>{this.props.onUpdateLoginState(e)})),(0,ue.default)(this,"_focus",(()=>{this.editorRef.current&&this.editorRef.current.focus()})),(0,ue.default)(this,"_resizeEvt",(()=>{this._hackFixHorizontalScrollBar();let e=!1,t=this.canvasParentRef.current;if(t&&this.props.base&&this.props.base.width){const{props:r,state:n}=this;let o=(0,ki.computeBaseOffsets)(r.base.width,r.base.height,r.base.pixelDensity,r.cropBox,r.browserTemplate,r.zoom,r.layers,r.border,ki.DEFAULT_BASE_OFFSET,t.clientWidth||t.offsetWidth,t.clientHeight||t.offsetHeight);if(EO.isDiff(o,n.computedOffsets)){const t=EO.create(o);this._isMovingLayers()?LE(OO,(e=>{pe.default.debug("[Editor.resizeEvt] computedOffsets"),this.nonreactState.throttledComputedOffsets=t,this.setState({computedOffsets:t})}),2e3):(pe.default.debug("[Editor.resizeEvt] computedOffsets"),e=!0,this.setState({computedOffsets:t}))}}e||(this._zoomChecker(),this._renderCanvas())})),(0,ue.default)(this,"_hackFixHorizontalScrollBar",(()=>{const e=Za().height;e&&window.innerWidth<1050?this.state.cssHeight||this.setState({cssHeight:window.innerHeight-e+"px"}):this.state.cssHeight&&this.setState({cssHeight:""})})),(0,ue.default)(this,"_layerSpotlightListener",(e=>{e&&e.id&&window.setTimeout((()=>{this.setState({spotlightLayerId:e.id}),window.setTimeout((()=>{this.setState({spotlightLayerId:null})}),300)}),100)})),(0,ue.default)(this,"handleMouseDown",(e=>{if(Xa(e))e.preventDefault();else if(this.nonreactState.lastMouseDownCoords={x:e.pageX,y:e.pageY},!e.target.classList.contains("canvas")||!es(e,e.target)){if(this.state.isSpacebarDown)return this._spacebarMouseDown(e);if(this._isMouseSelect()){const{x:t,y:r}=this._mousePosition(e),n={mouseSelectBox:{x1:t,y1:r,x2:t,y2:r},mouseSelectAdded:[]};e.shiftKey||null===this.state.selectedControlPointId&&0===this.props.selectedLayerIds.length||(this.props.onDeselectLayers(),n.selectedControlPointId=null),this.setState(n)}}})),(0,ue.default)(this,"handleLayerMouseDown",((e,t,r)=>{const{props:n}=this;if(Xa(e))return;if(this.state.isSpacebarDown)return this._spacebarMouseDown(e);if(!this._isMouseSelectOrCrop(t))return;const{x:o,y:i}=this._mousePosition(e),a=this._getLayers([t])[0],s=n.multiLayer||a;if(s){this.nonreactState.dragDidCopy=!1;let a=n.selectedLayerIds,l=!1;if(t!==ke.MULTI_LAYER_ID&&(e.shiftKey?a.includes(t)?r||(a=a.filter((e=>e!==t)),l=!0):a=a.concat([t]):a.includes(t)||(a=[t]),a!==n.selectedLayerIds&&n.onSelectLayers(a)),l)return;return this.setState({isMouseDown:!0,mouseLastX:o,mouseLastY:i,selectedControlPointId:r,mouseSelectBox:null,mouseSelectAdded:null,mouseBox:No(s.line||s.box),snapPoints:RO(n.cropBox,n.cropLayer,n.layers,a)})}})),(0,ue.default)(this,"_spacebarMouseDown",(e=>(this.nonreactState.moveCanvasLastPos={x:e.pageX,y:e.pageY},this.setState({isMouseDown:!0})))),(0,ue.default)(this,"handlePaddingBorderClick",(e=>{if(this._isMouseSelect()){const{x:t,y:r}=this.nonreactState.lastMouseDownCoords;Math.abs(t-e.pageX)<=2&&Math.abs(r-e.pageY)<=2&&(e.preventDefault(),e.stopPropagation(),this.props.onEditBorder(!1,this.props.globalShapeDefaults.borderDefaults))}})),(0,ue.default)(this,"handleClickImageBase",(e=>{if(this._isMouseSelect&&this.props.browserTemplate){const t=this.nonreactState.lastMouseSelectBox;if(!t||t.x1===t.x2&&t.y1===t.y2){const t=this.props.browserTemplate,{y:r}=this._mousePosition(e);(r<0||t._borders.bottom&&r>t.offsets.fullHeight-t._borders.bottom.size)&&(e.preventDefault(),e.stopPropagation(),this.props.onEditTemplate())}}})),(0,ue.default)(this,"handleMouseUp",(e=>{if(!this.state.isSpacebarDown&&!this._isMouseSelectOrCrop())return;this.nonreactState.lastMouseSelectBox=this.state.mouseSelectBox;let t={isMouseDown:!1,selectedControlPointId:null,mouseSelectBox:null,mouseSelectAdded:null,mouseBox:null,snapPoints:null,snapPairsCoords:null};Object.entries(t).some((([e,t])=>this.state[e]!==t))&&this.setState(t);(0,Te.checkCanDispatch)(e)&&(0,Te.default)(window,ke.EVT_MOUSEUP)})),(0,ue.default)(this,"handleMouseMove",(e=>{if(this.state.mouseSelectBox){const{props:t,state:r}=this,{x:n,y:o}=this._mousePosition(e),i=Object.assign({},r.mouseSelectBox,{x2:n,y2:o});let a=r.mouseSelectAdded;const s=(0,ki.findOverlappingLayers)(i,t.layers).map((e=>e.id)),l=s.filter((e=>!t.selectedLayerIds.includes(e))),u=a.filter((e=>!s.includes(e)));return(l.length||u.length)&&t.onSelectLayers(TO(t.selectedLayerIds,l,u)),void this.setState({mouseSelectBox:i,mouseSelectAdded:TO(a,l,u)})}if(this._isMovingCanvas()&&e){const{x:t,y:r}=this.nonreactState.moveCanvasLastPos,{pageX:n,pageY:o}=e;this.nonreactState.moveCanvasLastPos={x:n,y:o};const i=this._scrollElt();if(i){const e=n-t,a=o-r;i.scrollLeft-=e,i.scrollTop-=a}return}if(!this._isMovingLayers())return;const{x:t,y:r}=this._mousePosition(e);if(this.nonreactState.isAltPressed&&!this.nonreactState.dragDidCopy&&!this.state.selectedControlPointId){this.nonreactState.dragDidCopy=!0;const e=t-this.state.mouseLastX,n=r-this.state.mouseLastY,o=this._selectedLayers(null,!0);return this._copyPaste(o,e,n,"duplicate_drag"),void this.setState({mouseLastX:t,mouseLastY:r})}this.setState(((e,o)=>{const i={mouseLastX:t,mouseLastY:r},a=t-e.mouseLastX,s=r-e.mouseLastY,l=e.mouseBox,u=e.snapPoints;n(Ne).ok(l,"No state.mouseBox in drag!"),n(Ne).ok(u,"No state.snapPoints in drag!");const c=this._selectedLayers(o),d=o.multiLayer||c[0],p=Boolean(o.multiLayer),f=Boolean(d.line),h=e.selectedControlPointId,g=zo(h,f),{groupName:m,updates:v,newMouseBox:y,newCtrlId:b,snapPairsCoords:x}=f?this._mouseMoveLine(l,d.line,a,s,h,g,u):this._mouseMoveBox(l,d.box,a,s,h,g,u,Boolean(Lo[d.shapeKey].isSquare),Boolean(d.text&&d.text.autoHeight)),w=[];if(p){const e={x:v.x-d.box.x,y:v.y-d.box.y,width:v.width-d.box.width,height:v.height-d.box.height};e.x1=e.x,e.x2=e.x,e.y1=e.y,e.y2=e.y,c.forEach((t=>{const r=t.line?"line":"box",n={};Object.entries(t[r]).forEach((([t,r])=>{n[t]=r+e[t]})),w.push(SE(Jo,o.base,t)(t.id,t.shapeKey,r,n,p))}))}else w.push(SE(Jo,o.base,d)(d.id,d.shapeKey,m,v,p));return o.onBatchChangeProperties(w),Object.assign(i,{selectedControlPointId:b||h,mouseBox:y,snapPairsCoords:x})}))})),(0,ue.default)(this,"_mouseMoveLine",((e,t,r,n,o,i,a)=>{e=No(e);let s=[];Object.entries(i).forEach((([t,o])=>{e[t]+=("dx"===o.dim?r:n)*o.delta}));let l=No(e),u=new Set,c=CO(l.x1,l.x2),d=CO(l.y1,l.y2);if(0!==c&&c<15&&0!==d){let[e,t]=i.x1?["x1","x2"]:["x2","x1"];l[e]=l[t],u.add(e)}else if(0!==d&&d<15&&0!==c){let[e,t]=i.y1?["y1","y2"]:["y2","y1"];l[e]=l[t],u.add(e)}let p=["x1","x2"],f=["y1","y2"],h=[],[g,m]=jO(l);return p.some((e=>u.has(e)))||h.push({others:a.xSnaps,snaps:g,snapAttrs:p}),f.some((e=>u.has(e)))||h.push({others:a.ySnaps,snaps:m,snapAttrs:f}),h.length&&(s=MO(l,o,i,h)),{groupName:"line",updates:l,newMouseBox:e,snapPairsCoords:s}})),(0,ue.default)(this,"_mouseMoveBox",((e,t,r,o,i,a,s,l,u)=>{let c=t;e=No(e);let d=!1;Object.entries(a).forEach((([t,n])=>{e[t]+=("dx"===n.dim?r:o)*n.delta}));let p=No(e),[f,h]=PO(p),g=[{others:s.xSnaps,snaps:f,snapAttrs:["x","width"]},{others:s.ySnaps,snaps:h,snapAttrs:["y","height"]}],m=MO(p,i,a,g);if(0===p.width||l&&0===p.height){let t=!l&&e.width,{width:r,x:n}=t?e:c;p.width=r,p.x=n,m=m.filter((e=>"y"!==e.adjustAxis))}if(0===p.height||l&&0===p.width){let t=!l&&e.height,{height:r,y:n}=t?e:c;p.height=r,p.y=n,m=m.filter((e=>"x"!==e.adjustAxis))}p.width<0&&(p.width*=-1,p.x-=p.width),p.height<0&&(p.height*=-1,p.y-=p.height);let v={};if(e.width<0&&(Object.assign(v,Wo.width),d=!0,e.width*=-1,e.x-=e.width),e.height<0&&(Object.assign(v,Wo.height),d=!0,e.height*=-1,e.y-=e.height),d&&(i=i.split("").map((e=>v[e]||e)).join("")),l)if(["width","height"].every((e=>e in a))){let{width:e,height:t}=p;if(e!==t){let r=1,o=t*r,i=e/r,s={dx:o>e?0:o-e,dy:i>t?0:i-t},l=JSON.stringify(a);s.dx&&(n(Ne).ok("width"in a,`isSquare no width: ${l}`),s.dx*=a.width.delta),s.dy&&(n(Ne).ok("height"in a,`isSquare height ${l}`),s.dy*=a.height.delta),Object.entries(a).forEach((([e,t])=>{let r=s[t.dim]*t.delta;p[e]+=r;let n="dx"===t.dim?"y":"x";m=m.filter((e=>e.adjustAxis!==n))}))}}else{"width"in a?p.height=p.width:p.width=p.height}return{groupName:"box",updates:p,newMouseBox:e,newCtrlId:i,snapPairsCoords:m}})),(0,ue.default)(this,"handleKeyDown",(e=>{const{props:t,state:r}=this,n=Ka(e),o=e.shiftKey;if(18===e.keyCode&&(this.nonreactState.isAltPressed=!0),r.isZoomMode&&(e.metaKey&&n?this._toggleZoomMode():18===e.keyCode&&this.setState({isZoomOut:!0})),n)switch(e.keyCode){case 90:return e.preventDefault(),void(o?t.onRedo():t.onUndo());case 89:return e.preventDefault(),void t.onRedo();case 67:{if(e.shiftKey)return;if(window.getSelection){if(window.getSelection().toString().trim())return}e.preventDefault();const t=this.nonreactState.clipboard;return void Object.assign(t,{offset:0,layers:this._selectedLayers(null,!0)})}case 86:if(e.preventDefault(),this.nonreactState.clipboard.layers){const e=this.nonreactState.clipboard;e.offset+=e.delta,this._copyPaste(e.layers,e.offset,e.offset,"paste_key")}return;case 68:{e.preventDefault();const t=this._selectedLayers(null,!0);return void this._copyPaste(t,50,50,"duplicate_key")}case 69:{e.preventDefault();const t=e.altKey?{copy:!0}:e.shiftKey?{saveAs:!0}:{};return void fi.trigger(ke.EVT_DO_EXPORT,t)}case 83:return e.preventDefault(),void(0,Oa.triggerNotifyText)(`😎 ${(0,bn.tr)("All edits are auto-saved")}`,2e3);case 65:{e.preventDefault();const r=t.layers.map((e=>e.id));return void t.onSelectLayers(r)}case 189:case 187:case 48:{let r;switch(e.preventDefault(),e.keyCode){case 189:r=Cw(t.zoom);break;case 187:r=kw(t.zoom);break;case 48:r=100}return void(r!==t.zoom&&(this._recordLastZoomCoords(r),t.onChangeZoom(r,r{let n=Boolean(e.line),o=n?"line":"box",s=No(e[o]);(n?[{delta:i,attrs:["x1","x2"]},{delta:a,attrs:["y1","y2"]}]:[{delta:i,attrs:["x"]},{delta:a,attrs:["y"]}]).forEach((({delta:e,attrs:t})=>t.forEach((t=>s[t]+=e)))),r.push(SE(Jo,t.base,e)(e.id,e.shapeKey,o,s,Boolean(t.multiLayer)))})),t.onBatchChangeProperties(r)}})),(0,ue.default)(this,"handleKeyUp",(e=>{const{props:t,state:r}=this,n=Ka(e),o=e.shiftKey,i=r.isSpacebarDown,a=n||o||i;if(18===e.keyCode&&(this.nonreactState.isAltPressed=!1),r.isZoomOut&&18===e.keyCode&&this.setState({isZoomOut:!1}),90===e.keyCode&&this.state.isZoomMode)this._toggleZoomMode();else if(i&&32===e.keyCode&&this.setState({isSpacebarDown:!1,isMouseDown:!1}),r.isZoomMode)27!==e.keyCode&&86!==e.keyCode||this._toggleZoomMode();else if(191===e.keyCode&&o||this.props.showHelp&&27===e.keyCode)this.props.onToggleHelp(!this.props.showHelp);else{if(!a){const t=this._isCrop();switch(e.keyCode){case 67:return void(t?this.props.disableCrop():this.props.base&&this.props.base.width&&this.props.enableCrop(this.props.base.width,this.props.base.height));case 27:return void this.props.disableCrop();case 13:if(t)return void this.props.disableCrop();break;case 85:return void this.props.onEditTemplate();case 80:return void this.props.onEditBorder(!0,this.props.globalShapeDefaults.borderDefaults)}}if(this._isMouseSelect()){switch(e.keyCode){case 27:case 13:return void(t.selectedLayerIds.length&&t.onDeselectLayers());case 8:case 46:return void(t.selectedLayerIds&&t.onRemoveLayers(t.selectedLayerIds))}if(!a){const t=e.key?e.key.toUpperCase():String.fromCharCode(e.keyCode),r=Object.values(Lo).find((e=>e.insertKey===t));if(r)return void fi.trigger(ke.EVT_INSERT_SHAPE,r)}}}})),(0,ue.default)(this,"handleCanvasMouseUp",(e=>{if(this.state.isZoomMode){const t=this.state.isZoomOut,r=t?Cw(this.props.zoom):kw(this.props.zoom);if(r!==this.props.zoom){const{x:n,y:o}=this._mousePosition(e);this._recordLastZoomCoords(r,n,o),this.props.onChangeZoom(r,t,"mouse")}}else;})),(0,ue.default)(this,"_windowMouseUpListener",(e=>{const t=e.pageX||0,r=e.pageY||0;(t<0||t>window.innerWidth||r<0||r>window.innerHeight)&&this.handleMouseUp(e)})),(0,ue.default)(this,"handleContextMenu",(e=>{e.preventDefault();!!e.target.closest(".canvas")&&this.props.onOpenClickDialog(e.pageX-window.scrollX,e.pageY-window.scrollY)})),(0,ue.default)(this,"handleScroll",(e=>{const t=e.currentTarget;this.nonreactState.scroll={scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}})),(0,ue.default)(this,"_isMouseSelect",(()=>!this.state.isSpacebarDown&&!this.state.isZoomMode&&this.props.mode===Wt)),(0,ue.default)(this,"_isCrop",(()=>!this.state.isSpacebarDown&&!this.state.isZoomMode&&this.props.mode===zt)),(0,ue.default)(this,"_isMouseSelectOrCrop",(e=>e===ke.CROP_ID||this.props.selectedLayerIds.includes(ke.CROP_ID)?this._isCrop():this._isMouseSelect())),(0,ue.default)(this,"_isMovingLayers",(()=>this.state.isMouseDown&&(this.props.selectedLayerIds.length,!0)&&!this.state.isSpacebarDown)),(0,ue.default)(this,"_isMovingCanvas",(()=>this.state.isMouseDown&&this.state.isSpacebarDown)),(0,ue.default)(this,"_scrollElt",(()=>this.canvasParentRef.current)),(0,ue.default)(this,"_zoomMouseListener",(e=>this._toggleZoomMode())),(0,ue.default)(this,"_toggleZoomMode",(()=>{this.setState(((e,t)=>({isZoomMode:!e.isZoomMode,isZoomOut:!1})))})),(0,ue.default)(this,"_zoomListener",(e=>{if(!this.props.base||!this.props.base.img)return;const t=e.detail.zoom,r=this._recordLastZoomCoords(t);(0,pe.default)(`[Editor._zoomListener] ${JSON.stringify(r)}`)})),(0,ue.default)(this,"_recordLastZoomCoords",((e,t,r)=>{const{zoom:n}=this.props;if(void 0===t||void 0===r){const{browserTemplate:e,cropBox:o}=this.props;({centerX:t,centerY:r}=(0,ki.getCenterCoords)(e,o,n))}const o={centerX:t,centerY:r,zoom:n,newZoom:e};return this._lastZoomCoords=o,o})),this.state={computedOffsets:EO.defaults,isSpacebarDown:!1,isZoomMode:!1,isZoomOut:!1,isMouseDown:!1,selectedControlPointId:null,mouseSelectBox:null,mouseSelectAdded:null,mouseLastX:null,mouseLastY:null,mouseBox:null,snapPoints:null,snapPairsCoords:null},this.nonreactState={clipboard:{offset:0,layers:null,delta:50},scroll:{scrollLeft:0,scrollTop:0},throttledComputedOffsets:null,lastMouse:{pageX:0,pageY:0},moveCanvasLastPos:{pageX:0,pageY:0},isAltPressed:!1,dragDidCopy:!0,lastMouseDownCoords:{pageX:0,pageY:0},lastMouseSelectBox:null},this.editorRef=n(s).createRef(),this.canvasParentRef=n(s).createRef(),this.canvasOverlayRef=n(s).createRef()}}const CO=(e,t)=>Math.abs(t-e),kO=(e,t)=>e.push.apply(e,t),TO=(e,t,r)=>(t.length&&(e=e.concat(t)),r.length&&(e=e.filter((e=>!r.includes(e)))),e),RO=(e,t,r,n)=>{let o=[],i=[];if(e){let{width:t,height:r}=e,n=15,a=[-n,0,Math.floor(t/2),t,t+n].map((t=>t+e.x)),s=[-n,0,Math.floor(r/2),r,r+n].map((t=>t+e.y));o.push.apply(o,a.map((e=>({pixel:e,exact:e,axis:"x",otherDims:s})))),i.push.apply(i,s.map((e=>({pixel:e,exact:e,axis:"y",otherDims:a}))))}return r.forEach((e=>{if(n&&n.includes(e.id))return;let[t,r]=e.line?jO(e.line,e):PO(e.box,e);kO(o,t),kO(i,r)})),{xSnaps:o,ySnaps:i}},jO=(e,t)=>{let r=(e.x1+e.x2)/2,n=(e.y1+e.y2)/2;return[[{pixel:e.x1,exact:e.x1,axis:"x",otherDims:[e.y1],dir:"1",type:"point",layer:t},{pixel:e.x2,exact:e.x2,axis:"x",otherDims:[e.y2],dir:"2",type:"point",layer:t},{pixel:Math.floor(r),exact:r,axis:"x",otherDims:[Math.floor(n)],type:"center-point",layer:t}],[{pixel:e.y1,exact:e.y1,axis:"y",otherDims:[e.x1],dir:"1",type:"point",layer:t},{pixel:e.y2,exact:e.y2,axis:"y",otherDims:[e.x2],dir:"2",type:"point",layer:t},{pixel:Math.floor(n),exact:n,axis:"y",otherDims:[Math.floor(r)],type:"center-point",layer:t}]]},PO=(e,t)=>{let r=e.x+e.width/2,n=e.y+e.height/2,o=e.x+e.width,i=e.y+e.height,a=[e.y,i],s=[e.x,o];return[[{pixel:Math.floor(r),exact:r,axis:"x",otherDims:a,type:"center",layer:t},{pixel:e.x,exact:e.x,axis:"x",otherDims:a,dir:"W",type:"left",layer:t},{pixel:o,exact:o,axis:"x",otherDims:a,dir:"E",type:"right",layer:t}],[{pixel:Math.floor(n),exact:n,axis:"y",otherDims:s,type:"center",layer:t},{pixel:e.y,exact:e.y,axis:"y",dir:"N",otherDims:s,type:"top",layer:t},{pixel:i,exact:i,axis:"y",dir:"S",otherDims:s,type:"bottom",layer:t}]]},MO=(e,t,r,n)=>{let o=[],i={x:0,y:0};return n.forEach((({others:n,snaps:a,snapAttrs:s})=>{t&&(a=a.filter((e=>e.dir&&-1!==t.indexOf(e.dir))));let l=(u=e=>{return t=t=>CO(e.pixel,t.pixel)<8?[t,e]:void 0,a.reduce(((e,r)=>{let n=t(r);return null!=n&&e.push(n),e}),[]);var t},n.map(u).reduce(((e,t)=>e.concat(t)),[]));var u;let c=null,d=null,p=null,f=null;if(l.forEach((e=>{let{diff:t,val1:r,val2:n}=((e,t)=>{let r=null,n=null,o=null;return e.forEach((e=>{t.forEach((t=>{let i=CO(e,t);(null===r||i{if(r[t]){let n=a*r[t].delta;e[t]+=n}}))}})),o.forEach((e=>{i[e.adjustAxis]&&(e[`${e.adjustAxis}1`]+=i[e.adjustAxis])})),o};var DO=SO;var AO=le((e=>({base:e.base,capture:e.capture,error:e.error.error,browserTemplate:Hi(e),layers:Ti(e),zoom:e.editor.zoom,selectedLayerIds:ji(e),hoveringLayerId:Pi(e),multiLayer:Fi(e),mode:e.editor.mode,cropLayer:Mi(e),cropBox:Li(e),border:Di(e),showHelp:e.editor.showHelp||!1,showUpdateTheme:e.editor.showUpdateTheme||!1,showDemoModal:e.editor.showDemoModal||!1,showHeaderUpdatedModal:e.editor.showHeaderUpdatedModal||!1,undosCount:e.undos.past.length,redosCount:e.undos.future.length,globalShapeDefaults:qi(e),notifyText:e.editor.notifyText,clickDialog:e.editor.clickDialog,user:Wi(e)})),(e=>({loadBase:(t,r,n,o)=>e(hn(t,r,n,o)),enableCrop:(t,r)=>e(_r(t,r)),disableCrop:()=>e(Sr()),onChangeZoom:(t,r,n)=>(u.default.event("editor_zoom",r?"out":"in",n,t),e(yr(t))),onSelectLayers:t=>e(gr(t)),onDeselectLayers:()=>e({type:Xt,payload:{selectedLayerIds:[]}}),onHoverLayer:t=>e(mr(t)),onUnhoverLayer:()=>e(vr()),onChangeProperties:(t,r,n,o,i)=>e(Jo(t,r,n,o,i)),onBatchChangeProperties:t=>e(Zo(t)),onBatchAddLayer:(t,r,n)=>(u.default.event("editor_insert","batch",n),e(Bt(t,r))),onRemoveLayers:t=>e({type:Ht,payload:{ids:t}}),onEditBorder:(t,r)=>e(br(t,r)),onEditTemplate:t=>e(xr(t)),onSetError:t=>e(yn(t)),onUndo:()=>(u.default.event("editor_undo","undo","keyboard"),e(Wr.ActionCreators.undo())),onRedo:()=>(u.default.event("editor_undo","redo","keyboard"),e(Wr.ActionCreators.redo())),onToggleHelp:t=>e(wr(t)),onToggleUpdateTheme:t=>e(Er(t)),onToggleDemoModal:t=>e(Or(t)),setNotifyText:t=>e(Cr(t)),onOpenClickDialog:(t,r)=>e(kr(t,r)),onCloseClickDialog:()=>e({type:pr,payload:{clickDialog:null}}),onCloseHeaderUpdatedModal:()=>(Oe.default.set("didUpdatedHeaderModal",!0).catch((e=>pe.default.error(e))),e({type:fr,payload:{showHeaderUpdatedModal:!1}})),triggerShowTourDemo:()=>e((fe.default.set("show_editor_tour",!0),{type:De,payload:{showTourDemo:!0}})),onUpdateLoginState:t=>e(Ae(t))})))(DO);var LO=(0,ni.createMuiTheme)({typography:{useNextVariants:!0},overrides:{MuiTooltip:{tooltip:{fontSize:"12px",backgroundColor:"#000000e4"}}}});class NO extends s.Component{render(){return n(s).createElement(ni.MuiThemeProvider,{theme:LO},n(s).createElement(AO,null))}}s=a("2q4iO");var IO=({hasError:e=!1})=>{const t={};return e&&(t.fill="#F00"),n(s).createElement(Ea,{...t,scale:3,style:{display:"block",margin:"20vh auto 0",opacity:.2}})};class HO extends s.Component{componentDidMount(){this._mounted=!0;const e=(0,be.getQueryString)();let t=e.id,r=e.e;ge().catch((e=>(pe.default.error("ERROR CHECKING",e),this._mounted&&this.setState({loaderError:!0}),(0,ye.sleep)(5e3).then((()=>!1))))).then((e=>e?Tr(t,r).catch((e=>(pe.default.error("Caught error loading initial state"),pe.default.error(e),e.permanent=!0,{error:{error:e}}))):(window.location=chrome.runtime.getURL("/capture.html"),null))).then((e=>{if((0,pe.default)("initial state?",e),null!==e){const t=ri(e);this._mounted&&this.setState({store:t})}}))}componentWillUnmount(){this._mounted=!1}render(){return(0,pe.default)("[STORE_LOADER.render]",this.state.store),this.state.store?n(s).createElement(h,{store:this.state.store},n(s).createElement(NO,null)):n(s).createElement(IO,{hasError:this.state.loaderError})}constructor(e){super(e),this.state={store:null,loaderError:!1}}}u.default.pageview(),(0,l.render)(n(s).createElement(HO,null),document.getElementById("root")); +//# sourceMappingURL=editor.286d9855.js.map diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.513d0955.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.513d0955.js new file mode 100644 index 0000000..2a58e67 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.513d0955.js @@ -0,0 +1,103 @@ +(()=>{function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function r(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function n(e){return e&&e.__esModule?e.default:e}var o={},i={},a=t.parcelRequire60cc;null==a&&((a=function(e){if(e in o)return o[e].exports;if(e in i){var t=i[e];delete i[e];var r={id:e,exports:{}};return o[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){i[e]=t},t.parcelRequire60cc=a),a.register("aQ47y",(function(e,t){"use strict";var r=a("7O5ct"),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||n}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var i=f(r);i&&i!==h&&e(t,i,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),g=l(r),m=0;mn),(e=>n=e)),e(t.exports,"ConcurrentMode",(()=>o),(e=>o=e)),e(t.exports,"ContextConsumer",(()=>i),(e=>i=e)),e(t.exports,"ContextProvider",(()=>a),(e=>a=e)),e(t.exports,"Element",(()=>s),(e=>s=e)),e(t.exports,"ForwardRef",(()=>l),(e=>l=e)),e(t.exports,"Fragment",(()=>u),(e=>u=e)),e(t.exports,"Lazy",(()=>c),(e=>c=e)),e(t.exports,"Memo",(()=>d),(e=>d=e)),e(t.exports,"Portal",(()=>p),(e=>p=e)),e(t.exports,"Profiler",(()=>f),(e=>f=e)),e(t.exports,"StrictMode",(()=>h),(e=>h=e)),e(t.exports,"Suspense",(()=>g),(e=>g=e)),e(t.exports,"isAsyncMode",(()=>m),(e=>m=e)),e(t.exports,"isConcurrentMode",(()=>v),(e=>v=e)),e(t.exports,"isContextConsumer",(()=>y),(e=>y=e)),e(t.exports,"isContextProvider",(()=>b),(e=>b=e)),e(t.exports,"isElement",(()=>x),(e=>x=e)),e(t.exports,"isForwardRef",(()=>w),(e=>w=e)),e(t.exports,"isFragment",(()=>E),(e=>E=e)),e(t.exports,"isLazy",(()=>_),(e=>_=e)),e(t.exports,"isMemo",(()=>S),(e=>S=e)),e(t.exports,"isPortal",(()=>O),(e=>O=e)),e(t.exports,"isProfiler",(()=>k),(e=>k=e)),e(t.exports,"isStrictMode",(()=>C),(e=>C=e)),e(t.exports,"isSuspense",(()=>T),(e=>T=e)),e(t.exports,"isValidElementType",(()=>R),(e=>R=e)),e(t.exports,"typeOf",(()=>P),(e=>P=e));var j="function"==typeof Symbol&&Symbol.for,M=j?Symbol.for("react.element"):60103,D=j?Symbol.for("react.portal"):60106,L=j?Symbol.for("react.fragment"):60107,A=j?Symbol.for("react.strict_mode"):60108,N=j?Symbol.for("react.profiler"):60114,I=j?Symbol.for("react.provider"):60109,H=j?Symbol.for("react.context"):60110,F=j?Symbol.for("react.async_mode"):60111,U=j?Symbol.for("react.concurrent_mode"):60111,B=j?Symbol.for("react.forward_ref"):60112,z=j?Symbol.for("react.suspense"):60113,W=j?Symbol.for("react.suspense_list"):60120,q=j?Symbol.for("react.memo"):60115,V=j?Symbol.for("react.lazy"):60116,Y=j?Symbol.for("react.block"):60121,$=j?Symbol.for("react.fundamental"):60117,G=j?Symbol.for("react.responder"):60118,K=j?Symbol.for("react.scope"):60119;function X(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case M:switch(e=e.type){case F:case U:case L:case N:case A:case z:return e;default:switch(e=e&&e.$$typeof){case H:case B:case V:case q:case I:return e;default:return t}}case D:return t}}}function Z(e){return X(e)===U}n=F,o=U,i=H,a=I,s=M,l=B,u=L,c=V,d=q,p=D,f=N,h=A,g=z,m=function(e){return Z(e)||X(e)===F},v=Z,y=function(e){return X(e)===H},b=function(e){return X(e)===I},x=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===M},w=function(e){return X(e)===B},E=function(e){return X(e)===L},_=function(e){return X(e)===V},S=function(e){return X(e)===q},O=function(e){return X(e)===D},k=function(e){return X(e)===N},C=function(e){return X(e)===A},T=function(e){return X(e)===z},R=function(e){return"string"==typeof e||"function"==typeof e||e===L||e===U||e===N||e===A||e===z||e===W||"object"==typeof e&&null!==e&&(e.$$typeof===V||e.$$typeof===q||e.$$typeof===I||e.$$typeof===H||e.$$typeof===B||e.$$typeof===$||e.$$typeof===G||e.$$typeof===K||e.$$typeof===Y)},P=X})),a.register("dehX7",(function(n,o){r(n.exports),e(n.exports,"default",(()=>l),(e=>l=e));var i,s=a("4lPxA");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:n;var l=(0,s.default)(i)})),a.register("4lPxA",(function(t,r){function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}e(t.exports,"default",(()=>n))})),a.register("4qadp",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dangerouslyUseGlobalCSS,r=void 0!==t&&t,o=e.productionPrefix,i=void 0===o?"jss":o,a=e.seed,s=void 0===a?"":a,l=0;return function(e,t){return l+=1,r&&t&&t.options.name?"".concat((o=t.options.name,String(o).replace(n,"-")),"-").concat(e.key):"".concat(i).concat(s).concat(l);var o}};r(a("fqT2K"));var n=/([[\].#*$><+~=|^:(),"'`\s])/g})),a.register("iIdtL",(function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}})),a.register("fqT2K",(function(e,t){"use strict";var r=function(){};e.exports=r})),a.register("9ar8U",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;r(a("7WJzX"));var n=r(a("4SXfL")),o=r(a("c4c0k")),i=r(a("7Cnnu")),s=r(a("gsWKG")),l=(r(a("fqT2K")),r(a("lctrP"))),u=r(a("bVxwA")),c=r(a("8f9dW")),d=r(a("xyHxY")),p=r(a("hGi4Z")),f=r(a("3Z5LX")),h=r(a("5JzwV")),g=r(a("6sAGw")),m=r(a("bR0XP"));var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,r=void 0===t?{}:t,a=e.mixins,v=void 0===a?{}:a,y=e.palette,b=void 0===y?{}:y,x=e.shadows,w=e.spacing,E=void 0===w?{}:w,_=e.typography,S=void 0===_?{}:_,O=(0,o.default)(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),k=(0,c.default)(b),C=(0,l.default)(r),T=(0,n.default)({},h.default,E);return(0,n.default)({breakpoints:C,direction:"ltr",mixins:(0,u.default)(C,T,v),overrides:{},palette:k,props:{},shadows:x||p.default,typography:(0,d.default)(k,S)},(0,i.default)({shape:f.default,spacing:T,transitions:g.default,zIndex:m.default},O,{isMergeableObject:s.default}))};e.exports.default=v})),a.register("7WJzX",(function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}})),a.register("4SXfL",(function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}})),a.register("79oYM",(function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}})),a.register("7Cnnu",(function(e,t){e.exports,e.exports=function(){"use strict";var e=function(e){return t(e)&&!r(e)};function t(e){return!!e&&"object"==typeof e}function r(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||o(e)}var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e){return e.$$typeof===n}function i(e){return Array.isArray(e)?[]:{}}function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?p(i(e),e,t):e}function s(e,t,r){return e.concat(t).map((function(e){return a(e,r)}))}function l(e,t){if(!t.customMerge)return p;var r=t.customMerge(e);return"function"==typeof r?r:p}function u(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function c(e){return Object.keys(e).concat(u(e))}function d(e,t,r){var n={};return r.isMergeableObject(e)&&c(e).forEach((function(t){n[t]=a(e[t],r)})),c(t).forEach((function(o){r.isMergeableObject(t[o])&&e[o]?n[o]=l(o,r)(e[o],t[o],r):n[o]=a(t[o],r)})),n}function p(t,r,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||e;var o=Array.isArray(r);return o===Array.isArray(t)?o?n.arrayMerge(t,r,n):d(t,r,n):a(r,n)}return p.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return p(e,r,t)}),{})},p}()})),a.register("gsWKG",(function(e,t){ +/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ +"use strict";var r=a("42PRP");function n(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,r;return!1!==n(e)&&("function"==typeof(t=e.constructor)&&(!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}})),a.register("42PRP",(function(e,t){ +/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ +"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}})),a.register("lctrP",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){var t=e.values,r=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,a=e.unit,s=void 0===a?"px":a,l=e.step,u=void 0===l?5:l,c=(0,o.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof r[e]?r[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var n=i.indexOf(t)+1;return n===i.length?d(e):"@media (min-width:".concat(r[e]).concat(s,") and ")+"(max-width:".concat(r[i[n]]-u/100).concat(s,")")}return(0,n.default)({keys:i,values:r,up:d,down:function(e){var t=i.indexOf(e)+1,n=r[i[t]];return t===i.length?d("xs"):"@media (max-width:".concat(("number"==typeof n&&t>0?n:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return r[e]}},c)},e.exports.keys=void 0;var n=r(a("4SXfL")),o=r(a("c4c0k")),i=["xs","sm","md","lg","xl"];e.exports.keys=i})),a.register("bVxwA",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t,r){var i;return(0,o.default)({gutters:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.default)({paddingLeft:2*t.unit,paddingRight:2*t.unit},r,(0,n.default)({},e.up("sm"),(0,o.default)({paddingLeft:3*t.unit,paddingRight:3*t.unit},r[e.up("sm")])))},toolbar:(i={minHeight:56},(0,n.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,n.default)(i,e.up("sm"),{minHeight:64}),i)},r)};var n=r(a("7WJzX")),o=r(a("4SXfL"))})),a.register("8f9dW",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){var t=e.primary,r=void 0===t?{light:s.default[300],main:s.default[500],dark:s.default[700]}:t,a=e.secondary,m=void 0===a?{light:l.default.A200,main:l.default.A400,dark:l.default.A700}:a,v=e.error,y=void 0===v?{light:c.default[300],main:c.default[500],dark:c.default[700]}:v,b=e.type,x=void 0===b?"light":b,w=e.contrastThreshold,E=void 0===w?3:w,_=e.tonalOffset,S=void 0===_?.2:_,O=(0,o.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function k(e){return(0,p.getContrastRatio)(e,h.text.primary)>=E?h.text.primary:f.text.primary}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!e.main&&e[t]&&(e.main=e[t]),g(e,"light",r,S),g(e,"dark",n,S),e.contrastText||(e.contrastText=k(e.main)),e}C(r),C(m,"A400","A200","A700"),C(y);var T={dark:h,light:f};return(0,i.default)((0,n.default)({common:d.default,type:x,primary:r,secondary:m,error:y,grey:u.default,contrastThreshold:E,getContrastText:k,augmentColor:C,tonalOffset:S},T[x]),O,{clone:!1})},e.exports.dark=e.exports.light=void 0;var n=r(a("4SXfL")),o=r(a("c4c0k")),i=(r(a("fqT2K")),r(a("7Cnnu"))),s=r(a("4oyWJ")),l=r(a("3cCT1")),u=r(a("5IcMH")),c=r(a("kcW7D")),d=r(a("8gyO0")),p=a("496ij"),f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.default.white,default:u.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};e.exports.light=f;var h={text:{primary:d.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:u.default[800],default:"#303030"},action:{active:d.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function g(e,t,r,n){e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,p.lighten)(e.main,n):"dark"===t&&(e.dark=(0,p.darken)(e.main,1.5*n)))}e.exports.dark=h})),a.register("4oyWJ",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};e.exports.default=r})),a.register("3cCT1",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};e.exports.default=r})),a.register("5IcMH",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};e.exports.default=r})),a.register("kcW7D",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};e.exports.default=r})),a.register("8gyO0",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={black:"#000",white:"#fff"};e.exports.default=r})),a.register("496ij",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.convertHexToRGB=o,e.exports.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=i(e).values;return t=t.map((function(e){return 1===(t=e.toString(16)).length?"0".concat(t):t;var t})),"#".concat(t.join(""))},e.exports.decomposeColor=i,e.exports.recomposeColor=s,e.exports.getContrastRatio=function(e,t){var r=l(e),n=l(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},e.exports.getLuminance=l,e.exports.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?u(e,t):c(e,t)},e.exports.fade=function(e,t){if(!e)return e;e=i(e),t=n(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,s(e)},e.exports.darken=u,e.exports.lighten=c;r(a("fqT2K"));function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return er?r:e}function o(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb(".concat(r.map((function(e){return parseInt(e,16)})).join(", "),")"):""}function i(e){if("#"===e.charAt(0))return i(o(e));var t=e.indexOf("("),r=e.substring(0,t),n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function s(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")&&(r=r.map((function(e,t){return t<3?parseInt(e,10):e}))),-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e.type,"(").concat(r.join(", "),")")}function l(e){var t=i(e);if(-1!==t.type.indexOf("rgb")){var r=t.values.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}return t.values[2]/100}function u(e,t){if(!e)return e;if(e=i(e),t=n(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return s(e)}function c(e,t){if(!e)return e;if(e=i(e),t=n(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return s(e)}})),a.register("xyHxY",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t){var r="function"==typeof t?t(e):t,a=r.fontFamily,d=void 0===a?c:a,p=r.fontSize,f=void 0===p?14:p,h=r.fontWeightLight,g=void 0===h?300:h,m=r.fontWeightRegular,v=void 0===m?400:m,y=r.fontWeightMedium,b=void 0===y?500:y,x=r.htmlFontSize,w=void 0===x?16:x,E=r.useNextVariants,_=void 0===E?Boolean(s.default.__MUI_USE_NEXT_TYPOGRAPHY_VARIANTS__):E,S=(r.suppressWarning,r.allVariants),O=(0,o.default)(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","htmlFontSize","useNextVariants","suppressWarning","allVariants"]),k=f/14,C=function(e){return"".concat(e/w*k,"rem")},T=function(t,r,o,i,a){return(0,n.default)({color:e.text.primary,fontFamily:d,fontWeight:t,fontSize:C(r),lineHeight:o},d===c?{letterSpacing:"".concat(l(i/r),"em")}:{},a,S)},R={h1:T(g,96,1,-1.5),h2:T(g,60,1,-.5),h3:T(v,48,1.04,0),h4:T(v,34,1.17,.25),h5:T(v,24,1.33,0),h6:T(b,20,1.6,.15),subtitle1:T(v,16,1.75,.15),subtitle2:T(b,14,1.57,.1),body1Next:T(v,16,1.5,.15),body2Next:T(v,14,1.5,.15),buttonNext:T(b,14,1.75,.4,u),captionNext:T(v,12,1.66,.4),overline:T(v,12,2.66,1,u)},P={display4:(0,n.default)({fontSize:C(112),fontWeight:g,fontFamily:d,letterSpacing:"-.04em",lineHeight:"".concat(l(128/112),"em"),marginLeft:"-.04em",color:e.text.secondary},S),display3:(0,n.default)({fontSize:C(56),fontWeight:v,fontFamily:d,letterSpacing:"-.02em",lineHeight:"".concat(l(73/56),"em"),marginLeft:"-.02em",color:e.text.secondary},S),display2:(0,n.default)({fontSize:C(45),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(51/45),"em"),marginLeft:"-.02em",color:e.text.secondary},S),display1:(0,n.default)({fontSize:C(34),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(41/34),"em"),color:e.text.secondary},S),headline:(0,n.default)({fontSize:C(24),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(32.5/24),"em"),color:e.text.primary},S),title:(0,n.default)({fontSize:C(21),fontWeight:b,fontFamily:d,lineHeight:"".concat(l(24.5/21),"em"),color:e.text.primary},S),subheading:(0,n.default)({fontSize:C(16),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(1.5),"em"),color:e.text.primary},S),body2:(0,n.default)({fontSize:C(14),fontWeight:b,fontFamily:d,lineHeight:"".concat(l(24/14),"em"),color:e.text.primary},S),body1:(0,n.default)({fontSize:C(14),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(20.5/14),"em"),color:e.text.primary},S),caption:(0,n.default)({fontSize:C(12),fontWeight:v,fontFamily:d,lineHeight:"".concat(l(1.375),"em"),color:e.text.secondary},S),button:(0,n.default)({fontSize:C(14),textTransform:"uppercase",fontWeight:b,fontFamily:d,color:e.text.primary},S)};return(0,i.default)((0,n.default)({pxToRem:C,round:l,fontFamily:d,fontSize:f,fontWeightLight:g,fontWeightRegular:v,fontWeightMedium:b},P,R,_?{body1:R.body1Next,body2:R.body2Next,button:R.buttonNext,caption:R.captionNext}:{},{useNextVariants:_}),O,{clone:!1})};var n=r(a("4SXfL")),o=r(a("c4c0k")),i=r(a("7Cnnu")),s=(r(a("fqT2K")),a("4ZECF"));function l(e){return Math.round(1e5*e)/1e5}var u={textTransform:"uppercase"},c='"Roboto", "Helvetica", "Arial", sans-serif'})),a.register("4ZECF",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();e.exports.default=r})),a.register("hGi4Z",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r=.2,n=.14,o=.12;function i(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(r,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(n,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(o,")")].join(",")}var a=["none",i(0,1,3,0,0,1,1,0,0,2,1,-1),i(0,1,5,0,0,2,2,0,0,3,1,-2),i(0,1,8,0,0,3,4,0,0,3,3,-2),i(0,2,4,-1,0,4,5,0,0,1,10,0),i(0,3,5,-1,0,5,8,0,0,1,14,0),i(0,3,5,-1,0,6,10,0,0,1,18,0),i(0,4,5,-2,0,7,10,1,0,2,16,1),i(0,5,5,-3,0,8,10,1,0,3,14,2),i(0,5,6,-3,0,9,12,1,0,3,16,2),i(0,6,6,-3,0,10,14,1,0,4,18,3),i(0,6,7,-4,0,11,15,1,0,4,20,3),i(0,7,8,-4,0,12,17,2,0,5,22,4),i(0,7,8,-4,0,13,19,2,0,5,24,4),i(0,7,9,-4,0,14,21,2,0,5,26,4),i(0,8,9,-5,0,15,22,2,0,6,28,5),i(0,8,10,-5,0,16,24,2,0,6,30,5),i(0,8,11,-5,0,17,26,2,0,6,32,5),i(0,9,11,-5,0,18,28,2,0,7,34,6),i(0,9,12,-6,0,19,29,2,0,7,36,6),i(0,10,13,-6,0,20,31,3,0,8,38,7),i(0,10,13,-6,0,21,33,3,0,8,40,7),i(0,10,14,-6,0,22,35,3,0,8,42,7),i(0,11,14,-7,0,23,36,3,0,9,44,8),i(0,11,15,-7,0,24,38,3,0,9,46,8)];e.exports.default=a})),a.register("3Z5LX",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={borderRadius:4};e.exports.default=r})),a.register("5JzwV",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={unit:8};e.exports.default=r})),a.register("6sAGw",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=e.exports.isNumber=e.exports.isString=e.exports.formatMs=e.exports.duration=e.exports.easing=void 0;var n=r(a("c4c0k")),o=(r(a("fqT2K")),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});e.exports.easing=o;var i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};e.exports.duration=i;var s=function(e){return"".concat(Math.round(e),"ms")};e.exports.formatMs=s;e.exports.isString=function(e){return"string"==typeof e};e.exports.isNumber=function(e){return!isNaN(parseFloat(e))};var l={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.duration,a=void 0===r?i.standard:r,l=t.easing,u=void 0===l?o.easeInOut:l,c=t.delay,d=void 0===c?0:c;(0,n.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof a?a:s(a)," ").concat(u," ").concat("string"==typeof d?d:s(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};e.exports.default=l})),a.register("bR0XP",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};e.exports.default=r})),a.register("2TfOV",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("d5vUM")),o=r(a("gj9wC")),i=r(a("8xi1w")),s=r(a("7JAt6")),l=r(a("3XVoX")),u=r(a("h9UUm"));var c=function(){return{plugins:[(0,n.default)(),(0,o.default)(),(0,i.default)(),(0,s.default)(),"undefined"==typeof window?null:(0,l.default)(),(0,u.default)()]}};e.exports.default=c})),a.register("d5vUM",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var o=0;o=this.index)t.push(e);else for(var n=0;nr)return void t.splice(n,0,e)}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.filter((function(e){return e.attached})).map((function(t){return t.toString(e)})).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}();e.exports.default=n})),a.register("eTG3U",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=function(){function e(e,t){for(var r=0;r0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,i.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function(){return this.keys.length}}]),e}();e.exports.default=s})),a.register("ifWlI",(function(e,t){"use strict";e.exports=function(){}})),a.register("8N8Yy",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],i=arguments[2],a=i.jss,s=(0,o.default)(t),l=a.plugins.onCreateRule(e,s,i);if(l)return l;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new n.default(e,s,i)};var r=i(a("ifWlI")),n=i(a("fOVIp")),o=i(a("cm5VC"));function i(e){return e&&e.__esModule?e:{default:e}}})),a.register("fOVIp",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},n="";if(!t)return n;var a=r.indent,s=void 0===a?0:a,l=t.fallbacks;if(s++,l)if(Array.isArray(l))for(var u=0;u1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var i="c",a="";return o&&(i=o.options.classNamePrefix||"c",null!=o.options.jss.id&&(a+=o.options.jss.id)),""+i+n.default+a+e}}})),a.register("g1iaR",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?v.default:m.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index;"number"!=typeof r&&(r=0===p.default.index?0:p.default.index+1);var o=new s.default(e,n({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(o),o}},{key:"removeStyleSheet",value:function(e){return e.detach(),p.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var o=n;o.jss=this,o.Renderer=this.options.Renderer,o.generateClassName||(o.generateClassName=this.generateClassName),o.classes||(o.classes={});var i=(0,g.default)(e,t,o);return!o.selector&&i instanceof f.default&&(i.selector="."+o.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;ni)),e(t.exports,"default",(()=>a));var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i="object"===("undefined"==typeof window?"undefined":o(window))&&"object"===("undefined"==typeof document?"undefined":o(document))&&9===document.nodeType,a=i})),a.register("bD3rJ",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();e.exports.default=l})),a.register("8pLTn",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),e}();e.exports.default=l})),a.register("58XyG",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r,n=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===h)return e.selectorText;if(e.type===g){var t=e.name;if(t)return"@keyframes "+t;var r=e.cssText;return"@"+f(r,r.indexOf("keyframes"))}return f(e.cssText)});function v(e,t){return e.selectorText=t,e.selectorText===t}var y,b,x=u((function(){return document.head||document.getElementsByTagName("head")[0]})),w=(y=void 0,b=!1,function(e){var t={};y||(y=document.createElement("style"));for(var r=0;r0){var r=function(e,t){for(var r=0;rt.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r)return r.renderer.element;if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r)return r.renderer.element.nextElementSibling}var i=e.insertionPoint;if(i&&"string"==typeof i){var a=function(e){for(var t=x(),r=0;rl));var o=/[A-Z]/g,i=/^ms-/,a={};function s(e){return"-"+e.toLowerCase()}var l=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(o,s);return a[e]=i.test(t)?"-"+t:t}})),a.register("7JAt6",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=l(n,e[n],t);return e},onChangeValue:function(e,r){return l(r,e,t)}}};var n,o=a("c9ng8");function i(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var s=i(((n=o)&&n.__esModule?n:{default:n}).default);function l(e,t,n){if(!t)return t;var o=t,i=void 0===t?"undefined":r(t);switch("object"===i&&Array.isArray(t)&&(i="array"),i){case"object":if("fallbacks"===e){for(var a in t)t[a]=l(a,t[a],n);break}for(var u in t)t[u]=l(e+"-"+u,t[u],n);break;case"array":for(var c=0;co));var o=function(e){var t={},r=1,n=e;return{getState:function(){return n},setState:function(e){n=e;for(var r=Object.keys(t),o=0,i=r.length;o1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var a,g=t.withTheme,m=void 0!==g&&g,y=t.flip,w=void 0===y?null:y,_=t.name,M=(0,d.default)(t,["withTheme","flip","name"]),D=(0,S.default)(e),L=D.themingEnabled||"string"==typeof _||m;T+=1,D.options.index=T;var A=function(e){function t(e,r){var n;(0,i.default)(this,t),(n=(0,l.default)(this,(0,u.default)(t).call(this,e,r))).jss=r[v.default.jss]||k,n.sheetsManager=R,n.unsubscribeId=null;var a=r.muiThemeProviderOptions;return a&&(a.sheetsManager&&(n.sheetsManager=a.sheetsManager),n.sheetsCache=a.sheetsCache,n.disableStylesGeneration=a.disableStylesGeneration),n.stylesCreatorSaved=D,n.sheetOptions=(0,o.default)({generateClassName:C},r[v.default.sheetOptions]),n.theme=L?E.default.initial(r)||j:P,n.attach(n.theme),n.cacheClasses={value:null,lastProp:null,lastJSS:{}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){var e=this;L&&(this.unsubscribeId=E.default.subscribe(this.context,(function(t){var r=e.theme;e.theme=t,e.attach(e.theme),e.setState({},(function(){e.detach(r)}))})))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&E.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){if(this.disableStylesGeneration)return this.props.classes||{};var e=!1,t=x.default.get(this.sheetsManager,this.stylesCreatorSaved,this.theme);return t.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=t.sheet.classes,e=!0),this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,b.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:r})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,r=x.default.get(this.sheetsManager,t,e);if(r||(r={refs:0,sheet:null},x.default.set(this.sheetsManager,t,e,r)),0===r.refs){var n;this.sheetsCache&&(n=x.default.get(this.sheetsCache,t,e)),n||((n=this.createSheet(e)).attach(),this.sheetsCache&&x.default.set(this.sheetsCache,t,e,n)),r.sheet=n;var o=this.context[v.default.sheetsRegistry];o&&o.add(n)}r.refs+=1}}},{key:"createSheet",value:function(e){var t=this.stylesCreatorSaved.create(e,_),n=_;return this.jss.createStyleSheet(t,(0,o.default)({meta:n,classNamePrefix:n,flip:"boolean"==typeof w?w:"rtl"===e.direction,link:!1},this.sheetOptions,this.stylesCreatorSaved.options,{name:_||r.displayName},M))}},{key:"detach",value:function(e){if(!this.disableStylesGeneration){var t=x.default.get(this.sheetsManager,this.stylesCreatorSaved,e);if(t.refs-=1,0===t.refs){x.default.delete(this.sheetsManager,this.stylesCreatorSaved,e),this.jss.removeStyleSheet(t.sheet);var r=this.context[v.default.sheetsRegistry];r&&r.remove(t.sheet)}}}},{key:"render",value:function(){var e=this.props,t=(e.classes,e.innerRef),n=(0,d.default)(e,["classes","innerRef"]),i=(0,O.default)({theme:this.theme,name:_,props:n});return m&&!i.theme&&(i.theme=this.theme),p.default.createElement(r,(0,o.default)({},i,{classes:this.getClasses(),ref:t}))}}]),t}(p.default.Component);return A.contextTypes=(0,o.default)((a={muiThemeProviderOptions:f.default.object},(0,n.default)(a,v.default.jss,f.default.object),(0,n.default)(a,v.default.sheetOptions,f.default.object),(0,n.default)(a,v.default.sheetsRegistry,f.default.object),a),L?E.default.contextTypes:{}),(0,h.default)(A,r),A}});e.exports.default=function(e,t){return g.default.__MUI_STYLES__.withStyles(e,(0,o.default)({defaultTheme:j},t))}})),a.register("kT228",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={jss:"64a55d578f856d258dc345b094a2a2b3",sheetsRegistry:"d4bd0baacbc52bbd48bbb9eb24344ecd",sheetOptions:"6fc570d6bd61383819d0f9e7407c452d"};e.exports.default=r})),a.register("7wqX3",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("4SXfL"));r(a("fqT2K"));var o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,r=e.newClasses;if(e.Component,!r)return t;var o=(0,n.default)({},t);return Object.keys(r).forEach((function(e){r[e]&&(o[e]="".concat(t[e]," ").concat(r[e]))})),o};e.exports.default=o})),a.register("bgmoH",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r={set:function(e,t,r,n){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},get:function(e,t,r){var n=e.get(t);return n?n.get(r):void 0},delete:function(e,t,r){e.get(t).delete(r)}};e.exports.default=r})),a.register("e9bMm",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("4SXfL")),o=(r(a("c9Tee")),r(a("fqT2K")),r(a("7Cnnu")));function i(e,t){return t}var s=function(e){var t="function"==typeof e;return{create:function(r,a){var s=t?e(r):e;if(!a||!r.overrides||!r.overrides[a])return s;var l=r.overrides[a],u=(0,n.default)({},s);return Object.keys(l).forEach((function(e){u[e]=(0,o.default)(u[e],l[e],{arrayMerge:i})})),u},options:{},themingEnabled:t}};e.exports.default=s})),a.register("7v6ez",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r=function(e){var t=e.theme,r=e.name,n=e.props;if(!t.props||!r||!t.props[r])return n;var o,i=t.props[r];for(o in i)void 0===n[o]&&(n[o]=i[o]);return n};e.exports.default=r})),a.register("gA3jP",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n,o=r(a("4SXfL")),i=r(a("c4c0k")),s=r(a("6vi5T")),l=r(a("hyPzA")),u=r(a("kqQfm")),c=r(a("3dqKW")),d=r(a("4uUdr")),p=r(a("7b0kr")),f=(r(a("3pr9z")),r(a("aQ47y"))),h=a("4ZECF"),g=r(a("9ar8U")),m=r(a("h2SXa"));h.default.__MUI_STYLES__||(h.default.__MUI_STYLES__={}),h.default.__MUI_STYLES__.withTheme||(h.default.__MUI_STYLES__.withTheme=function(){return function(e){var t=function(t){function r(e,t){var o;return(0,s.default)(this,r),(o=(0,u.default)(this,(0,c.default)(r).call(this))).state={theme:m.default.initial(t)||n||(n=(0,g.default)({typography:{suppressWarning:!0}}))},o}return(0,d.default)(r,t),(0,l.default)(r,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,(function(t){e.setState({theme:t})}))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){var t=this.props,r=t.innerRef,n=(0,i.default)(t,["innerRef"]);return p.default.createElement(e,(0,o.default)({theme:this.state.theme,ref:r},n))}}]),r}(p.default.Component);return t.contextTypes=m.default.contextTypes,(0,f.default)(t,e),t}});var v=h.default.__MUI_STYLES__.withTheme;e.exports.default=v})),a.register("gwJFa",(function(e,t){ +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n-1?e[r]:void 0},e.exports.createChainedFunction=function(){for(var e=arguments.length,t=new Array(e),r=0;ro),(e=>o=e)),e(t.exports,"default",(()=>i),(e=>i=e)),e(t.exports,"EXITING",(()=>s),(e=>s=e)),e(t.exports,"ENTERED",(()=>l),(e=>l=e)),e(t.exports,"ENTERING",(()=>u),(e=>u=e)),e(t.exports,"EXITED",(()=>c),(e=>c=e)),e(t.exports,"UNMOUNTED",(()=>d),(e=>d=e)),o=!0,i=s=l=u=c=d=void 0;var p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(a("3pr9z")),f=m(a("7b0kr")),h=m(a("iiDPj")),g=a("fK2Xs");function m(e){return e&&e.__esModule?e:{default:e}}var v="unmounted";d=v;var y="exited";c=y;var b="entering";u=b;var x="entered";l=x;var w="exiting";s=w;var E=function(e){var t,r;function n(t,r){var n;n=e.call(this,t,r)||this;var o,i=r.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?a?(o=y,n.appearStatus=b):o=x:o=t.unmountOnExit||t.mountOnEnter?v:y,n.state={status:o},n.nextCallback=null,n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===v?{status:y}:null},o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==b&&r!==x&&(t=b):r!==b&&r!==x||(t=w)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var r=h.default.findDOMNode(this);t===b?this.performEnter(r,e):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===y&&this.setState({status:v})},o.performEnter=function(e,t){var r=this,n=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;t||n?(this.props.onEnter(e,o),this.safeSetState({status:b},(function(){r.props.onEntering(e,o),r.onTransitionEnd(e,a,(function(){r.safeSetState({status:x},(function(){r.props.onEntered(e,o)}))}))}))):this.safeSetState({status:x},(function(){r.props.onEntered(e)}))},o.performExit=function(e){var t=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(e),this.safeSetState({status:w},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:y},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:y},(function(){t.props.onExited(e)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},o.onTransitionEnd=function(e,t,r){this.setNextCallback(r);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===v)return null;var t=this.props,r=t.children,n=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof r)return r(e,n);var o=f.default.Children.only(r);return f.default.cloneElement(o,n)},n}(f.default.Component);function _(){}E.contextTypes={transitionGroup:p.object},E.childContextTypes={transitionGroup:function(){}},E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_,onEntering:_,onEntered:_,onExit:_,onExiting:_,onExited:_},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4;var S=(0,g.polyfill)(E);i=S})),a.register("fK2Xs",(function(t,r){function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function i(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var r=null,a=null,s=null;if("function"==typeof t.componentWillMount?r="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var l=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;c.call(this,e,t,n)}}return e}e(t.exports,"polyfill",(()=>a)),n.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0})),a.register("7mfWr",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getTransitionProps=function(e,t){var r=e.timeout,n=e.style,o=void 0===n?{}:n;return{duration:o.transitionDuration||"number"==typeof r?r:r[t.mode],delay:o.transitionDelay}},e.exports.reflow=void 0;e.exports.reflow=function(e){return e.scrollTop}})),a.register("bJWTS",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),Object.defineProperty(e.exports,"default",{enumerable:!0,get:function(){return n.default}});var n=r(a("f9WFz"))})),a.register("f9WFz",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("c4c0k")),o=r(a("4SXfL")),i=r(a("6vi5T")),s=r(a("hyPzA")),l=r(a("kqQfm")),u=r(a("3dqKW")),c=r(a("4uUdr")),d=r(a("1zDLT")),p=r(a("7b0kr")),f=r(a("iiDPj")),h=(r(a("3pr9z")),r(a("bphlS"))),g=r(a("fkrH5"));function m(e){if("rtl"!==("undefined"!=typeof window&&document.body.getAttribute("dir")||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}var v=function(e){function t(e){var r;return(0,i.default)(this,t),(r=(0,l.default)(this,(0,u.default)(t).call(this))).handleOpen=function(){var e=r.props,t=e.anchorEl,n=e.modifiers,i=e.open,a=e.placement,s=e.popperOptions,l=void 0===s?{}:s,u=e.disablePortal,c=f.default.findDOMNode((0,d.default)((0,d.default)(r)));c&&t&&i&&(r.popper&&(r.popper.destroy(),r.popper=null),r.popper=new h.default(function(e){return"function"==typeof e?e():e}(t),c,(0,o.default)({placement:m(a)},l,{modifiers:(0,o.default)({},u?{}:{preventOverflow:{boundariesElement:"window"}},n,l.modifiers),onCreate:r.handlePopperUpdate,onUpdate:r.handlePopperUpdate})))},r.handlePopperUpdate=function(e){e.placement!==r.state.placement&&r.setState({placement:e.placement})},r.handleExited=function(){r.setState({exited:!0}),r.handleClose()},r.handleClose=function(){r.popper&&(r.popper.destroy(),r.popper=null)},r.state={exited:!e.open},r}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidUpdate",value:function(e){e.open===this.props.open||this.props.open||this.props.transition||this.handleClose(),e.open===this.props.open&&e.anchorEl===this.props.anchorEl&&e.popperOptions===this.props.popperOptions&&e.modifiers===this.props.modifiers&&e.disablePortal===this.props.disablePortal&&e.placement===this.props.placement||this.handleOpen()}},{key:"componentWillUnmount",value:function(){this.handleClose()}},{key:"render",value:function(){var e=this.props,t=(e.anchorEl,e.children),r=e.container,i=e.disablePortal,a=e.keepMounted,s=(e.modifiers,e.open),l=e.placement,u=(e.popperOptions,e.transition),c=(0,n.default)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","transition"]),d=this.state,f=d.exited,h=d.placement;if(!a&&!s&&(!u||f))return null;var v={placement:h||m(l)};return u&&(v.TransitionProps={in:s,onExited:this.handleExited}),p.default.createElement(g.default,{onRendered:this.handleOpen,disablePortal:i,container:r},p.default.createElement("div",(0,o.default)({role:"tooltip",style:{position:"absolute"}},c),"function"==typeof t?t(v):t))}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:e.transition?null:{exited:!0}}}]),t}(p.default.Component);v.defaultProps={disablePortal:!1,placement:"bottom",transition:!1};var y=v;e.exports.default=y})),a.register("bphlS",(function(n,o){r(n.exports),e(n.exports,"default",(()=>ie)); +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();var s=i&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),a))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?e:d(c(e))}function p(e){return e&&e.referenceNode?e.referenceNode:e}var f=i&&!(!window.MSInputMethodContext||!document.documentMode),h=i&&/MSIE 10/.test(navigator.userAgent);function g(e){return 11===e?f:10===e?h:f||h}function m(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===u(r,"position")?m(r):r:e?e.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,o=r?t:e,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||n.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&m(a.firstElementChild)!==a?m(l):l;var u=v(e);return u.host?y(u.host,t):y(e,v(t).host)}function b(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var n=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||n)[t]}return e[t]}function x(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function w(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],g(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function E(e){var t=e.body,r=e.documentElement,n=g(10)&&getComputedStyle(r);return{height:w("Height",t,r,n),width:w("Width",t,r,n)}}var _=function(){function e(e,t){for(var r=0;r2&&void 0!==arguments[2]&&arguments[2],n=g(10),o="HTML"===t.nodeName,i=C(e),a=C(t),s=d(e),l=u(t),c=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);r&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=k({top:i.top-a.top-c,left:i.left-a.left-p,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!n&&o){var h=parseFloat(l.marginTop),m=parseFloat(l.marginLeft);f.top-=c-h,f.bottom-=c-h,f.left-=p-m,f.right-=p-m,f.marginTop=h,f.marginLeft=m}return(n&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(t,"top"),o=b(t,"left"),i=r?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=o*i,e.right+=o*i,e}(f,t)),f}function R(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var r=c(e);return!!r&&R(r)}function P(e){if(!e||!e.parentElement||g())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?P(e):y(e,p(t));if("viewport"===n)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=T(e,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:b(r),s=t?0:b(r,"left");return k({top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===n?"BODY"===(s=d(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===n?e.ownerDocument.documentElement:n;var l=T(s,a,o);if("HTML"!==s.nodeName||R(a))i=l;else{var u=E(e.ownerDocument),f=u.height,h=u.width;i.top+=l.top-l.marginTop,i.bottom=f+l.top,i.left+=l.left-l.marginLeft,i.right=h+l.left}}var g="number"==typeof(r=r||0);return i.left+=g?r:r.left||0,i.top+=g?r:r.top||0,i.right-=g?r:r.right||0,i.bottom-=g?r:r.bottom||0,i}function M(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=j(r,n,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return O({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function D(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return T(r,n?P(t):y(t,p(r)),n)}function L(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,r){r=r.split("-")[0];var n=L(e),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-n[l]/2,o[s]=r===s?t[s]-n[u]:t[A(s)],o}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function H(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=I(e,(function(e){return e[t]===r}));return e.indexOf(n)}(e,"name",r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&l(r)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=r(t,e))})),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=H(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n1&&void 0!==arguments[1]&&arguments[1],r=Q.indexOf(e),n=Q.slice(r+1).concat(Q.slice(0,r));return t?n.reverse():n}var te={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function re(e,t,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(I(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map((function(e,n){var o=(1===n?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,n){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return k("%p"===a?r:n)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,r)}))})),u.forEach((function(e,t){e.forEach((function(r,n){G(r)&&(o[t]+=r*("-"===e[n-1]?-1:1))}))})),o}var ne={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(r),l=s?"left":"top",u=s?"width":"height",c={start:S({},l,i[l]),end:S({},l,i[l]+i[u]-a[u])};e.offsets.popper=O({},a,c[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r=t.offset,n=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=n.split("-")[0],l=void 0;return l=G(+r)?[+r,0]:re(r,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||m(e.instance.popper);e.instance.reference===r&&(r=m(r));var n=B("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var l=j(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);o.top=i,o.left=a,o[n]=s,t.boundaries=l;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var r=c[e];return c[e]l[e]&&!t.escapeWithReference&&(n=Math.min(c[r],l[e]-("right"===e?c.width:c.height))),S({},r,n)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=O({},c,d[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return r[s]i(n[s])&&(e.offsets.popper[l]=i(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",g=L(n)[c];s[h]-ga[h]&&(e.offsets.popper[p]+=s[p]+g-a[h]),e.offsets.popper=k(e.offsets.popper);var m=s[p]+s[c]/2-g/2,v=u(e.instance.popper),y=parseFloat(v["margin"+d]),b=parseFloat(v["border"+d+"Width"]),x=m-e.offsets.popper[p]-y-b;return x=Math.max(Math.min(a[c]-g,x),0),e.arrowElement=n,e.offsets.arrow=(S(r={},p,Math.round(x)),S(r,f,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],o=A(n),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te.FLIP:a=[n,o];break;case te.CLOCKWISE:a=ee(n);break;case te.COUNTERCLOCKWISE:a=ee(n,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(n!==s||a.length===l+1)return e;n=e.placement.split("-")[0],o=A(n);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,p="left"===n&&d(u.right)>d(c.left)||"right"===n&&d(u.left)d(c.top)||"bottom"===n&&d(u.top)d(r.right),g=d(u.top)d(r.bottom),v="left"===n&&f||"right"===n&&h||"top"===n&&g||"bottom"===n&&m,y=-1!==["top","bottom"].indexOf(n),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&g||!y&&"end"===i&&m),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&m||!y&&"end"===i&&g),w=b||x;(p||v||w)&&(e.flipped=!0,(p||v)&&(n=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=n+(i?"-"+i:""),e.offsets.popper=O({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=H(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,o=n.popper,i=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return o[a?"left":"top"]=i[r]-(s?o[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=k(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=I(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomr.right||t.top>r.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=s(this.update.bind(this)),this.options=O({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(O({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){n.options.modifiers[t]=O({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return O({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&l(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return _(e,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return z.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return $.call(this)}}]),e}();oe.Utils=("undefined"!=typeof window?window:t).PopperUtils,oe.placements=J,oe.Defaults=ne;var ie=oe})),a.register("fkrH5",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),Object.defineProperty(e.exports,"default",{enumerable:!0,get:function(){return n.default}});var n=r(a("1zfcx"))})),a.register("1zfcx",(function(e,t){"use strict";var r=a("iIdtL");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var n=r(a("6vi5T")),o=r(a("hyPzA")),i=r(a("kqQfm")),s=r(a("3dqKW")),l=r(a("4uUdr")),u=r(a("7b0kr")),c=r(a("iiDPj")),d=(r(a("3pr9z")),r(a("inhjG")));var p=function(e){function t(){var e,r;(0,n.default)(this,t);for(var o=arguments.length,a=new Array(o),l=0;lu),(e=>u=e));var n=a("7z16b"),o=r&&!r.nodeType&&r,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o?n.default.Buffer:void 0,l=s?s.allocUnsafe:void 0;var u=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}})),a.register("7z16b",(function(t,r){e(t.exports,"default",(()=>i));var n=a("29BGw"),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.default||o||Function("return this")()})),a.register("29BGw",(function(r,n){e(r.exports,"default",(()=>o));var o="object"==typeof t&&t&&t.Object===Object&&t})),a.register("enva8",(function(t,r){e(t.exports,"default",(()=>u),(e=>u=e));var n=a("7z16b"),o=a("lcNuU"),i=r&&!r.nodeType&&r,s=i&&t&&!t.nodeType&&t,l=s&&s.exports===i?n.default.Buffer:void 0,u=(l?l.isBuffer:void 0)||o.default})),a.register("lcNuU",(function(t,r){e(t.exports,"default",(()=>n));var n=function(){return!1}})),a.register("iUcuf",(function(t,r){e(t.exports,"default",(()=>l),(e=>l=e));var n=a("29BGw"),o=r&&!r.nodeType&&r,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.default.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}()})),a("fquJx").register(JSON.parse('{"jNUyp":"editor.513d0955.js","4bIyF":"icon-camera-fm.39046717.svg","l1JRo":"hand2.ea55fedf.png","fRaJR":"hand2@2x.88cf7bd5.png","liT8a":"left_ptr.f58b5136.png","eQGfm":"left_ptr@2x.2d33be1e.png","1B54I":"wave-emoji-20-27.8619a450.png","82Kei":"wave-emoji-20-27@2x.41ccecf4.png","j8dWM":"emoji-smiling-face-16-20.de75cec0.png","kdsjn":"emoji-smiling-face-16-20@2x.5ff79d8e.png","6iPKz":"capture.88f199e8.css","kf5Lb":"editor.ddbd6582.css","ayiND":"editor.0a5332d6.css","e1PVq":"welcome.9510c035.js","1Zwl3":"popup.beef8333.js","3ZrGQ":"editor.f0f6fcf8.js","aWhca":"capture.839f08c2.css","hRlRF":"welcome.37a07bec.js","31QS7":"welcome.7aac45d7.js"}'));var s=a("7b0kr"),l=a("iiDPj"),u=a("ceb36");s=a("7b0kr");function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}s=a("7b0kr");var d=a("3pr9z"),p=n(s=a("7b0kr")).createContext(null),f=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}c(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||p;return n(s).createElement(e.Provider,{value:this.state},this.props.children)},t}(s.Component);f.propTypes={store:n(d).shape({subscribe:n(d).func.isRequired,dispatch:n(d).func.isRequired,getState:n(d).func.isRequired}),context:n(d).object,children:n(d).any};var h=f;function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){return m=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}var y=a("aQ47y"),b={};b=function(e,t,r,n,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}};s=a("7b0kr");var x=a("7O5ct");function w(e,t){void 0===t&&(t={});var r=t,o=r.getDisplayName,i=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,a=r.methodName,l=void 0===a?"connectAdvanced":a,u=r.renderCountProp,d=void 0===u?void 0:u,f=r.shouldHandleStateChanges,h=void 0===f||f,w=r.storeKey,E=void 0===w?"store":w,_=r.withRef,S=void 0!==_&&_,O=r.forwardRef,k=void 0!==O&&O,C=r.context,T=void 0===C?p:C,R=v(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);n(b)(void 0===d,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),n(b)(!S,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var P="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: . You may also pass a {context : MyContext} option to connect";n(b)("store"===E,"storeKey has been removed and does not do anything. "+P);var j=T;return function(t){var r=t.displayName||t.name||"Component",o=i(r),a=m({},R,{getDisplayName:i,methodName:l,renderCountProp:d,shouldHandleStateChanges:h,storeKey:E,displayName:o,wrappedComponentName:r,WrappedComponent:t}),u=R.pure,p=s.Component;u&&(p=s.PureComponent);var f=function(r){function i(t){var o,i,a,l,c,d,p,f,h,v,y;return o=r.call(this,t)||this,n(b)(k?!t.wrapperProps[E]:!t[E],"Passing redux store in props has been removed and does not do anything. "+P),o.selectDerivedProps=function(t,r,n,o){if(u&&i===r&&a===t)return l;n===c&&d===o||(c=n,d=o,p=e(n.dispatch,o)),i=r,a=t;var s=p(t,r);return l=s},o.selectChildElement=function(e,t,r){return t===f&&r===h&&y===e||(f=t,h=r,y=e,v=n(s).createElement(e,m({},t,{ref:r}))),v},o.indirectRenderWrappedComponent=o.indirectRenderWrappedComponent.bind(g(o)),o}c(i,r);var l=i.prototype;return l.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},l.renderWrappedComponent=function(e){n(b)(e,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+o+" in connect options.");var r,i=e.storeState,s=e.store,l=this.props;k&&(l=this.props.wrapperProps,r=this.props.forwardedRef);var u=this.selectDerivedProps(i,l,s,a);return this.selectChildElement(t,u,r)},l.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,x.isContextConsumer)(n(s).createElement(this.props.context.Consumer,null))?this.props.context:j;return n(s).createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},i}(p);if(f.WrappedComponent=t,f.displayName=o,k){var v=n(s).forwardRef((function(e,t){return n(s).createElement(f,{wrapperProps:e,forwardedRef:t})}));return v.displayName=o,v.WrappedComponent=t,n(y)(v,t)}return n(y)(f,t)}}var E=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o=0;n--){var o=t[n](e);if(o)return o}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function K(e,t){return e===t}var X,Z,J,Q,ee,te,re,ne,oe,ie,ae,se,le=(J=(Z=void 0===X?{}:X).connectHOC,Q=void 0===J?w:J,ee=Z.mapStateToPropsFactories,te=void 0===ee?z:ee,re=Z.mapDispatchToPropsFactories,ne=void 0===re?B:re,oe=Z.mergePropsFactories,ie=void 0===oe?q:oe,ae=Z.selectorFactory,se=void 0===ae?$:ae,function(e,t,r,n){void 0===n&&(n={});var o=n,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,l=void 0===s?K:s,u=o.areOwnPropsEqual,c=void 0===u?S:u,d=o.areStatePropsEqual,p=void 0===d?S:d,f=o.areMergedPropsEqual,h=void 0===f?S:f,g=v(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=G(e,te,"mapStateToProps"),b=G(t,ne,"mapDispatchToProps"),x=G(r,ie,"mergeProps");return Q(se,m({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:b,initMergeProps:x,pure:a,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:p,areMergedPropsEqual:h},g))}),ue=a("8rN6d"),ce=a("iPbYd"),de=a("jBCXK"),pe=a("ff4Ef"),fe=a("8bPtr"),he=a("e0Kwl"),ge=a("ld3ci"),me=a("2z2pA"),ve=a("fYpxg");const ye=(...e)=>{e.splice(1,0,"color:#C70;background:#FED"),e[0]=`%c${e[0]}`,me.default.apply(me.default,e)};ye("NODE_ENV","production",true),window._abr=()=>ve.default.setObj({ab:{},login_data:{},has_logged_in:!1});const be=function(){var e=(0,ue.default)((function(e){return(0,fe.__generator)(this,(function(t){return void 0!==e&&e,[2,!0]}))}));return function(){return e.apply(this,arguments)}}();class xe{canRequestTest(){const e=he.DateTime.now().diff(this.waitUntil,"milliseconds").milliseconds;return ye(`[canRequestTest] ${!this.hasUser} && ${!this.token} (${this.token}) && ${e} (${this.waitUntil.toLocaleString(he.DateTime.DATETIME_FULL)})`),!this.hasUser&&!this.token&&(e>=-1e3||"e9ce"!==this.curTest)}save(){var e=this;return(0,ue.default)((function(){return(0,fe.__generator)(this,(function(t){return[2,ve.default.set("ab",(0,de.default)({},e._ab))]}))}))()}_validate(e){return e&&"object"==typeof e&&Object.entries(xe._types).every((t=>{let r=(0,pe.default)(t,2),n=r[0],o=r[1];return null===e[n]||void 0===e[n]?xe._nullables.has(n):typeof e[n]===o}))}constructor(e,t){this._ab=e,this.hasUser=!(!t||!t.userId),this.isValid=!1,this.reqToken=null==e?void 0:e.reqToken,this.curTest=null==e?void 0:e.curTest,this.token=null,this.waitUntil=he.DateTime.now(),this.data={},this._validate(e)&&(this.isValid=!0,this.token=e.token||null,this.waitUntil=e.waitUntil&&e.waitUntil>0?he.DateTime.fromSeconds(e.waitUntil):he.DateTime.now().plus({years:100}),this.data=e.data||{}),this.showPremium=this.hasUser||this.data.showPremium}}(0,ce.default)(xe,"makeNeverState",((e,t,r)=>{const o=new xe({reqToken:e,token:null,curTest:r,waitUntil:-1,data:null,ext:t});return n(ge)(o.isValid,"Generated ABState is invalid!"),o})),(0,ce.default)(xe,"makeDelayState",((e,t)=>{const r=new xe({reqToken:e,token:null,curTest:t,waitUntil:Math.floor(he.DateTime.now().plus({days:7}).toSeconds()),data:null});return n(ge)(r.isValid,"Generated ABState is invalid!"),r})),(0,ce.default)(xe,"lookup",(0,ue.default)((function(){var e;return(0,fe.__generator)(this,(function(t){switch(t.label){case 0:return[4,ve.default.load()];case 1:return e=t.sent(),[2,new xe(e.ab,e.login_data)]}}))}))),(0,ce.default)(xe,"_types",{reqToken:"string",token:"string",waitUntil:"number",data:"object"}),(0,ce.default)(xe,"_nullables",new Set(["token","data"]));var we,Ee=a("6pLLc"),_e=a("kOtTY");me=a("2z2pA"),ue=a("8rN6d"),de=a("jBCXK"),fe=a("8bPtr");function Se(e,t,r){var n,o,i,a,s;function l(){var u=Date.now()-a;u=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var u=function(){i=this,o=arguments,a=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(i,o),i=o=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(i,o),i=o=null,clearTimeout(n),n=null)},u}Se.debounce=Se,we=Se;he=a("e0Kwl");var Oe=a("eC8rE");me=a("2z2pA");var ke=new(0,a("fiP9V").default)("defaults",{shapeDefaults:{type:"json",default:()=>({})}}),Ce=a("avfZw"),Te=a("dChev"),Re=(_e=a("kOtTY"),a("1I2HB")),Pe=(de=a("jBCXK"),a("8DwkQ")),je=(ve=a("fYpxg"),Te=a("dChev"),a("fueUa")),Me=a("fAoww");const De={},Le="capture/WELCOME_CLOSE",Ae="capture/LOGIN_DATA_UPDATE",Ne="capture/TOUR_DEMO_HIDE",Ie="capture/TOUR_DEMO_SHOW";const He=(e,t)=>{let r=void 0!==t&&t;const n=e.subState!==Te.SUB_BAD;return{type:Ae,payload:{isSubOk:n,subState:e.subState,subUserId:e.userId,showWelcome:r&&"#welcome"===window.location.hash,hasPreviouslyLoggedIn:e.store.has_logged_in||!1,showTourDemo:e.store.show_editor_tour||!1,lastDlType:e.store.last_dl_type,planAmount:e.store.ab&&e.store.ab.data&&e.store.ab.data.amount||Pe.DEFAULT_PLAN_AMOUNT}}},Fe=e=>{if(e!==Pe.DL_TYPE_IMAGE&&e!==Pe.DL_TYPE_PDF)throw new Error(`Invalid lastDlType: "${e}"`);return ve.default.set("last_dl_type",e),{type:"capture/LAST_DL_TYPE_UPDATE",payload:{lastDlType:e}}};de=a("jBCXK");var Ue=a("hGGFE"),Be=a("4fNEN");je=a("fueUa"),Me=a("fAoww");function ze(e){if(Array.isArray(e))return e}function We(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(ut)}}]),e}();function ut(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function ct(e,t){return Object.keys(e).reduce((function(r,n){return-1===t.indexOf(n)&&(r[n]=e[n]),r}),{})}var dt={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},pt=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function ft(e,t){Object.keys(t).forEach((function(r){e.style[r]=t[r]}))}function ht(e,t){e.style["".concat(pt,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function gt(e,t){e.style["".concat(pt,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function mt(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function vt(e,t,r){return Math.max(e,Math.min(r,t))}function yt(e){return"px"===e.substr(-2)?parseFloat(e):0}function bt(e,t){var r=t.displayName||t.name;return r?"".concat(e,"(").concat(r,")"):e}function xt(e,t){var r=e.getBoundingClientRect();return{top:r.top+t.top,left:r.left+t.left}}function wt(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Et(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var n={left:r.left+e.offsetLeft,top:r.top+e.offsetTop};return e.parentNode===t?n:Et(e.parentNode,t,n)}}function _t(e){var t=e.lockOffset,r=e.width,o=e.height,i=t,a=t,s="px";if("string"==typeof t){var l=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);n(b)(null!==l,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),a=parseFloat(t),s=l[1]}return n(b)(isFinite(i)&&isFinite(a),"lockOffset value should be a finite. Given %s",t),"%"===s&&(i=i*r/100,a=a*o/100),{x:i,y:a}}function St(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),r=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return r.test(t[e])}))}(e)?e:St(e.parentNode):null}var Ot=27,kt=32,Ct=37,Tt=38,Rt=39,Pt=40,jt={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Mt(e){return null!=e.sortableHandle}var Dt=function(){function e(t,r){Xe(this,e),this.container=t,this.onScrollCallback=r}return Je(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,r=e.translate,n=e.minTranslate,o=e.maxTranslate,i=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},u=10,c=10,d=this.container,p=d.scrollTop,f=d.scrollLeft,h=d.scrollHeight,g=d.scrollWidth,m=0===p,v=h-p-d.clientHeight==0,y=0===f,b=g-f-d.clientWidth==0;r.y>=o.y-a/2&&!v?(s.y=1,l.y=c*Math.abs((o.y-a/2-r.y)/a)):r.x>=o.x-i/2&&!b?(s.x=1,l.x=u*Math.abs((o.x-i/2-r.x)/i)):r.y<=n.y+a/2&&!m?(s.y=-1,l.y=c*Math.abs((r.y-a/2-n.y)/a)):r.x<=n.x+i/2&&!y&&(s.x=-1,l.x=u*Math.abs((r.x-i/2-n.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}();var Lt={axis:n(d).oneOf(["x","y","xy"]),contentWindow:n(d).any,disableAutoscroll:n(d).bool,distance:n(d).number,getContainer:n(d).func,getHelperDimensions:n(d).func,helperClass:n(d).string,helperContainer:n(d).oneOfType([n(d).func,"undefined"==typeof HTMLElement?n(d).any:n(d).instanceOf(HTMLElement)]),hideSortableGhost:n(d).bool,keyboardSortingTransitionDuration:n(d).number,lockAxis:n(d).string,lockOffset:n(d).oneOfType([n(d).number,n(d).string,n(d).arrayOf(n(d).oneOfType([n(d).number,n(d).string]))]),lockToContainerEdges:n(d).bool,onSortEnd:n(d).func,onSortMove:n(d).func,onSortOver:n(d).func,onSortStart:n(d).func,pressDelay:n(d).number,pressThreshold:n(d).number,keyCodes:n(d).shape({lift:n(d).arrayOf(n(d).number),drop:n(d).arrayOf(n(d).number),cancel:n(d).arrayOf(n(d).number),up:n(d).arrayOf(n(d).number),down:n(d).arrayOf(n(d).number)}),shouldCancelStart:n(d).func,transitionDuration:n(d).number,updateBeforeSortStart:n(d).func,useDragHandle:n(d).bool,useWindowAsScrollContainer:n(d).bool},At={lift:[kt],drop:[kt],cancel:[Ot],up:[Tt,Ct],down:[Pt,Rt]},Nt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:At,shouldCancelStart:function(e){return-1!==[jt.Input,jt.Textarea,jt.Select,jt.Option,jt.Button].indexOf(e.target.tagName)||!!mt(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},It=Object.keys(Lt);var Ht={index:n(d).number.isRequired,collection:n(d).oneOfType([n(d).number,n(d).string]),disabled:n(d).bool},Ft=Object.keys(Ht);const Ut=[],Bt="layers/BATCH_LAYER_ADD",zt="layers/LAYER_ADD",Wt="layers/LAYERS_REMOVE",qt="layers/LAYER_MOVE";const Vt=(e,t)=>({type:Bt,payload:e,groupAsUpdate:Boolean(t)}),Yt=(e,t,r,n,o,i,a,s)=>({type:zt,payload:{id:e,shapeKey:t,x1:r,y1:n,x2:o,y2:i,groups:a,bottom:s||!1}}),$t=(e,t)=>({type:qt,payload:{oldIndex:e,newIndex:t}}),Gt="select",Kt="crop",Xt=[Gt,Kt],Zt="@@redux-undo/",Jt={selectedLayerIds:[],hoveringLayerId:null,mode:Gt,showLoginDropdown:!1,showDemoModal:!1,showHeaderUpdatedModal:!1,showHeaderUpdatedThrob:!1},Qt=Object.assign({zoom:75},Jt),er="editor/LAYERS_SELECT",tr="editor/LAYERS_DESELECT",rr="editor/LAYER_HOVER",nr="editor/LAYER_UNHOVER",or="editor/ZOOM_CHANGE",ir="editor/SHAPE_KEY_CHANGE",ar="editor/CROP_ENABLE",sr="editor/CROP_DISABLE",lr="editor/BORDER_EDIT",ur="editor/TEMPLATE_EDIT",cr="editor/HELP_ENABLE",dr="editor/UPDATE_THEME_ENABLE",pr="editor/LOGIN_DROPDOWN_SHOW",fr="editor/LOGIN_DROPDOWN_HIDE",hr="editor/SHOW_DEMO_MODAL_UPDATE",gr="editor/NOTIFY_TEXT_SET",mr="editor/CLICK_DIALOG_OPEN",vr="editor/CLICK_DIALOG_CLOSE",yr="editor/UPDATED_HEADER_MODAL_CLOSE",br="editor/UPDATED_HEADER_THROB_HIDE";const xr=e=>({type:er,payload:{selectedLayerIds:e.slice()}}),wr=e=>({type:rr,payload:{hoveringLayerId:e}}),Er=e=>({type:nr,payload:{hoveringLayerId:null}}),_r=e=>({type:or,payload:{zoom:e}}),Sr=(e,t)=>({type:lr,payload:{mode:Gt,selectedLayerIds:[je.BORDER_ID],hoveringLayerId:null},isToggle:e,defaultGroups:t}),Or=e=>({type:ur,payload:{mode:Gt,selectedLayerIds:[je.TEMPLATE_ID],hoveringLayerId:null},defaultGroups:e}),kr=e=>({type:cr,payload:{showHelp:void 0===e||e}}),Cr=e=>({type:dr,payload:{showUpdateTheme:void 0===e||e}}),Tr=e=>({type:hr,payload:{showDemoModal:void 0===e||e}}),Rr=(e,t)=>(n(Be).ok("number"==typeof e,"enableCrop width is not a number"),n(Be).ok("number"==typeof t,"enableCrop height is not a number"),{type:ar,payload:{mode:Kt,selectedLayerIds:[],hoveringLayerId:null},base:{width:e,height:t}}),Pr=()=>((0,Me.default)(window,je.EVT_REFOCUS),{type:sr,payload:{mode:Gt,selectedLayerIds:[],hoveringLayerId:null}}),jr=e=>({type:gr,payload:{notifyText:e}}),Mr=(e,t)=>({type:mr,payload:{clickDialog:{pageX:e,pageY:t}}}),Dr=function(){var e=(0,ue.default)((function(e,t){var r,n,o,i,a,s,l,u,c,d,p,f,h,g,m;return(0,fe.__generator)(this,(function(v){switch(v.label){case 0:return r=void 0===t?0:t,[4,Te.default.loginStateProm(!0)];case 1:return n=v.sent(),o={capture:He(n,!0).payload},(0,me.default)(`%c> loginState? ${JSON.stringify(n)}`,"color:magenta;background:#FFEEF3"),e=Fr(e),r=Fr(r),null===e||null===r?[3,3]:((0,me.default)("LOOKUP",e),[4,Oe.Capture.lookup(e)]);case 2:i=v.sent(),(0,me.default)("CAPTURE",i),v.label=3;case 3:if(null===e||null===r||!i||r>=i.images.length)throw(a=new Error("There appears to be no screenshot for this URL. Please return to the view screenshot page and click back into the editor from a valid screenshot.")).name="CaptureNotFoundError",a.title="Capture not found",a;return(s=i.edits)&&s.length&&s[r]?[3,5]:(l={id:r,imageId:r},(0,me.default)("CREATE NEW EDIT",r,l),[4,i.addEdit(r,r)]);case 4:i=v.sent(),(0,me.default)("SUCCESS",i),v.label=5;case 5:return i.scaleMultiplier?[3,7]:[4,i.updateScaleMultiplier()];case 6:v.sent(),v.label=7;case 7:return u=i.edits[r],(0,me.default)("EDIT",u),Object.assign(o.capture,{id:i.id,editId:r,imageId:u.imageId,format:i.format,src:i.fullPaths[u.imageId],url:i.url,title:i.title||"",extUrl:i.displayURL,links:i.metadata&&i.metadata.links||[],time:i.dateTime,pixelDensity:i.scaleMultiplier,updated:he.DateTime.fromJSDate(u.updated),created:he.DateTime.fromJSDate(u.created)}),[4,ke.load()];case 8:return c=v.sent(),d=c.shapeDefaults,o.globalShapeDefaults=d,o.shapeDefaults=d,u.undos&&(o.undos=u.undos,o.undos.present&&o.undos.present.layersById&&(p=o.undos.present.layersById.__border__)&&!p.padding&&delete o.undos.present.layersById.__border__),[4,Ce.default.load()];case 9:return f=v.sent(),o.editor=o.editor||(0,de.default)({},Qt),null==(h=(0,_e.getQueryString)())[g="forceUpdatedHeaderModal"]?[3,11]:(delete h[g],m=(0,_e.toQueryString)(h),[4,Ce.default.setObj({didUpdatedHeaderModal:!1,didUpdatedHeaderThrob:!1,firstKnownVersion:"7.6"})]);case 10:v.sent(),window.location.href=`${window.location.pathname}${m?"?":""}${m}${window.location.hash}`,v.label=11;case 11:return f.firstKnownVersion&&(0,Re.compareVersions)(f.firstKnownVersion,Ce.UPDATED_HEADER_MIN_VERSION)<0&&(o.editor.showHeaderUpdatedModal=!f.didUpdatedHeaderModal,o.editor.showHeaderUpdatedThrob=!f.didUpdatedHeaderThrob),[2,o]}}))}));return function(t){return e.apply(this,arguments)}}();let Lr=Promise.resolve(),Ar=null,Nr=null;const Ir=(0,we.debounce)((e=>{const t=e.capture;if(t&&void 0!==t.id&&void 0!==t.editId){const r=t.id,n=t.editId;Lr=Lr.then((()=>Promise.all([function(){const t=e.undos;if(t!==Ar)return Oe.Capture.updateEditState(r,n,t).then((()=>Ar=t))}(),function(){const t=e.globalShapeDefaults;if(t!==Nr)return ke.set("shapeDefaults",t).then((()=>Nr=t))}()]))).catch((e=>{me.default.error("!!! UNABLE TO SAVE STATE !!!"),me.default.error(e)}))}}),750),Hr=e=>{let t=e.getState;return e=>r=>{const n=e(r);return Ir(t()),n}};window._resetUser=()=>(0,Te.resetUser)();const Fr=e=>{switch(typeof e){case"string":return/^\d+$/.test(e)?parseInt(e):null;case"number":return isFinite(e)?Math.round(e):null;default:return null}};var Ur={};!function(e){"use strict";function r(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function n(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function o(e,t,r){o.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:r,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,r){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:r,enumerable:!0})}function l(e,t,r){var n=e.slice((r||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,n),e}function u(e){var t=void 0===e?"undefined":P(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function c(e,t,r,n,d,p,f){f=f||[];var h=(d=d||[]).slice(0);if(void 0!==p){if(n){if("function"==typeof n&&n(h,p))return;if("object"===(void 0===n?"undefined":P(n))){if(n.prefilter&&n.prefilter(h,p))return;if(n.normalize){var g=n.normalize(h,p,e,t);g&&(e=g[0],t=g[1])}}}h.push(p)}"regexp"===u(e)&&"regexp"===u(t)&&(e=e.toString(),t=t.toString());var m=void 0===e?"undefined":P(e),v=void 0===t?"undefined":P(t),y="undefined"!==m||f&&f[f.length-1].lhs&&f[f.length-1].lhs.hasOwnProperty(p),b="undefined"!==v||f&&f[f.length-1].rhs&&f[f.length-1].rhs.hasOwnProperty(p);if(!y&&b)r(new i(h,t));else if(!b&&y)r(new a(h,e));else if(u(e)!==u(t))r(new o(h,e,t));else if("date"===u(e)&&e-t!=0)r(new o(h,e,t));else if("object"===m&&null!==e&&null!==t)if(f.filter((function(t){return t.lhs===e})).length)e!==t&&r(new o(h,e,t));else{if(f.push({lhs:e,rhs:t}),Array.isArray(e)){var x;for(e.length,x=0;x=t.length?r(new s(h,x,new a(void 0,e[x]))):c(e[x],t[x],r,n,h,x,f);for(;x=0?(c(e[o],t[o],r,n,h,o,f),E=l(E,a)):c(e[o],void 0,r,n,h,o,f)})),E.forEach((function(e){c(void 0,t[e],r,n,h,e,f)}))}f.length=f.length-1}else e!==t&&("number"===m&&isNaN(e)&&isNaN(t)||r(new o(h,e,t)))}function d(e,t,r,n){return n=n||[],c(e,t,(function(e){e&&n.push(e)}),r),n.length?n:void 0}function p(e,t,r){if(r.path&&r.path.length){var n,o=e[t],i=r.path.length-1;for(n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},L,e),r=t.logger,n=t.stateTransformer,o=t.errorTransformer,i=t.predicate,a=t.logErrors,s=t.diffPredicate;if(void 0===r)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var l=[];return function(e){var r=e.getState;return function(e){return function(u){if("function"==typeof i&&!i(r,u))return e(u);var c={};l.push(c),c.started=R.now(),c.startedTime=new Date,c.prevState=n(r()),c.action=u;var d=void 0;if(a)try{d=e(u)}catch(e){c.error=o(e)}else d=e(u);c.took=R.now()-c.started,c.nextState=n(r());var p=t.diff&&"function"==typeof s?s(r,u):t.diff;if(E(l,Object.assign({},t,{diff:p})),l.length=0,c.error)throw c.error;return d}}}}var S,O,k=function(e,t){return new Array(t+1).join(e)},C=function(e,t){return k("0",t-e.toString().length)+e},T=function(e){return C(e.getHours(),2)+":"+C(e.getMinutes(),2)+":"+C(e.getSeconds(),2)+"."+C(e.getMilliseconds(),3)},R="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,r=e.getState;return"function"==typeof t||"function"==typeof r?_()({dispatch:t,getState:r}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};e.defaults=L,e.createLogger=_,e.logger=A,e.default=A,Object.defineProperty(e,"__esModule",{value:!0})}(Ur);var Br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function zr(e){return null!==e&&"object"===(void 0===e?"undefined":Br(e))&&(e&&"function"==typeof e.then)}var Wr=a("jhCkN"),qr=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Vr=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{}).dispatch;return"function"==typeof e?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[Yr.Pending,Yr.Fulfilled,Yr.Rejected],r=e.promiseTypeSuffixes||t,n=e.promiseTypeDelimiter||"_";return function(e){var t=e.dispatch;return function(e){return function(o){var i=void 0,a=void 0;if(!o.payload)return e(o);var s=o.payload;if(zr(s))i=s;else if(zr(s.promise))i=s.promise,a=s.data;else{if("function"!=typeof s&&"function"!=typeof s.promise)return e(o);if(i=s.promise?s.promise():s(),a=s.promise?s.data:void 0,!zr(i))return e(Vr({},o,{payload:i}))}var l=o.type,u=o.meta,c=qr(r,3),d=c[0],p=c[1],f=c[2],h=function(e,t){return Vr({type:[l,t?f:p].join(n)},null==e?{}:{payload:e},void 0!==u?{meta:u}:{},t?{error:!0}:{})};return e(Vr({type:[l,d].join(n)},void 0!==a?{payload:a}:{},void 0!==u?{meta:u}:{})),i.then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=h(e,!1);return t(r),{value:e,action:r}}),(function(e){var r=h(e,!0);throw t(r),e}))}}}}()({dispatch:e}):(Wr&&Wr.env,null)}var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});var Xr=Kr.ActionTypes={UNDO:"@@redux-undo/UNDO",REDO:"@@redux-undo/REDO",JUMP_TO_FUTURE:"@@redux-undo/JUMP_TO_FUTURE",JUMP_TO_PAST:"@@redux-undo/JUMP_TO_PAST",JUMP:"@@redux-undo/JUMP",CLEAR_HISTORY:"@@redux-undo/CLEAR_HISTORY"};Kr.ActionCreators={undo:function(){return{type:Xr.UNDO}},redo:function(){return{type:Xr.REDO}},jumpToFuture:function(e){return{type:Xr.JUMP_TO_FUTURE,index:e}},jumpToPast:function(e){return{type:Xr.JUMP_TO_PAST,index:e}},jump:function(e){return{type:Xr.JUMP,index:e}},clearHistory:function(){return{type:Xr.CLEAR_HISTORY}}};Object.defineProperty(Gr,"ActionTypes",{enumerable:!0,get:function(){return Kr.ActionTypes}}),Object.defineProperty(Gr,"ActionCreators",{enumerable:!0,get:function(){return Kr.ActionCreators}});var Zr={};function Jr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Array.isArray(e)?e:"string"==typeof e?[e]:t}Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.parseActions=Jr,Zr.isHistory=function(e){return void 0!==e.present&&void 0!==e.future&&void 0!==e.past&&Array.isArray(e.future)&&Array.isArray(e.past)},Zr.distinctState=function(){return console.warn("distinctState is deprecated in beta4 and newer. The distinctState behavior is now default, which means only actions resulting in a new state are recorded. See https://github.com/omnidan/redux-undo#filtering-actions for more details."),function(){return!0}},Zr.includeAction=function(e){var t=Jr(e);return function(e){return t.indexOf(e.type)>=0}},Zr.excludeAction=function(e){var t=Jr(e);return function(e){return t.indexOf(e.type)<0}},Zr.combineFilters=function(){for(var e=arguments.length,t=Array(e),r=0;r=0?e.type:null}},Zr.newHistory=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{past:e,present:t,future:r,group:n,_latestUnfiltered:t,index:e.length,limit:e.length+r.length+1}},Object.defineProperty(Gr,"parseActions",{enumerable:!0,get:function(){return Zr.parseActions}}),Object.defineProperty(Gr,"isHistory",{enumerable:!0,get:function(){return Zr.isHistory}}),Object.defineProperty(Gr,"distinctState",{enumerable:!0,get:function(){return Zr.distinctState}}),Object.defineProperty(Gr,"includeAction",{enumerable:!0,get:function(){return Zr.includeAction}}),Object.defineProperty(Gr,"excludeAction",{enumerable:!0,get:function(){return Zr.excludeAction}}),Object.defineProperty(Gr,"combineFilters",{enumerable:!0,get:function(){return Zr.combineFilters}}),Object.defineProperty(Gr,"groupByActionTypes",{enumerable:!0,get:function(){return Zr.groupByActionTypes}}),Object.defineProperty(Gr,"newHistory",{enumerable:!0,get:function(){return Zr.newHistory}});var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});var en=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};ln.set(t.debug);var r={initTypes:(0,Zr.parseActions)(t.initTypes,["@@redux-undo/INIT"]),limit:t.limit,filter:t.filter||function(){return!0},groupBy:t.groupBy||function(){return null},undoType:t.undoType||Kr.ActionTypes.UNDO,redoType:t.redoType||Kr.ActionTypes.REDO,jumpToPastType:t.jumpToPastType||Kr.ActionTypes.JUMP_TO_PAST,jumpToFutureType:t.jumpToFutureType||Kr.ActionTypes.JUMP_TO_FUTURE,jumpType:t.jumpType||Kr.ActionTypes.JUMP,clearHistoryType:Array.isArray(t.clearHistoryType)?t.clearHistoryType:[t.clearHistoryType||Kr.ActionTypes.CLEAR_HISTORY],neverSkipReducer:t.neverSkipReducer||!1,ignoreInitialState:t.ignoreInitialState||!1,syncFilter:t.syncFilter||!1},n=r.history;return function(){for(var t=arguments.length,o=Array(t>2?t-2:0),i=2;i0&&void 0!==arguments[0]?arguments[0]:n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ln.start(s,a);var l=a;if(!n)if(ln.log("history is uninitialized"),void 0===a){var u={type:Kr.ActionTypes.CLEAR_HISTORY};l=cn(e.apply(void 0,[a,u].concat(o)),r.ignoreInitialState),ln.log("do not set initialState on probe actions")}else(0,Zr.isHistory)(a)?(l=n=r.ignoreInitialState?a:(0,Zr.newHistory)(a.past,a.present,a.future),ln.log("initialHistory initialized: initialState is a history",n)):(l=n=cn(a,r.ignoreInitialState),ln.log("initialHistory initialized: initialState is not a history",n));var c,d=function(t){return r.neverSkipReducer?en({},t,{present:e.apply(void 0,[t.present,s].concat(o))}):t},p=void 0;switch(s.type){case void 0:return l;case r.undoType:return p=hn(l,-1),ln.log("perform undo"),ln.end(p),d(p);case r.redoType:return p=hn(l,1),ln.log("perform redo"),ln.end(p),d(p);case r.jumpToPastType:return p=fn(l,s.index),ln.log("perform jumpToPast to "+s.index),ln.end(p),d(p);case r.jumpToFutureType:return p=pn(l,s.index),ln.log("perform jumpToFuture to "+s.index),ln.end(p),d(p);case r.jumpType:return p=hn(l,s.index),ln.log("perform jump to "+s.index),ln.end(p),d(p);case c=s.type,r.clearHistoryType.indexOf(c)>-1?c:!c:return p=cn(l.present),ln.log("perform clearHistory"),ln.end(p),d(p);default:if(p=e.apply(void 0,[l.present,s].concat(o)),r.initTypes.some((function(e){return e===s.type})))return ln.log("reset history due to init action"),ln.end(n),n;if(l._latestUnfiltered===p)return l;var f="function"==typeof r.filter&&!r.filter(s,p,l),h=r.groupBy(s,p,l);if(f){var g=(0,Zr.newHistory)(l.past,p,l.future,l.group);return r.syncFilter||(g._latestUnfiltered=l._latestUnfiltered),ln.log("filter ignored action, not storing it in past"),ln.end(g),g}if(null!=h&&h===l.group){var m=(0,Zr.newHistory)(l.past,p,l.future,l.group);return ln.log("groupBy grouped the action with the previous action"),ln.end(m),m}return l=function(e,t,r,n){ln.log("inserting",t),ln.log("new free: ",r-dn(e));var o=e.past,i=e._latestUnfiltered,a=r&&dn(e)>=r,s=o.slice(a?1:0),l=null!=i?[].concat(un(s),[i]):s;return(0,Zr.newHistory)(l,t,[],n)}(l,p,r.limit,h),ln.log("inserted new state into history"),ln.end(l),l}}};var tn={};function rn(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t=e.future.length)return e;var r=e.past,n=e.future,o=e._latestUnfiltered,i=[].concat(un(r),[o],un(n.slice(0,t))),a=n[t],s=n.slice(t+1);return(0,Zr.newHistory)(i,a,s)}function fn(e,t){if(t<0||t>=e.past.length)return e;var r=e.past,n=e.future,o=e._latestUnfiltered,i=r.slice(0,t),a=[].concat(un(r.slice(t+1)),[o],un(n)),s=r[t];return(0,Zr.newHistory)(i,s,a)}function hn(e,t){return t>0?pn(e,t-1):t<0?fn(e,e.past.length+t):e}Qr=Qr.default,Object.defineProperty(Gr,"default",{enumerable:!0,get:function(){return(e=Qr,e&&e.__esModule?e:{default:e}).default;var e}});me=a("2z2pA");var gn=a("hDtYW");const mn={},vn="base/LOAD_FULFILLED",yn="base/LOAD_REJECTED";const bn=(e,t,r,n)=>({type:"base/LOAD",payload:(0,gn.loadImage)(e).then((e=>{let o=e.img,i=e.src,a=e.width,s=e.height;return a/=t,s/=t,{img:o,src:i,width:a,height:s,pixelDensity:t,url:r,title:n}}))}),xn={error:null,prevError:null},wn="error/ERROR_SET",En="error/ERROR_CLEAR";const _n=e=>({type:wn,payload:e});de=a("jBCXK"),Ue=a("hGGFE");var Sn=a("5Xemj"),On=(je=a("fueUa"),a("1AJdn"));s=a("7b0kr"),pe=a("ff4Ef"),s=a("7b0kr"),s=a("7b0kr"),s=a("7b0kr"),s=a("7b0kr"),s=a("7b0kr"),ce=a("iPbYd"),pe=a("ff4Ef"),s=a("7b0kr");const kn=n(d=a("3pr9z")).string;var Cn={color:kn,shapeKey:n(d).string.isRequired,box:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),line:n(d).shape({x1:n(d).number.isRequired,y1:n(d).number.isRequired,x2:n(d).number.isRequired,y2:n(d).number.isRequired}),text:n(d).shape({text:n(d).string,autoHeight:n(d).bool}),font:n(d).shape({size:n(d).number.isRequired,fontFamily:n(d).string.isRequired,bold:n(d).boolean,italic:n(d).boolean}),fill:n(d).shape({fill:kn}),stroke:n(d).shape({width:n(d).number,color:kn}),corners:n(d).shape({radius:n(d).number}),icon:n(d).shape({src1x:n(d).string.isRequired,src2x:n(d).string.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),editor:n(d).shape({zoom:n(d).number,selectedLayerIds:n(d).arrayOf(n(d).string.isRequired).isRequired,hoveringLayerId:n(d).string})};const Tn=e=>{let t=e.x1,r=e.y1,n=e.x2,o=e.y2,i=Math.abs(n-t),a=Math.abs(o-r);return{x:Math.min(n,t),y:Math.min(o,r),width:i,height:a}};ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr");class Rn extends s.Component{componentDidMount(){this.props.onFinishedComponentMount()}}(0,ce.default)(Rn,"propTypes",{onFinishedComponentMount:n(d).func.isRequired});class Pn extends s.PureComponent{componentDidMount(){this.props.onFinishedComponentMount()}}(0,ce.default)(Pn,"propTypes",{onFinishedComponentMount:n(d).func.isRequired});const jn=["x1","y1","x2","y2"];class Mn extends Rn{render(){let e=this.props,t=e.line,r=e.stroke,o=r.width||0,i=r.color||"none",a=Math.ceil(2*o)+20,l=-a,u=-a,c=Tn(t),d=c.width,p=c.height,f=c.x+l,h=c.y+u,g=(0,pe.default)(jn.map(((e,r)=>t[e]-(r%2==0?f:h))),4),m=g[0],v=g[1],y=g[2],b=g[3],x={position:"absolute",left:`${l}px`,top:`${u}px`,width:`${d+2*a}px`,height:`${p+2*a}px`},w=2.8*o,E=Math.atan((b-v)/(y-m)),_=y-(y>w,s[_+1]=M*x>>w,s[_+2]=D*x>>w,j-=T,M-=R,D-=P,T-=y.r,R-=y.g,P-=y.b,m=E+((m=F+i+1)>w,s[m+1]=G*x>>w,s[m+2]=K*x>>w,$-=q,G-=V,K-=Y,q-=y.r,V-=y.g,Y-=y.b,m=U+((m=re+d)0&&e.height&&e.height>0&&In(e,0,0,e.width,e.height,a*n)}}render(){let e=this.props,t=e.basePixelDensity,r=e.box,o={position:"absolute",left:"0",top:"0",width:`${r.width}px`,height:`${r.height}px`};return n(s).createElement("canvas",{style:o,width:r.width*t,height:r.height*t,ref:this.canvasRef})}constructor(e){super(e),this.canvasRef=n(s).createRef()}}Fn.propTypes={base:n(d).object.isRequired,basePixelDensity:n(d).number.isRequired,box:Cn.box,blur:n(d).shape({radius:n(d).number})};var Un=Fn,Bn=(ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr"),a("5Gpcw")),zn=(je=a("fueUa"),a("fDLJ6"));class Wn extends Pn{componentDidMount(){this._renderCanvas(),super.componentDidMount()}componentDidUpdate(){this._renderCanvas()}_renderCanvas(){let e=this.canvasRef.current;if(e){let t=this.props,r=(t.basePixelDensity,t.text),n=e.width,o=e.height,i=o*((0,Bn.getIsMac)()?1:.8);const a=40;if(ithis.emojiMaxSize&&(i=i*this.emojiMaxSize/a,a=this.emojiMaxSize),n(s).createElement("canvas",{style:o,width:i,height:a,ref:this.canvasRef})}constructor(e){super(e),this.canvasRef=n(s).createRef(),this.emojiMaxSize=(0,zn.getEmojiMaxSize)()}}(0,ce.default)(Wn,"propTypes",{basePixelDensity:n(d).number.isRequired,box:Cn.box,text:Cn.text});var qn=Wn;ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr");class Vn extends Pn{render(){const e=this.props,t=e.basePixelDensity,r=e.box,o=e.icon,i=t>=2?o.src2x:o.src1x,a=r.width,l=r.height,u={position:"relative",left:0,top:0,width:`${a}px`,height:`${l}px`},c={position:"absolute",left:"0",top:"0",width:`${a}px`,height:`${l}px`,pointerEvents:"none"};return n(s).createElement("div",{className:"draggable",style:u},n(s).createElement("img",{style:c,src:i}))}}(0,ce.default)(Vn,"propTypes",{basePixelDensity:n(d).number.isRequired,box:Cn.box,icon:Cn.icon});var Yn=Vn;ce=a("iPbYd"),s=a("7b0kr");class $n extends Rn{render(){let e=this.props,t=e.line,r=e.stroke,o=t.x1,i=t.y1,a=t.x2,l=t.y2,u=Tn(t),c=r.width||0,d=Math.ceil(.8*c),p=-d,f=-d,h=u.width,g=u.height,m=u.x+p,v=u.y+f,y={position:"absolute",left:`${p}px`,top:`${f}px`,width:`${h+2*d}px`,height:`${g+2*d}px`};return n(s).createElement("svg",{style:y},n(s).createElement("line",{x1:o-m,y1:i-v,x2:a-m,y2:l-v,stroke:r.color||"transparent",strokeWidth:c}))}}(0,ce.default)($n,"propTypes",{line:Cn.line,stroke:Cn.stroke});ce=a("iPbYd"),s=a("7b0kr");class Gn extends Rn{render(){let e=this.props,t=e.box,r=e.fill,o=e.stroke,i=t.width,a=t.height,l=o.width||0,u=l/2,c={position:"absolute",left:`${-u}px`,top:`${-u}px`,width:`${i+2*u}px`,height:`${a+2*u}px`},d=i/2,p=a/2,f=u+d,h=u+p;return n(s).createElement("svg",{style:c},n(s).createElement("ellipse",{cx:f,cy:h,rx:d,ry:p,stroke:o.color||"transparent",fill:r.fill||"transparent",strokeWidth:l}))}}(0,ce.default)(Gn,"propTypes",{box:Cn.box,fill:Cn.fill,stroke:Cn.stroke});ce=a("iPbYd"),s=a("7b0kr");class Kn extends Rn{render(){let e=this.props,t=e.box,r=e.fill,o=e.stroke,i=e.corners,a=t.width,l=t.height,u=o&&o.width||0,c=i&&i.radius||0,d=Math.ceil(u/2),p={position:"absolute",left:-d+"px",top:-d+"px",width:`${a+2*d}px`,height:`${l+2*d}px`};return n(s).createElement("svg",{style:p},n(s).createElement("rect",{x:d,y:d,rx:c,ry:c,width:a,height:l,style:{fill:r&&r.fill||"transparent",stroke:o&&o.color||"transparent",strokeWidth:u}}))}}(0,ce.default)(Kn,"propTypes",{box:Cn.box.isRequired,fill:Cn.fill,stroke:Cn.stroke,corners:Cn.corners});ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr"),me=a("2z2pA"),Sn=a("5Xemj"),je=a("fueUa"),On=a("1AJdn");const Xn="bool",Zn="string",Jn="color",Qn="positive-integer",eo="number",to="font",ro="textarea",no="color",oo="font",io="flat-select",ao="left",so="center",lo="right",uo={[Xn]:{convert:e=>Boolean(e),inputType:"checkbox",valueAttr:"checked"},[Zn]:{convert:e=>e||"",inputType:"text"},[Jn]:{convert:e=>e||"",inputType:"text"},[to]:{convert:e=>e||je.FONT_FAMILY_HELVETICA,inputType:"text"},[Qn]:{convert:e=>{const t=parseFloat(e);return isNaN(t)||t<0?0:t},inputType:"number"},[eo]:{convert:e=>{const t=parseFloat(e);return isNaN(t)?0:t},inputType:"number"},"stroke-position":{convert:e=>e||"",inputType:"text"}},co=Object.keys(uo),po=[{name:"enabled",controls:[{name:"on",type:Xn,title:(0,Sn.tr)("On")}],title:(0,Sn.tr)("Enabled")},{name:"box",controls:[{name:"x",type:eo,title:"X"},{name:"y",type:eo,title:"Y"},{name:"width",type:Qn,title:"W"},{name:"height",type:Qn,title:"H"}],title:(0,Sn.tr)("Position")},{name:"line",controls:[{name:"x1",type:eo,title:"X1"},{name:"y1",type:eo,title:"Y1"},{name:"x2",type:eo,title:"X2"},{name:"y2",type:eo,title:"Y2"}],title:(0,Sn.tr)("Position")},{name:"padding",controls:[{name:"padding",title:(0,Sn.tr)("Pad"),type:Qn}],title:(0,Sn.tr)("Padding")},{name:"text",controls:[{name:"text",type:Zn,widget:ro},{name:"autoHeight",type:Xn}],hide:!0},{name:"icon",controls:[{name:"src1x",type:Zn},{name:"src2x",type:Zn},{name:"width",type:Qn},{name:"height",type:Qn}],hide:!0},{name:"font",controls:[{name:"size",type:Qn,title:(0,Sn.tr)("Size")},{name:"fontFamily",type:to,widget:oo,title:(0,Sn.tr)("Type"),choices:[{title:"Helvetica",value:je.FONT_FAMILY_HELVETICA},{title:"Arial",value:je.FONT_FAMILY_ARIAL},{title:"Comic Sans",value:je.FONT_FAMILY_COMIC_SANS},{title:"Impact",value:je.FONT_FAMILY_IMPACT},{title:"Courier New",value:je.FONT_FAMILY_COURIER},{title:"Georgia",value:je.FONT_FAMILY_GEORGIA}]},{name:"align",type:Zn,choices:[{title:"left",value:ao},{title:"center",value:so},{title:"right",value:lo}],widget:oo,title:(0,Sn.tr)("Align")},{name:"bold",type:Xn,title:(0,Sn.tr)("Bold")},{name:"italic",type:Xn,title:(0,Sn.tr)("Italic")}],title:(0,Sn.tr)("Font")},{name:"fill",controls:[{name:"fill",type:Jn,widget:no,title:(0,Sn.tr)("Fill")}],title:(0,Sn.tr)("Fill")},{name:"stroke",controls:[{name:"color",type:Jn,widget:no,title:(0,Sn.tr)("Color")},{name:"width",type:Qn,title:(0,Sn.tr)("Width")}],title:(0,Sn.tr)("Outline")},{name:"corners",controls:[{name:"radius",type:Qn,title:(0,Sn.tr)("Radius")}],title:(0,Sn.tr)("Rounded corners")},{name:"blur",controls:[{name:"radius",type:Qn,title:(0,Sn.tr)("Radius")}],title:(0,Sn.tr)("Blur")},{name:"template",controls:[{name:"templateId",type:Zn,widget:io,choices:Object.values(On.BROWSER_TEMPLATES).map((e=>({title:e.title,value:e.key})))}],title:je.TEMPLATE_LAYER_DISPLAY_NAME},{name:"include_date",controls:[{name:"format",type:Zn,title:(0,Sn.tr)("Format"),widget:io,choices:Object.values(je.DATE_FORMATS).map((e=>({title:e.title,value:e.value}))),dim:e=>{var t;return!(null==e||null===(t=e.template)||void 0===t?void 0:t.templateId)},dimTitle:"Select URL & Browser to enable showing a date"}],title:(0,Sn.tr)("Date & Time of Capture")}],fo=po.find((e=>"box"===e.name)),ho=Object.assign({},fo,{controls:fo.controls.filter((e=>"x"===e.name||"y"===e.name))}),go="http://www.w3.org/2000/svg";let mo;const vo={},yo=["fontSize","fontFamily","fontWeight","fontStyle","whiteSpace"],bo=(e,t,r,n)=>{let o=((e,t,r,n)=>`${e}|${t}|${r}|${n?yo.map((e=>n[e])):""}`)(e,t=t||10,r,n);if(o in vo)return vo[o];let i=xo(e,r,n),a=[];return e.split("\n").forEach(((e,r)=>{if(!e)return void a.push({text:"",width:0});let n=_o(e);for(;n.length;){let e="",r=0;for(;;){let o=e+n[0].trimRight();i.textContent=o;let s=i.getBBox().width;if(s>t){if(!e){let o=n[0].trimRight(),a=o.length,s=a;for(let e=2;e<=a;e++){let n=o.substring(0,e);i.textContent=n;let a=i.getBBox().width;if(a>t){s=e-1;break}r=a}e=o.substring(0,s),n[0]=n[0].substring(s)}a.push({text:e.trimRight(),width:r});break}if(r=s,e+=n.shift(),0===n.length){a.push({text:e.trimRight(),width:r});break}}}})),vo[o]=a,a},xo=(e,t,r)=>{let n=`text${Eo()}`,o=document.createElementNS(go,"text");return o.setAttribute("class",n),o.setAttribute("stroke-width",t),r&&Object.assign(o.style,r),mo.appendChild(o),o};let wo=0;const Eo=()=>wo++,_o=e=>{let t=[],r=e.split(/(\s+|-)/),n=0,o=r.length;for(;n{let r=0;switch(d){case so:r=(h-e.width)/2;break;case lo:r=h-e.width}return n(s).createElement("text",{key:t,style:p,x:m+r,y:m+v+t*c,fill:i.fill||"none",stroke:a.color||"none",strokeWidth:u},e.text)}));return n(s).createElement("svg",{className:"text",style:y,onDoubleClick:this.handleDoubleClick},b)}constructor(e){super(e),(0,ce.default)(this,"handleDoubleClick",(e=>{(0,me.default)("[Text.onDoubleClick]"),e.stopPropagation(),this.props.onChangeEditing(!0)})),(0,ce.default)(this,"handleBlur",(e=>{(0,me.default)("[Text.onBlur]"),this.props.onChangeEditing(!1)})),(0,ce.default)(this,"handleTextareaChange",(e=>{let t=this.props,r=e.target,n=r.value,o=r.scrollHeight-r.offsetHeight;o>0&&t.onChangeProperties(t.layerId,t.shapeKey,"box",Object.assign({},t.box,{height:t.box.height+o})),(0,me.default)("[Text.onChange]",n,r.offsetHeight,r.scrollHeight),t.onChangeProperties(t.layerId,t.shapeKey,"text",Object.assign({},t.text,{text:n}))})),(0,ce.default)(this,"stopPropagation",(e=>{e.stopPropagation()})),this.textareaRef=n(s).createRef()}}So.propTypes={box:Cn.box,fill:Cn.fill,stroke:Cn.stroke,text:Cn.text,font:Cn.font,selected:n(d).bool,onChangeProperties:n(d).func,layerId:n(d).string,shapeKey:n(d).string.isRequired,editing:n(d).bool.isRequired,onChangeEditing:n(d).func.isRequired};var Oo=So;const ko="arrow",Co="blur",To="border",Ro="emoji",Po="icon",jo="line",Mo="oval",Do="slice",Lo="rectangle",Ao="text",No="multi",Io="template",Ho=[{id:"W",left:0,top:"50%",marginTop:0},{id:"S",bottom:0,left:"50%",marginLeft:0},{id:"E",right:0,top:"50%",marginTop:0},{id:"N",top:0,left:"50%",marginLeft:0},{id:"SW",bottom:0,left:0},{id:"SE",bottom:0,right:0},{id:"NE",top:0,right:0},{id:"NW",top:0,left:0}],Fo=[{id:"2",point:{x:"x2",y:"y2"}},{id:"1",point:{x:"x1",y:"y1"}}],Uo={[Lo]:{type:Lo,title:(0,Sn.tr)("Rectangle"),isBox:!0,controlPoints:Ho,component:Kn,Icon:e=>{let t=e.className,r=e.stroke,o=void 0===r?"#151515":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("rect",{x:"3.5",y:"4.5",width:"19",height:"15",fill:"none",stroke:o}))},insertKey:"R",defaults:{fill:{color:""},stroke:{width:6,color:"#BD10E0"},corners:{radius:0}},remember:["fill","stroke","corners"]},[No]:{type:No,isBox:!0,controlPoints:[],component:Kn,defaults:{},remember:[],hide:!0},[Do]:{type:Do,isBox:!0,controlPoints:Ho,component:Kn,defaults:{},hide:!0},[Mo]:{type:Mo,title:(0,Sn.tr)("Oval"),isBox:!0,controlPoints:Ho,component:Gn,Icon:e=>{let t=e.className,r=e.stroke,o=void 0===r?"#151515":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M22.5 12C22.5 16.0438 18.3566 19.5 13 19.5C7.64341 19.5 3.5 16.0438 3.5 12C3.5 7.95621 7.64341 4.5 13 4.5C18.3566 4.5 22.5 7.95621 22.5 12Z",fill:"none",stroke:o}))},insertKey:"O",defaults:{fill:{color:""},stroke:{width:6,color:"#BD10E0"}},remember:["fill","stroke"]},[jo]:{type:jo,title:(0,Sn.tr)("Line"),isBox:!1,controlPoints:Fo,component:$n,Icon:e=>{let t=e.className,r=e.fill,o=void 0===r?"#000":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("line",{x1:"4.67737",y1:"17.9479",x2:"22.3363",y2:"8.5585",stroke:o}))},insertKey:"L",defaults:{stroke:{width:6,color:"#000000"}},remember:["stroke"]},[ko]:{type:ko,title:(0,Sn.tr)("Arrow"),isBox:!1,controlPoints:Fo,component:Mn,Icon:e=>{let t=e.className,r=e.fill,o=void 0===r?"#000":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M23.1454 7.77262C23.2261 7.50855 23.0775 7.22902 22.8134 7.14829L18.5101 5.83261C18.246 5.75188 17.9665 5.9005 17.8857 6.16458C17.805 6.42866 17.9536 6.70818 18.2177 6.78892L22.0429 7.9584L20.8734 11.7836C20.7927 12.0477 20.9413 12.3272 21.2054 12.408C21.4695 12.4887 21.749 12.3401 21.8297 12.076L23.1454 7.77262ZM5.24304 17.4573L22.902 8.06791L22.4325 7.18496L4.77356 16.5744L5.24304 17.4573Z",fill:o}))},insertKey:"A",defaults:{stroke:{width:6,color:"#BD10E0"}},remember:["stroke"]},[Ao]:{type:Ao,title:(0,Sn.tr)("Text"),isBox:!0,controlPoints:[{id:"W",left:0,top:"50%",marginTop:0},{id:"S",bottom:0,left:"50%",marginLeft:0},{id:"E",right:0,top:"50%",marginTop:0}],component:Oo,Icon:e=>{let t=e.className,r=e.fill,o=void 0===r?"#151515":r,i=e.fill2,a=void 0===i?"#666666":i;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M19.5703 6V7.36719H15.7031V17.4766H14.125V7.36719H10.2578V6H19.5703Z",fill:o}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 22L5 2L6 2L6 22L5 22Z",fill:a}))},insertKey:"T",defaults:{fill:{fill:"#BD10E0"},stroke:{width:0,color:""},text:{text:(0,Sn.tr)("Enter text here"),autoHeight:!0},font:{size:32,fontFamily:je.FONT_FAMILY_HELVETICA,bold:!1,italic:!1}},remember:["fill","stroke","font"]},[Co]:{type:Co,title:(0,Sn.tr)("Blur"),isBox:!0,takesBase:!0,controlPoints:Ho,component:Un,Icon:e=>{let t=e.className,r=e.fill,o=void 0===r?"#CCC":r,i=e.stroke,a=void 0===i?"#151515":i;const l=(0,pe.default)((0,s.useState)(`filter-${(new Date).getTime()}-${Math.floor(1e6*Math.random())}`),2),u=l[0];l[1];return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("g",{filter:`url(#${u})`},n(s).createElement("ellipse",{cx:"13",cy:"12",rx:"7",ry:"6",fill:o}),n(s).createElement("path",{d:"M19 12C19 14.6224 16.4639 17 13 17C9.53612 17 7 14.6224 7 12C7 9.37764 9.53612 7 13 7C16.4639 7 19 9.37764 19 12Z",stroke:a,strokeWidth:"2"})),n(s).createElement("defs",null,n(s).createElement("filter",{id:u,x:"0",y:"0",width:"26",height:"24",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n(s).createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n(s).createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n(s).createElement("feGaussianBlur",{stdDeviation:"3",result:"effect1_foregroundBlur"}))))},insertKey:"B",defaults:{blur:{radius:5}},remember:["blur"],addToBottom:!1},[Ro]:{type:Ro,title:(0,Sn.tr)("Emoji"),isBox:!0,isSquare:!0,controlPoints:Ho,component:qn,defaults:{},hide:!0},[Po]:{type:Po,title:(0,Sn.tr)("Icon"),isBox:!0,isSquare:!0,controlPoints:Ho,component:Yn,defaults:{},hide:!0},[To]:{type:To,title:(0,Sn.tr)("Padding / Border"),isBox:!0,defaults:{enabled:{on:!1},padding:{padding:40},fill:{fill:"#50E3C2"},stroke:{width:1,color:"#9B9B9B"}},remember:["enabled","padding","fill","stroke"],hide:!0},[Io]:{type:Io,title:je.TEMPLATE_LAYER_DISPLAY_NAME_HEADER,defaults:{template:{templateId:On.BROWSER_TEMPLATE_ID_NONE},include_date:{on:!1,format:je.DATE_FORMAT_NONE}},remember:["template","include_date"],hide:!0}},Bo=e=>Object.assign({},e),zo=e=>JSON.parse(JSON.stringify(e)),Wo={},qo="globalShapeDefaults/UPDATE_DEFAULTS",Vo="globalShapeDefaults/UPDATE_ALL_DEFAULTS";const Yo=(e,t,r,n)=>{const o=Uo[t];if(o.remember&&-1!==o.remember.indexOf(r)){const o=Object.assign({},e[t]);return o[r]=Object.assign({},o[r],n),(0,Ue.default)((0,de.default)({},e),{[t]:o})}return e},$o=(e,t,r)=>({type:qo,payload:{shapeKey:e,groupName:t,updates:r}});de=a("jBCXK"),Ue=a("hGGFE"),pe=a("ff4Ef"),je=a("fueUa"),On=a("1AJdn");const Go={width:{E:"W",W:"E"},height:{N:"S",S:"N"}},Ko=(e,t)=>Zo[e||(t?"__line__":"__box__")],Xo={N:{y:{dim:"dy",delta:1},height:{dim:"dy",delta:-1}},E:{width:{dim:"dx",delta:1}},S:{height:{dim:"dy",delta:1}},W:{x:{dim:"dx",delta:1},width:{dim:"dx",delta:-1}},1:{x1:{dim:"dx",delta:1},y1:{dim:"dy",delta:1}},2:{x2:{dim:"dx",delta:1},y2:{dim:"dy",delta:1}}},Zo=Object.assign({},{__box__:{x:{dim:"dx",delta:1},y:{dim:"dy",delta:1}},__line__:{x1:{dim:"dx",delta:1},y1:{dim:"dy",delta:1},x2:{dim:"dx",delta:1},y2:{dim:"dy",delta:1}}});["NE","SE","SW","NW","N","S","E","W","1","2"].forEach((e=>{Zo[e]=(e=>{let t={};return(e=e||"").split("").forEach((e=>{Object.assign(t,Xo[e])})),t})(e)}));const Jo={},Qo="layers/PROPERTIES_UPDATE",ei="layers/BATCH_PROPERTIES_UPDATE";const ti=(e,t,r,n,o,i,a)=>{let s=Uo[t],l={id:e,shapeKey:t};if(Object.assign(l,zo(s.defaults)),a&&Object.entries(a).forEach((e=>{let t=(0,pe.default)(e,2),r=t[0],n=t[1];l[r]=Object.assign(l[r]||{},n)})),t===To||t===Io);else if(s.isBox){if(l.box={x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)},s.isSquare&&l.box.width!==l.box.height){let e=l.box,t=(e.x,e.y,e.width),a=e.height,s=t>a?Xo[o>r?"E":"W"]:Xo[i>n?"S":"N"],u=-Math.abs(t-a);Object.entries(s).forEach((e=>{let t=(0,pe.default)(e,2),r=t[0],n=t[1];l.box[r]+=u*n.delta}))}}else l.line={x1:r,y1:n,x2:o,y2:i};return l},ri=e=>({type:ei,payload:e}),ni=(e,t,r,n,o)=>({type:Qo,id:e,payload:{shapeKey:t,groupName:r,updates:n,isMultiLayer:o}}),oi=(e,t,r)=>{switch(e.type){case Bt:if(e.groupAsUpdate){const t=e.payload.length;return`${Qo}--${t>1?je.MULTI_LAYER_ID:e.payload[t-1].payload.id}--${["height","width","x","y"].join("|")}`}return null;case ei:return oi(e.payload[e.payload.length-1],t,r);case Qo:{const t=e.payload.isMultiLayer?je.MULTI_LAYER_ID:e.id,r=Object.keys(e.payload.updates);return r.sort(),`${e.type}--${t}--${r.join("|")}`}default:return null}};je=a("fueUa");const ii={};var ai=j({capture:function(e,t){let r=void 0===e?De:e;switch(t.type){case Ae:case Le:case Ne:case Ie:return(0,de.default)({},r,t.payload);default:return r}},base:function(e,t){let r=void 0===e?mn:e;switch(t.type){case vn:return Object.assign({},r,t.payload);case yn:return me.default.error("ERROR LOADING BASE!",t.payload),r;default:return r}},editor:function(e,t){let r=void 0===e?Qt:e;switch(t.type.startsWith(Zt)&&(r=Object.assign({},r,Jt)),t.type){case er:case tr:case rr:case nr:case or:case ir:case ar:case sr:case lr:case ur:case cr:case dr:case pr:case fr:case hr:case gr:case mr:case vr:case yr:case br:return t.type===or&&window.setTimeout((()=>{(0,Me.default)(window,je.EVT_RESIZE)}),50),Object.assign({},r,t.payload);case zt:return(0,Ue.default)((0,de.default)({},r),{selectedLayerIds:[t.payload.id]});case Wt:{const e=t.payload.ids,n=r.selectedLayerIds.filter((t=>!e.includes(t)));return(0,Ue.default)((0,de.default)({},r),{selectedLayerIds:n})}default:return r}},error:function(e,t){let r=void 0===e?xn:e;switch(t.type){case wn:case En:return{error:t.payload,prevError:r.error||r.prevError};default:return r}},globalShapeDefaults:function(e,t){let r=void 0===e?Wo:e;switch(t.type){case qo:{const e=t.payload,n=e.shapeKey,o=e.groupName,i=e.updates;return Yo(r,n,o,i)}case Vo:return zo(t.payload);default:return r}},shapeDefaults:function(e,t){let r=void 0===e?ii:e;switch(t.type){case Qo:case qo:if(t.id!==je.CROP_ID){const e=t.payload,n=e.shapeKey,o=e.groupName,i=e.updates;return Yo(r,n,o,i)}return r;case Vo:return zo(t.payload);default:return r}},undos:n(Gr)(j({layersById:function e(t,r){let n=void 0===t?Jo:t,o=r.id?n[r.id]:void 0;switch(r.type){case ar:if(!(je.CROP_ID in n)){let e=r.base,t=e.width,n=e.height;r=Yt(je.CROP_ID,Do,0,0,t,n)}break;case lr:{const e=r.isToggle;if(je.BORDER_ID in n)e&&(o=n[je.BORDER_ID],r=ni(o.id,To,"enabled",{on:!o.enabled.on},!1));else if(r=Yt(je.BORDER_ID,To,0,0,0,0,r.defaultGroups),e){const e=r.payload.groups||{};e.enabled={on:!0},r.payload.groups=e}break}case ur:je.TEMPLATE_ID in n||(r=Yt(je.TEMPLATE_ID,Io,0,0,0,0,Object.assign({template:{templateId:On.BROWSER_TEMPLATE_ID_NONE}},r.defaultGroups)))}switch(r.type){case Bt:case ei:return r.payload.reduce(e,n);case Qo:{let e=r.payload,t=e.groupName,i=e.updates;return o=Object.assign({},o),o[t]=Object.assign({},o[t],i),(0,Ue.default)((0,de.default)({},n),{[r.id]:o})}case zt:{let e=r.payload,t=e.id,o=e.shapeKey,i=e.x1,a=e.y1,s=e.x2,l=e.y2,u=e.groups;return(0,Ue.default)((0,de.default)({},n),{[t]:ti(t,o,i,a,s,l,u)})}case Wt:{const e=r.payload.ids;return n=Object.assign({},n),e.forEach((e=>{delete n[e]})),n}default:return n}},layersIds:function e(t,r){let n=void 0===t?Ut:t;switch(r.type){case Bt:return r.payload.reduce(e,n);case zt:return n=Array.from(n),n[r.payload.bottom?"push":"unshift"](r.payload.id),n;case Wt:return n.filter((e=>!r.payload.ids.includes(e)));case qt:{let e=r.payload,t=e.oldIndex,s=e.newIndex;return i=t,a=s,(o=(o=n).slice()).splice(a<0?o.length+a:a,0,o.splice(i,1)[0]),o}default:return n}var o,i,a}}),{limit:100,groupBy:oi})});var si=e=>{const t=[$r,Hr];const r=I.apply(null,t);return R(ai,e,r)},li={},ui=a("iIdtL");Object.defineProperty(li,"__esModule",{value:!0}),Object.defineProperty(li,"createGenerateClassName",{enumerable:!0,get:function(){return ci.default}}),Object.defineProperty(li,"createMuiTheme",{enumerable:!0,get:function(){return di.default}}),Object.defineProperty(li,"jssPreset",{enumerable:!0,get:function(){return pi.default}}),Object.defineProperty(li,"MuiThemeProvider",{enumerable:!0,get:function(){return fi.default}}),Object.defineProperty(li,"createStyles",{enumerable:!0,get:function(){return hi.default}}),Object.defineProperty(li,"withStyles",{enumerable:!0,get:function(){return gi.default}}),Object.defineProperty(li,"withTheme",{enumerable:!0,get:function(){return mi.default}});var ci=ui(a("4qadp")),di=ui(a("9ar8U")),pi=ui(a("2TfOV")),fi=ui(a("7jMHD")),hi=ui(a("aL7xc")),gi=ui(a("a6dSz")),mi=ui(a("gA3jP")),vi=(s=a("7b0kr"),u=a("ceb36"),me=a("2z2pA"),Ce=a("avfZw"),ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),pe=a("ff4Ef"),Be=a("4fNEN"),a("gwJFa")),yi=(s=a("7b0kr"),Pe=a("8DwkQ"),Sn=a("5Xemj"),a("erNYL")),bi=(me=a("2z2pA"),Te=a("dChev"),je=a("fueUa"),d=a("3pr9z"),s=a("7b0kr"),de=a("jBCXK"),vi=a("gwJFa"),s=a("7b0kr"),a("kRWUw")),xi=a("8vc73"),wi=e=>{const t=Object.assign({},e);t.className=n(vi)(e.className,"closelink");let r={size:10};return"fill"in t&&(r.fill=t.fill,delete t.fill),n(s).createElement("a",(0,de.default)({href:"#"},t),n(s).createElement(bi.default,r),n(s).createElement(xi.default,null,"Close"))};vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr");const Ei=e=>((e=Object.assign({role:"img"},e)).label&&(e["aria-label"]=e.label,delete e.label),e.className=n(vi)(e.className,"emoji"),n(s).createElement("span",e));Ei.propTypes={label:n(d).string.isRequired};var _i=Ei;const Si=e=>{let t=e.error,r=e.reportUrl,o=e.onClearError;if(!t)return null;const i=t.displayMessage||t.message||"Error",a=t.title||"Oh no, there was an error!",l=t.permanent?null:o;return n(s).createElement("div",{className:"errormessage error"},n(s).createElement("strong",null,a," ",!t.noEmoji&&n(s).createElement(_i,{label:"Surprised face"},"😯")),n(s).createElement("br",null),n(s).createElement("br",null),i,n(s).createElement("br",null),n(s).createElement("br",null),"If this persists, please"," ",n(s).createElement("a",{className:"nowrap",href:r,target:"_blank",rel:"noopener noreferrer"},"contact support"),".",l&&n(s).createElement(wi,{onClick:l,fill:"#900"}))};Si.props={error:n(d).object,reportUrl:n(d).string.isRequired,onClearError:n(d).func.isRequired};var Oi=Si;function ki(e,t){return e===t}var Ci=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:ki,r=null,n=null;return function(){return function(e,t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,o=0;oObject.values(Uo).filter((e=>e.remember&&e.remember.length)),Pi=e=>{const t={};return e.forEach((e=>{const r={};t[e.type]=r,e.remember.forEach((t=>{const n=e.defaults[t];n&&(r[t]=zo(n))}))})),t},ji=(e,...t)=>{var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){let t=i.value;if(!e||"object"!=typeof e)return;e=e[t]}}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e};var Mi=a("3cJ8u");const Di=Ci([e=>e.undos.present.layersById,e=>e.undos.present.layersIds],((e,t)=>t.map((t=>e[t])).filter((e=>e)))),Li=Ci([e=>e.editor.mode,e=>e.undos.present.layersById[je.CROP_ID],e=>e.editor.selectedLayerIds],((e,t,r)=>e===Kt?t?[je.CROP_ID]:[]:r)),Ai=Ci([e=>Li(e)],(e=>e.filter((e=>e!==je.BORDER_ID&&e!==je.TEMPLATE_ID)))),Ni=e=>e.editor.mode===Kt?null:e.editor.hoveringLayerId,Ii=e=>e.undos.present.layersById[je.CROP_ID]||null,Hi=e=>{const t=e.undos.present.layersById[je.BORDER_ID];return t&&t.enabled.on?t:null},Fi=Ci([e=>e.base],(e=>({x:0,y:0,width:e.width||0,height:e.height||0}))),Ui=Ci([e=>e.editor.mode,e=>e.base,Ii],((e,t,r)=>e!==Kt&&r?r.box:Fi({base:t}))),Bi=e=>{const t=e.undos.present.layersById[je.TEMPLATE_ID];return t?t.template.templateId:On.BROWSER_TEMPLATE_ID_NONE},zi=e=>{const t=e.undos.present.layersById[je.TEMPLATE_ID],r=t&&t.include_date;if(r){if(r.format)return r.format;if(r.on)return je.DATE_FORMAT_DATE}return je.DATE_FORMAT_NONE},Wi=Ci([e=>e.base,Bi,e=>zi(e)!==je.DATE_FORMAT_NONE&&e.capture.time||null,zi,Ui],((e,t,r,n,o)=>(0,On.createBrowserTemplate)(t,e.url,o.width||0,o.height||0,e.pixelDensity||1,e.title,r,(0,je.formatDate)(r,n)))),qi=Ci([e=>Ai(e),e=>e.undos.present.layersById],((e,t)=>{if(e.length<=1)return null;const r=e.map((e=>t[e])),n=(0,Mi.computeLayersMinMax)(r);n.minX,n.minY,n.maxX,n.minX,n.maxY,n.minY;return ti(je.MULTI_LAYER_ID,No,n.minX,n.minY,n.maxX,n.maxY)})),Vi=Ci([e=>e.error.error||e.error.prevError,e=>window.location.href,e=>e.capture&&e.capture.subUserId,e=>e.capture&&e.capture.subState],((e,t,r,n)=>(0,Ti.getReportUrl)({url:t,error:e,userId:r,subState:n}))),Yi=Ci([e=>e.error.error||e.error.prevError,e=>window.location.href,e=>e.capture&&e.capture.subUserId,e=>e.capture&&e.capture.subState],((e,t,r,n)=>o=>(0,Ti.getReportUrl)({type:o,url:t,error:e,userId:r,subState:n}))),$i=Ci([e=>e.globalShapeDefaults&&e.globalShapeDefaults[To],e=>e.globalShapeDefaults&&e.globalShapeDefaults[Io]],((e,t)=>{const r=Pi(Ri());return{borderDefaults:e=Object.assign(r[To],e),templateDefaults:t=Object.assign(r[Io],t)}})),Gi=Ci([e=>!(!e.capture||!e.capture.subUserId),e=>e.capture&&e.capture.hasPreviouslyLoggedIn||!1,e=>e.capture&&e.capture.isSubOk||!1],((e,t,r)=>({isLoggedIn:e,hasPreviouslyLoggedIn:t,isSubOk:r})));var Ki=le((e=>({error:e.error.error||null,reportUrl:Vi(e)})),(e=>({onClearError:()=>e({type:En,payload:null})})))(Oi),Xi=(Ce=a("avfZw"),{});ui=a("iIdtL");Object.defineProperty(Xi,"__esModule",{value:!0}),Object.defineProperty(Xi,"default",{enumerable:!0,get:function(){return Ji.default}});var Zi,Ji=ui(a("brH8f"));d=a("3pr9z"),s=a("7b0kr");Zi=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("4bIyF");Sn=a("5Xemj"),ue=a("8rN6d"),ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),pe=a("ff4Ef"),fe=a("8bPtr"),Be=a("4fNEN");var Qi={};(e=>{"use strict";const t=Math.clz32,r=String.fromCharCode,n=String.fromCodePoint,o=atob,i=btoa,a=e=>{let t=e.codePointAt(0);return 127>=t?e:2047>=t?r(192|t>>>6,128|63&t):65535>=t?r(224|t>>>12,128|t>>>6&63,128|63&t):r(240|t>>>18,128|t>>>12&63,128|t>>>6&63,128|63&t)},s=(e,t)=>i((t?"":"")+e.replace(/[\x80-\uD7ff\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]?/g,a)),l=e=>{let r=e.charCodeAt(0)<<24,o=0,i="";const a=t(~r),s=0|e.length;if(5>a&&s>=a){for(r=r<>>24+a,o=1;o(e=o(e),t||""!==e.substring(0,3)||(e=e.substring(3)),e.replace(/[\xc0-\xff][\x80-\xbf]*/g,l)),c=e=>(e.btoaUTF8=s,e.atobUTF8=u,e);typeof define==typeof c&&define.amd?define((()=>c({}))):c(Qi)})();vi=a("gwJFa"),he=a("e0Kwl"),d=a("3pr9z"),s=a("7b0kr"),l=a("iiDPj");var ea=a("j4JJz"),ta=a("ekuHd"),ra=a("95ETH"),na=a("i9kVF"),oa=(Pe=a("8DwkQ"),Sn=a("5Xemj"),yi=a("erNYL"),u=a("ceb36"),a("Bqk7F")),ia=(me=a("2z2pA"),a("1RQvI")),aa=a("5kOv9"),sa=a("8ioZ3"),la=(Te=a("dChev"),_e=a("kOtTY"),je=a("fueUa"),Me=a("fAoww"),Mi=a("3cJ8u"),gn=a("hDtYW"),de=a("jBCXK"),Ue=a("hGGFE"),vi=a("gwJFa"),n(s=a("7b0kr")).forwardRef(((e,t)=>n(s).createElement("button",(0,Ue.default)((0,de.default)({ref:t,type:"button"},e),{className:n(vi)(e.className,"fpsc-button")})))));const ua=n(s).forwardRef(((e,t)=>n(s).createElement("a",(0,Ue.default)((0,de.default)({ref:t,href:"#"},e),{className:n(vi)(e.className,"fpsc-button")}))));d=a("3pr9z"),s=a("7b0kr");const ca=e=>{let t=e.cents,r=e.monthly,o=e.simplify,i=(t/100/(r?12:1)).toLocaleString(void 0,{style:"currency",currency:"USD"});return o&&(i.endsWith(".00")||i.endsWith(",00"))&&(i=i.substring(0,i.length-3)),n(s).createElement(n(s).Fragment,null,i)};ca.propTypes={cents:n(d).number.isRequired};var da=ca,pa=(s=a("7b0kr"),e=>{let t=e.fill,r=void 0===t?"#fff":t;return n(s).createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4443 4.5H9.33322V0H4.66655V4.5H1.55544L6.99988 9.75L12.4443 4.5ZM0 12V15H14V12H0Z",fill:r}))});s=a("7b0kr");var fa=e=>{let t=e.fill,r=e.fitWidth,o=e.fitHeight;t=t||"#151515";const i={verticalAlign:"middle"};return r&&(i.width=`${r}px`),o&&(i.height=`${o}px`),n(s).createElement("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6H12V0H6V6H2L9 13L16 6V6ZM0 16V20H18V16H0V16Z",fill:t}))};s=a("7b0kr");const ha="#151515";var ga=e=>{let t=e.fill,r=e.fitWidth,o=e.fitHeight;t=t||ha,t=t||ha;const i={verticalAlign:"middle"};return r&&(i.width=`${r}px`),o&&(i.height=`${o}px`),n(s).createElement("svg",{width:"18",height:"21",viewBox:"0 0 18 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6H12V0H6V6H2L9 13L16 6V6Z",fill:t}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 16.5H3.5V17.5H1.5V16.5ZM5 17.5C5 18.35 4.35 19 3.5 19H1.5V21H0V15H3.5C4.35 15 5 15.65 5 16.5V17.5V17.5Z",fill:t}),n(s).createElement("path",{d:"M13 15H17.5V16.5H14.5V17.5H16.6V19H14.5V21H13V15Z",fill:t}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19.5H8V16.5H10V19.5V19.5ZM10 15H6.5V21H10C10.8 21 11.5 20.3 11.5 19.5V16.5C11.5 15.7 10.8 15 10 15V15Z",fill:t}))};ce=a("iPbYd"),s=a("7b0kr"),d=a("3pr9z"),ea=a("j4JJz"),me=a("2z2pA");let ma=0;class va extends s.Component{componentDidMount(){this._renderImg()}componentDidUpdate(){this._renderImg()}_renderImg(){let e=this.imgRef.current;if(e){const t=this.props.base,r=t.img,n=t.width,o=t.height,i=t.pixelDensity,a=this.props,s=a.browserTemplate,l=a.cropBox,u=[r.src,n,o,i,s.id,s.time,s.timeText,l.x,l.y,l.width,l.height];if(this._isNewRender(u)){e.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQYV2P4/PnzfwAJjwPZUvo+oQAAAABJRU5ErkJggg==";let t=this._nextCounter();(0,me.default)(`%c> [${t}] REDRAW IMAGE BASE! (${(new Date).toString().replace(/ \([^\)]*\)$/,"")})`,"color:pink");const n=document.createElement("canvas"),o=n.getContext("2d"),a=s.offsets.fullWidth,u=s.offsets.fullHeight;n.width=a*i,n.height=u*i,o.scale(i,i),ya(o,r,i,l,s.offsets.left,s.offsets.top),s.draw(o,this.props.base.url).then((()=>this._expired(t)?null:(0,ea.canvasToBlob)(n))).then((r=>{r&&!this._expired(t)&&(e.src=(0,ea.blobToUrl)(r))})).catch((e=>{me.default.error("[ImageBase._renderImg.ERROR]",e),e.customMessage="Error rendering base image.",this.props.onSetError(e)}))}}}_isNewRender(e){let t,r=this._lastRenderArgs;if(null!==r&&r.length===e.length&&!r.some(((t,r)=>t!==e[r])))return!1;if(null===r)t=`... lastArgs === null (${JSON.stringify(e)})`;else{let n=e.map(((e,t)=>e!==r[t]?[t,e,r[t]]:null)).filter((e=>null!==e));t=`... diffs: ${JSON.stringify(n)}`}return(0,me.default)(`%c${t}`,"color:pink"),this._lastRenderArgs=e,!0}render(){const e=this.props,t=(e.base,e.baseLeft),r=e.baseTop,o=e.browserTemplate,i=e.onClick,a={top:`${r}px`,left:`${t}px`,width:`${o.offsets.fullWidth}px`,height:`${o.offsets.fullHeight}px`},l=["imagebase",`template-${this.props.browserTemplate.id||"none"}`];return this.props.browserTemplate.id||this.props.border||l.push("imagebase-border"),n(s).createElement("img",{ref:this.imgRef,style:a,className:l.join(" "),onClick:i})}constructor(e){super(e),(0,ce.default)(this,"_nextCounter",(()=>++ma)),(0,ce.default)(this,"_expired",(e=>e{let a=void 0===o?0:o,s=void 0===i?0:i;e.drawImage(t,n.x*r,n.y*r,n.width*r,n.height*r,a,s,n.width,n.height)};va.propTypes={base:n(d).object.isRequired,baseLeft:n(d).number.isRequired,baseTop:n(d).number.isRequired,border:n(d).object,browserTemplate:n(d).object.isRequired,cropBox:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}).isRequired,onSetError:n(d).func.isRequired,onClick:n(d).func};var ba=va;ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),s=a("7b0kr"),vi=a("gwJFa"),d=a("3pr9z"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr");const xa=e=>{let t={width:`${e.width}px`,height:`${e.height}px`};const r=n(vi)("controlborder",{hover:e.hovering&&!e.selected,spotlight:e.spotlight});return n(s).createElement("div",{className:r,style:t})};xa.propTypes={width:n(d).number.isRequired,height:n(d).number.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,spotlight:n(d).bool};var wa=xa;vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr");const Ea=e=>{let t=e.line,r=t.x1,o=t.y1,i=t.x2,a=t.y2,l=Tn(e.line),u={position:"absolute",left:"-1px",top:"-1px",width:`${l.width+2}px`,height:`${l.height+2}px`},c=e.spotlight?"rgba(81, 203, 238, 1)":e.hovering&&!e.selected?"#69f":"#999";const d=n(vi)("controlline",{spotlight:e.spotlight});return n(s).createElement("svg",{className:d,style:u},n(s).createElement("line",{x1:r-l.x+1,y1:o-l.y+1,x2:i-l.x+1,y2:a-l.y+1,stroke:c,strokeWidth:1}))};Ea.propTypes={line:Cn.line.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,spotlight:n(d).bool};var _a=Ea;s=a("7b0kr"),me=a("2z2pA");const Sa=e=>10/(e<1?e:1);var Oa=e=>{let t=Sa(e.pxPerModel),r=["controlpoint",`controlpoint-${e.id.toLowerCase()}`],o={position:"absolute",boxSizing:"border-box",width:`${t}px`,height:`${t}px`,background:"white",border:"1px solid #111"};return e.point?(o.left=e.line[e.point.x]-e.box.x-t/2+"px",o.top=e.line[e.point.y]-e.box.y-t/2+"px"):["top","right","bottom","left","marginTop","marginLeft"].forEach((r=>{void 0!==e[r]&&(o[r]="number"==typeof e[r]?e[r]-t/2+"px":e[r])})),n(s).createElement("div",{className:r.join(" "),style:o,onMouseDown:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),(0,me.default)("[ControlPoint.mouseDown]",t.id),t.onMouseDown(e,t.id)})(t,e)})};me=a("2z2pA");class ka extends s.PureComponent{render(){let e,t=this.props,r=this.state,o=n(vi)({layer:!0,selected:t.selected,spotlight:t.spotlight}),i=Uo[t.shapeKey],a=Boolean(t.line),l=a?Tn(t.line):t.box,u={top:`${t.yOffset+l.y}px`,left:`${t.xOffset+l.x}px`,width:`${l.width}px`,height:`${l.height}px`},c=[];(t.selected||t.hovering||t.secondarySelected)&&!r.editing&&(e=a?n(s).createElement(_a,{line:t.line,selected:t.selected,hovering:t.hovering,spotlight:t.spotlight}):n(s).createElement(wa,{width:l.width,height:l.height,selected:t.selected,hovering:t.hovering,spotlight:t.spotlight}));const d=Sa(t.pxPerModel);if(t.selected&&!r.editing){let e=i.controlPoints;t.box&&(t.box.height<2.25*d&&(e=e.filter((e=>"E"!==e.id&&"W"!==e.id))),t.box.width<2.25*d&&(e=e.filter((e=>"N"!=e.id&&"S"!==e.id)))),c=e.map((e=>n(s).createElement(Oa,(0,Ue.default)((0,de.default)({key:e.id,line:t.line,box:l,pxPerModel:t.pxPerModel},e),{onMouseDown:this.handleControlPointMouseDown}))))}let p={onChangeEditing:this.handleChangeEditing,editing:r.editing,basePixelDensity:t.basePixelDensity,shapeKey:t.shapeKey,onFinishedComponentMount:t.onFinishedComponentMount};return po.forEach((e=>{p[e.name]=t[e.name]})),t.shapeKey===Ao&&(p.onChangeProperties=t.onChangeProperties,p.selected=t.selected,p.layerId=t.id),i.isSquare&&(p.isSquare=!0),i.takesBase&&(p.base=t.base),n(s).createElement("div",{className:o,style:u,onMouseDown:this.handleMouseDown,onMouseOver:this.handleMouseOver,onMouseLeave:this.handleMouseOut},n(s).createElement(i.component,p),e,c)}constructor(e){super(e),(0,ce.default)(this,"handleMouseDown",(e=>{e.stopPropagation(),(0,me.default)("[Layer.onMouseDown]"),this.props.onMouseDown(e,this.props.id)})),(0,ce.default)(this,"handleControlPointMouseDown",((e,t)=>{this.props.onMouseDown(e,this.props.id,t)})),(0,ce.default)(this,"handleMouseOver",(e=>{this.props.onHoverLayer(this.props.id)})),(0,ce.default)(this,"handleMouseOut",(e=>{this.props.onUnhoverLayer()})),(0,ce.default)(this,"handleChangeEditing",(e=>{this.setState({editing:e})})),this.state={editing:!1}}}(0,ce.default)(ka,"propTypes",{yOffset:n(d).number.isRequired,xOffset:n(d).number.isRequired,pxPerModel:n(d).number.isRequired,basePixelDensity:n(d).number.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,secondarySelected:n(d).bool,onMouseDown:n(d).func.isRequired,onHoverLayer:n(d).func.isRequired,onUnhoverLayer:n(d).func.isRequired,spotlight:n(d).bool,id:n(d).string.isRequired,shapeKey:n(d).string.isRequired,box:Cn.box,text:Cn.text,font:Cn.font,fill:Cn.fill,stroke:Cn.stroke,onFinishedComponentMount:n(d).func.isRequired}),(0,ce.default)(ka,"defaultProps",{onFinishedComponentMount:()=>{}});s=a("7b0kr");var Ca=e=>{let t=e.fill,r=void 0===t?"#666666":t,o=e.width,i=void 0===o?52:o,a=e.height,l=void 0===a?12:a,u=e.scale,c=void 0===u?1:u,d=e.style,p=void 0===d?{}:d;return n(s).createElement("svg",{version:"1.1",id:"L4",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 52 12",enableBackground:"new 0 0 0 0",xmlSpace:"preserve",width:i*c,height:l*c,style:p},n(s).createElement("title",null,"Loading"),n(s).createElement("circle",{fill:r,stroke:"none",cx:"6",cy:"6",r:"6",opacity:"0"},n(s).createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.1"})),n(s).createElement("circle",{fill:r,stroke:"none",cx:"26",cy:"6",r:"6",opacity:"0"},n(s).createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.2"})),n(s).createElement("circle",{fill:r,stroke:"none",cx:"46",cy:"6",r:"6",opacity:"0"},n(s).createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.3"})))},Ta=a("2kaV1");const Ra="default",Pa="copy",ja="saveas",Ma="editor_export";class Da extends s.Component{componentDidMount(){this._mounted=!0,yi.on(je.EVT_DO_EXPORT,this._onTriggerExport),window.addEventListener(je.EVT_DROPDOWN_CLEAR,this._clearDLOptsHover),Te.default.setWebsiteABState()}componentWillUnmount(){this._mounted=!1,yi.off(je.EVT_DO_EXPORT,this._onTriggerExport),window.removeEventListener(je.EVT_DROPDOWN_CLEAR,this._clearDLOptsHover)}componentDidUpdate(e){const t=this.props.pastCount;!this.state.autoSlidedownEnabled&&t>8&&this.setState({autoSlidedownEnabled:!0})}doExport(e,t,r){let o=void 0===t?null:t,i=void 0===r?Ra:r;const a=he.DateTime.now();if(this.state.isExporting)return;if(!this.props.user.isSubOk)return void(0,Ta.triggerNotifyText)(`😮 ${(0,Sn.tr)("You need to sign up in order to export your edited image.")}`,4e3);const c=i===Pa,d=i===ja;if(c&&!(0,na.canCopyBlobToClipboard)())return void me.default.error("Cannot copy to clipboard, browser does not support it");this.setState({isExporting:!0}),o=o||this.props.lastDlType,o!==this.props.lastDlType&&this.props.onUpdateLastDlType(o),c&&(o=Pe.DL_TYPE_IMAGE,Ta.triggerNotifyText.copyingImage());const p=this.props,f=p.base,h=p.border,g=p.browserTemplate,m=p.cropBox,v=p.layers,y=p.format,b=p.links,x=c?oa.default.png.canvas:(0,oa.getImageFormat)(y).canvas,w=x===oa.default.png.canvas,E=(0,Mi.computeBaseOffsets)(f.width,f.height,f.pixelDensity,m,g,100,v,h,0),_=o===Pe.DL_TYPE_PDF;let S=g.offsets,O=document.createElement("canvas"),k=O.getContext("2d"),C=f.pixelDensity,T=k.webkitBackingStorePixelRatio||k.backingStorePixelRatio||1,R=C/T;if(O.width=E.outerWidth*R,O.height=E.outerHeight*R,(x===oa.default.jpg.canvas||_)&&(k.fillStyle="#fff",k.fillRect(0,0,O.width,O.height)),k.scale(R,R),h){const e=E.outerWidth,t=E.outerHeight;if(h.stroke.width&&(k.fillStyle=h.stroke.color||"transparent",k.fillRect(0,0,e,t)),h.fill.fill||h.stroke.width){const r=h.stroke.width||0,n=h.fill.fill?"fillRect":"clearRect";k.fillStyle=h.fill.fill||"transparent",k[n](r,r,e-2*r,t-2*r)}}k.translate(E.baseLeft,E.baseTop),ya(k,f.img,R,m,S.left,S.top);let P,j,M=1e4,D=[],L=!1;var A=this;Promise.resolve().then((()=>g.draw(k,f.url))).then((()=>{let e=S.left-m.x,t=S.top-m.y;return(0,gn.serialMap)(Ua(v),(r=>new Promise(((o,i)=>{let a=document.createElement("div");Fa(a,{position:"absolute",left:"-10000px",top:"-10000px"}),n(l).render(n(s).createElement(ka,(0,Ue.default)((0,de.default)({xOffset:e,yOffset:t,pxPerModel:1,basePixelDensity:C,base:f},r),{selected:!1,hovering:!1,onMouseDown:()=>{},onHoverLayer:()=>{},onUnhoverLayer:()=>{},onChangeProperties:()=>{},onFinishedComponentMount:()=>o(a)})),a)})).then((e=>{document.body.appendChild(e),D.push(e);let t=e.querySelector("svg")||e.querySelector("canvas")||e.querySelector("img"),n=t&&t.getBoundingClientRect(),o=n?n.left+M:0,i=n?n.top+M:0,a=t?t.nodeName.toLowerCase():"";switch(a){case"svg":let e=Ha(t,n.width,n.height);return(0,gn.loadImage)(e).then((e=>(e.left=o,e.top=i,e)));case"img":return Promise.resolve({img:t,left:o,top:i,width:t.width,height:t.height});case"canvas":const s=t.style.width?parseInt(t.style.width):t.width/C,l=t.style.height?parseInt(t.style.height):t.height/C;return Promise.resolve({img:t,left:o,top:i,width:s,height:l});default:let u=new Error(`Unexpected nodeName: "${a}" for ${r.shapeKey}`);throw u.name="ExportLayerError",u}})).then((e=>{k.drawImage(e.img,e.left,e.top,e.width,e.height)}))))})).then((()=>{w||(k.save(),k.globalCompositeOperation="destination-over",k.fillStyle="#fff",k.fillRect(0,0,O.width,O.height),k.restore())})).then((0,ue.default)((function(){var e,t,r,n,o,i,a;return(0,fe.__generator)(this,(function(s){switch(s.label){case 0:return[4,Promise.all([sa.default.load(),Te.default.loginStateProm()])];case 1:return e=pe.default.apply(void 0,[s.sent(),2]),t=e[0],r=e[1],_?(n=(0,oa.getImageFormat)("jpg"),o=[],g.textCoords&&o.push((0,Ue.default)((0,de.default)({},g.textCoords),{url:f.url})),i=t.pdf_insert_links&&r&&r.store.show_experimental,b&&Array.isArray(b)&&b.length&&i&&(0,ta.flattenBounds)(b).forEach((e=>{let t=e.x,r=e.y,n=e.width,i=e.height;if(t=m.x+m.width){if(t>=m.x+m.width)return;n-=t+n-(m.x+m.width)}if(r=m.y+m.height){if(r>=m.y+m.height)return;i-=r+i-(m.y+m.height)}t+=E.xOffset,r+=E.yOffset,o.push((0,Ue.default)((0,de.default)({},e),{width:n,height:i,x:t,y:r}))})),[2,(0,aa.toPDF)([{img:O,width:O.width,height:O.height}],n,R,t.pdf_format,t.pdf_smart_page&&r&&"sub-ok"===r.subState,o).then((e=>e))]):(c&&t.fit_copies&&(a=(0,pe.default)((0,na.fitToMaxPixels)(O,na.GOOGLE_DOCS_MAX_PIXELS),2),O=a[0],L=a[1]),[2,(0,ea.canvasToBlob)(O,x)])}}))}))).then(function(){var t=(0,ue.default)((function(t){var r,o,i,s,l,p,h;return(0,fe.__generator)(this,(function(g){switch(g.label){case 0:if(c)return u.default.event(Ma,"copy_img",e,v.length),[2,(0,na.copyBlobToClipboard)(t).then((()=>{(0,me.default)("Copied to clipboard!"),Ta.triggerNotifyText.copiedImage(L)})).catch((e=>{Ta.triggerNotifyText.clear(),e.title=ia.ERR_TITLE_COPY,e.displayMessage=ia.ERR_MSG_COPY,e.customMessage="Error copying image.",e.noEmoji=!0,(0,_e.addViaToError)(e,"Export.doExport.copyImage"),A.props.onSetError(e)}))];P=(0,ea.blobToUrl)(t),n(Be).ok(f.src,`Missing base.src! ${f.src}`),r=f.src.split("/").pop(),o=r.split("."),i=o.length>1?`.${o.pop()}`:"",s=_?".pdf":i,l=o.join("."),j=`${l}-edit${s}`,g.label=1;case 1:return g.trys.push([1,3,,7]),[4,A._doDownload(P,j,e,d)];case 2:return g.sent(),[3,7];case 3:return p=g.sent(),me.default.error("[doExport._doDownload.ERROR]",p),h=he.DateTime.now(),h.diff(a,"milliseconds").milliseconds+10>_e.GESTURE_TIMEOUT||p&&p.message&&"string"==typeof p.message&&-1!==p.message.indexOf("This function must be called during a user gesture")?[4,new Promise(((t,r)=>{A._mounted&&(A.setState({retryModalOnClick:r=>t(A._doDownload(P,j,e))}),window.setTimeout((()=>{A.retryBtnRef.current&&A.retryBtnRef.current.focus()}),250))}))]:[3,5];case 4:return g.sent(),[3,6];case 5:throw p;case 6:return[3,7];case 7:return[2]}}))}));return function(e){return t.apply(this,arguments)}}()).catch((e=>{me.default.error("[doExport.ERROR]",e),c&&(0,Ta.triggerNotifyText)(""),e.customMessage="Error exporting document.",(0,_e.addViaToError)(e,"Export.doExport"),this.props.onSetError(e)})).then((()=>{this._mounted&&this.setState({isExporting:!1}),D.forEach((e=>{e.parentNode.removeChild(e)})),(0,ea.revokeObjectUrl)(P)}))}_doDownload(e,t,r,n){let o=void 0!==n&&n;var i=this;return(0,ue.default)((function(){var n,a,s,l,c,d;return(0,fe.__generator)(this,(function(p){switch(p.label){case 0:return n=i.props.layers,[4,(0,ra.requestDownloads)()];case 1:return p.sent()?[4,(0,_e.fullServiceDownload)([{url:e,filename:t}],!1,o)]:[2];case 2:if(a=p.sent(),s=a.hasPerms,l=a.results,c=a.failCount,!s)throw(d=new Error("No downloads perm despite just getting it!")).name="UnreachableError",d;if(c)throw l.find((e=>!1===e.success)).error;return void 0,u.default.event(Ma,"download",r,n.length),[2,undefined]}}))}))()}render(){const e=this.props,t=e.planAmount,r=e.isShowLoginDropdown,o=e.format,i=this.props.user,a=i.hasPreviouslyLoggedIn,l=i.isLoggedIn,u=i.isSubOk,c=this.state,d=c.isExporting,p=c.retryModalOnClick,f=c.autoSlidedownEnabled,h=c.hasDismissedSlidedown,g=c.showDownloadOptions,m=r||f&&!h;let v=n(vi)("dl-btn",{highlight:u}),y={},b={},x=(0,Sn.tr)("Download & Export"),w=null;return u?(b={onClick:this.makeHandleClick()},y={onMouseOver:e=>{this._clearDLOptsHoverDebounced.clear(),(0,Me.default)(window,je.EVT_DROPDOWN_CLEAR),this.setState({showDownloadOptions:!0})},onMouseLeave:e=>{this._clearDLOptsHoverDebounced()}},g&&(w=n(s).createElement(Na,{onClickDownloadImage:this.makeHandleClick(Pe.DL_TYPE_IMAGE),onClickDownloadPdf:this.makeHandleClick(Pe.DL_TYPE_PDF),lastDlType:this.props.lastDlType,format:o}))):!l&&a?(x=(0,Sn.tr)("Login to Export"),b={onClick:this.props.onShowLoginPopup}):(x=(0,Sn.tr)("Sign up to Export"),b={onClick:this.props.onShowLoginDropdown,onMouseOver:e=>this.state.autoSlidedownEnabled&&this.props.onShowLoginDropdown(e)||!0},m&&(w=n(s).createElement(Aa,{onShowLoginPopup:this.props.onShowLoginPopup,onShowSignupPopup:this.props.onShowSignupPopup,onHideLoginDropdown:this.handleHideLoginDropdown,planAmount:t}))),n(s).createElement(n(s).Fragment,null,n(s).createElement("div",(0,de.default)({className:"export header--text"},y),n(s).createElement(la,(0,de.default)({className:v},b),n(s).createElement("span",{className:n(vi)("dl-btn-inner",{"is-exporting":d})},x,n(s).createElement(pa,null)),d&&n(s).createElement("span",{className:"loader"},n(s).createElement(Ca,{fill:"#fff"}))),w),p&&n(s).createElement("div",{className:"export-retrymodal"},n(s).createElement("div",{className:"export-retrymodal-inner"},"Image rendering finished:",n(s).createElement("br",null),n(s).createElement("br",null),n(s).createElement(la,{ref:this.retryBtnRef,className:"retry-btn",type:"button",onClick:e=>{var t=this;Promise.resolve().then((0,ue.default)((function(){return(0,fe.__generator)(this,(function(r){switch(r.label){case 0:return[4,p(e)];case 1:return r.sent(),t.setState({retryModalOnClick:null}),[2]}}))}))).catch((e=>{e.customMessage="Error retrying exporting document.",(0,_e.addViaToError)(e,"Export.retryModal"),this.props.onSetError(e)}))}},"Complete download",n(s).createElement(pa,null)))))}constructor(e){super(e),(0,ce.default)(this,"_onTriggerExport",(e=>{let t=e.copy,r=e.saveAs,n=e.dlType,o=e.via;if(n){if(!{[Pe.DL_TYPE_IMAGE]:!0,[Pe.DL_TYPE_PDF]:!0}[n])throw new Error(`UNKNOWN DL TYPE: ${n}`)}else n=null;const i=!0===t?Pa:!0===r?ja:Ra;o=o||"keyboard",this.doExport(o,n,i)})),(0,ce.default)(this,"makeHandleClick",(e=>t=>{this.doExport("mouse",e)})),(0,ce.default)(this,"handleHideLoginDropdown",(()=>{this.state.hasDismissedSlidedown||this.setState({hasDismissedSlidedown:!0}),this.props.onHideLoginDropdown()})),this.state={isExporting:!1,retryModalOnClick:null,autoSlidedownEnabled:!1,hasDismissedSlidedown:!1,showDownloadOptions:!1},this.retryBtnRef=n(s).createRef(),this._clearDLOptsHover=()=>this.setState({showDownloadOptions:!1}),this._clearDLOptsHoverDebounced=(0,we.debounce)(this._clearDLOptsHover,300)}}(0,ce.default)(Da,"propTypes",{layers:n(d).array,browserTemplate:n(d).object,cropBox:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}).isRequired,base:n(d).shape({img:n(d).object.isRequired,src:n(d).string.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired,pixelDensity:n(d).number.isRequired}),format:n(d).oneOf(["jpg","png"]).isRequired,links:n(d).arrayOf(n(d).shape({bounds:n(d).arrayOf(n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired})),url:n(d).string.isRequired})),pastCount:n(d).number.isRequired,lastDlType:n(d).oneOf([Pe.DL_TYPE_IMAGE,Pe.DL_TYPE_PDF]).isRequired,user:n(d).shape({isLoggedIn:n(d).bool.isRequired,hasPreviouslyLoggedIn:n(d).bool.isRequired,isSubOk:n(d).bool.isRequired}),isShowLoginDropdown:n(d).bool.isRequired,planAmount:n(d).number.isRequired,onSetError:n(d).func.isRequired,onShowLoginPopup:n(d).func.isRequired,onShowLoginDropdown:n(d).func.isRequired,onHideLoginDropdown:n(d).func.isRequired,onUpdateLastDlType:n(d).func.isRequired});const La=e=>{let t=e.children,r=e.className;const o=(0,pe.default)((0,s.useState)(!1),2),i=o[0],a=o[1];return(0,s.useEffect)((()=>{a(!0)}),[]),(0,s.useEffect)((()=>()=>{a(!1)}),[]),n(s).createElement("div",{className:n(vi)("exportdropdown",r)},n(s).createElement("div",{className:n(vi)("exportdropdown--content",{show:i})},t))},Aa=e=>{let t=e.onShowLoginPopup,r=e.onShowSignupPopup,o=e.onHideLoginDropdown,i=e.planAmount;return n(s).createElement(La,{className:"logindropdown"},n(s).createElement("p",null,(0,Sn.tr)("Sign up for a free 7-day trial to unlock the editor and download your masterpiece.")),n(s).createElement("p",null,n(s).createElement(la,{className:"checkout",onClick:()=>{Ia("checkout"),r()}},(0,Sn.tr)("Start your free trial"))),n(s).createElement("p",{className:"small"},n(s).createElement(da,{cents:i,monthly:!0,simplify:!0}),"/mo ",`(${(0,Sn.tr)("billed annually")})`," ",n(s).createElement("span",{className:"nowrap"},(0,Sn.tr)("upon trial completion"),",")," ",n(s).createElement("span",{className:"nowrap"},(0,Sn.tr)("cancel anytime"))),n(s).createElement("p",{className:"small"},n(s).createElement("a",{className:"plainlink underline",href:Pe.PREMIUM_URL,target:"_blank",rel:"noopener noreferrer",onClick:()=>{Ia("learnMore")}},(0,Sn.tr)("Learn more")),n(s).createElement("a",{href:"#",className:"plainlink underline",onClick:e=>{e.preventDefault(),Ia("noThanks"),o()}},(0,Sn.tr)("No thanks continue editing")),n(s).createElement("a",{href:"#",className:"plainlink underline",onClick:t},(0,Sn.tr)("Sign in with existing account"))))},Na=e=>{let t=e.onClickDownloadImage,r=e.onClickDownloadPdf,o=e.lastDlType,i=e.format;const a=[{name:`${(0,Sn.tr)("Download image","actionDownloadImage")} (${i&&i.toUpperCase()})`,Icon:fa,onClick:t,dlType:Pe.DL_TYPE_IMAGE},{name:(0,Sn.tr)("Download PDF","actionDownloadPDF"),Icon:ga,onClick:r,dlType:Pe.DL_TYPE_PDF}],l=(0,pe.default)((0,s.useState)(o),2),u=l[0],c=l[1];return n(s).createElement(La,{className:"exportoptionsdropdown"},n(s).createElement("ul",null,a.map((e=>{let t=e.name,r=e.Icon,o=e.onClick,i=e.dlType;return n(s).createElement("li",{key:t,className:n(vi)({active:i===u}),onClick:(a=o,e=>(e.preventDefault(),e.stopPropagation(),a(e))),onMouseOver:()=>{c(i)}},n(s).createElement(r,{fitWidth:16,fitHeight:16})," ",t);var a}))))},Ia=e=>{u.default.event("loginDropdown",e)},Ha=(e,t,r)=>{const n=`${e.innerHTML}`;return`data:image/svg+xml;base64,${(0,Qi.btoaUTF8)(n)}`},Fa=(e,t)=>{Object.entries(t).forEach((t=>{let r=(0,pe.default)(t,2),n=r[0],o=r[1];e.style[n]=o}))},Ua=e=>e.slice(0).reverse();var Ba=Da;Pe=a("8DwkQ"),pe=a("ff4Ef");const za=(e,t,r,n)=>{let o=void 0===n?{}:n;const i=window.outerWidth,a=window.outerHeight,s=window.screenX,l=window.screenY;let u=(r=Object.assign({},r)).width,c=r.height,d=r.left,p=r.top;const f=o.center,h=o.focus;u=u||window.outerWidth,c=c||window.outerHeight,Object.assign(r,{width:u,height:c}),f&&(d=s+(i-u)/2,d<0&&(d=100),p=l+(a-c)/2,p<0&&(p=100),Object.assign(r,{left:d,top:p}));const g=Object.entries(r).map((e=>{let t=(0,pe.default)(e,2),r=t[0],n=t[1];return`${r}=${"boolean"==typeof n?n?"yes":"no":n}`})).join(","),m=window.open(e,t||"_blank",g);return h&&m.focus(),m},Wa=()=>Va(Pe.IFRAME_LOGIN_URL),qa=()=>Va(Pe.IFRAME_SIGNUP_URL),Va=e=>{za(e,"fpsc_login",{width:540,height:770,menubar:!1,toolbar:!1,location:!0,status:!1,scrollbars:!0},{center:!0,focus:!0})};var Ya=le((e=>({base:e.base.img?e.base:null,format:e.capture&&e.capture.format||"png",border:Hi(e),browserTemplate:Wi(e),cropBox:Ui(e),layers:Di(e),links:e.capture.links||null,pastCount:e.undos.past.length,lastDlType:e.capture.lastDlType,user:Gi(e),isShowLoginDropdown:e.editor.showLoginDropdown||!1,planAmount:e.capture.planAmount})),(e=>({onSetError:t=>e(_n(t)),onShowLoginDropdown:()=>e({type:pr,payload:{showLoginDropdown:!0}}),onHideLoginDropdown:()=>e({type:fr,payload:{showLoginDropdown:!1}}),onShowLoginPopup:()=>Wa(),onShowSignupPopup:()=>qa(),onUpdateLastDlType:t=>e(Fe(t))})))(Ba),$a=(yi=a("erNYL"),u=a("ceb36"),ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),pe=a("ff4Ef"),Be=a("4fNEN"),d=a("3pr9z"),s=a("7b0kr"),yi=a("erNYL"),je=a("fueUa"),a("iCPfM")),Ga=(Mi=a("3cJ8u"),ce=a("iPbYd"),Be=a("4fNEN"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),a("nKr4g"));Sn=a("5Xemj"),je=a("fueUa");const Ka=[],Xa=(e,t,r)=>{let n=Ka.find((t=>t.elt===e));if(n||(n={elt:e,evts:{}},Ka.push(n)),!n.evts[t]){const r=[],o=Ja(r);n.evts[t]={handler:o,fns:r},e.addEventListener(t,o,!1)}n.evts[t].fns.push(r)},Za=(e,t,r)=>{let n=0,o=Ka.find(((t,r)=>(n=r,t.elt===e)));if(o&&o.evts[t]){let i=o.evts[t].fns,a=0;i.find(((e,t)=>(a=t,r===e)))&&i.splice(a,1),i.length||(e.removeEventListener(t,o.evts[t].handler),delete o.evts[t],0===Object.keys(o.evts).length&&Ka.splice(n,1))}},Ja=e=>t=>{e.forEach((e=>{e.call(t.target,t)}))};Me=a("fAoww"),Bn=a("5Gpcw");const Qa=e=>{let t=e.cmd,r=e.ctrl,n=e.alt,o=e.shift,i=e.char;const a=(0,Bn.getIsMac)(),s=[];return t&&s.push(a?"⌘":"⌃"),r&&s.push("⌃"),n&&s.push("⌥"),o&&s.push("⇧"),s.push(i),s.join("")},es=e=>(0,Bn.getIsMac)()?e.metaKey:e.ctrlKey,ts=e=>"which"in e?3===e.which:"button"in e&&2===e.button,rs=e=>(null!==ns&&!0!==e||(ns=os()),ns);let ns=null;const os=()=>{let e=document.createElement("div");Object.assign(e.style,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px",left:"-9999px"}),document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth,r=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),{width:t,height:r}},is=(e,t)=>{t=t||e.currentTarget;const r=ss(e,t),n=r.targetX,o=r.targetY;return as(t,n,o)},as=(e,t,r)=>{const n=e.clientWidth,o=e.clientHeight;return t>=n||r>=o},ss=(e,t)=>{t=t||e.currentTarget;let r=ls(t),n=r.left,o=r.top;return{targetX:e.pageX-n,targetY:e.pageY-o}},ls=e=>{let t=0,r=0;for(;e;)t+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{left:t,top:r}},us=je.LAYOUT_ROWS,cs={[je.LAYOUT_ROWS]:{className:"layout-rows"},[je.LAYOUT_GRID]:{className:"layout-grid"}};let ds=0;n(Be).ok(Object.keys(cs).length===je.LAYOUTS.length,"Missing a known layout");class ps extends s.PureComponent{componentDidMount(){this._isMounted=!0,Xa(window,je.EVT_DROPDOWN_CLEAR,this._clearHover)}componentWillUnmount(){this._isMounted=!1,Za(window,je.EVT_DROPDOWN_CLEAR,this._clearHover)}_makeRowsUl(e,t,r){const o=this.props,i=o.rowClassFn,a=o.renderRow,l=o.layout,u=this.state.searchText,c=e.rows,d=e.key,p=e.className,f=e.layout,h=e.isSearch,g=e.didSearch,m=c.length,v=c.map(((e,r)=>n(s).createElement("li",{key:e.key||e.id||r,className:n(vi)(!0===e.noInsert?"no-insert":null,i?i(e):"",e.className,{"is-link":e.isLink}),title:e.title||"",onMouseDown:n=>this.handleMouseDown(n,e,t,r),onMouseOver:t=>{if(t.preventDefault(),this.props.onSetSubCfg)if(e.subCfg){const r=t.currentTarget,n=Ga.$.offsets(r),o=Ga.$.offsets(this.wrapperRef.current),i={x:n.left-o.left,y:n.top-o.top,width:r.offsetWidth,height:r.offsetHeight};this.props.onSetSubCfg({subCfg:e.subCfg,offsets:i})}else this.props.onSetSubCfg({subCfg:null})}},a(e,t,r)))),y=cs[f||l];r.add(`has-${y.className}`);const b=n(vi)(y.className,p);let x=0===m?null:n(s).createElement("ul",{key:d||t,className:b},v);return h&&(x=n(s).createElement("div",{key:d||t,className:"dropdown--search--wrap"},n(s).createElement("div",{className:"dropdown--search"},n(s).createElement("input",{ref:this.searchInputRef,type:"text",className:"dropdown--search--text",placeholder:(0,Sn.tr)("search…"),value:u,onChange:this.handleSearchChange,onKeyDown:this.stopProp,onKeyUp:this.handleSearchKeyUp}),u&&n(s).createElement(wi,{onClick:this.handleClearSearch,fill:"#333"})),x,g&&0===m&&n(s).createElement("div",{className:"dropdown--search--msg"},"No matches found"))),x}render(){const e=this.props,t=e.title,r=e.alignRight,o=e.icon,i=e.search,a=e.offsets,l=e.hideHeader,u=e.children;let c=this.props.sections;const d=this.state,p=d.showCount,f=d.searchText;let h=l||this.state.hovering;if(p{let r=t.rows.slice(0,e);return e-=r.length,Object.assign({},t,{rows:r})})).filter((e=>e.rows.length>0))}const g=new Set;i&&(c=[i.fn(f.toLowerCase().trim())].concat(c));const m=c.map(((e,t)=>{const r=e.heading,o=e.key,i=this._makeRowsUl(e,t,g);return r?n(s).createElement("div",{key:o||t,className:"dropdown--heading--wrap"},n(s).createElement("div",{className:"dropdown--heading"},r),i):i})),v=n(vi)("dropdown--rows",{hover:h},Array.from(g));let y;this.props.width&&(y={width:`${this.props.width+rs().width}px`});const b=n(vi)("dropdown",this.props.className,{"align-right":r,"is-hovering":h}),x=a?{position:"absolute",left:`${a.x+a.width+1}px`,top:a.y-3+"px"}:void 0;return n(s).createElement("div",{className:b,onMouseOver:this.handleMouseOver,onMouseLeave:this.handleMouseLeave,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),style:x,ref:this.wrapperRef},!l&&n(s).createElement("span",{className:"dropdown--title header--text selectable"},t,o),n(s).createElement("div",{ref:this.listRef,style:y,className:v,onScroll:this.handleScroll},m),h&&u)}constructor(e){super(e),(0,ce.default)(this,"handleScroll",(e=>{const t=e.currentTarget,r=this._totalRows();this.state.showCount=t.scrollHeight&&this.setState(((e,t)=>({showCount:e.showCount+t.showCountIncr})))})),(0,ce.default)(this,"handleMouseOver",(e=>{this._clearHoverDebounced.clear(),(0,Me.default)(window,je.EVT_DROPDOWN_CLEAR,{index:this.dropdownIndex,depth:this.props.depth}),this.setState({hovering:!0}),this.props.onMouseOver&&this.props.onMouseOver(e)})),(0,ce.default)(this,"handleMouseLeave",(e=>{this._clearHoverDebounced()})),(0,ce.default)(this,"handleMouseDown",((e,t,r,n)=>{!!e.target.closest("a")||(e.preventDefault(),e.stopPropagation(),t.noInsert||(this.setState({hovering:!1}),this.props.onSelectRow(t,r,n)))})),(0,ce.default)(this,"handleSearchChange",(e=>{e.stopPropagation(),this.setState({searchText:e.target.value})})),(0,ce.default)(this,"handleSearchKeyUp",(e=>{e.stopPropagation(),27===e.keyCode&&this._clearHover()})),(0,ce.default)(this,"handleClearSearch",(e=>{this.setState({searchText:""}),this.searchInputRef.current&&this.searchInputRef.current.focus()})),(0,ce.default)(this,"stopProp",(e=>{e.stopPropagation()})),(0,ce.default)(this,"_totalRows",(()=>this.props.sections.reduce(((e,t)=>e+t.rows.length),0))),this.dropdownIndex=++ds,this.state={hovering:!1,showCount:e.showCountIncr,searchText:""},this._clearHover=e=>{if(!this._isMounted)return;const t=e&&e.detail||{},r=t.depth||-1,n=t.index||-1;this.dropdownIndex!==n&&this.props.depth>=r&&(this.setState({hovering:!1}),this.props.onClear&&this.props.onClear())},this._clearHoverDebounced=(0,we.debounce)(this._clearHover,400),this.wrapperRef=n(s).createRef(),this.listRef=n(s).createRef(),this.searchInputRef=n(s).createRef()}}(0,ce.default)(ps,"propTypes",{className:n(d).string,showCountIncr:n(d).number.isRequired,title:n(d).any.isRequired,sections:n(d).arrayOf(n(d).shape({heading:n(d).string,rows:n(d).array.isRequired,layout:n(d).oneOf(je.LAYOUTS)})).isRequired,search:n(d).shape({fn:n(d).func.isRequired}),layout:n(d).oneOf(je.LAYOUTS),width:n(d).number,rowClassFn:n(d).func,renderRow:n(d).func.isRequired,onSelectRow:n(d).func.isRequired,onSetSubCfg:n(d).func,onMouseOver:n(d).func,alignRight:n(d).bool.isRequired,icon:n(d).node,offsets:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),depth:n(d).number,hideHeader:n(d).bool,onClear:n(d).func}),(0,ce.default)(ps,"defaultProps",{showCountIncr:160,alignRight:!1,layout:us,depth:0});var fs=ps;const hs={x:0,y:0,width:0,heigt:0};class gs extends s.PureComponent{componentDidMount(){this._mounted=!0;"shapes"===this.props.cfg.key&&(this._attachedHandler=!0,yi.on(je.EVT_INSERT_SHAPE,this._onInsertShape))}componentWillUnmount(){this._mounted=!1,this._attachedHandler&&yi.off(je.EVT_INSERT_SHAPE,this._onInsertShape)}render(){const e=this.props.cfg,t=e.title,r=e.search,o=e.sections,i=e.width,a=this.props,l=a.offsets,u=a.depth,c=this.state,d=c.subCfg,p=c.subCfgEltOffsets;return n(s).createElement(fs,{className:"insertwidget",title:t,search:r,sections:o,width:i,offsets:l,hideHeader:Boolean(l),renderRow:this.renderRow,onSelectRow:this.handleSelectRow,onSetSubCfg:this.handleSetSubCfg,onClear:this.handleClear,depth:u},d&&p&&n(s).createElement(gs,(0,Ue.default)((0,de.default)({},this.props),{cfg:d,offsets:p,depth:u+1})))}constructor(e){super(e),(0,ce.default)(this,"_onInsertShape",(e=>{let t=e.type;var r=!0,n=!1,o=void 0;try{for(var i,a=this.props.cfg.sections[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){let e=i.value;var s=!0,l=!1,u=void 0;try{for(var c,d=e.rows[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){let e=c.value;if(e.shape.type===t){this.handleSelectRow(e);break}}}catch(e){l=!0,u=e}finally{try{s||null==d.return||d.return()}finally{if(l)throw u}}}}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}})),(0,ce.default)(this,"handleSelectRow",(e=>{let t=e.shape,r=e.groups;if(e.noInsert)return;let o=(0,$a.generateLayerId)();const i=this.props.shapeDefaults;i[t.type]&&(r=r?zo(r):{},Object.entries(i[t.type]).forEach((e=>{let t=(0,pe.default)(e,2),n=t[0],o=t[1];r[n]=Object.assign(r[n]||{},o)})));const a=this.props,s=a.browserTemplate,l=a.cropBox,u=a.zoom,c=(0,Mi.getCenterCoords)(s,l,u),d=c.centerX,p=c.centerY;c.width,c.height;let f,h,g=0,m=0;var v,y;t.type===Ao?(f=g+200,h=m+100):t.type===Po?(f=g+r.icon.width,h=m+r.icon.height,n(Be).number(f,"InsertWidget.handleClick.icon.x2"),n(Be).number(h,"InsertWidget.handleClick.icon.y2")):t.isSquare&&t.isBox?(f=g+100,h=m+100):t.isBox?(f=g+200,h=m+100):(f=g+150,h=m+0),g=(v=[d-Math.floor((g+f)/2),d+Math.ceil((g+f)/2)])[0],f=v[1],m=(y=[p-Math.floor((m+h)/2),p+Math.ceil((m+h)/2)])[0],h=y[1],n(Be).number(g,"x1"),n(Be).number(m,"y1"),n(Be).number(f,"x2"),n(Be).number(h,"y2");const b=t.addToBottom||!1;this.props.addLayer(o,t.type,g,m,f,h,r,b)})),(0,ce.default)(this,"handleSetSubCfg",(e=>{let t=e.subCfg,r=e.offsets;if(t&&r){const e=357,n=60;r.y+e>window.innerHeight&&(r.y=Math.max(n,window.innerHeight-e)),this.setState({subCfg:t,subCfgEltOffsets:r})}else this.setState({subCfg:null,subCfgEltOffsets:hs})})),(0,ce.default)(this,"handleClear",(()=>{this.setState({subCfg:null,subCfgEltOffsets:hs})})),(0,ce.default)(this,"renderRow",(e=>{let t=e.shape,r=(e.groups,e.text),o=(e.title,e.className,e.imgData);e.subCfg;return r=r||t.title,o?n(s).createElement("img",{src:o.src1x,srcSet:`${o.src2x} 2x`,width:o.width,height:o.height,alt:r}):t.Icon?n(s).createElement("div",{className:"layout-row--icon"},t.insertKey&&n(s).createElement("span",{className:"insert-shortcut"},t.insertKey),n(s).createElement(t.Icon,{className:"insert-icon"}),r):r})),this.state={subCfg:null,subCfgEltOffsets:hs}}}(0,ce.default)(gs,"defaultProps",{depth:0}),(0,ce.default)(gs,"propTypes",{cfg:n(d).shape({key:n(d).string.isRequired,title:n(d).string.isRequired,search:n(d).shape({fn:n(d).func.isRequired}),sections:n(d).arrayOf(n(d).shape({heading:n(d).string,rows:n(d).arrayOf(n(d).shape({title:n(d).string,shape:n(d).object.isRequired,groups:n(d).object,text:n(d).string,imgData:n(d).object})),layout:n(d).oneOf(je.LAYOUTS).isRequired,isSearch:n(d).bool})).isRequired}).isRequired,zoom:n(d).number.isRequired,browserTemplate:n(d).object,cropBox:n(d).object,shapeDefaults:n(d).object,offsets:n(d).shape({x:n(d).number.isRequired,y:n(d).number.isRequired,width:n(d).number.isRequired,height:n(d).number.isRequired}),depth:n(d).number});var ms=gs;je=a("fueUa"),pe=a("ff4Ef"),s=a("7b0kr"),Sn=a("5Xemj"),de=a("jBCXK");function vs(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}function ys(e,t){if(null==e)return{};var r,n,o=vs(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}s=a("7b0kr");const bs=e=>{var t=e.fill,r=void 0===t?"#666":t,o=ys(e,["fill"]);return n(s).createElement("svg",(0,de.default)({width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),n(s).createElement("path",{d:"M8 4L1.27147e-07 7.99998L0 -3.49691e-07L8 4Z",fill:r}))};bs.displayName="MoreArrow";var xs=bs;s=a("7b0kr");const ws=e=>{let t=e.className;return n(s).createElement("div",{style:{width:"26px",height:"26px",display:"inline-block",fontSize:"16px",lineHeight:"24px",textAlign:"center"},className:t},"🙂")};ws.displayName="ShapeSticker";var Es,_s=ws;je=a("fueUa"),zn=a("fDLJ6");Es=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("l1JRo");var Ss;Ss=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("fRaJR");var Os;Os=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("liT8a");var ks;ks=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("eQGfm");var Cs={default:{width:25,height:25,densities:{"1x":n(Os),"2x":n(ks)}},pointer:{width:25,height:25,densities:{"1x":n(Es),"2x":n(Ss)}}};const Ts={key:"stickers",title:(0,Sn.tr)("Stickers"),width:256,sections:[{key:"icons",heading:(0,Sn.tr)("Elements"),rows:Object.entries(Cs).map((e=>{let t=(0,pe.default)(e,2),r=t[0],n=t[1],o={src1x:n.densities["1x"],src2x:n.densities["2x"],width:n.width,height:n.height};return{title:"",text:r,shape:Uo[Po],groups:{icon:o},imgData:o}})),layout:je.LAYOUT_GRID}]};if(zn.default.forEach((e=>{let t=e.group,r=e.emojis;Ts.sections.push({key:`emojis-${t}`,heading:t,rows:r.map((e=>{let t=e.text;return{title:e.name,text:t,shape:Uo[Ro],className:"emoji",groups:{text:{text:t}}}})),layout:je.LAYOUT_GRID})})),zn.default.length){let e=48;Ts.search={fn:t=>{let r=!1,n=[];return((t=t.startsWith("num")?"keycap":{smile:"smil","?":"question","!":"exclam",x:"cross"}[t]||t).length>=2||/^\d+$/.test(t))&&(r=!0,n=Ts.sections.reduce(((r,n)=>{let o=n.rows;return r.length>=e?r:r.concat(o.filter((e=>~e.title.indexOf(t))))}),[]),n.length>e&&(n=n.slice(0,e))),{heading:"",rows:n,layout:je.LAYOUT_GRID,isSearch:!0,didSearch:r}}}}const Rs={key:"shapes",title:(0,Sn.tr)("Shapes"),sections:[{key:"shapes",heading:"",rows:Object.entries(Uo).filter((e=>{let t=(0,pe.default)(e,2);t[0];return!t[1].hide})).map((e=>{let t=(0,pe.default)(e,2);t[0];return{shape:t[1]}})),layout:je.LAYOUT_ROWS},{key:"stickers",heading:"",rows:[{shape:{title:"Stickers…",Icon:_s,insertKey:n(s).createElement(xs,{className:"insert-arrow"})},subCfg:Ts,noInsert:!0}],layout:je.LAYOUT_ROWS}]};var Ps=[Rs].map((e=>le((t=>({cfg:e,zoom:t.editor.zoom||100,browserTemplate:Wi(t),cropBox:Ui(t),shapeDefaults:t.shapeDefaults})),(e=>({addLayer:(t,r,n,o,i,a,s,l)=>(u.default.event("editor_insert",r,"dropdown"),(0,yi.trigger)(je.EVT_ADD_LAYER,{id:t}),e(Yt(t,r,n,o,i,a,s,l)))})))(ms)));u=a("ceb36"),s=a("7b0kr"),Sn=a("5Xemj"),d=a("3pr9z");const js=e=>{let t={cursor:"pointer",userSelect:"none"};return n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"header--text selectable",style:t,onClick:t=>e.onUndo()},(0,Sn.tr)("Undo")," (",e.pastCount,")"),n(s).createElement("div",{className:"header--text selectable",style:t,onClick:t=>e.onRedo()},(0,Sn.tr)("Redo")," (",e.futureCount,")"))};js.propTypes={pastCount:n(d).number.isRequired,futureCount:n(d).number.isRequired,onUndo:n(d).func.isRequired,onRedo:n(d).func.isRequired};var Ms=js;var Ds=le((e=>({pastCount:e.undos.past.length,futureCount:e.undos.future.length})),(e=>({onUndo:()=>(u.default.event("editor_undo","undo"),e(Gr.ActionCreators.undo())),onRedo:()=>(u.default.event("editor_undo","redo"),e(Gr.ActionCreators.redo()))})))(Ms),Ls=(u=a("ceb36"),ce=a("iPbYd"),s=a("7b0kr"),d=a("3pr9z"),ce=a("iPbYd"),de=a("jBCXK"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),je=a("fueUa"),Me=a("fAoww"),ce=a("iPbYd"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),s=a("7b0kr"),{});Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.ReactCSS=Ls.loop=Ls.handleActive=Ls.handleHover=Ls.hover=void 0;var As={};Object.defineProperty(As,"__esModule",{value:!0}),As.flattenNames=void 0;var Ns,Is={};Ns=(Nu=a("gs5dt")).Symbol;var Hs={},Fs=Object.prototype,Us=Fs.hasOwnProperty,Bs=Fs.toString,zs=Ns?Ns.toStringTag:void 0;Hs=function(e){var t=Us.call(e,zs),r=e[zs];try{e[zs]=void 0;var n=!0}catch(e){}var o=Bs.call(e);return n&&(t?e[zs]=r:delete e[zs]),o};var Ws={},qs=Object.prototype.toString;Ws=function(e){return qs.call(e)};var Vs="[object Null]",Ys="[object Undefined]",$s=Ns?Ns.toStringTag:void 0;Is=function(e){return null==e?void 0===e?Ys:Vs:$s&&$s in Object(e)?Hs(e):Ws(e)};var Gs={},Ks=Array.isArray;Gs=Ks;var Xs={};Xs=function(e){return null!=e&&"object"==typeof e};var Zs="[object String]";var Js,Qs=sp((function(e){return"string"==typeof e||!Gs(e)&&Xs(e)&&Is(e)==Zs})),el={},tl={},rl={};rl=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}};var nl=rl();tl=nl;var ol={},il={},al={};al=function(e,t){for(var r=-1,n=Array(e);++r-1&&e%1==0&&e-1&&e%1==0&&e<=wl};var El={};El["[object Float32Array]"]=El["[object Float64Array]"]=El["[object Int8Array]"]=El["[object Int16Array]"]=El["[object Int32Array]"]=El["[object Uint8Array]"]=El["[object Uint8ClampedArray]"]=El["[object Uint16Array]"]=El["[object Uint32Array]"]=!0,El["[object Arguments]"]=El["[object Array]"]=El["[object ArrayBuffer]"]=El["[object Boolean]"]=El["[object DataView]"]=El["[object Date]"]=El["[object Error]"]=El["[object Function]"]=El["[object Map]"]=El["[object Number]"]=El["[object Object]"]=El["[object RegExp]"]=El["[object Set]"]=El["[object String]"]=El["[object WeakMap]"]=!1,yl=function(e){return Xs(e)&&xl(e.length)&&!!El[Is(e)]};var _l={};_l=function(e){return function(t){return e(t)}};var Sl=(Ef=a("4gNYe"))&&Ef.isTypedArray,Ol=Sl?_l(Sl):yl;bl=Ol;var kl=Object.prototype.hasOwnProperty;il=function(e,t){var r=Gs(e),n=!r&&sl(e),o=!r&&!n&&hl(e),i=!r&&!n&&!o&&bl(e),a=r||n||o||i,s=a?al(e.length,String):[],l=s.length;for(var u in e)!t&&!kl.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||gl(u,l))||s.push(u);return s};var Cl={},Tl={},Rl=Object.prototype;Tl=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Rl)};var Pl={},jl={};jl=function(e,t){return function(r){return e(t(r))}};var Ml=jl(Object.keys,Object);Pl=Ml;var Dl=Object.prototype.hasOwnProperty;Cl=function(e){if(!Tl(e))return Pl(e);var t=[];for(var r in Object(e))Dl.call(e,r)&&"constructor"!=r&&t.push(r);return t};var Ll={},Al={},Nl={};Nl=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Il="[object AsyncFunction]",Hl="[object Function]",Fl="[object GeneratorFunction]",Ul="[object Proxy]";Al=function(e){if(!Nl(e))return!1;var t=Is(e);return t==Hl||t==Fl||t==Il||t==Ul},Ll=function(e){return null!=e&&xl(e.length)&&!Al(e)},ol=function(e){return Ll(e)?il(e):Cl(e)},el=function(e,t){return e&&tl(e,t,ol)};var Bl={},zl={};zl=function(e){return e},Bl=function(e){return"function"==typeof e?e:zl};var Wl=sp(Js=function(e,t){return e&&el(e,Bl(t))}),ql={},Vl=jl(Object.getPrototypeOf,Object);ql=Vl;var Yl="[object Object]",$l=Function.prototype,Gl=Object.prototype,Kl=$l.toString,Xl=Gl.hasOwnProperty,Zl=Kl.call(Object);var Jl=sp((function(e){if(!Xs(e)||Is(e)!=Yl)return!1;var t=ql(e);if(null===t)return!0;var r=Xl.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Kl.call(r)==Zl})),Ql={};Ql=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r-1};var pu;function fu(e){var t=-1,r=null==e?0:e.length;for(this.clear();++ts))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&bc?new pc:void 0;for(i.set(e,t),i.set(t,e);++d0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,ap.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,Jl.default)(t)?(0,Wl.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,Qs.default)(t)&&r.push(t)})),r};As.default=lp;var up=sh(As),cp={};Object.defineProperty(cp,"__esModule",{value:!0}),cp.mergeClasses=void 0;var dp=If(Js),pp={},fp={};fp=function(e,t){for(var r=-1,n=null==e?0:e.length;++r1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,Af.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,dp.default)(n,(function(e,t){r[t]||(r[t]={}),r[t]=Nf({},r[t],n[t])})),t})),r};cp.default=Hf;var Ff=sh(cp),Uf={};Object.defineProperty(Uf,"__esModule",{value:!0}),Uf.autoprefix=void 0;var Bf,zf=(Bf=Js)&&Bf.__esModule?Bf:{default:Bf},Wf=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var a=arguments.length,s=Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var a=arguments.length,s=Array(a),l=0;l1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r};var ah=sh(ih);function sh(e){return e&&e.__esModule?e:{default:e}}Ls.hover=Jf.default,Ls.handleHover=Jf.default,Ls.handleActive=oh.default,Ls.loop=ah.default;var lh=Ls.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;na?1:Math.round(100*c/a)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var p=void 0;if(n!==(p=u<0?0:u>i?1:Math.round(100*u/i)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},mh(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),gh(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=n(Ls)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:hh({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return n(s).createElement("div",{style:r.alpha},n(s).createElement("div",{style:r.checkboard},n(s).createElement(fh,{renderers:this.props.renderers})),n(s).createElement("div",{style:r.gradient}),n(s).createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n(s).createElement("div",{style:r.pointer},this.props.pointer?n(s).createElement(this.props.pointer,this.props):n(s).createElement("div",{style:r.slider}))))}}]),t}(s.PureComponent||s.Component),yh=vh,bh=(s=a("7b0kr"),function(){function e(e,t){for(var r=0;r-1)){var o=r.getArrowOffset(),i=38===e.keyCode?n+o:n-o;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+wh++,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),bh(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=n(Ls)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return n(s).createElement("div",{style:t.wrap},n(s).createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?n(s).createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(s.PureComponent||s.Component),_h=Eh,Sh=(s=a("7b0kr"),function(){function e(e,t){for(var r=0;ri?0:360*(-100*u/i+100)/100,r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var d=void 0;if(d=l<0?0:l>o?359:100*l/o*360/100,r.h!==d)return{h:d,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null}(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},Oh(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Sh(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,o=n(Ls)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return n(s).createElement("div",{style:o.hue},n(s).createElement("div",{className:"hue-"+r,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n(s).createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),n(s).createElement("div",{style:o.pointer},this.props.pointer?n(s).createElement(this.props.pointer,this.props):n(s).createElement("div",{style:o.slider}))))}}]),t}(s.PureComponent||s.Component),Ch=kh;s=a("7b0kr"),d=a("3pr9z");var Th=function(){this.__data__=[],this.size=0};var Rh=function(e,t){return e===t||e!=e&&t!=t};var Ph=function(e,t){for(var r=e.length;r--;)if(Rh(e[r][0],t))return r;return-1},jh=Array.prototype.splice;var Mh=function(e){var t=this.__data__,r=Ph(t,e);return!(r<0)&&(r==t.length-1?t.pop():jh.call(t,r,1),--this.size,!0)};var Dh=function(e){var t=this.__data__,r=Ph(t,e);return r<0?void 0:t[r][1]};var Lh=function(e){return Ph(this.__data__,e)>-1};var Ah=function(e,t){var r=this.__data__,n=Ph(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Nh(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=bm};var wm=function(e){return null!=e&&xm(e.length)&&!ig(e)};var Em=function(e){return dm(e)&&wm(e)},_m=a("enva8"),Sm="[object Object]",Om=Function.prototype,km=Object.prototype,Cm=Om.toString,Tm=km.hasOwnProperty,Rm=Cm.call(Object);var Pm=function(e){if(!dm(e)||Qh(e)!=Sm)return!1;var t=sm(e);if(null===t)return!0;var r=Tm.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Cm.call(r)==Rm},jm={};jm["[object Float32Array]"]=jm["[object Float64Array]"]=jm["[object Int8Array]"]=jm["[object Int16Array]"]=jm["[object Int32Array]"]=jm["[object Uint8Array]"]=jm["[object Uint8ClampedArray]"]=jm["[object Uint16Array]"]=jm["[object Uint32Array]"]=!0,jm["[object Arguments]"]=jm["[object Array]"]=jm["[object ArrayBuffer]"]=jm["[object Boolean]"]=jm["[object DataView]"]=jm["[object Date]"]=jm["[object Error]"]=jm["[object Function]"]=jm["[object Map]"]=jm["[object Number]"]=jm["[object Object]"]=jm["[object RegExp]"]=jm["[object Set]"]=jm["[object String]"]=jm["[object WeakMap]"]=!1;var Mm=function(e){return dm(e)&&xm(e.length)&&!!jm[Qh(e)]};var Dm,Lm=a("iUcuf"),Am=Lm.default&&Lm.default.isTypedArray,Nm=Am?(Dm=Am,function(e){return Dm(e)}):Mm;var Im=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Hm=Object.prototype.hasOwnProperty;var Fm=function(e,t,r){var n=e[t];Hm.call(e,t)&&Rh(n,r)&&(void 0!==r||t in e)||Kg(e,t,r)};var Um=function(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i-1&&e%1==0&&e0){if(++t>=sv)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},dv=cv(av);var pv=function(e,t){return dv(nv(e,t,ev),e+"")};var fv=function(e,t,r){if(!eg(r))return!1;var n=typeof t;return!!("number"==n?wm(r)&&qm(t,r.length):"string"==n&&t in r)&&Rh(r[t],e)};var hv,gv=(hv=function(e,t,r){Qm(e,t,r)},pv((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=hv.length>3&&"function"==typeof o?(n--,o):void 0,i&&fv(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r=t||r<0||d&&e-u>=i}function g(){var e=yv();if(h(e))return m(e);s=setTimeout(g,function(e){var r=t-(e-l);return d?Dv(r,i-(e-u)):r}(e))}function m(e){return s=void 0,p&&n?f(e):(n=o=void 0,a)}function v(){var e=yv(),r=h(e);if(n=arguments,o=this,l=e,r){if(void 0===s)return function(e){return u=e,s=setTimeout(g,t),c?f(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(g,t),f(l)}return void 0===s&&(s=setTimeout(g,t)),a}return t=Pv(t)||0,eg(r)&&(c=!!r.leading,i=(d="maxWait"in r)?Mv(Pv(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),v.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=o=s=void 0},v.flush=function(){return void 0===s?a:m(yv())},v},Av="Expected a function";var Nv=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError(Av);return eg(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Lv(e,t,{leading:n,maxWait:t,trailing:o})},Iv=function(){function e(e,t){for(var r=0;ro&&(l=o),u<0?u=0:u>i&&(u=i);var c=l/o,d=1-u/i;return{h:t.h,s:c,v:d,a:t.a,source:"hsv"}}(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=Nv((function(e,t,r){e(t,r)}),50),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Iv(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,o=t.white,i=t.black,a=t.pointer,l=t.circle,u=n(Ls)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:o,black:i,pointer:a,circle:l}},{custom:!!this.props.style});return n(s).createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n(s).createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),n(s).createElement("div",{style:u.white,className:"saturation-white"},n(s).createElement("div",{style:u.black,className:"saturation-black"}),n(s).createElement("div",{style:u.pointer},this.props.pointer?n(s).createElement(this.props.pointer,this.props):n(s).createElement("div",{style:u.circle}))))}}]),t}(s.PureComponent||s.Component),Fv=Hv;s=a("7b0kr");var Uv=function(e,t){for(var r=-1,n=null==e?0:e.length;++r1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=R(e,360),t=R(t,100),r=R(r,100),0===t)n=o=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(n.h,l,c),d=!0,p="hsl"),n.hasOwnProperty("a")&&(s=n.a));var f,h,g;return s=T(s),{ok:d,format:n.format||p,r:i(255,a(o.r,0)),g:i(255,a(o.g,0)),b:i(255,a(o.b,0)),a:s}}(s);this._originalInput=s,this._r=c.r,this._g=c.g,this._b=c.b,this._a=c.a,this._roundA=o(100*this._a)/100,this._format=u.format||c.format,this._gradientType=u.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=c.ok,this._tc_id=n++}function u(e,t,r){e=R(e,255),t=R(t,255),r=R(r,255);var n,o,s=a(e,t,r),l=i(e,t,r),u=(s+l)/2;if(s==l)n=o=0;else{var c=s-l;switch(o=u>.5?c/(2-s-l):c/(s+l),s){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(l(n));return i}function O(e,t){t=t||6;for(var r=l(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(l({h:n,s:o,v:i})),i=(i+s)%1;return a}l.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var t,r,n,o=this.toRgb();return t=o.r/255,r=o.g/255,n=o.b/255,.2126*(t<=.03928?t/12.92:e.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:e.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=o(360*e.h),r=o(100*e.s),n=o(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=o(360*e.h),r=o(100*e.s),n=o(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,i){var a=[M(o(e).toString(16)),M(o(t).toString(16)),M(o(r).toString(16)),M(L(n))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*R(this._r,255))+"%",g:o(100*R(this._g,255))+"%",b:o(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*R(this._r,255))+"%, "+o(100*R(this._g,255))+"%, "+o(100*R(this._b,255))+"%)":"rgba("+o(100*R(this._r,255))+"%, "+o(100*R(this._g,255))+"%, "+o(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(C[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=l(e);r="#"+p(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return l(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},l.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return l(e,t)},l.equals=function(e,t){return!(!e||!t)&&l(e).toRgbString()==l(t).toRgbString()},l.random=function(){return l.fromRatio({r:s(),g:s(),b:s()})},l.mix=function(e,t,r){r=0===r?0:r||50;var n=l(e).toRgb(),o=l(t).toRgb(),i=r/100;return l({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},l.readability=function(t,r){var n=l(t),o=l(r);return(e.max(n.getLuminance(),o.getLuminance())+.05)/(e.min(n.getLuminance(),o.getLuminance())+.05)},l.isReadable=function(e,t,r){var n,o,i=l.readability(e,t);switch(o=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},l.mostReadable=function(e,t,r){var n,o,i,a,s=null,u=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var c=0;cu&&(u=n,s=l(t[c]));return l.isReadable(e,s,{level:i,size:a})||!o?s:(r.includeFallbackColors=!1,l.mostReadable(e,["#fff","#000"],r))};var k=l.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},C=l.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(k);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function R(t,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(t)&&(t="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(t);return t=i(r,a(0,parseFloat(t))),n&&(t=parseInt(t*r,10)/100),e.abs(t-r)<1e-6?1:t%r/parseFloat(r)}function P(e){return i(1,a(0,e))}function j(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function L(t){return e.round(255*parseFloat(t)).toString(16)}function A(e){return j(e)/255}var N,I,H,F=(I="[\\s|\\(]+("+(N="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",H="[\\s|\\(]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",{CSS_UNIT:new RegExp(N),rgb:new RegExp("rgb"+I),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+I),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+I),hsva:new RegExp("hsva"+H),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!F.CSS_UNIT.exec(e)}Gv?Gv=l:"function"==typeof define&&define.amd?define((function(){return l})):window.tinycolor=l}(Math);var Kv=function(e){var t,r,n=0,o=0;return r=function(t){e[t]&&(n+=1,isNaN(e[t])||(o+=1),"s"===t||"l"===t)&&/^\d+%$/.test(e[t])&&(o+=1)},(ym(t=["r","g","b","a","h","s","l","v"])?Uv:Yv)(t,$v(r)),n===o&&e},Xv=function(e,t){var r=e.hex?n(Gv)(e.hex):n(Gv)(e),o=r.toHsl(),i=r.toHsv(),a=r.toRgb(),s=r.toHex();return 0===o.s&&(o.h=t||0,i.h=t||0),{hsl:o,hex:"000000"===s&&0===a.a?"transparent":"#"+s,rgb:a,hsv:i,oldHue:e.h||t||o.h,source:e.source}},Zv=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&n(Gv)(e).isValid()},Jv=function(e){if(!e)return"#fff";var t=Xv(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},Qv=function(e,t){var r=e.replace("°","");return n(Gv)(t+" ("+r+")")._ok},ey=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var n=arguments.length,i=Array(n),a=0;as))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&xy?new my:void 0;for(i.set(e,t),i.set(t,e);++d=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return Mx.default.createElement("svg",jx({viewBox:"0 0 24 24",style:jx({fill:r,width:o,height:a},l)},u),Mx.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))};var Dx=function(){function e(e,t){for(var r=0;r1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(Rx(e.s)?r.props.hsl.s:e.s),l:Number(Rx(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Dx(t,[{key:"render",value:function(){var e=this,t=n(Ls)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n(s).createElement("div",{style:t.fields,className:"flexbox-fix"},n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n(s).createElement("div",{style:t.fields,className:"flexbox-fix"},n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n(s).createElement("div",{style:t.alpha},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n(s).createElement("div",{style:t.fields,className:"flexbox-fix"},n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n(s).createElement("div",{style:t.field},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n(s).createElement("div",{style:t.alpha},n(s).createElement(_h,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n(s).createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n(s).createElement("div",{style:t.toggle},n(s).createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n(s).createElement(n(Px),{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(n(s).Component);Lx.defaultProps={view:"hex"};var Ax=Lx,Nx=(s=a("7b0kr"),function(){var e=n(Ls)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n(s).createElement("div",{style:e.picker})}),Ix=(s=a("7b0kr"),function(){var e=n(Ls)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n(s).createElement("div",{style:e.picker})}),Hx=function(e){var t=e.width,r=e.onChange,o=e.disableAlpha,i=e.rgb,a=e.hsl,l=e.hsv,u=e.hex,c=e.renderers,d=e.styles,p=void 0===d?{}:d,f=e.className,h=void 0===f?"":f,g=e.defaultView,m=n(Ls)(gv({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:o});return n(s).createElement("div",{style:m.picker,className:"chrome-picker "+h},n(s).createElement("div",{style:m.saturation},n(s).createElement(Fv,{style:m.Saturation,hsl:a,hsv:l,pointer:Ix,onChange:r})),n(s).createElement("div",{style:m.body},n(s).createElement("div",{style:m.controls,className:"flexbox-fix"},n(s).createElement("div",{style:m.color},n(s).createElement("div",{style:m.swatch},n(s).createElement("div",{style:m.active}),n(s).createElement(fh,{renderers:c}))),n(s).createElement("div",{style:m.toggles},n(s).createElement("div",{style:m.hue},n(s).createElement(Ch,{style:m.Hue,hsl:a,pointer:Nx,onChange:r})),n(s).createElement("div",{style:m.alpha},n(s).createElement(yh,{style:m.Alpha,rgb:i,hsl:a,pointer:Nx,renderers:c,onChange:r})))),n(s).createElement(Ax,{rgb:i,hsl:a,hex:u,view:g,onChange:r,disableAlpha:o})))};Hx.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),disableAlpha:n(d).bool,styles:n(d).object,defaultView:n(d).oneOf(["hex","rgb","hsl"])},Hx.defaultProps={width:225,disableAlpha:!1,styles:{}};ry(Hx),s=a("7b0kr"),d=a("3pr9z"),s=a("7b0kr");var Fx=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.active,l=n(Ls)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Jv(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n(s).createElement(sy,{style:l.color,color:t,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n(s).createElement("div",{style:l.dot}))},Ux=(s=a("7b0kr"),function(e){var t=e.hex,r=e.rgb,o=e.onChange,i=n(Ls)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?o({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return n(s).createElement("div",{style:i.fields,className:"flexbox-fix"},n(s).createElement("div",{style:i.active}),n(s).createElement(_h,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:a}),n(s).createElement(_h,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:a}),n(s).createElement(_h,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:a}),n(s).createElement(_h,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:a}))}),Bx=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.colors,i=e.hex,a=e.rgb,l=e.styles,u=void 0===l?{}:l,c=e.className,d=void 0===c?"":c,p=n(Ls)(gv({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),f=function(e,r){e.hex?Zv(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n(s).createElement(vv,{style:p.Compact,styles:u},n(s).createElement("div",{style:p.compact,className:"compact-picker "+d},n(s).createElement("div",null,ix(o,(function(e){return n(s).createElement(Fx,{key:e,color:e,active:e.toLowerCase()===i,onClick:f,onSwatchHover:r})})),n(s).createElement("div",{style:p.clear})),n(s).createElement(Ux,{hex:i,rgb:a,onChange:f})))};Bx.propTypes={colors:n(d).arrayOf(n(d).string),styles:n(d).object},Bx.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};ry(Bx),s=a("7b0kr"),d=a("3pr9z"),s=a("7b0kr");var zx=(0,Ls.handleHover)((function(e){var t=e.hover,r=e.color,o=e.onClick,i=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=n(Ls)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return n(s).createElement("div",{style:l.swatch},n(s).createElement(sy,{color:r,onClick:o,onHover:i,focusStyle:a}))})),Wx=function(e){var t=e.width,r=e.colors,o=e.onChange,i=e.onSwatchHover,a=e.triangle,l=e.styles,u=void 0===l?{}:l,c=e.className,d=void 0===c?"":c,p=n(Ls)(gv({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-left-triangle":"bottom-left"===a,"bottom-right-triangle":"bottom-right"===a}),f=function(e,t){return o({hex:e,source:"hex"},t)};return n(s).createElement("div",{style:p.card,className:"github-picker "+d},n(s).createElement("div",{style:p.triangleShadow}),n(s).createElement("div",{style:p.triangle}),ix(r,(function(e){return n(s).createElement(zx,{color:e,key:e,onClick:f,onSwatchHover:i})})))};Wx.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),colors:n(d).arrayOf(n(d).string),triangle:n(d).oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:n(d).object},Wx.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};ry(Wx),s=a("7b0kr"),d=a("3pr9z"),s=a("7b0kr");var qx=function(e){var t=e.direction,r=n(Ls)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n(s).createElement("div",{style:r.picker})},Vx=Object.assign||function(e){for(var t=1;t.5});return n(s).createElement("div",{style:r.picker})}),Kx=(s=a("7b0kr"),function(){var e=n(Ls)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n(s).createElement("div",{style:e.pointer},n(s).createElement("div",{style:e.left},n(s).createElement("div",{style:e.leftInside})),n(s).createElement("div",{style:e.right},n(s).createElement("div",{style:e.rightInside})))}),Xx=(s=a("7b0kr"),function(e){var t=e.onClick,r=e.label,o=e.children,i=e.active,a=n(Ls)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n(s).createElement("div",{style:a.button,onClick:t},r||o)}),Zx=(s=a("7b0kr"),function(e){var t=e.rgb,r=e.currentColor,o=n(Ls)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n(s).createElement("div",null,n(s).createElement("div",{style:o.label},"new"),n(s).createElement("div",{style:o.swatches},n(s).createElement("div",{style:o.new}),n(s).createElement("div",{style:o.current})),n(s).createElement("div",{style:o.label},"current"))}),Jx=function(){function e(e,t){for(var r=0;r100&&(e.a=100),e.a/=100,t({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},n))};return n(s).createElement("div",{style:l.fields,className:"flexbox-fix"},n(s).createElement("div",{style:l.double},n(s).createElement(_h,{style:{input:l.input,label:l.label},label:"hex",value:i.replace("#",""),onChange:u})),n(s).createElement("div",{style:l.single},n(s).createElement(_h,{style:{input:l.input,label:l.label},label:"r",value:r.r,onChange:u,dragLabel:"true",dragMax:"255"})),n(s).createElement("div",{style:l.single},n(s).createElement(_h,{style:{input:l.input,label:l.label},label:"g",value:r.g,onChange:u,dragLabel:"true",dragMax:"255"})),n(s).createElement("div",{style:l.single},n(s).createElement(_h,{style:{input:l.input,label:l.label},label:"b",value:r.b,onChange:u,dragLabel:"true",dragMax:"255"})),n(s).createElement("div",{style:l.alpha},n(s).createElement(_h,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*r.a),onChange:u,dragLabel:"true",dragMax:"100"})))},tw=(s=a("7b0kr"),d=a("3pr9z"),Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return fw.default.createElement("svg",pw({viewBox:"0 0 24 24",style:pw({fill:r,width:o,height:a},l)},u),fw.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))};var hw=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.first,l=e.last,u=e.active,c=n(Ls)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Jv(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:l,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n(s).createElement(sy,{color:t,style:c.color,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n(s).createElement("div",{style:c.check},n(s).createElement(n(dw),null)))},gw=function(e){var t=e.onClick,r=e.onSwatchHover,o=e.group,i=e.active,a=n(Ls)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n(s).createElement("div",{style:a.group},ix(o,(function(e,a){return n(s).createElement(hw,{key:e,color:e,active:e.toLowerCase()===i,first:0===a,last:a===o.length-1,onClick:t,onSwatchHover:r})})))},mw=function(e){var t=e.width,r=e.height,o=e.onChange,i=e.onSwatchHover,a=e.colors,l=e.hex,u=e.styles,c=void 0===u?{}:u,d=e.className,p=void 0===d?"":d,f=n(Ls)(gv({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),h=function(e,t){return o({hex:e,source:"hex"},t)};return n(s).createElement("div",{style:f.picker,className:"swatches-picker "+p},n(s).createElement(vv,null,n(s).createElement("div",{style:f.overflow},n(s).createElement("div",{style:f.body},ix(a,(function(e){return n(s).createElement(gw,{key:e.toString(),group:e,active:l,onClick:h,onSwatchHover:i})})),n(s).createElement("div",{style:f.clear})))))};mw.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),height:n(d).oneOfType([n(d).string,n(d).number]),colors:n(d).arrayOf(n(d).arrayOf(n(d).string)),styles:n(d).object},mw.defaultProps={width:320,height:240,colors:[[lx[900],lx[700],lx[500],lx[300],lx[100]],[ux[900],ux[700],ux[500],ux[300],ux[100]],[cx[900],cx[700],cx[500],cx[300],cx[100]],[dx[900],dx[700],dx[500],dx[300],dx[100]],[px[900],px[700],px[500],px[300],px[100]],[fx[900],fx[700],fx[500],fx[300],fx[100]],[hx[900],hx[700],hx[500],hx[300],hx[100]],[gx[900],gx[700],gx[500],gx[300],gx[100]],[mx[900],mx[700],mx[500],mx[300],mx[100]],["#194D33",vx[700],vx[500],vx[300],vx[100]],[yx[900],yx[700],yx[500],yx[300],yx[100]],[bx[900],bx[700],bx[500],bx[300],bx[100]],[xx[900],xx[700],xx[500],xx[300],xx[100]],[wx[900],wx[700],wx[500],wx[300],wx[100]],[Ex[900],Ex[700],Ex[500],Ex[300],Ex[100]],[_x[900],_x[700],_x[500],_x[300],_x[100]],[Sx[900],Sx[700],Sx[500],Sx[300],Sx[100]],[Ox[900],Ox[700],Ox[500],Ox[300],Ox[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};ry(mw),s=a("7b0kr"),d=a("3pr9z");var vw=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,i=e.colors,a=e.width,l=e.triangle,u=e.styles,c=void 0===u?{}:u,d=e.className,p=void 0===d?"":d,f=n(Ls)(gv({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),h=function(e,r){Zv(e)&&t({hex:e,source:"hex"},r)};return n(s).createElement("div",{style:f.card,className:"twitter-picker "+p},n(s).createElement("div",{style:f.triangleShadow}),n(s).createElement("div",{style:f.triangle}),n(s).createElement("div",{style:f.body},ix(i,(function(e,t){return n(s).createElement(sy,{key:t,color:e,hex:e,style:f.swatch,onClick:h,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n(s).createElement("div",{style:f.hash},"#"),n(s).createElement(_h,{label:null,style:{input:f.input},value:o.replace("#",""),onChange:h}),n(s).createElement("div",{style:f.clear})))};vw.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),triangle:n(d).oneOf(["hide","top-left","top-right"]),colors:n(d).arrayOf(n(d).string),styles:n(d).object},vw.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};ry(vw),s=a("7b0kr"),d=a("3pr9z"),s=a("7b0kr"),d=a("3pr9z");var yw=function(e){var t=n(Ls)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return n(s).createElement("div",{style:t.picker})};yw.propTypes={hsl:n(d).shape({h:n(d).number,s:n(d).number,l:n(d).number,a:n(d).number})},yw.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var bw=yw,xw=(s=a("7b0kr"),d=a("3pr9z"),function(e){var t=n(Ls)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return n(s).createElement("div",{style:t.picker})});xw.propTypes={hsl:n(d).shape({h:n(d).number,s:n(d).number,l:n(d).number,a:n(d).number})},xw.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var ww=xw,Ew=(s=a("7b0kr"),function(e){var t=e.onChange,r=e.rgb,o=e.hsl,i=e.hex,a=e.hsv,l=function(e,r){if(e.hex)Zv(e.hex)&&t({hex:e.hex,source:"hex"},r);else if(e.rgb){var n=e.rgb.split(",");Qv(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},r)}else if(e.hsv){var o=e.hsv.split(",");Qv(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},r))}else if(e.hsl){var i=e.hsl.split(",");Qv(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},r))}},u=n(Ls)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,d=Math.round(o.h)+"°, "+Math.round(100*o.s)+"%, "+Math.round(100*o.l)+"%",p=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.v)+"%";return n(s).createElement("div",{style:u.wrap,className:"flexbox-fix"},n(s).createElement("div",{style:u.fields},n(s).createElement("div",{style:u.double},n(s).createElement(_h,{style:{input:u.input,label:u.label},label:"hex",value:i,onChange:l})),n(s).createElement("div",{style:u.column},n(s).createElement("div",{style:u.single},n(s).createElement(_h,{style:{input:u.input2,label:u.label2},label:"rgb",value:c,onChange:l})),n(s).createElement("div",{style:u.single},n(s).createElement(_h,{style:{input:u.input2,label:u.label2},label:"hsv",value:p,onChange:l})),n(s).createElement("div",{style:u.single},n(s).createElement(_h,{style:{input:u.input2,label:u.label2},label:"hsl",value:d,onChange:l})))))}),_w=function(e){var t=e.width,r=e.onChange,o=e.rgb,i=e.hsl,a=e.hsv,l=e.hex,u=e.header,c=e.styles,d=void 0===c?{}:c,p=e.className,f=void 0===p?"":p,h=n(Ls)(gv({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+o.r+", "+o.g+", "+o.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},d));return n(s).createElement("div",{style:h.picker,className:"google-picker "+f},n(s).createElement("div",{style:h.head},u),n(s).createElement("div",{style:h.swatch}),n(s).createElement("div",{style:h.saturation},n(s).createElement(Fv,{hsl:i,hsv:a,pointer:bw,onChange:r})),n(s).createElement("div",{style:h.body},n(s).createElement("div",{style:h.controls,className:"flexbox-fix"},n(s).createElement("div",{style:h.hue},n(s).createElement(Ch,{style:h.Hue,hsl:i,radius:"4px",pointer:ww,onChange:r}))),n(s).createElement(Ew,{rgb:o,hsl:i,hex:l,hsv:a,onChange:r})))};_w.propTypes={width:n(d).oneOfType([n(d).string,n(d).number]),styles:n(d).object,header:n(d).string},_w.defaultProps={width:652,styles:{},header:"Color picker"};ry(_w),je=a("fueUa"),ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE");a("3pr9z");s=a("7b0kr"),je=a("fueUa");class Sw extends s.Component{componentDidMount(){je.RESIZE_EVENTS.forEach((e=>window.addEventListener(e,this._debouncedCheck,!1))),this._check()}componentWillUnmount(){je.RESIZE_EVENTS.forEach((e=>window.removeEventListener(e,this._debouncedCheck)))}render(){const e=this.state.topOffset;let t=Object.assign({},this.props);if(e){const r=Object.assign({},t.style);r.marginTop=`${parseInt(r.marginTop||0)+e}px`,t.style=r}return n(s).createElement("div",(0,Ue.default)((0,de.default)({},t),{ref:this.eltRef}))}constructor(e){super(e),(0,ce.default)(this,"_check",(()=>{const e=this.eltRef.current;if(e){const t=e.offsetTop+e.offsetHeight,r=window.innerHeight,n=this.state.topOffset;t>r&&this.setState({topOffset:n+r-t})}})),this.eltRef=n(s).createRef(),this.state={topOffset:0},this._debouncedCheck=(0,we.debounce)(this._check,200)}}class Ow extends s.PureComponent{componentDidMount(){Xa(window,je.EVT_MOUSEUP,this._clearFocused),Xa(window,je.EVT_FOCUS_FORMCONTROL,this._clearFocused)}componentWillUnmount(){Za(window,je.EVT_MOUSEUP,this._clearFocused),Za(window,je.EVT_FOCUS_FORMCONTROL,this._clearFocused)}render(){let e=this.props,t=this.state,r=e.value||t.lastValue||"#fff",o={backgroundColor:r},i=null;if(this.state.focused){let t={position:"absolute",right:"200px",marginTop:"-50px"};i=n(s).createElement(Sw,{style:t,"data-nodispatch":"1",onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,className:"colorinput--picker"},n(s).createElement(aw,{styles:{default:{picker:{borderRadius:0}}},color:r,onChangeComplete:this.handleChange}))}let a={colorinput:!0};return e.className&&(a[e.className]=!0),a=n(vi)(a),n(s).createElement("div",{className:a,"data-modal-ignore":"true"},n(s).createElement("input",{className:"colorinput--checkbox",type:"checkbox",checked:Boolean(e.value),onChange:this.handleCheckboxChange,onMouseUp:this.handleCheckboxMouseUp}),n(s).createElement("div",{className:"colorinput--color"},n(s).createElement("div",{className:"handle",tabIndex:0,style:o,onFocus:this.handleFocus,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,onMouseUp:e.onMouseUp})),i)}constructor(e){super(e),(0,ce.default)(this,"_clearFocused",(e=>this.setState({focused:!1}))),(0,ce.default)(this,"handleChange",(e=>{let t=e.hex,r=e.rgb.a;1!=r&&(t+=kw(r)),this.props.onUpdateValue(t),t&&this.setState({lastValue:t})})),(0,ce.default)(this,"handleFocus",(e=>{this.props.onFocus&&this.props.onFocus(),this.setState({focused:!0})})),(0,ce.default)(this,"handleCheckboxMouseUp",(e=>{e.stopPropagation()})),(0,ce.default)(this,"handleCheckboxChange",(e=>{if(e.target.checked)this.state.lastValue&&this.props.onUpdateValue(this.state.lastValue),this.state.focused||this.handleFocus(e);else{let e=!1;const t={};this.state.focused&&(e=!0,t.focused=!1),this.props.value&&this.state.lastValue!==this.props.value&&(e=!0,t.lastValue=this.props.value),e&&this.setState(t),this.props.onUpdateValue("")}})),this.state={focused:!1,lastValue:e.value||"#ffffff"}}}const kw=e=>{let t=Math.round(255*e,10).toString(16);return 1===t.length&&(t="0"+t),t};Ow.propTypes={color:n(d).string};var Cw=Ow;class Tw extends s.Component{_getTypeDetails(){return uo[this.props.type]}render(){let e=this.props,t=this._getTypeDetails(),r=Rw(e.value),o=e.namespace?`id_${e.namespace}-${e.name}`:null;const i={type:t.inputType,className:"formcontrol--input",[t.valueAttr||"value"]:"number"===t.inputType?r.toString():r,onChange:this.handleChange},a={onKeyDown:this.stopPropagation,onKeyUp:this.stopPropagation,onMouseUp:this.stopPropagation,onFocus:this.handleFocus};let l;switch(o&&(a.id=o),Object.assign(i,a),e.widget){case no:i.onUpdateValue=this.handleUpdateValue,l=n(s).createElement(Cw,i);break;case ro:l=n(s).createElement("textarea",i);break;case oo:l=n(s).createElement("select",i,e.choices.map((e=>n(s).createElement("option",{key:e.title,value:e.value},e.title))));break;case io:l=n(s).createElement("div",(0,de.default)({className:"formcontrol--flat-select"},a),n(s).createElement("ul",null,e.choices.map((e=>n(s).createElement("li",{className:n(vi)({active:Rw(e.value)===r}),key:e.value||"_blank",onClick:t=>this.handleUpdateValue(e.value)},e.title)))));break;default:l=n(s).createElement("input",i)}const u=n(s).createElement("div",{className:n(vi)("formcontrol",e.widget&&`formcontrol--widget--${e.widget}`)},n(s).createElement("div",{className:n(vi)("formcontrol--labelwrap",e.isDim&&"formcontrol--dim")},n(s).createElement("label",{htmlFor:o,className:"formcontrol--label"},e.title||e.name)),n(s).createElement("div",{className:n(vi)("formcontrol--inputwrap",e.isDim&&"formcontrol--dim")},l)),c=e.isDim&&e.dimTitle||null;return c?n(s).createElement(n(Xi),{title:c},u):u}constructor(e){super(e),(0,ce.default)(this,"handleUpdateValue",(e=>{let t=this.props;(0,t.onChange)(t.name,this._getTypeDetails().convert(e))})),(0,ce.default)(this,"handleChange",(e=>{let t=e.target,r="checkbox"===t.type?t.checked:t.value;this.handleUpdateValue(r)})),(0,ce.default)(this,"handleFocus",(e=>{(0,Me.default)(window,je.EVT_FOCUS_FORMCONTROL)})),(0,ce.default)(this,"stopPropagation",(e=>{e.stopPropagation()}))}}const Rw=e=>null==e?"":e;Tw.propTypes={namespace:n(d).string,name:n(d).string.isRequired,type:n(d).oneOf(co).isRequired,value:n(d).any,isDim:n(d).bool,dimTitle:n(d).string,onChange:n(d).func.isRequired};var Pw=Tw;je=a("fueUa"),Me=a("fAoww");const jw=[12.5,25,50,75,100,200,400],Mw=jw.slice(0).reverse(),Dw=Mw[0],Lw=jw[0],Aw=e=>Mw.find((t=>tjw.find((t=>t>e))||e;class Iw extends s.Component{render(){const e=this.props.zoom,t=(e=>e>Lw)(e),r=(e=>e{const t=this.props,r=t.zoom,n=t.onChange,o=Aw(r);o!==r&&n(o,o{const t=this.props,r=t.zoom,n=t.onChange,o=Nw(r);o!==r&&n(o)})),(0,ce.default)(this,"handleClickZoomIcon",(e=>{this.props.zoom;(0,Me.default)(window,je.EVT_MOUSE_ZOOM),document.querySelector(".editor").focus()}))}}Iw.propTypes={zoom:n(d).number,onChange:n(d).func.isRequired};var Hw=Iw;je=a("fueUa"),Me=a("fAoww");var Fw=le((e=>({zoom:e.editor.zoom})),(e=>({onChange:(t,r)=>((0,Me.default)(window,je.EVT_CHANGE_ZOOM,{zoom:t}),u.default.event("editor_zoom",r?"out":"in","header",t),e(_r(t)))})))(Hw),Uw=(ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),s=a("7b0kr"),Sn=a("5Xemj"),Be=a("4fNEN"),d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),s=a("7b0kr"),e=>{let t=e.className,r=e.fill,o=void 0===r?"#151515":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("rect",{x:"3.5",y:"4.5",width:"19",height:"15",fill:"none",stroke:o}),n(s).createElement("rect",{x:"11",y:"5",width:"4",height:"2",fill:o}),n(s).createElement("rect",{x:"20",y:"5",width:"2",height:"2",fill:o}),n(s).createElement("rect",{x:"4",y:"5",width:"2",height:"2",fill:o}),n(s).createElement("rect",{x:"21",y:"10",width:"2",height:"4",fill:o}),n(s).createElement("rect",{x:"3",y:"10",width:"2",height:"4",fill:o}),n(s).createElement("rect",{x:"11",y:"17",width:"4",height:"2",fill:o}),n(s).createElement("rect",{x:"20",y:"17",width:"2",height:"2",fill:o}),n(s).createElement("rect",{x:"4",y:"17",width:"2",height:"2",fill:o}))});const Bw=e=>{if(null===e.baseWidth)return null;n(Be).number(e.baseHeight,"baseHeight not defined in Crop!");let t=e.mode===Kt,r=t?(0,Sn.tr)("Done Cropping"):(0,Sn.tr)("Crop Image"),o=r=>{r&&r.preventDefault(),t?e.disableCrop():e.enableCrop(e.baseWidth,e.baseHeight)};return e.addClickHandler&&(e.addClickHandler(o),o=null),n(s).createElement("div",{className:"layout-row--icon",onClick:o},n(s).createElement("span",{className:"pull-right dim"},"C"),n(s).createElement(Uw,null),r)};Bw.propTypes={mode:n(d).oneOf(Xt).isRequired,baseWidth:n(d).number,baseHeight:n(d).number,enableCrop:n(d).func.isRequired,disableCrop:n(d).func.isRequired,addClickHandler:n(d).func};var zw=Bw;var Ww=le(((e,t)=>({mode:e.editor.mode,baseWidth:e.base&&e.base.width||null,baseHeight:e.base&&e.base.height||null,addClickHandler:t.addClickHandler})),(e=>({enableCrop:(t,r)=>e(Rr(t,r)),disableCrop:()=>e(Pr())})))(zw),qw=(d=a("3pr9z"),s=a("7b0kr"),s=a("7b0kr"),e=>{let t=e.className,r=e.fill,o=void 0===r?"#151515":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("rect",{x:"3.5",y:"4.5",width:"19",height:"15",fill:"none",stroke:o}),n(s).createElement("rect",{x:"5.5",y:"6.5",width:"15",height:"11",fill:"none",stroke:o}))});const Vw=e=>{let t=e.onEdit,r=e.addClickHandler,o=e.border,i=e.globalShapeDefaults,a=e=>{e&&e.preventDefault();t(!o,i.borderDefaults)};r&&(r(a),a=null);const l=Uo[To].title;return n(s).createElement("div",{className:"layout-row--icon",onClick:a},n(s).createElement("span",{className:"pull-right dim"},"P"),n(s).createElement(qw,null),l)};Vw.propTypes={onEdit:n(d).func.isRequired,border:n(d).object,addClickHandler:n(d).func};var Yw=Vw;var $w=le(((e,t)=>({addClickHandler:t.addClickHandler,border:Hi(e),globalShapeDefaults:$i(e)})),(e=>({onEdit:(t,r)=>e(Sr(t,r))})))(Yw),Gw=(d=a("3pr9z"),s=a("7b0kr"),s=a("7b0kr"),e=>{let t=e.className,r=e.fill,o=void 0===r?"#151515":r,i=e.fill2,a=void 0===i?"black":i;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M7.20711 4.5H22.5V19.5H3.5V8.20711L7.20711 4.5Z",stroke:o}),n(s).createElement("path",{d:"M6.37158 10.4014L6.84766 12.4619L6.9502 13.0356L7.05518 12.4741L7.46045 10.4014H8.25391L8.68115 12.4619L8.79102 13.0356L8.90088 12.4839L9.38184 10.4014H10.146L9.13281 14H8.41504L7.98047 11.8955L7.85352 11.1997L7.72656 11.8955L7.29199 14H6.59375L5.57324 10.4014H6.37158ZM11.5933 10.4014L12.0693 12.4619L12.1719 13.0356L12.2769 12.4741L12.6821 10.4014H13.4756L13.9028 12.4619L14.0127 13.0356L14.1226 12.4839L14.6035 10.4014H15.3677L14.3545 14H13.6367L13.2021 11.8955L13.0752 11.1997L12.9482 11.8955L12.5137 14H11.8154L10.7949 10.4014H11.5933ZM16.8149 10.4014L17.291 12.4619L17.3936 13.0356L17.4985 12.4741L17.9038 10.4014H18.6973L19.1245 12.4619L19.2344 13.0356L19.3442 12.4839L19.8252 10.4014H20.5894L19.5762 14H18.8584L18.4238 11.8955L18.2969 11.1997L18.1699 11.8955L17.7354 14H17.0371L16.0166 10.4014H16.8149Z",fill:a}))});const Kw=e=>{e.isEditing;let t=e.onEdit,r=(e.templateId,e.addClickHandler),o=e=>{e&&e.preventDefault(),t()};r&&(r(o),o=null);const i=Uo[Io].title;return n(s).createElement("div",{className:"layout-row--icon",onClick:o},n(s).createElement("span",{className:"pull-right dim"},"U"),n(s).createElement(Gw,null),i)};Kw.propTypes={templateId:n(d).string,isEditing:n(d).bool.isRequired,onEdit:n(d).func.isRequired,addClickHandler:n(d).func},Kw.defaultProps={isEditing:!1};var Xw=Kw;var Zw=le(((e,t)=>({templateId:Bi(e),addClickHandler:t.addClickHandler})),(e=>({onEdit:()=>e(Or())})))(Xw);pe=a("ff4Ef"),vi=a("gwJFa"),s=a("7b0kr");const Jw=()=>{const e=(0,pe.default)((0,s.useState)(!1),2),t=e[0],r=e[1];return(0,s.useEffect)((()=>{let e=window.setTimeout((()=>{r(!0)}),1e3);return()=>{window.clearTimeout(e)}}),[]),n(s).createElement("span",{className:"newthrob"},n(s).createElement("span",{className:n(vi)("throb","will-fade",{"fade-in":t}),title:"New!"}))};Jw.displayName="NewThrob";var Qw=Jw;const eE=(0,Sn.tr)("Formatting");class tE extends s.Component{render(){const e=this.props,t=e.alignRight,r=void 0!==t&&t,o=e.showHeaderUpdatedThrob,i=e.onHideHeaderUpdatedThrob,a=[{className:"divider",Comps:[Ww,Zw,$w]}].map(((e,t)=>{var r=e.className,o=e.Comps,i=ys(e,["className","Comps"]);return(0,Ue.default)((0,de.default)({},i),{className:r,rows:o.map(((e,r)=>n(s).createElement(e,{addClickHandler:this.makeAddClickHandler(t,r)})))})}));return n(s).createElement(fs,{className:"headerformatting",title:n(s).createElement(n(s).Fragment,null,eE,o&&n(s).createElement(Qw,null)),onMouseOver:o?()=>i():void 0,sections:a,renderRow:this.renderRow,onSelectRow:this.onSelectRow,alignRight:r})}constructor(e){super(e),(0,ce.default)(this,"makeAddClickHandler",((e,t)=>r=>{this._clickHandlers[e]||(this._clickHandlers[e]=[]),this._clickHandlers[e][t]=r})),(0,ce.default)(this,"renderRow",(e=>e)),(0,ce.default)(this,"onSelectRow",((e,t,r)=>{this._clickHandlers[t]&&this._clickHandlers[t][r]&&this._clickHandlers[t][r]()})),this._clickHandlers=[]}}ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),s=a("7b0kr"),Sn=a("5Xemj"),d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),s=a("7b0kr");var rE=e=>{let t=e.className,r=e.fill,o=void 0===r?"#151515":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M3.5 12C3.5 6.77614 7.77614 2.5 13 2.5C18.2239 2.5 22.5 6.77614 22.5 12C22.5 17.2239 18.2239 21.5 13 21.5C7.77614 21.5 3.5 17.2239 3.5 12Z",stroke:o}),n(s).createElement("path",{d:"M12.3516 16.375H13.9062V18H12.3516V16.375ZM9.71875 10.1172C9.71875 8.99219 10.0365 8.08854 10.6719 7.40625C11.3073 6.71875 12.1797 6.375 13.2891 6.375C14.3151 6.375 15.1354 6.66927 15.75 7.25781C16.3698 7.84115 16.6797 8.58854 16.6797 9.5C16.6797 10.0521 16.5651 10.5 16.3359 10.8438C16.112 11.1875 15.6562 11.6927 14.9688 12.3594C14.4688 12.8438 14.1432 13.2552 13.9922 13.5938C13.8464 13.9271 13.7734 14.4219 13.7734 15.0781H12.3828C12.3828 14.3333 12.4714 13.7344 12.6484 13.2812C12.8255 12.8229 13.2135 12.2995 13.8125 11.7109L14.4375 11.0938C14.625 10.9167 14.776 10.7318 14.8906 10.5391C15.099 10.2005 15.2031 9.84896 15.2031 9.48438C15.2031 8.97396 15.0495 8.53125 14.7422 8.15625C14.4401 7.78125 13.9375 7.59375 13.2344 7.59375C12.3646 7.59375 11.763 7.91667 11.4297 8.5625C11.2422 8.92188 11.1354 9.4401 11.1094 10.1172H9.71875Z",fill:o}))};const nE=e=>{let t=e.addClickHandler,r=e.onEnable,o=e=>{e&&e.preventDefault(),r()};return t&&(t(o),o=null),n(s).createElement("div",{className:"layout-row--icon",onClick:o},n(s).createElement(rE,null),(0,Sn.tr)("Help / Shortcuts"))};nE.propTypes={onEnable:n(d).func.isRequired};var oE=nE;var iE=le(((e,t)=>({})),(e=>({onEnable:()=>e(kr(!0))})))(oE),aE=(d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),s=a("7b0kr"),e=>{let t=e.className,r=e.fill,o=void 0===r?"#151515":r;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("line",{x1:"5.5",y1:"4",x2:"5.5",y2:"20",stroke:o}),n(s).createElement("line",{x1:"12.5",y1:"4",x2:"12.5",y2:"20",stroke:o}),n(s).createElement("line",{x1:"19.5",y1:"4",x2:"19.5",y2:"20",stroke:o}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6H7V7H8V10H7V11H4V10H3V7H4V6Z",fill:o}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 13H14V14H15V17H14V18H11V17H10V14H11V13Z",fill:o}),n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 7H21V8H22V11H21V12H18V11H17V8H18V7Z",fill:o}))});const sE=e=>{let t=e.addClickHandler,r=e.onEnable,o=e=>{e&&e.preventDefault(),r()};return t&&(t(o),o=null),n(s).createElement("div",{className:"layout-row--icon",onClick:o},n(s).createElement(aE,null),(0,Sn.tr)("Set theme defaults"))};sE.propTypes={onEnable:n(d).func.isRequired};var lE=sE;var uE=le(((e,t)=>({})),(e=>({onEnable:()=>e(Cr(!0))})))(lE),cE=(s=a("7b0kr"),e=>{let t=e.fill,r=void 0===t?"#fff":t;return n(s).createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0.5L5 5.5L10 0.5H0Z",fill:r}))}),dE=(d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),a("crHLg"));_e=a("kOtTY");const pE=()=>{const e=(0,_e.getQueryString)(),t=e.id||e.oid,r=e.e,n=e.url;return{options:gE(t,r,n),history:mE(t,r,n),capture:t?fE(t,n):void 0,editor:t&&r?hE(t,r,n):void 0}},fE=(e,t)=>{let r=void 0===t?null:t;const n={id:e};r&&(n.url=r);return"/capture.html"+("?"+(0,_e.toQueryString)(n))},hE=(e,t,r)=>{let n=void 0===r?null:r;const o={id:e,e:t};n&&(o.url=n);return"/editor.html"+("?"+(0,_e.toQueryString)(o))},gE=(e,t,r)=>{let n=void 0===e?null:e,o=void 0===t?null:t,i=void 0===r?null:r,a="";if(n){const e={id:n};o&&(e.e=o),i&&(e.url=i),a="?"+(0,_e.toQueryString)(e)}return"/options.html"+a},mE=(e,t,r)=>{let n=void 0===e?null:e,o=void 0===t?null:t,i=void 0===r?null:r,a="";if(n){const e={oid:n};o&&(e.e=o),i&&(e.url=i),a="?"+(0,_e.toQueryString)(e)}return"/capture.html"+a};s=a("7b0kr");var vE=e=>{let t=e.className,r=e.style,o=void 0===r?null:r,i=e.fill,a=void 0===i?"#151515":i;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 5H5V18H21V5ZM5 4H4V5V18V19H5H21H22V18V5V4H21H5ZM18 9H8V8H18V9V9ZM18 12H8V11H18V12V12ZM14 15H8V14H14V15V15Z",fill:a}))},yE=(s=a("7b0kr"),e=>{let t=e.className,r=e.style,o=void 0===r?null:r,i=e.fill,a=void 0===i?"#151515":i;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.61 13.03v-.527a3.565 3.565 0 01.06-.596 2.26 2.26 0 00.037-.36c0-.417-.01-.531-.044-.633l-.225-.665.549-.438 1.654-1.32-1.424-2.454-2.05.808-.535.21-.451-.355c-.387-.305-.87-.547-1.47-.843l-.466-.23-.08-.513L13.834 3h-2.9l-.318 2.109-.092.609-.585.192c-.318.104-.575.278-.984.555-.126.085-.266.18-.426.285l-.441.29-.488-.2-1.977-.812-1.448 2.496 1.691 1.27.4.3v.499a3.563 3.563 0 01-.06.596c-.024.15-.037.251-.037.359 0 .417.01.531.044.634l.225.665-.548.437-1.655 1.32 1.424 2.455 2.05-.809.535-.21.452.355c.387.306.869.547 1.47.844l.466.23.08.512.315 2.019h3.015l.315-2.019.08-.513.466-.23c.601-.296 1.084-.537 1.47-.843l.452-.355.534.21 2.006.791 1.45-2.5-1.77-1.214-.436-.297zm3.326 1.573l-1.938 3.342c-.097.19-.388.286-.581.19l-2.423-.954c-.485.382-1.066.668-1.648.955l-.387 2.482c0 .191-.291.382-.485.382h-3.877c-.29 0-.484-.191-.484-.382l-.388-2.482c-.581-.287-1.163-.573-1.647-.955l-2.423.955c-.291.095-.485 0-.582-.096L3.135 14.7c-.097-.191-.097-.382.097-.573l2.035-1.623c-.097-.287-.097-.573-.097-.955 0-.205.028-.382.054-.547.022-.142.043-.275.043-.408L3.232 9.065c-.194-.19-.29-.477-.194-.573l1.938-3.341c.194-.191.388-.287.679-.191l2.326.955c.118-.078.233-.156.345-.233.438-.297.84-.57 1.302-.722l.388-2.578c0-.191.29-.382.484-.382h3.877c.194 0 .485.19.388.477l.387 2.483c.582.286 1.163.573 1.648.955l2.423-.955c.29-.096.484 0 .581.095l1.939 3.342c.096.19.096.382-.097.573l-2.036 1.623c.097.286.097.573.097.955 0 .204-.027.382-.053.546-.023.143-.044.276-.044.409l2.23 1.527c.193.096.193.382.096.573zM9 11.5c0 1.89 1.61 3.5 3.5 3.5s3.5-1.61 3.5-3.5S14.39 8 12.5 8 9 9.61 9 11.5zm-1 0c0 2.443 2.057 4.5 4.5 4.5s4.5-2.057 4.5-4.5S14.943 7 12.5 7 8 9.057 8 11.5z",fill:a}))}),bE=(s=a("7b0kr"),e=>{let t=e.className,r=e.style,o=void 0===r?null:r,i=e.fill,a=void 0===i?"#151515":i;return n(s).createElement("svg",{className:t,width:"26",height:"24",viewBox:"0 0 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o},n(s).createElement("circle",{cx:"13",cy:"9",r:"2.5",stroke:a}),n(s).createElement("path",{d:"M7.5 17.5001V16.1699C10.2977 12.6101 15.7023 12.6101 18.5 16.1699V17.5001H7.5Z",stroke:a}))});const xE={opacity:.25},wE=()=>{const e=(0,Sn.tr)("Go to Files"),t=pE().history;return n(s).createElement(SE,{href:t},n(s).createElement(vE,{style:xE}),e)},EE=()=>{const e=(0,Sn.tr)("Go to Options"),t=pE().options;return n(s).createElement(SE,{href:t},n(s).createElement(yE,{style:xE}),e)},_E=()=>{const e=(0,Sn.tr)("Go to Account"),t=(0,dE.makeLoginUrl)();return n(s).createElement(SE,{href:t},n(s).createElement(bE,{style:xE}),e)},SE=e=>{var t=e.children,r=ys(e,["children"]);return n(s).createElement("a",r,n(s).createElement("span",{className:"layout-row--icon"},t))};SE.displayName="RowWrap",SE.propTypes={href:n(d).string.isRequired};const OE=(0,Sn.tr)("More");class kE extends s.Component{render(){const e=this.props.alignRight,t=void 0===e||e,r=[{className:"divider",Comps:[uE]},{className:"divider is-links",Comps:[wE,EE,_E]},{Comps:[iE]}].map(((e,t)=>{var r=e.className,o=e.Comps,i=ys(e,["className","Comps"]);return(0,Ue.default)((0,de.default)({},i),{className:r,rows:o.map(((e,r)=>n(s).createElement(e,{addClickHandler:this.makeAddClickHandler(t,r)})))})}));return n(s).createElement(fs,{className:"headermore",title:OE,icon:n(s).createElement(cE,null),sections:r,renderRow:this.renderRow,onSelectRow:this.onSelectRow,alignRight:t})}constructor(e){super(e),(0,ce.default)(this,"makeAddClickHandler",((e,t)=>r=>{this._clickHandlers[e]||(this._clickHandlers[e]=[]),this._clickHandlers[e][t]=r})),(0,ce.default)(this,"renderRow",(e=>e)),(0,ce.default)(this,"onSelectRow",((e,t,r)=>{this._clickHandlers[t]&&this._clickHandlers[t][r]&&this._clickHandlers[t][r]()})),this._clickHandlers=[]}}s=a("7b0kr");var CE=e=>{let t=e.fill,r=void 0===t?"#fff":t;return n(s).createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{d:"M 0.5,5 5.5,0 5.5,10 Z",fill:r}))};const TE=e=>e&&e.extUrl||chrome.runtime.getURL("/capture.html"),RE=e=>{let t=e.capture,r=e.showHeaderUpdatedThrob,o=e.onHideHeaderUpdatedThrob,i=TE(t);return n(s).createElement("div",{className:"header"},n(s).createElement("div",{className:"header--left"},n(s).createElement("h1",{className:"header--text"},n(s).createElement(n(Xi),{title:(0,Sn.tr)("Back to capture (changes are auto-saved in the editor)")},n(s).createElement("a",{className:"header--ext-back",href:i},n(s).createElement(CE,null))),n(s).createElement("img",{src:n(Zi)}),"Editor"),Ps.map(((e,t)=>n(s).createElement(e,{key:t}))),n(s).createElement(tE,{showHeaderUpdatedThrob:r,onHideHeaderUpdatedThrob:o}),n(s).createElement(Ds,null),n(s).createElement(Fw,null)),n(s).createElement("div",{className:"header--right"},n(s).createElement(kE,{alignRight:!0}),n(s).createElement(Ya,null)))};RE.propTypes={capture:n(d).object,showHeaderUpdatedThrob:n(d).bool.isRequired,onHideHeaderUpdatedThrob:n(d).func.isRequired};var PE=RE;var jE=le((e=>({capture:e.capture,showHeaderUpdatedThrob:e.editor.showHeaderUpdatedThrob||!1})),(e=>({onHideHeaderUpdatedThrob:()=>(Ce.default.set("didUpdatedHeaderThrob",!0).catch((e=>log.error(e))),e({type:br,payload:{showHeaderUpdatedThrob:!1}}))})))(PE);u=a("ceb36"),ce=a("iPbYd"),s=a("7b0kr"),d=a("3pr9z"),ce=a("iPbYd"),de=a("jBCXK"),Ue=a("hGGFE"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),je=a("fueUa");class ME extends s.Component{render(){let e=this.props,t=e.layerId,r=e.layer,o=e.cfg,i=e.data,a=e.onDisableCrop,l=o.controls.map((e=>{var t=e.dim,o=ys(e,["dim"]);const a=t&&t(r)||!1;return n(s).createElement(Pw,(0,Ue.default)((0,de.default)({readOnly:a,key:o.name,value:i[o.name]},o),{isDim:a,namespace:"propertieswidgets",onChange:this.handleFormControlChange}))}));const u=t===je.CROP_ID&&"box"===o.name,c=n(vi)("propertieswidget",`propertieswidget--type--${o.name}`);let d=null,p=null;return u&&(d=n(s).createElement("div",{className:"propertieswidget propertieswidget--over"},n(s).createElement("div",{className:"propertieswidget--title"},"Crop")),p=n(s).createElement("div",{className:"propertieswidget propertieswidget--under"},n(s).createElement("button",{type:"button",onClick:a},"Done cropping"))),n(s).createElement(n(s).Fragment,null,d,n(s).createElement("div",{className:c},n(s).createElement("div",{className:"propertieswidget--title"},o.title||o.name),l),p)}constructor(e){super(e),(0,ce.default)(this,"handleFormControlChange",((e,t)=>{let r=this.props;r.onChange(r.cfg.name,e,t)}))}}(0,ce.default)(ME,"propTypes",{layerId:n(d).string.isRequired,data:n(d).object.isRequired,cfg:n(d).shape({name:n(d).string.isRequired,title:n(d).string,controls:n(d).arrayOf(n(d).shape({name:n(d).string.isRequired,type:n(d).string.isRequired,widget:n(d).string})).isRequired,hide:n(d).bool}).isRequired,layer:n(d).shape({id:n(d).string.isRequired,shapeKey:n(d).string.isRequired}).isRequired,onChange:n(d).func.isRequired,onDisableCrop:n(d).func.isRequired});var DE=ME;je=a("fueUa");const LE=(e,t,r)=>(n,o,i,a,s)=>(n===je.CROP_ID&&"box"===i&&(a=((e,t,r)=>{const n=Math.max(0,e.x),o=Math.max(0,e.y);return{x:n,y:o,width:Math.min(t,e.x+e.width)-n,height:Math.min(r,e.y+e.height)-o}})(a=Object.assign({},r.box,a),t.width,t.height)),e(n,o,i,a,s));class AE extends s.Component{render(){const e=this.props,t=e.layer,r=e.onDisableCrop;let o;if(t){let e=Uo[t.shapeKey].coordsOnly;o=po.map((o=>{const i=o.hide?null:((e,t)=>{const r=e[t];return r||(Uo[e.shapeKey].defaults||{})[t]})(t,o.name);return i?n(s).createElement(DE,{layerId:t.id,key:o.name,data:i,cfg:"box"===o.name&&e?ho:o,layer:t,onChange:this.handlePropertiesWidgetChange,onDisableCrop:r}):null})).filter((e=>e))}return n(s).createElement("div",{className:"properties",onMouseDown:this.handleMouseDown},o)}constructor(e){super(e),(0,ce.default)(this,"handleMouseDown",(e=>{e.stopPropagation()})),(0,ce.default)(this,"handlePropertiesWidgetChange",((e,t,r)=>{const n=this.props;let o={[t]:r};if(Uo[n.layer.shapeKey].isSquare){let e=["width","height"];-1!==e.indexOf(t)&&e.forEach((e=>{e!==t&&(o[e]=r)}))}LE(n.onChangeProperties,n.base,n.layer)(n.layer.id,n.layer.shapeKey,e,o)})),this.state={}}}(0,ce.default)(AE,"propTypes",{base:n(d).object.isRequired,layer:n(d).object,onChangeProperties:n(d).func.isRequired,onDisableCrop:n(d).func.isRequired});var NE=AE;je=a("fueUa");var IE=le((e=>{const t=Li(e),r=1===t.length?t[0]:null,n=r&&e.undos.present.layersById[r]||null;return{base:e.base,layer:n}}),(e=>({onChangeProperties:(t,r,n,o)=>{switch(t){case je.BORDER_ID:if("border"===n&&o&&void 0!==o.on){const e=o.on;u.default.event("editor_padding",e?"enabled":"disabled")}break;case je.TEMPLATE_ID:if("template"===n&&o&&void 0!==o.templateId){const e=o.templateId||"none";u.default.event("editor_browserurl",e)}}return e(ni(t,r,n,o))},onDisableCrop:()=>(u.default.event("editor_crop","cropped"),e(Pr()))})))(NE);ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),je=a("fueUa"),Me=a("fAoww");bi=a("kRWUw");var HE=a("jIppf");class FE extends s.Component{render(){const e=this.props,t=e.globalShapeDefaults,r=e.onToggle;return n(s).createElement(HE.default,{className:"themedefaultsmodal",onToggle:r,width:780,radius:0,render:e=>{let r=e.onClose,o=e.parentRef;return n(s).createElement("div",{onMouseUp:this.handleMouseUp},n(s).createElement("div",{className:"td-header"},n(s).createElement("h2",null,(0,Sn.tr)("Theme Defaults")),n(s).createElement("a",{className:"close",href:"#",onClick:r},n(s).createElement(bi.default,{fill:"#333"}))),n(s).createElement("div",{className:"td-body"},n(s).createElement("div",{className:"shapeddefaults"},n(s).createElement("p",null,(0,Sn.tr)("These settings will apply to all future edits of screenshots. Changes are autosaved."),n(s).createElement("br",null),n(s).createElement("br",null))),this.shapes.map((e=>{const r=this.makeOnFormControlChange(e.type),o={id:"temp",shapeKey:e.type};return e.remember.forEach((r=>{const n=Object.assign({},ji(this.hardcodedDefaults,e.type,r),ji(t,e.type,r));o[r]=n})),n(s).createElement("div",{key:e.type,className:"shapedefaults"},n(s).createElement("h3",null,e.Icon&&n(s).createElement(e.Icon,{className:"insert-icon"}),n(s).createElement("span",null,e.title||(i=e.type).substring(0,1).toUpperCase()+i.substring(1))),e.remember.map((t=>{const i=o[t],a=po.find((e=>e.name===t))||null;return i&&a&&n(s).createElement(DE,{key:t,layerId:`${e.type}-${t}`,layer:o,data:i,cfg:a,onChange:r,onDisableCrop:()=>{}})})));var i})),n(s).createElement("div",{className:"shapedefaults"},n(s).createElement("a",{href:"#",onClick:this.makeHandleRestoreDefaults(o)},(0,Sn.tr)("restore factory defaults")))))}})}constructor(e){super(e),(0,ce.default)(this,"makeOnFormControlChange",(e=>(t,r,n)=>{(0,this.props.onUpdateGroupDefaults)(e,t,{[r]:n})})),(0,ce.default)(this,"handleMouseUp",(e=>{(0,Me.checkCanDispatch)(e)&&(0,Me.default)(window,je.EVT_MOUSEUP)})),(0,ce.default)(this,"makeHandleRestoreDefaults",(e=>t=>{t.preventDefault();const r=this.props.onUpdateAllGroupDefaults;confirm((0,Sn.tr)("Are you sure you want to reset to the extension’s original theme defaults?"))&&(r(this.hardcodedDefaults),e.current&&e.current.scrollTo(0,0))})),this.shapes=Ri(),this.hardcodedDefaults=Pi(this.shapes)}}(0,ce.default)(FE,"propTypes",{globalShapeDefaults:n(d).objectOf(n(d).objectOf(n(d).object)).isRequired,onUpdateGroupDefaults:n(d).func.isRequired,onToggle:n(d).func.isRequired});var UE=le((e=>({globalShapeDefaults:e.globalShapeDefaults})),(e=>({onUpdateGroupDefaults:(t,r,n)=>e($o(t,r,n)),onUpdateAllGroupDefaults:t=>e({type:Vo,payload:t})})))(FE);On=a("1AJdn"),Me=a("fAoww"),$a=a("iCPfM"),Mi=a("3cJ8u");const BE={},zE={},WE={},qE=(e,t,r)=>{const n=BE[e];BE[e]=t,n||(zE[e]=window.setTimeout((()=>{WE[e]=window.requestAnimationFrame((()=>{const t=BE[e];delete BE[e],t&&t()}))}),r))},VE=["x1","y1","x2","y2"],YE=(e,t)=>{e.save(),e.strokeStyle="#F00",e.lineWidth=1,t.forEach((t=>{let r=t.x1,n=t.y1,o=t.x2,i=t.y2;return $E(e,r,n,o,i)})),e.restore()},$E=(e,t,r,n,o)=>{r===o&&(GE(e,t,r-3,t,r+3),GE(e,n,o-3,n,o+3)),t===n&&(GE(e,t-3,r,t+3,r),GE(e,n-3,o,n+3,o)),GE(e,t,r,n,o)},GE=(e,t,r,n,o)=>{e.beginPath(),e.moveTo(t,r),e.lineTo(n,o),e.stroke()};var KE=(e,t,r,n,o,i,a,s,l,u,c)=>{if(e.clearRect(0,0,t,r),s===Kt&&u){let n=u.box,s=i+n.x,l=a+n.y;e.save(),e.fillStyle="#00000044",e.fillRect(0,0,t,r),e.clearRect(s*o,l*o,n.width*o,n.height*o),e.restore()}if(n&&n.length){let t=n.map((e=>{let t={};return VE.forEach(((r,n)=>{let s=e[r];s=n%2==0?(s+i)*o:(s+a)*o,t[r]=Math.floor(s)+.5})),t}));YE(e,t)}if(c){const t=(i+Math.min(c.x1,c.x2))*o,r=(a+Math.min(c.y1,c.y2))*o,n=Math.abs(c.x1-c.x2)*o,s=Math.abs(c.y1-c.y2)*o;e.save(),e.strokeStyle="#39f",e.fillStyle="#3399ff44",e.lineWidth=1,e.fillRect(t,r,n,s),e.strokeRect(t,r,n,s),e.restore()}},XE=a("94TAZ");ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr"),Pe=a("8DwkQ"),u=a("ceb36"),bi=a("kRWUw"),HE=a("jIppf"),ce=a("iPbYd"),vi=a("gwJFa"),s=a("7b0kr");class ZE extends n(s).Component{componentDidMount(){window.addEventListener("resize",this.recomputeSizeDebounced),this.recomputeSize()}componentWillUnmount(){window.removeEventListener("resize",this.recomputeSizeDebounced)}render(){const e=this.props,t=e.className,r=e.children,o=e.ratioWidth,i=e.ratioHeight,a=e.style,l=this.state,u=l.width,c=l.height,d=o/i;let p=u,f=c;u/c>d?p=Math.floor(c*d):f=Math.floor(u/d);const h={width:`${p}px`,height:`${f}px`};return n(s).createElement("div",{ref:this.wrapRef,className:n(vi)("ratio-box",t),style:a},n(s).createElement("div",{className:"ratio-box-inner",style:h},r))}constructor(e){super(e),(0,ce.default)(this,"wrapRef",n(s).createRef()),(0,ce.default)(this,"state",{width:0,height:0}),(0,ce.default)(this,"recomputeSize",(()=>{const e=this.wrapRef.current;e&&this.setState({width:e.offsetWidth,height:e.offsetHeight})})),(0,ce.default)(this,"recomputeSizeDebounced",(0,we.debounce)(this.recomputeSize,160))}}var JE=ZE;de=a("jBCXK"),vi=a("gwJFa"),s=a("7b0kr");var QE=e=>{var t=e.width,r=e.height,o=e.style,i=e.className,a=ys(e,["width","height","style","className"]);const l=t&&r?100*r/t+"%":"56.25%";return o=Object.assign({paddingBottom:l},o),i=n(vi)(i,"videowrap"),n(s).createElement("div",(0,de.default)({style:o,className:i},a))};class e_ extends s.Component{componentDidMount(){const e=window.location,t="/editor/demo-video-modal";u.default.pageview(t,`${e.protocol}//${e.host}${t}`)}componentWillUnmount(){u.default.pageview()}render(){return n(s).createElement(HE.default,{className:"demomodal",onToggle:this.props.onToggle,fullscreen:!0,render:e=>{let t=e.onClose;return n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"hm-header"},n(s).createElement("h2",null,"Editor Demo"),n(s).createElement("a",{className:"close",href:"#",onClick:t},n(s).createElement(bi.default,null))),n(s).createElement("div",{className:"hm-body",style:{maxWidth:""}},n(s).createElement(JE,{ratioWidth:16,ratioHeight:9},n(s).createElement(QE,null,n(s).createElement("iframe",{allowFullScreen:!0,src:Pe.INLINE_DEMO_EDITOR_URL})))))}})}}(0,ce.default)(e_,"propTypes",{onToggle:n(d).func.isRequired});pe=a("ff4Ef"),s=a("7b0kr"),Sn=a("5Xemj");var t_=a("3utT5"),r_=(bi=a("kRWUw"),HE=a("jIppf"),a("eYuPW"));var n_,o_=e=>{let t=e.onClose,r=e.triggerShowTourDemo;const o=(0,pe.default)((0,s.useState)(!1),2),i=o[0],a=o[1],l=(0,s.useCallback)((e=>{e.preventDefault(),i||(a(!0),window.setTimeout((()=>{t()}),500))}),[i]);(0,s.useEffect)((()=>{window.setTimeout((()=>{r()}),0)}),[]);const u={transition:"opacity 500ms ease-in-out",opacity:i?0:1},c=(0,Sn.tr)("Some menu options have moved!"),d=(0,Sn.tr)('Don’t worry, your favorite features are still here! Crop, URL, datestamp, and padding are now in the new “Formatting” menu. Watch the demo to see more.',void 0,void 0,void 0,!0),p=(0,Sn.tr)("Bonus: we have added new timestamp formats too!"),f=(0,Sn.tr)("Got it!");return n(s).createElement(n(s).Fragment,null,n(s).createElement(HE.default,{style:u,className:"welcomemodal big-modal",dimBg:!0,width:540},n(s).createElement("h2",{className:"br"},c),n(s).createElement(r_.default,null),n(s).createElement("p",{className:"br",dangerouslySetInnerHTML:{__html:d}}),n(s).createElement("p",{className:"br15 strong"},p),n(s).createElement("div",null,n(s).createElement("a",{className:"btn",href:"#",onClick:l},f)),n(s).createElement("a",{className:"close close-topright",href:"#",onClick:l},n(s).createElement(bi.default,{fill:"#CCC"}))),n(s).createElement(t_.default,{style:u}))},i_=(ce=a("iPbYd"),/[|\\{}()[\]^$+*?.]/g);n_=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(i_,"\\$&")};d=a("3pr9z"),s=a("7b0kr"),Pe=a("8DwkQ"),Sn=a("5Xemj"),u=a("ceb36"),Bn=a("5Gpcw");var a_=a("6wFiT");bi=a("kRWUw"),HE=a("jIppf");var s_,l_={groups:[{key:"left",sections:[{title:(0,(Sn=a("5Xemj")).tr)("Insert shapes"),lines:[{a:(0,Sn.tr)("Rectangle"),c:"R"},{a:(0,Sn.tr)("Oval"),c:"O"},{a:(0,Sn.tr)("Line"),c:"L"},{a:(0,Sn.tr)("Arrow"),c:"A"},{a:(0,Sn.tr)("Text"),c:"T"},{a:(0,Sn.tr)("Blur"),c:"B"}]},{title:(0,Sn.tr)("Document edits"),lines:[{a:(0,Sn.tr)("Toggle crop"),c:"C"},{a:(0,Sn.tr)("Toggle URL / browser"),c:"U"},{a:(0,Sn.tr)("Toggle padding / border"),c:"P"}]},{title:(0,Sn.tr)("Zoom"),lines:[{a:(0,Sn.tr)("Zoom in"),c:"Z"},{a:(0,Sn.tr)("Zoom out"),c:"{{OPTION}} + Z"},{a:(0,Sn.tr)("Exit zoom"),c:"Escape (or V)"}]}]},{key:"right",sections:[{title:(0,Sn.tr)("Layers"),lines:[{a:(0,Sn.tr)("Select layer"),c:(0,Sn.tr)("Mouse or layers pane")},{a:(0,Sn.tr)("Move layer"),c:(0,Sn.tr)("Mouse or arrow keys")},{a:(0,Sn.tr)("Resize layer"),c:(0,Sn.tr)("Drag layer control points")},{a:(0,Sn.tr)("Order layer"),c:(0,Sn.tr)("Click + drag in layers pane")},{a:(0,Sn.tr)("Duplicate selection"),c:"{{CMD}} + D"},{a:(0,Sn.tr)("Delete current selection"),c:(0,Sn.tr)("Delete")}]},{title:(0,Sn.tr)("Document"),lines:[{a:(0,Sn.tr)("Undo"),c:"{{CMD}} + Z"},{a:(0,Sn.tr)("Redo"),c:"{{CMD}} + Y"},{a:(0,Sn.tr)("Export"),c:"{{CMD}} + E"},{a:(0,Sn.tr)("Export save as"),c:"{{CMD}} + Shift + E"},{a:(0,Sn.tr)("Copy to clipboard"),c:"{{CMD}} + {{OPTION}} + E"},{a:(0,Sn.tr)("Help"),c:"Shift + ?"}]}]}]};s_=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("1B54I");var u_;u_=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("82Kei");var c_;c_=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("j8dWM");var d_;d_=a("8r5Kp").getBundleURL("jNUyp")+a("fquJx").resolve("kdsjn");class p_ extends s.Component{componentDidMount(){const e=window.location,t="/editor/help";u.default.pageview(t,`${e.protocol}//${e.host}${t}`)}componentWillUnmount(){u.default.pageview()}render(){return n(s).createElement(HE.default,{className:"helpmodal",onToggle:this.props.onToggle,width:680,render:e=>{let t=e.onClose;return n(s).createElement(n(s).Fragment,null,n(s).createElement("div",{className:"hm-header"},n(s).createElement("h2",null,n(s).createElement("img",{src:(0,a_.pickDensity)(n(s_),n(u_)),width:"22",height:"27"}),(0,Sn.tr)("Help")),n(s).createElement("a",{className:"close",href:"#",onClick:t},n(s).createElement(bi.default,null))),n(s).createElement("div",{className:"hm-body"},l_.groups.map((e=>{let t=e.key,r=e.sections;return n(s).createElement("div",{className:`hm-body-${t}`,key:t},r.map(((e,t)=>{let r=e.title,o=e.lines;return n(s).createElement("div",{className:"hm-section",key:t},n(s).createElement("h3",null,r,":"),o.map(((e,t)=>n(s).createElement("div",{className:"hm-line",key:t},n(s).createElement("span",null,e.a),n(s).createElement("span",null,h_(e.c))))))})),"right"===t&&n(s).createElement("div",{className:"hm-section hm-extra-note"},n(s).createElement("p",null,n(s).createElement("img",{style:{verticalAlign:"top",marginLeft:"5px",opacity:.95},src:(0,a_.pickDensity)(n(c_),n(d_)),width:"16",height:"20",alt:"smile"})," ","All screenshot edits are auto-saved"),n(s).createElement("p",null,"Need more help?"," ",n(s).createElement("a",{href:Pe.DEMO_URL,target:"_blank",rel:"noopener noreferrer"},"Watch the demo video"))))}))))}})}}(0,ce.default)(p_,"propTypes",{onToggle:n(d).func.isRequired});const f_=[{token:"{{CMD}}",mac:"Cmd",other:"Ctrl"},{token:"{{OPTION}}",mac:"Option",other:"Alt"}];f_.forEach((e=>e.regex=new RegExp(n(n_)(e.token),"g")));const h_=e=>{const t=(0,Bn.getIsMac)();return f_.reduce(((e,r)=>e.replace(r.regex,t?r.mac:r.other)),e)};window.escapeStringRegexp=n(n_),window._matchOs=h_;s=a("7b0kr"),ce=a("iPbYd"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),ce=a("iPbYd"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr");class g_ extends s.Component{render(){let e=this.props,t=n(vi)({layersbarwidget:!0,hover:e.hovering,selected:e.selected,even:e.position%2==0,odd:e.position%2==1,[`shape-${e.shapeKey}`]:!0});return n(s).createElement("div",{className:t,onMouseDown:e.onMouseDown,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseOut},n(s).createElement("strong",null,e.label))}}(0,ce.default)(g_,"propTypes",{position:n(d).number.isRequired,label:n(d).string.isRequired,shapeKey:n(d).string.isRequired,selected:n(d).bool.isRequired,hovering:n(d).bool.isRequired,onMouseDown:n(d).func.isRequired,onMouseOver:n(d).func.isRequired,onMouseOut:n(d).func.isRequired});var m_=g_;const v_=function(e){var t,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return r=t=function(t){function r(){return Xe(this,r),et(this,tt(r).apply(this,arguments))}return nt(r,t),Je(r,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,r=e.disabled,n=e.index,o=(0,l.findDOMNode)(this);o.sortableInfo={collection:t,disabled:r,index:n,manager:this.context.manager},this.node=o,this.ref={node:o},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return n(b)(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return(0,s.createElement)(e,m({ref:t},ct(this.props,Ft)))}}]),r}(s.Component),Ge(t,"displayName",bt("sortableElement",e)),Ge(t,"contextTypes",{manager:n(d).object.isRequired}),Ge(t,"propTypes",Ht),Ge(t,"defaultProps",{collection:0}),r}((e=>n(s).createElement("li",{className:"layersbar--item"},n(s).createElement(m_,e)))),y_=function(e){var t,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return r=t=function(t){function r(e){var t;return Xe(this,r),Ge(g(g(t=et(this,tt(r).call(this,e)))),"state",{}),Ge(g(g(t)),"handleStart",(function(e){var r=t.props,n=r.distance,o=r.shouldCancelStart;if(2!==e.button&&!o(e)){t.touched=!0,t.position=wt(e);var i=mt(e.target,(function(e){return null!=e.sortableInfo}));if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var a=t.props.useDragHandle,s=i.sortableInfo,l=s.index,u=s.collection;if(s.disabled)return;if(a&&!mt(e.target,Mt))return;t.manager.active={collection:u,index:l},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||e.target.tagName!==jt.Anchor||e.preventDefault(),n||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),Ge(g(g(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),Ge(g(g(t)),"handleMove",(function(e){var r=t.props,n=r.distance,o=r.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=wt(e),a={x:t.position.x-i.x,y:t.position.y-i.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,n||o&&!(s>=o)?n&&s>=n&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),Ge(g(g(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),Ge(g(g(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),Ge(g(g(t)),"handlePress",(function(e){try{var r=t.manager.getActive(),n=function(){if(r){var n=function(){var r,n,o,u,g,m,v=p.sortableInfo.index,y=(r=p,{bottom:yt((n=window.getComputedStyle(r)).marginBottom),left:yt(n.marginLeft),right:yt(n.marginRight),top:yt(n.marginTop)}),b=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:yt(t.gridColumnGap),y:yt(t.gridRowGap)}:{x:0,y:0}}(t.container),x=t.scrollContainer.getBoundingClientRect(),w=a({index:v,node:p,collection:f});if(t.node=p,t.margin=y,t.gridGap=b,t.width=w.width,t.height=w.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=x,t.index=v,t.newIndex=v,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=Et(p,t.container),t.initialOffset=wt(h?Ke({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((u="input, textarea, select, canvas, [contenteditable]",g=(o=p).querySelectorAll(u),st((m=o.cloneNode(!0)).querySelectorAll(u)).forEach((function(e,t){"file"!==e.type&&(e.value=g[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===jt.Canvas&&g[t].width>0&&g[t].height>0&&e.getContext("2d").drawImage(g[t],0,0)})),m)),ft(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-y.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-y.top,"px"),width:"".concat(t.width,"px")}),h&&t.helper.focus(),l&&(t.sortableGhost=p,ft(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},h){var E=d?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,_=E.top,S=E.left,O=E.width,k=_+E.height,C=S+O;t.axis.x&&(t.minTranslate.x=S-t.boundingClientRect.left,t.maxTranslate.x=C-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=_-t.boundingClientRect.top,t.maxTranslate.y=k-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(d?0:x.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(d?t.contentWindow.innerWidth:x.left+x.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(d?0:x.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(d?t.contentWindow.innerHeight:x.top+x.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?p:t.contentWindow,h?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(dt.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),dt.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:v}),c&&c({node:p,index:v,collection:f,isKeySorting:h,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),h&&t.keyMove(0)},o=t.props,i=o.axis,a=o.getHelperDimensions,s=o.helperClass,l=o.hideSortableGhost,u=o.updateBeforeSortStart,c=o.onSortStart,d=o.useWindowAsScrollContainer,p=r.node,f=r.collection,h=t.manager.isKeySorting,g=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var r=function(e,t){try{var r=e()}catch(e){return t(!0,e)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}((function(){var t=p.sortableInfo.index;return Promise.resolve(u({collection:f,index:t,node:p,isKeySorting:h},e)).then((function(){}))}),(function(e,r){if(t._awaitingUpdateBeforeSortStart=!1,e)throw r;return r}));if(r&&r.then)return r.then((function(){}))}}();return g&&g.then?g.then(n):n()}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),Ge(g(g(t)),"handleSortMove",(function(e){var r=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),r&&r(e)})),Ge(g(g(t)),"handleSortEnd",(function(e){var r=t.props,n=r.hideSortableGhost,o=r.onSortEnd,i=t.manager,a=i.active.collection,s=i.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(dt.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),dt.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),n&&t.sortableGhost&&ft(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=l.length;un)){t.prevIndex=i,t.newIndex=o;var a=function(e,t,r){return et?e-1:e>r&&em?m/2:this.height/2,width:this.width>g?g/2:this.width/2},y=u&&h>this.index&&h<=c,b=u&&h=c,x={x:0,y:0},w=a[d].edgeOffset;w||(w=Et(f,this.container),a[d].edgeOffset=w,u&&(a[d].boundingClientRect=xt(f,o)));var E=d0&&a[d-1];E&&!E.edgeOffset&&(E.edgeOffset=Et(E.node,this.container),u&&(E.boundingClientRect=xt(E.node,o))),h!==this.index?(t&>(f,t),this.axis.x?this.axis.y?b||hthis.containerBoundingRect.width-v.width&&E&&(x.x=E.edgeOffset.left-w.left,x.y=E.edgeOffset.top-w.top),null===this.newIndex&&(this.newIndex=h)):(y||h>this.index&&(s+i.left+v.width>=w.left&&l+i.top+v.height>=w.top||l+i.top+v.height>=w.top+m))&&(x.x=-(this.width+this.marginOffset.x),w.left+x.xthis.index&&s+i.left+v.width>=w.left?(x.x=-(this.width+this.marginOffset.x),this.newIndex=h):(b||hthis.index&&l+i.top+v.height>=w.top?(x.y=-(this.height+this.marginOffset.y),this.newIndex=h):(b||h{let t=e.props,r=e.onSelectLayerId;return n(s).createElement("ol",{className:"layersbar--items"},t.layers.map(((e,o)=>n(s).createElement(v_,{key:e.id,index:o,disabled:!t.canEdit,position:o,label:e.text&&e.text.text||x_(e.shapeKey),shapeKey:e.shapeKey,selected:t.selectedLayerIds.includes(e.id),hovering:e.id===t.hoveringLayerId,onMouseDown:n=>t.canEdit&&r(n,e.id),onMouseOver:()=>t.canEdit&&t.onHoverLayer(e.id),onMouseOut:()=>t.canEdit&&t.onUnhoverLayer()}))))}));class b_ extends s.Component{render(){return n(s).createElement("div",{className:n(vi)("layersbar",this.props.className)},n(s).createElement("h2",null,(0,Sn.tr)("Layers")),n(s).createElement("div",{onMouseDown:this.handleMouseDown},n(s).createElement(y_,{props:this.props,onSelectLayerId:this.handleSelectLayerId,onSortEnd:this.handleSortEnd,pressDelay:1,helperClass:"layersbar--item--moving"})))}constructor(e){super(e),(0,ce.default)(this,"handleMouseDown",(e=>{e.stopPropagation()})),(0,ce.default)(this,"handleSortEnd",(e=>{let t=e.oldIndex,r=e.newIndex;this.props.onMoveLayer(t,r)})),(0,ce.default)(this,"handleSelectLayerId",((e,t)=>{const r=es(e),n=!r&&e.shiftKey;let o=this.props.selectedLayerIds;if(r)o=o.includes(t)?o.filter((e=>e!==t)):o.concat([t]);else if(n){let e=o[o.length-1];if(e){let r=0,n=this.props.layers.filter((n=>{let o=1===r;return n.id!==t&&n.id!==e||(r+=1),1===r||o})).map((e=>e.id));o=o.filter((e=>!n.includes(e))).concat(n)}else o=[t]}else o=[t];this.props.onSelectLayers(o)}))}}b_.propTypes={className:n(d).string,canEdit:n(d).bool.isRequired,layers:n(d).arrayOf(n(d).object.isRequired),selectedLayerIds:n(d).arrayOf(n(d).string.isRequired).isRequired,hoveringLayerId:n(d).string,onSelectLayers:n(d).func.isRequired,onHoverLayer:n(d).func.isRequired,onUnhoverLayer:n(d).func.isRequired};const x_=e=>{const t=Uo[e];return t?t.title.toLowerCase()||t.type:e};var w_=b_;var E_=le((e=>{let t=e.editor.mode===Gt;return{layers:Di(e),selectedLayerIds:t?Ai(e):[],hoveringLayerId:t?e.editor.hoveringLayerId:null,canEdit:t}}),(e=>({onSelectLayers:t=>e(xr(t)),onHoverLayer:t=>e(wr(t)),onUnhoverLayer:()=>e(Er()),onMoveLayer:(t,r)=>e($t(t,r))})))(w_),__=(ce=a("iPbYd"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj"),s=a("7b0kr"),e=>{let t=e.fill,r=void 0===t?"#fff":t,o=e.scale,i=void 0===o?1:o;return n(s).createElement("svg",{width:15*i,height:17*i,viewBox:"0 0 15 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n(s).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 2L9 0H0V17H2V10H7.6L8 12H15V2H9.4Z",fill:r}))});class S_ extends s.Component{render(){const e=this.props,t=e.className,r=(0,e.makeReportUrl)("EditorReportButton");return n(s).createElement("div",{className:n(vi)("reportissue",t)},n(s).createElement(ua,{href:r,target:"_blank",rel:"noopener noreferrer"},(0,Sn.tr)("Any issues?"),n(s).createElement(__,{scale:.75,fill:"#888"})))}}(0,ce.default)(S_,"propTypes",{className:n(d).string,makeReportUrl:n(d).func.isRequired});var O_=le((e=>({makeReportUrl:Yi(e)})))(S_);pe=a("ff4Ef"),vi=a("gwJFa"),d=a("3pr9z"),s=a("7b0kr"),Sn=a("5Xemj");const k_=e=>{if(!e.showTourDemo)return null;const t=(0,pe.default)((0,s.useState)(!1),2),r=t[0],o=t[1];return n(s).createElement("div",{className:n(vi)("tour",e.className,{slideup:r})},n(s).createElement(wi,{fill:"#161616",onClick:t=>{t.preventDefault(),o(!0),window.setTimeout((()=>{e.onClose()}),80)}}),n(s).createElement("p",null,n(s).createElement(_i,{label:"Hurray"},"🎉")," ",(0,Sn.tr)("Welcome to the GoFullPage Editor!")),n(s).createElement(la,{className:"highlight",style:{width:"100%"},onClick:e.onShowDemoModal},(0,Sn.tr)("Watch Demo")))};k_.propTypes={className:n(d).string,showTourDemo:n(d).bool.isRequired,onClose:n(d).func.isRequired,onShowDemoModal:n(d).func.isRequired};var C_=k_;var T_=le((e=>({showTourDemo:e.capture&&e.capture.showTourDemo})),(e=>({onClose:()=>e((ve.default.set("show_editor_tour",!1),{type:Ne,payload:{showTourDemo:!1}})),onShowDemoModal:()=>e(Tr(!0))})))(C_),R_=()=>n(s).createElement("div",{className:"leftsidebar"},n(s).createElement(T_,{className:"leftsidebar-tight"}),n(s).createElement(E_,{className:"leftsidebar-wide"}),n(s).createElement(O_,{className:"leftsidebar-tight"}));Ta=a("2kaV1"),ce=a("iPbYd"),d=a("3pr9z"),s=a("7b0kr"),Pe=a("8DwkQ"),Sn=a("5Xemj"),bi=a("kRWUw"),HE=a("jIppf"),r_=a("eYuPW"),t_=a("3utT5");class P_ extends s.Component{render(){const e=this.props,t=(e.capture,e.hasEdits),r={transition:"opacity 500ms ease-in-out",opacity:this.state.closing?0:1};let o,i,a;const l=(0,Sn.tr)("We’re excited to have you aboard.");return t?(o=(0,Sn.tr)("Thank you for supporting GoFullPage"),i=l,a=(0,Sn.tr)("Continue editing")):(o=(0,Sn.tr)("Welcome to the official GoFullPage Editor!"),i=l,a=(0,Sn.tr)("Get started")),n(s).createElement(n(s).Fragment,null,n(s).createElement(HE.default,{style:r,className:"welcomemodal big-modal",dimBg:!0,width:540},n(s).createElement("h2",{className:"br"},o),n(s).createElement(r_.default,null),n(s).createElement("p",{className:"br15"},i),n(s).createElement("div",null,n(s).createElement("a",{className:"btn br15",href:"#",onClick:this.handleClose},a),n(s).createElement("p",{className:"dim"},(0,Sn.tr)("or")+" ",n(s).createElement("a",{href:Pe.DEMO_URL,target:"_blank",rel:"noopener noreferrer"},(0,Sn.tr)("watch a demo video")))),n(s).createElement("a",{className:"close close-topright",href:"#",onClick:this.handleClose},n(s).createElement(bi.default,{fill:"#CCC"}))),n(s).createElement(t_.default,{style:r}))}constructor(e){super(e),(0,ce.default)(this,"handleClose",(e=>{e.preventDefault(),this.state.closing||(this.setState({closing:!0}),window.setTimeout((()=>{this.props.onClose()}),500))})),this.state={closing:!1}}}(0,ce.default)(P_,"propTypes",{onClose:n(d).func.isRequired,hasEdits:n(d).bool.isRequired}),(0,ce.default)(P_,"defaultProps",{hasEdits:!1});const j_={defaults:{baseLeft:0,baseTop:0,outerWidth:0,outerHeight:0,xOffset:0,yOffset:0,gutterLeft:0,gutterRight:0,gutterTop:0,gutterBottom:0},isDiff:(e,t)=>Object.entries(t).some((t=>{let r=(0,pe.default)(t,2),n=r[0],o=r[1];return e[n]!==o})),create:e=>{let t={};return Object.keys(j_.defaults).forEach((r=>t[r]=e[r])),t}},M_="Editor.computedOffsets",D_=[je.EVT_REFOCUS,je.EVT_MODAL_CLOSE];class L_ extends s.Component{componentDidMount(){const e=this.props.capture,t=e.src,r=e.url,n=e.pixelDensity,o=e.title;t&&this.props.loadBase(t,n,r,o),this._renderCanvas(),window.addEventListener(je.EVT_MOUSE_ZOOM,this._zoomMouseListener,!1),window.addEventListener(je.EVT_CHANGE_ZOOM,this._zoomListener,!1),window.addEventListener("mouseup",this._windowMouseUpListener,!1),this._debouncedResizeEvt=(0,we.debounce)(this._resizeEvt,200),je.RESIZE_EVENTS.forEach((e=>window.addEventListener(e,this._debouncedResizeEvt,!1))),window.setTimeout(this._resizeEvt,60),this._focus(),D_.forEach((e=>window.addEventListener(e,this._focus,!1))),Te.default.addListener(this._userListener),yi.on(je.EVT_ADD_LAYER,this._layerSpotlightListener),(0,Ta.onNotifyText)(this._notifyTextListener);const i=this.props,a=i.undosCount,s=i.redosCount,l=this.props.globalShapeDefaults,u=l.borderDefaults,c=l.templateDefaults;0===a&&0===s&&(u&&u&&u.enabled&&u.enabled.on&&this.props.onEditBorder(!1,u),c&&c.template&&c.template.templateId!==On.BROWSER_TEMPLATE_ID_NONE&&this.props.onEditTemplate(c));const d={animFrameId:null,stop:()=>{window.cancelAnimationFrame(d.animFrameId)},loop:()=>{d.animFrameId=window.requestAnimationFrame((()=>{if(this.state.isMouseDown&&this.nonreactState.lastMouse&&!this.state.isSpacebarDown){let e=this.nonreactState.lastMouse,t=e.pageX,r=e.pageY;const n=this.canvasParentRef.current;t-=n.offsetLeft,r-=n.offsetTop;const o=this._scrollElt(),i=o.offsetWidth,a=o.offsetHeight,s=Math.min(t,i-t),l=Math.min(r,a-r),u=s===t?-1:1,c=l===r?-1:1;if(s<=30){let e=3;s<=15&&(e=10,s<=5&&(e=20)),o.scrollLeft+=e*u}if(l<=30){let e=3;l<=15&&(e=10,l<=5&&(e=20)),o.scrollTop+=e*c}}return d.loop()}))}};d.loop(),this._edgeScroller=d}componentWillUnmount(){var e;window.removeEventListener(je.EVT_MOUSE_ZOOM,this._zoomMouseListener),window.removeEventListener(je.EVT_CHANGE_ZOOM,this._zoomListener),window.removeEventListener("mouseup",this._windowMouseUpListener),je.RESIZE_EVENTS.forEach((e=>window.removeEventListener(e,this._debouncedResizeEvt))),D_.forEach((e=>window.removeEventListener(e,this._focus))),e=M_,window.clearTimeout(zE[e]),window.cancelAnimationFrame(WE[e]),yi.off(je.EVT_ADD_LAYER,this._layerSpotlightListener),(0,Ta.offNotifyText)(this._notifyTextListener),Te.default.removeListener(this._userListener),this._edgeScroller.stop()}componentDidUpdate(){this._resizeEvt(),this.state.computedOffsets===this.nonreactState.throttledComputedOffsets&&(this.nonreactState.throttledComputedOffsets=null,this.handleMouseMove())}_mousePosition(e){let t=e||this.nonreactState.lastMouse,r=t.pageX,n=t.pageY;e&&(this.nonreactState.lastMouse={pageX:r,pageY:n});let o=this._zoomData(),i=(o.zoom,o.pxPerModel),a=this.canvasParentRef.current;return r-=a.offsetLeft-this.nonreactState.scroll.scrollLeft,n-=a.offsetTop-this.nonreactState.scroll.scrollTop,{x:Math.round(r/i-this.state.computedOffsets.xOffset,10),y:Math.round(n/i-this.state.computedOffsets.yOffset,10)}}_selectedLayers(e,t){e=e||this.props;const r=!0===t?e.selectedLayerIds.filter((e=>e!==je.CROP_ID)):e.selectedLayerIds;return this._getLayers(r,e)}_getLayers(e,t){return t=t||this.props,e.map((e=>e===je.MULTI_LAYER_ID?t.multiLayer:e===je.CROP_ID?t.cropLayer:t.layers.find((t=>t.id===e))))}_zoomData(){let e=this.props.zoom;return{zoom:e,pxPerModel:e/100}}_zoomChecker(){let e=this._lastZoomCoords;if(e&&e.newZoom===this.props.zoom){const t=this.props,r=t.browserTemplate,n=t.cropBox,o=t.zoom,i=(0,Mi.getCenterCoords)(r,n,o),a=i.centerX,s=i.centerY,l=o/100,u=this._scrollElt();if(u){const t=Math.floor((e.centerX-a)*l),r=Math.floor((e.centerY-s)*l);t&&(u.scrollLeft+=t),r&&(u.scrollTop+=r)}this._lastZoomCoords=void 0}}_copyPaste(e,t,r,n){const o=[],i=[],a={};e.forEach((e=>a[e.id]=e));this.props.layers.map((e=>a[e.id])).filter((e=>void 0!==e)).reverse().forEach((e=>{const n={};po.forEach((t=>{let r=t.name;e[r]&&(n[r]=e[r])}));const a=(0,$a.getBounds)(e),s=(0,$a.generateLayerId)();i.push(s),o.push(Yt(s,e.shapeKey,a.x1+t,a.y1+r,a.x2+t,a.y2+r,n))})),this.props.onBatchAddLayer(o,!0,n),this.props.onSelectLayers(i)}_renderCanvas(){let e=this.canvasOverlayRef.current;if(e){let t=this,r=t.props,n=t.state;window.cancelAnimationFrame(this._lastAnimFrame),this._lastAnimFrame=window.requestAnimationFrame((()=>KE(e.getContext("2d"),e.width,e.height,n.snapPairsCoords,r.zoom/100,n.computedOffsets.xOffset,n.computedOffsets.yOffset,r.mode,r.cropBox,r.cropLayer,n.mouseSelectBox)))}}render(){const e=this.props,t=this.state,r={editor:!0,"cursor-zoom":t.isZoomMode&&!t.isZoomOut,"cursor-zoomout":t.isZoomMode&&t.isZoomOut,"cursor-move-canvas":t.isSpacebarDown},o=this._zoomData().pxPerModel,i=t.computedOffsets;let a,l,u,c,d=0,p=0;if(e.base&&void 0!==e.base.pixelDensity){const l=i.outerWidth,f=i.outerHeight;d=l*o,p=f*o,a={width:`${l}px`,height:`${f}px`,transform:`scale(${o})`};const h=i.baseLeft,g=i.baseTop,m=i.xOffset,v=i.yOffset;u=n(s).createElement(ba,{base:e.base,baseLeft:h,baseTop:g,border:e.border,browserTemplate:e.browserTemplate,cropBox:e.cropBox,onSetError:e.onSetError,onClick:this.handleClickImageBase});this._isMouseSelect();const y=e.multiLayer?e.multiLayer.id:1===e.selectedLayerIds.length?e.selectedLayerIds[0]:null;c=[];let b=e.layers;e.selectedLayerIds.includes(je.CROP_ID)&&(b=[e.cropLayer].concat(b)),e.multiLayer&&(b=[...b,e.multiLayer]);let x=b.length;for(;0!==x;){x--;let r=b[x];c.push(n(s).createElement(ka,(0,Ue.default)((0,de.default)({key:r.id,spotlight:r.id===t.spotlightLayerId,xOffset:m,yOffset:v,pxPerModel:o,basePixelDensity:e.base.pixelDensity,base:e.base},r),{selected:r.id===y,hovering:r.id===e.hoveringLayerId,secondarySelected:e.selectedLayerIds.includes(r.id),onMouseDown:this.handleLayerMouseDown,onHoverLayer:e.onHoverLayer,onUnhoverLayer:e.onUnhoverLayer,onChangeProperties:e.onChangeProperties})))}t.selectedControlPointId?r[`cursor-${t.selectedControlPointId.toLowerCase()}`]=!0:t.isMouseDown&&e.selectedLayerIds.length&&(r["cursor-dragging"]=!0)}if(e.border&&i.outerWidth>0){const t=i.gutterLeft,r=i.gutterRight,o=i.gutterTop,a=i.gutterBottom,u=i.outerWidth,c=i.outerHeight,d=e.border.padding.padding||0,p=e.border.stroke.width||0,f={position:"absolute",boxSizing:"border-box",left:`${t-d-p}px`,top:`${o-d-p}px`,width:`${u-t-r+2*d+2*p}px`,height:`${c-o-a+2*d+2*p}px`,background:e.border.fill.fill||"transparent",border:`${p}px solid ${e.border.stroke.color||"transparent"}`};l=n(s).createElement("div",{className:"document-border imagebase-border",onClick:this.handlePaddingBorderClick,style:f})}const f=t.cssHeight?{height:t.cssHeight}:null,h={rows:[{text:(0,Sn.tr)("Export Image As…"),shortcut:e.capture.lastDlType!==Pe.DL_TYPE_PDF?Qa({cmd:!0,shift:!0,char:"E"}):void 0,disabled:!e.user.isSubOk,onClick:e=>yi.trigger(je.EVT_DO_EXPORT,{saveAs:!0,dlType:Pe.DL_TYPE_IMAGE})},{text:(0,Sn.tr)("Export PDF As…"),shortcut:e.capture.lastDlType===Pe.DL_TYPE_PDF?Qa({cmd:!0,shift:!0,char:"E"}):void 0,disabled:!e.user.isSubOk,onClick:e=>yi.trigger(je.EVT_DO_EXPORT,{saveAs:!0,dlType:Pe.DL_TYPE_PDF})},{text:(0,Sn.tr)("Copy Image"),shortcut:Qa({cmd:!0,alt:!0,char:"E"}),disabled:!e.user.isSubOk,onClick:e=>yi.trigger(je.EVT_DO_EXPORT,{copy:!0})},{divider:!0},{text:(0,Sn.tr)("Help / Shortcuts"),onClick:t=>e.onToggleHelp(!0)}]};return e.user.isSubOk||(h.title=(0,Sn.tr)("Sign up for Premium in order to export your edits."),h.rows=[{text:(0,Sn.tr)("Sign Up"),onClick:e=>qa()},{text:(0,Sn.tr)("Sign In"),onClick:e=>Wa()},{text:(0,Sn.tr)("Learn more"),onClick:e=>window.open(Pe.PREMIUM_URL,"_blank","noopener")},{text:(0,Sn.tr)("Go back"),onClick:t=>window.location=TE(e.capture)},{divider:!0},...h.rows]),n(s).createElement("div",{className:n(vi)(r),onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseMove:this.handleMouseMove,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onContextMenu:this.handleContextMenu,tabIndex:1,style:f,ref:this.editorRef},n(s).createElement(jE,null),n(s).createElement(R_,null),n(s).createElement("div",{ref:this.canvasParentRef,className:"canvas",onMouseUp:this.handleCanvasMouseUp,onScroll:this.handleScroll},n(s).createElement("div",{className:"canvas-inner-wrap",style:{width:`${d}px`,height:`${p}px`}},n(s).createElement("div",{className:"canvas-inner",style:a},l,u,c)),n(s).createElement("canvas",{ref:this.canvasOverlayRef,className:"canvas-overlay",width:d,height:p,style:{width:`${d}px`,height:`${p}px`}})),n(s).createElement(IE,null),this.props.showHelp?n(s).createElement(p_,{onToggle:this.props.onToggleHelp}):this.props.showUpdateTheme?n(s).createElement(UE,{onToggle:this.props.onToggleUpdateTheme}):this.props.capture.showWelcome?n(s).createElement(P_,{onClose:this.props.onCloseWelcome,hasEdits:this.props.undosCount>0}):this.props.showDemoModal?n(s).createElement(e_,{onToggle:this.props.onToggleDemoModal}):this.props.showHeaderUpdatedModal?n(s).createElement(o_,{onClose:this.props.onCloseHeaderUpdatedModal,triggerShowTourDemo:this.props.triggerShowTourDemo}):null,n(s).createElement(Ki,null),e.notifyText&&n(s).createElement(Ta.default,{text:e.notifyText}),e.clickDialog&&n(s).createElement(XE.default,{pageX:e.clickDialog.pageX,pageY:e.clickDialog.pageY,onClose:e.onCloseClickDialog,onUpdatePosition:(t,r)=>e.onOpenClickDialog(t,r),cfg:h}))}constructor(e){super(e),(0,ce.default)(this,"_notifyTextListener",(e=>{let t=e.text;this.props.setNotifyText(t)})),(0,ce.default)(this,"_userListener",(e=>{this.props.onUpdateLoginState(e)})),(0,ce.default)(this,"_focus",(()=>{this.editorRef.current&&this.editorRef.current.focus()})),(0,ce.default)(this,"_resizeEvt",(()=>{this._hackFixHorizontalScrollBar();let e=!1,t=this.canvasParentRef.current;if(t&&this.props.base&&this.props.base.width){const r=this,n=r.props,o=r.state;let i=(0,Mi.computeBaseOffsets)(n.base.width,n.base.height,n.base.pixelDensity,n.cropBox,n.browserTemplate,n.zoom,n.layers,n.border,Mi.DEFAULT_BASE_OFFSET,t.clientWidth||t.offsetWidth,t.clientHeight||t.offsetHeight);if(j_.isDiff(i,o.computedOffsets)){const t=j_.create(i);this._isMovingLayers()?qE(M_,(e=>{me.default.debug("[Editor.resizeEvt] computedOffsets"),this.nonreactState.throttledComputedOffsets=t,this.setState({computedOffsets:t})}),2e3):(me.default.debug("[Editor.resizeEvt] computedOffsets"),e=!0,this.setState({computedOffsets:t}))}}e||(this._zoomChecker(),this._renderCanvas())})),(0,ce.default)(this,"_hackFixHorizontalScrollBar",(()=>{const e=rs().height;e&&window.innerWidth<1050?this.state.cssHeight||this.setState({cssHeight:window.innerHeight-e+"px"}):this.state.cssHeight&&this.setState({cssHeight:""})})),(0,ce.default)(this,"_layerSpotlightListener",(e=>{e&&e.id&&window.setTimeout((()=>{this.setState({spotlightLayerId:e.id}),window.setTimeout((()=>{this.setState({spotlightLayerId:null})}),300)}),100)})),(0,ce.default)(this,"handleMouseDown",(e=>{if(ts(e))e.preventDefault();else if(this.nonreactState.lastMouseDownCoords={x:e.pageX,y:e.pageY},!e.target.classList.contains("canvas")||!is(e,e.target)){if(this.state.isSpacebarDown)return this._spacebarMouseDown(e);if(this._isMouseSelect()){const t=this._mousePosition(e),r=t.x,n=t.y,o={mouseSelectBox:{x1:r,y1:n,x2:r,y2:n},mouseSelectAdded:[]};e.shiftKey||null===this.state.selectedControlPointId&&0===this.props.selectedLayerIds.length||(this.props.onDeselectLayers(),o.selectedControlPointId=null),this.setState(o)}}})),(0,ce.default)(this,"handleLayerMouseDown",((e,t,r)=>{const n=this.props;if(ts(e))return;if(this.state.isSpacebarDown)return this._spacebarMouseDown(e);if(!this._isMouseSelectOrCrop(t))return;const o=this._mousePosition(e),i=o.x,a=o.y,s=this._getLayers([t])[0],l=n.multiLayer||s;if(l){this.nonreactState.dragDidCopy=!1;let o=n.selectedLayerIds,s=!1;if(t!==je.MULTI_LAYER_ID&&(e.shiftKey?o.includes(t)?r||(o=o.filter((e=>e!==t)),s=!0):o=o.concat([t]):o.includes(t)||(o=[t]),o!==n.selectedLayerIds&&n.onSelectLayers(o)),s)return;return this.setState({isMouseDown:!0,mouseLastX:i,mouseLastY:a,selectedControlPointId:r,mouseSelectBox:null,mouseSelectAdded:null,mouseBox:Bo(l.line||l.box),snapPoints:H_(n.cropBox,n.cropLayer,n.layers,o)})}})),(0,ce.default)(this,"_spacebarMouseDown",(e=>(this.nonreactState.moveCanvasLastPos={x:e.pageX,y:e.pageY},this.setState({isMouseDown:!0})))),(0,ce.default)(this,"handlePaddingBorderClick",(e=>{if(this._isMouseSelect()){const t=this.nonreactState.lastMouseDownCoords,r=t.x,n=t.y;Math.abs(r-e.pageX)<=2&&Math.abs(n-e.pageY)<=2&&(e.preventDefault(),e.stopPropagation(),this.props.onEditBorder(!1,this.props.globalShapeDefaults.borderDefaults))}})),(0,ce.default)(this,"handleClickImageBase",(e=>{if(this._isMouseSelect&&this.props.browserTemplate){const t=this.nonreactState.lastMouseSelectBox;if(!t||t.x1===t.x2&&t.y1===t.y2){const t=this.props.browserTemplate,r=this._mousePosition(e).y;(r<0||t._borders.bottom&&r>t.offsets.fullHeight-t._borders.bottom.size)&&(e.preventDefault(),e.stopPropagation(),this.props.onEditTemplate())}}})),(0,ce.default)(this,"handleMouseUp",(e=>{if(!this.state.isSpacebarDown&&!this._isMouseSelectOrCrop())return;this.nonreactState.lastMouseSelectBox=this.state.mouseSelectBox;let t={isMouseDown:!1,selectedControlPointId:null,mouseSelectBox:null,mouseSelectAdded:null,mouseBox:null,snapPoints:null,snapPairsCoords:null};Object.entries(t).some((e=>{let t=(0,pe.default)(e,2),r=t[0],n=t[1];return this.state[r]!==n}))&&this.setState(t);(0,Me.checkCanDispatch)(e)&&(0,Me.default)(window,je.EVT_MOUSEUP)})),(0,ce.default)(this,"handleMouseMove",(e=>{if(this.state.mouseSelectBox){const t=this,r=t.props,n=t.state,o=this._mousePosition(e),i=o.x,a=o.y,s=Object.assign({},n.mouseSelectBox,{x2:i,y2:a});let l=n.mouseSelectAdded;const u=(0,Mi.findOverlappingLayers)(s,r.layers).map((e=>e.id)),c=u.filter((e=>!r.selectedLayerIds.includes(e))),d=l.filter((e=>!u.includes(e)));return(c.length||d.length)&&r.onSelectLayers(I_(r.selectedLayerIds,c,d)),void this.setState({mouseSelectBox:s,mouseSelectAdded:I_(l,c,d)})}if(this._isMovingCanvas()&&e){const t=this.nonreactState.moveCanvasLastPos,r=t.x,n=t.y,o=e.pageX,i=e.pageY;this.nonreactState.moveCanvasLastPos={x:o,y:i};const a=this._scrollElt();if(a){const e=o-r,t=i-n;a.scrollLeft-=e,a.scrollTop-=t}return}if(!this._isMovingLayers())return;const t=this._mousePosition(e),r=t.x,o=t.y;if(this.nonreactState.isAltPressed&&!this.nonreactState.dragDidCopy&&!this.state.selectedControlPointId){this.nonreactState.dragDidCopy=!0;const e=r-this.state.mouseLastX,t=o-this.state.mouseLastY,n=this._selectedLayers(null,!0);return this._copyPaste(n,e,t,"duplicate_drag"),void this.setState({mouseLastX:r,mouseLastY:o})}this.setState(((e,t)=>{const i={mouseLastX:r,mouseLastY:o},a=r-e.mouseLastX,s=o-e.mouseLastY,l=e.mouseBox,u=e.snapPoints;n(Be).ok(l,"No state.mouseBox in drag!"),n(Be).ok(u,"No state.snapPoints in drag!");const c=this._selectedLayers(t),d=t.multiLayer||c[0],p=Boolean(t.multiLayer),f=Boolean(d.line),h=e.selectedControlPointId,g=Ko(h,f),m=f?this._mouseMoveLine(l,d.line,a,s,h,g,u):this._mouseMoveBox(l,d.box,a,s,h,g,u,Boolean(Uo[d.shapeKey].isSquare),Boolean(d.text&&d.text.autoHeight)),v=m.groupName,y=m.updates,b=m.newMouseBox,x=m.newCtrlId,w=m.snapPairsCoords,E=[];if(p){const e={x:y.x-d.box.x,y:y.y-d.box.y,width:y.width-d.box.width,height:y.height-d.box.height};e.x1=e.x,e.x2=e.x,e.y1=e.y,e.y2=e.y,c.forEach((r=>{const n=r.line?"line":"box",o={};Object.entries(r[n]).forEach((t=>{let r=(0,pe.default)(t,2),n=r[0],i=r[1];o[n]=i+e[n]})),E.push(LE(ni,t.base,r)(r.id,r.shapeKey,n,o,p))}))}else E.push(LE(ni,t.base,d)(d.id,d.shapeKey,v,y,p));return t.onBatchChangeProperties(E),Object.assign(i,{selectedControlPointId:x||h,mouseBox:b,snapPairsCoords:w})}))})),(0,ce.default)(this,"_mouseMoveLine",((e,t,r,n,o,i,a)=>{e=Bo(e);let s=[];Object.entries(i).forEach((t=>{let o=(0,pe.default)(t,2),i=o[0],a=o[1];e[i]+=("dx"===a.dim?r:n)*a.delta}));let l=Bo(e),u=new Set,c=A_(l.x1,l.x2),d=A_(l.y1,l.y2);if(0!==c&&c<15&&0!==d){let e=(0,pe.default)(i.x1?["x1","x2"]:["x2","x1"],2),t=e[0],r=e[1];l[t]=l[r],u.add(t)}else if(0!==d&&d<15&&0!==c){let e=(0,pe.default)(i.y1?["y1","y2"]:["y2","y1"],2),t=e[0],r=e[1];l[t]=l[r],u.add(t)}let p=["x1","x2"],f=["y1","y2"],h=[],g=(0,pe.default)(F_(l),2),m=g[0],v=g[1];return p.some((e=>u.has(e)))||h.push({others:a.xSnaps,snaps:m,snapAttrs:p}),f.some((e=>u.has(e)))||h.push({others:a.ySnaps,snaps:v,snapAttrs:f}),h.length&&(s=B_(l,o,i,h)),{groupName:"line",updates:l,newMouseBox:e,snapPairsCoords:s}})),(0,ce.default)(this,"_mouseMoveBox",((e,t,r,o,i,a,s,l,u)=>{let c=t;e=Bo(e);let d=!1;Object.entries(a).forEach((t=>{let n=(0,pe.default)(t,2),i=n[0],a=n[1];e[i]+=("dx"===a.dim?r:o)*a.delta}));let p=Bo(e),f=(0,pe.default)(U_(p),2),h=f[0],g=f[1],m=[{others:s.xSnaps,snaps:h,snapAttrs:["x","width"]},{others:s.ySnaps,snaps:g,snapAttrs:["y","height"]}],v=B_(p,i,a,m);if(0===p.width||l&&0===p.height){let t=!l&&e.width?e:c,r=t.width,n=t.x;p.width=r,p.x=n,v=v.filter((e=>"y"!==e.adjustAxis))}if(0===p.height||l&&0===p.width){let t=!l&&e.height?e:c,r=t.height,n=t.y;p.height=r,p.y=n,v=v.filter((e=>"x"!==e.adjustAxis))}p.width<0&&(p.width*=-1,p.x-=p.width),p.height<0&&(p.height*=-1,p.y-=p.height);let y={};if(e.width<0&&(Object.assign(y,Go.width),d=!0,e.width*=-1,e.x-=e.width),e.height<0&&(Object.assign(y,Go.height),d=!0,e.height*=-1,e.y-=e.height),d&&(i=i.split("").map((e=>y[e]||e)).join("")),l)if(["width","height"].every((e=>e in a))){let e=p.width,t=p.height;if(e!==t){let r=1,o=t*r,i=e/r,s={dx:o>e?0:o-e,dy:i>t?0:i-t},l=JSON.stringify(a);s.dx&&(n(Be).ok("width"in a,`isSquare no width: ${l}`),s.dx*=a.width.delta),s.dy&&(n(Be).ok("height"in a,`isSquare height ${l}`),s.dy*=a.height.delta),Object.entries(a).forEach((e=>{let t=(0,pe.default)(e,2),r=t[0],n=t[1],o=s[n.dim]*n.delta;p[r]+=o;let i="dx"===n.dim?"y":"x";v=v.filter((e=>e.adjustAxis!==i))}))}}else{"width"in a?p.height=p.width:p.width=p.height}return{groupName:"box",updates:p,newMouseBox:e,newCtrlId:i,snapPairsCoords:v}})),(0,ce.default)(this,"handleKeyDown",(e=>{const t=this.props,r=this.state,n=es(e),o=e.shiftKey;if(18===e.keyCode&&(this.nonreactState.isAltPressed=!0),r.isZoomMode&&(e.metaKey&&n?this._toggleZoomMode():18===e.keyCode&&this.setState({isZoomOut:!0})),n)switch(e.keyCode){case 90:return e.preventDefault(),void(o?t.onRedo():t.onUndo());case 89:return e.preventDefault(),void t.onRedo();case 67:{if(e.shiftKey)return;if(window.getSelection){if(window.getSelection().toString().trim())return}e.preventDefault();const t=this.nonreactState.clipboard;return void Object.assign(t,{offset:0,layers:this._selectedLayers(null,!0)})}case 86:if(e.preventDefault(),this.nonreactState.clipboard.layers){const e=this.nonreactState.clipboard;e.offset+=e.delta,this._copyPaste(e.layers,e.offset,e.offset,"paste_key")}return;case 68:{e.preventDefault();const t=this._selectedLayers(null,!0);return void this._copyPaste(t,50,50,"duplicate_key")}case 69:{e.preventDefault();const t=e.altKey?{copy:!0}:e.shiftKey?{saveAs:!0}:{};return void yi.trigger(je.EVT_DO_EXPORT,t)}case 83:return e.preventDefault(),void(0,Ta.triggerNotifyText)(`😎 ${(0,Sn.tr)("All edits are auto-saved")}`,2e3);case 65:{e.preventDefault();const r=t.layers.map((e=>e.id));return void t.onSelectLayers(r)}case 189:case 187:case 48:{let r;switch(e.preventDefault(),e.keyCode){case 189:r=Aw(t.zoom);break;case 187:r=Nw(t.zoom);break;case 48:r=100}return void(r!==t.zoom&&(this._recordLastZoomCoords(r),t.onChangeZoom(r,r{let n=Boolean(e.line),o=n?"line":"box",s=Bo(e[o]);(n?[{delta:i,attrs:["x1","x2"]},{delta:a,attrs:["y1","y2"]}]:[{delta:i,attrs:["x"]},{delta:a,attrs:["y"]}]).forEach((e=>{let t=e.delta;return e.attrs.forEach((e=>s[e]+=t))})),r.push(LE(ni,t.base,e)(e.id,e.shapeKey,o,s,Boolean(t.multiLayer)))})),t.onBatchChangeProperties(r)}})),(0,ce.default)(this,"handleKeyUp",(e=>{const t=this.props,r=this.state,n=es(e),o=e.shiftKey,i=r.isSpacebarDown,a=n||o||i;if(18===e.keyCode&&(this.nonreactState.isAltPressed=!1),r.isZoomOut&&18===e.keyCode&&this.setState({isZoomOut:!1}),90===e.keyCode&&this.state.isZoomMode)this._toggleZoomMode();else if(i&&32===e.keyCode&&this.setState({isSpacebarDown:!1,isMouseDown:!1}),r.isZoomMode)27!==e.keyCode&&86!==e.keyCode||this._toggleZoomMode();else if(191===e.keyCode&&o||this.props.showHelp&&27===e.keyCode)this.props.onToggleHelp(!this.props.showHelp);else{if(!a){const t=this._isCrop();switch(e.keyCode){case 67:return void(t?this.props.disableCrop():this.props.base&&this.props.base.width&&this.props.enableCrop(this.props.base.width,this.props.base.height));case 27:return void this.props.disableCrop();case 13:if(t)return void this.props.disableCrop();break;case 85:return void this.props.onEditTemplate();case 80:return void this.props.onEditBorder(!0,this.props.globalShapeDefaults.borderDefaults)}}if(this._isMouseSelect()){switch(e.keyCode){case 27:case 13:return void(t.selectedLayerIds.length&&t.onDeselectLayers());case 8:case 46:return void(t.selectedLayerIds&&t.onRemoveLayers(t.selectedLayerIds))}if(!a){const t=e.key?e.key.toUpperCase():String.fromCharCode(e.keyCode),r=Object.values(Uo).find((e=>e.insertKey===t));if(r)return void yi.trigger(je.EVT_INSERT_SHAPE,r)}}}})),(0,ce.default)(this,"handleCanvasMouseUp",(e=>{if(this.state.isZoomMode){const t=this.state.isZoomOut,r=t?Aw(this.props.zoom):Nw(this.props.zoom);if(r!==this.props.zoom){const n=this._mousePosition(e),o=n.x,i=n.y;this._recordLastZoomCoords(r,o,i),this.props.onChangeZoom(r,t,"mouse")}}else;})),(0,ce.default)(this,"_windowMouseUpListener",(e=>{const t=e.pageX||0,r=e.pageY||0;(t<0||t>window.innerWidth||r<0||r>window.innerHeight)&&this.handleMouseUp(e)})),(0,ce.default)(this,"handleContextMenu",(e=>{e.preventDefault();!!e.target.closest(".canvas")&&this.props.onOpenClickDialog(e.pageX-window.scrollX,e.pageY-window.scrollY)})),(0,ce.default)(this,"handleScroll",(e=>{const t=e.currentTarget;this.nonreactState.scroll={scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}})),(0,ce.default)(this,"_isMouseSelect",(()=>!this.state.isSpacebarDown&&!this.state.isZoomMode&&this.props.mode===Gt)),(0,ce.default)(this,"_isCrop",(()=>!this.state.isSpacebarDown&&!this.state.isZoomMode&&this.props.mode===Kt)),(0,ce.default)(this,"_isMouseSelectOrCrop",(e=>e===je.CROP_ID||this.props.selectedLayerIds.includes(je.CROP_ID)?this._isCrop():this._isMouseSelect())),(0,ce.default)(this,"_isMovingLayers",(()=>this.state.isMouseDown&&(this.props.selectedLayerIds.length,!0)&&!this.state.isSpacebarDown)),(0,ce.default)(this,"_isMovingCanvas",(()=>this.state.isMouseDown&&this.state.isSpacebarDown)),(0,ce.default)(this,"_scrollElt",(()=>this.canvasParentRef.current)),(0,ce.default)(this,"_zoomMouseListener",(e=>this._toggleZoomMode())),(0,ce.default)(this,"_toggleZoomMode",(()=>{this.setState(((e,t)=>({isZoomMode:!e.isZoomMode,isZoomOut:!1})))})),(0,ce.default)(this,"_zoomListener",(e=>{if(!this.props.base||!this.props.base.img)return;const t=e.detail.zoom,r=this._recordLastZoomCoords(t);(0,me.default)(`[Editor._zoomListener] ${JSON.stringify(r)}`)})),(0,ce.default)(this,"_recordLastZoomCoords",((e,t,r)=>{const n=this.props.zoom;if(void 0===t||void 0===r){const e=this.props,i=e.browserTemplate,a=e.cropBox;var o;t=(o=(0,Mi.getCenterCoords)(i,a,n)).centerX,r=o.centerY}const i={centerX:t,centerY:r,zoom:n,newZoom:e};return this._lastZoomCoords=i,i})),this.state={computedOffsets:j_.defaults,isSpacebarDown:!1,isZoomMode:!1,isZoomOut:!1,isMouseDown:!1,selectedControlPointId:null,mouseSelectBox:null,mouseSelectAdded:null,mouseLastX:null,mouseLastY:null,mouseBox:null,snapPoints:null,snapPairsCoords:null},this.nonreactState={clipboard:{offset:0,layers:null,delta:50},scroll:{scrollLeft:0,scrollTop:0},throttledComputedOffsets:null,lastMouse:{pageX:0,pageY:0},moveCanvasLastPos:{pageX:0,pageY:0},isAltPressed:!1,dragDidCopy:!0,lastMouseDownCoords:{pageX:0,pageY:0},lastMouseSelectBox:null},this.editorRef=n(s).createRef(),this.canvasParentRef=n(s).createRef(),this.canvasOverlayRef=n(s).createRef()}}const A_=(e,t)=>Math.abs(t-e),N_=(e,t)=>e.push.apply(e,t),I_=(e,t,r)=>(t.length&&(e=e.concat(t)),r.length&&(e=e.filter((e=>!r.includes(e)))),e),H_=(e,t,r,n)=>{let o=[],i=[];if(e){let t=e.width,r=e.height,n=15,a=[-n,0,Math.floor(t/2),t,t+n].map((t=>t+e.x)),s=[-n,0,Math.floor(r/2),r,r+n].map((t=>t+e.y));o.push.apply(o,a.map((e=>({pixel:e,exact:e,axis:"x",otherDims:s})))),i.push.apply(i,s.map((e=>({pixel:e,exact:e,axis:"y",otherDims:a}))))}return r.forEach((e=>{if(n&&n.includes(e.id))return;let t=(0,pe.default)(e.line?F_(e.line,e):U_(e.box,e),2),r=t[0],a=t[1];N_(o,r),N_(i,a)})),{xSnaps:o,ySnaps:i}},F_=(e,t)=>{let r=(e.x1+e.x2)/2,n=(e.y1+e.y2)/2;return[[{pixel:e.x1,exact:e.x1,axis:"x",otherDims:[e.y1],dir:"1",type:"point",layer:t},{pixel:e.x2,exact:e.x2,axis:"x",otherDims:[e.y2],dir:"2",type:"point",layer:t},{pixel:Math.floor(r),exact:r,axis:"x",otherDims:[Math.floor(n)],type:"center-point",layer:t}],[{pixel:e.y1,exact:e.y1,axis:"y",otherDims:[e.x1],dir:"1",type:"point",layer:t},{pixel:e.y2,exact:e.y2,axis:"y",otherDims:[e.x2],dir:"2",type:"point",layer:t},{pixel:Math.floor(n),exact:n,axis:"y",otherDims:[Math.floor(r)],type:"center-point",layer:t}]]},U_=(e,t)=>{let r=e.x+e.width/2,n=e.y+e.height/2,o=e.x+e.width,i=e.y+e.height,a=[e.y,i],s=[e.x,o];return[[{pixel:Math.floor(r),exact:r,axis:"x",otherDims:a,type:"center",layer:t},{pixel:e.x,exact:e.x,axis:"x",otherDims:a,dir:"W",type:"left",layer:t},{pixel:o,exact:o,axis:"x",otherDims:a,dir:"E",type:"right",layer:t}],[{pixel:Math.floor(n),exact:n,axis:"y",otherDims:s,type:"center",layer:t},{pixel:e.y,exact:e.y,axis:"y",dir:"N",otherDims:s,type:"top",layer:t},{pixel:i,exact:i,axis:"y",dir:"S",otherDims:s,type:"bottom",layer:t}]]},B_=(e,t,r,n)=>{let o=[],i={x:0,y:0};return n.forEach((n=>{let a=n.others,s=n.snaps,l=n.snapAttrs;t&&(s=s.filter((e=>e.dir&&-1!==t.indexOf(e.dir))));let u=(c=e=>{return t=t=>A_(e.pixel,t.pixel)<8?[t,e]:void 0,s.reduce(((e,r)=>{let n=t(r);return null!=n&&e.push(n),e}),[]);var t},a.map(c).reduce(((e,t)=>e.concat(t)),[]));var c;let d=null,p=null,f=null,h=null;if(u.forEach((e=>{let t=((e,t)=>{let r=null,n=null,o=null;return e.forEach((e=>{t.forEach((t=>{let i=A_(e,t);(null===r||i{if(r[t]){let n=s*r[t].delta;e[t]+=n}}))}})),o.forEach((e=>{i[e.adjustAxis]&&(e[`${e.adjustAxis}1`]+=i[e.adjustAxis])})),o};var z_=L_;var W_=le((e=>({base:e.base,capture:e.capture,error:e.error.error,browserTemplate:Wi(e),layers:Di(e),zoom:e.editor.zoom,selectedLayerIds:Ai(e),hoveringLayerId:Ni(e),multiLayer:qi(e),mode:e.editor.mode,cropLayer:Ii(e),cropBox:Ui(e),border:Hi(e),showHelp:e.editor.showHelp||!1,showUpdateTheme:e.editor.showUpdateTheme||!1,showDemoModal:e.editor.showDemoModal||!1,showHeaderUpdatedModal:e.editor.showHeaderUpdatedModal||!1,undosCount:e.undos.past.length,redosCount:e.undos.future.length,globalShapeDefaults:$i(e),notifyText:e.editor.notifyText,clickDialog:e.editor.clickDialog,user:Gi(e)})),(e=>({loadBase:(t,r,n,o)=>e(bn(t,r,n,o)),enableCrop:(t,r)=>e(Rr(t,r)),disableCrop:()=>e(Pr()),onChangeZoom:(t,r,n)=>(u.default.event("editor_zoom",r?"out":"in",n,t),e(_r(t))),onSelectLayers:t=>e(xr(t)),onDeselectLayers:()=>e({type:tr,payload:{selectedLayerIds:[]}}),onHoverLayer:t=>e(wr(t)),onUnhoverLayer:()=>e(Er()),onChangeProperties:(t,r,n,o,i)=>e(ni(t,r,n,o,i)),onBatchChangeProperties:t=>e(ri(t)),onBatchAddLayer:(t,r,n)=>(u.default.event("editor_insert","batch",n),e(Vt(t,r))),onRemoveLayers:t=>e({type:Wt,payload:{ids:t}}),onEditBorder:(t,r)=>e(Sr(t,r)),onEditTemplate:t=>e(Or(t)),onSetError:t=>e(_n(t)),onUndo:()=>(u.default.event("editor_undo","undo","keyboard"),e(Gr.ActionCreators.undo())),onRedo:()=>(u.default.event("editor_undo","redo","keyboard"),e(Gr.ActionCreators.redo())),onToggleHelp:t=>e(kr(t)),onToggleUpdateTheme:t=>e(Cr(t)),onToggleDemoModal:t=>e(Tr(t)),setNotifyText:t=>e(jr(t)),onOpenClickDialog:(t,r)=>e(Mr(t,r)),onCloseClickDialog:()=>e({type:vr,payload:{clickDialog:null}}),onCloseHeaderUpdatedModal:()=>(Ce.default.set("didUpdatedHeaderModal",!0).catch((e=>me.default.error(e))),e({type:yr,payload:{showHeaderUpdatedModal:!1}})),triggerShowTourDemo:()=>e((ve.default.set("show_editor_tour",!0),{type:Ie,payload:{showTourDemo:!0}})),onUpdateLoginState:t=>e(He(t))})))(z_);var q_=(0,li.createMuiTheme)({typography:{useNextVariants:!0},overrides:{MuiTooltip:{tooltip:{fontSize:"12px",backgroundColor:"#000000e4"}}}});class V_ extends s.Component{render(){return n(s).createElement(li.MuiThemeProvider,{theme:q_},n(s).createElement(W_,null))}}de=a("jBCXK"),Ue=a("hGGFE"),s=a("7b0kr");var Y_=e=>{let t=e.hasError;const r={};return void 0!==t&&t&&(r.fill="#F00"),n(s).createElement(Ca,(0,Ue.default)((0,de.default)({},r),{scale:3,style:{display:"block",margin:"20vh auto 0",opacity:.2}}))};class $_ extends s.Component{componentDidMount(){this._mounted=!0;const e=(0,_e.getQueryString)();let t=e.id,r=e.e;be().catch((e=>(me.default.error("ERROR CHECKING",e),this._mounted&&this.setState({loaderError:!0}),(0,Ee.sleep)(5e3).then((()=>!1))))).then((e=>e?Dr(t,r).catch((e=>(me.default.error("Caught error loading initial state"),me.default.error(e),e.permanent=!0,{error:{error:e}}))):(window.location=chrome.runtime.getURL("/capture.html"),null))).then((e=>{if((0,me.default)("initial state?",e),null!==e){const t=si(e);this._mounted&&this.setState({store:t})}}))}componentWillUnmount(){this._mounted=!1}render(){return(0,me.default)("[STORE_LOADER.render]",this.state.store),this.state.store?n(s).createElement(h,{store:this.state.store},n(s).createElement(V_,null)):n(s).createElement(Y_,{hasError:this.state.loaderError})}constructor(e){super(e),this.state={store:null,loaderError:!1}}}u.default.pageview(),(0,l.render)(n(s).createElement($_,null),document.getElementById("root"))})(); +//# sourceMappingURL=editor.513d0955.js.map diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.ddbd6582.css b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.ddbd6582.css new file mode 100644 index 0000000..2c7e446 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.ddbd6582.css @@ -0,0 +1,2 @@ +.closelink{width:20px;height:20px;text-align:center;line-height:20px;position:absolute;top:0;right:0}.closelink svg{vertical-align:middle}.errormessage{box-sizing:border-box;width:360px;z-index:1001;color:#900;white-space:pre-line;background:#ffd6d6;border:1px solid #900;border-radius:3px;margin-left:-150px;padding:22px;position:fixed;top:110px;left:50%;box-shadow:1px 2px 3px rgba(0,0,0,.2)}.fpsc-button{box-sizing:border-box;height:40px;color:#fff;white-space:nowrap;cursor:pointer;vertical-align:middle;background:#000;border:1px solid #333;border-radius:5px;padding:0 15px;font-size:16px;line-height:38px;text-decoration:none;display:inline-block}.fpsc-button svg{vertical-align:middle;margin-left:15px}.fpsc-button:hover{color:#ddd;border-color:#666}.fpsc-button:hover svg path{fill:#ddd}.fpsc-button.checkout,.fpsc-button.highlight{color:#fff;background-color:#30c594;border-color:#30c594}.fpsc-button.checkout:hover,.fpsc-button.highlight:hover{color:#fff;background-color:#2fc191;border-color:#2fc191}.fpsc-button.checkout:hover svg path,.fpsc-button.highlight:hover svg path{fill:#fff}.fpsc-button.checkout{height:60px;border:0 #1c7356;border-bottom:2px solid #1c7356;font-weight:700;line-height:60px}.fpsc-button.checkout:hover{border-color:#1c7356}.fpsc-button.checkout:active{border-top:3px solid #30c594;border-bottom-width:1px}.export{position:relative}.export .dl-btn{margin-top:10px;display:block}.export .dl-btn .dl-btn-inner{opacity:1;transition:opacity .25s ease-in-out}.export .dl-btn .dl-btn-inner.is-exporting{opacity:0}.export .dl-btn svg{vertical-align:middle;margin-left:15px}.export .loader{text-align:center;margin-top:-38px;display:block}.export .loader svg{margin-left:0}.export-retrymodal{width:100vw;height:100vh;z-index:101;background:rgba(0,0,0,.15);position:fixed;top:0;left:0}.export-retrymodal .export-retrymodal-inner{width:300px;text-align:center;color:#333;background:#fff;border:1px solid #ddd;margin-left:-150px;padding:40px;position:absolute;top:30vh;left:50%}.export-retrymodal .export-retrymodal-inner .retry-btn{box-shadow:1px 1px 3px rgba(0,0,0,.25)}.exportdropdown{width:268px;width:calc(100% + 80px);position:absolute;bottom:0;right:-40px}.exportdropdown .exportdropdown--content{box-sizing:border-box;width:100%;color:#161616;text-align:center;transform-origin:100% 0;opacity:0;background:#fff;padding:20px 30px 30px;font-size:16px;line-height:26px;transition:transform .15s ease-in-out,opacity .15s ease-in;position:absolute;top:0;left:0;transform:scaleY(0);box-shadow:0 1px 3px rgba(0,0,0,.25)}.exportdropdown .exportdropdown--content.show{opacity:1;transform:scaleY(1)}.exportdropdown .exportdropdown--content .small{font-size:14px;line-height:22px}.exportdropdown .exportdropdown--content p{margin-bottom:20px;display:block}.exportdropdown .exportdropdown--content p:last-child{margin-bottom:0}.exportdropdown .exportdropdown--content .plainlink{color:#999;margin-bottom:10px;text-decoration:none;display:block}.exportdropdown .exportdropdown--content .plainlink:last-child{margin-bottom:0}.exportdropdown .exportdropdown--content .plainlink.underline{text-decoration:underline}.exportdropdown.exportoptionsdropdown .exportdropdown--content{text-align:left;padding:0}.exportdropdown.exportoptionsdropdown .exportdropdown--content ul{margin:0;padding:0;list-style-type:none}.exportdropdown.exportoptionsdropdown .exportdropdown--content li{cursor:pointer;padding:.5em 20px .5em 40px}.exportdropdown.exportoptionsdropdown .exportdropdown--content li.active{background:#9cf}.imagebase{position:absolute}.imagebase-border{outline:1px solid #ddd;box-shadow:0 0 10px rgba(0,0,0,.1)}.controlborder{box-sizing:border-box;border:1px solid #999;position:absolute;top:0;left:0}.controlborder.hover{border-color:#39f}.controlborder.spotlight{border-color:#51cbee}.controlpoint-nw:hover,.controlpoint-se:hover{cursor:nwse-resize}.controlpoint-ne:hover,.controlpoint-sw:hover{cursor:nesw-resize}.controlpoint-n:hover,.controlpoint-s:hover{cursor:ns-resize}.controlpoint-e:hover,.controlpoint-w:hover{cursor:ew-resize}.controlpoint-1,.controlpoint-2{cursor:nwse-resize}.layer{box-sizing:border-box;pointer-events:none;box-shadow:none;transition:box-shadow .3s ease-in-out;position:absolute}.layer .controlpoint,.layer canvas,.layer svg.text,.layer svg *,.layer .draggable{pointer-events:auto}.layer.selected .controlpoint,.layer.selected .controlborder{z-index:2}.layer.spotlight{box-shadow:0 0 10px #51cbee}.dropdown{-webkit-user-select:none;user-select:none;position:relative}.dropdown--title{cursor:default}.dropdown--title svg{vertical-align:middle;margin-left:10px}.dropdown--rows{color:#161616;width:220px;background:#fff;margin:0;padding:0;display:none;position:absolute;overflow-y:auto;box-shadow:0 0 2px rgba(0,0,0,.25)}.dropdown--rows.has-layout-grid{max-height:357px}.dropdown--rows.hover{display:block}.align-right .dropdown--rows{left:auto;right:0}.dropdown--rows ul{margin:0;padding:0;list-style-type:none}.dropdown--rows li{cursor:pointer}.dropdown--rows li:hover{background:#9cf}.dropdown--rows li.no-insert{cursor:default}.dropdown--rows .layout-rows{display:block}.dropdown--rows .layout-rows.divider{border-bottom:1px solid #ddd}.dropdown--rows .layout-rows.divider:last-child{border-bottom:0}.dropdown--rows .layout-rows a{color:#161616;text-decoration:none;display:block}.dropdown--rows .layout-rows.is-links a,.dropdown--rows .layout-rows li{padding:.5em 20px}@media (max-width:1090px){.dropdown--rows .layout-rows.is-links a,.dropdown--rows .layout-rows li{padding-left:10px;padding-right:10px}}.dropdown--rows .layout-rows.is-links li{padding:0}.dropdown--rows .layout-row--icon{position:relative;padding-left:34px!important}.dropdown--rows .layout-row--icon svg,.dropdown--rows .layout-row--icon .insert-icon{position:absolute;top:2px;left:0}.dropdown--rows .layout-grid{flex-wrap:wrap;align-content:flex-start;align-items:stretch;display:flex}.dropdown--rows .layout-grid li{text-align:center;flex:0 auto;padding:4px 0;font-size:24px;line-height:24px}.dropdown--rows .layout-grid li.emoji{box-sizing:border-box;width:32px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,none;overflow:hidden}.dropdown--heading{background:#fff;border-bottom:1px solid #ddd;padding:10px 6px 9px;font-size:14px;position:sticky;top:0}.dropdown--search--wrap ul,.dropdown--heading--wrap ul{margin-top:10px}.dropdown--search{position:sticky;top:0}.dropdown--search .dropdown--search--text{box-sizing:border-box;height:42px;width:100%;border:0;border-bottom:1px solid #ddd;padding:10px 35px 9px 6px;font-size:14px;line-height:22px}.dropdown--search .dropdown--search--text:focus{outline:0}.dropdown--search .closelink{margin-top:-10px;top:50%;right:10px}.dropdown--search--msg{color:#999;border-bottom:1px solid #ddd;padding:0 6px 9px;font-size:14px;font-style:italic}.insertwidget .insert-icon{vertical-align:middle;margin-top:-4px;margin-left:-2px;margin-right:10px}.insertwidget .insert-shortcut{float:right;color:#666}.insertwidget .insert-arrow{position:static!important;top:auto!important;left:auto!important}.colorinput{display:flex}.colorinput--checkbox{flex:0 auto}.colorinput--color{height:20px;background:#fff;flex:auto;margin-left:4px}.colorinput--color .handle{height:20px}.formcontrol{margin:0 0 10px;display:flex}.formcontrol:last-child{margin-bottom:0}.formcontrol--widget--flat-select .formcontrol--labelwrap{display:none}.formcontrol--labelwrap{min-width:50px}.formcontrol--label{color:#666;font-size:14px}.formcontrol--dim{opacity:.5;pointer-events:none}.formcontrol--inputwrap{flex:auto}.formcontrol--input{box-sizing:border-box;width:100%}.formcontrol--input[type=checkbox]{width:auto;border-radius:2px;margin-left:0}.formcontrol--input input[type=checkbox]{border-radius:2px;margin-left:0}.formcontrol--flat-select{border:1px solid #eee;border-radius:4px;position:relative;overflow:hidden}.formcontrol--flat-select ul{margin:0;padding:0;list-style-type:none}.formcontrol--flat-select li{cursor:pointer;background:#fff;border-bottom:1px solid #eee;padding:10px 15px}.formcontrol--flat-select li.active{background:#9cf}.formcontrol--flat-select li:last-child{border-bottom:0}.formcontrol--flat-select:after{content:"";pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0;box-shadow:inset .5px .5px 3px rgba(0,0,0,.2)}.zoomwidget--buttons{height:40px;color:#fff;box-sizing:border-box;text-align:center;white-space:nowrap;background:#000;border:1px solid #333;border-radius:5px;margin-top:10px;line-height:38px;display:block}.zoomwidget--buttons button{color:#fff;vertical-align:middle;font-size:16px}.zoomwidget--buttons button:hover{color:#ddd}.zoomwidget--buttons .text-btn{min-width:42px;cursor:pointer;background:0 0;border:0;margin:0 10px;padding-left:0;padding-right:0}.cursor-zoom .zoomwidget--buttons .text-btn{cursor:inherit}.zoomwidget--buttons .step-btn{width:20px;height:20px;text-align:center;cursor:pointer;background:#333;border:0;border-radius:50%;margin:0;padding:0;font-weight:700;line-height:19px}.zoomwidget--buttons .dec-btn{margin-left:15px}.zoomwidget--buttons .inc-btn{margin-right:15px}.header{box-sizing:border-box;width:100%;height:60px;color:#fff;z-index:100;background:#161616;justify-content:space-between;padding:0 40px;font-size:16px;display:flex;position:absolute;top:0}.header a{color:#fff}.header h1{height:100%;letter-spacing:-.5px;-webkit-font-smoothing:antialiased;white-space:nowrap;margin:0;padding-right:40px;font-weight:300;position:relative}@media (max-width:1090px){.header h1{padding-right:20px}}.header h1 img,.header h1 svg{margin-right:20px}.header h1 .header--ext-back{width:40px;text-align:center;padding-right:40px;position:absolute;top:0;bottom:0;left:-40px}.header h1 .header--ext-back svg{vertical-align:middle;margin:0 0 3px 1px;transition:transform .25s ease-in-out}.header h1 .header--ext-back:hover svg{transform:translate(-2px)}.header .zoomwidget,.header .export{margin-left:20px}@media (max-width:1090px){.header .zoomwidget,.header .export{margin-left:10px}}.header--text{-webkit-font-smoothing:antialiased;line-height:60px;display:block}.header--text.selectable{white-space:nowrap;padding-top:2px;padding-left:20px;padding-right:20px;line-height:58px}@media (max-width:1090px){.header--text.selectable{padding-left:10px;padding-right:10px}}.is-hovering .header--text.selectable,.header--text.selectable:hover{background:#2d2d2d}.header--left,.header--right{justify-content:flex-start;align-items:stretch;display:flex}.header--right{justify-content:flex-end}.headermore .dropdown--rows svg,.headerformatting .dropdown--rows svg{vertical-align:middle;margin-top:-4px;margin-left:-2px;margin-right:10px}.throb{animation-name:throb;animation-duration:3s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}@keyframes throb{0%{transform:scale(1)}65%{transform:scale(1.25)}to{transform:scale(1)}}.will-fade{opacity:0;transition:opacity 1s ease-in}.will-fade.fade-in{opacity:1}.newthrob{vertical-align:text-top;display:inline-block;position:relative}.newthrob .throb{width:8px;height:8px;background:#30c594;border-radius:4px;position:absolute;top:-2px;left:0}.propertieswidget{background:#f9f9f9;margin:0;padding:20px}.propertieswidget:nth-child(2n+1){background:#f1f1f1}.propertieswidget--title{margin:0 0 10px;font-weight:700}.propertieswidget--type--box,.propertieswidget--type--line{flex-wrap:wrap;justify-content:space-between;padding-bottom:10px;display:flex}.propertieswidget--type--box .propertieswidget--title,.propertieswidget--type--line .propertieswidget--title{display:none}.propertieswidget--type--box .formcontrol,.propertieswidget--type--line .formcontrol{width:45%}.propertieswidget--type--box .formcontrol .formcontrol--labelwrap,.propertieswidget--type--line .formcontrol .formcontrol--labelwrap{min-width:24px}.propertieswidget--over{padding-bottom:0;background:#f9f9f9!important}.propertieswidget--over .propertieswidget--title{margin:0}.propertieswidget--under{background:#fff!important}.propertieswidget--under button{height:40px;color:#fff;cursor:pointer;background:#36b6e6;border:0;border-radius:5px;padding:0 20px;font-size:16px;font-weight:600;line-height:40px}.properties{box-sizing:border-box;width:200px;z-index:1;background:#fff;padding:0;top:0;right:0;overflow-y:auto;box-shadow:0 4px 4px rgba(0,0,0,.2)}.themedefaultsmodal .modal-inner{border:1px solid #ddd;box-shadow:1px 1px 8px rgba(0,0,0,.4)}.themedefaultsmodal .td-header{z-index:1;background:#fff;border-bottom:1px solid #ddd;justify-content:space-between;padding:20px;display:flex;position:sticky;top:0}.themedefaultsmodal .td-body{padding:20px}.themedefaultsmodal .shapedefaults{margin-bottom:20px}.themedefaultsmodal .shapedefaults h3{align-items:center;margin-bottom:10px;display:flex}.themedefaultsmodal .shapedefaults h3 svg{margin-right:5px}.themedefaultsmodal .shapedefaults .formcontrol{max-width:300px;position:relative}.themedefaultsmodal .shapedefaults .formcontrol .colorinput--picker{margin-top:-50px!important;right:-240px!important}.modal.demomodal .modal-inner{background:#161616;border:1px solid #161616;flex-direction:column;display:flex}.modal.demomodal .hm-header{color:#fff;border-bottom:1px solid #333;flex:0 auto;justify-content:space-between;align-items:center;padding:20px 40px 14px;display:flex}.modal.demomodal .hm-body{flex:auto;position:relative}.ratio-box{justify-content:center;align-items:flex-start;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.videowrap{height:0;width:100%;position:relative}.videowrap iframe,.videowrap video{width:100%;height:100%;border:0;position:absolute;top:0;bottom:0;left:0;right:0}.editor{height:100vh;box-sizing:border-box;min-width:1050px;background:radial-gradient(#fff 0%,#fff 30%,#ddd 100%);align-content:stretch;align-items:stretch;padding-top:60px;display:flex;position:absolute;top:0;left:0;right:0}.editor.cursor-nw,.editor.cursor-se{cursor:nwse-resize}.editor.cursor-ne,.editor.cursor-sw{cursor:nesw-resize}.editor.cursor-n,.editor.cursor-s{cursor:ns-resize}.editor.cursor-e,.editor.cursor-w{cursor:ew-resize}.editor.cursor-1,.editor.cursor-2{cursor:nwse-resize}.editor.cursor-dragging{cursor:grabbing;cursor:-webkit-grabbing}.editor.cursor-insert .canvas{cursor:crosshair}.editor.cursor-zoom .canvas,.editor.cursor-zoom .zoomwidget,.editor.cursor-zoom .zoomwidget .mouse-btn{cursor:zoom-in}.editor.cursor-zoomout .canvas,.editor.cursor-zoomout .zoomwidget,.editor.cursor-zoomout .zoomwidget .mouse-btn{cursor:zoom-out}.editor.cursor-move-canvas{cursor:grab}.editor .canvas{z-index:1;flex:auto;position:relative;overflow:auto}.editor .properties{flex:0 0 200px}.editor .canvas-inner-wrap{position:relative;top:0;left:0;overflow:hidden}.editor .canvas-inner{min-width:100%;min-height:100%;transform-origin:0 0;position:absolute}.editor .canvas-inner>img{user-drag:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.editor .canvas *{-webkit-user-select:none;user-select:none}.editor .canvas-overlay{pointer-events:none;position:absolute;top:0;left:0}.modal.helpmodal .modal-inner{color:#fff;background:#111}.modal.helpmodal .hm-header{z-index:1;background:#111;border-bottom:1px solid #333;border-radius:10px 10px 0 0;justify-content:space-between;padding:20px 40px 14px;display:flex;position:sticky;top:0}.modal.helpmodal .hm-header h2{font-size:20px;line-height:27px}.modal.helpmodal .hm-header h2 img{vertical-align:top;margin-right:5px}.modal.helpmodal .hm-header .close{width:22px;text-align:right}.modal.helpmodal .hm-header .close svg{vertical-align:middle}.modal.helpmodal .hm-body{justify-content:space-between;padding:20px 40px 40px;display:flex}.modal.helpmodal .hm-body .hm-section{margin-bottom:20px}.modal.helpmodal .hm-body .hm-section:last-child{margin-bottom:0}.modal.helpmodal .hm-body a{color:#ccc;text-decoration:none}.modal.helpmodal .hm-body a:hover,.modal.helpmodal .hm-body a:focus{color:#fff}.modal.helpmodal .hm-body h3{margin:0 0 10px;font-size:16px;font-weight:400;line-height:22px}.modal.helpmodal .hm-body .hm-line{color:#999;justify-content:space-between;padding-bottom:8px;display:flex}.modal.helpmodal .hm-body .hm-line:last-child{padding-bottom:0}.modal.helpmodal .hm-body .hm-line span:last-child{text-align:right;margin-left:10px}.modal.helpmodal .hm-body .hm-line .em{font-style:italic}.modal.helpmodal .hm-body .hm-body-right{padding-bottom:54px;position:relative}.modal.helpmodal .hm-body .hm-extra-note{width:100%;color:#999;text-align:right;position:absolute;bottom:0;left:0}.modal.helpmodal .hm-body .hm-extra-note p{margin:0 0 8px}.modal.helpmodal .hm-body .hm-extra-note p:last-child{margin-bottom:0}.modal.helpmodal .hm-body-left{width:33.3333%}.modal.helpmodal .hm-body-right{width:53.3333%}.layersbarwidget{background:#f1f1f1;border:2px solid transparent;padding:.5em 18px}.layersbarwidget.odd{background:#f9f9f9}.layersbarwidget.hover{border-color:#39f}.layersbarwidget.selected{background:#9cf}.layersbarwidget strong{height:22px;display:block;overflow:hidden}.layersbarwidget.shape-emoji strong{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,none}.layersbar{box-sizing:border-box;background:#fff;overflow-y:auto}.layersbar h2{color:#161616;padding:.5em 20px;font-size:16px;font-weight:400;line-height:30px}.layersbar--items{-webkit-user-select:none;user-select:none;margin:0;padding:0;list-style-type:none}.layersbar--item{cursor:default;display:block}.layersbar--item--moving{cursor:grabbing;-webkit-user-select:none;user-select:none;z-index:2;pointer-events:auto!important}.reportissue{color:#333;padding:10px 20px}.reportissue .fpsc-button{color:#000;text-align:center;background:#fff;border-color:#ccc;display:block}.reportissue .fpsc-button svg path{fill:#888}.reportissue .fpsc-button:hover{color:#151515;border-color:#999}.reportissue .fpsc-button:hover svg path{fill:#888}.tour{text-align:center;transform-origin:0 0;background:#f1f1f1;padding:30px 20px 20px;transition:transform .16s ease-in-out;position:relative}.tour.slideup{transform:scaleY(0)}.tour p{margin-bottom:20px}.tour .closelink{top:5px;right:5px}.leftsidebar{box-sizing:border-box;width:200px;z-index:1;background:#fff;border-right:1px solid #ddd;flex-direction:column;flex:0 0 200px;justify-content:space-between;padding:0;display:flex;top:0;left:0}.leftsidebar .leftsidebar-tight{flex:0 1 0}.leftsidebar .leftsidebar-wide{flex:auto} +/*# sourceMappingURL=editor.ddbd6582.css.map */ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.f0f6fcf8.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.f0f6fcf8.js new file mode 100644 index 0000000..224a9b5 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/editor.f0f6fcf8.js @@ -0,0 +1,602 @@ +(()=>{function t(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}function e(t){return t&&t.__esModule?t.default:t}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};var n={},i={},A=r.parcelRequire60cc;null==A&&((A=function(t){if(t in n)return n[t].exports;if(t in i){var e=i[t];delete i[t];var r={id:t,exports:{}};return n[t]=r,e.call(r.exports,r,r.exports),r.exports}var A=new Error("Cannot find module '"+t+"'");throw A.code="MODULE_NOT_FOUND",A}).register=function(t,e){i[t]=e},r.parcelRequire60cc=A),A.register("fquJx",(function(e,r){var n,i;t(e.exports,"register",(()=>n),(t=>n=t)),t(e.exports,"resolve",(()=>i),(t=>i=t));var A={};n=function(t){for(var e=Object.keys(t),r=0;ri)),t(e.exports,"default",(()=>a));var n=A("fiP9V");const i="7.7",o=new(0,n.default)("migrations",{didFsToDb:{type:"bool",default:!1,help:"finished the fs to db migration"},firstKnownVersion:{type:"string",default:"",help:"record of first remembered version number"},didUpdatedHeaderModal:{type:"bool",default:!1,help:`closed the updated header message modal (affects versions before ${i}`},didUpdatedHeaderThrob:{type:"bool",default:!1,help:`interacted with the "Formatting" header for the updated header throb indicator (affects versions before ${i}`}});var a=o;o.load().then((t=>{t.didFsToDb}))})),A.register("1RQvI",(function(e,r){t(e.exports,"ERR_MSG_IF_PERSISTS",(()=>i)),t(e.exports,"ERR_TITLE_COPY",(()=>o)),t(e.exports,"ERR_MSG_COPY",(()=>a));var n=A("5Xemj");const i=(0,n.tr)("If this persists, please report it via the flag reporting button above."),o=(0,n.tr)("Unable to copy image"),a=(0,n.tr)("Please try again and wait to see the “Image copied to clipboard” message before switching to another window.")})),A.register("i9kVF",(function(e,r){t(e.exports,"GOOGLE_DOCS_MAX_PIXELS",(()=>u)),t(e.exports,"canCopyTextToClipboard",(()=>c)),t(e.exports,"copyTextToClipboard",(()=>l)),t(e.exports,"canCopyBlobToClipboard",(()=>h)),t(e.exports,"copyBlobToClipboard",(()=>p)),t(e.exports,"copyImgEltToClipboard",(()=>g)),t(e.exports,"copyImgToClipboard",(()=>B)),t(e.exports,"fitToMaxPixels",(()=>m));var n=A("8rN6d"),i=A("ff4Ef"),o=A("8bPtr"),a=A("j4JJz"),s=A("6pLLc");const u=25e6;function c(){return!(!navigator.clipboard||!navigator.clipboard.writeText)}function l(t){return f.apply(this,arguments)}function f(){return(f=(0,n.default)((function(t){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,navigator.clipboard.writeText(t)];case 1:return e.sent(),[2]}}))}))).apply(this,arguments)}function h(){return!!(navigator.clipboard&&navigator.clipboard.write&&window.ClipboardItem)}function p(t){return d.apply(this,arguments)}function d(){return(d=(0,n.default)((function(t){var e;return(0,o.__generator)(this,(function(r){switch(r.label){case 0:return e=[new ClipboardItem(Object.defineProperty({},t.type,{value:t,enumerable:!0}))],[4,navigator.clipboard.write(e)];case 1:return r.sent(),[2]}}))}))).apply(this,arguments)}function g(t,e,r,n){return v.apply(this,arguments)}function v(){return(v=(0,n.default)((function(t,e,r,n){var A,a,s;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return[4,x(t,e,r,n)];case 1:return A=i.default.apply(void 0,[o.sent(),2]),a=A[0],s=A[1],[4,p(a)];case 2:return o.sent(),[2,s]}}))}))).apply(this,arguments)}function B(t,e){return w.apply(this,arguments)}function w(){return(w=(0,n.default)((function(t,e){var r,n,A;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return[4,y(t,e)];case 1:return r=i.default.apply(void 0,[o.sent(),2]),n=r[0],A=r[1],[4,p(n)];case 2:return o.sent(),[2,A]}}))}))).apply(this,arguments)}function m(t,e){let r=void 0===e?u:e,n=t.width,i=t.height;if(n*i>r){const e=Math.sqrt(r/(n*i));let A=Math.floor(n*e),o=A*(i/n);const a=document.createElement("canvas");a.width=A,a.height=Math.floor(o);return a.getContext("2d").drawImage(t,0,0,A,o),[a,!0]}return[t,!1]}function y(t,e){return b.apply(this,arguments)}function b(){return(b=(0,n.default)((function(t,e){var r;return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,s.simpleLoadImage)(t)];case 1:return[2,x(r=e.sent(),r.width,r.height)]}}))}))).apply(this,arguments)}function x(t,e,r,n){return C.apply(this,arguments)}function C(){return(C=(0,n.default)((function(t,e,r,n){var A,s,u;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return A=!1,(s=document.createElement("canvas")).width=e,s.height=r,s.getContext("2d").drawImage(t,0,0),n&&n>0&&(u=(0,i.default)(m(s,n),2),s=u[0],A=u[1]),[4,(0,a.canvasToBlob)(s,"image/png")];case 1:return[2,[o.sent(),A]]}}))}))).apply(this,arguments)}})),A.register("94TAZ",(function(r,n){t(r.exports,"default",(()=>l));var i=A("gwJFa"),o=A("3pr9z"),a=A("7b0kr");const s=()=>{},u=t=>{t.preventDefault(),t.stopPropagation()},c=t=>{let r=t.pageX,n=t.pageY,A=t.onClose,o=t.onUpdatePosition,c=t.cfg;const l=(0,a.useRef)(null);let h=!1;const p=r+2,d=n+-10;(0,a.useLayoutEffect)((()=>{const t=window.innerWidth,e=window.innerHeight,i=l.current,A=i.offsetWidth,a=i.offsetHeight;let s=null,u=null;p+A>t&&(s=r-A-4),d+a>e&&(u=e-a-10),null===s&&null===u||(h=!0,o(s||r,u||n))})),(0,a.useEffect)((()=>{if(!h)return document.addEventListener("mousedown",t,!0),document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("keydown",e,!0)};function t(t){f(t,l.current)||A()}function e(t){A()}}),[c]);const g={left:`${p}px`,top:`${d}px`};return e(a).createElement("div",{ref:l,style:g,className:e(i)("clickdialog",{show:!0}),onMouseDown:u,onMouseUp:u,onClick:t=>{u(t),A()}},c.title&&e(a).createElement("div",{className:"clickdialog--row title"},c.title),c.rows.map(((t,r)=>t.divider?e(a).createElement("div",{key:r,className:"clickdialog--row divider"}):!0===t.isTitle?e(a).createElement("div",{key:r,className:"clickdialog--row title title--inner",style:{paddingBottom:0}},t.title):e(a).createElement("div",{key:r,className:"clickdialog--row"},e(a).createElement("button",{className:e(i)("clickdialog--btn",{disabled:t.disabled}),title:t.title,onClick:!t.disabled&&t.onClick||s},e(a).createElement("span",{className:"lhs"},t.text),e(a).createElement("span",{className:"rhs"},t.shortcut))))))};c.propTypes={pageX:e(o).number.isRequired,pageY:e(o).number.isRequired,onClose:e(o).func.isRequired,onUpdatePosition:e(o).func.isRequired,cfg:e(o).shape({title:e(o).string,rows:e(o).arrayOf(e(o).object.isRequired).isRequired})};var l=c;const f=(t,e)=>{const r=t.pageX,n=t.pageY,i=r-window.scrollX,A=n-window.scrollY,o=e.offsetLeft,a=e.offsetTop,s=e.offsetWidth,u=e.offsetHeight;return o<=i&&i<=o+s&&a<=A&&A<=a+u}})),A.register("2kaV1",(function(r,n){t(r.exports,"triggerNotifyText",(()=>h)),t(r.exports,"onNotifyText",(()=>p)),t(r.exports,"offNotifyText",(()=>d)),t(r.exports,"default",(()=>v));var i=A("ff4Ef"),o=A("gwJFa"),a=A("3pr9z"),s=A("7b0kr"),u=A("5Xemj"),c=A("erNYL"),l=A("fueUa");let f=null;const h=(t,e)=>{window.clearTimeout(f),(0,c.trigger)(l.EVT_SET_NOTIFY_TEXT,{text:t}),e&&(f=window.setTimeout((()=>{(0,c.trigger)(l.EVT_SET_NOTIFY_TEXT,{text:""})}),e))};h.clear=()=>h(""),h.copyingImage=()=>h(`💕 ${(0,u.tr)("Copying image, please wait…")}`),h.copiedImage=t=>h(`✅ ${(0,u.tr)("Image copied to clipboard")}${t?"\n\n(Resized to fit Google Doc max size. You can configure this in Options)":""}`,t?6e3:3e3),h.creatingPDF=t=>h(`💕 ${(0,u.tr)("Creating PDF:")} ${Math.round(100*t)}%`),h.createdPDF=()=>h(`✅ ${(0,u.tr)("Created PDF!")}`,3e3);const p=t=>(0,c.on)(l.EVT_SET_NOTIFY_TEXT,t),d=t=>(0,c.off)(l.EVT_SET_NOTIFY_TEXT,t),g=t=>{let r=t.text,n=t.className;const A=(0,i.default)((0,s.useState)(!1),2),a=A[0],u=A[1];return(0,s.useEffect)((()=>{a||window.setTimeout((()=>{u(!0)}))}),[]),e(s).createElement("div",{className:e(o)(n,"notify-snackbar",{show:a})},e(s).createElement("div",{className:"notify-snackbar--inner"},r))};g.propTypes={text:e(a).string.isRequired,className:e(a).string,hideDelay:e(a).number};var v=g})),A.register("1AJdn",(function(r,n){t(r.exports,"TEMPLATE_DATA_BAR",(()=>H)),t(r.exports,"BROWSER_TEMPLATES",(()=>O)),t(r.exports,"BROWSER_TEMPLATE_ID_NONE",(()=>P)),t(r.exports,"createBrowserTemplate",(()=>k));var i=A("ff4Ef"),o=A("4fNEN"),a=A("5Xemj"),s=A("fueUa"),u=A("jFrkp"),c=A("ftdwP"),l=A("lWnzB"),f=A("byz44"),h=A("jak5J"),p=A("5bzxk"),d=A("eu3Xo"),g=A("jJpfh"),v=A("a6X3k"),B=A("8Ct6h"),w=A("gOOEp"),m=A("aujpx"),y=A("f5dNP");const b=s.FONT_FAMILY_SYSTEM_MAC,x=s.FONT_FAMILY_SYSTEM_WINDOWS,C={type:u.BORDER_TYPE_BORDER,size:1,color:"#909090"},E=Object.assign({},C,{size:.5}),N={font:`300 14px ${b}`,fontSize:14,x:143,y:66},F={type:u.BORDER_TYPE_MULTI_BORDER,size:4,borders:[{type:u.BORDER_TYPE_BORDER,size:4,color:"#E2E5E9"},{type:u.BORDER_TYPE_BORDER,size:2,color:"#E7E9ED"},{type:u.BORDER_TYPE_BORDER,size:1,color:"#525252"}]},Q={font:`400 14px ${x}`,fontSize:14,x:143,y:66},U=`400 16px ${b}`,S=(t,e,r,n,A,o)=>{const a=(0,i.default)(e.textOffset,2),s=a[0],u=a[1],c=R(A,e.textStyle.font,r-2*s,o?[{text:o,margin:2*s}]:void 0),l=Math.ceil(20.8);return{size:Math.floor(l*c.length-l/10+2*u),data:{lines:c,lineHeight:l}}},L={title:"Mac OS X",key:"mac",densities:{"1x":{left:C,right:C,bottom:C,top:{type:u.BORDER_TYPE_IMAGE,size:80,text:N,rightText:{ctxStyle:{font:N.font,fillStyle:u.COLOR_HOST,textAlign:"right",textBaseline:"top"},right:21,y:15},multiplier:1,left:{src:f,width:348,height:80},leftSecure:{src:l,width:348,height:80},center:{src:c,width:10,height:80},right:{src:h,width:112,height:80}}},"2x":{left:E,right:E,bottom:E,top:{type:u.BORDER_TYPE_IMAGE,size:79.5,text:N,rightText:{ctxStyle:{font:N.font,fillStyle:u.COLOR_HOST,textAlign:"right",textBaseline:"top"},right:21,y:15},multiplier:2,left:{src:g,width:348,height:79.5},leftSecure:{src:d,width:348,height:79.5},center:{src:p,width:5,height:79.5},right:{src:v,width:111,height:79.5}}}}},_={title:"Windows",key:"windows",densities:{"*":{left:F,right:F,bottom:F,top:{type:u.BORDER_TYPE_IMAGE,size:80,text:Q,rightText:{ctxStyle:{font:Q.font,fillStyle:u.COLOR_HOST,textAlign:"right",textBaseline:"top"},right:115,y:15},multiplier:1,left:{src:m,width:282,height:80},leftSecure:{src:w,width:282,height:80},center:{src:B,width:10,height:80},right:{src:y,width:120,height:80}}}}},H={title:(0,a.tr)("URL on top"),key:"bar",densities:{"*":{top:{type:u.BORDER_TYPE_TEXT_OVERLAY,size:40,sizeFn:S,color:"#000",textOffset:[10,11],textStyle:{fillStyle:"#fff",font:U,textBaseline:"top"}}}}},T={title:(0,a.tr)("URL on bottom"),key:"barBottom",densities:{"*":{bottom:{type:u.BORDER_TYPE_TEXT_OVERLAY,size:40,sizeFn:S,color:"#000",textOffset:[10,11],textStyle:{fillStyle:"#fff",font:U,textBaseline:"top"}}}}},I={title:(0,a.tr)("None"),key:"",densities:{}},O={[L.key]:L,[_.key]:_,[H.key]:H,[T.key]:T,[I.key]:I},P=I.key,k=(t,r,n,i,A,a,s,c)=>{e(o).ok(t===P||t in O,`Unknown browser template id: ${t}`);const l=t&&t!==I.key?O[t]:null;return new(0,u.default)(l,r,n,i,A,a,s,c)},R=(t,e,r,n)=>{const i=document.createElement("canvas").getContext("2d");i.font=e;let A=[],o=t;const a=t=>{let e=0;return t&&(t.text&&(e+=i.measureText(t.text).width),t.margin&&(e+=t.margin)),e};for(;o;){const t=r-(n&&a(n[A.length])||0);let e=M(o,(e=>{const r=i.measureText(o.substring(0,e)).width;return rt?1:0}));0===e&&(e+=1),A.push(o.substring(0,e)),o=o.substring(e)}return A},M=(t,e)=>{let r=0,n=t.length;if(e(n)<=0)return n;let i=0;for(;r<=n;){let t=Math.floor((r+n)/2);e(t)>0?n=t-1:(i=t,r=t+1)}return i}})),A.register("jFrkp",(function(r,n){t(r.exports,"BORDER_TYPE_BORDER",(()=>c)),t(r.exports,"BORDER_TYPE_MULTI_BORDER",(()=>l)),t(r.exports,"BORDER_TYPE_IMAGE",(()=>f)),t(r.exports,"BORDER_TYPE_TEXT_OVERLAY",(()=>h)),t(r.exports,"COLOR_HOST",(()=>g)),t(r.exports,"default",(()=>y));var i=A("8rN6d"),o=A("ff4Ef"),a=A("8bPtr"),s=A("4fNEN"),u=A("hDtYW");const c="border",l="multi-border",f="image",h="text-overlay",p=["left","right","bottom","top"];let d=0;const g="#202020",v="#80868B",B="https://",w=t=>{let e,r=[];if(t.startsWith(B)?(r.push({text:"https",fill:"#5F6368"},{text:"://",fill:v}),e=t.substring(B.length)):t.startsWith("http://")?e=t.substring("http://".length):r.push({text:t,fill:g}),void 0!==e){let t=e.split("/")[0].split(":")[0];r.push({text:t,fill:g});let n=e.substring(t.length);n.indexOf("/")===n.length-1&&(n=n.substring(0,n.length-1)),r.push({text:n,fill:v})}return r},m=(t,e,r,n,i,A)=>{let o=void 0===A?"…":A;t.save();let a=!1;var s=!0,u=!1,c=void 0;try{for(var l,f=e[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){let e=l.value,A=e.text,s=e.fill;t.fillStyle=s;let u=A;if(i)for(;r+t.measureText(u).width>i&&A.length;)a=!0,A=A.substring(0,A.length-1),u=A+o;if(!A)break;if(t.fillText(u,r,n),r+=t.measureText(u).width,a)break}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}t.restore()};var y=class{draw(t){var e=this;return(0,i.default)((function(){var r,n,i,A,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:if(null===e.id)return[2,!1];if(r=++d,e.offsets,n=e._borders,e.url,(i=Object.entries(n).filter((t=>{let e=(0,o.default)(t,2);e[0];return"multi-border"===e[1].type}))).length)for(A=0,s=!0;s;)s=!1,i.forEach((r=>{let n=(0,o.default)(r,2),i=n[0],a=n[1];a.borders[A]&&(s=!0,e._drawBorder(t,i,a.borders[A]))})),A++;return[4,(0,u.serialMap)(Object.entries(n),(n=>{let i=(0,o.default)(n,2),A=i[0],a=i[1];const s=A;if(r!==d)return!1;switch(a.type){case c:return e._drawBorder(t,s,a);case l:return!0;case f:return e._drawImage(t,s,a);case h:return e._drawTextOverlay(t,s,a);default:{const t=new Error(`Unknown browserTemplate type: ${a}`);throw t.name="BrowserTemplateRenderError",t}}}))];case 1:return[2,!1!==a.sent()]}}))}))()}_drawMultiBorder(t,e,r){r.borders.forEach((r=>this._drawBorder(t,e,r)))}_drawBorder(t,e,r){const n=(0,o.default)(this._borderCoords(e),6),i=n[0],A=n[1],a=n[2],s=n[3],u=n[4],c=n[5],l=r.size,f=r.color;return t.save(),f&&(t.strokeStyle=f),t.lineWidth=l,t.beginPath(),t.moveTo(i+l*u,A+l*c),t.lineTo(a+l*u,s+l*c),t.stroke(),t.restore(),!0}_borderCoords(t){const e=this.offsets,r=e.fullHeight,n=e.fullWidth,i=e.top;switch(t){case"left":return[0,i,0,r,.5,0];case"right":return[n,i,n,r,-.5,0];case"bottom":return[0,r,n,r,0,-.5];case"top":return[0,0,n,0,0,.5];default:throw new Error(`Unknown browserTemplate side: ${t}`)}}_drawImage(t,r,n){var A=this;return(0,i.default)((function(){var i,o,c,l,f,h,p,d,g,v,B,y,b,x,C,E,N,F,Q,U,S;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return e(s).ok("top"===r,`Cannot browserTemplate.draw image for "${r}"`),i=n.left,o=n.leftSecure,c=n.center,l=n.right,(f=A.url)&&f.startsWith("https://")&&(i=o),h=n.multiplier||1,p=A.offsets.fullWidth,(d=p-l.width){t.fillText(e,l.x,l.y+r*a),l.width=Math.max(t.measureText(e).width,l.width)})),this.timeText){const e=this.offsets.fullWidth-u;t.textAlign="right",t.fillText(this.timeText,e,c+n)}return this.textCoords=l,!0}constructor(t,e,r,n,i,A,a,s){const u=(null==t?void 0:t.key)||"";if(this.id=u,this.time=a,this.timeText=s||null,u){e=e||"",this.url=e,this.title=A||"";let a=i>=2?"2x":"1x",s=t.densities[a]||t.densities["*"];this._borders=s;let u={};p.forEach((t=>{u[t]=s[t]&&s[t].size||0})),u.fullWidth=u.left+r+u.right,u.fullHeight=u.top+n+u.bottom,Object.entries(s).forEach((t=>{let r=(0,o.default)(t,2),n=r[0],i=r[1];if("text-overlay"===i.type){const t=i.sizeFn(n,i,u.fullWidth,u.fullHeight,e,this.timeText),r=t.size,A=t.data;u[n]=r,s[n]=Object.assign({},i,{size:r,sizeData:A})}})),u.fullWidth=u.left+r+u.right,u.fullHeight=u.top+n+u.bottom,this.offsets=u}else this._borders={},this.offsets={left:0,right:0,bottom:0,top:0,fullWidth:r,fullHeight:n}}}})),A.register("ftdwP",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("fOuRH")})),A.register("8r5Kp",(function(e,r){var n;t(e.exports,"getBundleURL",(()=>n),(t=>n=t));var i={};function A(t){return(""+t).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}n=function(t){var e=i[t];return e||(e=function(){try{throw new Error}catch(e){var t=(""+e.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(t)return A(t[2])}return"/"}(),i[t]=e),e}})),A.register("lWnzB",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("38Qcj")})),A.register("byz44",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("lXgyK")})),A.register("jak5J",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("4sVT8")})),A.register("5bzxk",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("iWy9i")})),A.register("eu3Xo",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("j6y4q")})),A.register("jJpfh",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("cGxYt")})),A.register("a6X3k",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("8SS96")})),A.register("8Ct6h",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("jzuVp")})),A.register("gOOEp",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("6ZHQP")})),A.register("aujpx",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("4arvq")})),A.register("f5dNP",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("9UCbD")})),A.register("fAoww",(function(e,r){t(e.exports,"default",(()=>n)),t(e.exports,"checkCanDispatch",(()=>i));var n=(t,e,r)=>t.dispatchEvent(new CustomEvent(e,void 0===r?void 0:{detail:r}));const i=t=>{if(t.target instanceof HTMLElement){let e=t.target;for(;e;){if(e.dataset.nodispatch)return!1;e=e.parentElement}}return!0}})),A.register("3cJ8u",(function(r,n){t(r.exports,"DEFAULT_BASE_OFFSET",(()=>u)),t(r.exports,"computeBaseOffsets",(()=>c)),t(r.exports,"computeLayersMinMax",(()=>l)),t(r.exports,"getCenterCoords",(()=>h)),t(r.exports,"findOverlappingLayers",(()=>p));var i=A("ff4Ef"),o=A("4fNEN"),a=A("d3Dc4"),s=A("iCPfM");const u=100,c=(t,r,n,A,a,s,c,f,h,p,d)=>{e(o).number(t,"computeBaseOffsets.baseWidth"),e(o).number(r,"computeBaseOffsets.baseHeight"),e(o).number(n,"computeBaseOffsets.basePixelDensity"),e(o).ok(A,"computeBaseOffsets.cropBox"),e(o).ok(a,"computeBaseOffsets.browserTemplate"),e(o).number(s,"computeBaseOffsets.zoom"),e(o).ok(c,"computeBaseOffsets.layers"),null==h&&(h=u),e(o).number(h,"computeBaseOffsets.gutterSize"),null==p&&(p=0),e(o).number(p,"computeBaseOffsets.parentWidthPx"),null==d&&(d=0),e(o).number(d,"computeBaseOffsets.parentWidthPx");let g=s/100,v=p/g,B=d/g;const w={minX:-a.offsets.left,maxX:a.offsets.fullWidth-a.offsets.left,minY:-a.offsets.top,maxY:a.offsets.fullHeight-a.offsets.top},m=l(c,w,-A.x,-A.y),y=m.maxX-m.minX,b=m.maxY-m.minY,x=f?(f.padding.padding||0)+(f.stroke.width||0):0;let C=h+x;v>y+2*C&&(C=(v-y)/2);const E=C,N=h+x;let F=N;B>b+N+F&&(F=B-b-N);const Q=C-m.minX-A.x,U=N-m.minY-A.y,S={baseLeft:Q+A.x-a.offsets.left,baseTop:U+A.y-a.offsets.top,outerWidth:y+C+E,outerHeight:b+N+F,xOffset:Q,yOffset:U,gutterLeft:C,gutterRight:E,gutterTop:N,gutterBottom:F},L=Object.entries(S).filter((t=>{let e=(0,i.default)(t,2),r=(e[0],e[1]);return"number"!=typeof r||isNaN(r)})).map((t=>{let e=(0,i.default)(t,2);return`${e[0]}=${e[1]}`}));return e(o).ok(0===L.length,`[computeBaseOffsets] bad result: ${L.join("; ")}`),S},l=(t,e,r,n)=>{let i=void 0===e?null:e,A=void 0===r?0:r,o=void 0===n?0:n;return t.reduce(((t,e)=>{const r=f(e,A,o);return null===t?r:(r.minXt.maxX&&(t.maxX=r.maxX),r.minYt.maxY&&(t.maxY=r.maxY),t)}),i)},f=(t,e,r)=>{let n=void 0===e?0:e,i=void 0===r?0:r;if((0,s.isLayerBox)(t)){const e=t.box;return{minX:e.x+n,maxX:e.x+e.width+n,minY:e.y+i,maxY:e.y+e.height+i}}if((0,s.isLayerLine)(t)){const e=t.line;return{minX:Math.min(e.x1,e.x2)+n,maxX:Math.max(e.x1,e.x2)+n,minY:Math.min(e.y1,e.y2)+i,maxY:Math.max(e.y1,e.y2)+i}}throw new Error(`Unknown layer: ${JSON.stringify(t)}`)},h=(t,e,r)=>{let n,i,A,o;const a=r/100,s=document.querySelector(".editor .canvas"),u=s&&s.querySelector(".imagebase");if(s&&u){const r=s.scrollLeft/a,c=s.scrollTop/a;A=s.clientWidth/a,o=s.clientHeight/a;const l=u.offsetLeft,f=u.offsetTop;n=r-(l+t.offsets.left-e.x)+A/2,i=c-(f+t.offsets.top-e.y)+o/2}else n=e.x+e.width/2,i=e.y+e.height/2,A=e.width,o=e.height;return n=Math.floor(n),i=Math.floor(i),A=Math.floor(A),o=Math.floor(o),{centerX:n,centerY:i,width:A,height:o}},p=(t,e)=>{const r=Math.min(t.x1,t.x2),n=Math.min(t.y1,t.y2),i=Math.max(t.x1,t.x2),A=Math.max(t.y1,t.y2),o=[{x1:r,y1:n,x2:i,y2:n},{x1:r,y1:n,x2:r,y2:A},{x1:i,y1:n,x2:i,y2:A},{x1:r,y1:A,x2:i,y2:A}],u={x1:r,y1:n,x2:i,y2:A};return e.filter((t=>{const e=(0,s.getBounds)(t);return(0,s.isLayerLine)(t)?o.some((t=>(0,a.doLinesIntersect)(t,e)))||r<=e.x1&&r<=e.x2&&i>=e.x1&&i>=e.x2&&n<=e.y1&&n<=e.y2&&A>=e.y1&&A>=e.y2:(0,a.doBoxesIntersect)(u,e)}))}})),A.register("d3Dc4",(function(e,r){t(e.exports,"doBoxesIntersect",(()=>n)),t(e.exports,"doLinesIntersect",(()=>i));const n=(t,e)=>(t.x1>=e.x1&&t.x1<=e.x2||t.x2>=e.x1&&t.x2<=e.x2||e.x1>=t.x1&&e.x1<=t.x2||e.x2>=t.x1&&e.x2<=t.x2)&&(t.y1>=e.y1&&t.y1<=e.y2||t.y2>=e.y1&&t.y2<=e.y2||e.y1>=t.y1&&e.y1<=t.y2||e.y2>=t.y1&&e.y2<=t.y2),i=(t,e)=>A(t.x1,t.y1,t.x2,t.y2,e.x1,e.y1,e.x2,e.y2),A=(t,e,r,n,i,A,s,u)=>{const c=o(t,e,r,n,i,A),l=o(t,e,r,n,s,u),f=o(i,A,s,u,t,e),h=o(i,A,s,u,r,n);return c!=l&&f!=h||0==c&&a(t,e,i,A,r,n)||0==l&&a(t,e,s,u,r,n)||0==f&&a(i,A,t,e,s,u)||0==h&&a(i,A,r,n,s,u)},o=(t,e,r,n,i,A)=>{const o=(n-e)*(i-r)-(r-t)*(A-n);return 0==o?0:o>0?1:2},a=(t,e,r,n,i,A)=>r<=Math.max(t,i)&&r>=Math.min(t,i)&&n<=Math.max(e,A)&&n>=Math.min(e,A)})),A.register("iCPfM",(function(r,n){t(r.exports,"generateLayerId",(()=>o)),t(r.exports,"isLayerLine",(()=>a)),t(r.exports,"isLayerBox",(()=>s)),t(r.exports,"getBounds",(()=>u));var i=A("7UtM3");const o=()=>e(i)();function a(t){return void 0!==t.line}function s(t){return void 0!==t.box}const u=t=>a(t)?t.line:{x1:t.box.x,y1:t.box.y,x2:t.box.x+t.box.width,y2:t.box.y+t.box.height}})),A.register("7UtM3",(function(t,e){var r=A("ah7or"),n=A("4WhAC");t.exports=function(t,e,i){var A=e&&i||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var o=(t=t||{}).random||(t.rng||r)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e)for(var a=0;a<16;++a)e[A+a]=o[a];return e||n(o)}})),A.register("ah7or",(function(t,e){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);t.exports=function(){return r(n),n}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}})),A.register("4WhAC",(function(t,e){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0,i=r;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}})),A.register("ekuHd",(function(e,r){t(e.exports,"flattenBounds",(()=>o));var n=A("jBCXK"),i=A("hGGFE");const o=t=>{const e=[];return t.forEach((t=>{t&&t.bounds&&t.bounds.forEach((r=>{e.push((0,i.default)((0,n.default)({},r),{url:t.url}))}))})),e}})),A.register("ld3ci",(function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}})),A.register("kRWUw",(function(r,n){t(r.exports,"default",(()=>o));var i=A("7b0kr"),o=t=>{let r=t.fill,n=void 0===r?"#fff":r,A=t.size,o=void 0===A?14:A;return e(i).createElement("svg",{width:o,height:o,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e(i).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 1.4L12.6 0L7 5.6L1.4 0L0 1.4L5.6 7L0 12.6L1.4 14L7 8.4L12.6 14L14 12.6L8.4 7L14 1.4Z",fill:n}))}})),A.register("jIppf",(function(r,n){t(r.exports,"default",(()=>h));var i=A("iPbYd"),o=A("gwJFa"),a=A("3pr9z"),s=A("7b0kr"),u=A("fueUa"),c=A("fAoww"),l=A("kRWUw"),f=A("8vc73");class h extends s.Component{componentDidMount(){window.setTimeout((()=>{this.setState({preAnimate:!1})}),10)}render(){if(!this.props.enabled)return null;let t=this.props,r=t.outsideX,n=t.style;const i=e(o)("modal",this.props.className,{"dim-bg":this.props.dimBg}),A=e(o)("modal-inner",{"pre-animate":this.state.preAnimate}),a=e(o)("close-wrapper",{"pre-animate":this.state.preAnimate});let u;this.props.fullscreen?(n=Object.assign({padding:0,background:"#f1f1d944"},n),u={position:"absolute",top:"20px",bottom:"20px",left:"20px",right:"20px",padding:"0",maxHeight:"100vh"}):u={maxWidth:d(this.props.width)},u.borderRadius=d(this.props.radius);const c=this.props.render?this.props.render({onClose:this.handleClose,parentRef:this.innerRef}):this.props.children;return e(s).createElement("div",{className:i,onClick:this.handleClose,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,style:n},r&&e(s).createElement("div",{className:a,style:u},e(s).createElement("button",{type:"button",className:"close",onClick:this.handleClose},e(s).createElement(f.default,null,"Close"),e(s).createElement(l.default,null))),e(s).createElement("div",{className:A,style:u,onClick:this.handleClickInner,ref:this.innerRef},c))}constructor(t){super(t),(0,i.default)(this,"handleClose",(t=>{t.preventDefault(),t.stopPropagation(),this.props.onToggle&&this.props.onToggle(!1),(0,c.default)(window,u.EVT_MODAL_CLOSE)})),(0,i.default)(this,"handleClickInner",(t=>this._stopPropagation(t))),(0,i.default)(this,"handleMouseDown",(t=>this._stopPropagation(t))),(0,i.default)(this,"handleMouseUp",(t=>this._stopPropagation(t,!0))),(0,i.default)(this,"_stopPropagation",((t,e)=>{void 0!==e&&e&&p(t.target)||t.stopPropagation()})),this.state={preAnimate:!0},this.innerRef=e(s).createRef()}}(0,i.default)(h,"propTypes",{className:e(a).string,style:e(a).object,enabled:e(a).bool.isRequired,dimBg:e(a).bool.isRequired,onToggle:e(a).func,outsideX:e(a).bool.isRequired,width:e(a).number.isRequired,radius:e(a).number.isRequired,fullscreen:e(a).bool.isRequired,render:e(a).func}),(0,i.default)(h,"defaultProps",{enabled:!0,dimBg:!1,style:{},width:360,radius:10,outsideX:!1,fullscreen:!1});const p=t=>{for(;t;){if(t.dataset.modalIgnore)return!0;t=t.parentElement}return!1},d=t=>`${t}px`})),A.register("8vc73",(function(r,n){t(r.exports,"default",(()=>a));var i=A("7b0kr");const o={position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",border:0};var a=t=>{let r=t.children;return e(i).createElement("span",{style:o},r)}})),A.register("eYuPW",(function(r,n){t(r.exports,"default",(()=>l)),t(r.exports,"AnnounceImg",(()=>f));var i=A("7b0kr"),o=A("bHzHt"),a=A("gxBzy"),s=A("docPD"),u=A("kACDx"),c=A("liiow");var l=()=>e(i).createElement(o.default,{className:"br",src:e(a),src2x:e(s),width:187,height:65,alt:"editor emojis"});const f=()=>e(i).createElement(o.default,{className:"br",src:e(u),src2x:e(c),width:187,height:49,alt:"announce emojis"})})),A.register("bHzHt",(function(r,n){t(r.exports,"default",(()=>s));var i=A("3pr9z"),o=A("7b0kr");const a=t=>{const r=Object.assign({},t);return r.src2x&&(r.srcSet=`${r.src2x} 2x`,delete r.src2x),e(o).createElement("img",r)};a.propTypes={src:e(i).string.isRequired,src2x:e(i).string,width:e(i).number,height:e(i).number};var s=a})),A.register("gxBzy",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("l8aKp")})),A.register("docPD",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("6ZP41")})),A.register("kACDx",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("2a6R1")})),A.register("liiow",(function(t,e){t.exports=A("8r5Kp").getBundleURL("3ZrGQ")+A("fquJx").resolve("hwIGx")})),A.register("5kOv9",(function(e,r){t(e.exports,"toPDF",(()=>p));var n=A("8rN6d"),i=A("jBCXK"),o=A("ff4Ef"),a=A("8bPtr"),s=A("j9HeE"),u=A("2z2pA"),c=A("6pLLc"),l=A("8ioZ3");const f="pt",h={[l.PDF_FORMAT_LETTER]:[612,792],[l.PDF_FORMAT_LEGAL]:[612,1008],[l.PDF_FORMAT_A4]:[595.28,841.89],[l.PDF_FORMAT_LETTER_LANDSCAPE]:[792,612],[l.PDF_FORMAT_LEGAL_LANDSCAPE]:[1008,612],[l.PDF_FORMAT_A4_LANDSCAPE]:[841.89,595.28]};function p(t,e,r,n,i,A,o,a){return d.apply(this,arguments)}function d(){return(d=(0,n.default)((function(t,e,r,n,A,p,d,w){var m,y,b,x,C,E,N,F,Q,U,S,L,_,H,T,I,O,P,k,R,M,D,K,z,V,j,q,X,G,W,Y,J,Z,$,tt,et,rt,nt,it,At,ot,at,st;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return d?(d(0),[4,(0,c.sleep)(0)]):[3,2];case 1:a.sent(),a.label=2;case 2:r=r||1,n=n||l.PDF_FORMAT_LETTER,m=n===l.PDF_FORMAT_FULL?0:20,(x=n===l.PDF_FORMAT_FULL)?(C=(0,o.default)(v(t[0].width,t[0].height+(w?w.height:0),r,m),2),y=C[0],b=C[1]):(E=(0,o.default)(h[n],2),y=E[0],b=E[1]),N=[y,b],F=y-2*m,Q=b-2*m,U=new(0,s.jsPDF)({orientation:g(y,b),unit:f,format:N,compress:!0}),S=1,L=1,_=!1,H=t=>t*S,T=1,I=w||null,O=[0],P=0,k=t.reduce(((t,e)=>t+e.height),0),R=t[0]?t[0].width:0,M=(new Date).getTime(),D=0,a.label=3;case 3:if(!(DF&&(S=F/V),L=Math.floor(Q/S)),q=t[D+1],X=0,a.label=4;case 4:return X(t=(0,i.default)({},t),["x","y","width","height"].forEach((e=>{t[e]=t[e]*r})),t))).filter((t=>0!==t.width&&0!==t.height&&t.x+t.width>0&&t.x0&&t.y{let r=t.x,n=t.y,i=t.width,A=t.height,o=t.url;const a=[];for(let t=0;tn&&a.push({pageNumber:t+1,yMin:e,yMax:r})}for(let t=0;t1&&(0===t||t===a.length-1);let f=r,h=n-u,p=i,d=A;if(h<0&&(d+=h,h=0),u+h+A>c&&(d=c-(u+h)),d/A<.2&&d<10&&l)continue;let g=H(f),v=H(h),B=H(p),w=H(d);U.setPage(s),U.link(g+m,v+m,B,w,{url:o})}}))),[2,U.output("blob")]}}))}))).apply(this,arguments)}const g=(t,e)=>e>=t?"portrait":"landscape",v=(t,e,r,n)=>{let i=(0,o.default)([t,e].map((t=>t/r)),2),A=i[0],a=i[1];if(A+2*n>14400){let t=A+2*n-14400,e=(A-t)/A;A-=t,a=Math.floor(a*e)}return a>14400&&(a=14400),[A,a].map((t=>t+2*n))},B=(t,e,r,n,i)=>{let A=r,o=0;const a=e.getImageData(0,n-60,r,60),s=new Int32Array(a.data.buffer);for(let t=0;t<60;t++){const e=r*(60-t-1);let n=1;const i=e+r;for(let t=e+1;t{for(let r=0;r<=24;r+=8){const n=t>>r&255,i=e>>r&255;if(Math.abs(i-n)>4)return!0}return!1}})),A.register("j9HeE",(function(t,e){ +/** @license + * + * jsPDF - PDF Document creation from JavaScript + * Version 2.3.1 Built on 2021-03-08T15:44:11.674Z + * CommitID 00000000 + * + * Copyright (c) 2010-2020 James Hall , https://github.com/MrRio/jsPDF + * 2015-2020 yWorks GmbH, http://www.yworks.com + * 2015-2020 Lukas Holländer , https://github.com/HackbrettXXX + * 2016-2018 Aras Abbasi + * 2010 Aaron Spike, https://github.com/acspike + * 2012 Willow Systems Corporation, willow-systems.com + * 2012 Pablo Hess, https://github.com/pablohess + * 2012 Florian Jenett, https://github.com/fjenett + * 2013 Warren Weckesser, https://github.com/warrenweckesser + * 2013 Youssef Beddad, https://github.com/lifof + * 2013 Lee Driscoll, https://github.com/lsdriscoll + * 2013 Stefan Slonevskiy, https://github.com/stefslon + * 2013 Jeremy Morel, https://github.com/jmorel + * 2013 Christoph Hartmann, https://github.com/chris-rock + * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria + * 2014 James Makes, https://github.com/dollaruw + * 2014 Diego Casorran, https://github.com/diegocr + * 2014 Steven Spungin, https://github.com/Flamenco + * 2014 Kenneth Glassey, https://github.com/Gavvers + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Contributor(s): + * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, + * kim3er, mfo, alnorth, Flamenco + */ +var n=A("l6ARn").Buffer;Object.defineProperty(t.exports,"__esModule",{value:!0});var i,o,a=A("czoXN"),s=function(){return"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:this}(); +/** + * A class to parse color values + * @author Stoyan Stefanov + * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} + * @license Use it if you like it + */ +function u(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6));t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function c(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}i=A("gp0JE"),o=A("8kGJm");var l={log:c,warn:function(t){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):c.call(null,arguments))},error:function(t){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):c(t))}}; +/** + * @license + * Joseph Myers does not specify a particular license for his work. + * + * Author: Joseph Myers + * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js + * + * Modified by: Owen Leong + */function f(t,e){var r=t[0],n=t[1],i=t[2],A=t[3];r=p(r,n,i,A,e[0],7,-680876936),A=p(A,r,n,i,e[1],12,-389564586),i=p(i,A,r,n,e[2],17,606105819),n=p(n,i,A,r,e[3],22,-1044525330),r=p(r,n,i,A,e[4],7,-176418897),A=p(A,r,n,i,e[5],12,1200080426),i=p(i,A,r,n,e[6],17,-1473231341),n=p(n,i,A,r,e[7],22,-45705983),r=p(r,n,i,A,e[8],7,1770035416),A=p(A,r,n,i,e[9],12,-1958414417),i=p(i,A,r,n,e[10],17,-42063),n=p(n,i,A,r,e[11],22,-1990404162),r=p(r,n,i,A,e[12],7,1804603682),A=p(A,r,n,i,e[13],12,-40341101),i=p(i,A,r,n,e[14],17,-1502002290),r=d(r,n=p(n,i,A,r,e[15],22,1236535329),i,A,e[1],5,-165796510),A=d(A,r,n,i,e[6],9,-1069501632),i=d(i,A,r,n,e[11],14,643717713),n=d(n,i,A,r,e[0],20,-373897302),r=d(r,n,i,A,e[5],5,-701558691),A=d(A,r,n,i,e[10],9,38016083),i=d(i,A,r,n,e[15],14,-660478335),n=d(n,i,A,r,e[4],20,-405537848),r=d(r,n,i,A,e[9],5,568446438),A=d(A,r,n,i,e[14],9,-1019803690),i=d(i,A,r,n,e[3],14,-187363961),n=d(n,i,A,r,e[8],20,1163531501),r=d(r,n,i,A,e[13],5,-1444681467),A=d(A,r,n,i,e[2],9,-51403784),i=d(i,A,r,n,e[7],14,1735328473),r=g(r,n=d(n,i,A,r,e[12],20,-1926607734),i,A,e[5],4,-378558),A=g(A,r,n,i,e[8],11,-2022574463),i=g(i,A,r,n,e[11],16,1839030562),n=g(n,i,A,r,e[14],23,-35309556),r=g(r,n,i,A,e[1],4,-1530992060),A=g(A,r,n,i,e[4],11,1272893353),i=g(i,A,r,n,e[7],16,-155497632),n=g(n,i,A,r,e[10],23,-1094730640),r=g(r,n,i,A,e[13],4,681279174),A=g(A,r,n,i,e[0],11,-358537222),i=g(i,A,r,n,e[3],16,-722521979),n=g(n,i,A,r,e[6],23,76029189),r=g(r,n,i,A,e[9],4,-640364487),A=g(A,r,n,i,e[12],11,-421815835),i=g(i,A,r,n,e[15],16,530742520),r=v(r,n=g(n,i,A,r,e[2],23,-995338651),i,A,e[0],6,-198630844),A=v(A,r,n,i,e[7],10,1126891415),i=v(i,A,r,n,e[14],15,-1416354905),n=v(n,i,A,r,e[5],21,-57434055),r=v(r,n,i,A,e[12],6,1700485571),A=v(A,r,n,i,e[3],10,-1894986606),i=v(i,A,r,n,e[10],15,-1051523),n=v(n,i,A,r,e[1],21,-2054922799),r=v(r,n,i,A,e[8],6,1873313359),A=v(A,r,n,i,e[15],10,-30611744),i=v(i,A,r,n,e[6],15,-1560198380),n=v(n,i,A,r,e[13],21,1309151649),r=v(r,n,i,A,e[4],6,-145523070),A=v(A,r,n,i,e[11],10,-1120210379),i=v(i,A,r,n,e[2],15,718787259),n=v(n,i,A,r,e[9],21,-343485551),t[0]=C(r,t[0]),t[1]=C(n,t[1]),t[2]=C(i,t[2]),t[3]=C(A,t[3])}function h(t,e,r,n,i,A){return e=C(C(e,t),C(n,A)),C(e<>>32-i,r)}function p(t,e,r,n,i,A,o){return h(e&r|~e&n,t,e,i,A,o)}function d(t,e,r,n,i,A,o){return h(e&n|r&~n,t,e,i,A,o)}function g(t,e,r,n,i,A,o){return h(e^r^n,t,e,i,A,o)}function v(t,e,r,n,i,A,o){return h(r^(e|~n),t,e,i,A,o)}function B(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)f(n,w(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(f(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,f(n,i),n}function w(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}var m="0123456789abcdef".split("");function y(t){for(var e="",r=0;r<4;r++)e+=m[t>>8*r+4&15]+m[t>>8*r&15];return e}function b(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function x(t){return B(t).map(b).join("")}function C(t,e){return t+e&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e>0),new Array(A+1).join(i)),a=[],s=0;s<256;s++)a[s]=s;var u=0;for(s=0;s<256;s++){var c=a[s];u=(u+c+o.charCodeAt(s))%256,a[s]=a[u],a[u]=c}r=t,n=a}else a=n;var l=e.length,f=0,h=0,p="";for(s=0;s€/\f©þdSiz";let A=(e+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(A,o),this.P=-(1+(255^i)),this.encryptionKey=x(A+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=E(this.encryptionKey,this.padding)}function Q(t){if("object"!=typeof t)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,r,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[r,!!n],i},this.unsubscribe=function(t){for(var r in e)if(e[r][t])return delete e[r][t],0===Object.keys(e[r]).length&&delete e[r],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var A in e[r]){var o=e[r][A];try{o[0].apply(t,n)}catch(t){s.console&&l.error("jsPDF PubSub Error",t.message,t)}o[1]&&i.push(A)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function U(t){if(!(this instanceof U))return new U(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function S(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function L(t,e,r,n,i){if(!(this instanceof L))return new L(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,S.call(this,n,i)}function _(t,e,r,n,i){if(!(this instanceof _))return new _(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,S.call(this,n,i)}function H(t){var e,r="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],c=arguments[3],f=[],h=1,p=16,d="S",g=null;"object"==typeof(t=t||{})&&(r=t.orientation,i=t.unit||i,a=t.format||a,c=t.compress||t.compressPdf||c,null!==(g=t.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),h="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(p=t.floatPrecision),d=t.defaultPathOperation||"S"),f=t.filters||(!0===c?["FlateEncode"]:f),i=i||"mm",r=(""+(r||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,B={},w={internal:{},__private__:{}};w.__private__.PubSub=Q;var m="1.3",y=w.__private__.getPdfVersion=function(){return m};w.__private__.setPdfVersion=function(t){m=t};var b={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};w.__private__.getPageFormats=function(){return b};var x=w.__private__.getPageFormat=function(t){return b[t]};a=a||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},E=C.COMPAT;function N(){this.saveGraphicsState(),st(new Kt(xt,0,0,-xt,0,Br()*xt).toString()+" cm"),this.setFontSize(this.getFontSize()/xt),d="n",E=C.ADVANCED}function S(){this.restoreGraphicsState(),d="S",E=C.COMPAT}var T=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&t!==e&&(t=400==e?"italic"==t?"italic":"normal":700==e&&"italic"!==t?"bold":t+""+e),t};w.advancedAPI=function(t){var e=E===C.COMPAT;return e&&N.call(this),"function"!=typeof t||(t(this),e&&S.call(this)),this},w.compatAPI=function(t){var e=E===C.ADVANCED;return e&&S.call(this),"function"!=typeof t||(t(this),e&&N.call(this)),this},w.isAdvancedAPI=function(){return E===C.ADVANCED};var I,O=function(t){if(E!==C.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},P=w.roundToPrecision=w.__private__.roundToPrecision=function(t,r){var n=e||r;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};I=w.hpf=w.__private__.hpf="number"==typeof p?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return P(t,p)}:"smart"===p?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return P(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return P(t,16)};var k=w.f2=w.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return P(t,2)},R=w.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return P(t,3)},M=w.scale=w.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return E===C.COMPAT?t*xt:E===C.ADVANCED?t:void 0},D=function(t){return M(function(t){return E===C.COMPAT?Br()-t:E===C.ADVANCED?t:void 0}(t))};w.__private__.setPrecision=w.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var K,z="00000000000000000000000000000000",V=w.__private__.getFileId=function(){return z},j=w.__private__.setFileId=function(t){return z=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():z.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Ue=new F(g.userPermissions,g.userPassword,g.ownerPassword,z)),z};w.setFileId=function(t){return j(t),this},w.getFileId=function(){return V()};var q=w.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),A=[r,J(n),"'",J(i),"'"].join("");return["D:",t.getFullYear(),J(t.getMonth()+1),J(t.getDate()),J(t.getHours()),J(t.getMinutes()),J(t.getSeconds()),A].join("")},X=w.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),A=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,A,o,0)},G=w.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=q(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return K=e},W=w.__private__.getCreationDate=function(t){var e=K;return"jsDate"===t&&(e=X(K)),e};w.setCreationDate=function(t){return G(t),this},w.getCreationDate=function(t){return W(t)};var Y,J=w.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},Z=w.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},$=0,tt=[],et=[],rt=0,nt=[],it=[],At=!1,ot=et;w.__private__.setCustomOutputDestination=function(t){At=!0,ot=t};var at=function(t){At||(ot=t)};w.__private__.resetCustomOutputDestination=function(){At=!1,ot=et};var st=w.__private__.out=function(t){return t=t.toString(),rt+=t.length+1,ot.push(t),ot},ut=w.__private__.write=function(t){return st(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},ct=w.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},lt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];w.__private__.getStandardFonts=function(){return lt};var ft=t.fontSize||16;w.__private__.setFontSize=w.setFontSize=function(t){return ft=E===C.ADVANCED?t/xt:t,this};var ht,pt=w.__private__.getFontSize=w.getFontSize=function(){return E===C.COMPAT?ft:ft*xt},dt=t.R2L||!1;w.__private__.setR2L=w.setR2L=function(t){return dt=t,this},w.__private__.getR2L=w.getR2L=function(){return dt};var gt,vt=w.__private__.setZoomMode=function(t){var e=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(t))ht=t;else if(isNaN(t)){if(-1===e.indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');ht=t}else ht=parseInt(t,10)};w.__private__.getZoomMode=function(){return ht};var Bt,wt=w.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');gt=t};w.__private__.getPageMode=function(){return gt};var mt=w.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');Bt=t};w.__private__.getLayoutMode=function(){return Bt},w.__private__.setDisplayMode=w.setDisplayMode=function(t,e,r){return vt(t),mt(e),wt(r),this};var yt={title:"",subject:"",author:"",keywords:"",creator:""};w.__private__.getDocumentProperty=function(t){if(-1===Object.keys(yt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return yt[t]},w.__private__.getDocumentProperties=function(){return yt},w.__private__.setDocumentProperties=w.setProperties=w.setDocumentProperties=function(t){for(var e in yt)yt.hasOwnProperty(e)&&t[e]&&(yt[e]=t[e]);return this},w.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(yt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return yt[t]=e};var bt,xt,Ct,Et,Nt,Ft={},Qt={},Ut=[],St={},Lt={},_t={},Ht={},Tt=null,It=0,Ot=[],Pt=new Q(w),kt=t.hotfixes||[],Rt={},Mt={},Dt=[],Kt=function(t,e,r,n,i,A){if(!(this instanceof Kt))return new Kt(t,e,r,n,i,A);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(A)&&(A=0),this._matrix=[t,e,r,n,i,A]};Object.defineProperty(Kt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Kt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Kt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Kt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Kt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Kt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Kt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Kt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Kt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Kt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Kt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Kt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Kt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Kt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Kt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Kt.prototype,"isIdentity",{get:function(){return 1===this.sx&&(0===this.shy&&(0===this.shx&&(1===this.sy&&(0===this.tx&&0===this.ty))))}}),Kt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(I).join(t)},Kt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,A=t.tx*this.sx+t.ty*this.shx+this.tx,o=t.tx*this.shy+t.ty*this.sy+this.ty;return new Kt(e,r,n,i,A,o)},Kt.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,A=this.ty,o=Math.sqrt(t*t+e*e),a=(t/=o)*r+(e/=o)*n;r-=t*a,n-=e*a;var s=Math.sqrt(r*r+n*n);return a/=s,t*(n/=s)>16&255,n=s>>8&255,i=255&s}if(void 0===n||void 0===A&&r===n&&n===i)if("string"==typeof r)e=r+" "+o[0];else if(2===t.precision)e=k(r/255)+" "+o[0];else e=R(r/255)+" "+o[0];else if(void 0===A||"object"==typeof A){if(A&&!isNaN(A.a)&&0===A.a)return e=["1.","1.","1.",o[1]].join(" ");if("string"==typeof r)e=[r,n,i,o[1]].join(" ");else if(2===t.precision)e=[k(r/255),k(n/255),k(i/255),o[1]].join(" ");else e=[R(r/255),R(n/255),R(i/255),o[1]].join(" ")}else if("string"==typeof r)e=[r,n,i,A,o[2]].join(" ");else if(2===t.precision)e=[k(r),k(n),k(i),k(A),o[2]].join(" ");else e=[R(r),R(n),R(i),R(A),o[2]].join(" ");return e},ee=w.__private__.getFilters=function(){return f},re=w.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ee(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,A=e.length,o=t.objectId,a=function(t){return t};if(null!==g&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(a=Ue.encryptor(o,0));var s={};!0===r&&(r=["FlateEncode"]);var u=t.additionalKeyValues||[],c=(s=void 0!==H.API.processDataByFilters?H.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==s.data.length&&(u.push({key:"Length",value:s.data.length}),!0===i&&u.push({key:"Length1",value:A})),0!=c.length)if(c.split("/").length-1==1)u.push({key:"Filter",value:c});else{u.push({key:"Filter",value:"["+c+"]"});for(var l=0;l>"),0!==s.data.length&&(st("stream"),st(a(s.data)),st("endstream"))},ne=w.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Wt(n,!0),st("<>"),st("endobj");var A=r.join("\n");return E===C.ADVANCED&&(A+="\nQ"),Wt(i,!0),re({data:A,filters:ee(),objectId:i}),st("endobj"),n},ie=w.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=It;t++)Ot[t].objId=Gt(),Ot[t].contentsObjId=Gt();for(t=1;t<=It;t++)r.push(ne({number:t,data:it[t],objId:Ot[t].objId,contentsObjId:Ot[t].contentsObjId,mediaBox:Ot[t].mediaBox,cropBox:Ot[t].cropBox,bleedBox:Ot[t].bleedBox,trimBox:Ot[t].trimBox,artBox:Ot[t].artBox,userUnit:Ot[t].userUnit,rootDictionaryObjId:Jt,resourceDictionaryObjId:Zt}));Wt(Jt,!0),st("<>"),st("endobj"),Pt.publish("postPutPages")},Ae=function(t){t.objectNumber=Xt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[I(t.x),I(t.y),I(t.x+t.width),I(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");re({data:r,additionalKeyValues:e,objectId:t.objectNumber}),st("endobj")},oe=function(t,e){e||(e=21);var r=Xt(),n=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var A={offset:0,color:t[0].color};t.unshift(A)}if(1!=t[t.length-1].offset){var o={offset:1,color:t[t.length-1].color};t.push(o)}for(var a="",s=0,u=0;ut[s+1].offset;)s++;var c=t[s].offset,l=(r-c)/(t[s+1].offset-c),f=t[s].color,h=t[s+1].color;a+=Z(Math.round((1-l)*f[0]+l*h[0]).toString(16))+Z(Math.round((1-l)*f[1]+l*h[1]).toString(16))+Z(Math.round((1-l)*f[2]+l*h[2]).toString(16))}return a.trim()}(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),re({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),st("endobj"),t.objectNumber=Xt(),st("<< /ShadingType "+t.type),st("/ColorSpace /DeviceRGB");var A="/Coords ["+I(parseFloat(t.coords[0]))+" "+I(parseFloat(t.coords[1]))+" ";2===t.type?A+=I(parseFloat(t.coords[2]))+" "+I(parseFloat(t.coords[3])):A+=I(parseFloat(t.coords[2]))+" "+I(parseFloat(t.coords[3]))+" "+I(parseFloat(t.coords[4]))+" "+I(parseFloat(t.coords[5])),st(A+="]"),t.matrix&&st("/Matrix ["+t.matrix.toString()+"]"),st("/Function "+r+" 0 R"),st("/Extend [true true]"),st(">>"),st("endobj")},ae=function(t,e){var r=Gt(),n=Xt();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(I).join(" ")+"]"}),i.push({key:"XStep",value:I(t.xStep)}),i.push({key:"YStep",value:I(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),re({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),st("endobj")},se=function(t){for(var e in t.objectNumber=Xt(),st("<<"),t)switch(e){case"opacity":st("/ca "+k(t[e]));break;case"stroke-opacity":st("/CA "+k(t[e]))}st(">>"),st("endobj")},ue=function(t){Wt(t.resourcesOid,!0),st("<<"),st("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in st("/Font <<"),Ft)Ft.hasOwnProperty(t)&&(!1===v||!0===v&&B.hasOwnProperty(t))&&st("/"+t+" "+Ft[t].objectNumber+" 0 R");st(">>")}(),function(){if(Object.keys(St).length>0){for(var t in st("/Shading <<"),St)St.hasOwnProperty(t)&&St[t]instanceof L&&St[t].objectNumber>=0&&st("/"+t+" "+St[t].objectNumber+" 0 R");Pt.publish("putShadingPatternDict"),st(">>")}}(),function(t){if(Object.keys(St).length>0){for(var e in st("/Pattern <<"),St)St.hasOwnProperty(e)&&St[e]instanceof w.TilingPattern&&St[e].objectNumber>=0&&St[e].objectNumber>")}}(t.objectOid),function(){if(Object.keys(_t).length>0){var t;for(t in st("/ExtGState <<"),_t)_t.hasOwnProperty(t)&&_t[t].objectNumber>=0&&st("/"+t+" "+_t[t].objectNumber+" 0 R");Pt.publish("putGStateDict"),st(">>")}}(),function(){for(var t in st("/XObject <<"),Rt)Rt.hasOwnProperty(t)&&Rt[t].objectNumber>=0&&st("/"+t+" "+Rt[t].objectNumber+" 0 R");Pt.publish("putXobjectDict"),st(">>")}(),st(">>"),st("endobj")},ce=function(){var t=[];!function(){for(var t in Ft)Ft.hasOwnProperty(t)&&(!1===v||!0===v&&B.hasOwnProperty(t))&&(e=Ft[t],r=void 0,r=function(t,e){return-1!==t.indexOf(" ")?"("+he(t,e)+")":he(t,e)},Pt.publish("putFont",{font:e,out:st,newObject:Xt,putStream:re,pdfEscapeWithNeededParanthesis:r}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xt(),st("<<"),st("/Type /Font"),st("/BaseFont /"+r(e.postScriptName)),st("/Subtype /Type1"),"string"==typeof e.encoding&&st("/Encoding /"+e.encoding),st("/FirstChar 32"),st("/LastChar 255"),st(">>"),st("endobj")));var e,r}(),function(){var t;for(t in _t)_t.hasOwnProperty(t)&&se(_t[t])}(),function(){for(var t in Rt)Rt.hasOwnProperty(t)&&Ae(Rt[t])}(),function(t){var e;for(e in St)St.hasOwnProperty(e)&&(St[e]instanceof L?oe(St[e]):St[e]instanceof _&&ae(St[e],t))}(t),Pt.publish("putResources"),t.forEach(ue),ue({resourcesOid:Zt,objectOid:Number.MAX_SAFE_INTEGER}),Pt.publish("postPutResources")},le=function(t){Qt[t.fontName]=Qt[t.fontName]||{},Qt[t.fontName][t.fontStyle]=t.id},fe=function(t,e,r,n,i){var A={id:"F"+(Object.keys(Ft).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Pt.publish("addFont",{font:A,instance:this}),Ft[A.id]=A,le(A),A.id},he=w.__private__.pdfEscape=w.pdfEscape=function(t,e){return function(t,e){var r,n,i,A,o,a,s,u,c;if(i=(e=e||{}).sourceEncoding||"Unicode",o=e.outputEncoding,(e.autoencode||o)&&Ft[bt].metadata&&Ft[bt].metadata[i]&&Ft[bt].metadata[i].encoding&&(A=Ft[bt].metadata[i].encoding,!o&&Ft[bt].encoding&&(o=Ft[bt].encoding),!o&&A.codePages&&(o=A.codePages[0]),"string"==typeof o&&(o=A[o]),o)){for(s=!1,a=[],r=0,n=t.length;r>8&&(s=!0);t=a.join("")}for(r=t.length;void 0===s&&0!==r;)t.charCodeAt(r-1)>>8&&(s=!0),r--;if(!s)return t;for(a=e.noBOM?[]:[254,255],r=0,n=t.length;r>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(c),a.push(u-(c<<8))}return String.fromCharCode.apply(void 0,a)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=w.__private__.beginPage=function(t){it[++It]=[],Ot[It]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},ve(It),at(it[Y])},de=function(t,e){var n,i,A;switch(r=e||r,"string"==typeof t&&(n=x(t.toLowerCase()),Array.isArray(n)&&(i=n[0],A=n[1])),Array.isArray(t)&&(i=t[0]*xt,A=t[1]*xt),isNaN(i)&&(i=a[0],A=a[1]),(i>14400||A>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),A=Math.min(14400,A)),a=[i,A],r.substr(0,1)){case"l":A>i&&(a=[A,i]);break;case"p":i>A&&(a=[A,i])}pe(a),Ge(Xe),st(rr),0!==sr&&st(sr+" J"),0!==ur&&st(ur+" j"),Pt.publish("addPage",{pageNumber:It})},ge=function(t){t>0&&t<=It&&(it.splice(t,1),Ot.splice(t,1),It--,Y>It&&(Y=It),this.setPage(Y))},ve=function(t){t>0&&t<=It&&(Y=t)},Be=w.__private__.getNumberOfPages=w.getNumberOfPages=function(){return it.length-1},we=function(t,e,r){var n,i=void 0;return r=r||{},t=void 0!==t?t:Ft[bt].fontName,e=void 0!==e?e:Ft[bt].fontStyle,n=t.toLowerCase(),void 0!==Qt[n]&&void 0!==Qt[n][e]?i=Qt[n][e]:void 0!==Qt[t]&&void 0!==Qt[t][e]?i=Qt[t][e]:!1===r.disableWarning&&l.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Qt.times[e])&&(i=Qt.times.normal),i},me=w.__private__.putInfo=function(){var t=Xt(),e=function(t){return t};for(var r in null!==g&&(e=Ue.encryptor(t,0)),st("<<"),st("/Producer ("+he(e("jsPDF "+H.version))+")"),yt)yt.hasOwnProperty(r)&&yt[r]&&st("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+he(e(yt[r]))+")");st("/CreationDate ("+he(e(K))+")"),st(">>"),st("endobj")},ye=w.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Jt;switch(Xt(),st("<<"),st("/Type /Catalog"),st("/Pages "+e+" 0 R"),ht||(ht="fullwidth"),ht){case"fullwidth":st("/OpenAction [3 0 R /FitH null]");break;case"fullheight":st("/OpenAction [3 0 R /FitV null]");break;case"fullpage":st("/OpenAction [3 0 R /Fit]");break;case"original":st("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+ht;"%"===r.substr(r.length-1)&&(ht=parseInt(ht)/100),"number"==typeof ht&&st("/OpenAction [3 0 R /XYZ null null "+k(ht)+"]")}switch(Bt||(Bt="continuous"),Bt){case"continuous":st("/PageLayout /OneColumn");break;case"single":st("/PageLayout /SinglePage");break;case"two":case"twoleft":st("/PageLayout /TwoColumnLeft");break;case"tworight":st("/PageLayout /TwoColumnRight")}gt&&st("/PageMode /"+gt),Pt.publish("putCatalog"),st(">>"),st("endobj")},be=w.__private__.putTrailer=function(){st("trailer"),st("<<"),st("/Size "+($+1)),st("/Root "+$+" 0 R"),st("/Info "+($-1)+" 0 R"),null!==g&&st("/Encrypt "+Ue.oid+" 0 R"),st("/ID [ <"+z+"> <"+z+"> ]"),st(">>")},xe=w.__private__.putHeader=function(){st("%PDF-"+m),st("%ºß¬à")},Ce=w.__private__.putXRef=function(){var t="0000000000";st("xref"),st("0 "+($+1)),st("0000000000 65535 f ");for(var e=1;e<=$;e++){"function"==typeof tt[e]?st((t+tt[e]()).slice(-10)+" 00000 n "):void 0!==tt[e]?st((t+tt[e]).slice(-10)+" 00000 n "):st("0000000000 00000 n ")}},Ee=w.__private__.buildDocument=function(){$=0,rt=0,et=[],tt=[],nt=[],Jt=Gt(),Zt=Gt(),at(et),Pt.publish("buildDocument"),xe(),ie(),function(){Pt.publish("putAdditionalObjects");for(var t=0;t"),st("/O <"+Ue.toHexString(Ue.O)+">"),st("/P "+Ue.P),st(">>"),st("endobj")),me(),ye();var t=rt;return Ce(),be(),st("startxref"),st(""+t),st("%%EOF"),at(it[Y]),et.join("\n")},Ne=w.__private__.getBlob=function(t){return new Blob([ct(t)],{type:"application/pdf"})},Fe=w.output=w.__private__.output=(qt=function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return Ee();case"save":w.save(e.filename);break;case"arraybuffer":return ct(Ee());case"blob":return Ne(Ee());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Ne(Ee()))||void 0;l.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=Ee();try{r=o(n)}catch(t){r=o(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+e.filename+";base64,"+r;case"datauri":case"dataurl":return s.document.location.href=this.output("datauristring",e);default:return null}},qt.foo=function(){try{return qt.apply(this,arguments)}catch(r){var t=r.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var e="Error in function "+t.split("\n")[0].split("<")[0]+": "+r.message;if(!s.console)throw new Error(e);s.console.error(e,r),s.alert&&alert(e)}},qt.foo.bar=qt,qt.foo),Qe=function(t){return!0===Array.isArray(kt)&&kt.indexOf(t)>-1};switch(i){case"pt":xt=1;break;case"mm":xt=72/25.4;break;case"cm":xt=72/2.54;break;case"in":xt=72;break;case"px":xt=1==Qe("px_scaling")?.75:96/72;break;case"pc":case"em":xt=12;break;case"ex":xt=6;break;default:throw new Error("Invalid unit: "+i)}var Ue=null;G(),j();var Se=w.__private__.getPageInfo=w.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Ot[t].objId,pageNumber:t,pageContext:Ot[t]}},Le=w.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in Ot)if(Ot[e].objId===t)break;return Se(e)},_e=w.__private__.getCurrentPageInfo=w.getCurrentPageInfo=function(){return{objId:Ot[Y].objId,pageNumber:Y,pageContext:Ot[Y]}};w.addPage=function(){return de.apply(this,arguments),this},w.setPage=function(){return ve.apply(this,arguments),at.call(this,it[Y]),this},w.insertPage=function(t){return this.addPage(),this.movePage(Y,t),this},w.movePage=function(t,e){var r,n;if(t>e){r=it[t],n=Ot[t];for(var i=t;i>e;i--)it[i]=it[i-1],Ot[i]=Ot[i-1];it[e]=r,Ot[e]=n,this.setPage(e)}else if(t0&&("string"==typeof t?t=h.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(h.splitTextToSize(e,c))}),[]))),A={text:t,x:e,y:r,options:n,mutex:{pdfEscape:he,activeFontKey:bt,fonts:Ft,activeFontSize:ft}},Pt.publish("preProcessText",A),t=A.text,a=(n=A.options).angle,f instanceof Kt==!1&&a&&"number"==typeof a){a*=Math.PI/180,0===n.rotationDirection&&(a=-a),E===C.ADVANCED&&(a=-a);var _=Math.cos(a),H=Math.sin(a);f=new Kt(_,H,-H,_,0,0)}else a&&a instanceof Kt&&(f=a);E!==C.ADVANCED||f||(f=Vt),void 0!==(u=n.charSpace||or)&&(g+=I(M(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0));n.lang;var T=-1,P=void 0!==n.renderingMode?n.renderingMode:n.stroke,k=h.internal.getCurrentPageInfo().pageContext;switch(P){case 0:case!1:case"fill":T=0;break;case 1:case!0:case"stroke":T=1;break;case 2:case"fillThenStroke":T=2;break;case 3:case"invisible":T=3;break;case 4:case"fillAndAddForClipping":T=4;break;case 5:case"strokeAndAddPathForClipping":T=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":T=6;break;case 7:case"addToPathForClipping":T=7}var R=void 0!==k.usedRenderingMode?k.usedRenderingMode:-1;-1!==T?g+=T+" Tr\n":-1!==R&&(g+="0 Tr\n"),-1!==T&&(k.usedRenderingMode=T),s=n.align||"left";var D,K=ft*v,z=h.internal.pageSize.getWidth(),V=Ft[bt];u=n.charSpace||or,c=n.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},n.flags);var j=[];if("[object Array]"===Object.prototype.toString.call(t)){var q;o=y(t),"left"!==s&&(D=o.map((function(t){return h.getStringUnitWidth(t,{font:V,charSpace:u,fontSize:ft,doKerning:!1})*ft/w})));var X,G=0;if("right"===s){e-=D[0],t=[],U=o.length;for(var W=0;W":")"),tt=parseFloat(o[ot][1]),et=parseFloat(o[ot][2]);break;case 0:rt=(d?"<":"(")+o[ot]+(d?">":")"),tt=Ze(e),et=$e(r)}void 0!==j&&void 0!==j[ot]&&(it=j[ot]+" Tw\n"),0===ot?t.push(it+At(tt,et,f)+rt):0===nt?t.push(it+rt):1===nt&&t.push(it+At(tt,et,f)+rt)}t=0===nt?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var at="BT\n/";return at+=bt+" "+ft+" Tf\n",at+=I(ft*v)+" TL\n",at+=ir+"\n",at+=g,at+=t,st(at+="ET"),B[bt]=!0,h};var He=w.__private__.clip=w.clip=function(t){return st("evenodd"===t?"W*":"W"),this};w.clipEvenOdd=function(){return He("evenodd")},w.__private__.discardPath=w.discardPath=function(){return st("n"),this};var Te=w.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};w.__private__.setDefaultPathOperation=w.setDefaultPathOperation=function(t){return Te(t)&&(d=t),this};var Ie=w.__private__.getStyle=w.getStyle=function(t){var e=d;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},Oe=w.close=function(){return st("h"),this};w.stroke=function(){return st("S"),this},w.fill=function(t){return Pe("f",t),this},w.fillEvenOdd=function(t){return Pe("f*",t),this},w.fillStroke=function(t){return Pe("B",t),this},w.fillStrokeEvenOdd=function(t){return Pe("B*",t),this};var Pe=function(t,e){"object"==typeof e?Me(e,t):st(t)},ke=function(t){null===t||E===C.ADVANCED&&void 0===t||(t=Ie(t),st(t))};function Re(t,e,r,n,i){var A=new _(e||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);A.stream=this.stream;var o=t+"$$"+this.cloneIndex+++"$$";return jt(o,A),A}var Me=function(t,e){var r=Lt[t.key],n=St[r];if(n instanceof L)st("q"),st(De(e)),n.gState&&w.setGState(n.gState),st(t.matrix.toString()+" cm"),st("/"+r+" sh"),st("Q");else if(n instanceof _){var i=new Kt(1,0,0,-1,0,Br());t.matrix&&(i=i.multiply(t.matrix||Vt),r=Re.call(n,t.key,t.boundingBox,t.xStep,t.yStep,i).id),st("q"),st("/Pattern cs"),st("/"+r+" scn"),n.gState&&w.setGState(n.gState),st(e),st("Q")}},De=function(t){switch(t){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Ke=w.moveTo=function(t,e){return st(I(M(t))+" "+I(D(e))+" m"),this},ze=w.lineTo=function(t,e){return st(I(M(t))+" "+I(D(e))+" l"),this},Ve=w.curveTo=function(t,e,r,n,i,A){return st([I(M(t)),I(D(e)),I(M(r)),I(D(n)),I(M(i)),I(D(A)),"c"].join(" ")),this};w.__private__.line=w.line=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Te(i))throw new Error("Invalid arguments passed to jsPDF.line");return E===C.COMPAT?this.lines([[r-t,n-e]],t,e,[1,1],i||"S"):this.lines([[r-t,n-e]],t,e,[1,1]).stroke()},w.__private__.lines=w.lines=function(t,e,r,n,i,A){var o,a,s,u,c,l,f,h,p,d,g,v;if("number"==typeof t&&(v=r,r=e,e=t,t=v),n=n||[1,1],A=A||!1,isNaN(e)||isNaN(r)||!Array.isArray(t)||!Array.isArray(n)||!Te(i)||"boolean"!=typeof A)throw new Error("Invalid arguments passed to jsPDF.lines");for(Ke(e,r),o=n[0],a=n[1],u=t.length,d=e,g=r,s=0;s>0&255,t>>8&255,t>>16&255,t>>24&255)},F.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},F.prototype.hexToBytes=function(t){for(var e=[],r=0;r>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return E(r,t)}},U.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||typeof t!=typeof this)return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return 0===n},H.API={events:[]},H.version="2.3.1";var T=H.API,I=1,O=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},P=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},k=function(t){return t.toFixed(2)},R=function(t){return t.toFixed(5)};T.__acroform__={};var M=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},D=function(t){return t*I},K=function(t){var e=new ot,r=mt.internal.getHeight(t)||0,n=mt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(k(n)),Number(k(r))],e},z=T.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<0;){e="",A--;var u,c,l=Z("3",t,A).height,f=t.multiline?o-A:(o-l)/2,h=f+=2,p=0,d=0;if(A<=0){e="(...) Tj\n",e+="% Width of Text: "+Z(e,t,A=12).width+", FieldWidth:"+a+"\n";break}var g="",v=0;e:for(var B in i)if(i.hasOwnProperty(B)){g=" "==(g+=i[B]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var w=parseInt(B),m=s(w,g,A),y=B>=i.length-1;if(m&&!y){g+=" ";continue}if(m||y){if(y)d=w;else if(t.multiline&&(l+2)*(v+2)+2>o)continue t}else{if(!t.multiline)continue t;if((l+2)*(v+2)+2>o)continue t;d=w}for(var b="",x=p;x<=d;x++)b+=i[x]+" ";switch(b=" "==b.substr(b.length-1)?b.substr(0,b.length-1):b,c=Z(b,t,A).width,t.textAlign){case"right":u=a-c-2;break;case"center":u=(a-c)/2;break;default:u=2}e+=k(u)+" "+k(h)+" Td\n",e+="("+O(b)+") Tj\n",e+=-k(u)+" 0 Td\n",h=-(A+2),c=0,p=d+1,v++,g="";continue e}break}return n.text=e,n.fontSize=A,n},Z=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},$={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},tt=function(t,e){var r={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===r.type&&t.object===r.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},et=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,i=t[r];e.internal.newObjectDeferredBegin(i.objId,!0),"object"==typeof i&&"function"==typeof i.putStream&&i.putStream(),delete t[n]}},rt=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(st.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify($)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");I=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new at,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){!function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}(t)})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n.objId=void 0,n.hasAnnotation&&tt(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var r=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var i=t[n],A=[],o=i.Rect;if(i.Rect&&(i.Rect=W(i.Rect,e)),e.internal.newObjectDeferredBegin(i.objId,!0),i.DA=mt.createDefaultAppearanceStream(i),"object"==typeof i&&"function"==typeof i.getKeyValueListForStream&&(A=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=Y(i);A.push({key:"AP",value:"<>"}),e.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var s="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var c=i.appearanceStreamContent[u];if(s+="/"+u+" ",s+="<<",Object.keys(c).length>=1||Array.isArray(c)){for(var n in c)if(c.hasOwnProperty(n)){var l=c[n];"function"==typeof l&&(l=l.call(e,i)),s+="/"+n+" "+l+" ",e.internal.acroformPlugin.xForms.indexOf(l)>=0||e.internal.acroformPlugin.xForms.push(l)}}else"function"==typeof(l=c)&&(l=l.call(e,i)),s+="/"+n+" "+l,e.internal.acroformPlugin.xForms.indexOf(l)>=0||e.internal.acroformPlugin.xForms.push(l);s+=">>"}A.push({key:"AP",value:"<<\n"+s+">>"})}e.internal.putStream({additionalKeyValues:A,objectId:i.objId}),e.internal.out("endobj")}r&&et(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}},nt=T.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(t){return t};if(Array.isArray(t)){for(var i="[",A=0;A0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+O(e(t))+")"}},set:function(e){t=e}})};M(at,At);var st=function(){At.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(t,3))},set:function(e){!0===Boolean(e)?this.F=X(t,3):this.F=G(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');e=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(t){r[3]=t}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof gt)return;i="FieldObject"+st.FieldNum++}var t=function(t){return t};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+O(t(i))+")"},set:function(t){i=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(t){i=t}});var A="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){A=t}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(t){o=t}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var s=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===s?50/I:s},set:function(t){s=t}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(t){u=t}});var c="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!c||this instanceof gt||this instanceof Bt))return it(c,this.objId,this.scope)},set:function(t){t=t.toString(),c=t}});var l=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(l)return this instanceof ht==!1?it(l,this.objId,this.scope):l},set:function(t){t=t.toString(),l=this instanceof ht==!1?"("===t.substr(0,1)?P(t.substr(1,t.length-2)):P(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ht==!0?P(l.substr(1,l.length-1)):l},set:function(t){t=t.toString(),l=this instanceof ht==!0?"/"+t:t}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ht==!1?it(f,this.objId,this.scope):f},set:function(t){t=t.toString(),f=this instanceof ht==!1?"("===t.substr(0,1)?P(t.substr(1,t.length-2)):P(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ht==!0?P(f.substr(1,f.length-1)):f},set:function(t){t=t.toString(),f=this instanceof ht==!0?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(t){t=Boolean(t),p=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(t){h=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,1):this.Ff=G(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,2):this.Ff=G(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,3):this.Ff=G(this.Ff,3)}});var d=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==d)return d},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');d=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(d){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:d=2;break;case"center":case 1:d=1;break;default:d=0}}})};M(st,At);var ut=function(){st.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return nt(e,this.objId,this.scope)},set:function(t){var r,n;n=[],"string"==typeof(r=t)&&(n=function(t,e,r){r||(r=1);for(var n,i=[];n=e.exec(t);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,18):this.Ff=G(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=X(this.Ff,19):this.Ff=G(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=X(this.Ff,20),e.sort()):this.Ff=G(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,22):this.Ff=G(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,27):this.Ff=G(this.Ff,27)}}),this.hasAppearanceStream=!1};M(ut,st);var ct=function(){ut.call(this),this.fontName="helvetica",this.combo=!1};M(ct,ut);var lt=function(){ct.call(this),this.combo=!0};M(lt,ct);var ft=function(){lt.call(this),this.edit=!0};M(ft,lt);var ht=function(){st.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,15):this.Ff=G(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,16):this.Ff=G(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,17):this.Ff=G(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,26):this.Ff=G(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+O(t(e[r]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"==typeof t&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};M(ht,st);var pt=function(){ht.call(this),this.pushButton=!0};M(pt,ht);var dt=function(){ht.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};M(dt,ht);var gt=function(){var t,e;st.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,r=[];for(e in r.push("<<"),n)r.push("/"+e+" ("+O(t(n[e]))+")");return r.push(">>"),r.join("\n")},set:function(t){"object"==typeof t&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=mt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};M(gt,st),dt.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},dt.prototype.createOption=function(t){var e=new gt;return e.Parent=this,e.optionName=t,this.Kids.push(e),yt.call(this.scope,e),e};var vt=function(){ht.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=mt.CheckBox.createAppearanceStream()};M(vt,ht);var Bt=function(){st.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,13):this.Ff=G(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,21):this.Ff=G(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,24):this.Ff=G(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,25):this.Ff=G(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,26):this.Ff=G(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};M(Bt,st);var wt=function(){Bt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,14):this.Ff=G(this.Ff,14)}}),this.password=!0};M(wt,Bt);var mt={CheckBox:{createAppearanceStream:function(){return{N:{On:mt.CheckBox.YesNormal},D:{On:mt.CheckBox.YesPushDown,Off:mt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),A=J(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+k(mt.internal.getWidth(t))+" "+k(mt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+k(A.fontSize)+" Tf "+i),r.push("BT"),r.push(A.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=K(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],A=mt.internal.getHeight(t),o=mt.internal.getWidth(t),a=J(t,t.caption);return i.push("1 g"),i.push("0 0 "+k(o)+" "+k(A)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+k(o-1)+" "+k(A-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+k(a.fontSize)+" Tf "+n),i.push(a.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+k(mt.internal.getWidth(t))+" "+k(mt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:mt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=mt.RadioButton.Circle.YesNormal,e.D[t]=mt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=K(t);e.scope=t.scope;var r=[],n=mt.internal.getWidth(t)<=mt.internal.getHeight(t)?mt.internal.getWidth(t)/4:mt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=mt.internal.Bezier_C,A=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+R(mt.internal.getWidth(t)/2)+" "+R(mt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+A+" "+A+" "+n+" 0 "+n+" c"),r.push("-"+A+" "+n+" -"+n+" "+A+" -"+n+" 0 c"),r.push("-"+n+" -"+A+" -"+A+" -"+n+" 0 -"+n+" c"),r.push(A+" -"+n+" "+n+" -"+A+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[],n=mt.internal.getWidth(t)<=mt.internal.getHeight(t)?mt.internal.getWidth(t)/4:mt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),A=Number((i*mt.internal.Bezier_C).toFixed(5)),o=Number((n*mt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+R(mt.internal.getWidth(t)/2)+" "+R(mt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),r.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),r.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),r.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+R(mt.internal.getWidth(t)/2)+" "+R(mt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[],n=mt.internal.getWidth(t)<=mt.internal.getHeight(t)?mt.internal.getWidth(t)/4:mt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),A=Number((i*mt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+R(mt.internal.getWidth(t)/2)+" "+R(mt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),r.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),r.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),r.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:mt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=mt.RadioButton.Cross.YesNormal,e.D[t]=mt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=K(t);e.scope=t.scope;var r=[],n=mt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+k(mt.internal.getWidth(t)-2)+" "+k(mt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(k(n.x1.x)+" "+k(n.x1.y)+" m"),r.push(k(n.x2.x)+" "+k(n.x2.y)+" l"),r.push(k(n.x4.x)+" "+k(n.x4.y)+" m"),r.push(k(n.x3.x)+" "+k(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=K(t);e.scope=t.scope;var r=mt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+k(mt.internal.getWidth(t))+" "+k(mt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+k(mt.internal.getWidth(t)-2)+" "+k(mt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(k(r.x1.x)+" "+k(r.x1.y)+" m"),n.push(k(r.x2.x)+" "+k(r.x2.y)+" l"),n.push(k(r.x4.x)+" "+k(r.x4.y)+" m"),n.push(k(r.x3.x)+" "+k(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+k(mt.internal.getWidth(t))+" "+k(mt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};mt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=mt.internal.getWidth(t),r=mt.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},mt.internal.getWidth=function(t){var e=0;return"object"==typeof t&&(e=D(t.Rect[2])),e},mt.internal.getHeight=function(t){var e=0;return"object"==typeof t&&(e=D(t.Rect[3])),e};var yt=T.addField=function(t){if(rt(this,t),!(t instanceof st))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};T.AcroFormChoiceField=ut,T.AcroFormListBox=ct,T.AcroFormComboBox=lt,T.AcroFormEditBox=ft,T.AcroFormButton=ht,T.AcroFormPushButton=pt,T.AcroFormRadioButton=dt,T.AcroFormCheckBox=vt,T.AcroFormTextField=Bt,T.AcroFormPasswordField=wt,T.AcroFormAppearance=mt,T.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:lt,EditBox:ft,Button:ht,PushButton:pt,RadioButton:dt,CheckBox:vt,TextField:Bt,PasswordField:wt,Appearance:mt},H.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:lt,EditBox:ft,Button:ht,PushButton:pt,RadioButton:dt,CheckBox:vt,TextField:Bt,PasswordField:wt,Appearance:mt};var bt=H.AcroForm; +/** @license + * jsPDF addImage plugin + * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/ + * 2013 Chris Dowling, https://github.com/gingerchris + * 2013 Trinh Ho, https://github.com/ineedfat + * 2013 Edwin Alejandro Perez, https://github.com/eaparango + * 2013 Norah Smith, https://github.com/burnburnrocket + * 2014 Diego Casorran, https://github.com/diegocr + * 2014 James Robb, https://github.com/jamesbrobb + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */function xt(t){return t.reduce((function(t,e,r){return t[e]=r,t}),{})}!function(t){var e="addImage_";t.__addimage__={};var r="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},A=t.__addimage__.getImageFileTypeByImageData=function(t,e){var i,A;e=e||r;var o,a,s,u=r;if(E(t))for(s in n)for(o=n[s],i=0;i>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var A="",o=0,s=t.transparency.length;o>",p.content=i;var B=p.objId+" 0 R";i="<>";else if(r.options.pageNumber){switch(i="<>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,r,n,i){var A=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;A.pageContext.annotations.push({finalBounds:{x:o(t),y:a(e),w:o(t+r),h:a(e+n)},options:i,type:"link"})},t.textWithLink=function(t,e,r,n){var i=this.getTextWidth(t),A=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,r,n),r+=.2*A,"center"===n.align&&(e-=i/2),"right"===n.align&&(e-=i),this.link(e,r-A,i,A,n),i},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(H.API), +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var A=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},a=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length<=2},s=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length>=3};var c=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&A(t)&&4==e[t.charCodeAt(0)].length},l=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=r,i="",A=0;for(e=0;e>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))),this}, +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(t){r=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var r;if("2d"!==(t=t||"2d"))return null;for(r in e)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=e[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(H.API), +/** + * @license + * ==================================================================== + * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com + * 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br + * 2013 Lee Driscoll, https://github.com/lsdriscoll + * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria + * 2014 James Hall, james@parall.ax + * 2014 Diego Casorran, https://github.com/diegocr + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var A=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return A},set:function(t){A=t}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(t){o=t}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var r=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),A=e.scaleFactor||this.internal.scaleFactor,o=0,a=0,s=0,u=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}const c=e.maxWidth;c>0?"string"==typeof t?t=this.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(u.splitTextToSize(e,c))}),[])):t=Array.isArray(t)?t:[t];for(var l=0;lthis.getPageHeight()?(this.cellAddPage(),t.y=a.top,u&&s&&(this.printHeaderRow(t.lineNumber,!0),t.y+=s[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,r,s,u,c){if(n.call(this),!s)throw new Error("No data for PDF table.");var l,f,h,p,d=[],g=[],v=[],B={},w={},m=[],y=[],b=(c=c||{}).autoSize||!1,x=!1!==c.printHeaders,C=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,E=c.margins||Object.assign({width:this.getPageWidth()},e),N="number"==typeof c.padding?c.padding:3,F=c.headerBackgroundColor||"#c8c8c8";if(i.call(this),this.internal.__cell__.printHeaders=x,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=C,this.internal.__cell__.padding=N,this.internal.__cell__.headerBackgroundColor=F,this.setFontSize(C),null==u)g=d=Object.keys(s[0]),v=d.map((function(){return"left"}));else if(Array.isArray(u)&&"object"==typeof u[0])for(d=u.map((function(t){return t.name})),g=u.map((function(t){return t.prompt||t.name||""})),v=u.map((function(t){return t.align||"left"})),l=0;l0&&this.setTableHeaderRow(s),this.setFont(void 0,"normal"),r=!1}}(H.API);var Ct={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Et=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Nt=xt(Et),Ft=[100,200,300,400,500,600,700,800,900],Qt=xt(Ft);function Ut(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(t){return Ct[t=t||"normal"]?t:"normal"}(t.style),n=function(t){return t?"number"==typeof t?t>=100&&t<=900&&t%100==0?t:400:/^\d00$/.test(t)?parseInt(t):"bold"===t?700:400:400}(t.weight),i=function(t){return"number"==typeof Nt[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function St(t,e,r,n){var i;for(i=r;i>=0&&i=0&&i=700||"bold"===r)&&(u="bold"),"italic"===r&&(u+="italic"),0===u.length&&(u="normal");for(var c="",l={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f=2*Math.PI&&(n=0,i=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:r,startAngle:n,endAngle:i,counterclockwise:A})},h.prototype.arcTo=function(t,e,r,n,i){throw new Error("arcTo not implemented.")},h.prototype.rect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+r,e),this.lineTo(t+r,e+n),this.lineTo(t,e+n),this.lineTo(t,e),this.lineTo(t+r,e),this.lineTo(t,e)},h.prototype.fillRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,r,n),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},h.prototype.strokeRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(t,e,r,n),this.stroke())},h.prototype.clearRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,r,n))},h.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r0))for(;s>=0;s--)if(!0!==i[s-1].close&&!0!==i[s-1].begin){i[s-1].deltas.push(r),i[s-1].abs.push(a);break}break;case"bct":r=[a.x1-A[o-1].x,a.y1-A[o-1].y,a.x2-A[o-1].x,a.y2-A[o-1].y,a.x-A[o-1].x,a.y-A[o-1].y],i[i.length-1].deltas.push(r);break;case"qct":var u=A[o-1].x+2/3*(a.x1-A[o-1].x),c=A[o-1].y+2/3*(a.y1-A[o-1].y),l=a.x+2/3*(a.x1-a.x),f=a.y+2/3*(a.y1-a.y),h=a.x,p=a.y;r=[u-A[o-1].x,c-A[o-1].y,l-A[o-1].x,f-A[o-1].y,h-A[o-1].x,p-A[o-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(a)}}n=e?null:"stroke"===t?"stroke":"fill";for(var v=0;v=.01&&(u=this.pdf.internal.getFontSize(),this.pdf.setFontSize(u*t.scale),c=this.lineWidth,this.lineWidth=c*t.scale),this.pdf.text(t.text,E.x,E.y,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(u),this.lineWidth=c)}else t.scale>=.01&&(u=this.pdf.internal.getFontSize(),this.pdf.setFontSize(u*t.scale),c=this.lineWidth,this.lineWidth=c*t.scale),this.pdf.text(t.text,r.x+this.posX,r.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(u),this.lineWidth=c)},U=function(t,e,i,A){i=i||0,A=A||0,this.pdf.internal.out(r(t+i)+" "+n(e+A)+" l")},S=function(t,e,r){return this.pdf.lines(t,e,r,null,null)},L=function(t,r,n,o,a,s,u,c){this.pdf.internal.out([e(i(n+t)),e(A(o+r)),e(i(a+t)),e(A(s+r)),e(i(u+t)),e(A(c+r)),"c"].join(" "))},_=function(t,e,r,n){for(var i=2*Math.PI,A=Math.PI/2;e>r;)e-=i;var o=Math.abs(r-e);o1e-5;){var c=u+s*Math.min(o,A);a.push(H.call(this,t,u,c)),o-=Math.abs(c-u),u=c}return a},H=function(t,e,r){var n=(r-e)/2,i=t*Math.cos(n),A=t*Math.sin(n),o=i,a=-A,s=o*o+a*a,u=s+o*i+a*A,c=4/3*(Math.sqrt(2*s*u)-u)/(o*A-a*i),l=o-c*a,f=a+c*o,h=l,p=-f,d=n+e,g=Math.cos(d),v=Math.sin(d);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:l*g-f*v,y2:l*v+f*g,x3:h*g-p*v,y3:h*v+p*g,x4:t*Math.cos(r),y4:t*Math.sin(r)}},T=function(t){return 180*t/Math.PI},I=function(t,e,r,n,i,A){var o=t+.5*(r-t),s=e+.5*(n-e),u=i+.5*(r-i),c=A+.5*(n-A),l=Math.min(t,i,o,u),f=Math.max(t,i,o,u),h=Math.min(e,A,s,c),p=Math.max(e,A,s,c);return new a(l,h,f-l,p-h)},O=function(t,e,r,n,i,A,o,s){var u,c,l,f,h,p,d,g,v,B,w,m,y,b,x=r-t,C=n-e,E=i-r,N=A-n,F=o-i,Q=s-A;for(c=0;c<41;c++)v=(d=(l=t+(u=c/40)*x)+u*((h=r+u*E)-l))+u*(h+u*(i+u*F-h)-d),B=(g=(f=e+u*C)+u*((p=n+u*N)-f))+u*(p+u*(A+u*Q-p)-g),0==c?(w=v,m=B,y=v,b=B):(w=Math.min(w,v),m=Math.min(m,B),y=Math.max(y,v),b=Math.max(b,B));return new a(Math.round(w),Math.round(m),Math.round(y-w),Math.round(b-m))}}(H.API), +/** + * @license + * jsPDF filters PlugIn + * Copyright (c) 2014 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e=function(t){var e,r,n,i,A,o,a,s,u,c;for(/[^\x00-\xFF]/.test(t),r=[],n=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>n;n+=4)0!==(A=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(o=(A=((A=((A=((A=(A-(c=A%85))/85)-(u=A%85))/85)-(s=A%85))/85)-(a=A%85))/85)%85,r.push(o+33,a+33,s+33,u+33,c+33)):r.push(122);return function(t,e){for(var r=e;r>0;r--)t.pop()}(r,e.length),String.fromCharCode.apply(String,r)+"~>"},r=function(t){var e,r,n,i,A,o=String,a="length",s=255,u="charCodeAt",c="slice",l="replace";for(t[c](-2),t=t[c](0,-2)[l](/\s/g,"")[l]("z","!!!!!"),n=[],i=0,A=(t+=e="uuuuu"[c](t[a]%5||5))[a];A>i;i+=5)r=52200625*(t[u](i)-33)+614125*(t[u](i+1)-33)+7225*(t[u](i+2)-33)+85*(t[u](i+3)-33)+(t[u](i+4)-33),n.push(s&r>>24,s&r>>16,s&r>>8,s&r);return function(t,e){for(var r=e;r>0;r--)t.pop()}(n,e[a]),o.fromCharCode.apply(o,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var r="",n=0;n",s.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=i(a),s.push("/FlateDecode");break;default:throw new Error('The filter: "'+A[o]+'" is not implemented')}return{data:a,reverseChain:s.reverse().join(" ")}}}(H.API), +/** + * @license + * jsPDF fileloading PlugIn + * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com) + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){t.loadFile=function(t,e,r){return function(t,e,r){e=!1!==e;var n=void 0,i=A("8RZ8l"),o=A("f7Pin");if(t=o.resolve(t),e)try{n=i.readFileSync(t,{encoding:"latin1"})}catch(t){return}else i.readFile(t,{encoding:"latin1"},(function(t,e){r&&(t&&r(void 0),r(e))}));return n}(t,e,r)},t.loadImageFile=t.loadFile}(H.API), +/** + * @license + * Copyright (c) 2018 Erik Koopmans + * Released under the MIT License. + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){function e(){return(s.html2canvas?Promise.resolve(s.html2canvas):new Promise((function(t,e){try{t(A("3vFHt"))}catch(t){e(t)}}))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function r(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):new Promise((function(t,e){try{t(A("5GtyY"))}catch(t){e(t)}}))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var n=function(t){var e=typeof t;return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},i=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},o=function(t,e){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==e&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(o(n,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},a=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return n=(n=n.setProgress(1,t,1,[t])).set(e)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(t,e){return t.__proto__=e||a.prototype,t},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(n(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t),e){case"string":return this.then(r).then((function(e){return this.set({src:i("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},a.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},a.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},a.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.fontFaces=r,r)for(var i=0;is&&(a=u,u=s,s=a);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",s>u&&(a=u,u=s,s=a)}return{width:u,height:s,unit:e,k:i,orientation:t}},t.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(Ut):null;var r=new a(e);return e.worker?r:r.from(t).doCallback()}}(H.API), +/** + * @license + * ==================================================================== + * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(t){var e,r,n;t.addJS=function(t){return n=t,this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==e&&void 0!==r&&this.internal.out("/Names <>")})),this}}(H.API), +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e;t.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i> endobj")}var f=t.internal.newObject();t.internal.write("<< /Names [ ");for(i=0;i>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+f+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,r){var n={title:e,options:r,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var r=0;r0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var A=this.count=this.count_r({count:0},i);if(A>0&&this.line("/Count "+A),i.options&&i.options.pageNumber){var o=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var a=0;a> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var r=0;re;0<=e?++f:--f)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((c=n-this.transparency.indexed.length)>0)for(h=0;0<=c?hc;0<=c?++h:--h)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":a=(l=this.read(e)).indexOf(0),s=String.fromCharCode.apply(String,l.slice(0,a)),this.text[s]=String.fromCharCode.apply(String,l.slice(a+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?et;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*e),n=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function A(A,o,a,s){var u,c,l,f,h,p,d,g,v,B,w,m,y,b,x,C,E,N,F,Q,U,S=Math.ceil((i.width-A)/a),L=Math.ceil((i.height-o)/s),_=i.width==S&&i.height==L;for(b=e*S,m=_?r:new Uint8Array(b*L),p=t.length,y=0,c=0;y1&&r/i, 2013. + * + * https://github.com/deanm/omggif + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, + * including animation and compression. It does not rely on any specific + * underlying system, so should run in the browser, Node, or Plask. + */ +function Xt(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],A=i>>7,o=1<<(7&i)+1;t[e++];t[e++];var a=null,s=null;A&&(a=e,s=o,e+=3*o);var u=!0,c=[],l=0,f=null,h=0,p=null;for(this.width=r,this.height=n;u&&e=0))throw Error("Invalid block size");if(0===F)break;e+=F}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var d=t[e++];l=t[e++]|t[e++]<<8,f=t[e++],0==(1&d)&&(f=null),h=d>>2&7,e++;break;case 254:for(;;){if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var g=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,B=t[e++]|t[e++]<<8,w=t[e++]|t[e++]<<8,m=t[e++],y=m>>6&1,b=1<<(7&m)+1,x=a,C=s,E=!1;if(m>>7){E=!0;x=e,C=b,e+=3*b}var N=e;for(e++;;){var F;if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}c.push({x:g,y:v,width:B,height:w,has_local_palette:E,palette_offset:x,palette_size:C,data_offset:N,data_length:e-N,transparent_index:f,interlaced:!!y,delay:l,disposal:h});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=c.length)throw new Error("Frame index out of range.");return c[t]},this.decodeAndBlitFrameBGRA=function(e,n){var i=this.frameInfo(e),A=i.width*i.height,o=new Uint8Array(A);Gt(t,i.data_offset,o,A);var a=i.palette_offset,s=i.transparent_index;null===s&&(s=256);var u=i.width,c=r-u,l=u,f=4*(i.y*r+i.x),h=4*((i.y+i.height)*r+i.x),p=f,d=4*c;!0===i.interlaced&&(d+=28*r);for(var g=8,v=0,B=o.length;v=h&&(d=4*c+4*r*(g-1),p=f+(u+c)*(g<<1),g>>=1)),w===s)p+=4;else{var m=t[a+3*w],y=t[a+3*w+1],b=t[a+3*w+2];n[p++]=b,n[p++]=y,n[p++]=m,n[p++]=255}--l}},this.decodeAndBlitFrameRGBA=function(e,n){var i=this.frameInfo(e),A=i.width*i.height,o=new Uint8Array(A);Gt(t,i.data_offset,o,A);var a=i.palette_offset,s=i.transparent_index;null===s&&(s=256);var u=i.width,c=r-u,l=u,f=4*(i.y*r+i.x),h=4*((i.y+i.height)*r+i.x),p=f,d=4*c;!0===i.interlaced&&(d+=28*r);for(var g=8,v=0,B=o.length;v=h&&(d=4*c+4*r*(g-1),p=f+(u+c)*(g<<1),g>>=1)),w===s)p+=4;else{var m=t[a+3*w],y=t[a+3*w+1],b=t[a+3*w+2];n[p++]=m,n[p++]=y,n[p++]=b,n[p++]=255}--l}}}function Gt(t,e,r,n){for(var i=t[e++],A=1<>=s,c-=s,v!==A){if(v===o)break;for(var B=vA;)m=d[m]>>8,++w;var y=m;if(h+w+(B!==v?1:0)>n)return void l.log("Warning, gif stream longer than expected.");r[h++]=y;var b=h+=w;for(B!==v&&(r[h++]=y),m=B;w--;)m=d[m],r[--b]=255&m,m>>=8;null!==g&&a<4096&&(d[a++]=g<<8|y,a>=u+1&&s<12&&(++s,u=u<<1|1)),g=v}else a=o+1,u=(1<<(s=i+1))-1,g=null}return h!==n&&l.log("Warning, gif stream shorter than expected."),r} +/** + * @license + Copyright (c) 2008, Adobe Systems Incorporated + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of Adobe Systems Incorporated nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/function Wt(t){var e,r,n,i,A,o=Math.floor,a=new Array(64),s=new Array(64),u=new Array(64),c=new Array(64),l=new Array(65535),f=new Array(65535),h=new Array(64),p=new Array(64),d=[],g=0,v=7,B=new Array(64),w=new Array(64),m=new Array(64),y=new Array(256),b=new Array(2048),x=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],E=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],F=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Q=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],U=[0,1,2,3,4,5,6,7,8,9,10,11],S=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],L=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function _(t,e){for(var r=0,n=0,i=new Array,A=1;A<=16;A++){for(var o=1;o<=t[A];o++)i[e[n]]=[],i[e[n]][0]=r,i[e[n]][1]=A,n++,r++;r*=2}return i}function H(t){for(var e=t[0],r=t[1]-1;r>=0;)e&1<>8&255),T(255&t)}function O(t,e,r,n,i){for(var A,o=i[0],a=i[240],s=function(t,e){var r,n,i,A,o,a,s,u,c,l,f=0;for(c=0;c<8;++c){r=t[f],n=t[f+1],i=t[f+2],A=t[f+3],o=t[f+4],a=t[f+5],s=t[f+6];var p=r+(u=t[f+7]),d=r-u,g=n+s,v=n-s,B=i+a,w=i-a,m=A+o,y=A-o,b=p+m,x=p-m,C=g+B,E=g-B;t[f]=b+C,t[f+4]=b-C;var N=.707106781*(E+x);t[f+2]=x+N,t[f+6]=x-N;var F=.382683433*((b=y+w)-(E=v+d)),Q=.5411961*b+F,U=1.306562965*E+F,S=.707106781*(C=w+v),L=d+S,_=d-S;t[f+5]=_+Q,t[f+3]=_-Q,t[f+1]=L+U,t[f+7]=L-U,f+=8}for(f=0,c=0;c<8;++c){r=t[f],n=t[f+8],i=t[f+16],A=t[f+24],o=t[f+32],a=t[f+40],s=t[f+48];var H=r+(u=t[f+56]),T=r-u,I=n+s,O=n-s,P=i+a,k=i-a,R=A+o,M=A-o,D=H+R,K=H-R,z=I+P,V=I-P;t[f]=D+z,t[f+32]=D-z;var j=.707106781*(V+K);t[f+16]=K+j,t[f+48]=K-j;var q=.382683433*((D=M+k)-(V=O+T)),X=.5411961*D+q,G=1.306562965*V+q,W=.707106781*(z=k+O),Y=T+W,J=T-W;t[f+40]=J+X,t[f+24]=J-X,t[f+8]=Y+G,t[f+56]=Y-G,f++}for(c=0;c<64;++c)l=t[c]*e[c],h[c]=l>0?l+.5|0:l-.5|0;return h}(t,e),u=0;u<64;++u)p[x[u]]=s[u];var c=p[0]-r;r=p[0],0==c?H(n[0]):(H(n[f[A=32767+c]]),H(l[A]));for(var d=63;d>0&&0==p[d];)d--;if(0==d)return H(o),r;for(var g,v=1;v<=d;){for(var B=v;0==p[v]&&v<=d;)++v;var w=v-B;if(w>=16){g=w>>4;for(var m=1;m<=g;++m)H(a);w&=15}A=32767+p[v],H(i[(w<<4)+f[A]]),H(l[A]),v++}return 63!=d&&H(o),r}function P(t){(t=Math.min(Math.max(t,1),100),A!=t)&&(!function(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=o((e[r]*t+50)/100);n=Math.min(Math.max(n,1),255),a[x[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],A=0;A<64;A++){var l=o((i[A]*t+50)/100);l=Math.min(Math.max(l,1),255),s[x[A]]=l}for(var f=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],h=0,p=0;p<8;p++)for(var d=0;d<8;d++)u[h]=1/(a[x[h]]*f[p]*f[d]*8),c[h]=1/(s[x[h]]*f[p]*f[d]*8),h++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),A=t)}this.encode=function(t,A){A&&P(A),d=new Array,g=0,v=7,I(65496),I(65504),I(16),T(74),T(70),T(73),T(70),T(0),T(1),T(1),T(0),I(1),I(1),T(0),T(0),function(){I(65499),I(132),T(0);for(var t=0;t<64;t++)T(a[t]);T(1);for(var e=0;e<64;e++)T(s[e])}(),function(t,e){I(65472),I(17),T(8),I(e),I(t),T(3),T(1),T(17),T(0),T(2),T(17),T(1),T(3),T(17),T(1)}(t.width,t.height),function(){I(65476),I(418),T(0);for(var t=0;t<16;t++)T(C[t+1]);for(var e=0;e<=11;e++)T(E[e]);T(16);for(var r=0;r<16;r++)T(N[r+1]);for(var n=0;n<=161;n++)T(F[n]);T(1);for(var i=0;i<16;i++)T(Q[i+1]);for(var A=0;A<=11;A++)T(U[A]);T(17);for(var o=0;o<16;o++)T(S[o+1]);for(var a=0;a<=161;a++)T(L[a])}(),I(65498),I(12),T(3),T(1),T(0),T(2),T(17),T(3),T(17),T(0),T(63),T(0);var o=0,l=0,f=0;g=0,v=7,this.encode.displayName="_encode_";for(var h,p,y,x,_,k,R,M,D,K=t.data,z=t.width,V=t.height,j=4*z,q=0;q>3)*j+(R=4*(7&D)),q+M>=V&&(k-=j*(q+1+M-V)),h+R>=j&&(k-=h+R-j+4),p=K[k++],y=K[k++],x=K[k++],B[D]=(b[p]+b[y+256>>0]+b[x+512>>0]>>16)-128,w[D]=(b[p+768>>0]+b[y+1024>>0]+b[x+1280>>0]>>16)-128,m[D]=(b[p+1280>>0]+b[y+1536>>0]+b[x+1792>>0]>>16)-128;o=O(B,u,o,e,n),l=O(w,c,l,r,i),f=O(m,c,f,r,i),h+=32}q+=8}if(v>=0){var X=[];X[1]=v+1,X[0]=(1<>0]=38470*t,b[t+512>>0]=7471*t+32768,b[t+768>>0]=-11059*t,b[t+1024>>0]=-21709*t,b[t+1280>>0]=32768*t+8421375,b[t+1536>>0]=-27439*t,b[t+1792>>0]=-5329*t}(),P(t)} +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */function Yt(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Jt(t){function e(t){if(!t)throw Error("assert :P")}function r(t,e,r){for(var n=0;4>n;n++)if(t[e+n]!=r.charCodeAt(n))return!0;return!1}function n(t,e,r,n,i){for(var A=0;An+1?[]:new e),!(i.length>>0}function c(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}Jt=function(){var t=this;function s(t,e){for(var r=1<>>0;t&r;)r>>>=1;return r?(t&r-1)+r:t}function u(t,r,n,i,A){e(!(i%n));do{t[r+(i-=n)]=A}while(0=o),512>=o)var a=A(512);else if(null==(a=A(o)))return 0;return function(t,r,n,i,o,a){var c,f,h=r,p=1<c;++c){if(d[c]>1<(b-=d[c]))return 0;for(;0=c;++c,o<<=1){if(y+=b<<=1,0>(b-=d[c]))return 0;for(;0B&&!(0>=(v-=d[B]));)++B,v<<=1;p+=x=1<<(v=B-n),t[r+(B=m&w)].g=v+n,t[r+B].value=h-r-B}i.g=c-n,i.value=a[f++],u(t,h+(m>>n),o,x,i),m=s(m,c)}}return y!=2*g[15]-1?0:p}(t,r,n,i,o,a)}function l(){this.value=this.g=0}function f(){this.value=this.g=0}function h(){this.G=o(5,l),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(kr,f)}function p(t,r,n,i){e(null!=t),e(null!=r),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=r,t.pa=n,t.Jd=r,t.Yc=n+i,t.Zc=4<=i?n+i-4+1:n,N(t)}function d(t,e){for(var r=0;0i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4>>=8,t.Ra+=t.oa[t.pa+t.bb]<>>0,++t.bb,t.u-=8;x(t)&&(t.h=1,t.u=0)}function w(t,r){if(e(0<=r),!t.h&&r<=Mr){var n=b(t)&Rr[r];return t.u+=r,B(t),n}return t.h=1,t.u=0}function m(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function y(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function b(t){return t.Ra>>>(t.u&Dr-1)>>>0}function x(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Dr}function C(t,e){t.u=e,t.h=x(t)}function E(t){t.u>=Kr&&(e(t.u>=Kr),B(t))}function N(t){e(null!=t&&null!=t.oa),t.pa>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pat.b&&N(t);var n=t.b,i=r*e>>>8,A=(t.I>>>n>i)+0;for(A?(r-=i,t.I-=i+1<>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+zr[n],t.b-=n,t.Ca=(r<>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r>>0&255}function S(t,e){return t[e+0]<<0|t[e+1]<<8}function L(t,e){return S(t,e)|t[e+2]<<16}function _(t,e){return S(t,e)|S(t,e+2)<<16}function H(t,r){var n=1<=A||0>=o?0:(n[0]=A,i[0]=o,1)}function P(t,e){return t+(1<>>e}function k(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function R(e,r){t[r]=function(r,n,i,A,o,a,s){var u;for(u=0;u>>1)+(t&e)>>>0}function K(t){return 0<=t&&256>t?t:0>t?0:255>1))}function V(t,e,r){return Math.abs(e-r)-Math.abs(t-r)}function j(t,e,r,n,i,A,o){for(n=A[o-1],r=0;r>8&255,s=16711935&(s=(s=16711935&o)+((a<<16)+a));n[i+A]=(4278255360&o)+s>>>0}}function X(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function G(t,e,r,n,i,A){var o;for(o=0;o>>8,u=a,c=255&(c=(c=a>>>16)+((t.jd<<24>>24)*(s<<24>>24)>>>5));u=255&(u=(u=u+((t.hd<<24>>24)*(s<<24>>24)>>>5))+((t.ud<<24>>24)*(c<<24>>24)>>>5));i[A+o]=(4278255360&a)+(c<<16)+u}}function W(e,r,n,i,A){t[r]=function(t,e,r,n,o,a,s,u,c){for(n=s;n>e.b,f=e.Ea,h=e.K[0],p=e.w;if(8>l)for(e=(1<>=l}else t["VP8LMapColor"+n](a,s,h,p,u,c,r,o,f)}}function Y(t,e,r,n,i){for(r=e+r;e>16&255,n[i++]=A>>8&255,n[i++]=A>>0&255}}function J(t,e,r,n,i){for(r=e+r;e>16&255,n[i++]=A>>8&255,n[i++]=A>>0&255,n[i++]=A>>24&255}}function Z(t,e,r,n,i){for(r=e+r;e>16&240|o>>12&15,o=o>>0&240|o>>28&15;n[i++]=A,n[i++]=o}}function $(t,e,r,n,i){for(r=e+r;e>16&248|o>>13&7,o=o>>5&224|o>>3&31;n[i++]=A,n[i++]=o}}function tt(t,e,r,n,i){for(r=e+r;e>0&255,n[i++]=A>>8&255,n[i++]=A>>16&255}}function et(t,e,r,i,A,o){if(0==o)for(r=e+r;e>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),A+=32;else n(i,A,t,e,r)}function rt(e,r){t[r][0]=t[e+"0"],t[r][1]=t[e+"1"],t[r][2]=t[e+"2"],t[r][3]=t[e+"3"],t[r][4]=t[e+"4"],t[r][5]=t[e+"5"],t[r][6]=t[e+"6"],t[r][7]=t[e+"7"],t[r][8]=t[e+"8"],t[r][9]=t[e+"9"],t[r][10]=t[e+"10"],t[r][11]=t[e+"11"],t[r][12]=t[e+"12"],t[r][13]=t[e+"13"],t[r][14]=t[e+"0"],t[r][15]=t[e+"0"]}function nt(t){return t==zn||t==Vn||t==jn||t==qn}function it(){this.eb=[],this.size=this.A=this.fb=0}function At(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new At,this.sd=null}function at(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function st(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ut(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function ct(t,e){var r=t.T,i=e.ba.f.RGBA,A=i.eb,o=i.fb+t.ka*i.A,a=vi[e.ba.S],s=t.y,u=t.O,c=t.f,l=t.N,f=t.ea,h=t.W,p=e.cc,d=e.dc,g=e.Mc,v=e.Nc,B=t.ka,w=t.ka+t.T,m=t.U,y=m+1>>1;for(0==B?a(s,u,null,null,c,l,f,h,c,l,f,h,A,o,null,null,m):(a(e.ec,e.fc,s,u,p,d,g,v,c,l,f,h,A,o-i.A,A,o,m),++r);B+2r,i=r==Pn||r==Rn||r==Mn||r==Dn||12==r||nt(r);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Ir(e.Oa,t,i?11:12))return 0;if(i&&nt(r)&&Br(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=ut,t.Kb){if(r=t.U+1>>1,e.memory=A(t.U+2*r),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+r,e.Ib=ct,Br()}}else alert("todo:EmitYUV");i&&(e.Jb=lt,n&&gr())}if(n&&!Li){for(t=0;256>t;++t)_i[t]=89858*(t-128)+Ni>>Ei,Ii[t]=-22014*(t-128)+Ni,Ti[t]=-45773*(t-128),Hi[t]=113618*(t-128)+Ni>>Ei;for(t=Fi;t>Ei,Oi[t-Fi]=jt(e,255),Pi[t-Fi]=jt(e+8>>4,15);Li=1}return 1}function ht(t){var r=t.ma,n=t.U,i=t.T;return e(!(1&t.ka)),0>=n||0>=i?0:(n=r.Ib(t,r),null!=r.Jb&&r.Jb(t,r,n),r.Dc+=n,1)}function pt(t){t.ma.memory=null}function dt(t,e,r,n){return 47!=w(t,8)?0:(e[0]=w(t,14)+1,r[0]=w(t,14)+1,n[0]=w(t,1),0!=w(t,3)?0:!t.h)}function gt(t,e){if(4>t)return t+1;var r=t-2>>1;return(2+(1&t)<>4)*t+(8-(15&r)))?r:1;var r}function Bt(t,e,r){var n=b(r),i=t[e+=255&n].g-8;return 0>>0,e(8>=n.g),t.g}function mt(t,r,n){var i=t.xc;return e((r=0==i?0:t.vc[t.md*(n>>i)+(r>>i)])>N.b)*C;vy&&(S=y),(0,Jr[F[Q++]>>8&15])(p,d+ +U,w,m+U-y,S-U,w,m+U),U=S}d+=y,m+=y,++v&x||(N+=C)}h!=l.nc&&n(c,u-g,c,u+(h-f-1)*g,g);break;case 1:for(g=p,B=d,y=(p=l.Ea)-(m=p&~(w=(d=1<>l.b)*v;f=A),0o.o&&(i=o.o),n=i?n=0:(A[0]+=4*o.v,o.ka=n-o.j,o.U=o.va-o.v,o.T=i-n,n=1),n){if(s=s[0],11>(n=t.ca).S){var l=n.f.RGBA,f=(i=n.S,A=o.U,o=o.T,c=l.eb,l.A),h=o;for(l=l.fb+t.Ma*l.A;0i){var A=t.l.width,o=n.ca,a=n.tb+A*i,s=t.V,u=t.Ba+t.c*i,c=t.gc;e(1==t.ab),e(3==c[0].hc),Wr(c[0],i,r,s,u,o,a),Ct(n,i,r,o,a,A)}t.C=t.Ma=r}function Nt(t,r,n,i,A,o,a){var s=t.$/i,u=t.$%i,c=t.m,l=t.s,f=n+t.$,h=f;A=n+i*A;var p=n+i*o,d=280+l.ua,g=t.Pb?s:16777216,v=0=g){var N=f-n;e((g=t).Pb),g.wd=g.m,g.xd=N,0Q.g?(C(y,y.u+Q.g),N[F]=Q.value,y=0):(C(y,y.u+Q.g-256),e(256<=Q.value),y=Q.value),0==y&&(m=!0)}else y=Bt(w.G[0],w.H[0],c);if(c.h)break;if(m||256>y){if(!m)if(w.nd)r[f]=(w.qb|y<<8)>>>0;else{if(E(c),m=Bt(w.G[1],w.H[1],c),E(c),N=Bt(w.G[2],w.H[2],c),F=Bt(w.G[3],w.H[3],c),c.h)break;r[f]=(F<<24|m<<16|y<<8|N)>>>0}if(m=!1,++f,++u>=i&&(u=0,++s,null!=a&&s<=o&&!(s%16)&&a(t,s),null!=v))for(;h>>v.Mb]=y}else if(280>y){if(y=gt(y-256,c),N=Bt(w.G[4],w.H[4],c),E(c),N=vt(i,N=gt(N,c)),c.h)break;if(f-n=i;)u-=i,++s,null!=a&&s<=o&&!(s%16)&&a(t,s);if(e(f<=A),u&B&&(w=mt(l,u,s)),null!=v)for(;h>>v.Mb]=y}else{if(!(y>>v.Mb]=y;y=f,e(!(m>>>(N=v).Xa)),r[y]=N.X[m],m=!0}m||e(c.h==x(c))}if(t.Pb&&c.h&&fo?o:s),t.a=0,t.$=f-n}return 1}return t.a=3,0}function Ft(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var r=t.Wa;null!=r&&(r.X=null),t.vb=null,e(null!=t)}function Qt(){var e=new or;return null==e?null:(e.a=0,e.xb=di,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),qr=q,Zr=G,$r=Y,tn=J,en=Z,rn=$,nn=tt,t.VP8LMapColor32b=Gr,t.VP8LMapColor8b=Yr,e)}function Ut(t,r,n,a,s){var u=1,f=[t],p=[r],d=a.m,g=a.s,v=null,B=0;t:for(;;){if(n)for(;u&&w(d,1);){var m=f,y=p,x=a,N=1,F=x.m,Q=x.gc[x.ab],U=w(F,2);if(x.Oc&1<=x.ab),U){case 0:case 1:Q.b=w(F,3)+2,N=Ut(P(Q.Ea,Q.b),P(Q.nc,Q.b),0,x,Q.K),Q.K=Q.K[0];break;case 3:var S,L=w(F,8)+1,_=16>O.b),M=A(R);if(null==M)S=0;else{var D=O.K[0],K=O.w;for(M[0]=O.K[0][0],T=1;T<1*I;++T)M[T]=k(D[K+T],M[T-1]);for(;T<4*R;++T)M[T]=0;O.K[0]=null,O.K[0]=M,S=1}}N=S;break;case 2:break;default:e(0)}u=N}}if(f=f[0],p=p[0],u&&w(d,1)&&!(u=1<=(B=w(d,4))&&11>=B)){a.a=3;break t}var z;if(z=u)e:{var V,j,q,X=a,G=f,W=p,Y=B,J=n,Z=X.m,$=X.s,tt=[null],et=1,rt=0,nt=$n[Y];r:for(;;){if(J&&w(Z,1)){var it=w(Z,3)+2,At=P(G,it),ot=P(W,it),at=At*ot;if(!Ut(At,ot,0,X,tt))break r;for(tt=tt[0],$.xc=it,V=0;V>8&65535;tt[V]=st,st>=et&&(et=st+1)}}if(Z.h)break r;for(j=0;5>j;++j){var ut=Wn[j];!j&&0=lt),ht=ft;var pt=A(rt);if(null==ht||null==pt||null==ct){X.a=1;break r}var dt=ct;for(V=q=0;Vj;++j){ut=Wn[j],vt[j]=dt,Bt[j]=q,!j&&0qt)break i}else Kt=qt;for(zt=0;ztte)Xt[zt++]=te,0!=te&&(Yt=te);else{var ee=16==te,re=te-16,ne=Gn[re],ie=w(Wt,Xn[re])+ne;if(zt+ie>qt)break i;for(var Ae=ee?Yt:0;0=j){var oe,ae=pt[0];for(oe=1;oeae&&(ae=pt[oe]);bt+=ae}}if(gt.nd=yt,gt.Qb=0,yt&&(gt.qb=(vt[3][Bt[3]+0].value<<24|vt[1][Bt[1]+0].value<<16|vt[2][Bt[2]+0].value)>>>0,0==mt&&256>vt[0][Bt[0]+0].value&&(gt.Qb=1,gt.qb+=vt[0][Bt[0]+0].value<<8)),gt.jc=!gt.Qb&&6>bt,gt.jc){var se,ue=gt;for(se=0;se>=wt(fe,8,le),ce>>=wt(ue.G[1][ue.H[1]+ce],16,le),ce>>=wt(ue.G[2][ue.H[2]+ce],0,le),wt(ue.G[3][ue.H[3]+ce],24,le))}}}$.vc=tt,$.Wb=et,$.Ya=ht,$.yc=ct,z=1;break e}z=0}if(!(u=z)){a.a=3;break t}if(0r+1?[]:0),!(n.lengtht?0:t>e?e:t}function qt(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xt(){var t=new Vt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ni||(ni=Jt)),t}function Gt(t,e,r){return 0==t.a&&(t.a=e,t.sc=r,t.cb=0),0}function Wt(t,e,r){return 3<=r&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Yt(t,r){if(null==t)return 0;if(t.a=0,t.sc="OK",null==r)return Gt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,A=r.w,o=r.ha;if(4>o)return Gt(t,7,"Truncated header.");var a=n[A+0]|n[A+1]<<8|n[A+2]<<16,s=t.Od;if(s.Rb=!(1&a),s.td=a>>1&7,s.yd=a>>4&1,s.ub=a>>5,3o)return Gt(t,7,"cannot parse picture header");if(!Wt(n,A,o))return Gt(t,3,"Bad code word");u.c=16383&(n[A+4]<<8|n[A+3]),u.Td=n[A+4]>>6,u.i=16383&(n[A+6]<<8|n[A+5]),u.Ud=n[A+6]>>6,A+=7,o-=7,t.za=u.c+15>>4,t.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((a=t.Pa).jb,0,255,a.jb.length),e(null!=(a=t.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,i(a.Zb,0,0,a.Zb.length),i(a.Lb,0,0,a.Lb)}if(s.ub>o)return Gt(t,7,"bad partition length");p(a=t.m,n,A,s.ub),A+=s.ub,o-=s.ub,s.Rb&&(u.Ld=F(a),u.Kd=F(a)),u=t.Qa;var c,l=t.Pa;if(e(null!=a),e(null!=u),u.Cb=F(a),u.Cb){if(u.Bb=F(a),F(a)){for(u.Fb=F(a),c=0;4>c;++c)u.Zb[c]=F(a)?g(a,7):0;for(c=0;4>c;++c)u.Lb[c]=F(a)?g(a,6):0}if(u.Bb)for(c=0;3>c;++c)l.jb[c]=F(a)?d(a,8):255}else u.Bb=0;if(a.Ka)return Gt(t,3,"cannot parse segment header");if((u=t.ed).zd=F(a),u.Tb=d(a,6),u.wb=d(a,3),u.Pc=F(a),u.Pc&&F(a)){for(l=0;4>l;++l)F(a)&&(u.vd[l]=g(a,6));for(l=0;4>l;++l)F(a)&&(u.od[l]=g(a,6))}if(t.L=0==u.Tb?0:u.zd?1:2,a.Ka)return Gt(t,3,"cannot parse filter header");var f=o;if(o=c=A,A=c+f,u=f,t.Xb=(1<u&&(h=u),p(t.Jc[+f],n,c,h),c+=h,u-=h,o+=3}p(t.Jc[+l],n,c,u),n=ch;++h){if(f.Cb){var v=f.Zb[h];f.Fb||(v+=n)}else{if(0>16,8>B.Eb[1]&&(B.Eb[1]=8),B.Qc[0]=ei[jt(v+l,117)],B.Qc[1]=ri[jt(v+c,127)],B.lc=v+c}if(!s.Rb)return Gt(t,4,"Not a key frame.");for(F(a),s=t.Pa,n=0;4>n;++n){for(o=0;8>o;++o)for(A=0;3>A;++A)for(u=0;11>u;++u)l=Q(a,ui[n][o][A][u])?d(a,8):ai[n][o][A][u],s.Wc[n][o].Yb[A][u]=l;for(o=0;17>o;++o)s.Xc[n][o]=s.Wc[n][ci[o]]}return t.kc=F(a),t.kc&&(t.Bd=d(a,8)),t.cb=1}function Jt(t,e,r,n,i,A,o){var a=e[i].Yb[r];for(r=0;16>i;++i){if(!Q(t,a[r+0]))return i;for(;!Q(t,a[r+1]);)if(a=e[++i].Yb[0],r=0,16==i)return 16;var s=e[i+1].Yb;if(Q(t,a[r+2])){var u=t,c=0;if(Q(u,(f=a)[(l=r)+3]))if(Q(u,f[l+6])){for(a=0,l=2*(c=Q(u,f[l+8]))+(f=Q(u,f[l+9+c])),c=0,f=ii[l];f[a];++a)c+=c+Q(u,f[a]);c+=3+(8<(u=t).b&&N(u);var l,f=u.b,h=(l=u.Ca>>1)-(u.I>>f)>>31;--u.b,u.Ca+=h,u.Ca|=1,u.I-=(l+1&h)<>4,t.zb=r.j-a>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=r.o+15+a>>4,t.Hb=r.va+15+a>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0a;++a){var u;if(t.Qa.Cb){var c=t.Qa.Lb[a];t.Qa.Fb||(c+=s.Tb)}else c=s.Tb;for(u=0;1>=u;++u){var l=t.gd[a][u],f=c;if(s.Pc&&(f+=s.vd[0],u&&(f+=s.od[0])),0<(f=0>f?0:63>2:h>>1)>9-s.wb&&(h=9-s.wb)),1>h&&(h=1),l.dd=h,l.tc=2*f+h,l.ld=40<=f?2:15<=f?1:0}else l.tc=0;l.La=u}}}a=0}else Gt(t,6,"Frame setup failed"),a=t.a;if(a=0==a){if(a){t.$c=0,0t.Vb){if(t.Vb=0,t.Ec=A(l),t.Fc=0,null==t.Ec){a=Gt(t,1,"no memory during frame initialization.");break t}t.Vb=l}l=t.Ec,f=t.Fc,t.Ac=l,t.Bc=f,f+=s,t.Gd=o(p,zt),t.Hd=0,t.rb=o(d+1,Rt),t.sb=1,t.wa=g?o(g,kt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0=a;++a)Fn[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)Qn[1020+a]=-128>a?-128:127=a;++a)Un[112+a]=-16>a?-16:15=a;++a)Sn[255+a]=0>a?0:255l;++l){var B,w=p[0+l];for(B=0;4>B;++B){w=si[f[h+B]][w];for(var m=oi[Q(c,w[0])];0>3;for(m=0;256>m;m+=16)l[g+m]=N}x=1,C=h[0]}var F=15&c.la,U=15&v.la;for(m=0;4>m;++m){var S=1&U;for(N=b=0;4>N;++N)F=F>>1|(S=(E=ni(f,C,E=S+(1&F),d.Sc,x,l,g))>x)<<7,b=b<<2|(3>=4,U=U>>1|S<<7,B=(B<<8|b)>>>0}for(C=F,x=U>>4,y=0;4>y;y+=2){for(b=0,F=c.la>>4+y,U=v.la>>4+y,m=0;2>m;++m){for(S=1&U,N=0;2>N;++N)E=S+(1&F),F=F>>1|(S=0<(E=ni(f,h[2],E,d.Qc,0,l,g)))<<3,b=b<<2|(3>=2,U=U>>1|S<<5}w|=b<<4*y,C|=F<<4<=a.zb&&a.M<=a.Va,0==a.Aa)t:{if(o.M=a.M,o.uc=c,Hr(a,o),u=1,o=(b=a.D).Nb,c=(w=Ri[a.L])*a.R,f=w/2*a.B,m=16*o*a.R,N=8*o*a.B,h=a.sa,p=a.ta-c+m,d=a.qa,l=a.ra-f+N,g=a.Ha,v=a.Ia-f+N,U=0==(F=b.M),B=F>=a.Va-1,2==a.Aa&&Hr(a,b),b.uc)for(S=(E=a).D.M,e(E.D.uc),b=E.yb;bs.o&&(F=s.o),s.F=null,s.J=null,null!=a.Fa&&0>1),s.W+=a.B*(w>>1),null!=s.F&&(s.J+=s.width*w)),b>1,s.W+=s.v>>1,null!=s.F&&(s.J+=s.v),s.ka=b-s.j,s.U=s.va-s.v,s.T=F-b,u=s.put(s))}o+1!=a.Ic||B||(n(a.sa,a.ta-c,h,p+16*a.R,c),n(a.qa,a.ra-f,d,l+8*a.B,f),n(a.Ha,a.Ia-f,g,v+8*a.B,f))}if(!u)return Gt(t,6,"Output aborted.")}return 1}(t,r)),null!=r.bc&&r.bc(r),a&=1}return a?(t.cb=0,a):0}function te(t,e,r,n,i){i=t[e+r+32*n]+(i>>3),t[e+r+32*n]=-256&i?0>i?0:255:i}function ee(t,e,r,n,i,A){te(t,e,0,r,n+i),te(t,e,1,r,n+A),te(t,e,2,r,n-A),te(t,e,3,r,n-i)}function re(t){return(20091*t>>16)+t}function ne(t,e,r,n){var i,o=0,a=A(16);for(i=0;4>i;++i){var s=t[e+0]+t[e+8],u=t[e+0]-t[e+8],c=(35468*t[e+4]>>16)-re(t[e+12]),l=re(t[e+4])+(35468*t[e+12]>>16);a[o+0]=s+l,a[o+1]=u+c,a[o+2]=u-c,a[o+3]=s-l,o+=4,e++}for(i=o=0;4>i;++i)s=(t=a[o+0]+4)+a[o+8],u=t-a[o+8],c=(35468*a[o+4]>>16)-re(a[o+12]),te(r,n,0,0,s+(l=re(a[o+4])+(35468*a[o+12]>>16))),te(r,n,1,0,u+c),te(r,n,2,0,u-c),te(r,n,3,0,s-l),o++,n+=32}function ie(t,e,r,n){var i=t[e+0]+4,A=35468*t[e+4]>>16,o=re(t[e+4]),a=35468*t[e+1]>>16;ee(r,n,0,i+o,t=re(t[e+1]),a),ee(r,n,1,i+A,t,a),ee(r,n,2,i-A,t,a),ee(r,n,3,i-o,t,a)}function Ae(t,e,r,n,i){ne(t,e,r,n),i&&ne(t,e+16,r,n+4)}function oe(t,e,r,n){on(t,e+0,r,n,1),on(t,e+32,r,n+128,1)}function ae(t,e,r,n){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(r,n,e,i,t)}function se(t,e,r,n){t[e+0]&&un(t,e+0,r,n),t[e+16]&&un(t,e+16,r,n+4),t[e+32]&&un(t,e+32,r,n+128),t[e+48]&&un(t,e+48,r,n+128+4)}function ue(t,e,r,n){var i,o=A(16);for(i=0;4>i;++i){var a=t[e+0+i]+t[e+12+i],s=t[e+4+i]+t[e+8+i],u=t[e+4+i]-t[e+8+i],c=t[e+0+i]-t[e+12+i];o[0+i]=a+s,o[8+i]=a-s,o[4+i]=c+u,o[12+i]=c-u}for(i=0;4>i;++i)a=(t=o[0+4*i]+3)+o[3+4*i],s=o[1+4*i]+o[2+4*i],u=o[1+4*i]-o[2+4*i],c=t-o[3+4*i],r[n+0]=a+s>>3,r[n+16]=c+u>>3,r[n+32]=a-s>>3,r[n+48]=c-u>>3,n+=64}function ce(t,e,r){var n,i=e-32,A=Tn,o=255-t[i-1];for(n=0;nr;++r)n(t,e+32*r,t,e-32,16)}function de(t,e){var r;for(r=16;0n;++n)i(e,r+32*n,t,16)}function ve(t,e){var r,n=16;for(r=0;16>r;++r)n+=t[e-1+32*r]+t[e+r-32];ge(n>>5,t,e)}function Be(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e-1+32*r];ge(n>>4,t,e)}function we(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e+r-32];ge(n>>4,t,e)}function me(t,e){ge(128,t,e)}function ye(t,e,r){return t+2*e+r+2>>2}function be(t,e){var r,i=e-32;i=new Uint8Array([ye(t[i-1],t[i+0],t[i+1]),ye(t[i+0],t[i+1],t[i+2]),ye(t[i+1],t[i+2],t[i+3]),ye(t[i+2],t[i+3],t[i+4])]);for(r=0;4>r;++r)n(t,e+32*r,i,0,i.length)}function xe(t,e){var r=t[e-1],n=t[e-1+32],i=t[e-1+64],A=t[e-1+96];U(t,e+0,16843009*ye(t[e-1-32],r,n)),U(t,e+32,16843009*ye(r,n,i)),U(t,e+64,16843009*ye(n,i,A)),U(t,e+96,16843009*ye(i,A,A))}function Ce(t,e){var r,n=4;for(r=0;4>r;++r)n+=t[e+r-32]+t[e-1+32*r];for(n>>=3,r=0;4>r;++r)i(t,e+32*r,n,4)}function Ee(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1-32],o=t[e+0-32],a=t[e+1-32],s=t[e+2-32],u=t[e+3-32];t[e+0+96]=ye(n,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=ye(r,n,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=ye(A,r,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=ye(o,A,r),t[e+3+64]=t[e+2+32]=t[e+1+0]=ye(a,o,A),t[e+3+32]=t[e+2+0]=ye(s,a,o),t[e+3+0]=ye(u,s,a)}function Ne(t,e){var r=t[e+1-32],n=t[e+2-32],i=t[e+3-32],A=t[e+4-32],o=t[e+5-32],a=t[e+6-32],s=t[e+7-32];t[e+0+0]=ye(t[e+0-32],r,n),t[e+1+0]=t[e+0+32]=ye(r,n,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=ye(n,i,A),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=ye(i,A,o),t[e+3+32]=t[e+2+64]=t[e+1+96]=ye(A,o,a),t[e+3+64]=t[e+2+96]=ye(o,a,s),t[e+3+96]=ye(a,s,s)}function Fe(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1-32],o=t[e+0-32],a=t[e+1-32],s=t[e+2-32],u=t[e+3-32];t[e+0+0]=t[e+1+64]=A+o+1>>1,t[e+1+0]=t[e+2+64]=o+a+1>>1,t[e+2+0]=t[e+3+64]=a+s+1>>1,t[e+3+0]=s+u+1>>1,t[e+0+96]=ye(i,n,r),t[e+0+64]=ye(n,r,A),t[e+0+32]=t[e+1+96]=ye(r,A,o),t[e+1+32]=t[e+2+96]=ye(A,o,a),t[e+2+32]=t[e+3+96]=ye(o,a,s),t[e+3+32]=ye(a,s,u)}function Qe(t,e){var r=t[e+0-32],n=t[e+1-32],i=t[e+2-32],A=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],u=t[e+7-32];t[e+0+0]=r+n+1>>1,t[e+1+0]=t[e+0+64]=n+i+1>>1,t[e+2+0]=t[e+1+64]=i+A+1>>1,t[e+3+0]=t[e+2+64]=A+o+1>>1,t[e+0+32]=ye(r,n,i),t[e+1+32]=t[e+0+96]=ye(n,i,A),t[e+2+32]=t[e+1+96]=ye(i,A,o),t[e+3+32]=t[e+2+96]=ye(A,o,a),t[e+3+64]=ye(o,a,s),t[e+3+96]=ye(a,s,u)}function Ue(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1+96];t[e+0+0]=r+n+1>>1,t[e+2+0]=t[e+0+32]=n+i+1>>1,t[e+2+32]=t[e+0+64]=i+A+1>>1,t[e+1+0]=ye(r,n,i),t[e+3+0]=t[e+1+32]=ye(n,i,A),t[e+3+32]=t[e+1+64]=ye(i,A,A),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=A}function Se(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1+96],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],u=t[e+2-32];t[e+0+0]=t[e+2+32]=r+o+1>>1,t[e+0+32]=t[e+2+64]=n+r+1>>1,t[e+0+64]=t[e+2+96]=i+n+1>>1,t[e+0+96]=A+i+1>>1,t[e+3+0]=ye(a,s,u),t[e+2+0]=ye(o,a,s),t[e+1+0]=t[e+3+32]=ye(r,o,a),t[e+1+32]=t[e+3+64]=ye(n,r,o),t[e+1+64]=t[e+3+96]=ye(i,n,r),t[e+1+96]=ye(A,i,n)}function Le(t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,t,e-32,8)}function _e(t,e){var r;for(r=0;8>r;++r)i(t,e,t[e-1],8),e+=32}function He(t,e,r){var n;for(n=0;8>n;++n)i(e,r+32*n,t,8)}function Te(t,e){var r,n=8;for(r=0;8>r;++r)n+=t[e+r-32]+t[e-1+32*r];He(n>>4,t,e)}function Ie(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e+r-32];He(n>>3,t,e)}function Oe(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e-1+32*r];He(n>>3,t,e)}function Pe(t,e){He(128,t,e)}function ke(t,e,r){var n=t[e-r],i=t[e+0],A=3*(i-n)+_n[1020+t[e-2*r]-t[e+r]],o=Hn[112+(A+4>>3)];t[e-r]=Tn[255+n+Hn[112+(A+3>>3)]],t[e+0]=Tn[255+i-o]}function Re(t,e,r,n){var i=t[e+0],A=t[e+r];return In[255+t[e-2*r]-t[e-r]]>n||In[255+A-i]>n}function Me(t,e,r,n){return 4*In[255+t[e-r]-t[e+0]]+In[255+t[e-2*r]-t[e+r]]<=n}function De(t,e,r,n,i){var A=t[e-3*r],o=t[e-2*r],a=t[e-r],s=t[e+0],u=t[e+r],c=t[e+2*r],l=t[e+3*r];return 4*In[255+a-s]+In[255+o-u]>n?0:In[255+t[e-4*r]-A]<=i&&In[255+A-o]<=i&&In[255+o-a]<=i&&In[255+l-c]<=i&&In[255+c-u]<=i&&In[255+u-s]<=i}function Ke(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)Me(t,e+n,r,i)&&ke(t,e+n,r)}function ze(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)Me(t,e+n*r,1,i)&&ke(t,e+n*r,1)}function Ve(t,e,r,n){var i;for(i=3;0>7,v=18*B+63>>7,B=9*B+63>>7;s[u-3*c]=Tn[255+s[u-3*c]+B],s[u-2*c]=Tn[255+l+v],s[u-c]=Tn[255+f+g],s[u+0]=Tn[255+h-g],s[u+c]=Tn[255+p-v],s[u+2*c]=Tn[255+d-B]}e+=n}}function Xe(t,e,r,n,i,A,o,a){for(A=2*A+1;0>3)],d=Hn[112+(d+3>>3)],g=p+1>>1;s[u-2*c]=Tn[255+s[u-2*c]+g],s[u-c]=Tn[255+l+d],s[u+0]=Tn[255+f-p],s[u+c]=Tn[255+h-g]}e+=n}}function Ge(t,e,r,n,i,A){qe(t,e,r,1,16,n,i,A)}function We(t,e,r,n,i,A){qe(t,e,1,r,16,n,i,A)}function Ye(t,e,r,n,i,A){var o;for(o=3;0u?0:255:u)&255,u=s,i[A+a]=c}}function lr(t,r,i,o){var a=r.width,s=r.o;if(e(null!=t&&null!=r),0>i||0>=o||i+o>s)return null;if(!t.Cc){if(null==t.ga){var u;if(t.ga=new ar,(u=null==t.ga)||(u=r.width*r.o,e(0==t.Gb.length),t.Gb=A(u),t.Uc=0,null==t.Gb?u=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,u=1),u=!u),!u){u=t.ga;var c=t.Fa,l=t.P,f=t.qc,h=t.mb,p=t.nb,d=l+1,g=f-1,B=u.l;if(e(null!=c&&null!=h&&null!=r),gi[0]=null,gi[1]=sr,gi[2]=ur,gi[3]=cr,u.ca=h,u.tb=p,u.c=r.width,u.i=r.height,e(0=f)r=0;else if(u.$a=c[l+0]>>0&3,u.Z=c[l+0]>>2&3,u.Lc=c[l+0]>>4&3,l=c[l+0]>>6&3,0>u.$a||1=u.c*u.i;u=!r}if(u)return null;1!=t.ga.Lc?t.Ga=0:o=s-i}e(null!=t.ga),e(i+o<=s);t:{if(r=(c=t.ga).c,s=c.l.o,0==c.$a){if(d=t.rc,g=t.Vc,B=t.Fa,l=t.P+1+i*r,f=t.mb,h=t.nb+i*r,e(l<=t.P+t.qc),0!=c.Z)for(e(null!=gi[c.Z]),u=0;u=r)r=1;else if(c.ic||gr(),c.ic){c=u.V,d=u.Ba,g=u.c;var w=u.i,m=(B=1,l=u.$/g,f=u.$%g,h=u.m,p=u.s,u.$),y=g*w,b=g*r,C=p.wc,N=m(w=Bt(N.G[0],N.H[0],h)))c[d+m]=w,++m,++f>=g&&(f=0,++l<=r&&!(l%16)&&Et(u,l));else{if(!(280>w)){B=0;break e}w=gt(w-256,h);var F,Q=Bt(N.G[4],N.H[4],h);if(E(h),!(m>=(Q=vt(g,Q=gt(Q,h)))&&y-m>=w)){B=0;break e}for(F=0;F=g;)f-=g,++l<=r&&!(l%16)&&Et(u,l);mr?r:l);break e}!B||h.h&&m=s&&(t.Cc=1),o=1}if(!o)return null;if(t.Cc&&(null!=(o=t.ga)&&(o.mc=null),t.ga=null,0>23,a[s+4*o+1]=a[s+4*o+1]*l>>23,a[s+4*o+2]=a[s+4*o+2]*l>>23)}e+=A}}function hr(t,e,r,n,i){for(;0>4)*s>>16;t[e+2*A+0]=(240&o|o>>4)*s>>16&240|(15&o|o<<4)*s>>16>>4&15,t[e+2*A+1]=240&u|a}e+=i}}function pr(t,e,r,n,i,A,o,a){var s,u,c=255;for(u=0;u>8}function gr(){xn=fr,Cn=hr,En=pr,Nn=dr}function vr(r,n,i){t[r]=function(t,r,A,o,a,s,u,c,l,f,h,p,d,g,v,B,w){var m,y=w-1>>1,b=a[s+0]|u[c+0]<<16,x=l[f+0]|h[p+0]<<16;e(null!=t);var C=3*b+x+131074>>2;for(n(t[r+0],255&C,C>>16,d,g),null!=A&&(C=3*x+b+131074>>2,n(A[o+0],255&C,C>>16,v,B)),m=1;m<=y;++m){var E=a[s+m]|u[c+m]<<16,N=l[f+m]|h[p+m]<<16,F=b+E+x+N+524296,Q=F+2*(E+x)>>3;C=Q+b>>1,b=(F=F+2*(b+N)>>3)+E>>1,n(t[r+2*m-1],255&C,C>>16,d,g+(2*m-1)*i),n(t[r+2*m-0],255&b,b>>16,d,g+(2*m-0)*i),null!=A&&(C=F+x>>1,b=Q+N>>1,n(A[o+2*m-1],255&C,C>>16,v,B+(2*m-1)*i),n(A[o+2*m+0],255&b,b>>16,v,B+(2*m+0)*i)),b=E,x=N}1&w||(C=3*b+x+131074>>2,n(t[r+w-1],255&C,C>>16,d,g+(w-1)*i),null!=A&&(C=3*x+b+131074>>2,n(A[o+w-1],255&C,C>>16,v,B+(w-1)*i)))}}function Br(){vi[On]=Bi,vi[Pn]=mi,vi[kn]=wi,vi[Rn]=yi,vi[Mn]=bi,vi[Dn]=xi,vi[Kn]=Ci,vi[zn]=mi,vi[Vn]=yi,vi[jn]=bi,vi[qn]=xi}function wr(t){return t&~Si?0>t?0:255:t>>Ui}function mr(t,e){return wr((19077*t>>8)+(26149*e>>8)-14234)}function yr(t,e,r){return wr((19077*t>>8)-(6419*e>>8)-(13320*r>>8)+8708)}function br(t,e){return wr((19077*t>>8)+(33050*e>>8)-17685)}function xr(t,e,r,n,i){n[i+0]=mr(t,r),n[i+1]=yr(t,e,r),n[i+2]=br(t,e)}function Cr(t,e,r,n,i){n[i+0]=br(t,e),n[i+1]=yr(t,e,r),n[i+2]=mr(t,r)}function Er(t,e,r,n,i){var A=yr(t,e,r);e=A<<3&224|br(t,e)>>3,n[i+0]=248&mr(t,r)|A>>5,n[i+1]=e}function Nr(t,e,r,n,i){var A=240&br(t,e)|15;n[i+0]=240&mr(t,r)|yr(t,e,r)>>4,n[i+1]=A}function Fr(t,e,r,n,i){n[i+0]=255,xr(t,e,r,n,i+1)}function Qr(t,e,r,n,i){Cr(t,e,r,n,i),n[i+3]=255}function Ur(t,e,r,n,i){xr(t,e,r,n,i),n[i+3]=255}function jt(t,e){return 0>t?0:t>e?e:t}function Sr(e,r,n){t[e]=function(t,e,i,A,o,a,s,u,c){for(var l=u+(-2&c)*n;u!=l;)r(t[e+0],i[A+0],o[a+0],s,u),r(t[e+1],i[A+0],o[a+0],s,u+n),e+=2,++A,++a,u+=2*n;1&c&&r(t[e+0],i[A+0],o[a+0],s,u)}}function Lr(t,e,r){return 0==r?0==t?0==e?6:5:0==e?4:0:r}function _r(t,e,r,n,i){switch(t>>>30){case 3:on(e,r,n,i,0);break;case 2:an(e,r,n,i);break;case 1:un(e,r,n,i)}}function Hr(t,e){var r,A,o=e.M,a=e.Nb,s=t.oc,u=t.pc+40,c=t.oc,l=t.pc+584,f=t.oc,h=t.pc+600;for(r=0;16>r;++r)s[u+32*r-1]=129;for(r=0;8>r;++r)c[l+32*r-1]=129,f[h+32*r-1]=129;for(0r;++r)n(s,u+32*r-4,s,u+32*r+12,4);for(r=-1;8>r;++r)n(c,l+32*r-4,c,l+32*r+4,4),n(f,h+32*r-4,f,h+32*r+4,4)}var d=t.Gd,g=t.Hd+A,v=p.ad,B=p.Hc;if(0=t.za-1?i(w,m,d[g].y[15],4):n(w,m,d[g+1].y,0,4)),r=0;4>r;r++)w[m+128+r]=w[m+256+r]=w[m+384+r]=w[m+0+r];for(r=0;16>r;++r,B<<=2)w=s,m=u+ki[r],fi[p.Ob[r]](w,m),_r(B,v,16*+r,w,m)}else if(w=Lr(A,o,p.Ob[0]),li[w](s,u),0!=B)for(r=0;16>r;++r,B<<=2)_r(B,v,16*+r,s,u+ki[r]);for(r=p.Gc,w=Lr(A,o,p.Dd),hi[w](c,l),hi[w](f,h),B=v,w=c,m=l,255&(p=r>>0)&&(170&p?sn(B,256,w,m):cn(B,256,w,m)),p=f,B=h,255&(r>>=8)&&(170&r?sn(v,320,p,B):cn(v,320,p,B)),or;++r)n(d,g+r*t.R,s,u+32*r,16);for(r=0;8>r;++r)n(v,p+r*t.B,c,l+32*r,8),n(B,w+r*t.B,f,h+32*r,8)}}function Tr(t,n,i,A,o,a,s,u,c){var l=[0],f=[0],h=0,p=null!=c?c.kd:0,d=null!=c?c:new nr;if(null==t||12>i)return 7;d.data=t,d.w=n,d.ha=i,n=[n],i=[i],d.gb=[d.gb];t:{var g=n,B=i,w=d.gb;if(e(null!=t),e(null!=B),e(null!=w),w[0]=0,12<=B[0]&&!r(t,g[0],"RIFF")){if(r(t,g[0]+8,"WEBP")){w=3;break t}var m=_(t,g[0]+4);if(12>m||4294967286B[0]-8){w=7;break t}w[0]=m,g[0]+=12,B[0]-=12}w=0}if(0!=w)return w;for(m=0w[0])w=7;else{if(!r(b,B[0],"VP8X")){if(10!=_(b,B[0]+4)){w=3;break t}if(18>w[0]){w=7;break t}var N=_(b,B[0]+8),F=1+L(b,B[0]+12);if(2147483648<=F*(b=1+L(b,B[0]+15))){w=3;break t}null!=E&&(E[0]=N),null!=x&&(x[0]=F),null!=C&&(C[0]=b),B[0]+=18,w[0]-=18,Q[0]=1}w=0}}if(h=h[0],g=g[0],0!=w)return w;if(B=!!(2&g),!m&&h)return 3;if(null!=a&&(a[0]=!!(16&g)),null!=s&&(s[0]=B),null!=u&&(u[0]=0),s=l[0],g=f[0],h&&B&&null==c){w=0;break}if(4>i){w=7;break}if(m&&h||!m&&!h&&!r(t,n[0],"ALPH")){i=[i],d.na=[d.na],d.P=[d.P],d.Sa=[d.Sa];t:{N=t,w=n,m=i;var Q=d.gb;x=d.na,C=d.P,E=d.Sa;F=22,e(null!=N),e(null!=m),b=w[0];var U=m[0];for(e(null!=x),e(null!=E),x[0]=null,C[0]=null,E[0]=0;;){if(w[0]=b,m[0]=U,8>U){w=7;break t}var S=_(N,b+4);if(4294967286Q){w=3;break t}if(!r(N,b,"VP8 ")||!r(N,b,"VP8L")){w=0;break t}if(U[0]m[0])w=7;else{if(b||F){if(Q=_(Q,N+4),12<=x&&Q>x-12){w=3;break t}if(p&&Q>m[0]-8){w=7;break t}C[0]=Q,w[0]+=8,m[0]-=8,E[0]=F}else E[0]=5<=m[0]&&47==Q[N+0]&&!(Q[N+4]>>5),C[0]=m[0];w=0}if(i=i[0],d.Ja=d.Ja[0],d.xa=d.xa[0],n=n[0],0!=w)break;if(4294967286i){w=7;break}u=s,p=g,B=a,null==t||5>i?t=0:5<=i&&47==t[n+0]&&!(t[n+4]>>5)?(m=[0],Q=[0],x=[0],v(C=new y,t,n,i),dt(C,m,Q,x)?(null!=u&&(u[0]=m[0]),null!=p&&(p[0]=Q[0]),null!=B&&(B[0]=x[0]),t=1):t=0):t=0}else{if(10>i){w=7;break}u=g,null==t||10>i||!Wt(t,n+3,i-3)?t=0:(p=t[n+0]|t[n+1]<<8|t[n+2]<<16,B=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=d.Ja||!B||!t?t=0:(s&&(s[0]=B),u&&(u[0]=t),t=1))}if(!t)return 3;if(s=s[0],g=g[0],h&&(l[0]!=s||f[0]!=g))return 3;null!=c&&(c[0]=d,c.offset=n-c.w,e(4294967286>n-c.w),e(c.offset==c.ha-i));break}return 0==w||7==w&&h&&null==c?(null!=a&&(a[0]|=null!=d.na&&0r||(A&=-2,o&=-2),0>A||0>o||0>=a||0>=s||A+a>n||o+s>i))return 0;if(e.v=A,e.j=o,e.va=A+a,e.o=o+s,e.U=a,e.T=s,e.da=null!=t&&0t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function Pr(t,e,r,n){if(null==n||0>=t||0>=e)return 2;if(null!=r){if(r.Da){var i=r.cd,o=r.bd,a=-2&r.v,s=-2&r.j;if(0>a||0>s||0>=i||0>=o||a+i>t||s+o>e)return 2;t=i,e=o}if(r.da){if(!O(t,e,i=[r.ib],o=[r.hb]))return 2;t=i[0],e=o[0]}}n.width=t,n.height=e;t:{var u=n.width,c=n.height;if(t=n.S,0>=u||0>=c||!(t>=On&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){a=o=i=e=0;var l=(s=u*Ki[t])*c;if(11>t||(o=(c+1)/2*(e=(u+1)/2),12==t&&(a=(i=u)*c)),null==(c=A(l+2*o+a))){t=1;break t}n.sd=c,11>t?((u=n.f.RGBA).eb=c,u.fb=0,u.A=s,u.size=l):((u=n.f.kb).y=c,u.O=0,u.fa=s,u.Fd=l,u.f=c,u.N=0+l,u.Ab=e,u.Cd=o,u.ea=c,u.W=0+l+o,u.Db=e,u.Ed=o,12==t&&(u.F=c,u.J=0+l+2*o),u.Tc=a,u.lb=i)}if(e=1,i=n.S,o=n.width,a=n.height,i>=On&&13>i)if(11>i)t=n.f.RGBA,e&=(s=Math.abs(t.A))*(a-1)+o<=t.size,e&=s>=o*Ki[i],e&=null!=t.eb;else{t=n.f.kb,s=(o+1)/2,l=(a+1)/2,u=Math.abs(t.fa);c=Math.abs(t.Ab);var f=Math.abs(t.Db),h=Math.abs(t.lb),p=h*(a-1)+o;e&=u*(a-1)+o<=t.Fd,e&=c*(l-1)+s<=t.Cd,e=(e&=f*(l-1)+s<=t.Ed)&u>=o&c>=s&f>=s,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=h>=o,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=r&&r.fd&&(t=Or(n)),t}var kr=64,Rr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Mr=24,Dr=32,Kr=8,zr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];R("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,r){return e[r+0]},t.Predictor3=function(t,e,r){return e[r+1]},t.Predictor4=function(t,e,r){return e[r-1]},t.Predictor5=function(t,e,r){return D(D(t,e[r+1]),e[r+0])},t.Predictor6=function(t,e,r){return D(t,e[r-1])},t.Predictor7=function(t,e,r){return D(t,e[r+0])},t.Predictor8=function(t,e,r){return D(e[r-1],e[r+0])},t.Predictor9=function(t,e,r){return D(e[r+0],e[r+1])},t.Predictor10=function(t,e,r){return D(D(t,e[r-1]),D(e[r+0],e[r+1]))},t.Predictor11=function(t,e,r){var n=e[r+0];return 0>=V(n>>24&255,t>>24&255,(e=e[r-1])>>24&255)+V(n>>16&255,t>>16&255,e>>16&255)+V(n>>8&255,t>>8&255,e>>8&255)+V(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,r){var n=e[r+0];return(K((t>>24&255)+(n>>24&255)-((e=e[r-1])>>24&255))<<24|K((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|K((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|K((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,r){var n=e[r-1];return(z((t=D(t,e[r+0]))>>24&255,n>>24&255)<<24|z(t>>16&255,n>>16&255)<<16|z(t>>8&255,n>>8&255)<<8|z(t>>0&255,n>>0&255))>>>0};var Vr=t.PredictorAdd0;t.PredictorAdd1=j,R("Predictor2","PredictorAdd2"),R("Predictor3","PredictorAdd3"),R("Predictor4","PredictorAdd4"),R("Predictor5","PredictorAdd5"),R("Predictor6","PredictorAdd6"),R("Predictor7","PredictorAdd7"),R("Predictor8","PredictorAdd8"),R("Predictor9","PredictorAdd9"),R("Predictor10","PredictorAdd10"),R("Predictor11","PredictorAdd11"),R("Predictor12","PredictorAdd12"),R("Predictor13","PredictorAdd13");var jr=t.PredictorAdd2;W("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),W("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var qr,Xr=t.ColorIndexInverseTransform,Gr=t.MapARGB,Wr=t.VP8LColorIndexInverseTransformAlpha,Yr=t.MapAlpha,Jr=t.VP8LPredictorsAdd=[];Jr.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Zr,$r,tn,en,rn,nn,An,on,an,sn,un,cn,ln,fn,hn,pn,dn,gn,vn,Bn,wn,mn,yn,bn,xn,Cn,En,Nn,Fn=A(511),Qn=A(2041),Un=A(225),Sn=A(767),Ln=0,_n=Qn,Hn=Un,Tn=Sn,In=Fn,On=0,Pn=1,kn=2,Rn=3,Mn=4,Dn=5,Kn=6,zn=7,Vn=8,jn=9,qn=10,Xn=[2,3,7],Gn=[3,3,11],Wn=[280,256,256,256,40],Yn=[0,1,1,1,0],Jn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],$n=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ai=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ai=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],si=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ui=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],li=[],fi=[],hi=[],pi=1,di=2,gi=[],vi=[];vr("UpsampleRgbLinePair",xr,3),vr("UpsampleBgrLinePair",Cr,3),vr("UpsampleRgbaLinePair",Ur,4),vr("UpsampleBgraLinePair",Qr,4),vr("UpsampleArgbLinePair",Fr,4),vr("UpsampleRgba4444LinePair",Nr,2),vr("UpsampleRgb565LinePair",Er,2);var Bi=t.UpsampleRgbLinePair,wi=t.UpsampleBgrLinePair,mi=t.UpsampleRgbaLinePair,yi=t.UpsampleBgraLinePair,bi=t.UpsampleArgbLinePair,xi=t.UpsampleRgba4444LinePair,Ci=t.UpsampleRgb565LinePair,Ei=16,Ni=1<i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&gr()),i.Pb&&0(u=n.Md)?0:100c;++c)12>(f=A.pb[c]).lc&&(f.ia=u*Mi[0>f.lc?0:f.lc]>>3),l|=f.ia;l&&(alert("todo:VP8InitRandom"),A.ia=1)}A.Ga=n.Id,100A.Ga&&(A.Ga=0)}$t(t,i)||(r=t.a)}}else r=t.a}0==r&&null!=a.Oa&&a.Oa.fd&&(r=Or(a.ba))}a=r}o=0!=a?null:11>o?s.f.RGBA.eb:s.f.kb.y}else o=null;return o};var Ki=[3,4,3,4,4,2,2,4,4,4,2,1,1]},new Jt;var l=[0],f=[0],h=[],p=new Jt,d=t,g=function(t,e){var r={},n=0,i=!1,A=0,o=0;if(r.frames=[],! +/** @license + * Copyright (c) 2017 Dominik Homberger + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +https://webpjs.appspot.com +WebPRiffParser dominikhlbg@gmail.com +*/ +function(t,e,r,n){for(var i=0;i>1&1}"ANMF"!=f&&(e+=p)}return r}}(d,0);g.response=d,g.rgbaoutput=!0,g.dataurl=!1;var v=g.header?g.header:null,B=g.frames?g.frames:null;if(v){v.loop_counter=v.loop_count,l=[v.canvas_height],f=[v.canvas_width];for(var w=0;w>>1)&255;return A},u=function(t,e,r){var n,i,A,o,a=[],s=t.length;a[0]=4;for(var u=0;u>>C&255,C+=u.bits;g[m]=w>>>C&255}}if(16===u.bits){d=(p=new Uint32Array(u.decodePixels().buffer)).length,v=new Uint8Array(d*(32/u.pixelBitlength)*u.colors),g=new Uint8Array(d*(32/u.pixelBitlength)),B=u.colors>1,m=0,y=0;for(var N=0;m>>0&255,B&&(v[y++]=w>>>16&255,w=p[m++],v[y++]=w>>>0&255),g[N++]=w>>>16&255;s=8}o!==t.image_compression.NONE&&e()?(n=r(v,u.width*u.colors,u.colors,o),h=r(g,u.width,1,o)):(n=v,h=g,b=void 0)}if(3===u.colorType&&(a=this.color_spaces.INDEXED,f=u.palette,u.transparency.indexed)){var F=u.transparency.indexed,Q=0;for(m=0,d=F.length;m=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i>7-a&1];this.data[o+4*a]=s.blue,this.data[o+4*a+1]=s.green,this.data[o+4*a+2]=s.red,this.data[o+4*a+3]=255}0!==r&&(this.pos+=4-r)}},Yt.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i>4,s=15&A,u=this.palette[a];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*i+1>=this.width)break;u=this.palette[s],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==e&&(this.pos+=4-e)}},Yt.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i>5&e)/e*255|0,s=(A>>10&e)/e*255|0,u=A>>15?255:0,c=n*this.width*4+4*i;this.data[c]=s,this.data[c+1]=a,this.data[c+2]=o,this.data[c+3]=u}this.pos+=t}},Yt.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,A=0;A>5&r)/r*255|0,u=(o>>11)/e*255|0,c=i*this.width*4+4*A;this.data[c]=u,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=255}this.pos+=t}},Yt.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;rn&&(i.push(t.slice(s,A)),a=0,s=A),a+=e[A],A++;return s!==A&&i.push(t.slice(s,A)),i},zt=function(t,e,r){r||(r={});var n,i,A,o,a,s,u,c=[],l=[c],f=r.textIndent||0,h=0,p=0,d=t.split(" "),g=Mt.apply(this,[" ",r])[0];if(s=-1===r.lineIndent?d[0].length+2:r.lineIndent||0){var v=Array(s).join(" "),B=[];d.map((function(t){(t=t.split(/\s*\n/)).length>1?B=B.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):B.push(t[0])})),d=B,s=Dt.apply(this,[v,r])}for(A=0,o=d.length;Ae||w){if(p>e){for(a=Kt.apply(this,[n,i,e-(f+h),e]),c.push(a.shift()),c=[a.pop()];a.length;)l.push([a.shift()]);p=i.slice(n.length-(c[0]?c[0].length:0)).reduce((function(t,e){return t+e}),0)}else c=[n];l.push(c),f=p+s,h=g}else c.push(n),f+=h+p,h=g}return u=s?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},l.map(u)},Rt.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),A=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle),r="Unicode";return e.metadata[r]?{widths:e.metadata[r].widths||{0:1},kerning:e.metadata[r].kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*e/i;A.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,A.lineIndent=r.lineIndent;var a,s,u=[];for(a=0,s=n.length;a1){for(c=0;c>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this}}(H.API), +/** ==================================================================== + * @license + * jsPDF XMP metadata plugin + * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(t){var e=function(){var t='',e=unescape(encodeURIComponent('')),r=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("")),A=unescape(encodeURIComponent("")),o=r.length+n.length+i.length+e.length+A.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(e+r+n+i+A),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(H.API),function(t){var e=t.API,r=e.pdfEscape16=function(t,e){for(var r,n=e.metadata.Unicode.widths,i=["","0","00","000","0000"],A=[""],o=0,a=t.length;o=100&&(A+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+i+">"));return n.length&&(A+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),A+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,A=e.newObject,o=e.putStream,a=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"Identity-H"===r.encoding){for(var s=r.metadata.Unicode.widths,u=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),c="",l=0;l>"),i("endobj");var d=A();i("<<"),i("/Type /Font"),i("/BaseFont /"+a(r.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+t.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=A(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+a(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+d+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,A=e.newObject,o=e.putStream,a=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var s=r.metadata.rawData,u="",c=0;c>"),i("endobj"),r.objectNumber=A();for(var p=0;p>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,n=t.text||"",i=t.x,A=t.y,o=t.options||{},a=t.mutex||{},s=a.pdfEscape,u=a.activeFontKey,c=a.fonts,l=u,f="",h=0,p="",d=c[l].encoding;if("Identity-H"!==c[l].encoding)return{text:n,x:i,y:A,options:o,mutex:a};for(p=n,l=u,Array.isArray(n)&&(p=n[0]),h=0;h","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],d=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,v=0;this.__bidiEngine__={};var B=function(t){var e=t.charCodeAt(),r=e>>8,n=h[r];return void 0!==n?u[256*n+(255&e)]:252===r||253===r?"AL":d.test(r)?"L":8===r?"R":"N"},w=function(t){for(var e,r=0;r=e.length||"EN"!==(s=o[a-1])&&"AN"!==s||"EN"!==(u=e[a+1])&&"AN"!==u?f="N":g&&(u="AN"),f=u===s?u:"N";break;case"ES":f="EN"===(s=a>0?o[a-1]:"B")&&a+10&&"EN"===o[a-1]){f="EN";break}if(g){f="N";break}for(c=a+1,l=e.length;c=1425&&h<=2303||64286===h;if(s=e[c],p&&("R"===s||"AL"===s)){f="R";break}}}f=a<1||"B"===(s=e[a-1])?"N":o[a-1];break;case"B":g=!1,r=!0,f=v;break;case"S":n=!0,f="N"}return f},y=function(t,e,r){var n=t.split("");return r&&b(n,r,{hiLevel:v}),n.reverse(),e&&e.reverse(),n.join("")},b=function(t,e,i){var A,o,a,s,u,h=-1,p=t.length,d=0,w=[],y=v?l:c,b=[];for(g=!1,r=!1,n=!1,o=0;o0)if(16===A){for(o=h;o-1){for(o=h;o=0&&"WS"===t[i];i--)e[i]=v}}(b,e,p)},x=function(t,e,n,i,A){if(!(A.hiLevel=t){for(s=l+1;s=t;)s++;for(u=l,a=s-1;u=0&&(t[i]=p[n+1])}(n,r,i),x(2,n,e,r,i),x(1,n,e,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,r){if(function(t,e){if(e)for(var r=0;r>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,r){var n,i,A,o;for(A=0,i=0,o=(t=""+t).length;0<=o?io;i=0<=o?++i:--i)n=t.charCodeAt(i),A+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return A*(e/1e3)},t.prototype.lineHeight=function(t,e){var r;return null==e&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},t}();var Zt,$t=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?et;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(t){var e,r,n;for(n=[],e=0,r=t.length;0<=r?er;e=0<=r?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,r,n,i,A,o,a;return t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),A=this.readByte(),o=this.readByte(),a=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^A)+256*(255^o)+(255^a)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*A+256*o+a},t.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?rt;r=0<=t?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,r,n,i;for(i=[],r=0,n=t.length;rn;r=0<=n?++r:--r)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var r,n,i,A,o,a,s,u,c,l,f,h,p;for(p in f=Object.keys(e).length,a=Math.log(2),c=16*Math.floor(Math.log(f)/a),A=Math.floor(c/a),u=16*f-c,(n=new $t).writeInt(this.scalarType),n.writeShort(f),n.writeShort(c),n.writeShort(A),n.writeShort(u),i=16*f,s=n.pos+i,o=null,h=[],e)for(l=e[p],n.writeString(p),n.writeInt(t(l)),n.writeInt(s),n.writeInt(l.length),h=h.concat(l),"head"===p&&(o=s),s+=l.length;s%4;)h.push(0),s++;return n.write(h),r=2981146554-t(n.data),n.pos=o+8,n.writeUInt32(r),n.data},t=function(t){var e,r,n,i;for(t=he.call(t);t.length%4;)t.push(0);for(n=new $t(t),r=0,e=0,i=t.length;el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),t.pos+=2,p=function(){var e,r;for(r=[],a=e=0;0<=l?el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),s=function(){var e,r;for(r=[],a=e=0;0<=l?el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),u=function(){var e,r;for(r=[],a=e=0;0<=l?el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),n=(this.length-t.pos+this.offset)/2,o=function(){var e,r;for(r=[],a=e=0;0<=n?en;a=0<=n?++e:--e)r.push(t.readUInt16());return r}(),a=g=0,B=i.length;g=d;r=h<=d?++v:--v)0===u[a]?A=r+s[a]:0!==(A=o[u[a]/2+(r-h)-(l-a)]||0)&&(A+=s[a]),this.codeMap[r]=65535&A}t.pos=c}return t.encode=function(t,e){var r,n,i,A,o,a,s,u,c,l,f,h,p,d,g,v,B,w,m,y,b,x,C,E,N,F,Q,U,S,L,_,H,T,I,O,P,k,R,M,D,K,z,V,j,q,X;switch(U=new $t,A=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,d=function(){var t=[];for(h=0;h<256;++h)t.push(0);return t}(),v={0:0},i={},S=0,T=A.length;S=32768)for(a.push(0),y.push(2*(f.length+C-h)),n=H=N;N<=u?H<=u:H>=u;n=N<=u?++H:--H)f.push(r[n].new);else a.push(Q-N),y.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*C+2*f.length),U.writeUInt16(0),U.writeUInt16(E),U.writeUInt16(x),U.writeUInt16(l),U.writeUInt16(b),K=0,P=c.length;Kn;r=0<=n?++r:--r)e=new ie(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var r,n;return null==e&&(e="macroman"),r=ie.encode(t,e),(n=new $t).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(Zt),oe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(Zt),ae=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(Zt),se=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="post",e.prototype.parse=function(t){var e,r,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(r=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?ir;i=0<=r?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.posr;i=0<=r?++e:--e)n.push(t.readUInt32());return n}.call(this)}},e}(Zt),ue=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},ce=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="name",e.prototype.parse=function(t){var e,r,n,i,A,o,a,s,u,c,l;for(t.pos=this.offset,t.readShort(),e=t.readShort(),o=t.readShort(),r=[],i=0;0<=e?ie;i=0<=e?++i:--i)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+o+t.readShort()});for(a={},i=u=0,c=r.length;uo;e=0<=o?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],e=r=0;0<=n?rn;e=0<=n?++r:--r)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.metrics).length;tn;e=0<=n?++A:--A)a.push(this.widths.push(r));return a},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(Zt),he=[].slice,pe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,r,n,i,A,o,a,s,u,c;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(t),0===(n=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+r,A=(o=new $t(e.read(n))).readShort(),s=o.readShort(),c=o.readShort(),a=o.readShort(),u=o.readShort(),this.cache[t]=-1===A?new ge(o,s,c,a,u):new de(o,A,s,c,a,u),this.cache[t]))},e.prototype.encode=function(t,e,r){var n,i,A,o,a;for(A=[],i=[],o=0,a=e.length;o0&&(n+=a)}for(var s=new Array(4*r.length),u=0;u>8,s[4*u+1]=(16711680&r[u])>>16,s[4*u]=(4278190080&r[u])>>24;return s},e}(Zt),Be=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,t={},i=this.subset)r=i[e],t[e]=n[r];return t},t.prototype.glyphsFor=function(t){var e,r,n,i,A,o,a;for(n={},A=0,o=t.length;A0)for(i in a=this.glyphsFor(e))r=a[i],n[i]=r;return n},t.prototype.encode=function(t,e){var r,n,i,A,o,a,s,u,c,l,f,h,p,d,g;for(n in r=Ae.encode(this.generateCmap(),"unicode"),A=this.glyphsFor(t),f={0:0},g=r.charMap)f[(a=g[n]).old]=a.new;for(h in l=r.maxGlyphID,A)h in f||(f[h]=l++);return u=function(t){var e,r;for(e in r={},t)r[t[e]]=e;return r}(f),c=Object.keys(u).sort((function(t,e){return t-e})),p=function(){var t,e,r;for(r=[],t=0,e=c.length;t>"),A.join("\n")}return""+r},e}(),t.exports.AcroForm=bt,t.exports.AcroFormAppearance=mt,t.exports.AcroFormButton=ht,t.exports.AcroFormCheckBox=vt,t.exports.AcroFormChoiceField=ut,t.exports.AcroFormComboBox=lt,t.exports.AcroFormEditBox=ft,t.exports.AcroFormListBox=ct,t.exports.AcroFormPasswordField=wt,t.exports.AcroFormPushButton=pt,t.exports.AcroFormRadioButton=dt,t.exports.AcroFormTextField=Bt,t.exports.GState=U,t.exports.ShadingPattern=L,t.exports.TilingPattern=_,t.exports.default=H,t.exports.jsPDF=H})),A.register("czoXN",(function(e,r){t(e.exports,"zlibSync",(()=>G)),t(e.exports,"unzlibSync",(()=>W));var n=Uint8Array,i=Uint16Array,A=Uint32Array,o=new n([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),a=new n([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=function(t,e){for(var r=new i(31),n=0;n<31;++n)r[n]=e+=1<>>1|(21845&v)<<1;B=(61680&(B=(52428&B)>>>2|(13107&B)<<2))>>>4|(3855&B)<<4,g[v]=((65280&B)>>>8|(255&B)<<8)>>>1}var w=function(t,e,r){for(var n=t.length,A=0,o=new i(e);A>>u]=c}else for(a=new i(n),A=0;A>>15-t[A];return a},m=new n(288);for(v=0;v<144;++v)m[v]=8;for(v=144;v<256;++v)m[v]=9;for(v=256;v<280;++v)m[v]=7;for(v=280;v<288;++v)m[v]=8;var y=new n(32);for(v=0;v<32;++v)y[v]=5;var b=w(m,9,0),x=w(m,9,1),C=w(y,5,0),E=w(y,5,1),N=function(t){for(var e=t[0],r=1;re&&(e=t[r]);return e},F=function(t,e,r){var n=e/8>>0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},Q=function(t,e){var r=e/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},U=function(t){return(t/8>>0)+(7&t&&1)},S=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var o=new(t instanceof i?i:t instanceof A?A:n)(r-e);return o.set(t.subarray(e,r)),o},L=function(t,e,r){var i=t.length,A=!e||r,u=!r||r.i;r||(r={}),e||(e=new n(3*i));var c=function(t){var r=e.length;if(t>r){var i=new n(Math.max(2*r,t));i.set(e),e=i}},f=r.f||0,h=r.p||0,d=r.b||0,g=r.l,v=r.d,B=r.m,m=r.n,y=8*i;do{if(!g){r.f=f=F(t,h,1);var b=F(t,h+1,3);if(h+=3,!b){var C=t[(D=U(h)+4)-4]|t[D-3]<<8,L=D+C;if(L>i){if(u)throw"unexpected EOF";break}A&&c(d+C),e.set(t.subarray(D,L),d),r.b=d+=C,r.p=h=8*L;continue}if(1==b)g=x,v=E,B=9,m=5;else{if(2!=b)throw"invalid block type";var _=F(t,h,31)+257,H=F(t,h+10,15)+4,T=_+F(t,h+5,31)+1;h+=14;for(var I=new n(T),O=new n(19),P=0;Py)break;var M=w(O,k,1);for(P=0;P>>4)<16)I[P++]=D;else{var z=0,V=0;for(16==D?(V=3+F(t,h,3),h+=2,z=I[P-1]):17==D?(V=3+F(t,h,7),h+=3):18==D&&(V=11+F(t,h,127),h+=7);V--;)I[P++]=z}}var j=I.subarray(0,_),q=I.subarray(_);B=N(j),m=N(q),g=w(j,B,1),v=w(q,m,1)}if(h>y)throw"unexpected EOF"}A&&c(d+131072);for(var X=(1<>>4;if((h+=15&z)>y)throw"unexpected EOF";if(!z)throw"invalid length/literal";if(Y<256)e[d++]=Y;else{if(256==Y){g=null;break}var J=Y-254;if(Y>264){var Z=o[P=Y-257];J=F(t,h,(1<>>4;if(!$)throw"invalid distance";h+=15&$;q=p[tt];if(tt>3){Z=a[tt];q+=Q(t,h)&(1<y)throw"unexpected EOF";A&&c(d+131072);for(var et=d+J;d>0;t[n]|=r,t[n+1]|=r>>>8},H=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},T=function(t,e){for(var r=[],A=0;Ap&&(p=a[A].s);var d=new i(p+1),g=I(r[f-1],d,0);if(g>e){A=0;var v=0,B=g-e,w=1<e))break;v+=w-(1<>>=B;v>0;){var y=a[A].s;d[y]=0&&v;--A){var b=a[A].s;d[b]==e&&(--d[b],++v)}g=e}return[new n(d),g]},I=function(t,e,r){return-1==t.s?Math.max(I(t.l,e,r+1),I(t.r,e,r+1)):e[t.s]=r},O=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new i(++e),n=0,A=t[0],o=1,a=function(t){r[n++]=t},s=1;s<=e;++s)if(t[s]==A&&s!=e)++o;else{if(!A&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(A),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(A);o=1,A=t[s]}return[r.subarray(0,n),e]},P=function(t,e){for(var r=0,n=0;n>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var A=0;A4&&!D[s[z-1]];--z);var V,j,q,X,G=h+5<<3,W=P(A,m)+P(u,y)+c,Y=P(A,g)+P(u,x)+c+14+3*z+P(I,D)+(2*I[16]+3*I[17]+7*I[18]);if(G<=W&&G<=Y)return k(e,p,t.subarray(f,f+h));if(_(e,p,1+(Y15&&(_(e,p,tt[R]>>>5&127),p+=tt[R]>>>12)}}}else V=b,j=m,q=C,X=y;for(R=0;R255){et=n[R]>>>18&31;H(e,p,V[et+257]),p+=j[et+257],et>7&&(_(e,p,n[R]>>>23&31),p+=o[et]);var rt=31&n[R];H(e,p,q[rt]),p+=X[rt],rt>3&&(H(e,p,n[R]>>>5&8191),p+=a[rt])}else H(e,p,V[n[R]]),p+=j[n[R]];return H(e,p,V[256]),p+j[256]},M=new A([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),D=new n(0),K=function(t,e,r,s,u,c){var l=t.length,h=new n(s+l+5*(1+Math.floor(l/7e3))+u),p=h.subarray(s,h.length-u),g=0;if(!e||l<8)for(var v=0;v<=l;v+=65535){var B=v+65535;B>>13,y=8191&w,b=(1<7e3||I>24576)&&j>423){g=R(t,p,0,Q,L,_,T,I,P,v-P,g),I=H=T=0,P=v;for(var q=0;q<286;++q)L[q]=0;for(q=0;q<30;++q)_[q]=0}var X=2,G=0,W=y,Y=z-V&32767;if(j>2&&K==F(v-Y))for(var J=Math.min(m,j)-1,Z=Math.min(32767,v),$=Math.min(258,j);Y<=Z&&--W&&z!=V;){if(t[v+X]==t[v+X-Y]){for(var tt=0;tt<$&&t[v+tt]==t[v+tt-Y];++tt);if(tt>X){if(X=tt,G=Y,tt>J)break;var et=Math.min(Y,tt-2),rt=0;for(q=0;qrt&&(rt=it,V=nt)}}}Y+=(z=V)-(V=x[z])+32768&32767}if(G){Q[I++]=268435456|f[X]<<18|d[G];var At=31&f[X],ot=31&d[G];T+=o[At]+a[ot],++L[257+At],++_[ot],O=v+X,++H}else Q[I++]=t[v],++L[t[v]]}}g=R(t,p,c,Q,L,_,T,I,P,v-P,g),c||(g=k(p,g,D))}return S(h,0,s+U(g)+u)},z=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,A=r.length,o=0;o!=A;){for(var a=Math.min(o+5552,A);o>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}},V=function(t,e,r,n,i){return K(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)},j=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},q=function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)},X=function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"};function G(t,e){void 0===e&&(e={});var r=z();r.p(t);var n=V(t,e,2,4);return q(n,e),j(n,n.length-4,r.d()),n}function W(t,e){return L((X(t),t.subarray(2,-4)),e)}})),A.register("gp0JE",(function(t,e){var r=A("l6ARn").Buffer;!function(e){"use strict";var n,i="function"==typeof(n=e.atob)?n:"function"==typeof r?function(t){ +//!! Deliberately using an API that's deprecated in node.js because +//!! this file is for browsers and we expect them to cope with it. +//!! Discussion: github.com/node-browser-compat/atob/pull/9 +return new r(t,"base64").toString("binary")}:"object"==typeof e.base64js?function(t){var r=e.base64js.b64ToByteArray(t);return Array.prototype.map.call(r,(function(t){return String.fromCharCode(t)})).join("")}:function(){throw new Error("You're probably in an old browser or an iOS webworker. It might help to include beatgammit's base64-js.")};e.atob=i,t&&t.exports&&(t.exports=i)}(window)})),A.register("8kGJm",(function(t,e){var r=A("l6ARn").Buffer;!function(){"use strict";t.exports=function(t){return(t instanceof r?t:r.from(t.toString(),"binary")).toString("base64")}}()})),A.register("f7Pin",(function(t,e){var r=A("jhCkN");function n(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function i(t,e){for(var r,n="",i=0,A=-1,o=0,a=0;a<=t.length;++a){if(a2){var s=n.lastIndexOf("/");if(s!==n.length-1){-1===s?(n="",i=0):i=(n=n.slice(0,s)).length-1-n.lastIndexOf("/"),A=a,o=0;continue}}else if(2===n.length||1===n.length){n="",i=0,A=a,o=0;continue}e&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+t.slice(A+1,a):n=t.slice(A+1,a),i=a-A-1;A=a,o=0}else 46===r&&-1!==o?++o:o=-1}return n}var o={resolve:function(){for(var t,e="",A=!1,o=arguments.length-1;o>=-1&&!A;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t=r.cwd()),a=t),n(a),0!==a.length&&(e=a+"/"+e,A=47===a.charCodeAt(0))}return e=i(e,!A),A?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(t){if(n(t),0===t.length)return".";var e=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return 0!==(t=i(t,!e)).length||e||(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return n(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":o.normalize(t)},relative:function(t,e){if(n(t),n(e),t===e)return"";if((t=o.resolve(t))===(e=o.resolve(e)))return"";for(var r=1;ru){if(47===e.charCodeAt(a+l))return e.slice(a+l+1);if(0===l)return e.slice(a+l)}else A>u&&(47===t.charCodeAt(r+l)?c=l:0===l&&(c=0));break}var f=t.charCodeAt(r+l);if(f!==e.charCodeAt(a+l))break;47===f&&(c=l)}var h="";for(l=r+c+1;l<=i;++l)l!==i&&47!==t.charCodeAt(l)||(0===h.length?h+="..":h+="/..");return h.length>0?h+e.slice(a+c):(a+=c,47===e.charCodeAt(a)&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(n(t),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,i=-1,A=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!A){i=o;break}}else A=!1;return-1===i?r?"/":".":r&&1===i?"//":t.slice(0,i)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');n(t);var r,i=0,A=-1,o=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,s=-1;for(r=t.length-1;r>=0;--r){var u=t.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1),a>=0&&(u===e.charCodeAt(a)?-1==--a&&(A=r):(a=-1,A=s))}return i===A?A=s:-1===A&&(A=t.length),t.slice(i,A)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!o){i=r+1;break}}else-1===A&&(o=!1,A=r+1);return-1===A?"":t.slice(i,A)},extname:function(t){n(t);for(var e=-1,r=0,i=-1,A=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(A=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!A){r=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===r+1?"":t.slice(e,i)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+n:r+t+n:n}("/",t)},parse:function(t){n(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var r,i=t.charCodeAt(0),A=47===i;A?(e.root="/",r=1):r=0;for(var o=-1,a=0,s=-1,u=!0,c=t.length-1,l=0;c>=r;--c)if(47!==(i=t.charCodeAt(c)))-1===s&&(u=!1,s=c+1),46===i?-1===o?o=c:1!==l&&(l=1):-1!==o&&(l=-1);else if(!u){a=c+1;break}return-1===o||-1===s||0===l||1===l&&o===s-1&&o===a+1?-1!==s&&(e.base=e.name=0===a&&A?t.slice(1,s):t.slice(a,s)):(0===a&&A?(e.name=t.slice(1,o),e.base=t.slice(1,s)):(e.name=t.slice(a,o),e.base=t.slice(a,s)),e.ext=t.slice(o,s)),a>0?e.dir=t.slice(0,a-1):A&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,t.exports=o})),A.register("3vFHt",(function(t,e){ +/*! + * html2canvas 1.0.0-rc.7 + * Copyright (c) 2020 Niklas von Hertzen + * Released under MIT License + */ +t.exports,t.exports=function(){"use strict"; +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};function e(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&i[i.length-1])||6!==A[0]&&2!==A[0])){o=0;continue}if(3===A[0]&&(!i||A[1]>i[0]&&A[1]=55296&&i<=56319&&r>10),o%1024+56320)),(i+1===r||n.length>16384)&&(A+=String.fromCharCode.apply(String,n),n.length=0)}return A},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,c[s++]=(15&n)<<4|i>>2,c[s++]=(3&i)<<6|63&A;return u},d=function(t){for(var e=t.length,r=[],n=0;n>v,y=(1<>v)+32,x=65536>>B,C=(1<=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>v])<>v)])<>B),e=this.index[e],e+=t>>v&C,e=((e=this.index[e])<U?(i.push(!0),o-=U):i.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return n.push(A),r.push(V);if(o===H||o===R){if(0===A)return n.push(A),r.push(it);var a=r[A-1];return-1===Nt.indexOf(a)?(n.push(n[A-1]),r.push(a)):(n.push(A),r.push(it))}return n.push(A),o===At?r.push("strict"===e?W:lt):o===gt||o===nt?r.push(it):o===vt?t>=131072&&t<=196605||t>=196608&&t<=262141?r.push(lt):r.push(it):void r.push(o)})),[n,r,i]},St=function(t,e,r,n){var i=n[r];if(Array.isArray(t)?-1!==t.indexOf(i):t===i)for(var A=r;A<=n.length;){if((s=n[++A])===e)return!0;if(s!==k)break}if(i===k)for(A=r;A>0;){var o=n[--A];if(Array.isArray(t)?-1!==t.indexOf(o):t===o)for(var a=r;a<=n.length;){var s;if((s=n[++a])===e)return!0;if(s!==k)break}if(o!==k)break}return!1},Lt=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n!==k)return n;r--}return 0},_t=function(t,e,r,n,i){if(0===r[n])return wt;var A=n-1;if(Array.isArray(i)&&!0===i[A])return wt;var o=A-1,a=A+1,s=e[A],u=o>=0?e[o]:0,c=e[a];if(s===L&&c===_)return wt;if(-1!==xt.indexOf(s))return Bt;if(-1!==xt.indexOf(c))return wt;if(-1!==Ct.indexOf(c))return wt;if(Lt(A,e)===O)return mt;if(yt.get(t[A])===R&&(c===lt||c===ot||c===at))return wt;if(s===I||c===I)return wt;if(s===P)return wt;if(-1===[k,D,z].indexOf(s)&&c===P)return wt;if(-1!==[j,q,X,Z,rt].indexOf(c))return wt;if(Lt(A,e)===Y)return wt;if(St(J,Y,A,e))return wt;if(St([j,q],W,A,e))return wt;if(St(M,M,A,e))return wt;if(s===k)return mt;if(s===J||c===J)return wt;if(c===V||s===V)return mt;if(-1!==[D,z,W].indexOf(c)||s===K)return wt;if(u===ct&&-1!==Qt.indexOf(s))return wt;if(s===rt&&c===ct)return wt;if(c===G&&-1!==bt.concat(G,X,$,lt,ot,at).indexOf(s))return wt;if(-1!==bt.indexOf(c)&&s===$||-1!==bt.indexOf(s)&&c===$)return wt;if(s===et&&-1!==[lt,ot,at].indexOf(c)||-1!==[lt,ot,at].indexOf(s)&&c===tt)return wt;if(-1!==bt.indexOf(s)&&-1!==Et.indexOf(c)||-1!==Et.indexOf(s)&&-1!==bt.indexOf(c))return wt;if(-1!==[et,tt].indexOf(s)&&(c===$||-1!==[Y,z].indexOf(c)&&e[a+1]===$)||-1!==[Y,z].indexOf(s)&&c===$||s===$&&-1!==[$,rt,Z].indexOf(c))return wt;if(-1!==[$,rt,Z,j,q].indexOf(c))for(var l=A;l>=0;){if((f=e[l])===$)return wt;if(-1===[rt,Z].indexOf(f))break;l--}if(-1!==[et,tt].indexOf(c))for(l=-1!==[j,q].indexOf(s)?o:A;l>=0;){var f;if((f=e[l])===$)return wt;if(-1===[rt,Z].indexOf(f))break;l--}if(ft===s&&-1!==[ft,ht,st,ut].indexOf(c)||-1!==[ht,st].indexOf(s)&&-1!==[ht,pt].indexOf(c)||-1!==[pt,ut].indexOf(s)&&c===pt)return wt;if(-1!==Ft.indexOf(s)&&-1!==[G,tt].indexOf(c)||-1!==Ft.indexOf(c)&&s===et)return wt;if(-1!==bt.indexOf(s)&&-1!==bt.indexOf(c))return wt;if(s===Z&&-1!==bt.indexOf(c))return wt;if(-1!==bt.concat($).indexOf(s)&&c===Y||-1!==bt.concat($).indexOf(c)&&s===q)return wt;if(s===dt&&c===dt){for(var h=r[A],p=1;h>0&&e[--h]===dt;)p++;if(p%2!=0)return wt}return s===ot&&c===at?wt:mt},Ht=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var r=Ut(t,e.lineBreak),n=r[0],i=r[1],A=r[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(i=i.map((function(t){return-1!==[$,it,gt].indexOf(t)?lt:t})));var o="keep-all"===e.wordBreak?A.map((function(e,r){return e&&t[r]>=19968&&t[r]<=40959})):void 0;return[n,i,o]},Tt=function(){function t(t,e,r,n){this.codePoints=t,this.required=e===Bt,this.start=r,this.end=n}return t.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),It=function(t,e){var r=s(t),n=Ht(r,e),i=n[0],A=n[1],o=n[2],a=r.length,u=0,c=0;return{next:function(){if(c>=a)return{done:!0,value:null};for(var t=wt;c=Qe&&t<=57},Me=function(t){return t>=55296&&t<=57343},De=function(t){return Re(t)||t>=Te&&t<=Oe||t>=Ue&&t<=Le},Ke=function(t){return t>=Ue&&t<=He},ze=function(t){return t>=Te&&t<=ke},Ve=function(t){return Ke(t)||ze(t)},je=function(t){return t>=he},qe=function(t){return t===Mt||t===zt||t===Vt},Xe=function(t){return Ve(t)||je(t)||t===$t},Ge=function(t){return Xe(t)||Re(t)||t===te},We=function(t){return t>=ye&&t<=be||t===xe||t>=Ce&&t<=Ee||t===Ne},Ye=function(t,e){return t===Kt&&e!==Mt},Je=function(t,e,r){return t===te?Xe(e)||Ye(e,r):!!Xe(t)||!(t!==Kt||!Ye(t,e))},Ze=function(t,e,r){return t===ge||t===te?!!Re(e)||e===me&&Re(r):Re(t===me?e:t)},$e=function(t){var e=0,r=1;t[e]!==ge&&t[e]!==te||(t[e]===te&&(r=-1),e++);for(var n=[];Re(t[e]);)n.push(t[e++]);var i=n.length?parseInt(u.apply(void 0,n),10):0;t[e]===me&&e++;for(var A=[];Re(t[e]);)A.push(t[e++]);var o=A.length,a=o?parseInt(u.apply(void 0,A),10):0;t[e]!==Ie&&t[e]!==Se||e++;var s=1;t[e]!==ge&&t[e]!==te||(t[e]===te&&(s=-1),e++);for(var c=[];Re(t[e]);)c.push(t[e++]);var l=c.length?parseInt(u.apply(void 0,c),10):0;return r*(i+a*Math.pow(10,-o))*Math.pow(10,s*l)},tr={type:h.LEFT_PARENTHESIS_TOKEN},er={type:h.RIGHT_PARENTHESIS_TOKEN},rr={type:h.COMMA_TOKEN},nr={type:h.SUFFIX_MATCH_TOKEN},ir={type:h.PREFIX_MATCH_TOKEN},Ar={type:h.COLUMN_TOKEN},or={type:h.DASH_MATCH_TOKEN},ar={type:h.INCLUDE_MATCH_TOKEN},sr={type:h.LEFT_CURLY_BRACKET_TOKEN},ur={type:h.RIGHT_CURLY_BRACKET_TOKEN},cr={type:h.SUBSTRING_MATCH_TOKEN},lr={type:h.BAD_URL_TOKEN},fr={type:h.BAD_STRING_TOKEN},hr={type:h.CDO_TOKEN},pr={type:h.CDC_TOKEN},dr={type:h.COLON_TOKEN},gr={type:h.SEMICOLON_TOKEN},vr={type:h.LEFT_SQUARE_BRACKET_TOKEN},Br={type:h.RIGHT_SQUARE_BRACKET_TOKEN},wr={type:h.WHITESPACE_TOKEN},mr={type:h.EOF_TOKEN},yr=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(s(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==mr;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case jt:return this.consumeStringToken(jt);case Xt:var e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Ge(e)||Ye(r,n)){var i=Je(e,r,n)?Pt:Ot,A=this.consumeName();return{type:h.HASH_TOKEN,value:A,flags:i}}break;case Gt:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),nr;break;case Yt:return this.consumeStringToken(Yt);case Jt:return tr;case Zt:return er;case de:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),cr;break;case ge:if(Ze(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case ve:return rr;case te:var o=t,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(Ze(o,a,s))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(Je(o,a,s))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(a===te&&s===ne)return this.consumeCodePoint(),this.consumeCodePoint(),pr;break;case me:if(Ze(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case Dt:if(this.peekCodePoint(0)===de)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===de&&(c=this.consumeCodePoint())===Dt)return this.consumeToken();if(c===Fe)return this.consumeToken()}break;case Be:return dr;case we:return gr;case re:if(this.peekCodePoint(0)===ee&&this.peekCodePoint(1)===te&&this.peekCodePoint(2)===te)return this.consumeCodePoint(),this.consumeCodePoint(),hr;break;case ie:var l=this.peekCodePoint(0),f=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Je(l,f,p))return A=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:A};break;case Ae:return vr;case Kt:if(Ye(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case oe:return Br;case ae:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),ir;break;case se:return sr;case ce:return ur;case _e:case Pe:var d=this.peekCodePoint(0),g=this.peekCodePoint(1);return d!==ge||!De(g)&&g!==ue||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case le:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),or;if(this.peekCodePoint(0)===le)return this.consumeCodePoint(),Ar;break;case fe:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),ar;break;case Fe:return mr}return qe(t)?(this.consumeWhiteSpace(),wr):Re(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):Xe(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:u(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();De(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var r=!1;e===ue&&t.length<6;)t.push(e),e=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(u.apply(void 0,t.map((function(t){return t===ue?Qe:t}))),16),i=parseInt(u.apply(void 0,t.map((function(t){return t===ue?Oe:t}))),16);return{type:h.UNICODE_RANGE_TOKEN,start:n,end:i}}var A=parseInt(u.apply(void 0,t),16);if(this.peekCodePoint(0)===te&&De(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var o=[];De(e)&&o.length<6;)o.push(e),e=this.consumeCodePoint();return i=parseInt(u.apply(void 0,o),16),{type:h.UNICODE_RANGE_TOKEN,start:A,end:i}}return{type:h.UNICODE_RANGE_TOKEN,start:A,end:A}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&this.peekCodePoint(0)===Jt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Jt?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:t}):{type:h.IDENT_TOKEN,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe)return{type:h.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(e===Yt||e===jt){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===Zt)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:r.value}):(this.consumeBadUrlRemnants(),lr)}for(;;){var n=this.consumeCodePoint();if(n===Fe||n===Zt)return{type:h.URL_TOKEN,value:u.apply(void 0,t)};if(qe(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===Zt?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:u.apply(void 0,t)}):(this.consumeBadUrlRemnants(),lr);if(n===jt||n===Yt||n===Jt||We(n))return this.consumeBadUrlRemnants(),lr;if(n===Kt){if(!Ye(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),lr;t.push(this.consumeEscapedCodePoint())}else t.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;qe(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===Zt||t===Fe)return;Ye(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e=6e4,r="";t>0;){var n=Math.min(e,t);r+=u.apply(void 0,this._value.splice(0,n)),t-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(t){for(var e="",r=0;;){var n=this._value[r];if(n===Fe||void 0===n||n===t)return e+=this.consumeStringSlice(r),{type:h.STRING_TOKEN,value:e};if(n===Mt)return this._value.splice(0,r),fr;if(n===Kt){var i=this._value[r+1];i!==Fe&&void 0!==i&&(i===Mt?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ye(n,i)&&(e+=this.consumeStringSlice(r),e+=u(this.consumeEscapedCodePoint()),r=-1))}r++}},t.prototype.consumeNumber=function(){var t=[],e=kt,r=this.peekCodePoint(0);for(r!==ge&&r!==te||t.push(this.consumeCodePoint());Re(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===me&&Re(n))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Rt;Re(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===Ie||r===Se)&&((n===ge||n===te)&&Re(i)||Re(n)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Rt;Re(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[$e(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],r=t[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),A=this.peekCodePoint(2);if(Je(n,i,A)){var o=this.consumeName();return{type:h.DIMENSION_TOKEN,number:e,flags:r,unit:o}}return n===Wt?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:e,flags:r}):{type:h.NUMBER_TOKEN,number:e,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(De(t)){for(var e=u(t);De(this.peekCodePoint(0))&&e.length<6;)e+=u(this.consumeCodePoint());qe(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(e,16);return 0===r||Me(r)||r>1114111?pe:r}return t===Fe?pe:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(Ge(e))t+=u(e);else{if(!Ye(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=u(this.consumeEscapedCodePoint())}}},t}(),br=function(){function t(t){this._tokens=t}return t.create=function(e){var r=new yr;return r.write(e),new t(r.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===h.WHITESPACE_TOKEN;)t=this.consumeToken();if(t.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(t.type===h.WHITESPACE_TOKEN);if(t.type===h.EOF_TOKEN)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(e.type===h.EOF_TOKEN)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(t.type);case h.FUNCTION_TOKEN:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},r=this.consumeToken();;){if(r.type===h.EOF_TOKEN||Lr(r,t))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:h.FUNCTION};;){var r=this.consumeToken();if(r.type===h.EOF_TOKEN||r.type===h.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?mr:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),xr=function(t){return t.type===h.DIMENSION_TOKEN},Cr=function(t){return t.type===h.NUMBER_TOKEN},Er=function(t){return t.type===h.IDENT_TOKEN},Nr=function(t){return t.type===h.STRING_TOKEN},Fr=function(t,e){return Er(t)&&t.value===e},Qr=function(t){return t.type!==h.WHITESPACE_TOKEN},Ur=function(t){return t.type!==h.WHITESPACE_TOKEN&&t.type!==h.COMMA_TOKEN},Sr=function(t){var e=[],r=[];return t.forEach((function(t){if(t.type===h.COMMA_TOKEN){if(0===r.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(r),void(r=[])}t.type!==h.WHITESPACE_TOKEN&&r.push(t)})),r.length&&e.push(r),e},Lr=function(t,e){return e===h.LEFT_CURLY_BRACKET_TOKEN&&t.type===h.RIGHT_CURLY_BRACKET_TOKEN||e===h.LEFT_SQUARE_BRACKET_TOKEN&&t.type===h.RIGHT_SQUARE_BRACKET_TOKEN||e===h.LEFT_PARENTHESIS_TOKEN&&t.type===h.RIGHT_PARENTHESIS_TOKEN},_r=function(t){return t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN},Hr=function(t){return t.type===h.PERCENTAGE_TOKEN||_r(t)},Tr=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Ir={type:h.NUMBER_TOKEN,number:0,flags:kt},Or={type:h.PERCENTAGE_TOKEN,number:50,flags:kt},Pr={type:h.PERCENTAGE_TOKEN,number:100,flags:kt},kr=function(t,e,r){var n=t[0],i=t[1];return[Rr(n,e),Rr(void 0!==i?i:n,r)]},Rr=function(t,e){if(t.type===h.PERCENTAGE_TOKEN)return t.number/100*e;if(xr(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Mr="deg",Dr="grad",Kr="rad",zr="turn",Vr={name:"angle",parse:function(t){if(t.type===h.DIMENSION_TOKEN)switch(t.unit){case Mr:return Math.PI*t.number/180;case Dr:return Math.PI/200*t.number;case Kr:return t.number;case zr:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},jr=function(t){return t.type===h.DIMENSION_TOKEN&&(t.unit===Mr||t.unit===Dr||t.unit===Kr||t.unit===zr)},qr=function(t){switch(t.filter(Er).map((function(t){return t.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ir,Ir];case"to top":case"bottom":return Xr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ir,Pr];case"to right":case"left":return Xr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Pr,Pr];case"to bottom":case"top":return Xr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Pr,Ir];case"to left":case"right":return Xr(270)}return 0},Xr=function(t){return Math.PI*t/180},Gr={name:"color",parse:function(t){if(t.type===h.FUNCTION){var e=An[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(t.values)}if(t.type===h.HASH_TOKEN){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return Jr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var A=t.value.substring(3,4);return Jr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(A+A,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),Jr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),A=t.value.substring(6,8),Jr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(A,16)/255)}if(t.type===h.IDENT_TOKEN){var o=on[t.value.toUpperCase()];if(void 0!==o)return o}return on.TRANSPARENT}},Wr=function(t){return 0==(255&t)},Yr=function(t){var e=255&t,r=255&t>>8,n=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+n+","+r+","+e/255+")":"rgb("+i+","+n+","+r+")"},Jr=function(t,e,r,n){return(t<<24|e<<16|r<<8|Math.round(255*n)<<0)>>>0},Zr=function(t,e){if(t.type===h.NUMBER_TOKEN)return t.number;if(t.type===h.PERCENTAGE_TOKEN){var r=3===e?1:255;return 3===e?t.number/100*r:Math.round(t.number/100*r)}return 0},$r=function(t){var e=t.filter(Ur);if(3===e.length){var r=e.map(Zr),n=r[0],i=r[1],A=r[2];return Jr(n,i,A,1)}if(4===e.length){var o=e.map(Zr),a=(n=o[0],i=o[1],A=o[2],o[3]);return Jr(n,i,A,a)}return 0};function tn(t,e,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(e-t)*r*6+t:r<.5?e:r<2/3?6*(e-t)*(2/3-r)+t:t}var en,rn,nn=function(t){var e=t.filter(Ur),r=e[0],n=e[1],i=e[2],A=e[3],o=(r.type===h.NUMBER_TOKEN?Xr(r.number):Vr.parse(r))/(2*Math.PI),a=Hr(n)?n.number/100:0,s=Hr(i)?i.number/100:0,u=void 0!==A&&Hr(A)?Rr(A,1):1;if(0===a)return Jr(255*s,255*s,255*s,1);var c=s<=.5?s*(a+1):s+a-s*a,l=2*s-c,f=tn(l,c,o+1/3),p=tn(l,c,o),d=tn(l,c,o-1/3);return Jr(255*f,255*p,255*d,u)},An={hsl:nn,hsla:nn,rgb:$r,rgba:$r},on={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(t){t[t.VALUE=0]="VALUE",t[t.LIST=1]="LIST",t[t.IDENT_VALUE=2]="IDENT_VALUE",t[t.TYPE_VALUE=3]="TYPE_VALUE",t[t.TOKEN_VALUE=4]="TOKEN_VALUE"})(en||(en={})),function(t){t[t.BORDER_BOX=0]="BORDER_BOX",t[t.PADDING_BOX=1]="PADDING_BOX",t[t.CONTENT_BOX=2]="CONTENT_BOX"}(rn||(rn={}));var an,sn={name:"background-clip",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(t){return t.map((function(t){if(Er(t))switch(t.value){case"padding-box":return rn.PADDING_BOX;case"content-box":return rn.CONTENT_BOX}return rn.BORDER_BOX}))}},un={name:"background-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},cn=function(t){var e=Gr.parse(t[0]),r=t[1];return r&&Hr(r)?{color:e,stop:r}:{color:e,stop:null}},ln=function(t,e){var r=t[0],n=t[t.length-1];null===r.stop&&(r.stop=Ir),null===n.stop&&(n.stop=Pr);for(var i=[],A=0,o=0;oA?i.push(s):i.push(A),A=s}else i.push(null)}var u=null;for(o=0;ot.optimumDistance)?{optimumCorner:e,optimumDistance:a}:t}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},gn=function(t,e,r,n,i){var A=0,o=0;switch(t.size){case Jn.CLOSEST_SIDE:t.shape===Yn.CIRCLE?A=o=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===Yn.ELLIPSE&&(A=Math.min(Math.abs(e),Math.abs(e-n)),o=Math.min(Math.abs(r),Math.abs(r-i)));break;case Jn.CLOSEST_CORNER:if(t.shape===Yn.CIRCLE)A=o=Math.min(pn(e,r),pn(e,r-i),pn(e-n,r),pn(e-n,r-i));else if(t.shape===Yn.ELLIPSE){var a=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(e),Math.abs(e-n)),s=dn(n,i,e,r,!0),u=s[0],c=s[1];o=a*(A=pn(u-e,(c-r)/a))}break;case Jn.FARTHEST_SIDE:t.shape===Yn.CIRCLE?A=o=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===Yn.ELLIPSE&&(A=Math.max(Math.abs(e),Math.abs(e-n)),o=Math.max(Math.abs(r),Math.abs(r-i)));break;case Jn.FARTHEST_CORNER:if(t.shape===Yn.CIRCLE)A=o=Math.max(pn(e,r),pn(e,r-i),pn(e-n,r),pn(e-n,r-i));else if(t.shape===Yn.ELLIPSE){a=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(e),Math.abs(e-n));var l=dn(n,i,e,r,!1);u=l[0],c=l[1],o=a*(A=pn(u-e,(c-r)/a))}}return Array.isArray(t.size)&&(A=Rr(t.size[0],n),o=2===t.size.length?Rr(t.size[1],i):A),[A,o]},vn=function(t){var e=Xr(180),r=[];return Sr(t).forEach((function(t,n){if(0===n){var i=t[0];if(i.type===h.IDENT_TOKEN&&"to"===i.value)return void(e=qr(t));if(jr(i))return void(e=Vr.parse(i))}var A=cn(t);r.push(A)})),{angle:e,stops:r,type:an.LINEAR_GRADIENT}},Bn=function(t){var e=Xr(180),r=[];return Sr(t).forEach((function(t,n){if(0===n){var i=t[0];if(i.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(e=qr(t));if(jr(i))return void(e=(Vr.parse(i)+Xr(270))%Xr(360))}var A=cn(t);r.push(A)})),{angle:e,stops:r,type:an.LINEAR_GRADIENT}},wn=function(t){var e=123;if(t.createRange){var r=t.createRange();if(r.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height=e+"px",n.style.display="block",t.body.appendChild(n),r.selectNode(n);var i=r.getBoundingClientRect(),A=Math.round(i.height);if(t.body.removeChild(n),A===e)return!0}}return!1},mn=function(){return void 0!==(new Image).crossOrigin},yn=function(){return"string"==typeof(new XMLHttpRequest).responseType},bn=function(t){var e=new Image,r=t.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),r.toDataURL()}catch(t){return!1}return!0},xn=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},Cn=function(t){var e=t.createElement("canvas"),r=100;e.width=r,e.height=r;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,A=e.toDataURL();i.src=A;var o=En(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),Nn(o).then((function(e){n.drawImage(e,0,0);var i=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var o=t.createElement("div");return o.style.backgroundImage="url("+A+")",o.style.height=r+"px",xn(i)?Nn(En(r,r,0,0,o)):Promise.reject(!1)})).then((function(t){return n.drawImage(t,0,0),xn(n.getImageData(0,0,r,r).data)})).catch((function(){return!1}))},En=function(t,e,r,n,i){var A="http://www.w3.org/2000/svg",o=document.createElementNS(A,"svg"),a=document.createElementNS(A,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",r.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(i),o},Nn=function(t){return new Promise((function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Fn={get SUPPORT_RANGE_BOUNDS(){var t=wn(document);return Object.defineProperty(Fn,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=bn(document);return Object.defineProperty(Fn,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?Cn(document):Promise.resolve(!1);return Object.defineProperty(Fn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=mn();return Object.defineProperty(Fn,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=yn();return Object.defineProperty(Fn,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Fn,"SUPPORT_CORS_XHR",{value:t}),t}},Qn=function(){function t(t){var e=t.id,r=t.enabled;this.id=e,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=t.substring(0,256);return new Promise((function(i,A){var o=Fn.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;if(a.onload=function(){if(200===a.status)if("text"===o)i(a.response);else{var t=new FileReader;t.addEventListener("load",(function(){return i(t.result)}),!1),t.addEventListener("error",(function(t){return A(t)}),!1),t.readAsDataURL(a.response)}else A("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=A,a.open("GET",r+"?url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&a instanceof XMLHttpRequest&&(a.responseType=o),e._options.imageTimeout){var s=e._options.imageTimeout;a.timeout=s,a.ontimeout=function(){return A("Timed out ("+s+"ms) proxying "+n)}}a.send()}))},t}(),Ln=/^data:image\/svg\+xml/i,_n=/^data:image\/.*;base64,/i,Hn=/^data:image\/.*/i,Tn=function(t){return Fn.SUPPORT_SVG_DRAWING||!kn(t)},In=function(t){return Hn.test(t)},On=function(t){return _n.test(t)},Pn=function(t){return"blob"===t.substr(0,4)},kn=function(t){return"svg"===t.substr(-3).toLowerCase()||Ln.test(t)},Rn=function(t){var e=Xr(180),r=[],n=an.LINEAR_GRADIENT,i=Yn.CIRCLE,A=Jn.FARTHEST_CORNER,o=[];return Sr(t).forEach((function(t,e){var i=t[0];if(0===e){if(Er(i)&&"linear"===i.value)return void(n=an.LINEAR_GRADIENT);if(Er(i)&&"radial"===i.value)return void(n=an.RADIAL_GRADIENT)}if(i.type===h.FUNCTION)if("from"===i.name){var A=Gr.parse(i.values[0]);r.push({stop:Ir,color:A})}else if("to"===i.name)A=Gr.parse(i.values[0]),r.push({stop:Pr,color:A});else if("color-stop"===i.name){var o=i.values.filter(Ur);if(2===o.length){A=Gr.parse(o[1]);var a=o[0];Cr(a)&&r.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*a.number,flags:a.flags},color:A})}}})),n===an.LINEAR_GRADIENT?{angle:(e+Xr(180))%Xr(360),stops:r,type:n}:{size:A,shape:i,stops:r,position:o,type:n}},Mn="closest-side",Dn="farthest-side",Kn="closest-corner",zn="farthest-corner",Vn="circle",jn="ellipse",qn="cover",Xn="contain",Gn=function(t){var e=Yn.CIRCLE,r=Jn.FARTHEST_CORNER,n=[],i=[];return Sr(t).forEach((function(t,A){var o=!0;if(0===A){var a=!1;o=t.reduce((function(t,n){if(a)if(Er(n))switch(n.value){case"center":return i.push(Or),t;case"top":case"left":return i.push(Ir),t;case"right":case"bottom":return i.push(Pr),t}else(Hr(n)||_r(n))&&i.push(n);else if(Er(n))switch(n.value){case Vn:return e=Yn.CIRCLE,!1;case jn:return e=Yn.ELLIPSE,!1;case"at":return a=!0,!1;case Mn:return r=Jn.CLOSEST_SIDE,!1;case qn:case Dn:return r=Jn.FARTHEST_SIDE,!1;case Xn:case Kn:return r=Jn.CLOSEST_CORNER,!1;case zn:return r=Jn.FARTHEST_CORNER,!1}else if(_r(n)||Hr(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return t}),o)}if(o){var s=cn(t);n.push(s)}})),{size:r,shape:e,stops:n,position:i,type:an.RADIAL_GRADIENT}},Wn=function(t){var e=Yn.CIRCLE,r=Jn.FARTHEST_CORNER,n=[],i=[];return Sr(t).forEach((function(t,A){var o=!0;if(0===A?o=t.reduce((function(t,e){if(Er(e))switch(e.value){case"center":return i.push(Or),!1;case"top":case"left":return i.push(Ir),!1;case"right":case"bottom":return i.push(Pr),!1}else if(Hr(e)||_r(e))return i.push(e),!1;return t}),o):1===A&&(o=t.reduce((function(t,n){if(Er(n))switch(n.value){case Vn:return e=Yn.CIRCLE,!1;case jn:return e=Yn.ELLIPSE,!1;case Xn:case Mn:return r=Jn.CLOSEST_SIDE,!1;case Dn:return r=Jn.FARTHEST_SIDE,!1;case Kn:return r=Jn.CLOSEST_CORNER,!1;case qn:case zn:return r=Jn.FARTHEST_CORNER,!1}else if(_r(n)||Hr(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return t}),o)),o){var a=cn(t);n.push(a)}})),{size:r,shape:e,stops:n,position:i,type:an.RADIAL_GRADIENT}};!function(t){t[t.URL=0]="URL",t[t.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",t[t.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(an||(an={}));var Yn,Jn,Zn=function(t){return t.type===an.LINEAR_GRADIENT},$n=function(t){return t.type===an.RADIAL_GRADIENT};(function(t){t[t.CIRCLE=0]="CIRCLE",t[t.ELLIPSE=1]="ELLIPSE"})(Yn||(Yn={})),function(t){t[t.CLOSEST_SIDE=0]="CLOSEST_SIDE",t[t.FARTHEST_SIDE=1]="FARTHEST_SIDE",t[t.CLOSEST_CORNER=2]="CLOSEST_CORNER",t[t.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(Jn||(Jn={}));var ti={name:"image",parse:function(t){if(t.type===h.URL_TOKEN){var e={url:t.value,type:an.URL};return Un.getInstance().addImage(t.value),e}if(t.type===h.FUNCTION){var r=ni[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(t.values)}throw new Error("Unsupported image type")}};function ei(t){return t.type!==h.FUNCTION||ni[t.name]}var ri,ni={"linear-gradient":vn,"-moz-linear-gradient":Bn,"-ms-linear-gradient":Bn,"-o-linear-gradient":Bn,"-webkit-linear-gradient":Bn,"radial-gradient":Gn,"-moz-radial-gradient":Wn,"-ms-radial-gradient":Wn,"-o-radial-gradient":Wn,"-webkit-radial-gradient":Wn,"-webkit-gradient":Rn},ii={name:"background-image",initialValue:"none",type:en.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var e=t[0];return e.type===h.IDENT_TOKEN&&"none"===e.value?[]:t.filter((function(t){return Ur(t)&&ei(t)})).map(ti.parse)}},Ai={name:"background-origin",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(t){return t.map((function(t){if(Er(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},oi={name:"background-position",initialValue:"0% 0%",type:en.LIST,prefix:!1,parse:function(t){return Sr(t).map((function(t){return t.filter(Hr)})).map(Tr)}};!function(t){t[t.REPEAT=0]="REPEAT",t[t.NO_REPEAT=1]="NO_REPEAT",t[t.REPEAT_X=2]="REPEAT_X",t[t.REPEAT_Y=3]="REPEAT_Y"}(ri||(ri={}));var ai,si={name:"background-repeat",initialValue:"repeat",prefix:!1,type:en.LIST,parse:function(t){return Sr(t).map((function(t){return t.filter(Er).map((function(t){return t.value})).join(" ")})).map(ui)}},ui=function(t){switch(t){case"no-repeat":return ri.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return ri.REPEAT_X;case"repeat-y":case"no-repeat repeat":return ri.REPEAT_Y;default:return ri.REPEAT}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(ai||(ai={}));var ci,li={name:"background-size",initialValue:"0",prefix:!1,type:en.LIST,parse:function(t){return Sr(t).map((function(t){return t.filter(fi)}))}},fi=function(t){return Er(t)||Hr(t)},hi=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"}},pi=hi("top"),di=hi("right"),gi=hi("bottom"),vi=hi("left"),Bi=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:en.LIST,parse:function(t){return Tr(t.filter(Hr))}}},wi=Bi("top-left"),mi=Bi("top-right"),yi=Bi("bottom-right"),bi=Bi("bottom-left");!function(t){t[t.NONE=0]="NONE",t[t.SOLID=1]="SOLID"}(ci||(ci={}));var xi,Ci=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"none"===t?ci.NONE:ci.SOLID}}},Ei=Ci("top"),Ni=Ci("right"),Fi=Ci("bottom"),Qi=Ci("left"),Ui=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:en.VALUE,prefix:!1,parse:function(t){return xr(t)?t.number:0}}},Si=Ui("top"),Li=Ui("right"),_i=Ui("bottom"),Hi=Ui("left"),Ti={name:"color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},Ii={name:"display",initialValue:"inline-block",prefix:!1,type:en.LIST,parse:function(t){return t.filter(Er).reduce((function(t,e){return t|Oi(e.value)}),0)}},Oi=function(t){switch(t){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(t){t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.INLINE_START=3]="INLINE_START",t[t.INLINE_END=4]="INLINE_END"}(xi||(xi={}));var Pi,ki={name:"float",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"left":return xi.LEFT;case"right":return xi.RIGHT;case"inline-start":return xi.INLINE_START;case"inline-end":return xi.INLINE_END}return xi.NONE}},Ri={name:"letter-spacing",initialValue:"0",prefix:!1,type:en.VALUE,parse:function(t){return t.type===h.IDENT_TOKEN&&"normal"===t.value?0:t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN?t.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(Pi||(Pi={}));var Mi,Di={name:"line-break",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"strict"===t?Pi.STRICT:Pi.NORMAL}},Ki={name:"line-height",initialValue:"normal",prefix:!1,type:en.TOKEN_VALUE},zi=function(t,e){return Er(t)&&"normal"===t.value?1.2*e:t.type===h.NUMBER_TOKEN?e*t.number:Hr(t)?Rr(t,e):e},Vi={name:"list-style-image",initialValue:"none",type:en.VALUE,prefix:!1,parse:function(t){return t.type===h.IDENT_TOKEN&&"none"===t.value?null:ti.parse(t)}};!function(t){t[t.INSIDE=0]="INSIDE",t[t.OUTSIDE=1]="OUTSIDE"}(Mi||(Mi={}));var ji,qi={name:"list-style-position",initialValue:"outside",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"inside"===t?Mi.INSIDE:Mi.OUTSIDE}};!function(t){t[t.NONE=-1]="NONE",t[t.DISC=0]="DISC",t[t.CIRCLE=1]="CIRCLE",t[t.SQUARE=2]="SQUARE",t[t.DECIMAL=3]="DECIMAL",t[t.CJK_DECIMAL=4]="CJK_DECIMAL",t[t.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",t[t.LOWER_ROMAN=6]="LOWER_ROMAN",t[t.UPPER_ROMAN=7]="UPPER_ROMAN",t[t.LOWER_GREEK=8]="LOWER_GREEK",t[t.LOWER_ALPHA=9]="LOWER_ALPHA",t[t.UPPER_ALPHA=10]="UPPER_ALPHA",t[t.ARABIC_INDIC=11]="ARABIC_INDIC",t[t.ARMENIAN=12]="ARMENIAN",t[t.BENGALI=13]="BENGALI",t[t.CAMBODIAN=14]="CAMBODIAN",t[t.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",t[t.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",t[t.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",t[t.DEVANAGARI=18]="DEVANAGARI",t[t.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",t[t.GEORGIAN=20]="GEORGIAN",t[t.GUJARATI=21]="GUJARATI",t[t.GURMUKHI=22]="GURMUKHI",t[t.HEBREW=22]="HEBREW",t[t.HIRAGANA=23]="HIRAGANA",t[t.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",t[t.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",t[t.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",t[t.KANNADA=27]="KANNADA",t[t.KATAKANA=28]="KATAKANA",t[t.KATAKANA_IROHA=29]="KATAKANA_IROHA",t[t.KHMER=30]="KHMER",t[t.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",t[t.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",t[t.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",t[t.LAO=34]="LAO",t[t.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",t[t.MALAYALAM=36]="MALAYALAM",t[t.MONGOLIAN=37]="MONGOLIAN",t[t.MYANMAR=38]="MYANMAR",t[t.ORIYA=39]="ORIYA",t[t.PERSIAN=40]="PERSIAN",t[t.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",t[t.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",t[t.TAMIL=43]="TAMIL",t[t.TELUGU=44]="TELUGU",t[t.THAI=45]="THAI",t[t.TIBETAN=46]="TIBETAN",t[t.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",t[t.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",t[t.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",t[t.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",t[t.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(ji||(ji={}));var Xi,Gi={name:"list-style-type",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"disc":return ji.DISC;case"circle":return ji.CIRCLE;case"square":return ji.SQUARE;case"decimal":return ji.DECIMAL;case"cjk-decimal":return ji.CJK_DECIMAL;case"decimal-leading-zero":return ji.DECIMAL_LEADING_ZERO;case"lower-roman":return ji.LOWER_ROMAN;case"upper-roman":return ji.UPPER_ROMAN;case"lower-greek":return ji.LOWER_GREEK;case"lower-alpha":return ji.LOWER_ALPHA;case"upper-alpha":return ji.UPPER_ALPHA;case"arabic-indic":return ji.ARABIC_INDIC;case"armenian":return ji.ARMENIAN;case"bengali":return ji.BENGALI;case"cambodian":return ji.CAMBODIAN;case"cjk-earthly-branch":return ji.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return ji.CJK_HEAVENLY_STEM;case"cjk-ideographic":return ji.CJK_IDEOGRAPHIC;case"devanagari":return ji.DEVANAGARI;case"ethiopic-numeric":return ji.ETHIOPIC_NUMERIC;case"georgian":return ji.GEORGIAN;case"gujarati":return ji.GUJARATI;case"gurmukhi":return ji.GURMUKHI;case"hebrew":return ji.HEBREW;case"hiragana":return ji.HIRAGANA;case"hiragana-iroha":return ji.HIRAGANA_IROHA;case"japanese-formal":return ji.JAPANESE_FORMAL;case"japanese-informal":return ji.JAPANESE_INFORMAL;case"kannada":return ji.KANNADA;case"katakana":return ji.KATAKANA;case"katakana-iroha":return ji.KATAKANA_IROHA;case"khmer":return ji.KHMER;case"korean-hangul-formal":return ji.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return ji.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return ji.KOREAN_HANJA_INFORMAL;case"lao":return ji.LAO;case"lower-armenian":return ji.LOWER_ARMENIAN;case"malayalam":return ji.MALAYALAM;case"mongolian":return ji.MONGOLIAN;case"myanmar":return ji.MYANMAR;case"oriya":return ji.ORIYA;case"persian":return ji.PERSIAN;case"simp-chinese-formal":return ji.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return ji.SIMP_CHINESE_INFORMAL;case"tamil":return ji.TAMIL;case"telugu":return ji.TELUGU;case"thai":return ji.THAI;case"tibetan":return ji.TIBETAN;case"trad-chinese-formal":return ji.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return ji.TRAD_CHINESE_INFORMAL;case"upper-armenian":return ji.UPPER_ARMENIAN;case"disclosure-open":return ji.DISCLOSURE_OPEN;case"disclosure-closed":return ji.DISCLOSURE_CLOSED;default:return ji.NONE}}},Wi=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:en.TOKEN_VALUE}},Yi=Wi("top"),Ji=Wi("right"),Zi=Wi("bottom"),$i=Wi("left");!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.SCROLL=2]="SCROLL",t[t.AUTO=3]="AUTO"}(Xi||(Xi={}));var tA,eA={name:"overflow",initialValue:"visible",prefix:!1,type:en.LIST,parse:function(t){return t.filter(Er).map((function(t){switch(t.value){case"hidden":return Xi.HIDDEN;case"scroll":return Xi.SCROLL;case"auto":return Xi.AUTO;default:return Xi.VISIBLE}}))}};!function(t){t.NORMAL="normal",t.BREAK_WORD="break-word"}(tA||(tA={}));var rA,nA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"break-word"===t?tA.BREAK_WORD:tA.NORMAL}},iA=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:en.TYPE_VALUE,format:"length-percentage"}},AA=iA("top"),oA=iA("right"),aA=iA("bottom"),sA=iA("left");!function(t){t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT"}(rA||(rA={}));var uA,cA={name:"text-align",initialValue:"left",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"right":return rA.RIGHT;case"center":case"justify":return rA.CENTER;default:return rA.LEFT}}};!function(t){t[t.STATIC=0]="STATIC",t[t.RELATIVE=1]="RELATIVE",t[t.ABSOLUTE=2]="ABSOLUTE",t[t.FIXED=3]="FIXED",t[t.STICKY=4]="STICKY"}(uA||(uA={}));var lA,fA={name:"position",initialValue:"static",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"relative":return uA.RELATIVE;case"absolute":return uA.ABSOLUTE;case"fixed":return uA.FIXED;case"sticky":return uA.STICKY}return uA.STATIC}},hA={name:"text-shadow",initialValue:"none",type:en.LIST,prefix:!1,parse:function(t){return 1===t.length&&Fr(t[0],"none")?[]:Sr(t).map((function(t){for(var e={color:on.TRANSPARENT,offsetX:Ir,offsetY:Ir,blur:Ir},r=0,n=0;n1?1:0],this.overflowWrap=jA(nA,t.overflowWrap),this.paddingTop=jA(AA,t.paddingTop),this.paddingRight=jA(oA,t.paddingRight),this.paddingBottom=jA(aA,t.paddingBottom),this.paddingLeft=jA(sA,t.paddingLeft),this.position=jA(fA,t.position),this.textAlign=jA(cA,t.textAlign),this.textDecorationColor=jA(FA,t.textDecorationColor||t.color),this.textDecorationLine=jA(QA,t.textDecorationLine),this.textShadow=jA(hA,t.textShadow),this.textTransform=jA(dA,t.textTransform),this.transform=jA(gA,t.transform),this.transformOrigin=jA(mA,t.transformOrigin),this.visibility=jA(bA,t.visibility),this.wordBreak=jA(CA,t.wordBreak),this.zIndex=jA(EA,t.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===pA.VISIBLE},t.prototype.isTransparent=function(){return Wr(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return this.position!==uA.STATIC},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==xi.NONE},t.prototype.isInlineLevel=function(){return IA(this.display,4)||IA(this.display,33554432)||IA(this.display,268435456)||IA(this.display,536870912)||IA(this.display,67108864)||IA(this.display,134217728)},t}(),zA=function(){function t(t){this.content=jA(OA,t.content),this.quotes=jA(RA,t.quotes)}return t}(),VA=function(){function t(t){this.counterIncrement=jA(PA,t.counterIncrement),this.counterReset=jA(kA,t.counterReset)}return t}(),jA=function(t,e){var r=new yr,n=null!=e?e.toString():t.initialValue;r.write(n);var i=new br(r.read());switch(t.type){case en.IDENT_VALUE:var A=i.parseComponentValue();return t.parse(Er(A)?A.value:t.initialValue);case en.VALUE:return t.parse(i.parseComponentValue());case en.LIST:return t.parse(i.parseComponentValues());case en.TOKEN_VALUE:return i.parseComponentValue();case en.TYPE_VALUE:switch(t.format){case"angle":return Vr.parse(i.parseComponentValue());case"color":return Gr.parse(i.parseComponentValue());case"image":return ti.parse(i.parseComponentValue());case"length":var o=i.parseComponentValue();return _r(o)?o:Ir;case"length-percentage":var a=i.parseComponentValue();return Hr(a)?a:Ir}}throw new Error("Attempting to parse unsupported css format type "+t.format)},qA=function(){function t(t){this.styles=new KA(window.getComputedStyle(t,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&So(t)&&(t.style.transform="none"),this.bounds=o(t),this.flags=0}return t}(),XA=function(){function t(t,e){this.text=t,this.bounds=e}return t}(),GA=function(t,e,r){var n=JA(t,e),i=[],A=0;return n.forEach((function(t){if(e.textDecorationLine.length||t.trim().length>0)if(Fn.SUPPORT_RANGE_BOUNDS)i.push(new XA(t,YA(r,A,t.length)));else{var n=r.splitText(t.length);i.push(new XA(t,WA(r))),r=n}else Fn.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));A+=t.length})),i},WA=function(t){var e=t.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var i=o(r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return new A(0,0,0,0)},YA=function(t,e,r){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(t,e),i.setEnd(t,e+r),A.fromClientRect(i.getBoundingClientRect())},JA=function(t,e){return 0!==e.letterSpacing?s(t).map((function(t){return u(t)})):ZA(t,e)},ZA=function(t,e){for(var r,n=It(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap===tA.BREAK_WORD?"break-word":e.wordBreak}),i=[];!(r=n.next()).done;)r.value&&i.push(r.value.slice());return i},$A=function(){function t(t,e){this.text=to(t.data,e.textTransform),this.textBounds=GA(this.text,e,t)}return t}(),to=function(t,e){switch(e){case lA.LOWERCASE:return t.toLowerCase();case lA.CAPITALIZE:return t.replace(eo,ro);case lA.UPPERCASE:return t.toUpperCase();default:return t}},eo=/(^|\s|:|-|\(|\))([a-z])/g,ro=function(t,e,r){return t.length>0?e+r.toUpperCase():t},no=function(t){function r(e){var r=t.call(this,e)||this;return r.src=e.currentSrc||e.src,r.intrinsicWidth=e.naturalWidth,r.intrinsicHeight=e.naturalHeight,Un.getInstance().addImage(r.src),r}return e(r,t),r}(qA),io=function(t){function r(e){var r=t.call(this,e)||this;return r.canvas=e,r.intrinsicWidth=e.width,r.intrinsicHeight=e.height,r}return e(r,t),r}(qA),Ao=function(t){function r(e){var r=t.call(this,e)||this,n=new XMLSerializer;return r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)),r.intrinsicWidth=e.width.baseVal.value,r.intrinsicHeight=e.height.baseVal.value,Un.getInstance().addImage(r.svg),r}return e(r,t),r}(qA),oo=function(t){function r(e){var r=t.call(this,e)||this;return r.value=e.value,r}return e(r,t),r}(qA),ao=function(t){function r(e){var r=t.call(this,e)||this;return r.start=e.start,r.reversed="boolean"==typeof e.reversed&&!0===e.reversed,r}return e(r,t),r}(qA),so=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],uo=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],co=function(t){return t.width>t.height?new A(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width0)e.textNodes.push(new $A(n,e.styles));else if(Uo(n)){var A=Co(n);A.styles.isVisible()&&(No(n,A,r)?A.flags|=4:Fo(A.styles)&&(A.flags|=2),-1!==bo.indexOf(n.tagName)&&(A.flags|=8),e.elements.push(A),zo(n)||Oo(n)||Vo(n)||xo(n,A,r))}},Co=function(t){return Ro(t)?new no(t):ko(t)?new io(t):Oo(t)?new Ao(t):_o(t)?new oo(t):Ho(t)?new ao(t):To(t)?new vo(t):Vo(t)?new Bo(t):zo(t)?new wo(t):Mo(t)?new yo(t):new qA(t)},Eo=function(t){var e=Co(t);return e.flags|=4,xo(t,e,e),e},No=function(t,e,r){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Po(t)&&r.styles.isTransparent()},Fo=function(t){return t.isPositioned()||t.isFloating()},Qo=function(t){return t.nodeType===Node.TEXT_NODE},Uo=function(t){return t.nodeType===Node.ELEMENT_NODE},So=function(t){return Uo(t)&&void 0!==t.style&&!Lo(t)},Lo=function(t){return"object"==typeof t.className},_o=function(t){return"LI"===t.tagName},Ho=function(t){return"OL"===t.tagName},To=function(t){return"INPUT"===t.tagName},Io=function(t){return"HTML"===t.tagName},Oo=function(t){return"svg"===t.tagName},Po=function(t){return"BODY"===t.tagName},ko=function(t){return"CANVAS"===t.tagName},Ro=function(t){return"IMG"===t.tagName},Mo=function(t){return"IFRAME"===t.tagName},Do=function(t){return"STYLE"===t.tagName},Ko=function(t){return"SCRIPT"===t.tagName},zo=function(t){return"TEXTAREA"===t.tagName},Vo=function(t){return"SELECT"===t.tagName},jo=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(t){var e=this,r=t.counterIncrement,n=t.counterReset,i=!0;null!==r&&r.forEach((function(t){var r=e.counters[t.counter];r&&0!==t.increment&&(i=!1,r[Math.max(0,r.length-1)]+=t.increment)}));var A=[];return i&&n.forEach((function(t){var r=e.counters[t.counter];A.push(t.counter),r||(r=e.counters[t.counter]=[]),r.push(t.reset)})),A},t}(),qo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Xo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Wo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Yo=function(t,e,r,n,i,A){return tr?ua(t,i,A.length>0):n.integers.reduce((function(e,r,i){for(;t>=r;)t-=r,e+=n.values[i];return e}),"")+A},Jo=function(t,e,r,n){var i="";do{r||t--,i=n(t)+i,t/=e}while(t*e>=e);return i},Zo=function(t,e,r,n,i){var A=r-e+1;return(t<0?"-":"")+(Jo(Math.abs(t),A,n,(function(t){return u(Math.floor(t%A)+e)}))+i)},$o=function(t,e,r){void 0===r&&(r=". ");var n=e.length;return Jo(Math.abs(t),n,!1,(function(t){return e[Math.floor(t%n)]}))+r},ta=1,ea=2,ra=4,na=8,ia=function(t,e,r,n,i,A){if(t<-9999||t>9999)return ua(t,ji.CJK_DECIMAL,i.length>0);var o=Math.abs(t),a=i;if(0===o)return e[0]+a;for(var s=0;o>0&&s<=4;s++){var u=o%10;0===u&&IA(A,ta)&&""!==a?a=e[u]+a:u>1||1===u&&0===s||1===u&&1===s&&IA(A,ea)||1===u&&1===s&&IA(A,ra)&&t>100||1===u&&s>1&&IA(A,na)?a=e[u]+(s>0?r[s-1]:"")+a:1===u&&s>0&&(a=r[s-1]+a),o=Math.floor(o/10)}return(t<0?n:"")+a},Aa="十百千萬",oa="拾佰仟萬",aa="マイナス",sa="마이너스",ua=function(t,e,r){var n=r?". ":"",i=r?"、":"",A=r?", ":"",o=r?" ":"";switch(e){case ji.DISC:return"•"+o;case ji.CIRCLE:return"◦"+o;case ji.SQUARE:return"◾"+o;case ji.DECIMAL_LEADING_ZERO:var a=Zo(t,48,57,!0,n);return a.length<4?"0"+a:a;case ji.CJK_DECIMAL:return $o(t,"〇一二三四五六七八九",i);case ji.LOWER_ROMAN:return Yo(t,1,3999,qo,ji.DECIMAL,n).toLowerCase();case ji.UPPER_ROMAN:return Yo(t,1,3999,qo,ji.DECIMAL,n);case ji.LOWER_GREEK:return Zo(t,945,969,!1,n);case ji.LOWER_ALPHA:return Zo(t,97,122,!1,n);case ji.UPPER_ALPHA:return Zo(t,65,90,!1,n);case ji.ARABIC_INDIC:return Zo(t,1632,1641,!0,n);case ji.ARMENIAN:case ji.UPPER_ARMENIAN:return Yo(t,1,9999,Xo,ji.DECIMAL,n);case ji.LOWER_ARMENIAN:return Yo(t,1,9999,Xo,ji.DECIMAL,n).toLowerCase();case ji.BENGALI:return Zo(t,2534,2543,!0,n);case ji.CAMBODIAN:case ji.KHMER:return Zo(t,6112,6121,!0,n);case ji.CJK_EARTHLY_BRANCH:return $o(t,"子丑寅卯辰巳午未申酉戌亥",i);case ji.CJK_HEAVENLY_STEM:return $o(t,"甲乙丙丁戊己庚辛壬癸",i);case ji.CJK_IDEOGRAPHIC:case ji.TRAD_CHINESE_INFORMAL:return ia(t,"零一二三四五六七八九",Aa,"負",i,ea|ra|na);case ji.TRAD_CHINESE_FORMAL:return ia(t,"零壹貳參肆伍陸柒捌玖",oa,"負",i,ta|ea|ra|na);case ji.SIMP_CHINESE_INFORMAL:return ia(t,"零一二三四五六七八九",Aa,"负",i,ea|ra|na);case ji.SIMP_CHINESE_FORMAL:return ia(t,"零壹贰叁肆伍陆柒捌玖",oa,"负",i,ta|ea|ra|na);case ji.JAPANESE_INFORMAL:return ia(t,"〇一二三四五六七八九","十百千万",aa,i,0);case ji.JAPANESE_FORMAL:return ia(t,"零壱弐参四伍六七八九","拾百千万",aa,i,ta|ea|ra);case ji.KOREAN_HANGUL_FORMAL:return ia(t,"영일이삼사오육칠팔구","십백천만",sa,A,ta|ea|ra);case ji.KOREAN_HANJA_INFORMAL:return ia(t,"零一二三四五六七八九","十百千萬",sa,A,0);case ji.KOREAN_HANJA_FORMAL:return ia(t,"零壹貳參四五六七八九","拾百千",sa,A,ta|ea|ra);case ji.DEVANAGARI:return Zo(t,2406,2415,!0,n);case ji.GEORGIAN:return Yo(t,1,19999,Wo,ji.DECIMAL,n);case ji.GUJARATI:return Zo(t,2790,2799,!0,n);case ji.GURMUKHI:return Zo(t,2662,2671,!0,n);case ji.HEBREW:return Yo(t,1,10999,Go,ji.DECIMAL,n);case ji.HIRAGANA:return $o(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case ji.HIRAGANA_IROHA:return $o(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case ji.KANNADA:return Zo(t,3302,3311,!0,n);case ji.KATAKANA:return $o(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case ji.KATAKANA_IROHA:return $o(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case ji.LAO:return Zo(t,3792,3801,!0,n);case ji.MONGOLIAN:return Zo(t,6160,6169,!0,n);case ji.MYANMAR:return Zo(t,4160,4169,!0,n);case ji.ORIYA:return Zo(t,2918,2927,!0,n);case ji.PERSIAN:return Zo(t,1776,1785,!0,n);case ji.TAMIL:return Zo(t,3046,3055,!0,n);case ji.TELUGU:return Zo(t,3174,3183,!0,n);case ji.THAI:return Zo(t,3664,3673,!0,n);case ji.TIBETAN:return Zo(t,3872,3881,!0,n);case ji.DECIMAL:default:return Zo(t,48,57,!0,n)}},ca="data-html2canvas-ignore",la=function(){function t(t,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new jo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return t.prototype.toIFrame=function(t,e){var r=this,A=ha(t,e);if(!A.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,a=t.defaultView.pageYOffset,s=A.contentWindow,u=s.document,c=pa(A).then((function(){return n(r,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Ba),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(u.documentElement.style.top=-e.top+"px",u.documentElement.style.left=-e.left+"px",u.documentElement.style.position="absolute")),t=this.options.onclone,void 0===this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return"function"==typeof t?[2,Promise.resolve().then((function(){return t(u)})).then((function(){return A}))]:[2,A]}}))}))}));return u.open(),u.write(ga(document.doctype)+""),va(this.referenceElement.ownerDocument,o,a),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},t.prototype.createElementClone=function(t){if(ko(t))return this.createCanvasClone(t);if(Do(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return Ro(e)&&"lazy"===e.loading&&(e.loading="eager"),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var r=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t}),""),n=t.cloneNode(!1);return n.textContent=r,n}}catch(t){if(Qn.getInstance(this.options.id).error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){if(this.options.inlineImages&&t.ownerDocument){var e=t.ownerDocument.createElement("img");try{return e.src=t.toDataURL(),e}catch(t){Qn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var r=t.cloneNode(!1);try{r.width=t.width,r.height=t.height;var n=t.getContext("2d"),i=r.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,t.width,t.height),0,0):i.drawImage(t,0,0)),r}catch(t){}return r},t.prototype.cloneNode=function(t){if(Qo(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var e=t.ownerDocument.defaultView;if(e&&Uo(t)&&(So(t)||Lo(t))){var r=this.createElementClone(t),n=e.getComputedStyle(t),i=e.getComputedStyle(t,":before"),A=e.getComputedStyle(t,":after");this.referenceElement===t&&So(r)&&(this.clonedReferenceElement=r),Po(r)&&Ca(r);for(var o=this.counters.parse(new VA(n)),a=this.resolvePseudoContent(t,r,i,HA.BEFORE),s=t.firstChild;s;s=s.nextSibling)Uo(s)&&(Ko(s)||s.hasAttribute(ca)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(s))||this.options.copyStyles&&Uo(s)&&Do(s)||r.appendChild(this.cloneNode(s));a&&r.insertBefore(a,r.firstChild);var u=this.resolvePseudoContent(t,r,A,HA.AFTER);return u&&r.appendChild(u),this.counters.pop(o),n&&(this.options.copyStyles||Lo(t))&&!Mo(t)&&da(n,r),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(zo(t)||Vo(t))&&(zo(r)||Vo(r))&&(r.value=t.value),r}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,r,n){var i=this;if(r){var A=r.content,o=e.ownerDocument;if(o&&A&&"none"!==A&&"-moz-alt-content"!==A&&"none"!==r.display){this.counters.parse(new VA(r));var a=new zA(r),s=o.createElement("html2canvaspseudoelement");da(r,s),a.content.forEach((function(e){if(e.type===h.STRING_TOKEN)s.appendChild(o.createTextNode(e.value));else if(e.type===h.URL_TOKEN){var r=o.createElement("img");r.src=e.value,r.style.opacity="1",s.appendChild(r)}else if(e.type===h.FUNCTION){if("attr"===e.name){var n=e.values.filter(Er);n.length&&s.appendChild(o.createTextNode(t.getAttribute(n[0].value)||""))}else if("counter"===e.name){var A=e.values.filter(Ur),u=A[0],c=A[1];if(u&&Er(u)){var l=i.counters.getCounterValue(u.value),f=c&&Er(c)?Gi.parse(c.value):ji.DECIMAL;s.appendChild(o.createTextNode(ua(l,f,!1)))}}else if("counters"===e.name){var p=e.values.filter(Ur),d=(u=p[0],p[1]);if(c=p[2],u&&Er(u)){var g=i.counters.getCounterValues(u.value),v=c&&Er(c)?Gi.parse(c.value):ji.DECIMAL,B=d&&d.type===h.STRING_TOKEN?d.value:"",w=g.map((function(t){return ua(t,v,!1)})).join(B);s.appendChild(o.createTextNode(w))}}}else if(e.type===h.IDENT_TOKEN)switch(e.value){case"open-quote":s.appendChild(o.createTextNode(MA(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":s.appendChild(o.createTextNode(MA(a.quotes,--i.quoteDepth,!1)));break;default:s.appendChild(o.createTextNode(e.value))}})),s.className=ya+" "+ba;var u=n===HA.BEFORE?" "+ya:" "+ba;return Lo(e)?e.className.baseValue+=u:e.className+=u,s}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(HA||(HA={}));var fa,ha=function(t,e){var r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=e.width.toString(),r.height=e.height.toString(),r.scrolling="no",r.setAttribute(ca,"true"),t.body.appendChild(r),r},pa=function(t){return new Promise((function(e,r){var n=t.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=t.onload=i.onreadystatechange=function(){n.onload=t.onload=i.onreadystatechange=null;var r=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(r),e(t))}),50)}}))},da=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);"content"!==n&&e.style.setProperty(n,t.getPropertyValue(n))}return e},ga=function(t){var e="";return t&&(e+=""),e},va=function(t,e,r){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||r!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,r)},Ba=function(t){var e=t[0],r=t[1],n=t[2];e.scrollLeft=r,e.scrollTop=n},wa=":before",ma=":after",ya="___html2canvas___pseudoelement_before",ba="___html2canvas___pseudoelement_after",xa='{\n content: "" !important;\n display: none !important;\n}',Ca=function(t){Ea(t,"."+ya+wa+xa+"\n ."+ba+ma+xa)},Ea=function(t,e){var r=t.ownerDocument;if(r){var n=r.createElement("style");n.textContent=e,t.appendChild(n)}};!function(t){t[t.VECTOR=0]="VECTOR",t[t.BEZIER_CURVE=1]="BEZIER_CURVE"}(fa||(fa={}));var Na,Fa=function(t,e){return t.length===e.length&&t.some((function(t,r){return t===e[r]}))},Qa=function(t,e,r,n,i){return t.map((function(t,A){switch(A){case 0:return t.add(e,r);case 1:return t.add(e+n,r);case 2:return t.add(e+n,r+i);case 3:return t.add(e,r+i)}return t}))},Ua=function(){function t(t,e){this.type=fa.VECTOR,this.x=t,this.y=e}return t.prototype.add=function(e,r){return new t(this.x+e,this.y+r)},t}(),Sa=function(t,e,r){return new Ua(t.x+(e.x-t.x)*r,t.y+(e.y-t.y)*r)},La=function(){function t(t,e,r,n){this.type=fa.BEZIER_CURVE,this.start=t,this.startControl=e,this.endControl=r,this.end=n}return t.prototype.subdivide=function(e,r){var n=Sa(this.start,this.startControl,e),i=Sa(this.startControl,this.endControl,e),A=Sa(this.endControl,this.end,e),o=Sa(n,i,e),a=Sa(i,A,e),s=Sa(o,a,e);return r?new t(this.start,n,o,s):new t(s,a,A,this.end)},t.prototype.add=function(e,r){return new t(this.start.add(e,r),this.startControl.add(e,r),this.endControl.add(e,r),this.end.add(e,r))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),_a=function(t){return t.type===fa.BEZIER_CURVE},Ha=function(){function t(t){var e=t.styles,r=t.bounds,n=kr(e.borderTopLeftRadius,r.width,r.height),i=n[0],A=n[1],o=kr(e.borderTopRightRadius,r.width,r.height),a=o[0],s=o[1],u=kr(e.borderBottomRightRadius,r.width,r.height),c=u[0],l=u[1],f=kr(e.borderBottomLeftRadius,r.width,r.height),h=f[0],p=f[1],d=[];d.push((i+a)/r.width),d.push((h+c)/r.width),d.push((A+p)/r.height),d.push((s+l)/r.height);var g=Math.max.apply(Math,d);g>1&&(i/=g,A/=g,a/=g,s/=g,c/=g,l/=g,h/=g,p/=g);var v=r.width-a,B=r.height-l,w=r.width-c,m=r.height-p,y=e.borderTopWidth,b=e.borderRightWidth,x=e.borderBottomWidth,C=e.borderLeftWidth,E=Rr(e.paddingTop,t.bounds.width),N=Rr(e.paddingRight,t.bounds.width),F=Rr(e.paddingBottom,t.bounds.width),Q=Rr(e.paddingLeft,t.bounds.width);this.topLeftBorderBox=i>0||A>0?Ta(r.left,r.top,i,A,Na.TOP_LEFT):new Ua(r.left,r.top),this.topRightBorderBox=a>0||s>0?Ta(r.left+v,r.top,a,s,Na.TOP_RIGHT):new Ua(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||l>0?Ta(r.left+w,r.top+B,c,l,Na.BOTTOM_RIGHT):new Ua(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=h>0||p>0?Ta(r.left,r.top+m,h,p,Na.BOTTOM_LEFT):new Ua(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||A>0?Ta(r.left+C,r.top+y,Math.max(0,i-C),Math.max(0,A-y),Na.TOP_LEFT):new Ua(r.left+C,r.top+y),this.topRightPaddingBox=a>0||s>0?Ta(r.left+Math.min(v,r.width+C),r.top+y,v>r.width+C?0:a-C,s-y,Na.TOP_RIGHT):new Ua(r.left+r.width-b,r.top+y),this.bottomRightPaddingBox=c>0||l>0?Ta(r.left+Math.min(w,r.width-C),r.top+Math.min(B,r.height+y),Math.max(0,c-b),l-x,Na.BOTTOM_RIGHT):new Ua(r.left+r.width-b,r.top+r.height-x),this.bottomLeftPaddingBox=h>0||p>0?Ta(r.left+C,r.top+m,Math.max(0,h-C),p-x,Na.BOTTOM_LEFT):new Ua(r.left+C,r.top+r.height-x),this.topLeftContentBox=i>0||A>0?Ta(r.left+C+Q,r.top+y+E,Math.max(0,i-(C+Q)),Math.max(0,A-(y+E)),Na.TOP_LEFT):new Ua(r.left+C+Q,r.top+y+E),this.topRightContentBox=a>0||s>0?Ta(r.left+Math.min(v,r.width+C+Q),r.top+y+E,v>r.width+C+Q?0:a-C+Q,s-(y+E),Na.TOP_RIGHT):new Ua(r.left+r.width-(b+N),r.top+y+E),this.bottomRightContentBox=c>0||l>0?Ta(r.left+Math.min(w,r.width-(C+Q)),r.top+Math.min(B,r.height+y+E),Math.max(0,c-(b+N)),l-(x+F),Na.BOTTOM_RIGHT):new Ua(r.left+r.width-(b+N),r.top+r.height-(x+F)),this.bottomLeftContentBox=h>0||p>0?Ta(r.left+C+Q,r.top+m,Math.max(0,h-(C+Q)),p-(x+F),Na.BOTTOM_LEFT):new Ua(r.left+C+Q,r.top+r.height-(x+F))}return t}();!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Na||(Na={}));var Ta=function(t,e,r,n,i){var A=(Math.sqrt(2)-1)/3*4,o=r*A,a=n*A,s=t+r,u=e+n;switch(i){case Na.TOP_LEFT:return new La(new Ua(t,u),new Ua(t,u-a),new Ua(s-o,e),new Ua(s,e));case Na.TOP_RIGHT:return new La(new Ua(t,e),new Ua(t+o,e),new Ua(s,u-a),new Ua(s,u));case Na.BOTTOM_RIGHT:return new La(new Ua(s,e),new Ua(s,e+a),new Ua(t+o,u),new Ua(t,u));case Na.BOTTOM_LEFT:default:return new La(new Ua(s,u),new Ua(s-o,u),new Ua(t,e+a),new Ua(t,e))}},Ia=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Oa=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Pa=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},ka=function(){function t(t,e,r){this.type=0,this.offsetX=t,this.offsetY=e,this.matrix=r,this.target=6}return t}(),Ra=function(){function t(t,e){this.type=1,this.target=e,this.path=t}return t}(),Ma=function(t){return 0===t.type},Da=function(t){return 1===t.type},Ka=function(){function t(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),za=function(){function t(t,e){if(this.container=t,this.effects=e.slice(0),this.curves=new Ha(t),null!==t.styles.transform){var r=t.bounds.left+t.styles.transformOrigin[0].number,n=t.bounds.top+t.styles.transformOrigin[1].number,i=t.styles.transform;this.effects.push(new ka(r,n,i))}if(t.styles.overflowX!==Xi.VISIBLE){var A=Ia(this.curves),o=Pa(this.curves);Fa(A,o)?this.effects.push(new Ra(A,6)):(this.effects.push(new Ra(A,2)),this.effects.push(new Ra(o,4)))}}return t.prototype.getParentEffects=function(){var t=this.effects.slice(0);if(this.container.styles.overflowX!==Xi.VISIBLE){var e=Ia(this.curves),r=Pa(this.curves);Fa(e,r)||t.push(new Ra(r,6))}return t},t}(),Va=function(t,e,r,n){t.container.elements.forEach((function(i){var A=IA(i.flags,4),o=IA(i.flags,2),a=new za(i,t.getParentEffects());IA(i.styles.display,2048)&&n.push(a);var s=IA(i.flags,8)?[]:n;if(A||o){var u=A||i.styles.isPositioned()?r:e,c=new Ka(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var l=i.styles.zIndex.order;if(l<0){var f=0;u.negativeZIndex.some((function(t,e){return l>t.element.container.styles.zIndex.order?(f=e,!1):f>0})),u.negativeZIndex.splice(f,0,c)}else if(l>0){var h=0;u.positiveZIndex.some((function(t,e){return l>=t.element.container.styles.zIndex.order?(h=e+1,!1):h>0})),u.positiveZIndex.splice(h,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);Va(a,c,A?c:r,s)}else i.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),Va(a,e,r,s);IA(i.flags,8)&&ja(i,s)}))},ja=function(t,e){for(var r=t instanceof ao?t.start:1,n=t instanceof ao&&t.reversed,i=0;i0&&t.intrinsicHeight>0){var n=Ya(t),i=Pa(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return n(this,void 0,void 0,(function(){var r,n,o,a,s,u,c,l,f,h,p,d,g,v;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(e.effects,4),r=e.container,n=e.curves,o=r.styles,a=0,s=r.textNodes,i.label=1;case 1:return a0&&C>0&&(B=n.ctx.createPattern(d,"repeat"),n.renderRepeat(m,B,N,F))):$n(r)&&(w=$a(t,e,[null,null,null]),m=w[0],y=w[1],b=w[2],x=w[3],C=w[4],E=0===r.position.length?[Or]:r.position,N=Rr(E[0],x),F=Rr(E[E.length-1],C),Q=gn(r,N,F,x,C),U=Q[0],S=Q[1],U>0&&U>0&&(L=n.ctx.createRadialGradient(y+N,b+F,0,y+N,b+F,U),ln(r.stops,2*U).forEach((function(t){return L.addColorStop(t.stop,Yr(t.color))})),n.path(m),n.ctx.fillStyle=L,U!==S?(_=t.bounds.left+.5*t.bounds.width,H=t.bounds.top+.5*t.bounds.height,I=1/(T=S/U),n.ctx.save(),n.ctx.translate(_,H),n.ctx.transform(1,0,0,T,0,0),n.ctx.translate(-_,-H),n.ctx.fillRect(y,I*(b-H)+H,x,C*I),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return e--,[2]}}))},n=this,A=0,o=t.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return A1?r-1:0),i=1;i/gm),M=a(/^data-[\-\w.\u00B7-\uFFFF]/),D=a(/^aria-[\-\w]+$/),K=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),V=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),j="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};function q(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:X(),e=function(t){return W(t)};if(e.version="2.2.7",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var r=t.document,n=t.document,i=t.DocumentFragment,A=t.HTMLTemplateElement,a=t.Node,s=t.Element,u=t.NodeFilter,c=t.NamedNodeMap,l=void 0===c?t.NamedNodeMap||t.MozNamedAttrMap:c,b=t.Text,x=t.Comment,Y=t.DOMParser,J=t.trustedTypes,Z=s.prototype,$=N(Z,"cloneNode"),tt=N(Z,"nextSibling"),et=N(Z,"childNodes"),rt=N(Z,"parentNode");if("function"==typeof A){var nt=n.createElement("template");nt.content&&nt.content.ownerDocument&&(n=nt.content.ownerDocument)}var it=G(J,r),At=it&&Pt?it.createHTML(""):"",ot=n,at=ot.implementation,st=ot.createNodeIterator,ut=ot.getElementsByTagName,ct=ot.createDocumentFragment,lt=r.importNode,ft={};try{ft=E(n).documentMode?n.documentMode:{}}catch(t){}var ht={};e.isSupported="function"==typeof rt&&at&&void 0!==at.createHTMLDocument&&9!==ft;var pt=k,dt=R,gt=M,vt=D,Bt=z,wt=V,mt=K,yt=null,bt=C({},[].concat(q(F),q(Q),q(U),q(L),q(H))),xt=null,Ct=C({},[].concat(q(T),q(I),q(O),q(P))),Et=null,Nt=null,Ft=!0,Qt=!0,Ut=!1,St=!1,Lt=!1,_t=!1,Ht=!1,Tt=!1,It=!1,Ot=!0,Pt=!1,kt=!0,Rt=!0,Mt=!1,Dt={},Kt=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),zt=null,Vt=C({},["audio","video","img","source","image","track"]),jt=null,qt=C({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Xt=null,Gt=n.createElement("form"),Wt=function(t){Xt&&Xt===t||(t&&"object"===(void 0===t?"undefined":j(t))||(t={}),t=E(t),yt="ALLOWED_TAGS"in t?C({},t.ALLOWED_TAGS):bt,xt="ALLOWED_ATTR"in t?C({},t.ALLOWED_ATTR):Ct,jt="ADD_URI_SAFE_ATTR"in t?C(E(qt),t.ADD_URI_SAFE_ATTR):qt,zt="ADD_DATA_URI_TAGS"in t?C(E(Vt),t.ADD_DATA_URI_TAGS):Vt,Et="FORBID_TAGS"in t?C({},t.FORBID_TAGS):{},Nt="FORBID_ATTR"in t?C({},t.FORBID_ATTR):{},Dt="USE_PROFILES"in t&&t.USE_PROFILES,Ft=!1!==t.ALLOW_ARIA_ATTR,Qt=!1!==t.ALLOW_DATA_ATTR,Ut=t.ALLOW_UNKNOWN_PROTOCOLS||!1,St=t.SAFE_FOR_TEMPLATES||!1,Lt=t.WHOLE_DOCUMENT||!1,Tt=t.RETURN_DOM||!1,It=t.RETURN_DOM_FRAGMENT||!1,Ot=!1!==t.RETURN_DOM_IMPORT,Pt=t.RETURN_TRUSTED_TYPE||!1,Ht=t.FORCE_BODY||!1,kt=!1!==t.SANITIZE_DOM,Rt=!1!==t.KEEP_CONTENT,Mt=t.IN_PLACE||!1,mt=t.ALLOWED_URI_REGEXP||mt,St&&(Qt=!1),It&&(Tt=!0),Dt&&(yt=C({},[].concat(q(H))),xt=[],!0===Dt.html&&(C(yt,F),C(xt,T)),!0===Dt.svg&&(C(yt,Q),C(xt,I),C(xt,P)),!0===Dt.svgFilters&&(C(yt,U),C(xt,I),C(xt,P)),!0===Dt.mathMl&&(C(yt,L),C(xt,O),C(xt,P))),t.ADD_TAGS&&(yt===bt&&(yt=E(yt)),C(yt,t.ADD_TAGS)),t.ADD_ATTR&&(xt===Ct&&(xt=E(xt)),C(xt,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&C(jt,t.ADD_URI_SAFE_ATTR),Rt&&(yt["#text"]=!0),Lt&&C(yt,["html","head","body"]),yt.table&&(C(yt,["tbody"]),delete Et.tbody),o&&o(t),Xt=t)},Yt=C({},["mi","mo","mn","ms","mtext"]),Jt=C({},["foreignobject","desc","title","annotation-xml"]),Zt=C({},Q);C(Zt,U),C(Zt,S);var $t=C({},L);C($t,_);var te="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml",ne=function(t){var e=rt(t);e&&e.tagName||(e={namespaceURI:re,tagName:"template"});var r=d(t.tagName),n=d(e.tagName);if(t.namespaceURI===ee)return e.namespaceURI===re?"svg"===r:e.namespaceURI===te?"svg"===r&&("annotation-xml"===n||Yt[n]):Boolean(Zt[r]);if(t.namespaceURI===te)return e.namespaceURI===re?"math"===r:e.namespaceURI===ee?"math"===r&&Jt[n]:Boolean($t[r]);if(t.namespaceURI===re){if(e.namespaceURI===ee&&!Jt[n])return!1;if(e.namespaceURI===te&&!Yt[n])return!1;var i=C({},["title","style","font","a","script"]);return!$t[r]&&(i[r]||!Zt[r])}return!1},ie=function(t){p(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=At}catch(e){t.remove()}}},Ae=function(t,r){try{p(e.removed,{attribute:r.getAttributeNode(t),from:r})}catch(t){p(e.removed,{attribute:null,from:r})}if(r.removeAttribute(t),"is"===t&&!xt[t])if(Tt||It)try{ie(r)}catch(t){}else try{r.setAttribute(t,"")}catch(t){}},oe=function(t){var e=void 0,r=void 0;if(Ht)t=""+t;else{var i=g(t,/^[\r\n\t ]+/);r=i&&i[0]}var A=it?it.createHTML(t):t;try{e=(new Y).parseFromString(A,"text/html")}catch(t){}if(!e||!e.documentElement){var o=(e=at.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=A}return t&&r&&e.body.insertBefore(n.createTextNode(r),e.body.childNodes[0]||null),ut.call(e,Lt?"html":"body")[0]},ae=function(t){return st.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,(function(){return u.FILTER_ACCEPT}),!1)},se=function(t){return!(t instanceof b||t instanceof x||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof l&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore)},ue=function(t){return"object"===(void 0===a?"undefined":j(a))?t instanceof a:t&&"object"===(void 0===t?"undefined":j(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},ce=function(t,r,n){ht[t]&&f(ht[t],(function(t){t.call(e,r,n,Xt)}))},le=function(t){var r=void 0;if(ce("beforeSanitizeElements",t,null),se(t))return ie(t),!0;if(g(t.nodeName,/[\u0080-\uFFFF]/))return ie(t),!0;var n=d(t.nodeName);if(ce("uponSanitizeElement",t,{tagName:n,allowedTags:yt}),!ue(t.firstElementChild)&&(!ue(t.content)||!ue(t.content.firstElementChild))&&m(/<[/\w]/g,t.innerHTML)&&m(/<[/\w]/g,t.textContent))return ie(t),!0;if(!yt[n]||Et[n]){if(Rt&&!Kt[n]){var i=rt(t),A=et(t);if(A&&i)for(var o=A.length-1;o>=0;--o)i.insertBefore($(A[o],!0),tt(t))}return ie(t),!0}return t instanceof s&&!ne(t)?(ie(t),!0):"noscript"!==n&&"noembed"!==n||!m(/<\/no(script|embed)/i,t.innerHTML)?(St&&3===t.nodeType&&(r=t.textContent,r=v(r,pt," "),r=v(r,dt," "),t.textContent!==r&&(p(e.removed,{element:t.cloneNode()}),t.textContent=r)),ce("afterSanitizeElements",t,null),!1):(ie(t),!0)},fe=function(t,e,r){if(kt&&("id"===e||"name"===e)&&(r in n||r in Gt))return!1;if(Qt&&m(gt,e));else if(Ft&&m(vt,e));else{if(!xt[e]||Nt[e])return!1;if(jt[e]);else if(m(mt,v(r,wt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==B(r,"data:")||!zt[t])if(Ut&&!m(Bt,v(r,wt,"")));else if(r)return!1}return!0},he=function(t){var r=void 0,n=void 0,i=void 0,A=void 0;ce("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xt};for(A=o.length;A--;){var s=r=o[A],u=s.name,c=s.namespaceURI;if(n=w(r.value),i=d(u),a.attrName=i,a.attrValue=n,a.keepAttr=!0,a.forceKeepAttr=void 0,ce("uponSanitizeAttribute",t,a),n=a.attrValue,!a.forceKeepAttr&&(Ae(u,t),a.keepAttr))if(m(/\/>/i,n))Ae(u,t);else{St&&(n=v(n,pt," "),n=v(n,dt," "));var l=t.nodeName.toLowerCase();if(fe(l,i,n))try{c?t.setAttributeNS(c,u,n):t.setAttribute(u,n),h(e.removed)}catch(t){}}}ce("afterSanitizeAttributes",t,null)}},pe=function t(e){var r=void 0,n=ae(e);for(ce("beforeSanitizeShadowDOM",e,null);r=n.nextNode();)ce("uponSanitizeShadowNode",r,null),le(r)||(r.content instanceof i&&t(r.content),he(r));ce("afterSanitizeShadowDOM",e,null)};return e.sanitize=function(n,A){var o=void 0,s=void 0,u=void 0,c=void 0,l=void 0;if(n||(n="\x3c!--\x3e"),"string"!=typeof n&&!ue(n)){if("function"!=typeof n.toString)throw y("toString is not a function");if("string"!=typeof(n=n.toString()))throw y("dirty is not a string, aborting")}if(!e.isSupported){if("object"===j(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof n)return t.toStaticHTML(n);if(ue(n))return t.toStaticHTML(n.outerHTML)}return n}if(_t||Wt(A),e.removed=[],"string"==typeof n&&(Mt=!1),Mt);else if(n instanceof a)1===(s=(o=oe("\x3c!----\x3e")).ownerDocument.importNode(n,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s);else{if(!Tt&&!St&&!Lt&&-1===n.indexOf("<"))return it&&Pt?it.createHTML(n):n;if(!(o=oe(n)))return Tt?null:At}o&&Ht&&ie(o.firstChild);for(var f=ae(Mt?n:o);u=f.nextNode();)3===u.nodeType&&u===c||le(u)||(u.content instanceof i&&pe(u.content),he(u),c=u);if(c=null,Mt)return n;if(Tt){if(It)for(l=ct.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return Ot&&(l=lt.call(r,l,!0)),l}var h=Lt?o.outerHTML:o.innerHTML;return St&&(h=v(h,pt," "),h=v(h,dt," ")),it&&Pt?it.createHTML(h):h},e.setConfig=function(t){Wt(t),_t=!0},e.clearConfig=function(){Xt=null,_t=!1},e.isValidAttribute=function(t,e,r){Xt||Wt({});var n=d(t),i=d(e);return fe(n,i,r)},e.addHook=function(t,e){"function"==typeof e&&(ht[t]=ht[t]||[],p(ht[t],e))},e.removeHook=function(t){ht[t]&&h(ht[t])},e.removeHooks=function(t){ht[t]&&(ht[t]=[])},e.removeAllHooks=function(){ht={}},e}return W()}()})),A.register("5qAiP",(function(r,n){var i;i=r.exports,Object.defineProperty(i,"__esModule",{value:!0,configurable:!0}),t(r.exports,"compressSpaces",(()=>At)),t(r.exports,"trimLeft",(()=>ot)),t(r.exports,"trimRight",(()=>at)),t(r.exports,"toNumbers",(()=>st)),t(r.exports,"normalizeAttributeName",(()=>ct)),t(r.exports,"parseExternalUrl",(()=>lt)),t(r.exports,"normalizeColor",(()=>ft)),t(r.exports,"getSelectorSpecificity",(()=>yt)),t(r.exports,"PSEUDO_ZERO",(()=>bt)),t(r.exports,"vectorMagnitude",(()=>xt)),t(r.exports,"vectorsRatio",(()=>Ct)),t(r.exports,"vectorsAngle",(()=>Et)),t(r.exports,"CB1",(()=>Nt)),t(r.exports,"CB2",(()=>Ft)),t(r.exports,"CB3",(()=>Qt)),t(r.exports,"CB4",(()=>Ut)),t(r.exports,"QB1",(()=>St)),t(r.exports,"QB2",(()=>Lt)),t(r.exports,"QB3",(()=>_t)),t(r.exports,"Property",(()=>Ht)),t(r.exports,"ViewPort",(()=>Tt)),t(r.exports,"Point",(()=>It)),t(r.exports,"Mouse",(()=>Ot)),t(r.exports,"Screen",(()=>Rt)),t(r.exports,"Parser",(()=>Kt)),t(r.exports,"Translate",(()=>zt)),t(r.exports,"Rotate",(()=>Vt)),t(r.exports,"Scale",(()=>jt)),t(r.exports,"Matrix",(()=>qt)),t(r.exports,"Skew",(()=>Gt)),t(r.exports,"SkewX",(()=>Yt)),t(r.exports,"SkewY",(()=>Zt)),t(r.exports,"Transform",(()=>$t)),t(r.exports,"Element",(()=>te)),t(r.exports,"UnknownElement",(()=>re)),t(r.exports,"Font",(()=>oe)),t(r.exports,"BoundingBox",(()=>ae)),t(r.exports,"RenderedElement",(()=>ue)),t(r.exports,"TextElement",(()=>le)),t(r.exports,"TSpanElement",(()=>he)),t(r.exports,"PathParser",(()=>ve)),t(r.exports,"PathElement",(()=>we)),t(r.exports,"SVGElement",(()=>ye)),t(r.exports,"RectElement",(()=>xe)),t(r.exports,"CircleElement",(()=>Ee)),t(r.exports,"EllipseElement",(()=>Fe)),t(r.exports,"LineElement",(()=>Ue)),t(r.exports,"PolylineElement",(()=>Le)),t(r.exports,"PolygonElement",(()=>He)),t(r.exports,"PatternElement",(()=>Ie)),t(r.exports,"MarkerElement",(()=>Pe)),t(r.exports,"DefsElement",(()=>Re)),t(r.exports,"GElement",(()=>De)),t(r.exports,"GradientElement",(()=>ze)),t(r.exports,"LinearGradientElement",(()=>je)),t(r.exports,"RadialGradientElement",(()=>Xe)),t(r.exports,"StopElement",(()=>We)),t(r.exports,"AnimateElement",(()=>Je)),t(r.exports,"AnimateColorElement",(()=>$e)),t(r.exports,"AnimateTransformElement",(()=>er)),t(r.exports,"FontElement",(()=>Ar)),t(r.exports,"FontFaceElement",(()=>ar)),t(r.exports,"MissingGlyphElement",(()=>ur)),t(r.exports,"GlyphElement",(()=>lr)),t(r.exports,"TRefElement",(()=>hr)),t(r.exports,"AElement",(()=>dr)),t(r.exports,"TextPathElement",(()=>yr)),t(r.exports,"ImageElement",(()=>xr)),t(r.exports,"SymbolElement",(()=>Er)),t(r.exports,"SVGFontLoader",(()=>Nr)),t(r.exports,"StyleElement",(()=>Qr)),t(r.exports,"UseElement",(()=>Sr)),t(r.exports,"FeColorMatrixElement",(()=>Or)),t(r.exports,"MaskElement",(()=>kr)),t(r.exports,"ClipPathElement",(()=>Dr)),t(r.exports,"FilterElement",(()=>zr)),t(r.exports,"FeDropShadowElement",(()=>jr)),t(r.exports,"FeMorphologyElement",(()=>Xr)),t(r.exports,"FeCompositeElement",(()=>Wr)),t(r.exports,"FeGaussianBlurElement",(()=>Jr)),t(r.exports,"TitleElement",(()=>$r)),t(r.exports,"DescElement",(()=>en)),t(r.exports,"Document",(()=>on)),t(r.exports,"Canvg",(()=>un)),t(r.exports,"presets",(()=>cn)),t(r.exports,"default",(()=>ln));var o=A("2ZhaM"),a=A("f9eLA"),s=A("h44i0"),u=A("3jBDN"),c=A("3aXNC"),l=A("eVcEB"),f=A("gwb0D"),h=A("b1j2V"),p=A("4kqGh"),d=A("c1ecJ"),g=A("a9BK4"),v=A("kR5TX"),B=A("eWKWJ"),w=A("4lSYb"),m=A("3SdRi"),y=A("7mhKD"),b=A("keKGA"),x=A("iFpyN"),C=A("5nOH9"),E=A("cCCvd"),N=A("3p2vv"),F=A("eAZcX"),Q=A("iTfeJ"),U=A("dpUpM"),S=A("5KPKC"),L=A("lFgSU"),_=A("2yYCs"),H=A("1KnN5"),T=A("9uaPw"),I=A("b99BU"),O=A("iyzhb"),P=A("5XJuU"),k=A("48i9x"),R=A("loN9A"),M=A("iGHXC"),D=A("4MhPS"),K=A("9zKBL"),z=A("9djzX"),V=A("aXSjM"),j=A("eac5K"),q=A("dhOrS"),X=A("3TZae"),G=A("7xaRw"),W=A("fKmQF"),Y=A("fbZ9B"),J=A("ajIk7"),Z=A("g3WrO"),$=A("iBrAh"),tt=A("ddgyR"),et=A("dkI4U"),rt=A("3efYe"),nt=A("lA8qz"),it=A("jhCkN");function At(t){return t.replace(/(?!\u3000)\s+/gm," ")}function ot(t){return t.replace(/^[\n \t]+/,"")}function at(t){return t.replace(/[\n \t]+$/,"")}function st(t){var r=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e(s)(r).call(r,e(a))}var ut=/^[A-Z-]+$/;function ct(t){return ut.test(t)?t.toLowerCase():t}function lt(t){var e=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return e[2]||e[3]||e[4]}function ft(t){if(!e(o)(t).call(t,"rgb"))return t;var r=3;return t.replace(/\d+(\.\d+)?/g,(function(t,n){return r--&&n?String(Math.round(e(a)(t))):t}))}var ht=/(\[[^\]]+\])/g,pt=/(#[^\s\+>~\.\[:]+)/g,dt=/(\.[^\s\+>~\.\[:]+)/g,gt=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,vt=/(:[\w-]+\([^\)]*\))/gi,Bt=/(:[^\s\+>~\.\[:]+)/g,wt=/([^\s\+>~\.\[:]+)/g;function mt(t,e){var r=t.match(e);return r?[t.replace(e," "),r.length]:[t,0]}function yt(t){var r=[0,0,0],n=t.replace(/:not\(([^\)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),i=0,A=mt(n,ht),o=e(u)(A,2);n=o[0],i=o[1],r[1]+=i;var a=mt(n,pt),s=e(u)(a,2);n=s[0],i=s[1],r[0]+=i;var c=mt(n,dt),l=e(u)(c,2);n=l[0],i=l[1],r[1]+=i;var f=mt(n,gt),h=e(u)(f,2);n=h[0],i=h[1],r[2]+=i;var p=mt(n,vt),d=e(u)(p,2);n=d[0],i=d[1],r[1]+=i;var g=mt(n,Bt),v=e(u)(g,2);n=v[0],i=v[1],r[1]+=i;var B=mt(n=n.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),wt),w=e(u)(B,2);return n=w[0],i=w[1],r[2]+=i,r.join("")}var bt=1e-8;function xt(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function Ct(t,e){return(t[0]*e[0]+t[1]*e[1])/(xt(t)*xt(e))}function Et(t,e){return(t[0]*e[1]0&&void 0!==arguments[0]?arguments[0]:" ",A=this.document,o=this.name;return e(s)(r=e(S)(n=At(this.getString())).call(n).split(i)).call(r,(function(e){return new t(A,o,e)}))}},{key:"hasValue",value:function(t){var e=this.value;return null!==e&&""!==e&&(t||0!==e)&&void 0!==e}},{key:"isString",value:function(t){var e=this.value,r="string"==typeof e;return r&&t?t.test(e):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case/px$/.test(t):case/^[0-9]+$/.test(t):return!0;default:return!1}}},{key:"setValue",value:function(t){return this.value=t,this}},{key:"getValue",value:function(t){return void 0===t||this.hasValue()?this.value:t}},{key:"getNumber",value:function(t){if(!this.hasValue())return void 0===t?0:e(a)(t);var r=this.value,n=e(a)(r);return this.isString(/%$/)&&(n/=100),n}},{key:"getString",value:function(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}},{key:"getColor",value:function(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=ft(e),this.value=e),e}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var n="boolean"==typeof t?[void 0,t]:[t],i=e(u)(n,2),A=i[0],o=i[1],a=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&o:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*a.computeSize(A);default:var s=this.getNumber();return r&&s<1?s*a.computeSize(A):s}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var t=this.getString(),e=t.match(/#([^\)'"]+)/);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}},{key:"getFillStyleDefinition",value:function(t,e){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,t,e)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?t.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(r){for(var n=this.getColor(),i=n.length,A=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:0,i=st(r),A=e(u)(i,2),o=A[0],a=void 0===o?n:o,s=A[1];return new t(a,void 0===s?n:s)}},{key:"parseScale",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=st(r),A=e(u)(i,2),o=A[0],a=void 0===o?n:o,s=A[1];return new t(a,void 0===s?a:s)}},{key:"parsePath",value:function(e){for(var r=st(e),n=r.length,i=[],A=0;A0}},{key:"runEvents",value:function(){if(this.working){var t=this.screen,r=this.events,n=this.eventElements,i=t.ctx.canvas.style;i&&(i.cursor=""),e(h)(r).call(r,(function(t,e){for(var r=t.run,i=n[e];i;)r(i),i=i.parent})),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(t,r){if(this.working&&r){var n=this.events,i=this.eventElements;e(h)(n).call(n,(function(e,n){var A=e.x,o=e.y;!i[n]&&r.isPointInPath&&r.isPointInPath(A,o)&&(i[n]=t)}))}}},{key:"checkBoundingBox",value:function(t,r){if(this.working&&r){var n=this.events,i=this.eventElements;e(h)(n).call(n,(function(e,n){var A=e.x,o=e.y;!i[n]&&r.isPointInBox(A,o)&&(i[n]=t)}))}}},{key:"mapXY",value:function(t,e){for(var r=this.screen,n=r.window,i=r.ctx,A=new It(t,e),o=i.canvas;o;)A.x-=o.offsetLeft,A.y-=o.offsetTop,o=o.offsetParent;return n.scrollX&&(A.x+=n.scrollX),n.scrollY&&(A.y+=n.scrollY),A}},{key:"onClick",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onclick",x:r,y:n,run:function(t){t.onClick&&t.onClick()}})}},{key:"onMouseMove",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onmousemove",x:r,y:n,run:function(t){t.onMouseMove&&t.onMouseMove()}})}}]),t}(),Pt="undefined"!=typeof window?window:null,kt="undefined"!=typeof fetch?e(Q)(fetch).call(fetch,void 0):null,Rt=function(){function t(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.fetch,A=void 0===i?kt:i,o=n.window,a=void 0===o?Pt:o;e(y)(this,t),this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Tt,this.mouse=new Ot(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=A}return e(b)(t,[{key:"wait",value:function(t){this.waits.push(t)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:e(F).resolve()}},{key:"isReady",value:function(){var t;if(this.isReadyLock)return!0;var r=e(N)(t=this.waits).call(t,(function(t){return t()}));return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}},{key:"setDefaults",value:function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}},{key:"setViewBox",value:function(t){var r=t.document,n=t.ctx,i=t.aspectRatio,A=t.width,o=t.desiredWidth,a=t.height,s=t.desiredHeight,c=t.minX,l=void 0===c?0:c,f=t.minY,h=void 0===f?0:f,p=t.refX,d=t.refY,g=t.clip,v=void 0!==g&&g,B=t.clipX,w=void 0===B?0:B,m=t.clipY,y=void 0===m?0:m,b=At(i).replace(/^defer\s/,"").split(" "),x=e(u)(b,2),C=x[0]||"xMidYMid",E=x[1]||"meet",N=A/o,F=a/s,Q=Math.min(N,F),U=Math.max(N,F),S=o,L=s;"meet"===E&&(S*=Q,L*=Q),"slice"===E&&(S*=U,L*=U);var _=new Ht(r,"refX",p),H=new Ht(r,"refY",d),T=_.hasValue()&&H.hasValue();if(T&&n.translate(-Q*_.getPixels("x"),-Q*H.getPixels("y")),v){var I=Q*w,O=Q*y;n.beginPath(),n.moveTo(I,O),n.lineTo(A,O),n.lineTo(A,a),n.lineTo(I,a),n.closePath(),n.clip()}if(!T){var P="meet"===E&&Q===F,k="slice"===E&&U===F,R="meet"===E&&Q===N,M="slice"===E&&U===N;/^xMid/.test(C)&&(P||k)&&n.translate(A/2-S/2,0),/YMid$/.test(C)&&(R||M)&&n.translate(0,a/2-L/2),/^xMax/.test(C)&&(P||k)&&n.translate(A-S,0),/YMax$/.test(C)&&(R||M)&&n.translate(0,a-L)}switch(!0){case"none"===C:n.scale(N,F);break;case"meet"===E:n.scale(Q,Q);break;case"slice"===E:n.scale(U,U)}n.translate(-l,-h)}},{key:"start",value:function(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.enableRedraw,A=void 0!==i&&i,o=n.ignoreMouse,a=void 0!==o&&o,s=n.ignoreAnimation,u=void 0!==s&&s,c=n.ignoreDimensions,l=void 0!==c&&c,f=n.ignoreClear,h=void 0!==f&&f,p=n.forceRedraw,d=n.scaleWidth,g=n.scaleHeight,v=n.offsetX,B=n.offsetY,w=this.FRAMERATE,m=this.mouse,y=1e3/w;if(this.frameDuration=y,this.readyPromise=new(e(F))((function(t){r.resolveReady=t})),this.isReady()&&this.render(t,l,h,d,g,v,B),A){var b=e(E)(),x=b,C=0;a||m.start(),this.intervalId=e(U)((function n(){b=e(E)(),(C=b-x)>=y&&(x=b-C%y,r.shouldUpdate(u,p)&&(r.render(t,l,h,d,g,v,B),m.runEvents())),r.intervalId=e(U)(n)}))}}},{key:"stop",value:function(){this.intervalId&&(e(U).cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(t,r){if(!t){var n,i=this.frameDuration,A=e(C)(n=this.animations).call(n,(function(t,e){return e.update(i)||t}),!1);if(A)return!0}return!("function"!=typeof r||!r())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}},{key:"render",value:function(t,r,n,i,A,o,a){var s=this.CLIENT_WIDTH,u=this.CLIENT_HEIGHT,c=this.viewPort,l=this.ctx,f=this.isFirstRender,h=l.canvas;c.clear(),h.width&&h.height?c.setCurrent(h.width,h.height):c.setCurrent(s,u);var p=t.getStyle("width"),d=t.getStyle("height");!r&&(f||"number"!=typeof i&&"number"!=typeof A)&&(p.hasValue()&&(h.width=p.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),d.hasValue()&&(h.height=d.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var g=h.clientWidth||h.width,v=h.clientHeight||h.height;if(r&&p.hasValue()&&d.hasValue()&&(g=p.getPixels("x"),v=d.getPixels("y")),c.setCurrent(g,v),"number"==typeof o&&t.getAttribute("x",!0).setValue(o),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof i||"number"==typeof A){var B,w,m=st(t.getAttribute("viewBox").getString()),y=0,b=0;if("number"==typeof i){var C=t.getStyle("width");C.hasValue()?y=C.getPixels("x")/i:isNaN(m[2])||(y=m[2]/i)}if("number"==typeof A){var E=t.getStyle("height");E.hasValue()?b=E.getPixels("y")/A:isNaN(m[3])||(b=m[3]/A)}y||(y=b),b||(b=y),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(A);var N=t.getStyle("transform",!0,!0);N.setValue(e(x)(B=e(x)(w="".concat(N.getString()," scale(")).call(w,1/y,", ")).call(B,1/b,")"))}n||l.clearRect(0,0,g,v),t.render(l),f&&(this.isFirstRender=!1)}}]),t}();Rt.defaultWindow=Pt,Rt.defaultFetch=kt;var Mt=Rt.defaultFetch,Dt="undefined"!=typeof DOMParser?DOMParser:null,Kt=function(){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.fetch,i=void 0===n?Mt:n,A=r.DOMParser,o=void 0===A?Dt:A;e(y)(this,t),this.fetch=i,this.DOMParser=o}var r,n;return e(b)(t,[{key:"parse",value:(n=e(w)(e(B).mark((function t(r){return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!/^=0;r--)e[r].unapply(t)}},{key:"applyToPoint",value:function(t){for(var e=this.transforms,r=e.length,n=0;n2&&void 0!==arguments[2]&&arguments[2];if(e(y)(this,t),this.document=r,this.node=n,this.captureTextNodes=a,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],n&&1===n.nodeType){if(e(h)(i=e(R)(n.attributes)).call(i,(function(t){var e=ct(t.nodeName);o.attributes[e]=new Ht(r,e,t.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var c,l=e(s)(c=this.getAttribute("style").getString().split(";")).call(c,(function(t){return e(S)(t).call(t)}));e(h)(l).call(l,(function(t){var n;if(t){var i=e(s)(n=t.split(":")).call(n,(function(t){return e(S)(t).call(t)})),A=e(u)(i,2),a=A[0],c=A[1];o.styles[a]=new Ht(r,a,c)}}))}var f=r.definitions,p=this.getAttribute("id");p.hasValue()&&(f[p.getValue()]||(f[p.getValue()]=this)),e(h)(A=e(R)(n.childNodes)).call(A,(function(t){if(1===t.nodeType)o.addChild(t);else if(a&&(3===t.nodeType||4===t.nodeType)){var e=r.createTextNode(t);e.getText().length>0&&o.addChild(e)}}))}}return e(b)(t,[{key:"getAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var n=new Ht(this.document,t,"");return this.attributes[t]=n,n}return r||Ht.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var t in this.attributes)if("href"===t||/:href$/.test(t))return this.attributes[t];return Ht.empty(this.document)}},{key:"getStyle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[t];if(n)return n;var i=this.getAttribute(t);if(i&&i.hasValue())return this.styles[t]=i,i;if(!r){var A=this.parent;if(A){var o=A.getStyle(t);if(o&&o.hasValue())return o}}if(e){var a=new Ht(this.document,t,"");return this.styles[t]=a,a}return n||Ht.empty(this.document)}},{key:"render",value:function(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}},{key:"setContext",value:function(t){}},{key:"applyEffects",value:function(t){var e=$t.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(t)}}},{key:"clearContext",value:function(t){}},{key:"renderChildren",value:function(t){var r;e(h)(r=this.children).call(r,(function(e){e.render(t)}))}},{key:"addChild",value:function(r){var n,i=r instanceof t?r:this.document.createElement(r);i.parent=this,e(k)(n=t.ignoreChildTypes).call(n,i.type)||this.children.push(i)}},{key:"matchesSelector",value:function(t){var r,n=this.node;if("function"==typeof n.matches)return n.matches(t);var i=n.getAttribute("class");return!(!i||""===i)&&e(P)(r=i.split(" ")).call(r,(function(e){if(".".concat(e)===t)return!0}))}},{key:"addStylesFromStyleDefinition",value:function(){var t=this.document,e=t.styles,r=t.stylesSpecificity;for(var n in e)if("@"!==n[0]&&this.matchesSelector(n)){var i=e[n],A=r[n];if(i)for(var o in i){var a=this.stylesSpecificity[o];void 0===a&&(a="000"),A>=a&&(this.styles[o]=i[o],this.stylesSpecificity[o]=A)}}}},{key:"removeStyles",value:function(t,r){return e(C)(r).call(r,(function(r,n){var i,A=t.getStyle(n);if(!A.hasValue())return r;var o=A.getString();return A.setValue(""),e(x)(i=[]).call(i,e(O)(r),[[n,o]])}),[])}},{key:"restoreStyles",value:function(t,r){e(h)(r).call(r,(function(r){var n=e(u)(r,2),i=n[0],A=n[1];t.getStyle(i,!0).setValue(A)}))}}]),t}();function ee(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}te.ignoreChildTypes=["title"];var re=function(t){e(H)(n,t);var r=ee(n);function n(t,i,A){return e(y)(this,n),r.call(this,t,i,A)}return n}(te);function ne(t){var r=e(S)(t).call(t);return/^('|")/.test(r)?r:'"'.concat(r,'"')}function ie(t){if(!t)return"";var r=e(S)(t).call(t).toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function Ae(t){if(!t)return"";var r=e(S)(t).call(t).toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}var oe=function(){function t(r,n,i,A,o,a){e(y)(this,t);var s=a?"string"==typeof a?t.parse(a):a:{};this.fontFamily=o||s.fontFamily,this.fontSize=A||s.fontSize,this.fontStyle=r||s.fontStyle,this.fontWeight=i||s.fontWeight,this.fontVariant=n||s.fontVariant}return e(b)(t,[{key:"toString",value:function(){var t,r,n;return e(S)(t=[ie(this.fontStyle),this.fontVariant,Ae(this.fontWeight),this.fontSize,(r=this.fontFamily,void 0===it?r:e(s)(n=e(S)(r).call(r).split(",")).call(n,ne).join(","))].join(" ")).call(t)}}],[{key:"parse",value:function(){var r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0,A="",o="",a="",s="",c="",l=e(S)(r=At(n)).call(r).split(" "),f={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return e(h)(l).call(l,(function(r){var n,i,l;switch(!0){case!f.fontStyle&&e(k)(n=t.styles).call(n,r):"inherit"!==r&&(A=r),f.fontStyle=!0;break;case!f.fontVariant&&e(k)(i=t.variants).call(i,r):"inherit"!==r&&(o=r),f.fontStyle=!0,f.fontVariant=!0;break;case!f.fontWeight&&e(k)(l=t.weights).call(l,r):"inherit"!==r&&(a=r),f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0;break;case!f.fontSize:if("inherit"!==r){var h=r.split("/"),p=e(u)(h,1);s=p[0]}f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0,f.fontSize=!0;break;default:"inherit"!==r&&(c+=r)}})),new t(A,o,a,s,c,i)}}]),t}();oe.styles="normal|italic|oblique|inherit",oe.variants="normal|small-caps|inherit",oe.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var ae=function(){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;e(y)(this,t),this.x1=r,this.y1=n,this.x2=i,this.y2=A,this.addPoint(r,n),this.addPoint(i,A)}return e(b)(t,[{key:"addPoint",value:function(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),tthis.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))}},{key:"addX",value:function(t){this.addPoint(t,null)}},{key:"addY",value:function(t){this.addPoint(null,t)}},{key:"addBoundingBox",value:function(t){if(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;this.addPoint(e,r),this.addPoint(n,i)}}},{key:"sumCubic",value:function(t,e,r,n,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*n+Math.pow(t,3)*i}},{key:"bezierCurveAdd",value:function(t,e,r,n,i){var A=6*e-12*r+6*n,o=-3*e+9*r-9*n+3*i,a=3*r-3*e;if(0!==o){var s=Math.pow(A,2)-4*a*o;if(!(s<0)){var u=(-A+Math.sqrt(s))/(2*o);01&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),A=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var o=r.getFillStyleDefinition(this,n);o&&(t.fillStyle=o)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var a=r.getColor();"inherit"!==a&&(t.fillStyle="none"===a?"rgba(0,0,0,0)":a)}if(n.hasValue()){var s=new Ht(this.document,"fill",t.fillStyle).addOpacity(n).getColor();t.fillStyle=s}if(i.isUrlDefinition()){var u=i.getFillStyleDefinition(this,A);u&&(t.strokeStyle=u)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var c=i.getString();"inherit"!==c&&(t.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(A.hasValue()){var l=new Ht(this.document,"stroke",t.strokeStyle).addOpacity(A).getString();t.strokeStyle=l}var f=this.getStyle("stroke-width");if(f.hasValue()){var h=f.getPixels();t.lineWidth=h||bt}var p=this.getStyle("stroke-linecap"),d=this.getStyle("stroke-linejoin"),g=this.getStyle("stroke-miterlimit"),v=this.getStyle("paint-order"),B=this.getStyle("stroke-dasharray"),w=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(t.lineCap=p.getString()),d.hasValue()&&(t.lineJoin=d.getString()),g.hasValue()&&(t.miterLimit=g.getNumber()),v.hasValue()&&(t.paintOrder=v.getValue()),B.hasValue()&&"none"!==B.getString()){var m=st(B.getString());void 0!==t.setLineDash?t.setLineDash(m):void 0!==t.webkitLineDash?t.webkitLineDash=m:void 0===t.mozDash||1===m.length&&0===m[0]||(t.mozDash=m);var y=w.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=y:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=y:void 0!==t.mozDashOffset&&(t.mozDashOffset=y)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var b=this.getStyle("font"),x=this.getStyle("font-style"),C=this.getStyle("font-variant"),E=this.getStyle("font-weight"),N=this.getStyle("font-size"),F=this.getStyle("font-family"),Q=new oe(x.getString(),C.getString(),E.getString(),N.hasValue()?"".concat(N.getPixels(!0),"px"):"",F.getString(),oe.parse(b.getString(),t.font));x.setValue(Q.fontStyle),C.setValue(Q.fontVariant),E.setValue(Q.fontWeight),N.setValue(Q.fontSize),F.setValue(Q.fontFamily),t.font=Q.toString(),N.isPixels()&&(this.document.emSize=N.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(t){e(K)(e(I)(n.prototype),"clearContext",this).call(this,t),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),n}(te);function ce(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var le=function(t){e(H)(n,t);var r=ce(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,(this instanceof n?this.constructor:void 0)===n||A)).type="text",o.x=0,o.y=0,o.measureCache=-1,o}return e(b)(n,[{key:"setContext",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e(K)(e(I)(n.prototype),"setContext",this).call(this,t,r);var i=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();i&&(t.textBaseline=i)}},{key:"initializeCoordinates",value:function(t){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var e=this.getAttribute("dx"),r=this.getAttribute("dy");e.hasValue()&&(this.x+=e.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(t,this,0)}},{key:"getBoundingBox",value:function(t){var r,n=this;if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(t);var i=null;return e(h)(r=this.children).call(r,(function(e,r){var A=n.getChildBoundingBox(t,n,n,r);i?i.addBoundingBox(A):i=A})),i}},{key:"getFontSize",value:function(){var t=this.document,e=this.parent,r=oe.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}},{key:"getTElementBoundingBox",value:function(t){var e=this.getFontSize();return new ae(this.x,this.y-e,this.x+this.measureText(t),this.y)}},{key:"getGlyph",value:function(t,e,r){var n=e[r],i=null;if(t.isArabic){var A=e.length,o=e[r-1],a=e[r+1],s="isolated";(0===r||" "===o)&&r0&&" "!==o&&r0&&" "!==o&&(r===A-1||" "===a)&&(s="initial"),void 0!==t.glyphs[n]&&((i=t.glyphs[n][s])||"glyph"!==t.glyphs[n].type||(i=t.glyphs[n]))}else i=t.glyphs[n];return i||(i=t.missingGlyph),i}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(t){var r=t||this.node,n=e(R)(r.parentNode.childNodes),i=e(D)(n).call(n,r),A=n.length-1,o=At(r.value||r.text||r.textContent||"");return 0===i&&(o=ot(o)),i===A&&(o=at(o)),o}},{key:"renderChildren",value:function(t){var r,n=this;if("text"===this.type){this.initializeCoordinates(t),e(h)(r=this.children).call(r,(function(e,r){n.renderChild(t,n,n,r)}));var i=this.document.screen.mouse;i.isWorking()&&i.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}},{key:"renderTElementChildren",value:function(t){var r=this.document,n=this.parent,i=this.getText(),A=n.getStyle("font-family").getDefinition();if(A)for(var o,a=A.fontFace.unitsPerEm,s=oe.parse(r.ctx.font),u=n.getStyle("font-size").getNumber(s.fontSize),c=n.getStyle("font-style").getString(s.fontStyle),l=u/a,f=A.isRTL?e(M)(o=i.split("")).call(o).join(""):i,h=st(n.getAttribute("dx").getString()),p=f.length,d=0;dr&&o.getAttribute("x").hasValue()||o.getAttribute("text-anchor").hasValue()));s++)a+=o.measureTextRecursive(t);return-1*("end"===n?a:a/2)}return 0}},{key:"adjustChildCoordinates",value:function(t,e,r,n){var i=r.children[n];if("function"!=typeof i.measureText)return i;t.save(),i.setContext(t,!0);var A=i.getAttribute("x"),o=i.getAttribute("y"),a=i.getAttribute("dx"),s=i.getAttribute("dy"),u=i.getAttribute("text-anchor").getString("start");if(0===n&&"textNode"!==i.type&&(A.hasValue()||A.setValue(e.getAttribute("x").getValue("0")),o.hasValue()||o.setValue(e.getAttribute("y").getValue("0")),a.hasValue()||a.setValue(e.getAttribute("dx").getValue("0")),s.hasValue()||s.setValue(e.getAttribute("dy").getValue("0"))),A.hasValue()){if(i.x=A.getPixels("x")+e.getAnchorDelta(t,r,n),"start"!==u){var c=i.measureTextRecursive(t);i.x+=-1*("end"===u?c:c/2)}a.hasValue()&&(i.x+=a.getPixels("x"))}else{if("start"!==u){var l=i.measureTextRecursive(t);e.x+=-1*("end"===u?l:l/2)}a.hasValue()&&(e.x+=a.getPixels("x")),i.x=e.x}return e.x=i.x+i.measureText(t),o.hasValue()?(i.y=o.getPixels("y"),s.hasValue()&&(i.y+=s.getPixels("y"))):(s.hasValue()&&(e.y+=s.getPixels("y")),i.y=e.y),e.y=i.y,i.clearContext(t),t.restore(),i}},{key:"getChildBoundingBox",value:function(t,r,n,i){var A,o=this.adjustChildCoordinates(t,r,n,i);if("function"!=typeof o.getBoundingBox)return null;var a=o.getBoundingBox(t);return a?(e(h)(A=o.children).call(A,(function(e,n){var i=r.getChildBoundingBox(t,r,o,n);a.addBoundingBox(i)})),a):null}},{key:"renderChild",value:function(t,r,n,i){var A,o=this.adjustChildCoordinates(t,r,n,i);o.render(t),e(h)(A=o.children).call(A,(function(e,n){r.renderChild(t,r,o,n)}))}},{key:"measureTextRecursive",value:function(t){var r;return e(C)(r=this.children).call(r,(function(e,r){return e+r.measureTextRecursive(t)}),this.measureText(t))}},{key:"measureText",value:function(t){var e=this.measureCache;if(~e)return e;var r=this.getText(),n=this.measureTargetText(t,r);return this.measureCache=n,n}},{key:"measureTargetText",value:function(t,r){if(!r.length)return 0;var n=this.parent,i=n.getStyle("font-family").getDefinition();if(i){for(var A,o=this.getFontSize(),a=i.isRTL?e(M)(A=r.split("")).call(A).join(""):r,s=st(n.getAttribute("dx").getString()),u=a.length,c=0,l=0;l0?"":o.getTextFromNode(),o}return e(b)(n,[{key:"getText",value:function(){return this.text}}]),n}(le);function pe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var de=function(t){e(H)(n,t);var r=pe(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="textNode",t}return n}(he);function ge(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var ve=function(t){e(H)(n,t);var r=ge(n);function n(t){var i;return e(y)(this,n),(i=r.call(this,t.replace(/[+-.]\s+/g,"-").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,""))).control=null,i.start=null,i.current=null,i.command=null,i.commands=i.commands,i.i=-1,i.previousCommand=null,i.points=[],i.angles=[],i}return e(b)(n,[{key:"reset",value:function(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new It(0,0),this.control=new It(0,0),this.current=new It(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.commands.length-1}},{key:"next",value:function(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}},{key:"getPoint",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r=new It(this.command[t],this.command[e]);return this.makeAbsolute(r)}},{key:"getAsControlPoint",value:function(t,e){var r=this.getPoint(t,e);return this.control=r,r}},{key:"getAsCurrentPoint",value:function(t,e){var r=this.getPoint(t,e);return this.current=r,r}},{key:"getReflectedControlPoint",value:function(){var t=this.previousCommand.type;if(t!==V.SVGPathData.CURVE_TO&&t!==V.SVGPathData.SMOOTH_CURVE_TO&&t!==V.SVGPathData.QUAD_TO&&t!==V.SVGPathData.SMOOTH_QUAD_TO)return this.current;var e=this.current,r=e.x,n=e.y,i=this.control,A=i.x,o=i.y;return new It(2*r-A,2*n-o)}},{key:"makeAbsolute",value:function(t){if(this.command.relative){var e=this.current,r=e.x,n=e.y;t.x+=r,t.y+=n}return t}},{key:"addMarker",value:function(t,e,r){var n=this.points,i=this.angles;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}},{key:"addMarkerAngle",value:function(t,e){this.points.push(t),this.angles.push(e)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var t=this.angles,e=t.length,r=0;ra?o:a,v=o>a?1:o/a,B=o>a?a/o:1;t.translate(c.x,c.y),t.rotate(u),t.scale(v,B),t.arc(0,0,g,l,l+f,Boolean(1-s)),t.scale(1/v,1/B),t.rotate(-u),t.translate(-c.x,-c.y)}}},{key:"pathZ",value:function(t,e){n.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}],[{key:"pathM",value:function(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}},{key:"pathL",value:function(t){return{current:t.current,point:t.getAsCurrentPoint()}}},{key:"pathH",value:function(t){var e=t.current,r=t.command,n=new It((r.relative?e.x:0)+r.x,e.y);return t.current=n,{current:e,point:n}}},{key:"pathV",value:function(t){var e=t.current,r=t.command,n=new It(e.x,(r.relative?e.y:0)+r.y);return t.current=n,{current:e,point:n}}},{key:"pathC",value:function(t){return{current:t.current,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathS",value:function(t){return{current:t.current,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathQ",value:function(t){return{current:t.current,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathT",value:function(t){var e=t.current,r=t.getReflectedControlPoint();return t.control=r,{current:e,controlPoint:r,currentPoint:t.getAsCurrentPoint()}}},{key:"pathA",value:function(t){var e=t.current,r=t.command,n=r.rX,i=r.rY,A=r.xRot,o=r.lArcFlag,a=r.sweepFlag,s=A*(Math.PI/180),u=t.getAsCurrentPoint(),c=new It(Math.cos(s)*(e.x-u.x)/2+Math.sin(s)*(e.y-u.y)/2,-Math.sin(s)*(e.x-u.x)/2+Math.cos(s)*(e.y-u.y)/2),l=Math.pow(c.x,2)/Math.pow(n,2)+Math.pow(c.y,2)/Math.pow(i,2);l>1&&(n*=Math.sqrt(l),i*=Math.sqrt(l));var f=(o===a?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(i,2)-Math.pow(n,2)*Math.pow(c.y,2)-Math.pow(i,2)*Math.pow(c.x,2))/(Math.pow(n,2)*Math.pow(c.y,2)+Math.pow(i,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var h=new It(f*n*c.y/i,f*-i*c.x/n),p=new It((e.x+u.x)/2+Math.cos(s)*h.x-Math.sin(s)*h.y,(e.y+u.y)/2+Math.sin(s)*h.x+Math.cos(s)*h.y),d=Et([1,0],[(c.x-h.x)/n,(c.y-h.y)/i]),g=[(c.x-h.x)/n,(c.y-h.y)/i],v=[(-c.x-h.x)/n,(-c.y-h.y)/i],B=Et(g,v);return Ct(g,v)<=-1&&(B=Math.PI),Ct(g,v)>=1&&(B=0),{currentPoint:u,rX:n,rY:i,sweepFlag:a,xAxisRotation:s,centp:p,a1:d,ad:B}}},{key:"pathZ",value:function(t){t.current=t.start}}]),n}(ue);function me(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var ye=function(t){e(H)(n,t);var r=me(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="svg",t.root=!1,t}return e(b)(n,[{key:"setContext",value:function(t){var r=this.document,i=r.screen,A=r.window,o=t.canvas;if(i.setDefaults(t),o.style&&void 0!==t.font&&A&&void 0!==A.getComputedStyle){t.font=A.getComputedStyle(o).getPropertyValue("font");var a=new Ht(r,"fontSize",oe.parse(t.font).fontSize);a.hasValue()&&(r.rootEmSize=a.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var s=i.viewPort,u=s.width,c=s.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var l=this.getAttribute("refX"),f=this.getAttribute("refY"),h=this.getAttribute("viewBox"),p=h.hasValue()?st(h.getString()):null,d=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),g=0,v=0,B=0,w=0;p&&(g=p[0],v=p[1]),this.root||(u=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y"),"marker"===this.type&&(B=g,w=v,g=0,v=0)),i.viewPort.setCurrent(u,c),this.node&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),e(K)(e(I)(n.prototype),"setContext",this).call(this,t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),p&&(u=p[2],c=p[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:u,height:i.viewPort.height,desiredHeight:c,minX:g,minY:v,refX:l.getValue(),refY:f.getValue(),clip:d,clipX:B,clipY:w}),p&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(u,c))}},{key:"clearContext",value:function(t){e(K)(e(I)(n.prototype),"clearContext",this).call(this,t),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=this.getAttribute("width",!0),o=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=A.getNumber(0),c=o.getNumber(0);if(i)if("string"==typeof i)this.getAttribute("preserveAspectRatio",!0).setValue(i);else{var l=this.getAttribute("preserveAspectRatio");l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}(A.setValue(t),o.setValue(n),a.hasValue())||a.setValue(e(x)(r="0 0 ".concat(u||t," ")).call(r,c||n));if(s.hasValue()){var f=this.getStyle("width"),h=this.getStyle("height");f.hasValue()&&f.setValue("".concat(t,"px")),h.hasValue()&&h.setValue("".concat(n,"px"))}}}]),n}(ue);function be(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var xe=function(t){e(H)(n,t);var r=be(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="rect",t}return e(b)(n,[{key:"path",value:function(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),A=this.getAttribute("rx"),o=this.getAttribute("ry"),a=A.getPixels("x"),s=o.getPixels("y");if(A.hasValue()&&!o.hasValue()&&(s=a),o.hasValue()&&!A.hasValue()&&(a=s),a=Math.min(a,n/2),s=Math.min(s,i/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&n>0&&(t.moveTo(e+a,r),t.lineTo(e+n-a,r),t.bezierCurveTo(e+n-a+u*a,r,e+n,r+s-u*s,e+n,r+s),t.lineTo(e+n,r+i-s),t.bezierCurveTo(e+n,r+i-s+u*s,e+n-a+u*a,r+i,e+n-a,r+i),t.lineTo(e+a,r+i),t.bezierCurveTo(e+a-u*a,r+i,e,r+i-s+u*s,e,r+i-s),t.lineTo(e,r+s),t.bezierCurveTo(e,r+s-u*s,e+a-u*a,r,e+a,r),t.closePath())}return new ae(e,r,e+n,r+i)}},{key:"getMarkers",value:function(){return null}}]),n}(we);function Ce(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ee=function(t){e(H)(n,t);var r=Ce(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="circle",t}return e(b)(n,[{key:"path",value:function(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return t&&n>0&&(t.beginPath(),t.arc(e,r,n,0,2*Math.PI,!1),t.closePath()),new ae(e-n,r-n,e+n,r+n)}},{key:"getMarkers",value:function(){return null}}]),n}(we);function Ne(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Fe=function(t){e(H)(n,t);var r=Ne(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="ellipse",t}return e(b)(n,[{key:"path",value:function(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),A=this.getAttribute("cy").getPixels("y");return t&&r>0&&n>0&&(t.beginPath(),t.moveTo(i+r,A),t.bezierCurveTo(i+r,A+e*n,i+e*r,A+n,i,A+n),t.bezierCurveTo(i-e*r,A+n,i-r,A+e*n,i-r,A),t.bezierCurveTo(i-r,A-e*n,i-e*r,A-n,i,A-n),t.bezierCurveTo(i+e*r,A-n,i+r,A-e*n,i+r,A),t.closePath()),new ae(i-r,A-n,i+r,A+n)}},{key:"getMarkers",value:function(){return null}}]),n}(we);function Qe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ue=function(t){e(H)(n,t);var r=Qe(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="line",t}return e(b)(n,[{key:"getPoints",value:function(){return[new It(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new It(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(t){var r=this.getPoints(),n=e(u)(r,2),i=n[0],A=i.x,o=i.y,a=n[1],s=a.x,c=a.y;return t&&(t.beginPath(),t.moveTo(A,o),t.lineTo(s,c)),new ae(A,o,s,c)}},{key:"getMarkers",value:function(){var t=this.getPoints(),r=e(u)(t,2),n=r[0],i=r[1],A=n.angleTo(i);return[[n,A],[i,A]]}}]),n}(we);function Se(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Le=function(t){e(H)(n,t);var r=Se(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="polyline",o.points=[],o.points=It.parsePath(o.getAttribute("points").getString()),o}return e(b)(n,[{key:"path",value:function(t){var r=this.points,n=e(u)(r,1)[0],i=n.x,A=n.y,o=new ae(i,A);return t&&(t.beginPath(),t.moveTo(i,A)),e(h)(r).call(r,(function(e){var r=e.x,n=e.y;o.addPoint(r,n),t&&t.lineTo(r,n)})),o}},{key:"getMarkers",value:function(){var t=this.points,r=t.length-1,n=[];return e(h)(t).call(t,(function(e,i){i!==r&&n.push([e,e.angleTo(t[i+1])])})),n.length>0&&n.push([t[t.length-1],n[n.length-1][1]]),n}}]),n}(we);function _e(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var He=function(t){e(H)(n,t);var r=_e(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="polygon",t}return e(b)(n,[{key:"path",value:function(t){var r=e(K)(e(I)(n.prototype),"path",this).call(this,t),i=e(u)(this.points,1)[0],A=i.x,o=i.y;return t&&(t.lineTo(A,o),t.closePath()),r}}]),n}(Le);function Te(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ie=function(t){e(H)(n,t);var r=Te(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="pattern",t}return e(b)(n,[{key:"createPattern",value:function(t,r,n){var i=this.getStyle("width").getPixels("x",!0),A=this.getStyle("height").getPixels("y",!0),o=new ye(this.document,null);o.attributes.viewBox=new Ht(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new Ht(this.document,"width","".concat(i,"px")),o.attributes.height=new Ht(this.document,"height","".concat(A,"px")),o.attributes.transform=new Ht(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var a=this.document.createCanvas(i,A),s=a.getContext("2d"),u=this.getAttribute("x"),c=this.getAttribute("y");u.hasValue()&&c.hasValue()&&s.translate(u.getPixels("x",!0),c.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:e(j)(this.styles,"fill-opacity");for(var l=-1;l<=1;l++)for(var f=-1;f<=1;f++)s.save(),o.attributes.x=new Ht(this.document,"x",l*a.width),o.attributes.y=new Ht(this.document,"y",f*a.height),o.render(s),s.restore();return t.createPattern(a,"repeat")}}]),n}(te);function Oe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Pe=function(t){e(H)(n,t);var r=Oe(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="marker",t}return e(b)(n,[{key:"render",value:function(t,e,r){if(e){var n=e.x,i=e.y,A=this.getAttribute("orient").getValue("auto"),o=this.getAttribute("markerUnits").getValue("strokeWidth");t.translate(n,i),"auto"===A&&t.rotate(r),"strokeWidth"===o&&t.scale(t.lineWidth,t.lineWidth),t.save();var a=new ye(this.document,null);a.type=this.type,a.attributes.viewBox=new Ht(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.refX=new Ht(this.document,"refX",this.getAttribute("refX").getValue()),a.attributes.refY=new Ht(this.document,"refY",this.getAttribute("refY").getValue()),a.attributes.width=new Ht(this.document,"width",this.getAttribute("markerWidth").getValue()),a.attributes.height=new Ht(this.document,"height",this.getAttribute("markerHeight").getValue()),a.attributes.overflow=new Ht(this.document,"overflow",this.getAttribute("overflow").getValue()),a.attributes.fill=new Ht(this.document,"fill",this.getAttribute("fill").getColor("black")),a.attributes.stroke=new Ht(this.document,"stroke",this.getAttribute("stroke").getValue("none")),a.children=this.children,a.render(t),t.restore(),"strokeWidth"===o&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===A&&t.rotate(-r),t.translate(-n,-i)}}}]),n}(te);function ke(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Re=function(t){e(H)(n,t);var r=ke(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="defs",t}return e(b)(n,[{key:"render",value:function(){}}]),n}(te);function Me(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var De=function(t){e(H)(n,t);var r=Me(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="g",t}return e(b)(n,[{key:"getBoundingBox",value:function(t){var r,n=new ae;return e(h)(r=this.children).call(r,(function(e){n.addBoundingBox(e.getBoundingBox(t))})),n}}]),n}(ue);function Ke(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var ze=function(t){e(H)(n,t);var r=Ke(n);function n(t,i,A){var o;e(y)(this,n),(o=r.call(this,t,i,A)).attributesToInherit=["gradientUnits"],o.stops=[];var a=e(q)(o),s=a.stops,u=a.children;return e(h)(u).call(u,(function(t){"stop"===t.type&&s.push(t)})),o}return e(b)(n,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(t,r,n){var i=this,A=this;this.getHrefAttribute().hasValue()&&(A=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(A));var o=A.stops,a=this.getGradient(t,r);if(!a)return this.addParentOpacity(n,o[o.length-1].color);if(e(h)(o).call(o,(function(t){a.addColorStop(t.offset,i.addParentOpacity(n,t.color))})),this.getAttribute("gradientTransform").hasValue()){var s=this.document,c=s.screen,l=c.MAX_VIRTUAL_PIXELS,f=c.viewPort,p=e(u)(f.viewPorts,1)[0],d=new xe(s,null);d.attributes.x=new Ht(s,"x",-l/3),d.attributes.y=new Ht(s,"y",-l/3),d.attributes.width=new Ht(s,"width",l),d.attributes.height=new Ht(s,"height",l);var g=new De(s,null);g.attributes.transform=new Ht(s,"transform",this.getAttribute("gradientTransform").getValue()),g.children=[d];var v=new ye(s,null);v.attributes.x=new Ht(s,"x",0),v.attributes.y=new Ht(s,"y",0),v.attributes.width=new Ht(s,"width",p.width),v.attributes.height=new Ht(s,"height",p.height),v.children=[g];var B=s.createCanvas(p.width,p.height),w=B.getContext("2d");return w.fillStyle=a,v.render(w),w.createPattern(B,"no-repeat")}return a}},{key:"inheritStopContainer",value:function(t){var r,n=this;e(h)(r=this.attributesToInherit).call(r,(function(e){!n.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&n.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())}))}},{key:"addParentOpacity",value:function(t,e){return t.hasValue()?new Ht(this.document,"color",e).addOpacity(t).getColor():e}}]),n}(te);function Ve(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var je=function(t){e(H)(n,t);var r=Ve(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="linearGradient",o.attributesToInherit.push("x1","y1","x2","y2"),o}return e(b)(n,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=r?e.getBoundingBox(t):null;if(r&&!n)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var i=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),A=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),o=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),a=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===o&&A===a?null:t.createLinearGradient(i,A,o,a)}}]),n}(ze);function qe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Xe=function(t){e(H)(n,t);var r=qe(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="radialGradient",o.attributesToInherit.push("cx","cy","r","fx","fy","fr"),o}return e(b)(n,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=e.getBoundingBox(t);if(r&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var i=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),A=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),o=i,a=A;this.getAttribute("fx").hasValue()&&(o=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(a=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var s=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return t.createRadialGradient(o,a,u,i,A,s)}}]),n}(ze);function Ge(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var We=function(t){e(H)(n,t);var r=Ge(n);function n(t,i,A){var o;e(y)(this,n),(o=r.call(this,t,i,A)).type="stop";var a=Math.max(0,Math.min(1,o.getAttribute("offset").getNumber())),s=o.getStyle("stop-opacity"),u=o.getStyle("stop-color",!0);return""===u.getString()&&u.setValue("#000"),s.hasValue()&&(u=u.addOpacity(s)),o.offset=a,o.color=u.getColor(),o}return n}(te);function Ye(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Je=function(t){e(H)(n,t);var r=Ye(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="animate",o.duration=0,o.initialValue=null,o.initialUnits="",o.removed=!1,o.frozen=!1,t.screen.animations.push(e(q)(o)),o.begin=o.getAttribute("begin").getMilliseconds(),o.maxDuration=o.begin+o.getAttribute("dur").getMilliseconds(),o.from=o.getAttribute("from"),o.to=o.getAttribute("to"),o.values=o.getAttribute("values"),e(X)(o).hasValue()&&e(X)(o).setValue(e(X)(o).getString().split(";")),o}return e(b)(n,[{key:"getProperty",value:function(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}},{key:"calcValue",value:function(){var t,r=this.initialUnits,n=this.getProgress(),i=n.progress,A=n.from,o=n.to,a=A.getNumber()+(o.getNumber()-A.getNumber())*i;return"%"===r&&(a*=100),e(x)(t="".concat(a)).call(t,r)}},{key:"update",value:function(t){var r=this.parent,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==i||this.frozen){if("remove"===i&&!this.removed)return this.removed=!0,n.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=n.getString();return!1}this.duration+=t;var A=!1;if(this.begin=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:A}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e(W)(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function nr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&e(N)(o=e(R)(s)).call(o,(function(t){return 3===t.nodeType}));return a.hasText=c,a.text=c?a.getTextFromNode(u):"",a}return e(b)(n,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(t){if(this.hasText){e(K)(e(I)(n.prototype),"renderChildren",this).call(this,t);var r=this.document,i=this.x,A=this.y,o=r.screen.mouse,a=new Ht(r,"fontSize",oe.parse(r.ctx.font).fontSize);o.isWorking()&&o.checkBoundingBox(this,new ae(i,A-a.getPixels("y"),i+this.measureText(t),A))}else if(this.children.length>0){var s=new De(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}},{key:"onClick",value:function(){var t=this.document.window;t&&t.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),n}(le);function gr(t,r){var n;if(void 0===e(Z)||null==e(J)(t)){if(e(Y)(t)||(n=function(t,r){var n;if(!t)return;if("string"==typeof t)return vr(t,r);var i=e($)(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return e(R)(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return vr(t,r)}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,A=function(){};return{s:A,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:A}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e(W)(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function vr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rc?s:c,g=s>c?1:s/c,v=s>c?c/s:1;t&&(t.translate(o,a),t.rotate(h),t.scale(g,v),t.arc(0,0,d,l,l+f,Boolean(1-p)),t.scale(1/g,1/v),t.rotate(-h),t.translate(-o,-a));break;case ve.CLOSE_PATH:t&&t.closePath()}}))}},{key:"renderChildren",value:function(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),i=this.glyphInfo,A=t.fillStyle;"underline"===r&&t.beginPath(),e(h)(i).call(i,(function(e,i){var A=e.p0,o=e.p1,a=e.rotation,s=e.text;t.save(),t.translate(A.x,A.y),t.rotate(a),t.fillStyle&&t.fillText(s,0,0),t.strokeStyle&&t.strokeText(s,0,0),t.restore(),"underline"===r&&(0===i&&t.moveTo(A.x,A.y+n/8),t.lineTo(o.x,o.y+n/5))})),"underline"===r&&(t.lineWidth=n/20,t.strokeStyle=A,t.stroke(),t.closePath()),t.restore()}},{key:"getLetterSpacingAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}},{key:"findSegmentToFitChar",value:function(t,e,r,n,i,A,o,a,s){var u=A,c=this.measureText(t,a);" "===a&&"justify"===e&&r-1&&(u+=this.getLetterSpacingAt(s));var l=this.textHeight/20,f=this.getEquidistantPointOnPath(u,l,0),h=this.getEquidistantPointOnPath(u+c,l,0),p={p0:f,p1:h},d=f&&h?Math.atan2(h.y-f.y,h.x-f.x):0;if(o){var g=Math.cos(Math.PI/2+d)*o,v=Math.cos(-d)*o;p.p0=wr(wr({},f),{},{x:f.x+g,y:f.y+v}),p.p1=wr(wr({},h),{},{x:h.x+g,y:h.y+v})}return{offset:u+=c,segment:p,rotation:d}}},{key:"measureText",value:function(t,e){var r=this.measuresCache,n=e||this.getText();if(r.has(n))return r.get(n);var i=this.measureTargetText(t,n);return r.set(n,i),i}},{key:"setTextData",value:function(t){var r,n=this;if(!this.glyphInfo){var i=this.getText(),A=i.split(""),o=i.split(" ").length-1,a=e(s)(r=this.parent.getAttribute("dx").split()).call(r,(function(t){return t.getPixels("x")})),u=this.parent.getAttribute("dy").getPixels("y"),c=this.parent.getStyle("text-anchor").getString("start"),l=this.getStyle("letter-spacing"),f=this.parent.getStyle("letter-spacing"),p=0;l.hasValue()&&"inherit"!==l.getValue()?l.hasValue()&&"initial"!==l.getValue()&&"unset"!==l.getValue()&&(p=l.getPixels()):p=f.getPixels();var d=[],g=i.length;this.letterSpacingCache=d;for(var v=0;v0&&(s-=2*Math.PI),1===i&&s<0&&(s+=2*Math.PI),[o.x,o.y,r,n,a,s,A,i]}},{key:"calcLength",value:function(t,e,r,n){var i=0,A=null,o=null,a=0;switch(r){case ve.LINE_TO:return this.getLineLength(t,e,n[0],n[1]);case ve.CURVE_TO:for(i=0,A=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),a=.01;a<=1;a+=.01)o=this.getPointOnCubicBezier(a,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),i+=this.getLineLength(A.x,A.y,o.x,o.y),A=o;return i;case ve.QUAD_TO:for(i=0,A=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),a=.01;a<=1;a+=.01)o=this.getPointOnQuadraticBezier(a,t,e,n[0],n[1],n[2],n[3]),i+=this.getLineLength(A.x,A.y,o.x,o.y),A=o;return i;case ve.ARC:i=0;var s=n[4],u=n[5],c=n[4]+u,l=Math.PI/180;if(Math.abs(s-c)c;a-=l)o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],a,0),i+=this.getLineLength(A.x,A.y,o.x,o.y),A=o;else for(a=s+l;a5&&void 0!==arguments[5]?arguments[5]:e,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,a=(i-r)/(n-e+bt),s=Math.sqrt(t*t/(1+a*a));ne)return null;var i,A=gr(this.dataArray);try{for(A.s();!(i=A.n()).done;){var o=i.value;if(!o||!(o.pathLength<5e-5||r+o.pathLength+5e-5=0&&s>l)break;n=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],s,o.points[6]);break;case ve.CURVE_TO:(s=a/o.pathLength)>1&&(s=1),n=this.getPointOnCubicBezier(s,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case ve.QUAD_TO:(s=a/o.pathLength)>1&&(s=1),n=this.getPointOnQuadraticBezier(s,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3])}if(n)return n;break}r+=o.pathLength}}catch(t){A.e(t)}finally{A.f()}return null}},{key:"getLineLength",value:function(t,e,r,n){return Math.sqrt((r-t)*(r-t)+(n-e)*(n-e))}},{key:"getPathLength",value:function(){var t;-1===this.pathLength&&(this.pathLength=e(C)(t=this.dataArray).call(t,(function(t,e){return e.pathLength>0?t+e.pathLength:t}),0));return this.pathLength}},{key:"getPointOnCubicBezier",value:function(t,e,r,n,i,A,o,a,s){return{x:a*Nt(t)+A*Ft(t)+n*Qt(t)+e*Ut(t),y:s*Nt(t)+o*Ft(t)+i*Qt(t)+r*Ut(t)}}},{key:"getPointOnQuadraticBezier",value:function(t,e,r,n,i,A,o){return{x:A*St(t)+n*Lt(t)+e*_t(t),y:o*St(t)+i*Lt(t)+r*_t(t)}}},{key:"getPointOnEllipticalArc",value:function(t,e,r,n,i,A){var o=Math.cos(A),a=Math.sin(A),s=r*Math.cos(i),u=n*Math.sin(i);return{x:t+(s*o-u*a),y:e+(s*a+u*o)}}},{key:"buildEquidistantCache",value:function(t,e){var r=this.getPathLength(),n=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==n){this.equidistantCache={step:i,precision:n,points:[]};for(var A=0,o=0;o<=r;o+=n){var a=this.getPointOnPath(o),s=this.getPointOnPath(o+n);a&&s&&((A+=this.getLineLength(a.x,a.y,s.x,s.y))>=i&&(this.equidistantCache.points.push({x:a.x,y:a.y,distance:o}),A-=i))}}}},{key:"getEquidistantPointOnPath",value:function(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}]),n}(le);function br(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var xr=function(t){e(H)(A,t);var r,n,i=br(A);function A(t,r,n){var o;e(y)(this,A),(o=i.call(this,t,r,n)).type="image",o.loaded=!1;var a=o.getHrefAttribute().getString();if(!a)return e(T)(o);var s=/\.svg$/.test(a);return t.images.push(e(q)(o)),s?o.loadSvg(a):o.loadImage(a),o.isSvg=s,o}return e(b)(A,[{key:"loadImage",value:(n=e(w)(e(B).mark((function t(r){var n;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.createImage(r);case 3:n=t.sent,this.image=n,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error('Error while loading image "'.concat(r,'":'),t.t0);case 10:this.loaded=!0;case 11:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(t){return n.apply(this,arguments)})},{key:"loadSvg",value:(r=e(w)(e(B).mark((function t(r){var n,i;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.fetch(r);case 3:return n=t.sent,t.next=6,n.text();case 6:i=t.sent,this.image=i,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),console.error('Error while loading image "'.concat(r,'":'),t.t0);case 13:this.loaded=!0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return r.apply(this,arguments)})},{key:"renderChildren",value:function(t){var e=this.document,r=this.image,n=this.loaded,i=this.getAttribute("x").getPixels("x"),A=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(n&&r&&o&&a){if(t.save(),this.isSvg)e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:i,offsetY:A,scaleWidth:o,scaleHeight:a}).render();else{var s=this.image;t.translate(i,A),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o,desiredWidth:s.width,height:a,desiredHeight:s.height}),this.loaded&&(void 0===s.complete||s.complete)&&t.drawImage(s,0,0)}t.restore()}}},{key:"getBoundingBox",value:function(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new ae(t,e,t+r,e+n)}}]),A}(ue);function Cr(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Er=function(t){e(H)(n,t);var r=Cr(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="symbol",t}return e(b)(n,[{key:"render",value:function(t){}}]),n}(ue),Nr=function(){function t(r){e(y)(this,t),this.document=r,this.loaded=!1,r.fonts.push(this)}var r;return e(b)(t,[{key:"load",value:(r=e(w)(e(B).mark((function t(r,n){var i,A,o,a;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,A=this.document,t.next=4,A.canvg.parser.load(n);case 4:o=t.sent,a=o.getElementsByTagName("font"),e(h)(i=e(R)(a)).call(i,(function(t){var e=A.createElement(t);A.definitions[r]=e})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.error('Error while loading font "'.concat(n,'":'),t.t0);case 12:this.loaded=!0;case 13:case"end":return t.stop()}}),t,this,[[0,9]])}))),function(t,e){return r.apply(this,arguments)})}]),t}();function Fr(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Qr=function(t){e(H)(n,t);var r=Fr(n);function n(t,i,A){var o,a;e(y)(this,n),(a=r.call(this,t,i,A)).type="style";var u=At(e(s)(o=e(R)(i.childNodes)).call(o,(function(t){return t.data})).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}");return e(h)(u).call(u,(function(r){var n=e(S)(r).call(r);if(n){var i=n.split("{"),A=i[0].split(","),o=i[1].split(";");e(h)(A).call(A,(function(r){var n=e(S)(r).call(r);if(n){var i=t.styles[n]||{};if(e(h)(o).call(o,(function(r){var n,A,o=e(D)(r).call(r,":"),a=e(S)(n=r.substr(0,o)).call(n),s=e(S)(A=r.substr(o+1,r.length-o)).call(A);a&&s&&(i[a]=new Ht(t,a,s))})),t.styles[n]=i,t.stylesSpecificity[n]=yt(n),"@font-face"===n){var A=i["font-family"].getString().replace(/"|'/g,""),a=i.src.getString().split(",");e(h)(a).call(a,(function(r){if(e(D)(r).call(r,'format("svg")')>0){var n=lt(r);n&&new Nr(t).load(A,n)}}))}}}))}})),a}return n}(te);function Ur(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}Qr.parseExternalUrl=lt;var Sr=function(t){e(H)(n,t);var r=Ur(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="use",t}return e(b)(n,[{key:"setContext",value:function(t){e(K)(e(I)(n.prototype),"setContext",this).call(this,t);var r=this.getAttribute("x"),i=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),i.hasValue()&&t.translate(0,i.getPixels("y"))}},{key:"path",value:function(t){var e=this.element;e&&e.path(t)}},{key:"renderChildren",value:function(t){var e=this.document,r=this.element;if(r){var n=r;if("symbol"===r.type&&((n=new ye(e,null)).attributes.viewBox=new Ht(e,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new Ht(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new Ht(e,"overflow",r.getAttribute("overflow").getString()),n.children=r.children,r.styles.opacity=new Ht(e,"opacity",this.calculateOpacity())),"svg"===n.type){var i=this.getStyle("width",!1,!0),A=this.getStyle("height",!1,!0);i.hasValue()&&(n.attributes.width=new Ht(e,"width",i.getString())),A.hasValue()&&(n.attributes.height=new Ht(e,"height",A.getString()))}var o=n.parent;n.parent=this,n.render(t),n.parent=o}}},{key:"getBoundingBox",value:function(t){var e=this.element;return e?e.getBoundingBox(t):null}},{key:"elementTransform",value:function(){var t=this.document,e=this.element;return $t.fromElement(t,e)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),n}(ue);function Lr(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}function _r(t,e,r,n,i,A){return t[r*n*4+4*e+A]}function Hr(t,e,r,n,i,A,o){t[r*n*4+4*e+A]=o}function Tr(t,e,r){return t[e]*r}function Ir(t,e,r,n){return e+Math.cos(t)*r+Math.sin(t)*n}var Or=function(t){e(H)(n,t);var r=Lr(n);function n(t,i,A){var o;e(y)(this,n),(o=r.call(this,t,i,A)).type="feColorMatrix";var a=st(o.getAttribute("values").getString());switch(o.getAttribute("type").getString("matrix")){case"saturate":var s=a[0];a=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var u=a[0]*Math.PI/180;a=[Ir(u,.213,.787,-.213),Ir(u,.715,-.715,-.715),Ir(u,.072,-.072,.928),0,0,Ir(u,.213,-.213,.143),Ir(u,.715,.285,.14),Ir(u,.072,-.072,-.283),0,0,Ir(u,.213,-.213,-.787),Ir(u,.715,-.715,.715),Ir(u,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return o.matrix=a,o.includeOpacity=o.getAttribute("includeOpacity").hasValue(),o}return e(b)(n,[{key:"apply",value:function(t,e,r,n,i){for(var A=this.includeOpacity,o=this.matrix,a=t.getImageData(0,0,n,i),s=0;s1&&void 0!==A[1]&&A[1],i=document.createElement("img"),n&&(i.crossOrigin="Anonymous"),t.abrupt("return",new(e(F))((function(t,e){i.onload=function(){t(i)},i.onerror=function(){e()},i.src=r})));case 4:case"end":return t.stop()}}),t)}))),An.apply(this,arguments)}var on=function(){function t(r){var n,i,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=A.rootEmSize,a=void 0===o?12:o,s=A.emSize,u=void 0===s?12:s,c=A.createCanvas,l=void 0===c?t.createCanvas:c,f=A.createImage,h=void 0===f?t.createImage:f,p=A.anonymousCrossOrigin;e(y)(this,t),this.canvg=r,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=r.screen,this.rootEmSize=a,this.emSize=u,this.createCanvas=l,this.createImage=this.bindCreateImage(h,p),this.screen.wait(e(Q)(n=this.isImagesLoaded).call(n,this)),this.screen.wait(e(Q)(i=this.isFontsLoaded).call(i,this))}return e(b)(t,[{key:"bindCreateImage",value:function(t,e){return"boolean"==typeof e?function(r,n){return t(r,"boolean"==typeof n?n:e)}:t}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){var t;return e(N)(t=this.images).call(t,(function(t){return t.loaded}))}},{key:"isFontsLoaded",value:function(){var t;return e(N)(t=this.fonts).call(t,(function(t){return t.loaded}))}},{key:"createDocumentElement",value:function(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}},{key:"createElement",value:function(e){var r=e.nodeName.replace(/^[^:]+:/,""),n=t.elementTypes[r];return void 0!==n?new n(this,e):new re(this,e)}},{key:"createTextNode",value:function(t){return new de(this,t)}},{key:"setViewBox",value:function(t){this.screen.setViewBox(function(t){for(var r=1;r2&&void 0!==arguments[2]?arguments[2]:{};e(y)(this,t),this.parser=new Kt(i),this.screen=new Rt(r,i),this.options=i;var A=new on(this,i),o=A.createDocumentElement(n);this.document=A,this.documentElement=o}var r,n;return e(b)(t,[{key:"fork",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.from(e,r,sn(sn({},this.options),n))}},{key:"forkString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.fromString(e,r,sn(sn({},this.options),n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(n=e(w)(e(B).mark((function t(){var r,n=arguments;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.length>0&&void 0!==n[0]?n[0]:{},this.start(sn({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),t.next=4,this.ready();case 4:this.stop();case 5:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"start",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.documentElement,r=this.screen,n=this.options;r.start(e,sn(sn({enableRedraw:!0},n),t))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}],[{key:"from",value:(r=e(w)(e(B).mark((function r(n,i){var A,o,a,s=arguments;return e(B).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=new Kt(A=s.length>2&&void 0!==s[2]?s[2]:{}),e.next=4,o.parse(i);case 4:return a=e.sent,e.abrupt("return",new t(n,a,A));case 6:case"end":return e.stop()}}),r)}))),function(t,e){return r.apply(this,arguments)})},{key:"fromString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new t(e,new Kt(n).parseFromString(r),n)}}]),t}();var cn=Object.freeze({__proto__:null,offscreen:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).DOMParser,r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:function(t,e){return new OffscreenCanvas(t,e)},createImage:function(t){return e(w)(e(B).mark((function r(){var n,i,A;return e(B).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return n=e.sent,e.next=5,n.blob();case 5:return i=e.sent,e.next=8,createImageBitmap(i);case 8:return A=e.sent,e.abrupt("return",A);case 10:case"end":return e.stop()}}),r)})))()}};return"undefined"==typeof DOMParser&&void 0!==t||e(j)(r,"DOMParser"),r},node:function(t){var e=t.DOMParser,r=t.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t.fetch,createCanvas:r.createCanvas,createImage:r.loadImage}}}),ln=un})),A.register("2ZhaM",(function(t,e){t.exports=A("lVa9c")})),A.register("lVa9c",(function(t,e){var r=A("dN1Gr");t.exports=r})),A.register("dN1Gr",(function(t,e){var r=A("kz474"),n=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===n||t instanceof String&&e===n.startsWith?r:e}})),A.register("kz474",(function(t,e){A("jDNPP");var r=A("vGGUj");t.exports=r("String").startsWith})),A.register("jDNPP",(function(t,e){"use strict";var r,n=A("hCzcd"),i=A("8oJBm").f,o=A("dOY5U"),a=A("5rbg5"),s=A("afG1u"),u=A("j3XkH"),c=A("272tI"),l="".startsWith,f=Math.min,h=u("startsWith");n({target:"String",proto:!0,forced:!!(c||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(t){var e=String(s(this));a(t);var r=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return l?l.call(e,n,r):e.slice(r,r+n.length)===n}})})),A.register("hCzcd",(function(t,e){"use strict";var r=A("hFqBl"),n=A("8oJBm").f,i=A("ltHYT"),o=A("k30YA"),a=A("eqgON"),s=A("4kZLz"),u=A("aOL02"),c=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var A,l,f,h,p,d,g,v,B=t.target,w=t.global,m=t.stat,y=t.proto,b=w?r:m?r[B]:(r[B]||{}).prototype,x=w?o:o[B]||(o[B]={}),C=x.prototype;for(f in e)A=!i(w?f:B+(m?".":"#")+f,t.forced)&&b&&u(b,f),p=x[f],A&&(d=t.noTargetGet?(v=n(b,f))&&v.value:b[f]),h=A&&d?d:e[f],A&&typeof p==typeof h||(g=t.bind&&A?a(h,r):t.wrap&&A?c(h):y&&"function"==typeof h?a(Function.call,h):h,(t.sham||h&&h.sham||p&&p.sham)&&s(g,"sham",!0),x[f]=g,y&&(u(o,l=B+"Prototype")||s(o,l,{}),o[l][f]=h,t.real&&C&&!C[f]&&s(C,f,h)))}})),A.register("hFqBl",(function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()})),A.register("8oJBm",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("fZXRi"),o=A("5OB7s"),a=A("gvuXN"),s=A("e1pH8"),u=A("4JtvU"),c=A("aOL02"),l=A("9Kq0d"),f=Object.getOwnPropertyDescriptor;n=i?f:function(t,e){if(t=s(t),e=u(e,!0),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!o.f.call(t,e),t[e])}})),A.register("fZXRi",(function(t,e){var r=A("2pV9O");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),A.register("2pV9O",(function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}})),A.register("5OB7s",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,o=A&&!i.call({1:2},1);n=o?function(t){var e=A(this,t);return!!e&&e.enumerable}:i})),A.register("gvuXN",(function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}})),A.register("e1pH8",(function(t,e){var r=A("3gvVg"),n=A("afG1u");t.exports=function(t){return r(n(t))}})),A.register("3gvVg",(function(t,e){var r=A("2pV9O"),n=A("7hecC"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==n(t)?i.call(t,""):Object(t)}:Object})),A.register("7hecC",(function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}})),A.register("afG1u",(function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}})),A.register("4JtvU",(function(t,e){var r=A("4iMo0");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}})),A.register("4iMo0",(function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}})),A.register("aOL02",(function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}})),A.register("9Kq0d",(function(t,e){var r=A("fZXRi"),n=A("2pV9O"),i=A("3VC7w");t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),A.register("3VC7w",(function(t,e){var r=A("hFqBl"),n=A("4iMo0"),i=r.document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}})),A.register("ltHYT",(function(t,e){var r=A("2pV9O"),n=/#|\.prototype\./,i=function(t,e){var n=a[o(t)];return n==u||n!=s&&("function"==typeof e?r(e):!!e)},o=i.normalize=function(t){return String(t).replace(n,".").toLowerCase()},a=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i})),A.register("k30YA",(function(t,e){t.exports={}})),A.register("eqgON",(function(t,e){var r=A("7Q6z8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}})),A.register("7Q6z8",(function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}})),A.register("4kZLz",(function(t,e){var r=A("fZXRi"),n=A("2Yzf9"),i=A("gvuXN");t.exports=r?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}})),A.register("2Yzf9",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("fZXRi"),o=A("9Kq0d"),a=A("lnVro"),s=A("4JtvU"),u=Object.defineProperty;n=i?u:function(t,e,r){if(a(t),e=s(e,!0),a(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}})),A.register("lnVro",(function(t,e){var r=A("4iMo0");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}})),A.register("dOY5U",(function(t,e){var r=A("2reXk"),n=Math.min;t.exports=function(t){return t>0?n(r(t),9007199254740991):0}})),A.register("2reXk",(function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}})),A.register("5rbg5",(function(t,e){var r=A("jdox4");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}})),A.register("jdox4",(function(t,e){var r=A("4iMo0"),n=A("7hecC"),i=A("kzVBD")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==n(t))}})),A.register("kzVBD",(function(t,e){var r=A("hFqBl"),n=A("dxYmH"),i=A("aOL02"),o=A("cswZ8"),a=A("mlfbp"),s=A("frwCG"),u=n("wks"),c=r.Symbol,l=s?c:c&&c.withoutSetter||o;t.exports=function(t){return i(u,t)&&(a||"string"==typeof u[t])||(a&&i(c,t)?u[t]=c[t]:u[t]=l("Symbol."+t)),u[t]}})),A.register("dxYmH",(function(t,e){var r=A("272tI"),n=A("imeEC");(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),A.register("272tI",(function(t,e){t.exports=!0})),A.register("imeEC",(function(t,e){var r=A("hFqBl"),n=A("hluVf"),i="__core-js_shared__",o=r[i]||n(i,{});t.exports=o})),A.register("hluVf",(function(t,e){var r=A("hFqBl"),n=A("4kZLz");t.exports=function(t,e){try{n(r,t,e)}catch(n){r[t]=e}return e}})),A.register("cswZ8",(function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}})),A.register("mlfbp",(function(t,e){var r=A("2O8ex"),n=A("giErv"),i=A("2pV9O");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===n:n>37&&n<41)}))})),A.register("2O8ex",(function(t,e){var r=A("7hecC"),n=A("hFqBl");t.exports="process"==r(n.process)})),A.register("giErv",(function(t,e){var r,n,i=A("hFqBl"),o=A("26EVz"),a=i.process,s=a&&a.versions,u=s&&s.v8;u?n=(r=u.split("."))[0]+r[1]:o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=r[1]),t.exports=n&&+n})),A.register("26EVz",(function(t,e){var r=A("1vWf3");t.exports=r("navigator","userAgent")||""})),A.register("1vWf3",(function(t,e){var r=A("k30YA"),n=A("hFqBl"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(n[t]):r[t]&&r[t][e]||n[t]&&n[t][e]}})),A.register("frwCG",(function(t,e){var r=A("mlfbp");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A.register("j3XkH",(function(t,e){var r=A("kzVBD")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}})),A.register("vGGUj",(function(t,e){var r=A("k30YA");t.exports=function(t){return r[t+"Prototype"]}})),A.register("f9eLA",(function(t,e){t.exports=A("ae34i")})),A.register("ae34i",(function(t,e){var r=A("dZW51");t.exports=r})),A.register("dZW51",(function(t,e){A("eYWXb");var r=A("k30YA");t.exports=r.parseFloat})),A.register("eYWXb",(function(t,e){var r=A("hCzcd"),n=A("lCcEN");r({global:!0,forced:parseFloat!=n},{parseFloat:n})})),A.register("lCcEN",(function(t,e){var r=A("hFqBl"),n=A("lIp87").trim,i=A("54wBr"),o=r.parseFloat,a=1/o(i+"-0")!=-1/0;t.exports=a?function(t){var e=n(String(t)),r=o(e);return 0===r&&"-"==e.charAt(0)?-0:r}:o})),A.register("lIp87",(function(t,e){var r=A("afG1u"),n="["+A("54wBr")+"]",i=RegExp("^"+n+n+"*"),o=RegExp(n+n+"*$"),a=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(o,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}})),A.register("54wBr",(function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"})),A.register("h44i0",(function(t,e){t.exports=A("dipqs")})),A.register("dipqs",(function(t,e){var r=A("7xDZX");t.exports=r})),A.register("7xDZX",(function(t,e){var r=A("gVf7r"),n=Array.prototype;t.exports=function(t){var e=t.map;return t===n||t instanceof Array&&e===n.map?r:e}})),A.register("gVf7r",(function(t,e){A("1daDi");var r=A("vGGUj");t.exports=r("Array").map})),A.register("1daDi",(function(t,e){"use strict";var r=A("hCzcd"),n=A("2EpMM").map;r({target:"Array",proto:!0,forced:!A("hp38t")("map")},{map:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("2EpMM",(function(t,e){var r=A("eqgON"),n=A("3gvVg"),i=A("6SzFJ"),o=A("dOY5U"),a=A("7NwmG"),s=[].push,u=function(t){var e=1==t,A=2==t,u=3==t,c=4==t,l=6==t,f=7==t,h=5==t||l;return function(p,d,g,v){for(var B,w,m=i(p),y=n(m),b=r(d,g,3),x=o(y.length),C=0,E=v||a,N=e?E(p,x):A||f?E(p,0):void 0;x>C;C++)if((h||C in y)&&(w=b(B=y[C],C,m),t))if(e)N[C]=w;else if(w)switch(t){case 3:return!0;case 5:return B;case 6:return C;case 2:s.call(N,B)}else switch(t){case 4:return!1;case 7:s.call(N,B)}return l?-1:u||c?c:N}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}})),A.register("6SzFJ",(function(t,e){var r=A("afG1u");t.exports=function(t){return Object(r(t))}})),A.register("7NwmG",(function(t,e){var r=A("4iMo0"),n=A("50UiZ"),i=A("kzVBD")("species");t.exports=function(t,e){var A;return n(t)&&("function"!=typeof(A=t.constructor)||A!==Array&&!n(A.prototype)?r(A)&&null===(A=A[i])&&(A=void 0):A=void 0),new(void 0===A?Array:A)(0===e?0:e)}})),A.register("50UiZ",(function(t,e){var r=A("7hecC");t.exports=Array.isArray||function(t){return"Array"==r(t)}})),A.register("hp38t",(function(t,e){var r=A("2pV9O"),n=A("kzVBD"),i=A("giErv"),o=n("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}})),A.register("3jBDN",(function(t,e){var r=A("knZhe"),n=A("ifc6a"),i=A("kdzEb"),o=A("c6R2t");t.exports=function(t,e){return r(t)||n(t,e)||i(t,e)||o()},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("knZhe",(function(t,e){var r=A("9OjTt");t.exports=function(t){if(r(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("9OjTt",(function(t,e){t.exports=A("aTIgp")})),A.register("aTIgp",(function(t,e){var r=A("YhFkO");t.exports=r})),A.register("YhFkO",(function(t,e){A("ljbSP");var r=A("k30YA");t.exports=r.Array.isArray})),A.register("ljbSP",(function(t,e){A("hCzcd")({target:"Array",stat:!0},{isArray:A("50UiZ")})})),A.register("ifc6a",(function(t,e){var r=A("czrgR"),n=A("FvYfz"),i=A("fKmQF");t.exports=function(t,e){if(void 0!==r&&n(Object(t))){var A=[],o=!0,a=!1,s=void 0;try{for(var u,c=i(t);!(o=(u=c.next()).done)&&(A.push(u.value),!e||A.length!==e);o=!0);}catch(t){a=!0,s=t}finally{try{o||null==c.return||c.return()}finally{if(a)throw s}}return A}},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("czrgR",(function(t,e){t.exports=A("8gAWD")})),A.register("8gAWD",(function(t,e){var r=A("91K9T");A("lHGGg"),A("8wtvK"),A("eGRv8"),A("c2XCP"),A("e7Mh3"),t.exports=r})),A.register("91K9T",(function(t,e){A("455kE"),A("97Mfv"),A("inB4G"),A("dqwaK"),A("3ggLP"),A("btuwF"),A("ctQuH"),A("jZ7Zk"),A("1RPCj"),A("93ULG"),A("lCFDW"),A("dTkbx"),A("aa7Lp"),A("2K5XU"),A("gOAab"),A("hoflw"),A("3tO05"),A("eSCN6"),A("7IyXS"),A("edfN4");var r=A("k30YA");t.exports=r.Symbol})),A.register("455kE",(function(t,e){"use strict";var r=A("hCzcd"),n=A("2pV9O"),i=A("50UiZ"),o=A("4iMo0"),a=A("6SzFJ"),s=A("dOY5U"),u=A("eBnQ5"),c=A("7NwmG"),l=A("hp38t"),f=A("kzVBD"),h=A("giErv"),p=f("isConcatSpreadable"),d=9007199254740991,g="Maximum allowed index exceeded",v=h>=51||!n((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),B=l("concat"),w=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!v||!B},{concat:function(t){var e,r,n,i,A,o=a(this),l=c(o,0),f=0;for(e=-1,n=arguments.length;ed)throw TypeError(g);for(r=0;r=d)throw TypeError(g);u(l,f++,A)}return l.length=f,l}})})),A.register("eBnQ5",(function(t,e){"use strict";var r=A("4JtvU"),n=A("2Yzf9"),i=A("gvuXN");t.exports=function(t,e,A){var o=r(e);o in t?n.f(t,o,i(0,A)):t[o]=A}})),A.register("97Mfv",(function(t,e){})),A.register("inB4G",(function(t,e){"use strict";var r=A("hCzcd"),n=A("hFqBl"),i=A("1vWf3"),o=A("272tI"),a=A("fZXRi"),s=A("mlfbp"),u=A("frwCG"),c=A("2pV9O"),l=A("aOL02"),f=A("50UiZ"),h=A("4iMo0"),p=A("lnVro"),d=A("6SzFJ"),g=A("e1pH8"),v=A("4JtvU"),B=A("gvuXN"),w=A("8kl3S"),m=A("3NRLM"),y=A("7LXl2"),b=A("4mE5b"),x=A("luTY8"),C=A("8oJBm"),E=A("2Yzf9"),N=A("5OB7s"),F=A("4kZLz"),Q=A("jjM1P"),U=A("dxYmH"),S=A("7rTOr"),L=A("5yvvB"),_=A("cswZ8"),H=A("kzVBD"),T=A("hgEw4"),I=A("AZRcw"),O=A("jvH8t"),P=A("7xaeC"),k=A("2EpMM").forEach,R=S("hidden"),M="Symbol",D="prototype",K=H("toPrimitive"),z=P.set,V=P.getterFor(M),j=Object[D],q=n.Symbol,X=i("JSON","stringify"),G=C.f,W=E.f,Y=b.f,J=N.f,Z=U("symbols"),$=U("op-symbols"),tt=U("string-to-symbol-registry"),et=U("symbol-to-string-registry"),rt=U("wks"),nt=n.QObject,it=!nt||!nt[D]||!nt[D].findChild,At=a&&c((function(){return 7!=w(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(j,e);n&&delete j[e],W(t,e,r),n&&t!==j&&W(j,e,n)}:W,ot=function(t,e){var r=Z[t]=w(q[D]);return z(r,{type:M,tag:t,description:e}),a||(r.description=e),r},at=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},st=function(t,e,r){t===j&&st($,e,r),p(t);var n=v(e,!0);return p(r),l(Z,n)?(r.enumerable?(l(t,R)&&t[R][n]&&(t[R][n]=!1),r=w(r,{enumerable:B(0,!1)})):(l(t,R)||W(t,R,B(1,{})),t[R][n]=!0),At(t,n,r)):W(t,n,r)},ut=function(t,e){p(t);var r=g(e),n=m(r).concat(ht(r));return k(n,(function(e){a&&!ct.call(r,e)||st(t,e,r[e])})),t},ct=function(t){var e=v(t,!0),r=J.call(this,e);return!(this===j&&l(Z,e)&&!l($,e))&&(!(r||!l(this,e)||!l(Z,e)||l(this,R)&&this[R][e])||r)},lt=function(t,e){var r=g(t),n=v(e,!0);if(r!==j||!l(Z,n)||l($,n)){var i=G(r,n);return!i||!l(Z,n)||l(r,R)&&r[R][n]||(i.enumerable=!0),i}},ft=function(t){var e=Y(g(t)),r=[];return k(e,(function(t){l(Z,t)||l(L,t)||r.push(t)})),r},ht=function(t){var e=t===j,r=Y(e?$:g(t)),n=[];return k(r,(function(t){!l(Z,t)||e&&!l(j,t)||n.push(Z[t])})),n};(s||(q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=_(t),r=function(t){this===j&&r.call($,t),l(this,R)&&l(this[R],e)&&(this[R][e]=!1),At(this,e,B(1,t))};return a&&it&&At(j,e,{configurable:!0,set:r}),ot(e,t)},Q(q[D],"toString",(function(){return V(this).tag})),Q(q,"withoutSetter",(function(t){return ot(_(t),t)})),N.f=ct,E.f=st,C.f=lt,y.f=b.f=ft,x.f=ht,T.f=function(t){return ot(H(t),t)},a&&(W(q[D],"description",{configurable:!0,get:function(){return V(this).description}}),o||Q(j,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:q}),k(m(rt),(function(t){I(t)})),r({target:M,stat:!0,forced:!s},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var r=q(e);return tt[e]=r,et[r]=e,r},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!a},{create:function(t,e){return void 0===e?w(t):ut(w(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:lt}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ft,getOwnPropertySymbols:ht}),r({target:"Object",stat:!0,forced:c((function(){x.f(1)}))},{getOwnPropertySymbols:function(t){return x.f(d(t))}}),X)&&r({target:"JSON",stat:!0,forced:!s||c((function(){var t=q();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],A=1;arguments.length>A;)i.push(arguments[A++]);if(n=e,(h(e)||void 0!==t)&&!at(t))return f(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!at(e))return e}),i[1]=e,X.apply(null,i)}});q[D][K]||F(q[D],K,q[D].valueOf),O(q,M),L[R]=!0})),A.register("8kl3S",(function(t,e){var r,n=A("lnVro"),i=A("3DCOC"),o=A("8DpkI"),a=A("5yvvB"),s=A("ag891"),u=A("3VC7w"),c=A("7rTOr"),l="prototype",f="script",h=c("IE_PROTO"),p=function(){},d=function(t){return"<"+f+">"+t+""},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,n;g=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):(e=u("iframe"),n="java"+f+":",e.style.display="none",s.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var i=o.length;i--;)delete g[l][o[i]];return g()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p[l]=n(t),r=new p,p[l]=null,r[h]=t):r=g(),void 0===e?r:i(r,e)}})),A.register("3DCOC",(function(t,e){var r=A("fZXRi"),n=A("2Yzf9"),i=A("lnVro"),o=A("3NRLM");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var r,A=o(e),a=A.length,s=0;a>s;)n.f(t,r=A[s++],e[r]);return t}})),A.register("3NRLM",(function(t,e){var r=A("all1C"),n=A("8DpkI");t.exports=Object.keys||function(t){return r(t,n)}})),A.register("all1C",(function(t,e){var r=A("aOL02"),n=A("e1pH8"),i=A("k4So3").indexOf,o=A("5yvvB");t.exports=function(t,e){var A,a=n(t),s=0,u=[];for(A in a)!r(o,A)&&r(a,A)&&u.push(A);for(;e.length>s;)r(a,A=e[s++])&&(~i(u,A)||u.push(A));return u}})),A.register("k4So3",(function(t,e){var r=A("e1pH8"),n=A("dOY5U"),i=A("4Ulxs"),o=function(t){return function(e,A,o){var a,s=r(e),u=n(s.length),c=i(o,u);if(t&&A!=A){for(;u>c;)if((a=s[c++])!=a)return!0}else for(;u>c;c++)if((t||c in s)&&s[c]===A)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),A.register("4Ulxs",(function(t,e){var r=A("2reXk"),n=Math.max,i=Math.min;t.exports=function(t,e){var A=r(t);return A<0?n(A+e,0):i(A,e)}})),A.register("5yvvB",(function(t,e){t.exports={}})),A.register("8DpkI",(function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),A.register("ag891",(function(t,e){var r=A("1vWf3");t.exports=r("document","documentElement")})),A.register("7rTOr",(function(t,e){var r=A("dxYmH"),n=A("cswZ8"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=n(t))}})),A.register("7LXl2",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("all1C"),o=A("8DpkI").concat("length","prototype");n=Object.getOwnPropertyNames||function(t){return i(t,o)}})),A.register("4mE5b",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("e1pH8"),o=A("7LXl2").f,a={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n=function(t){return s&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return s.slice()}}(t):o(i(t))}})),A.register("luTY8",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t)),n=Object.getOwnPropertySymbols})),A.register("jjM1P",(function(t,e){var r=A("4kZLz");t.exports=function(t,e,n,i){i&&i.enumerable?t[e]=n:r(t,e,n)}})),A.register("hgEw4",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("kzVBD");n=i})),A.register("AZRcw",(function(t,e){var r=A("k30YA"),n=A("aOL02"),i=A("hgEw4"),o=A("2Yzf9").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});n(e,t)||o(e,t,{value:i.f(t)})}})),A.register("jvH8t",(function(t,e){var r=A("3Ajll"),n=A("2Yzf9").f,i=A("4kZLz"),o=A("aOL02"),a=A("4rfP4"),s=A("kzVBD")("toStringTag");t.exports=function(t,e,A,u){if(t){var c=A?t:t.prototype;o(c,s)||n(c,s,{configurable:!0,value:e}),u&&!r&&i(c,"toString",a)}}})),A.register("3Ajll",(function(t,e){var r={};r[A("kzVBD")("toStringTag")]="z",t.exports="[object z]"===String(r)})),A.register("4rfP4",(function(t,e){"use strict";var r=A("3Ajll"),n=A("grdQE");t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}})),A.register("grdQE",(function(t,e){var r=A("3Ajll"),n=A("7hecC"),i=A("kzVBD")("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=r?n:function(t){var e,r,A;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:o?n(e):"Object"==(A=n(e))&&"function"==typeof e.callee?"Arguments":A}})),A.register("7xaeC",(function(t,e){var r,n,i,o=A("cqBLM"),a=A("hFqBl"),s=A("4iMo0"),u=A("4kZLz"),c=A("aOL02"),l=A("imeEC"),f=A("7rTOr"),h=A("5yvvB"),p=a.WeakMap;if(o){var d=l.state||(l.state=new p),g=d.get,v=d.has,B=d.set;r=function(t,e){return e.facade=t,B.call(d,t,e),e},n=function(t){return g.call(d,t)||{}},i=function(t){return v.call(d,t)}}else{var w=f("state");h[w]=!0,r=function(t,e){return e.facade=t,u(t,w,e),e},n=function(t){return c(t,w)?t[w]:{}},i=function(t){return c(t,w)}}t.exports={set:r,get:n,has:i,enforce:function(t){return i(t)?n(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=n(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}})),A.register("cqBLM",(function(t,e){var r=A("hFqBl"),n=A("6Hfke"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(n(i))})),A.register("6Hfke",(function(t,e){var r=A("imeEC"),n=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return n.call(t)}),t.exports=r.inspectSource})),A.register("dqwaK",(function(t,e){A("AZRcw")("asyncIterator")})),A.register("3ggLP",(function(t,e){})),A.register("btuwF",(function(t,e){A("AZRcw")("hasInstance")})),A.register("ctQuH",(function(t,e){A("AZRcw")("isConcatSpreadable")})),A.register("jZ7Zk",(function(t,e){A("AZRcw")("iterator")})),A.register("1RPCj",(function(t,e){A("AZRcw")("match")})),A.register("93ULG",(function(t,e){A("AZRcw")("matchAll")})),A.register("lCFDW",(function(t,e){A("AZRcw")("replace")})),A.register("dTkbx",(function(t,e){A("AZRcw")("search")})),A.register("aa7Lp",(function(t,e){A("AZRcw")("species")})),A.register("2K5XU",(function(t,e){A("AZRcw")("split")})),A.register("gOAab",(function(t,e){A("AZRcw")("toPrimitive")})),A.register("hoflw",(function(t,e){A("AZRcw")("toStringTag")})),A.register("3tO05",(function(t,e){A("AZRcw")("unscopables")})),A.register("eSCN6",(function(t,e){var r=A("hFqBl");A("jvH8t")(r.JSON,"JSON",!0)})),A.register("7IyXS",(function(t,e){})),A.register("edfN4",(function(t,e){})),A.register("lHGGg",(function(t,e){A("AZRcw")("asyncDispose")})),A.register("8wtvK",(function(t,e){A("AZRcw")("dispose")})),A.register("eGRv8",(function(t,e){A("AZRcw")("observable")})),A.register("c2XCP",(function(t,e){A("AZRcw")("patternMatch")})),A.register("e7Mh3",(function(t,e){A("AZRcw")("replaceAll")})),A.register("FvYfz",(function(t,e){t.exports=A("3bQKC")})),A.register("3bQKC",(function(t,e){A("ky8US"),A("28Myb");var r=A("6w5iz");t.exports=r})),A.register("ky8US",(function(t,e){A("jDHi0");var r=A("2nagA"),n=A("hFqBl"),i=A("grdQE"),o=A("4kZLz"),a=A("ksiuD"),s=A("kzVBD")("toStringTag");for(var u in r){var c=n[u],l=c&&c.prototype;l&&i(l)!==s&&o(l,s,u),a[u]=a.Array}})),A.register("jDHi0",(function(t,e){"use strict";var r=A("e1pH8"),n=A("1ieRV"),i=A("ksiuD"),o=A("7xaeC"),a=A("53hUC"),s="Array Iterator",u=o.set,c=o.getterFor(s);t.exports=a(Array,"Array",(function(t,e){u(this,{type:s,target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")})),A.register("1ieRV",(function(t,e){t.exports=function(){}})),A.register("ksiuD",(function(t,e){t.exports={}})),A.register("53hUC",(function(t,e){"use strict";var r=A("hCzcd"),n=A("2fC32"),i=A("gOmim"),o=A("dgJPD"),a=A("jvH8t"),s=A("4kZLz"),u=A("jjM1P"),c=A("kzVBD"),l=A("272tI"),f=A("ksiuD"),h=A("lM3Rj"),p=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",B="values",w="entries",m=function(){return this};t.exports=function(t,e,A,c,h,y,b){n(A,e,c);var x,C,E,N=function(t){if(t===h&&L)return L;if(!d&&t in U)return U[t];switch(t){case v:case B:case w:return function(){return new A(this,t)}}return function(){return new A(this)}},F=e+" Iterator",Q=!1,U=t.prototype,S=U[g]||U["@@iterator"]||h&&U[h],L=!d&&S||N(h),_="Array"==e&&U.entries||S;if(_&&(x=i(_.call(new t)),p!==Object.prototype&&x.next&&(l||i(x)===p||(o?o(x,p):"function"!=typeof x[g]&&s(x,g,m)),a(x,F,!0,!0),l&&(f[F]=m))),h==B&&S&&S.name!==B&&(Q=!0,L=function(){return S.call(this)}),l&&!b||U[g]===L||s(U,g,L),f[e]=L,h)if(C={values:N(B),keys:y?L:N(v),entries:N(w)},b)for(E in C)(d||Q||!(E in U))&&u(U,E,C[E]);else r({target:e,proto:!0,forced:d||Q},C);return C}})),A.register("2fC32",(function(t,e){"use strict";var r=A("lM3Rj").IteratorPrototype,n=A("8kl3S"),i=A("gvuXN"),o=A("jvH8t"),a=A("ksiuD"),s=function(){return this};t.exports=function(t,e,A){var u=e+" Iterator";return t.prototype=n(r,{next:i(1,A)}),o(t,u,!1,!0),a[u]=s,t}})),A.register("lM3Rj",(function(t,e){"use strict";var r,n,i,o=A("2pV9O"),a=A("gOmim"),s=A("4kZLz"),u=A("aOL02"),c=A("kzVBD"),l=A("272tI"),f=c("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(n=a(a(i)))!==Object.prototype&&(r=n):h=!0);var p=null==r||o((function(){var t={};return r[f].call(t)!==t}));p&&(r={}),l&&!p||u(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}})),A.register("gOmim",(function(t,e){var r=A("aOL02"),n=A("6SzFJ"),i=A("7rTOr"),o=A("kujYL"),a=i("IE_PROTO"),s=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=n(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}})),A.register("kujYL",(function(t,e){var r=A("2pV9O");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))})),A.register("dgJPD",(function(t,e){var r=A("lnVro"),n=A("1koe8");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,A){return r(i),n(A),e?t.call(i,A):i.__proto__=A,i}}():void 0)})),A.register("1koe8",(function(t,e){var r=A("4iMo0");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}})),A.register("2nagA",(function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),A.register("28Myb",(function(t,e){"use strict";var r=A("ect7n").charAt,n=A("7xaeC"),i=A("53hUC"),o="String Iterator",a=n.set,s=n.getterFor(o);i(String,"String",(function(t){a(this,{type:o,string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))})),A.register("ect7n",(function(t,e){var r=A("2reXk"),n=A("afG1u"),i=function(t){return function(e,i){var A,o,a=String(n(e)),s=r(i),u=a.length;return s<0||s>=u?t?"":void 0:(A=a.charCodeAt(s))<55296||A>56319||s+1===u||(o=a.charCodeAt(s+1))<56320||o>57343?t?a.charAt(s):A:t?a.slice(s,s+2):o-56320+(A-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}})),A.register("6w5iz",(function(t,e){var r=A("grdQE"),n=A("kzVBD"),i=A("ksiuD"),o=n("iterator");t.exports=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}})),A.register("fKmQF",(function(t,e){t.exports=A("jIWpI")})),A.register("jIWpI",(function(t,e){A("ky8US"),A("28Myb");var r=A("3lFi1");t.exports=r})),A.register("3lFi1",(function(t,e){var r=A("lnVro"),n=A("hYFk0");t.exports=function(t){var e=n(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}})),A.register("hYFk0",(function(t,e){var r=A("grdQE"),n=A("ksiuD"),i=A("kzVBD")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||n[r(t)]}})),A.register("kdzEb",(function(t,e){var r=A("ezCpD"),n=A("aCJrA"),i=A("7B6Ga");t.exports=function(t,e){var A;if(t){if("string"==typeof t)return i(t,e);var o=r(A=Object.prototype.toString.call(t)).call(A,8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?n(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("ezCpD",(function(t,e){t.exports=A("g8j6d")})),A.register("g8j6d",(function(t,e){var r=A("9vW1a");t.exports=r})),A.register("9vW1a",(function(t,e){var r=A("cTg9U"),n=Array.prototype;t.exports=function(t){var e=t.slice;return t===n||t instanceof Array&&e===n.slice?r:e}})),A.register("cTg9U",(function(t,e){A("84t5M");var r=A("vGGUj");t.exports=r("Array").slice})),A.register("84t5M",(function(t,e){"use strict";var r=A("hCzcd"),n=A("4iMo0"),i=A("50UiZ"),o=A("4Ulxs"),a=A("dOY5U"),s=A("e1pH8"),u=A("eBnQ5"),c=A("kzVBD"),l=A("hp38t")("slice"),f=c("species"),h=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var r,A,c,l=s(this),d=a(l.length),g=o(t,d),v=o(void 0===e?d:e,d);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return h.call(l,g,v);for(A=new(void 0===r?Array:r)(p(v-g,0)),c=0;g1?arguments[1]:void 0,B=void 0!==v,w=u(p),m=0;if(B&&(v=r(v,g>2?arguments[2]:void 0,2)),null==w||d==Array&&o(w))for(A=new d(e=a(p.length));e>m;m++)h=B?v(p[m],m):p[m],s(A,m,h);else for(f=(l=w.call(p)).next,A=new d;!(c=f.call(l)).done;m++)h=B?i(l,v,[c.value,m],!0):c.value,s(A,m,h);return A.length=m,A}})),A.register("ghK1N",(function(t,e){var r=A("lnVro"),n=A("3jasN");t.exports=function(t,e,i,A){try{return A?e(r(i)[0],i[1]):e(i)}catch(e){throw n(t),e}}})),A.register("3jasN",(function(t,e){var r=A("lnVro");t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}})),A.register("eF0dE",(function(t,e){var r=A("kzVBD"),n=A("ksiuD"),i=r("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}})),A.register("8vCwX",(function(t,e){var r=A("kzVBD")("iterator"),n=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){n=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!n)return!1;var i=!1;try{var A={};A[r]=function(){return{next:function(){return{done:i=!0}}}},t(A)}catch(t){}return i}})),A.register("7B6Ga",(function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rl;)void 0!==(r=A(n,e=u[l++]))&&s(c,e,r);return c}})})),A.register("9xWVN",(function(t,e){var r=A("1vWf3"),n=A("7LXl2"),i=A("luTY8"),o=A("lnVro");t.exports=r("Reflect","ownKeys")||function(t){var e=n.f(o(t)),r=i.f;return r?e.concat(r(t)):e}})),A.register("b1j2V",(function(t,e){t.exports=A("2boWg")})),A.register("2boWg",(function(t,e){A("ky8US");var r=A("kSkjJ"),n=A("grdQE"),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===i||t instanceof Array&&e===i.forEach||o.hasOwnProperty(n(t))?r:e}})),A.register("kSkjJ",(function(t,e){var r=A("8UuSl");t.exports=r})),A.register("8UuSl",(function(t,e){A("kHTYY");var r=A("vGGUj");t.exports=r("Array").forEach})),A.register("kHTYY",(function(t,e){"use strict";var r=A("hCzcd"),n=A("1xfTZ");r({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})})),A.register("1xfTZ",(function(t,e){"use strict";var r=A("2EpMM").forEach,n=A("6D67v")("forEach");t.exports=n?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})),A.register("6D67v",(function(t,e){"use strict";var r=A("2pV9O");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}})),A.register("4kqGh",(function(t,e){t.exports=A("euAcA")})),A.register("euAcA",(function(t,e){var r=A("gLnZS");t.exports=r})),A.register("gLnZS",(function(t,e){A("fNBzs");var r=A("k30YA").Object,n=t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)};r.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),A.register("fNBzs",(function(t,e){var r=A("hCzcd"),n=A("2pV9O"),i=A("e1pH8"),o=A("8oJBm").f,a=A("fZXRi"),s=n((function(){o(1)}));r({target:"Object",stat:!0,forced:!a||s,sham:!a},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})})),A.register("c1ecJ",(function(t,e){t.exports=A("2JQb2")})),A.register("2JQb2",(function(t,e){var r=A("jbgDi");t.exports=r})),A.register("jbgDi",(function(t,e){var r=A("hhKlO"),n=Array.prototype;t.exports=function(t){var e=t.filter;return t===n||t instanceof Array&&e===n.filter?r:e}})),A.register("hhKlO",(function(t,e){A("cCMnB");var r=A("vGGUj");t.exports=r("Array").filter})),A.register("cCMnB",(function(t,e){"use strict";var r=A("hCzcd"),n=A("2EpMM").filter;r({target:"Array",proto:!0,forced:!A("hp38t")("filter")},{filter:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("a9BK4",(function(t,e){t.exports=A("dUJtX")})),A.register("dUJtX",(function(t,e){var r=A("47bak");t.exports=r})),A.register("47bak",(function(t,e){A("inB4G");var r=A("k30YA");t.exports=r.Object.getOwnPropertySymbols})),A.register("kR5TX",(function(t,e){t.exports=A("gC9LM")})),A.register("gC9LM",(function(t,e){var r=A("7wY4q");t.exports=r})),A.register("7wY4q",(function(t,e){A("lACxe");var r=A("k30YA");t.exports=r.Object.keys})),A.register("lACxe",(function(t,e){var r=A("hCzcd"),n=A("6SzFJ"),i=A("3NRLM");r({target:"Object",stat:!0,forced:A("2pV9O")((function(){i(1)}))},{keys:function(t){return i(n(t))}})})),A.register("eWKWJ",(function(t,e){t.exports=A("kdPDQ")})),A.register("kdPDQ",(function(t,e){var r=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},A=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,A=Object.create(i.prototype),o=new Q(n||[]);return A._invoke=function(t,e,r){var n=l;return function(i,A){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw A;return S()}for(r.method=i,r.arg=A;;){var o=r.delegate;if(o){var a=E(o,r);if(a){if(a===d)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var s=c(t,e,r);if("normal"===s.type){if(n=r.done?p:f,s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=p,r.method="throw",r.arg=s.arg)}}}(t,r,o),A}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",h="executing",p="completed",d={};function g(){}function v(){}function B(){}var w={};w[A]=function(){return this};var m=Object.getPrototypeOf,y=m&&m(m(U([])));y&&y!==r&&n.call(y,A)&&(w=y);var b=B.prototype=g.prototype=Object.create(w);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function r(i,A,o,a){var s=c(t[i],t,A);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,a)}),(function(t){r("throw",t,o,a)})):e.resolve(l).then((function(t){u.value=t,o(u)}),(function(t){return r("throw",t,o,a)}))}a(s.arg)}var i;this._invoke=function(t,n){function A(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(A,A):A()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=c(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var A=i.arg;return A?A.done?(r[t.resultName]=A.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):A:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function F(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function U(t){if(t){var r=t[A];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i=0;--A){var o=this.tryEntries[A],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),F(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;F(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:U(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}})),A.register("4lSYb",(function(t,e){var r=A("hqKGp");function n(t,e,n,i,A,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):r.resolve(u).then(i,A)}t.exports=function(t){return function(){var e=this,i=arguments;return new r((function(r,A){var o=t.apply(e,i);function a(t){n(o,r,A,a,s,"next",t)}function s(t){n(o,r,A,a,s,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("hqKGp",(function(t,e){t.exports=A("4dFmj")})),A.register("4dFmj",(function(t,e){var r=A("eDhW6");A("e0ceX"),A("iumFE"),A("dY9T4"),A("l4Qt7"),t.exports=r})),A.register("eDhW6",(function(t,e){A("73I2k"),A("97Mfv"),A("2BshC"),A("eCZ4g"),A("l2FJu"),A("hciTV"),A("28Myb"),A("ky8US");var r=A("k30YA");t.exports=r.Promise})),A.register("73I2k",(function(t,e){"use strict";var r=A("hCzcd"),n=A("gOmim"),i=A("dgJPD"),o=A("8kl3S"),a=A("4kZLz"),s=A("gvuXN"),u=A("8uz5e"),c=function(t,e){var r=this;if(!(r instanceof c))return new c(t,e);i&&(r=i(new Error(void 0),n(r))),void 0!==e&&a(r,"message",String(e));var A=[];return u(t,A.push,{that:A}),a(r,"errors",A),r};c.prototype=o(Error.prototype,{constructor:s(5,c),message:s(5,""),name:s(5,"AggregateError")}),r({global:!0},{AggregateError:c})})),A.register("8uz5e",(function(t,e){var r=A("lnVro"),n=A("eF0dE"),i=A("dOY5U"),o=A("eqgON"),a=A("hYFk0"),s=A("3jasN"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,A){var c,l,f,h,p,d,g,v=A&&A.that,B=!(!A||!A.AS_ENTRIES),w=!(!A||!A.IS_ITERATOR),m=!(!A||!A.INTERRUPTED),y=o(e,v,1+B+m),b=function(t){return c&&s(c),new u(!0,t)},x=function(t){return B?(r(t),m?y(t[0],t[1],b):y(t[0],t[1])):m?y(t,b):y(t)};if(w)c=t;else{if("function"!=typeof(l=a(t)))throw TypeError("Target is not iterable");if(n(l)){for(f=0,h=i(t.length);h>f;f++)if((p=x(t[f]))&&p instanceof u)return p;return new u(!1)}c=l.call(t)}for(d=c.next;!(g=d.call(c)).done;){try{p=x(g.value)}catch(t){throw s(c),t}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}})),A.register("2BshC",(function(t,e){"use strict";var r,n,i,o,a=A("hCzcd"),s=A("272tI"),u=A("hFqBl"),c=A("1vWf3"),l=A("3XARz"),f=A("jjM1P"),h=A("jBsvY"),p=A("jvH8t"),d=A("3S5gG"),g=A("4iMo0"),v=A("7Q6z8"),B=A("hJS6s"),w=A("6Hfke"),m=A("8uz5e"),y=A("8vCwX"),b=A("4gRqP"),x=A("ccqRK").set,C=A("lFoj9"),E=A("3wCuJ"),N=A("2xQ8y"),F=A("5mw2J"),Q=A("jUjps"),U=A("7xaeC"),S=A("ltHYT"),L=A("kzVBD"),_=A("2O8ex"),H=A("giErv"),T=L("species"),I="Promise",O=U.get,P=U.set,k=U.getterFor(I),R=l,M=u.TypeError,D=u.document,K=u.process,z=c("fetch"),V=F.f,j=V,q=!!(D&&D.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,G="unhandledrejection",W=S(I,(function(){if(!(w(R)!==String(R))){if(66===H)return!0;if(!_&&!X)return!0}if(s&&!R.prototype.finally)return!0;if(H>=51&&/native code/.test(R))return!1;var t=R.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[T]=e,!(t.then((function(){}))instanceof e)})),Y=W||!y((function(t){R.all(t).catch((function(){}))})),J=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Z=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;C((function(){for(var n=t.value,i=1==t.state,A=0;r.length>A;){var o,a,s,u=r[A++],c=i?u.ok:u.fail,l=u.resolve,f=u.reject,h=u.domain;try{c?(i||(2===t.rejection&&rt(t),t.rejection=1),!0===c?o=n:(h&&h.enter(),o=c(n),h&&(h.exit(),s=!0)),o===u.promise?f(M("Promise-chain cycle")):(a=J(o))?a.call(o,l,f):l(o)):f(n)}catch(t){h&&!s&&h.exit(),f(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&tt(t)}))}},$=function(t,e,r){var n,i;q?((n=D.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!X&&(i=u["on"+t])?i(n):t===G&&N("Unhandled promise rejection",r)},tt=function(t){x.call(u,(function(){var e,r=t.facade,n=t.value;if(et(t)&&(e=Q((function(){_?K.emit("unhandledRejection",n,r):$(G,r,n)})),t.rejection=_||et(t)?2:1,e.error))throw e.value}))},et=function(t){return 1!==t.rejection&&!t.parent},rt=function(t){x.call(u,(function(){var e=t.facade;_?K.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},nt=function(t,e,r){return function(n){t(e,n,r)}},it=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Z(t,!0))},At=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw M("Promise can't be resolved itself");var n=J(e);n?C((function(){var r={done:!1};try{n.call(e,nt(At,r,t),nt(it,r,t))}catch(e){it(r,e,t)}})):(t.value=e,t.state=1,Z(t,!1))}catch(e){it({done:!1},e,t)}}};W&&(R=function(t){B(this,R,I),v(t),r.call(this);var e=O(this);try{t(nt(At,e),nt(it,e))}catch(t){it(e,t)}},(r=function(t){P(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(R.prototype,{then:function(t,e){var r=k(this),n=V(b(this,R));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=_?K.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),n=function(){var t=new r,e=O(t);this.promise=t,this.resolve=nt(At,e),this.reject=nt(it,e)},F.f=V=function(t){return t===R||t===i?new n(t):j(t)},s||"function"!=typeof l||(o=l.prototype.then,f(l.prototype,"then",(function(t,e){var r=this;return new R((function(t,e){o.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof z&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(R,z.apply(u,arguments))}}))),a({global:!0,wrap:!0,forced:W},{Promise:R}),p(R,I,!1,!0),d(I),i=c(I),a({target:I,stat:!0,forced:W},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:I,stat:!0,forced:s||W},{resolve:function(t){return E(s&&this===i?R:this,t)}}),a({target:I,stat:!0,forced:Y},{all:function(t){var e=this,r=V(e),n=r.resolve,i=r.reject,A=Q((function(){var r=v(e.resolve),A=[],o=0,a=1;m(t,(function(t){var s=o++,u=!1;A.push(void 0),a++,r.call(e,t).then((function(t){u||(u=!0,A[s]=t,--a||n(A))}),i)})),--a||n(A)}));return A.error&&i(A.value),r.promise},race:function(t){var e=this,r=V(e),n=r.reject,i=Q((function(){var i=v(e.resolve);m(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})})),A.register("3XARz",(function(t,e){var r=A("hFqBl");t.exports=r.Promise})),A.register("jBsvY",(function(t,e){var r=A("jjM1P");t.exports=function(t,e,n){for(var i in e)n&&n.unsafe&&t[i]?t[i]=e[i]:r(t,i,e[i],n);return t}})),A.register("3S5gG",(function(t,e){"use strict";var r=A("1vWf3"),n=A("2Yzf9"),i=A("kzVBD"),o=A("fZXRi"),a=i("species");t.exports=function(t){var e=r(t),i=n.f;o&&e&&!e[a]&&i(e,a,{configurable:!0,get:function(){return this}})}})),A.register("hJS6s",(function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}})),A.register("4gRqP",(function(t,e){var r=A("lnVro"),n=A("7Q6z8"),i=A("kzVBD")("species");t.exports=function(t,e){var A,o=r(t).constructor;return void 0===o||null==(A=r(o)[i])?e:n(A)}})),A.register("ccqRK",(function(t,e){var r,n,i,o=A("hFqBl"),a=A("2pV9O"),s=A("eqgON"),u=A("ag891"),c=A("3VC7w"),l=A("5i4Hh"),f=A("2O8ex"),h=o.location,p=o.setImmediate,d=o.clearImmediate,g=o.process,v=o.MessageChannel,B=o.Dispatch,w=0,m={},y="onreadystatechange",b=function(t){if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){return function(){b(t)}},C=function(t){b(t.data)},E=function(t){o.postMessage(t+"",h.protocol+"//"+h.host)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++w]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(w),w},d=function(t){delete m[t]},f?r=function(t){g.nextTick(x(t))}:B&&B.now?r=function(t){B.now(x(t))}:v&&!l?(i=(n=new v).port2,n.port1.onmessage=C,r=s(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&h&&"file:"!==h.protocol&&!a(E)?(r=E,o.addEventListener("message",C,!1)):r=y in c("script")?function(t){u.appendChild(c("script"))[y]=function(){u.removeChild(this),b(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:p,clear:d}})),A.register("5i4Hh",(function(t,e){var r=A("26EVz");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)})),A.register("lFoj9",(function(t,e){var r,n,i,o,a,s,u,c,l=A("hFqBl"),f=A("8oJBm").f,h=A("ccqRK").set,p=A("5i4Hh"),d=A("dzzI7"),g=A("2O8ex"),v=l.MutationObserver||l.WebKitMutationObserver,B=l.document,w=l.process,m=l.Promise,y=f(l,"queueMicrotask"),b=y&&y.value;b||(r=function(){var t,e;for(g&&(t=w.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?o():i=void 0,t}}i=void 0,t&&t.enter()},p||g||d||!v||!B?m&&m.resolve?(u=m.resolve(void 0),c=u.then,o=function(){c.call(u,r)}):o=g?function(){w.nextTick(r)}:function(){h.call(l,r)}:(a=!0,s=B.createTextNode(""),new v(r).observe(s,{characterData:!0}),o=function(){s.data=a=!a})),t.exports=b||function(t){var e={fn:t,next:void 0};i&&(i.next=e),n||(n=e,o()),i=e}})),A.register("dzzI7",(function(t,e){var r=A("26EVz");t.exports=/web0s(?!.*chrome)/i.test(r)})),A.register("3wCuJ",(function(t,e){var r=A("lnVro"),n=A("4iMo0"),i=A("5mw2J");t.exports=function(t,e){if(r(t),n(e)&&e.constructor===t)return e;var A=i.f(t);return(0,A.resolve)(e),A.promise}})),A.register("5mw2J",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("7Q6z8"),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=i(e),this.reject=i(r)};n=function(t){return new o(t)}})),A.register("2xQ8y",(function(t,e){var r=A("hFqBl");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}})),A.register("jUjps",(function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}})),A.register("eCZ4g",(function(t,e){"use strict";var r=A("hCzcd"),n=A("7Q6z8"),i=A("5mw2J"),o=A("jUjps"),a=A("8uz5e");r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=i.f(e),A=r.resolve,s=r.reject,u=o((function(){var r=n(e.resolve),i=[],o=0,s=1;a(t,(function(t){var n=o++,a=!1;i.push(void 0),s++,r.call(e,t).then((function(t){a||(a=!0,i[n]={status:"fulfilled",value:t},--s||A(i))}),(function(t){a||(a=!0,i[n]={status:"rejected",reason:t},--s||A(i))}))})),--s||A(i)}));return u.error&&s(u.value),r.promise}})})),A.register("l2FJu",(function(t,e){"use strict";var r=A("hCzcd"),n=A("7Q6z8"),i=A("1vWf3"),o=A("5mw2J"),a=A("jUjps"),s=A("8uz5e"),u="No one promise resolved";r({target:"Promise",stat:!0},{any:function(t){var e=this,r=o.f(e),A=r.resolve,c=r.reject,l=a((function(){var r=n(e.resolve),o=[],a=0,l=1,f=!1;s(t,(function(t){var n=a++,s=!1;o.push(void 0),l++,r.call(e,t).then((function(t){s||f||(f=!0,A(t))}),(function(t){s||f||(s=!0,o[n]=t,--l||c(new(i("AggregateError"))(o,u)))}))})),--l||c(new(i("AggregateError"))(o,u))}));return l.error&&c(l.value),r.promise}})})),A.register("hciTV",(function(t,e){"use strict";var r=A("hCzcd"),n=A("272tI"),i=A("3XARz"),o=A("2pV9O"),a=A("1vWf3"),s=A("4gRqP"),u=A("3wCuJ"),c=A("jjM1P");r({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,a("Promise")),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then((function(){return r}))}:t,r?function(r){return u(e,t()).then((function(){throw r}))}:t)}}),n||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",a("Promise").prototype.finally)})),A.register("e0ceX",(function(t,e){A("73I2k")})),A.register("iumFE",(function(t,e){A("eCZ4g")})),A.register("dY9T4",(function(t,e){"use strict";var r=A("hCzcd"),n=A("5mw2J"),i=A("jUjps");r({target:"Promise",stat:!0},{try:function(t){var e=n.f(this),r=i(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}})})),A.register("l4Qt7",(function(t,e){A("l2FJu")})),A.register("3SdRi",(function(t,e){var r=A("l4SpN");t.exports=function(t,e,n){return e in t?r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("l4SpN",(function(t,e){t.exports=A("40439")})),A.register("40439",(function(t,e){var r=A("bFHcw");t.exports=r})),A.register("7mhKD",(function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("keKGA",(function(t,e){var r=A("l4SpN");function n(t,e){for(var n=0;n79&&o<83},{reduce:function(t){return n(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})})),A.register("uZE7i",(function(t,e){var r=A("7Q6z8"),n=A("6SzFJ"),i=A("3gvVg"),o=A("dOY5U"),a=function(t){return function(e,A,a,s){r(A);var u=n(e),c=i(u),l=o(u.length),f=t?l-1:0,h=t?-1:1;if(a<2)for(;;){if(f in c){s=c[f],f+=h;break}if(f+=h,t?f<0:l<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:l>f;f+=h)f in c&&(s=A(s,c[f],f,u));return s}};t.exports={left:a(!1),right:a(!0)}})),A.register("cCCvd",(function(t,e){t.exports=A("8V9fG")})),A.register("8V9fG",(function(t,e){var r=A("6oNRT");t.exports=r})),A.register("6oNRT",(function(t,e){A("aU3hm");var r=A("k30YA");t.exports=r.Date.now})),A.register("aU3hm",(function(t,e){A("hCzcd")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})})),A.register("3p2vv",(function(t,e){t.exports=A("gDm6M")})),A.register("gDm6M",(function(t,e){var r=A("8sPDu");t.exports=r})),A.register("8sPDu",(function(t,e){var r=A("9icmq"),n=Array.prototype;t.exports=function(t){var e=t.every;return t===n||t instanceof Array&&e===n.every?r:e}})),A.register("9icmq",(function(t,e){A("ak1yK");var r=A("vGGUj");t.exports=r("Array").every})),A.register("ak1yK",(function(t,e){"use strict";var r=A("hCzcd"),n=A("2EpMM").every;r({target:"Array",proto:!0,forced:!A("6D67v")("every")},{every:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("eAZcX",(function(t,e){t.exports=A("4PI7C")})),A.register("4PI7C",(function(t,e){var r=A("eDhW6");t.exports=r})),A.register("iTfeJ",(function(t,e){t.exports=A("1QZYU")})),A.register("1QZYU",(function(t,e){var r=A("12Y3F");t.exports=r})),A.register("12Y3F",(function(t,e){var r=A("jXeKz"),n=Function.prototype;t.exports=function(t){var e=t.bind;return t===n||t instanceof Function&&e===n.bind?r:e}})),A.register("jXeKz",(function(t,e){A("qHr7U");var r=A("vGGUj");t.exports=r("Function").bind})),A.register("qHr7U",(function(t,e){A("hCzcd")({target:"Function",proto:!0},{bind:A("aHJKr")})})),A.register("aHJKr",(function(t,e){"use strict";var r=A("7Q6z8"),n=A("4iMo0"),i=[].slice,o={};t.exports=Function.bind||function(t){var e=r(this),A=i.call(arguments,1),a=function(){var r=A.concat(i.call(arguments));return this instanceof a?function(t,e,r){if(!(e in o)){for(var n=[],i=0;i3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r},this.getHelpXML=function(){for(var t=new Array,n=0;n "+u.toRGB()+" -> "+u.toHex());s.appendChild(c),s.appendChild(l),a.appendChild(s)}catch(t){}return a}}})),A.register("2yYCs",(function(t,e){t.exports=A("bgZFp")})),A.register("bgZFp",(function(t,e){var r=A("6cUCu");t.exports=r})),A.register("6cUCu",(function(t,e){A("hB8J7");var r=A("k30YA");t.exports=r.Reflect.construct})),A.register("hB8J7",(function(t,e){var r=A("hCzcd"),n=A("1vWf3"),i=A("7Q6z8"),o=A("lnVro"),a=A("4iMo0"),s=A("8kl3S"),u=A("aHJKr"),c=A("2pV9O"),l=n("Reflect","construct"),f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))})),p=f||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){i(t),o(e);var r=arguments.length<3?t:i(arguments[2]);if(h&&!f)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(u.apply(t,n))}var A=r.prototype,c=s(a(A)?A:Object.prototype),p=Function.apply.call(t,c,e);return a(p)?p:c}})})),A.register("1KnN5",(function(t,e){var r=A("8S7Hq"),n=A("kw5He");t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=r(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("8S7Hq",(function(t,e){t.exports=A("ea6jR")})),A.register("ea6jR",(function(t,e){var r=A("1Lwwb");t.exports=r})),A.register("1Lwwb",(function(t,e){A("j4ROw");var r=A("k30YA").Object;t.exports=function(t,e){return r.create(t,e)}})),A.register("j4ROw",(function(t,e){A("hCzcd")({target:"Object",stat:!0,sham:!A("fZXRi")},{create:A("8kl3S")})})),A.register("kw5He",(function(t,e){var r=A("dH08p");function n(e,i){return t.exports=n=r||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e,i)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("dH08p",(function(t,e){t.exports=A("7ROgG")})),A.register("7ROgG",(function(t,e){var r=A("qwO1N");t.exports=r})),A.register("qwO1N",(function(t,e){A("5ySPE");var r=A("k30YA");t.exports=r.Object.setPrototypeOf})),A.register("5ySPE",(function(t,e){A("hCzcd")({target:"Object",stat:!0},{setPrototypeOf:A("dgJPD")})})),A.register("9uaPw",(function(t,e){var r=A("62W5i").default,n=A("dhOrS");t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?n(t):e},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("62W5i",(function(t,e){var r=A("czrgR"),n=A("75Fit");function i(e){return"function"==typeof r&&"symbol"==typeof n?(t.exports=i=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=i=function(t){return t&&"function"==typeof r&&t.constructor===r&&t!==r.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("75Fit",(function(t,e){t.exports=A("jIVqK")})),A.register("jIVqK",(function(t,e){var r=A("e4OfL");t.exports=r})),A.register("e4OfL",(function(t,e){A("jZ7Zk"),A("28Myb"),A("ky8US");var r=A("hgEw4");t.exports=r.f("iterator")})),A.register("dhOrS",(function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("b99BU",(function(t,e){var r=A("dH08p"),n=A("dVYiL");function i(e){return t.exports=i=r?n:function(t){return t.__proto__||n(t)},t.exports.default=t.exports,t.exports.__esModule=!0,i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("dVYiL",(function(t,e){t.exports=A("ceD57")})),A.register("ceD57",(function(t,e){var r=A("2wCfO");t.exports=r})),A.register("2wCfO",(function(t,e){A("a374d");var r=A("k30YA");t.exports=r.Object.getPrototypeOf})),A.register("a374d",(function(t,e){var r=A("hCzcd"),n=A("2pV9O"),i=A("6SzFJ"),o=A("gOmim"),a=A("kujYL");r({target:"Object",stat:!0,forced:n((function(){o(1)})),sham:!a},{getPrototypeOf:function(t){return o(i(t))}})})),A.register("iyzhb",(function(t,e){var r=A("aJLHh"),n=A("aK0xz"),i=A("kdzEb"),o=A("9uKOc");t.exports=function(t){return r(t)||n(t)||i(t)||o()},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("aJLHh",(function(t,e){var r=A("9OjTt"),n=A("7B6Ga");t.exports=function(t){if(r(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("aK0xz",(function(t,e){var r=A("czrgR"),n=A("FvYfz"),i=A("aCJrA");t.exports=function(t){if(void 0!==r&&n(Object(t)))return i(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("9uKOc",(function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("5XJuU",(function(t,e){t.exports=A("j4V80")})),A.register("j4V80",(function(t,e){var r=A("4FL6q");t.exports=r})),A.register("4FL6q",(function(t,e){var r=A("3Z7TE"),n=Array.prototype;t.exports=function(t){var e=t.some;return t===n||t instanceof Array&&e===n.some?r:e}})),A.register("3Z7TE",(function(t,e){A("5u4hg");var r=A("vGGUj");t.exports=r("Array").some})),A.register("5u4hg",(function(t,e){"use strict";var r=A("hCzcd"),n=A("2EpMM").some;r({target:"Array",proto:!0,forced:!A("6D67v")("some")},{some:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("48i9x",(function(t,e){t.exports=A("3VSsZ")})),A.register("3VSsZ",(function(t,e){var r=A("aiEHO");t.exports=r})),A.register("aiEHO",(function(t,e){var r=A("8BAVB"),n=A("a8flH"),i=Array.prototype,o=String.prototype;t.exports=function(t){var e=t.includes;return t===i||t instanceof Array&&e===i.includes?r:"string"==typeof t||t===o||t instanceof String&&e===o.includes?n:e}})),A.register("8BAVB",(function(t,e){A("9sk1T");var r=A("vGGUj");t.exports=r("Array").includes})),A.register("9sk1T",(function(t,e){"use strict";var r=A("hCzcd"),n=A("k4So3").includes,i=A("1ieRV");r({target:"Array",proto:!0},{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")})),A.register("a8flH",(function(t,e){A("hPN0d");var r=A("vGGUj");t.exports=r("String").includes})),A.register("hPN0d",(function(t,e){"use strict";var r=A("hCzcd"),n=A("5rbg5"),i=A("afG1u");r({target:"String",proto:!0,forced:!A("j3XkH")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(n(t),arguments.length>1?arguments[1]:void 0)}})})),A.register("loN9A",(function(t,e){t.exports=A("5oeFn")})),A.register("5oeFn",(function(t,e){var r=A("qYgx5");t.exports=r})),A.register("iGHXC",(function(t,e){t.exports=A("jVqIf")})),A.register("jVqIf",(function(t,e){var r=A("gBUMm");t.exports=r})),A.register("gBUMm",(function(t,e){var r=A("9xOvP"),n=Array.prototype;t.exports=function(t){var e=t.reverse;return t===n||t instanceof Array&&e===n.reverse?r:e}})),A.register("9xOvP",(function(t,e){A("2p2bk");var r=A("vGGUj");t.exports=r("Array").reverse})),A.register("2p2bk",(function(t,e){"use strict";var r=A("hCzcd"),n=A("50UiZ"),i=[].reverse,o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),i.call(this)}})})),A.register("4MhPS",(function(t,e){t.exports=A("1x9Mw")})),A.register("1x9Mw",(function(t,e){var r=A("53hRf");t.exports=r})),A.register("53hRf",(function(t,e){var r=A("4RCR7"),n=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===n||t instanceof Array&&e===n.indexOf?r:e}})),A.register("4RCR7",(function(t,e){A("2qmQ7");var r=A("vGGUj");t.exports=r("Array").indexOf})),A.register("2qmQ7",(function(t,e){"use strict";var r=A("hCzcd"),n=A("k4So3").indexOf,i=A("6D67v"),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0,s=i("indexOf");r({target:"Array",proto:!0,forced:a||!s},{indexOf:function(t){return a?o.apply(this,arguments)||0:n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("9zKBL",(function(t,e){var r=A("iOPHn"),n=A("fZFSs"),i=A("kYDZV");function o(e,A,a){return"undefined"!=typeof Reflect&&r?(t.exports=o=r,t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=o=function(t,e,r){var A=i(t,e);if(A){var o=n(A,e);return o.get?o.get.call(r):o.value}},t.exports.default=t.exports,t.exports.__esModule=!0),o(e,A,a||e)}t.exports=o,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("iOPHn",(function(t,e){t.exports=A("kW0PP")})),A.register("kW0PP",(function(t,e){var r=A("gWLfN");t.exports=r})),A.register("gWLfN",(function(t,e){A("3auwY");var r=A("k30YA");t.exports=r.Reflect.get})),A.register("3auwY",(function(t,e){var r=A("hCzcd"),n=A("4iMo0"),i=A("lnVro"),o=A("aOL02"),a=A("8oJBm"),s=A("gOmim");r({target:"Reflect",stat:!0},{get:function t(e,r){var A,u,c=arguments.length<3?e:arguments[2];return i(e)===c?e[r]:(A=a.f(e,r))?o(A,"value")?A.value:void 0===A.get?void 0:A.get.call(c):n(u=s(e))?t(u,r,c):void 0}})})),A.register("fZFSs",(function(t,e){t.exports=A("l9wzC")})),A.register("l9wzC",(function(t,e){var r=A("gLnZS");t.exports=r})),A.register("kYDZV",(function(t,e){var r=A("b99BU");t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("9djzX",(function(t,e){t.exports=A("kaxfr")})),A.register("kaxfr",(function(t,e){var r=A("9Ystp");t.exports=r})),A.register("9Ystp",(function(t,e){var r=A("lbDmu"),n=Array.prototype;t.exports=function(t){var e=t.fill;return t===n||t instanceof Array&&e===n.fill?r:e}})),A.register("lbDmu",(function(t,e){A("78AHP");var r=A("vGGUj");t.exports=r("Array").fill})),A.register("78AHP",(function(t,e){var r=A("hCzcd"),n=A("jdA3E"),i=A("1ieRV");r({target:"Array",proto:!0},{fill:n}),i("fill")})),A.register("jdA3E",(function(t,e){"use strict";var r=A("6SzFJ"),n=A("4Ulxs"),i=A("dOY5U");t.exports=function(t){for(var e=r(this),A=i(e.length),o=arguments.length,a=n(o>1?arguments[1]:void 0,A),s=o>2?arguments[2]:void 0,u=void 0===s?A:n(s,A);u>a;)e[a++]=t;return e}})),A.register("aXSjM",(function(e,r){t(e.exports,"SVGPathData",(()=>y)); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function A(t,e){var r=t[0],n=t[1];return[r*Math.cos(e)-n*Math.sin(e),r*Math.sin(e)+n*Math.cos(e)]}function o(){for(var t=[],e=0;et.phi1&&(t.phi2-=2*a),1===t.sweepFlag&&t.phi2n)return[];if(0===n)return[[t*r/(t*t+e*e),e*r/(t*t+e*e)]];var i=Math.sqrt(n);return[[(t*r+e*i)/(t*t+e*e),(e*r-t*i)/(t*t+e*e)],[(t*r-e*i)/(t*t+e*e),(e*r+t*i)/(t*t+e*e)]]}var c,l=Math.PI/180;function f(t,e,r){return(1-r)*t+r*e}function h(t,e,r,n){return t+Math.cos(n/180*a)*e+Math.sin(n/180*a)*r}function p(t,e,r,n){var i=e-t,A=r-e,o=3*i+3*(n-r)-6*A,a=6*(A-i),s=3*i;return Math.abs(o)<1e-6?[-s/a]:function(t,e,r){void 0===r&&(r=1e-6);var n=t*t/4-e;if(n<-r)return[];if(n<=r)return[-t/2];var i=Math.sqrt(n);return[-t/2-i,-t/2+i]}(a/o,s/o,1e-6)}function d(t,e,r,n,i){var A=1-i;return t*(A*A*A)+e*(3*A*A*i)+r*(3*A*i*i)+n*(i*i*i)}!function(t){function e(){return i((function(t,e,r){return t.relative&&(void 0!==t.x1&&(t.x1+=e),void 0!==t.y1&&(t.y1+=r),void 0!==t.x2&&(t.x2+=e),void 0!==t.y2&&(t.y2+=r),void 0!==t.x&&(t.x+=e),void 0!==t.y&&(t.y+=r),t.relative=!1),t}))}function r(){var t=NaN,e=NaN,r=NaN,n=NaN;return i((function(i,A,o){return i.type&y.SMOOTH_CURVE_TO&&(i.type=y.CURVE_TO,t=isNaN(t)?A:t,e=isNaN(e)?o:e,i.x1=i.relative?A-t:2*A-t,i.y1=i.relative?o-e:2*o-e),i.type&y.CURVE_TO?(t=i.relative?A+i.x2:i.x2,e=i.relative?o+i.y2:i.y2):(t=NaN,e=NaN),i.type&y.SMOOTH_QUAD_TO&&(i.type=y.QUAD_TO,r=isNaN(r)?A:r,n=isNaN(n)?o:n,i.x1=i.relative?A-r:2*A-r,i.y1=i.relative?o-n:2*o-n),i.type&y.QUAD_TO?(r=i.relative?A+i.x1:i.x1,n=i.relative?o+i.y1:i.y1):(r=NaN,n=NaN),i}))}function n(){var t=NaN,e=NaN;return i((function(r,n,i){if(r.type&y.SMOOTH_QUAD_TO&&(r.type=y.QUAD_TO,t=isNaN(t)?n:t,e=isNaN(e)?i:e,r.x1=r.relative?n-t:2*n-t,r.y1=r.relative?i-e:2*i-e),r.type&y.QUAD_TO){t=r.relative?n+r.x1:r.x1,e=r.relative?i+r.y1:r.y1;var A=r.x1,o=r.y1;r.type=y.CURVE_TO,r.x1=((r.relative?0:n)+2*A)/3,r.y1=((r.relative?0:i)+2*o)/3,r.x2=(r.x+2*A)/3,r.y2=(r.y+2*o)/3}else t=NaN,e=NaN;return r}))}function i(t){var e=0,r=0,n=NaN,i=NaN;return function(A){if(isNaN(n)&&!(A.type&y.MOVE_TO))throw new Error("path must start with moveto");var o=t(A,e,r,n,i);return A.type&y.CLOSE_PATH&&(e=n,r=i),void 0!==A.x&&(e=A.relative?e+A.x:A.x),void 0!==A.y&&(r=A.relative?r+A.y:A.y),A.type&y.MOVE_TO&&(n=e,i=r),o}}function a(t,e,r,n,A,a){return o(t,e,r,n,A,a),i((function(i,o,s,u){var c=i.x1,l=i.x2,f=i.relative&&!isNaN(u),h=void 0!==i.x?i.x:f?0:o,p=void 0!==i.y?i.y:f?0:s;function d(t){return t*t}i.type&y.HORIZ_LINE_TO&&0!==e&&(i.type=y.LINE_TO,i.y=i.relative?0:s),i.type&y.VERT_LINE_TO&&0!==r&&(i.type=y.LINE_TO,i.x=i.relative?0:o),void 0!==i.x&&(i.x=i.x*t+p*r+(f?0:A)),void 0!==i.y&&(i.y=h*e+i.y*n+(f?0:a)),void 0!==i.x1&&(i.x1=i.x1*t+i.y1*r+(f?0:A)),void 0!==i.y1&&(i.y1=c*e+i.y1*n+(f?0:a)),void 0!==i.x2&&(i.x2=i.x2*t+i.y2*r+(f?0:A)),void 0!==i.y2&&(i.y2=l*e+i.y2*n+(f?0:a));var g=t*n-e*r;if(void 0!==i.xRot&&(1!==t||0!==e||0!==r||1!==n))if(0===g)delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag,i.type=y.LINE_TO;else{var v=i.xRot*Math.PI/180,B=Math.sin(v),w=Math.cos(v),m=1/d(i.rX),b=1/d(i.rY),x=d(w)*m+d(B)*b,C=2*B*w*(m-b),E=d(B)*m+d(w)*b,N=x*n*n-C*e*n+E*e*e,F=C*(t*n+e*r)-2*(x*r*n+E*t*e),Q=x*r*r-C*t*r+E*t*t,U=(Math.atan2(F,N-Q)+Math.PI)%Math.PI/2,S=Math.sin(U),L=Math.cos(U);i.rX=Math.abs(g)/Math.sqrt(N*d(L)+F*S*L+Q*d(S)),i.rY=Math.abs(g)/Math.sqrt(N*d(S)-F*S*L+Q*d(L)),i.xRot=180*U/Math.PI}return void 0!==i.sweepFlag&&0>g&&(i.sweepFlag=+!i.sweepFlag),i}))}t.ROUND=function(t){function e(e){return Math.round(e*t)/t}return void 0===t&&(t=1e13),o(t),function(t){return void 0!==t.x1&&(t.x1=e(t.x1)),void 0!==t.y1&&(t.y1=e(t.y1)),void 0!==t.x2&&(t.x2=e(t.x2)),void 0!==t.y2&&(t.y2=e(t.y2)),void 0!==t.x&&(t.x=e(t.x)),void 0!==t.y&&(t.y=e(t.y)),void 0!==t.rX&&(t.rX=e(t.rX)),void 0!==t.rY&&(t.rY=e(t.rY)),t}},t.TO_ABS=e,t.TO_REL=function(){return i((function(t,e,r){return t.relative||(void 0!==t.x1&&(t.x1-=e),void 0!==t.y1&&(t.y1-=r),void 0!==t.x2&&(t.x2-=e),void 0!==t.y2&&(t.y2-=r),void 0!==t.x&&(t.x-=e),void 0!==t.y&&(t.y-=r),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,e,r){return void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),i((function(n,i,A,o,a){if(isNaN(o)&&!(n.type&y.MOVE_TO))throw new Error("path must start with moveto");return e&&n.type&y.HORIZ_LINE_TO&&(n.type=y.LINE_TO,n.y=n.relative?0:A),r&&n.type&y.VERT_LINE_TO&&(n.type=y.LINE_TO,n.x=n.relative?0:i),t&&n.type&y.CLOSE_PATH&&(n.type=y.LINE_TO,n.x=n.relative?o-i:o,n.y=n.relative?a-A:a),n.type&y.ARC&&(0===n.rX||0===n.rY)&&(n.type=y.LINE_TO,delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag),n}))},t.NORMALIZE_ST=r,t.QT_TO_C=n,t.INFO=i,t.SANITIZE=function(t){void 0===t&&(t=0),o(t);var e=NaN,r=NaN,n=NaN,A=NaN;return i((function(i,o,a,s,u){var c=Math.abs,l=!1,f=0,h=0;if(i.type&y.SMOOTH_CURVE_TO&&(f=isNaN(e)?0:o-e,h=isNaN(r)?0:a-r),i.type&(y.CURVE_TO|y.SMOOTH_CURVE_TO)?(e=i.relative?o+i.x2:i.x2,r=i.relative?a+i.y2:i.y2):(e=NaN,r=NaN),i.type&y.SMOOTH_QUAD_TO?(n=isNaN(n)?o:2*o-n,A=isNaN(A)?a:2*a-A):i.type&y.QUAD_TO?(n=i.relative?o+i.x1:i.x1,A=i.relative?a+i.y1:i.y2):(n=NaN,A=NaN),i.type&y.LINE_COMMANDS||i.type&y.ARC&&(0===i.rX||0===i.rY||!i.lArcFlag)||i.type&y.CURVE_TO||i.type&y.SMOOTH_CURVE_TO||i.type&y.QUAD_TO||i.type&y.SMOOTH_QUAD_TO){var p=void 0===i.x?0:i.relative?i.x:i.x-o,d=void 0===i.y?0:i.relative?i.y:i.y-a;f=isNaN(n)?void 0===i.x1?f:i.relative?i.x:i.x1-o:n-o,h=isNaN(A)?void 0===i.y1?h:i.relative?i.y:i.y1-a:A-a;var g=void 0===i.x2?0:i.relative?i.x:i.x2-o,v=void 0===i.y2?0:i.relative?i.y:i.y2-a;c(p)<=t&&c(d)<=t&&c(f)<=t&&c(h)<=t&&c(g)<=t&&c(v)<=t&&(l=!0)}return i.type&y.CLOSE_PATH&&c(o-s)<=t&&c(a-u)<=t&&(l=!0),l?[]:i}))},t.MATRIX=a,t.ROTATE=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),o(t,e,r);var n=Math.sin(t),i=Math.cos(t);return a(i,n,-n,i,e-e*i+r*n,r-e*n-r*i)},t.TRANSLATE=function(t,e){return void 0===e&&(e=0),o(t,e),a(1,0,0,1,t,e)},t.SCALE=function(t,e){return void 0===e&&(e=t),o(t,e),a(t,0,0,e,0,0)},t.SKEW_X=function(t){return o(t),a(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return o(t),a(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),o(t),a(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),o(t),a(1,0,0,-1,0,t)},t.A_TO_C=function(){return i((function(t,e,r){return y.ARC===t.type?function(t,e,r){var n,i,o,a;t.cX||s(t,e,r);for(var u=Math.min(t.phi1,t.phi2),c=Math.max(t.phi1,t.phi2)-u,h=Math.ceil(c/90),p=new Array(h),d=e,g=r,v=0;va.maxX&&(a.maxX=t),ta.maxY&&(a.maxY=t),tH&&c(d(r,i.x1,i.x2,i.x,H));for(var v=0,B=p(n,i.y1,i.y2,i.y);vH&&l(d(n,i.y1,i.y2,i.y,H))}if(i.type&y.ARC){c(i.x),l(i.y),s(i,r,n);for(var w=i.xRot/180*Math.PI,m=Math.cos(w)*i.rX,b=Math.sin(w)*i.rX,x=-Math.sin(w)*i.rY,C=Math.cos(w)*i.rY,E=i.phi1i.phi2?[i.phi2+360,i.phi1+360]:[i.phi2,i.phi1],N=E[0],F=E[1],Q=function(t){var e=t[0],r=t[1],n=180*Math.atan2(r,e)/Math.PI;return nN&&HN&&Hs)throw new SyntaxError('Expected positive number, got "'+s+'" at index "'+i+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"');this.curArgs.push(s),this.curArgs.length===b[this.curCommandType]&&(y.HORIZ_LINE_TO===this.curCommandType?n({type:y.HORIZ_LINE_TO,relative:this.curCommandRelative,x:s}):y.VERT_LINE_TO===this.curCommandType?n({type:y.VERT_LINE_TO,relative:this.curCommandRelative,y:s}):this.curCommandType===y.MOVE_TO||this.curCommandType===y.LINE_TO||this.curCommandType===y.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),y.MOVE_TO===this.curCommandType&&(this.curCommandType=y.LINE_TO)):this.curCommandType===y.CURVE_TO?n({type:y.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===y.SMOOTH_CURVE_TO?n({type:y.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===y.QUAD_TO?n({type:y.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===y.ARC&&n({type:y.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!B(A))if(","===A&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==A&&"-"!==A&&"."!==A)if(a)this.curNumber=A,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+A+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==A&&"Z"!==A)if("h"===A||"H"===A)this.curCommandType=y.HORIZ_LINE_TO,this.curCommandRelative="h"===A;else if("v"===A||"V"===A)this.curCommandType=y.VERT_LINE_TO,this.curCommandRelative="v"===A;else if("m"===A||"M"===A)this.curCommandType=y.MOVE_TO,this.curCommandRelative="m"===A;else if("l"===A||"L"===A)this.curCommandType=y.LINE_TO,this.curCommandRelative="l"===A;else if("c"===A||"C"===A)this.curCommandType=y.CURVE_TO,this.curCommandRelative="c"===A;else if("s"===A||"S"===A)this.curCommandType=y.SMOOTH_CURVE_TO,this.curCommandRelative="s"===A;else if("q"===A||"Q"===A)this.curCommandType=y.QUAD_TO,this.curCommandRelative="q"===A;else if("t"===A||"T"===A)this.curCommandType=y.SMOOTH_QUAD_TO,this.curCommandRelative="t"===A;else{if("a"!==A&&"A"!==A)throw new SyntaxError('Unexpected character "'+A+'" at index '+i+".");this.curCommandType=y.ARC,this.curCommandRelative="a"===A}else e.push({type:y.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=A,this.curNumberHasDecimal="."===A}else this.curNumber+=A,this.curNumberHasDecimal=!0;else this.curNumber+=A;else this.curNumber+=A,this.curNumberHasExp=!0;else this.curNumber+=A,this.curNumberHasExpDigits=this.curNumberHasExp}return e},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(e,r){void 0===r&&(r=[]);for(var n=0,i=Object.getPrototypeOf(this).parse.call(this,e);n>>0||(a.test(r)?16:10))}:o})),A.register("fbZ9B",(function(t,e){t.exports=A("kIfPA")})),A.register("kIfPA",(function(t,e){var r=A("YhFkO");t.exports=r})),A.register("ajIk7",(function(t,e){t.exports=A("egvRe")})),A.register("egvRe",(function(t,e){A("ky8US"),A("28Myb");var r=A("hYFk0");t.exports=r})),A.register("g3WrO",(function(t,e){t.exports=A("1YJLS")})),A.register("1YJLS",(function(t,e){var r=A("91K9T");t.exports=r})),A.register("iBrAh",(function(t,e){t.exports=A("iepTk")})),A.register("iepTk",(function(t,e){var r=A("9vW1a");t.exports=r})),A.register("ddgyR",(function(t,e){t.exports=A("4qiAl")})),A.register("4qiAl",(function(t,e){var r=A("2rhcE");t.exports=r})),A.register("2rhcE",(function(t,e){A("fumL2"),A("97Mfv"),A("28Myb"),A("ky8US");var r=A("k30YA");t.exports=r.Map})),A.register("fumL2",(function(t,e){"use strict";var r=A("7wkqC"),n=A("50wQ7");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n)})),A.register("7wkqC",(function(t,e){"use strict";var r=A("hCzcd"),n=A("hFqBl"),i=A("aYwXv"),o=A("2pV9O"),a=A("4kZLz"),s=A("8uz5e"),u=A("hJS6s"),c=A("4iMo0"),l=A("jvH8t"),f=A("2Yzf9").f,h=A("2EpMM").forEach,p=A("fZXRi"),d=A("7xaeC"),g=d.set,v=d.getterFor;t.exports=function(t,e,A){var d,B=-1!==t.indexOf("Map"),w=-1!==t.indexOf("Weak"),m=B?"set":"add",y=n[t],b=y&&y.prototype,x={};if(p&&"function"==typeof y&&(w||b.forEach&&!o((function(){(new y).entries().next()})))){d=e((function(e,r){g(u(e,d,t),{type:t,collection:new y}),null!=r&&s(r,e[m],{that:e,AS_ENTRIES:B})}));var C=v(t);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in b)||w&&"clear"==t||a(d.prototype,t,(function(r,n){var i=C(this).collection;if(!e&&w&&!c(r))return"get"==t&&void 0;var A=i[t](0===r?0:r,n);return e?this:A}))})),w||f(d.prototype,"size",{configurable:!0,get:function(){return C(this).collection.size}})}else d=A.getConstructor(e,t,B,m),i.REQUIRED=!0;return l(d,t,!1,!0),x[t]=d,r({global:!0,forced:!0},x),w||A.setStrong(d,t,B),d}})),A.register("aYwXv",(function(t,e){var r=A("5yvvB"),n=A("4iMo0"),i=A("aOL02"),o=A("2Yzf9").f,a=A("cswZ8"),s=A("aTZqf"),u=a("meta"),c=0,l=Object.isExtensible||function(){return!0},f=function(t){o(t,u,{value:{objectID:"O"+ ++c,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,u)){if(!l(t))return"F";if(!e)return"E";f(t)}return t[u].objectID},getWeakData:function(t,e){if(!i(t,u)){if(!l(t))return!0;if(!e)return!1;f(t)}return t[u].weakData},onFreeze:function(t){return s&&h.REQUIRED&&l(t)&&!i(t,u)&&f(t),t}};r[u]=!0})),A.register("aTZqf",(function(t,e){var r=A("2pV9O");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))})),A.register("50wQ7",(function(t,e){"use strict";var r=A("2Yzf9").f,n=A("8kl3S"),i=A("jBsvY"),o=A("eqgON"),a=A("hJS6s"),s=A("8uz5e"),u=A("53hUC"),c=A("3S5gG"),l=A("fZXRi"),f=A("aYwXv").fastKey,h=A("7xaeC"),p=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,A,u){var c=t((function(t,r){a(t,c,e),p(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&s(r,t[u],{that:t,AS_ENTRIES:A})})),h=d(e),g=function(t,e,r){var n,i,A=h(t),o=v(t,e);return o?o.value=r:(A.last=o={index:i=f(e,!0),key:e,value:r,previous:n=A.last,next:void 0,removed:!1},A.first||(A.first=o),n&&(n.next=o),l?A.size++:t.size++,"F"!==i&&(A.index[i]=o)),t},v=function(t,e){var r,n=h(t),i=f(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(c.prototype,{clear:function(){for(var t=h(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=this,r=h(e),n=v(e,t);if(n){var i=n.next,A=n.previous;delete r.index[n.index],n.removed=!0,A&&(A.next=i),i&&(i.previous=A),r.first==n&&(r.first=i),r.last==n&&(r.last=A),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=h(this),n=o(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!v(this,t)}}),i(c.prototype,A?{get:function(t){var e=v(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(c.prototype,"size",{get:function(){return h(this).size}}),c},setStrong:function(t,e,r){var n=e+" Iterator",i=d(e),A=d(n);u(t,e,(function(t,e){p(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=A(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),c(e)}}})),A.register("dkI4U",(function(t,e){t.exports=A("bU1SM")})),A.register("bU1SM",(function(t,e){var r=A("bpefC");t.exports=r})),A.register("bpefC",(function(t,e){A("lcfLC");var r=A("k30YA");t.exports=r.Reflect.apply})),A.register("lcfLC",(function(t,e){var r=A("hCzcd"),n=A("1vWf3"),i=A("7Q6z8"),o=A("lnVro"),a=A("2pV9O"),s=n("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!a((function(){s((function(){}))}))},{apply:function(t,e,r){return i(t),o(r),s?s(t,e,r):u.call(t,e,r)}})})),A.register("3efYe",(function(t,e){t.exports=A("1hsXt")})),A.register("1hsXt",(function(t,e){var r=A("2rqLr");t.exports=r})),A.register("2rqLr",(function(t,e){A("ljehp");var r=A("k30YA");t.exports=r.Reflect.getPrototypeOf})),A.register("ljehp",(function(t,e){var r=A("hCzcd"),n=A("lnVro"),i=A("gOmim");r({target:"Reflect",stat:!0,sham:!A("kujYL")},{getPrototypeOf:function(t){return i(n(t))}})})),A.register("lA8qz",(function(e,r){function n(t){return n="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},n(t)}t(e.exports,"canvasRGBA",(()=>a)); +/** +* StackBlur - a fast almost Gaussian Blur For Canvas +* +* In case you find this class useful - especially in commercial projects - +* I am not totally unhappy for a small donation to my PayPal account +* mario@quasimondo.de +* +* Or support me on flattr: +* {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}. +* +* @module StackBlur +* @author Mario Klingemann +* Contact: mario@quasimondo.com +* Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html} +* Twitter: @quasimondo +* +* @copyright (c) 2010 Mario Klingemann +* +* Permission is hereby granted, free of charge, to any person +* obtaining a copy of this software and associated documentation +* files (the "Software"), to deal in the Software without +* restriction, including without limitation the rights to use, +* copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following +* conditions: +* +* The above copyright notice and this permission notice shall be +* included in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +*/ +var i=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],A=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function o(t,e,r,i,A){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==n(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=t.getContext("2d");try{return o.getImageData(e,r,i,A)}catch(t){throw new Error("unable to access image data: "+t)}}function a(t,e,r,n,a,u){if(!(isNaN(u)||u<1)){u|=0;var c=o(t,e,r,n,a);c=function(t,e,r,n,o,a){for(var u,c=t.data,l=2*a+1,f=n-1,h=o-1,p=a+1,d=p*(p+1)/2,g=new s,v=g,B=1;B>C;if(c[b+3]=J,0!==J){var Z=255/J;c[b]=(R*x>>C)*Z,c[b+1]=(M*x>>C)*Z,c[b+2]=(D*x>>C)*Z}else c[b]=c[b+1]=c[b+2]=0;R-=I,M-=O,D-=P,K-=k,I-=w.r,O-=w.g,P-=w.b,k-=w.a;var $=Y+a+1;$=y+($>C,ut>0?(ut=255/ut,c[Ft]=(pt*x>>C)*ut,c[Ft+1]=(dt*x>>C)*ut,c[Ft+2]=(gt*x>>C)*ut):c[Ft]=c[Ft+1]=c[Ft+2]=0,pt-=ct,dt-=lt,gt-=ft,vt-=ht,ct-=w.r,lt-=w.g,ft-=w.b,ht-=w.a,Ft=At+((Ft=Nt+p)n),(t=>n=t)),t(e.exports,"resolve",(()=>i),(t=>i=t));var A={};n=function(t){for(var e=Object.keys(t),r=0;ri)),t(e.exports,"default",(()=>a));var n=A("dk7YQ");const i="7.7",o=new(0,n.default)("migrations",{didFsToDb:{type:"bool",default:!1,help:"finished the fs to db migration"},firstKnownVersion:{type:"string",default:"",help:"record of first remembered version number"},didUpdatedHeaderModal:{type:"bool",default:!1,help:`closed the updated header message modal (affects versions before ${i}`},didUpdatedHeaderThrob:{type:"bool",default:!1,help:`interacted with the "Formatting" header for the updated header throb indicator (affects versions before ${i}`}});var a=o;o.load().then((t=>{t.didFsToDb}))})),A.register("2kfQE",(function(e,r){t(e.exports,"ERR_MSG_IF_PERSISTS",(()=>i)),t(e.exports,"ERR_TITLE_COPY",(()=>o)),t(e.exports,"ERR_MSG_COPY",(()=>a));var n=A("iMjBX");const i=(0,n.tr)("If this persists, please report it via the flag reporting button above."),o=(0,n.tr)("Unable to copy image"),a=(0,n.tr)("Please try again and wait to see the “Image copied to clipboard” message before switching to another window.")})),A.register("21kSJ",(function(e,r){t(e.exports,"GOOGLE_DOCS_MAX_PIXELS",(()=>o)),t(e.exports,"canCopyTextToClipboard",(()=>a)),t(e.exports,"copyTextToClipboard",(()=>s)),t(e.exports,"canCopyBlobToClipboard",(()=>u)),t(e.exports,"copyBlobToClipboard",(()=>c)),t(e.exports,"copyImgEltToClipboard",(()=>l)),t(e.exports,"copyImgToClipboard",(()=>f)),t(e.exports,"fitToMaxPixels",(()=>h));var n=A("gstfn"),i=A("alm1K");const o=25e6;function a(){return!(!navigator.clipboard||!navigator.clipboard.writeText)}async function s(t){await navigator.clipboard.writeText(t)}function u(){return!!(navigator.clipboard&&navigator.clipboard.write&&window.ClipboardItem)}async function c(t){const e=[new ClipboardItem(Object.defineProperty({},t.type,{value:t,enumerable:!0}))];await navigator.clipboard.write(e)}async function l(t,e,r,n){const[i,A]=await p(t,e,r,n);return await c(i),A}async function f(t,e){const[r,n]=await async function(t,e){const r=await(0,i.simpleLoadImage)(t);return p(r,r.width,r.height)}(t);return await c(r),n}function h(t,e=o){let{width:r,height:n}=t;if(r*n>e){const i=Math.sqrt(e/(r*n));let A=Math.floor(r*i),o=A*(n/r);const a=document.createElement("canvas");a.width=A,a.height=Math.floor(o);return a.getContext("2d").drawImage(t,0,0,A,o),[a,!0]}return[t,!1]}async function p(t,e,r,i){let A=!1,o=document.createElement("canvas");o.width=e,o.height=r;o.getContext("2d").drawImage(t,0,0),i&&i>0&&([o,A]=h(o,i));return[await(0,n.canvasToBlob)(o,"image/png"),A]}})),A.register("76B86",(function(r,n){t(r.exports,"default",(()=>l));var i=A("cW7yT"),o=A("cAnjR"),a=A("2q4iO");const s=()=>{},u=t=>{t.preventDefault(),t.stopPropagation()},c=({pageX:t,pageY:r,onClose:n,onUpdatePosition:A,cfg:o})=>{const c=(0,a.useRef)(null);let l=!1;const h=t+2,p=r+-10;(0,a.useLayoutEffect)((()=>{const{innerWidth:e,innerHeight:n}=window,{offsetWidth:i,offsetHeight:o}=c.current;let a=null,s=null;h+i>e&&(a=t-i-4),p+o>n&&(s=n-o-10),null===a&&null===s||(l=!0,A(a||t,s||r))})),(0,a.useEffect)((()=>{if(!l)return document.addEventListener("mousedown",t,!0),document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("keydown",e,!0)};function t(t){f(t,c.current)||n()}function e(t){n()}}),[o]);const d={left:`${h}px`,top:`${p}px`};return e(a).createElement("div",{ref:c,style:d,className:e(i)("clickdialog",{show:!0}),onMouseDown:u,onMouseUp:u,onClick:t=>{u(t),n()}},o.title&&e(a).createElement("div",{className:"clickdialog--row title"},o.title),o.rows.map(((t,r)=>t.divider?e(a).createElement("div",{key:r,className:"clickdialog--row divider"}):!0===t.isTitle?e(a).createElement("div",{key:r,className:"clickdialog--row title title--inner",style:{paddingBottom:0}},t.title):e(a).createElement("div",{key:r,className:"clickdialog--row"},e(a).createElement("button",{className:e(i)("clickdialog--btn",{disabled:t.disabled}),title:t.title,onClick:!t.disabled&&t.onClick||s},e(a).createElement("span",{className:"lhs"},t.text),e(a).createElement("span",{className:"rhs"},t.shortcut))))))};c.propTypes={pageX:e(o).number.isRequired,pageY:e(o).number.isRequired,onClose:e(o).func.isRequired,onUpdatePosition:e(o).func.isRequired,cfg:e(o).shape({title:e(o).string,rows:e(o).arrayOf(e(o).object.isRequired).isRequired})};var l=c;const f=(t,e)=>{const{pageX:r,pageY:n}=t,{scrollX:i,scrollY:A}=window,o=r-i,a=n-A,{offsetLeft:s,offsetTop:u,offsetWidth:c,offsetHeight:l}=e;return s<=o&&o<=s+c&&u<=a&&a<=u+l}})),A.register("lLQan",(function(r,n){t(r.exports,"triggerNotifyText",(()=>f)),t(r.exports,"onNotifyText",(()=>h)),t(r.exports,"offNotifyText",(()=>p)),t(r.exports,"default",(()=>g));var i=A("cW7yT"),o=A("cAnjR"),a=A("2q4iO"),s=A("iMjBX"),u=A("8P88O"),c=A("ecsdh");let l=null;const f=(t,e)=>{window.clearTimeout(l),(0,u.trigger)(c.EVT_SET_NOTIFY_TEXT,{text:t}),e&&(l=window.setTimeout((()=>{(0,u.trigger)(c.EVT_SET_NOTIFY_TEXT,{text:""})}),e))};f.clear=()=>f(""),f.copyingImage=()=>f(`💕 ${(0,s.tr)("Copying image, please wait…")}`),f.copiedImage=t=>f(`✅ ${(0,s.tr)("Image copied to clipboard")}${t?"\n\n(Resized to fit Google Doc max size. You can configure this in Options)":""}`,t?6e3:3e3),f.creatingPDF=t=>f(`💕 ${(0,s.tr)("Creating PDF:")} ${Math.round(100*t)}%`),f.createdPDF=()=>f(`✅ ${(0,s.tr)("Created PDF!")}`,3e3);const h=t=>(0,u.on)(c.EVT_SET_NOTIFY_TEXT,t),p=t=>(0,u.off)(c.EVT_SET_NOTIFY_TEXT,t),d=({text:t,className:r})=>{const[n,A]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{n||window.setTimeout((()=>{A(!0)}))}),[]),e(a).createElement("div",{className:e(i)(r,"notify-snackbar",{show:n})},e(a).createElement("div",{className:"notify-snackbar--inner"},t))};d.propTypes={text:e(o).string.isRequired,className:e(o).string,hideDelay:e(o).number};var g=d})),A.register("aZB6T",(function(r,n){t(r.exports,"TEMPLATE_DATA_BAR",(()=>_)),t(r.exports,"BROWSER_TEMPLATES",(()=>I)),t(r.exports,"BROWSER_TEMPLATE_ID_NONE",(()=>P)),t(r.exports,"createBrowserTemplate",(()=>O));var i=A("yZcwP"),o=A("iMjBX"),a=A("ecsdh"),s=A("fAVCF"),u=A("aEqCx"),c=A("ipGIC"),l=A("luVA5"),f=A("8SeQx"),h=A("bzBlX"),p=A("k77QX"),d=A("jTmLz"),g=A("exNgU"),v=A("2K1j0"),B=A("gRuOW"),m=A("kGlfh"),w=A("7IbKt");const y=a.FONT_FAMILY_SYSTEM_MAC,b=a.FONT_FAMILY_SYSTEM_WINDOWS,x={type:s.BORDER_TYPE_BORDER,size:1,color:"#909090"},C=Object.assign({},x,{size:.5}),E={font:`300 14px ${y}`,fontSize:14,x:143,y:66},N={type:s.BORDER_TYPE_MULTI_BORDER,size:4,borders:[{type:s.BORDER_TYPE_BORDER,size:4,color:"#E2E5E9"},{type:s.BORDER_TYPE_BORDER,size:2,color:"#E7E9ED"},{type:s.BORDER_TYPE_BORDER,size:1,color:"#525252"}]},F={font:`400 14px ${b}`,fontSize:14,x:143,y:66},Q=`400 16px ${y}`,U=(t,e,r,n,i,A)=>{const[o,a]=e.textOffset,s=k(i,e.textStyle.font,r-2*o,A?[{text:A,margin:2*o}]:void 0),u=Math.ceil(20.8);return{size:Math.floor(u*s.length-u/10+2*a),data:{lines:s,lineHeight:u}}},S={title:"Mac OS X",key:"mac",densities:{"1x":{left:x,right:x,bottom:x,top:{type:s.BORDER_TYPE_IMAGE,size:80,text:E,rightText:{ctxStyle:{font:E.font,fillStyle:s.COLOR_HOST,textAlign:"right",textBaseline:"top"},right:21,y:15},multiplier:1,left:{src:l,width:348,height:80},leftSecure:{src:c,width:348,height:80},center:{src:u,width:10,height:80},right:{src:f,width:112,height:80}}},"2x":{left:C,right:C,bottom:C,top:{type:s.BORDER_TYPE_IMAGE,size:79.5,text:E,rightText:{ctxStyle:{font:E.font,fillStyle:s.COLOR_HOST,textAlign:"right",textBaseline:"top"},right:21,y:15},multiplier:2,left:{src:d,width:348,height:79.5},leftSecure:{src:p,width:348,height:79.5},center:{src:h,width:5,height:79.5},right:{src:g,width:111,height:79.5}}}}},L={title:"Windows",key:"windows",densities:{"*":{left:N,right:N,bottom:N,top:{type:s.BORDER_TYPE_IMAGE,size:80,text:F,rightText:{ctxStyle:{font:F.font,fillStyle:s.COLOR_HOST,textAlign:"right",textBaseline:"top"},right:115,y:15},multiplier:1,left:{src:m,width:282,height:80},leftSecure:{src:B,width:282,height:80},center:{src:v,width:10,height:80},right:{src:w,width:120,height:80}}}}},_={title:(0,o.tr)("URL on top"),key:"bar",densities:{"*":{top:{type:s.BORDER_TYPE_TEXT_OVERLAY,size:40,sizeFn:U,color:"#000",textOffset:[10,11],textStyle:{fillStyle:"#fff",font:Q,textBaseline:"top"}}}}},H={title:(0,o.tr)("URL on bottom"),key:"barBottom",densities:{"*":{bottom:{type:s.BORDER_TYPE_TEXT_OVERLAY,size:40,sizeFn:U,color:"#000",textOffset:[10,11],textStyle:{fillStyle:"#fff",font:Q,textBaseline:"top"}}}}},T={title:(0,o.tr)("None"),key:"",densities:{}},I={[S.key]:S,[L.key]:L,[_.key]:_,[H.key]:H,[T.key]:T},P=T.key,O=(t,r,n,A,o,a,u,c)=>{e(i).ok(t===P||t in I,`Unknown browser template id: ${t}`);const l=t&&t!==T.key?I[t]:null;return new(0,s.default)(l,r,n,A,o,a,u,c)},k=(t,e,r,n)=>{const i=document.createElement("canvas").getContext("2d");i.font=e;let A=[],o=t;const a=t=>{let e=0;return t&&(t.text&&(e+=i.measureText(t.text).width),t.margin&&(e+=t.margin)),e};for(;o;){const t=r-(n&&a(n[A.length])||0);let e=R(o,(e=>{const r=i.measureText(o.substring(0,e)).width;return rt?1:0}));0===e&&(e+=1),A.push(o.substring(0,e)),o=o.substring(e)}return A},R=(t,e)=>{let r=0,n=t.length;if(e(n)<=0)return n;let i=0;for(;r<=n;){let t=Math.floor((r+n)/2);e(t)>0?n=t-1:(i=t,r=t+1)}return i}})),A.register("fAVCF",(function(r,n){t(r.exports,"BORDER_TYPE_BORDER",(()=>a)),t(r.exports,"BORDER_TYPE_MULTI_BORDER",(()=>s)),t(r.exports,"BORDER_TYPE_IMAGE",(()=>u)),t(r.exports,"BORDER_TYPE_TEXT_OVERLAY",(()=>c)),t(r.exports,"COLOR_HOST",(()=>h)),t(r.exports,"default",(()=>B));var i=A("yZcwP"),o=A("hvGrI");const a="border",s="multi-border",u="image",c="text-overlay",l=["left","right","bottom","top"];let f=0;const h="#202020",p="#80868B",d="https://",g=t=>{let e,r=[];if(t.startsWith(d)?(r.push({text:"https",fill:"#5F6368"},{text:"://",fill:p}),e=t.substring(d.length)):t.startsWith("http://")?e=t.substring("http://".length):r.push({text:t,fill:h}),void 0!==e){let t=e.split("/")[0].split(":")[0];r.push({text:t,fill:h});let n=e.substring(t.length);n.indexOf("/")===n.length-1&&(n=n.substring(0,n.length-1)),r.push({text:n,fill:p})}return r},v=(t,e,r,n,i,A="…")=>{t.save();let o=!1;for(let{text:a,fill:s}of e){t.fillStyle=s;let e=a;if(i)for(;r+t.measureText(e).width>i&&a.length;)o=!0,a=a.substring(0,a.length-1),e=a+A;if(!a)break;if(t.fillText(e,r,n),r+=t.measureText(e).width,o)break}t.restore()};var B=class{async draw(t){if(null===this.id)return!1;const e=++f,r=(this.offsets,this._borders),n=(this.url,Object.entries(r).filter((([t,e])=>"multi-border"===e.type)));if(n.length){let e=0,r=!0;for(;r;)r=!1,n.forEach((([n,i])=>{i.borders[e]&&(r=!0,this._drawBorder(t,n,i.borders[e]))})),e++}return!1!==await(0,o.serialMap)(Object.entries(r),(([r,n])=>{const i=r;if(e!==f)return!1;switch(n.type){case a:return this._drawBorder(t,i,n);case s:return!0;case u:return this._drawImage(t,i,n);case c:return this._drawTextOverlay(t,i,n);default:{const t=new Error(`Unknown browserTemplate type: ${n}`);throw t.name="BrowserTemplateRenderError",t}}}))}_drawMultiBorder(t,e,r){r.borders.forEach((r=>this._drawBorder(t,e,r)))}_drawBorder(t,e,r){const[n,i,A,o,a,s]=this._borderCoords(e),{size:u,color:c}=r;return t.save(),c&&(t.strokeStyle=c),t.lineWidth=u,t.beginPath(),t.moveTo(n+u*a,i+u*s),t.lineTo(A+u*a,o+u*s),t.stroke(),t.restore(),!0}_borderCoords(t){const{fullHeight:e,fullWidth:r,top:n}=this.offsets;switch(t){case"left":return[0,n,0,e,.5,0];case"right":return[r,n,r,e,-.5,0];case"bottom":return[0,e,r,e,0,-.5];case"top":return[0,0,r,0,0,.5];default:throw new Error(`Unknown browserTemplate side: ${t}`)}}async _drawImage(t,r,n){e(i).ok("top"===r,`Cannot browserTemplate.draw image for "${r}"`);let{left:A,leftSecure:a,center:s,right:u}=n;const c=this.url;c&&c.startsWith("https://")&&(A=a);const l=n.multiplier||1,{fullWidth:f}=this.offsets;let h=f-u.width;h{t.fillText(e,s.x,s.y+r*A),s.width=Math.max(t.measureText(e).width,s.width)})),this.timeText){const e=this.offsets.fullWidth-o;t.textAlign="right",t.fillText(this.timeText,e,a+n)}return this.textCoords=s,!0}constructor(t,e,r,n,i,A,o,a){const s=(null==t?void 0:t.key)||"";if(this.id=s,this.time=o,this.timeText=a||null,s){e=e||"",this.url=e,this.title=A||"";let o=i>=2?"2x":"1x",a=t.densities[o]||t.densities["*"];this._borders=a;let s={};l.forEach((t=>{s[t]=a[t]&&a[t].size||0})),s.fullWidth=s.left+r+s.right,s.fullHeight=s.top+n+s.bottom,Object.entries(a).forEach((([t,r])=>{if("text-overlay"===r.type){const{size:n,data:i}=r.sizeFn(t,r,s.fullWidth,s.fullHeight,e,this.timeText);s[t]=n,a[t]=Object.assign({},r,{size:n,sizeData:i})}})),s.fullWidth=s.left+r+s.right,s.fullHeight=s.top+n+s.bottom,this.offsets=s}else this._borders={},this.offsets={left:0,right:0,bottom:0,top:0,fullWidth:r,fullHeight:n}}}})),A.register("aEqCx",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("lHtVF")})),A.register("9yYZW",(function(e,r){var n;t(e.exports,"getBundleURL",(()=>n),(t=>n=t));var i={};function A(t){return(""+t).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}n=function(t){var e=i[t];return e||(e=function(){try{throw new Error}catch(e){var t=(""+e.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(t)return A(t[2])}return"/"}(),i[t]=e),e}})),A.register("ipGIC",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("bjlzk")})),A.register("luVA5",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("iBDfL")})),A.register("8SeQx",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("c9IBB")})),A.register("bzBlX",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("jegxk")})),A.register("k77QX",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("3MnpI")})),A.register("jTmLz",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("3Zhl3")})),A.register("exNgU",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("eMJiU")})),A.register("2K1j0",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("k4LGs")})),A.register("gRuOW",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("7n6bJ")})),A.register("kGlfh",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("4M8Nf")})),A.register("7IbKt",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("hT8AB")})),A.register("l6VXY",(function(e,r){t(e.exports,"default",(()=>n)),t(e.exports,"checkCanDispatch",(()=>i));var n=(t,e,r)=>t.dispatchEvent(new CustomEvent(e,void 0===r?void 0:{detail:r}));const i=t=>{if(t.target instanceof HTMLElement){let e=t.target;for(;e;){if(e.dataset.nodispatch)return!1;e=e.parentElement}}return!0}})),A.register("dqmzj",(function(r,n){t(r.exports,"DEFAULT_BASE_OFFSET",(()=>s)),t(r.exports,"computeBaseOffsets",(()=>u)),t(r.exports,"computeLayersMinMax",(()=>c)),t(r.exports,"getCenterCoords",(()=>f)),t(r.exports,"findOverlappingLayers",(()=>h));var i=A("yZcwP"),o=A("lnQPw"),a=A("cTlMU");const s=100,u=(t,r,n,A,o,a,u,l,f,h,p)=>{e(i).number(t,"computeBaseOffsets.baseWidth"),e(i).number(r,"computeBaseOffsets.baseHeight"),e(i).number(n,"computeBaseOffsets.basePixelDensity"),e(i).ok(A,"computeBaseOffsets.cropBox"),e(i).ok(o,"computeBaseOffsets.browserTemplate"),e(i).number(a,"computeBaseOffsets.zoom"),e(i).ok(u,"computeBaseOffsets.layers"),null==f&&(f=s),e(i).number(f,"computeBaseOffsets.gutterSize"),null==h&&(h=0),e(i).number(h,"computeBaseOffsets.parentWidthPx"),null==p&&(p=0),e(i).number(p,"computeBaseOffsets.parentWidthPx");let d=a/100,g=h/d,v=p/d;const B={minX:-o.offsets.left,maxX:o.offsets.fullWidth-o.offsets.left,minY:-o.offsets.top,maxY:o.offsets.fullHeight-o.offsets.top},m=c(u,B,-A.x,-A.y),w=m.maxX-m.minX,y=m.maxY-m.minY,b=l?(l.padding.padding||0)+(l.stroke.width||0):0;let x=f+b;g>w+2*x&&(x=(g-w)/2);const C=x,E=f+b;let N=E;v>y+E+N&&(N=v-y-E);const F=x-m.minX-A.x,Q=E-m.minY-A.y,U={baseLeft:F+A.x-o.offsets.left,baseTop:Q+A.y-o.offsets.top,outerWidth:w+x+C,outerHeight:y+E+N,xOffset:F,yOffset:Q,gutterLeft:x,gutterRight:C,gutterTop:E,gutterBottom:N},S=Object.entries(U).filter((([t,e])=>"number"!=typeof e||isNaN(e))).map((([t,e])=>`${t}=${e}`));return e(i).ok(0===S.length,`[computeBaseOffsets] bad result: ${S.join("; ")}`),U},c=(t,e=null,r=0,n=0)=>t.reduce(((t,e)=>{const i=l(e,r,n);return null===t?i:(i.minXt.maxX&&(t.maxX=i.maxX),i.minYt.maxY&&(t.maxY=i.maxY),t)}),e),l=(t,e=0,r=0)=>{if((0,a.isLayerBox)(t)){const n=t.box;return{minX:n.x+e,maxX:n.x+n.width+e,minY:n.y+r,maxY:n.y+n.height+r}}if((0,a.isLayerLine)(t)){const n=t.line;return{minX:Math.min(n.x1,n.x2)+e,maxX:Math.max(n.x1,n.x2)+e,minY:Math.min(n.y1,n.y2)+r,maxY:Math.max(n.y1,n.y2)+r}}throw new Error(`Unknown layer: ${JSON.stringify(t)}`)},f=(t,e,r)=>{let n,i,A,o;const a=r/100,s=document.querySelector(".editor .canvas"),u=s&&s.querySelector(".imagebase");if(s&&u){const r=s.scrollLeft/a,c=s.scrollTop/a;A=s.clientWidth/a,o=s.clientHeight/a;const l=u.offsetLeft,f=u.offsetTop;n=r-(l+t.offsets.left-e.x)+A/2,i=c-(f+t.offsets.top-e.y)+o/2}else n=e.x+e.width/2,i=e.y+e.height/2,A=e.width,o=e.height;return n=Math.floor(n),i=Math.floor(i),A=Math.floor(A),o=Math.floor(o),{centerX:n,centerY:i,width:A,height:o}},h=(t,e)=>{const r=Math.min(t.x1,t.x2),n=Math.min(t.y1,t.y2),i=Math.max(t.x1,t.x2),A=Math.max(t.y1,t.y2),s=[{x1:r,y1:n,x2:i,y2:n},{x1:r,y1:n,x2:r,y2:A},{x1:i,y1:n,x2:i,y2:A},{x1:r,y1:A,x2:i,y2:A}],u={x1:r,y1:n,x2:i,y2:A};return e.filter((t=>{const e=(0,a.getBounds)(t);return(0,a.isLayerLine)(t)?s.some((t=>(0,o.doLinesIntersect)(t,e)))||r<=e.x1&&r<=e.x2&&i>=e.x1&&i>=e.x2&&n<=e.y1&&n<=e.y2&&A>=e.y1&&A>=e.y2:(0,o.doBoxesIntersect)(u,e)}))}})),A.register("lnQPw",(function(e,r){t(e.exports,"doBoxesIntersect",(()=>n)),t(e.exports,"doLinesIntersect",(()=>i));const n=(t,e)=>(t.x1>=e.x1&&t.x1<=e.x2||t.x2>=e.x1&&t.x2<=e.x2||e.x1>=t.x1&&e.x1<=t.x2||e.x2>=t.x1&&e.x2<=t.x2)&&(t.y1>=e.y1&&t.y1<=e.y2||t.y2>=e.y1&&t.y2<=e.y2||e.y1>=t.y1&&e.y1<=t.y2||e.y2>=t.y1&&e.y2<=t.y2),i=(t,e)=>A(t.x1,t.y1,t.x2,t.y2,e.x1,e.y1,e.x2,e.y2),A=(t,e,r,n,i,A,s,u)=>{const c=o(t,e,r,n,i,A),l=o(t,e,r,n,s,u),f=o(i,A,s,u,t,e),h=o(i,A,s,u,r,n);return c!=l&&f!=h||0==c&&a(t,e,i,A,r,n)||0==l&&a(t,e,s,u,r,n)||0==f&&a(i,A,t,e,s,u)||0==h&&a(i,A,r,n,s,u)},o=(t,e,r,n,i,A)=>{const o=(n-e)*(i-r)-(r-t)*(A-n);return 0==o?0:o>0?1:2},a=(t,e,r,n,i,A)=>r<=Math.max(t,i)&&r>=Math.min(t,i)&&n<=Math.max(e,A)&&n>=Math.min(e,A)})),A.register("cTlMU",(function(r,n){t(r.exports,"generateLayerId",(()=>o)),t(r.exports,"isLayerLine",(()=>a)),t(r.exports,"isLayerBox",(()=>s)),t(r.exports,"getBounds",(()=>u));var i=A("5NXe8");const o=()=>e(i)();function a(t){return void 0!==t.line}function s(t){return void 0!==t.box}const u=t=>a(t)?t.line:{x1:t.box.x,y1:t.box.y,x2:t.box.x+t.box.width,y2:t.box.y+t.box.height}})),A.register("5NXe8",(function(t,e){var r=A("cZNlI"),n=A("eDtQD");t.exports=function(t,e,i){var A=e&&i||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var o=(t=t||{}).random||(t.rng||r)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e)for(var a=0;a<16;++a)e[A+a]=o[a];return e||n(o)}})),A.register("cZNlI",(function(t,e){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);t.exports=function(){return r(n),n}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}})),A.register("eDtQD",(function(t,e){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0,i=r;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}})),A.register("317M2",(function(e,r){t(e.exports,"flattenBounds",(()=>n));const n=t=>{const e=[];return t.forEach((t=>{t&&t.bounds&&t.bounds.forEach((r=>{e.push({...r,url:t.url})}))})),e}})),A.register("jzpMZ",(function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}})),A.register("6EXXg",(function(r,n){t(r.exports,"default",(()=>o));var i=A("2q4iO"),o=({fill:t="#fff",size:r=14})=>e(i).createElement("svg",{width:r,height:r,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e(i).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 1.4L12.6 0L7 5.6L1.4 0L0 1.4L5.6 7L0 12.6L1.4 14L7 8.4L12.6 14L14 12.6L8.4 7L14 1.4Z",fill:t}))})),A.register("gNZIH",(function(r,n){t(r.exports,"default",(()=>h));var i=A("lSPyV"),o=A("cW7yT"),a=A("cAnjR"),s=A("2q4iO"),u=A("ecsdh"),c=A("l6VXY"),l=A("6EXXg"),f=A("jHOBT");class h extends s.Component{componentDidMount(){window.setTimeout((()=>{this.setState({preAnimate:!1})}),10)}render(){if(!this.props.enabled)return null;let{outsideX:t,style:r}=this.props;const n=e(o)("modal",this.props.className,{"dim-bg":this.props.dimBg}),i=e(o)("modal-inner",{"pre-animate":this.state.preAnimate}),A=e(o)("close-wrapper",{"pre-animate":this.state.preAnimate});let a;this.props.fullscreen?(r=Object.assign({padding:0,background:"#f1f1d944"},r),a={position:"absolute",top:"20px",bottom:"20px",left:"20px",right:"20px",padding:"0",maxHeight:"100vh"}):a={maxWidth:d(this.props.width)},a.borderRadius=d(this.props.radius);const u=this.props.render?this.props.render({onClose:this.handleClose,parentRef:this.innerRef}):this.props.children;return e(s).createElement("div",{className:n,onClick:this.handleClose,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,style:r},t&&e(s).createElement("div",{className:A,style:a},e(s).createElement("button",{type:"button",className:"close",onClick:this.handleClose},e(s).createElement(f.default,null,"Close"),e(s).createElement(l.default,null))),e(s).createElement("div",{className:i,style:a,onClick:this.handleClickInner,ref:this.innerRef},u))}constructor(t){super(t),(0,i.default)(this,"handleClose",(t=>{t.preventDefault(),t.stopPropagation(),this.props.onToggle&&this.props.onToggle(!1),(0,c.default)(window,u.EVT_MODAL_CLOSE)})),(0,i.default)(this,"handleClickInner",(t=>this._stopPropagation(t))),(0,i.default)(this,"handleMouseDown",(t=>this._stopPropagation(t))),(0,i.default)(this,"handleMouseUp",(t=>this._stopPropagation(t,!0))),(0,i.default)(this,"_stopPropagation",((t,e=!1)=>{e&&p(t.target)||t.stopPropagation()})),this.state={preAnimate:!0},this.innerRef=e(s).createRef()}}(0,i.default)(h,"propTypes",{className:e(a).string,style:e(a).object,enabled:e(a).bool.isRequired,dimBg:e(a).bool.isRequired,onToggle:e(a).func,outsideX:e(a).bool.isRequired,width:e(a).number.isRequired,radius:e(a).number.isRequired,fullscreen:e(a).bool.isRequired,render:e(a).func}),(0,i.default)(h,"defaultProps",{enabled:!0,dimBg:!1,style:{},width:360,radius:10,outsideX:!1,fullscreen:!1});const p=t=>{for(;t;){if(t.dataset.modalIgnore)return!0;t=t.parentElement}return!1},d=t=>`${t}px`})),A.register("jHOBT",(function(r,n){t(r.exports,"default",(()=>a));var i=A("2q4iO");const o={position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",border:0};var a=({children:t})=>e(i).createElement("span",{style:o},t)})),A.register("94S9N",(function(r,n){t(r.exports,"default",(()=>l)),t(r.exports,"AnnounceImg",(()=>f));var i=A("2q4iO"),o=A("aMxb7"),a=A("7XREc"),s=A("hk2uP"),u=A("d7fk5"),c=A("cO2jJ");var l=()=>e(i).createElement(o.default,{className:"br",src:e(a),src2x:e(s),width:187,height:65,alt:"editor emojis"});const f=()=>e(i).createElement(o.default,{className:"br",src:e(u),src2x:e(c),width:187,height:49,alt:"announce emojis"})})),A.register("aMxb7",(function(r,n){t(r.exports,"default",(()=>s));var i=A("cAnjR"),o=A("2q4iO");const a=t=>{const r=Object.assign({},t);return r.src2x&&(r.srcSet=`${r.src2x} 2x`,delete r.src2x),e(o).createElement("img",r)};a.propTypes={src:e(i).string.isRequired,src2x:e(i).string,width:e(i).number,height:e(i).number};var s=a})),A.register("7XREc",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("kxavq")})),A.register("hk2uP",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("jHBm0")})),A.register("d7fk5",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("8ImwV")})),A.register("cO2jJ",(function(t,e){t.exports=A("9yYZW").getBundleURL("ap8M2")+A("5IuNT").resolve("fNnIo")})),A.register("k1nP3",(function(e,r){t(e.exports,"toPDF",(()=>c));var n=A("3HT2D"),i=A("2xkva"),o=A("alm1K"),a=A("7i7LO");const s="pt",u={[a.PDF_FORMAT_LETTER]:[612,792],[a.PDF_FORMAT_LEGAL]:[612,1008],[a.PDF_FORMAT_A4]:[595.28,841.89],[a.PDF_FORMAT_LETTER_LANDSCAPE]:[792,612],[a.PDF_FORMAT_LEGAL_LANDSCAPE]:[1008,612],[a.PDF_FORMAT_A4_LANDSCAPE]:[841.89,595.28]};async function c(t,e,r,A,c,p,d,g){d&&(d(0),await(0,o.sleep)(0)),r=r||1;const v=(A=A||a.PDF_FORMAT_LETTER)===a.PDF_FORMAT_FULL?0:20;let B,m,w=A===a.PDF_FORMAT_FULL;[B,m]=w?f(t[0].width,t[0].height+(g?g.height:0),r,v):u[A];const y=[B,m];let b=B-2*v,x=m-2*v;const C=new(0,n.jsPDF)({orientation:l(B,m),unit:s,format:y,compress:!0});let E=1,N=1,F=!1;const Q=t=>t*E;let U=1,S=g||null;const L=[0];let _=0;const H=t.reduce(((t,{height:e})=>t+e),0),T=t[0]?t[0].width:0,I=(new Date).getTime();for(let n=0;nb&&(E=b/a),N=Math.floor(x/E));const u=t[n+1];let p=0;for(;p(t={...t},["x","y","width","height"].forEach((e=>{t[e]=t[e]*r})),t))).filter((t=>0!==t.width&&0!==t.height&&t.x+t.width>0&&t.x0&&t.y{const a=[];for(let e=0;er&&a.push({pageNumber:e+1,yMin:t,yMax:n})}for(let t=0;t1&&(0===t||t===a.length-1);let l=e,f=r-s,h=n,p=i;if(f<0&&(p+=f,f=0),s+f+i>u&&(p=u-(s+f)),p/i<.2&&p<10&&c)continue;let d=Q(l),g=Q(f),B=Q(h),m=Q(p);C.setPage(o),C.link(d+v,g+v,B,m,{url:A})}}))}return C.output("blob")}const l=(t,e)=>e>=t?"portrait":"landscape",f=(t,e,r,n)=>{let[i,A]=[t,e].map((t=>t/r));if(i+2*n>14400){let t=i+2*n-14400,e=(i-t)/i;i-=t,A=Math.floor(A*e)}return A>14400&&(A=14400),[i,A].map((t=>t+2*n))},h=(t,e,r,n,i=!1)=>{let A=r,o=0;const a=e.getImageData(0,n-60,r,60),s=new Int32Array(a.data.buffer);for(let t=0;t<60;t++){const e=r*(60-t-1);let n=1;const i=e+r;for(let t=e+1;t{for(let r=0;r<=24;r+=8){const n=t>>r&255,i=e>>r&255;if(Math.abs(i-n)>4)return!0}return!1}})),A.register("3HT2D",(function(t,e){ +/** @license + * + * jsPDF - PDF Document creation from JavaScript + * Version 2.3.1 Built on 2021-03-08T15:44:11.674Z + * CommitID 00000000 + * + * Copyright (c) 2010-2020 James Hall , https://github.com/MrRio/jsPDF + * 2015-2020 yWorks GmbH, http://www.yworks.com + * 2015-2020 Lukas Holländer , https://github.com/HackbrettXXX + * 2016-2018 Aras Abbasi + * 2010 Aaron Spike, https://github.com/acspike + * 2012 Willow Systems Corporation, willow-systems.com + * 2012 Pablo Hess, https://github.com/pablohess + * 2012 Florian Jenett, https://github.com/fjenett + * 2013 Warren Weckesser, https://github.com/warrenweckesser + * 2013 Youssef Beddad, https://github.com/lifof + * 2013 Lee Driscoll, https://github.com/lsdriscoll + * 2013 Stefan Slonevskiy, https://github.com/stefslon + * 2013 Jeremy Morel, https://github.com/jmorel + * 2013 Christoph Hartmann, https://github.com/chris-rock + * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria + * 2014 James Makes, https://github.com/dollaruw + * 2014 Diego Casorran, https://github.com/diegocr + * 2014 Steven Spungin, https://github.com/Flamenco + * 2014 Kenneth Glassey, https://github.com/Gavvers + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Contributor(s): + * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, + * kim3er, mfo, alnorth, Flamenco + */ +var n=A("69fUi").Buffer;Object.defineProperty(t.exports,"__esModule",{value:!0});var i,o,a=A("fyZGr"),s=function(){return"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:this}(); +/** + * A class to parse color values + * @author Stoyan Stefanov + * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} + * @license Use it if you like it + */ +function u(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6));t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function c(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}i=A("5idgR"),o=A("19O4g");var l={log:c,warn:function(t){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):c.call(null,arguments))},error:function(t){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):c(t))}}; +/** + * @license + * Joseph Myers does not specify a particular license for his work. + * + * Author: Joseph Myers + * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js + * + * Modified by: Owen Leong + */function f(t,e){var r=t[0],n=t[1],i=t[2],A=t[3];r=p(r,n,i,A,e[0],7,-680876936),A=p(A,r,n,i,e[1],12,-389564586),i=p(i,A,r,n,e[2],17,606105819),n=p(n,i,A,r,e[3],22,-1044525330),r=p(r,n,i,A,e[4],7,-176418897),A=p(A,r,n,i,e[5],12,1200080426),i=p(i,A,r,n,e[6],17,-1473231341),n=p(n,i,A,r,e[7],22,-45705983),r=p(r,n,i,A,e[8],7,1770035416),A=p(A,r,n,i,e[9],12,-1958414417),i=p(i,A,r,n,e[10],17,-42063),n=p(n,i,A,r,e[11],22,-1990404162),r=p(r,n,i,A,e[12],7,1804603682),A=p(A,r,n,i,e[13],12,-40341101),i=p(i,A,r,n,e[14],17,-1502002290),r=d(r,n=p(n,i,A,r,e[15],22,1236535329),i,A,e[1],5,-165796510),A=d(A,r,n,i,e[6],9,-1069501632),i=d(i,A,r,n,e[11],14,643717713),n=d(n,i,A,r,e[0],20,-373897302),r=d(r,n,i,A,e[5],5,-701558691),A=d(A,r,n,i,e[10],9,38016083),i=d(i,A,r,n,e[15],14,-660478335),n=d(n,i,A,r,e[4],20,-405537848),r=d(r,n,i,A,e[9],5,568446438),A=d(A,r,n,i,e[14],9,-1019803690),i=d(i,A,r,n,e[3],14,-187363961),n=d(n,i,A,r,e[8],20,1163531501),r=d(r,n,i,A,e[13],5,-1444681467),A=d(A,r,n,i,e[2],9,-51403784),i=d(i,A,r,n,e[7],14,1735328473),r=g(r,n=d(n,i,A,r,e[12],20,-1926607734),i,A,e[5],4,-378558),A=g(A,r,n,i,e[8],11,-2022574463),i=g(i,A,r,n,e[11],16,1839030562),n=g(n,i,A,r,e[14],23,-35309556),r=g(r,n,i,A,e[1],4,-1530992060),A=g(A,r,n,i,e[4],11,1272893353),i=g(i,A,r,n,e[7],16,-155497632),n=g(n,i,A,r,e[10],23,-1094730640),r=g(r,n,i,A,e[13],4,681279174),A=g(A,r,n,i,e[0],11,-358537222),i=g(i,A,r,n,e[3],16,-722521979),n=g(n,i,A,r,e[6],23,76029189),r=g(r,n,i,A,e[9],4,-640364487),A=g(A,r,n,i,e[12],11,-421815835),i=g(i,A,r,n,e[15],16,530742520),r=v(r,n=g(n,i,A,r,e[2],23,-995338651),i,A,e[0],6,-198630844),A=v(A,r,n,i,e[7],10,1126891415),i=v(i,A,r,n,e[14],15,-1416354905),n=v(n,i,A,r,e[5],21,-57434055),r=v(r,n,i,A,e[12],6,1700485571),A=v(A,r,n,i,e[3],10,-1894986606),i=v(i,A,r,n,e[10],15,-1051523),n=v(n,i,A,r,e[1],21,-2054922799),r=v(r,n,i,A,e[8],6,1873313359),A=v(A,r,n,i,e[15],10,-30611744),i=v(i,A,r,n,e[6],15,-1560198380),n=v(n,i,A,r,e[13],21,1309151649),r=v(r,n,i,A,e[4],6,-145523070),A=v(A,r,n,i,e[11],10,-1120210379),i=v(i,A,r,n,e[2],15,718787259),n=v(n,i,A,r,e[9],21,-343485551),t[0]=C(r,t[0]),t[1]=C(n,t[1]),t[2]=C(i,t[2]),t[3]=C(A,t[3])}function h(t,e,r,n,i,A){return e=C(C(e,t),C(n,A)),C(e<>>32-i,r)}function p(t,e,r,n,i,A,o){return h(e&r|~e&n,t,e,i,A,o)}function d(t,e,r,n,i,A,o){return h(e&n|r&~n,t,e,i,A,o)}function g(t,e,r,n,i,A,o){return h(e^r^n,t,e,i,A,o)}function v(t,e,r,n,i,A,o){return h(r^(e|~n),t,e,i,A,o)}function B(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)f(n,m(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(f(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,f(n,i),n}function m(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}var w="0123456789abcdef".split("");function y(t){for(var e="",r=0;r<4;r++)e+=w[t>>8*r+4&15]+w[t>>8*r&15];return e}function b(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function x(t){return B(t).map(b).join("")}function C(t,e){return t+e&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e>0),new Array(A+1).join(i)),a=[],s=0;s<256;s++)a[s]=s;var u=0;for(s=0;s<256;s++){var c=a[s];u=(u+c+o.charCodeAt(s))%256,a[s]=a[u],a[u]=c}r=t,n=a}else a=n;var l=e.length,f=0,h=0,p="";for(s=0;s€/\f©þdSiz";let A=(e+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(A,o),this.P=-(1+(255^i)),this.encryptionKey=x(A+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=E(this.encryptionKey,this.padding)}function Q(t){if("object"!=typeof t)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,r,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[r,!!n],i},this.unsubscribe=function(t){for(var r in e)if(e[r][t])return delete e[r][t],0===Object.keys(e[r]).length&&delete e[r],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var A in e[r]){var o=e[r][A];try{o[0].apply(t,n)}catch(t){s.console&&l.error("jsPDF PubSub Error",t.message,t)}o[1]&&i.push(A)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function U(t){if(!(this instanceof U))return new U(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function S(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function L(t,e,r,n,i){if(!(this instanceof L))return new L(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,S.call(this,n,i)}function _(t,e,r,n,i){if(!(this instanceof _))return new _(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,S.call(this,n,i)}function H(t){var e,r="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],c=arguments[3],f=[],h=1,p=16,d="S",g=null;"object"==typeof(t=t||{})&&(r=t.orientation,i=t.unit||i,a=t.format||a,c=t.compress||t.compressPdf||c,null!==(g=t.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),h="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(p=t.floatPrecision),d=t.defaultPathOperation||"S"),f=t.filters||(!0===c?["FlateEncode"]:f),i=i||"mm",r=(""+(r||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,B={},m={internal:{},__private__:{}};m.__private__.PubSub=Q;var w="1.3",y=m.__private__.getPdfVersion=function(){return w};m.__private__.setPdfVersion=function(t){w=t};var b={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};m.__private__.getPageFormats=function(){return b};var x=m.__private__.getPageFormat=function(t){return b[t]};a=a||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},E=C.COMPAT;function N(){this.saveGraphicsState(),st(new Kt(xt,0,0,-xt,0,Br()*xt).toString()+" cm"),this.setFontSize(this.getFontSize()/xt),d="n",E=C.ADVANCED}function S(){this.restoreGraphicsState(),d="S",E=C.COMPAT}var T=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&t!==e&&(t=400==e?"italic"==t?"italic":"normal":700==e&&"italic"!==t?"bold":t+""+e),t};m.advancedAPI=function(t){var e=E===C.COMPAT;return e&&N.call(this),"function"!=typeof t||(t(this),e&&S.call(this)),this},m.compatAPI=function(t){var e=E===C.ADVANCED;return e&&S.call(this),"function"!=typeof t||(t(this),e&&N.call(this)),this},m.isAdvancedAPI=function(){return E===C.ADVANCED};var I,P=function(t){if(E!==C.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},O=m.roundToPrecision=m.__private__.roundToPrecision=function(t,r){var n=e||r;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};I=m.hpf=m.__private__.hpf="number"==typeof p?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return O(t,p)}:"smart"===p?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return O(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return O(t,16)};var k=m.f2=m.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return O(t,2)},R=m.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return O(t,3)},M=m.scale=m.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return E===C.COMPAT?t*xt:E===C.ADVANCED?t:void 0},D=function(t){return M(function(t){return E===C.COMPAT?Br()-t:E===C.ADVANCED?t:void 0}(t))};m.__private__.setPrecision=m.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var K,z="00000000000000000000000000000000",V=m.__private__.getFileId=function(){return z},j=m.__private__.setFileId=function(t){return z=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():z.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Ue=new F(g.userPermissions,g.userPassword,g.ownerPassword,z)),z};m.setFileId=function(t){return j(t),this},m.getFileId=function(){return V()};var q=m.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),A=[r,J(n),"'",J(i),"'"].join("");return["D:",t.getFullYear(),J(t.getMonth()+1),J(t.getDate()),J(t.getHours()),J(t.getMinutes()),J(t.getSeconds()),A].join("")},X=m.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),A=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,A,o,0)},G=m.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=q(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return K=e},Y=m.__private__.getCreationDate=function(t){var e=K;return"jsDate"===t&&(e=X(K)),e};m.setCreationDate=function(t){return G(t),this},m.getCreationDate=function(t){return Y(t)};var W,J=m.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},Z=m.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},$=0,tt=[],et=[],rt=0,nt=[],it=[],At=!1,ot=et;m.__private__.setCustomOutputDestination=function(t){At=!0,ot=t};var at=function(t){At||(ot=t)};m.__private__.resetCustomOutputDestination=function(){At=!1,ot=et};var st=m.__private__.out=function(t){return t=t.toString(),rt+=t.length+1,ot.push(t),ot},ut=m.__private__.write=function(t){return st(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},ct=m.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},lt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];m.__private__.getStandardFonts=function(){return lt};var ft=t.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(t){return ft=E===C.ADVANCED?t/xt:t,this};var ht,pt=m.__private__.getFontSize=m.getFontSize=function(){return E===C.COMPAT?ft:ft*xt},dt=t.R2L||!1;m.__private__.setR2L=m.setR2L=function(t){return dt=t,this},m.__private__.getR2L=m.getR2L=function(){return dt};var gt,vt=m.__private__.setZoomMode=function(t){var e=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(t))ht=t;else if(isNaN(t)){if(-1===e.indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');ht=t}else ht=parseInt(t,10)};m.__private__.getZoomMode=function(){return ht};var Bt,mt=m.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');gt=t};m.__private__.getPageMode=function(){return gt};var wt=m.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');Bt=t};m.__private__.getLayoutMode=function(){return Bt},m.__private__.setDisplayMode=m.setDisplayMode=function(t,e,r){return vt(t),wt(e),mt(r),this};var yt={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(t){if(-1===Object.keys(yt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return yt[t]},m.__private__.getDocumentProperties=function(){return yt},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(t){for(var e in yt)yt.hasOwnProperty(e)&&t[e]&&(yt[e]=t[e]);return this},m.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(yt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return yt[t]=e};var bt,xt,Ct,Et,Nt,Ft={},Qt={},Ut=[],St={},Lt={},_t={},Ht={},Tt=null,It=0,Pt=[],Ot=new Q(m),kt=t.hotfixes||[],Rt={},Mt={},Dt=[],Kt=function(t,e,r,n,i,A){if(!(this instanceof Kt))return new Kt(t,e,r,n,i,A);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(A)&&(A=0),this._matrix=[t,e,r,n,i,A]};Object.defineProperty(Kt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Kt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Kt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Kt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Kt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Kt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Kt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Kt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Kt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Kt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Kt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Kt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Kt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Kt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Kt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Kt.prototype,"isIdentity",{get:function(){return 1===this.sx&&(0===this.shy&&(0===this.shx&&(1===this.sy&&(0===this.tx&&0===this.ty))))}}),Kt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(I).join(t)},Kt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,A=t.tx*this.sx+t.ty*this.shx+this.tx,o=t.tx*this.shy+t.ty*this.sy+this.ty;return new Kt(e,r,n,i,A,o)},Kt.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,A=this.ty,o=Math.sqrt(t*t+e*e),a=(t/=o)*r+(e/=o)*n;r-=t*a,n-=e*a;var s=Math.sqrt(r*r+n*n);return a/=s,t*(n/=s)>16&255,n=s>>8&255,i=255&s}if(void 0===n||void 0===A&&r===n&&n===i)if("string"==typeof r)e=r+" "+o[0];else if(2===t.precision)e=k(r/255)+" "+o[0];else e=R(r/255)+" "+o[0];else if(void 0===A||"object"==typeof A){if(A&&!isNaN(A.a)&&0===A.a)return e=["1.","1.","1.",o[1]].join(" ");if("string"==typeof r)e=[r,n,i,o[1]].join(" ");else if(2===t.precision)e=[k(r/255),k(n/255),k(i/255),o[1]].join(" ");else e=[R(r/255),R(n/255),R(i/255),o[1]].join(" ")}else if("string"==typeof r)e=[r,n,i,A,o[2]].join(" ");else if(2===t.precision)e=[k(r),k(n),k(i),k(A),o[2]].join(" ");else e=[R(r),R(n),R(i),R(A),o[2]].join(" ");return e},ee=m.__private__.getFilters=function(){return f},re=m.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ee(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,A=e.length,o=t.objectId,a=function(t){return t};if(null!==g&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(a=Ue.encryptor(o,0));var s={};!0===r&&(r=["FlateEncode"]);var u=t.additionalKeyValues||[],c=(s=void 0!==H.API.processDataByFilters?H.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==s.data.length&&(u.push({key:"Length",value:s.data.length}),!0===i&&u.push({key:"Length1",value:A})),0!=c.length)if(c.split("/").length-1==1)u.push({key:"Filter",value:c});else{u.push({key:"Filter",value:"["+c+"]"});for(var l=0;l>"),0!==s.data.length&&(st("stream"),st(a(s.data)),st("endstream"))},ne=m.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Yt(n,!0),st("<>"),st("endobj");var A=r.join("\n");return E===C.ADVANCED&&(A+="\nQ"),Yt(i,!0),re({data:A,filters:ee(),objectId:i}),st("endobj"),n},ie=m.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=It;t++)Pt[t].objId=Gt(),Pt[t].contentsObjId=Gt();for(t=1;t<=It;t++)r.push(ne({number:t,data:it[t],objId:Pt[t].objId,contentsObjId:Pt[t].contentsObjId,mediaBox:Pt[t].mediaBox,cropBox:Pt[t].cropBox,bleedBox:Pt[t].bleedBox,trimBox:Pt[t].trimBox,artBox:Pt[t].artBox,userUnit:Pt[t].userUnit,rootDictionaryObjId:Jt,resourceDictionaryObjId:Zt}));Yt(Jt,!0),st("<>"),st("endobj"),Ot.publish("postPutPages")},Ae=function(t){t.objectNumber=Xt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[I(t.x),I(t.y),I(t.x+t.width),I(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");re({data:r,additionalKeyValues:e,objectId:t.objectNumber}),st("endobj")},oe=function(t,e){e||(e=21);var r=Xt(),n=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var A={offset:0,color:t[0].color};t.unshift(A)}if(1!=t[t.length-1].offset){var o={offset:1,color:t[t.length-1].color};t.push(o)}for(var a="",s=0,u=0;ut[s+1].offset;)s++;var c=t[s].offset,l=(r-c)/(t[s+1].offset-c),f=t[s].color,h=t[s+1].color;a+=Z(Math.round((1-l)*f[0]+l*h[0]).toString(16))+Z(Math.round((1-l)*f[1]+l*h[1]).toString(16))+Z(Math.round((1-l)*f[2]+l*h[2]).toString(16))}return a.trim()}(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),re({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),st("endobj"),t.objectNumber=Xt(),st("<< /ShadingType "+t.type),st("/ColorSpace /DeviceRGB");var A="/Coords ["+I(parseFloat(t.coords[0]))+" "+I(parseFloat(t.coords[1]))+" ";2===t.type?A+=I(parseFloat(t.coords[2]))+" "+I(parseFloat(t.coords[3])):A+=I(parseFloat(t.coords[2]))+" "+I(parseFloat(t.coords[3]))+" "+I(parseFloat(t.coords[4]))+" "+I(parseFloat(t.coords[5])),st(A+="]"),t.matrix&&st("/Matrix ["+t.matrix.toString()+"]"),st("/Function "+r+" 0 R"),st("/Extend [true true]"),st(">>"),st("endobj")},ae=function(t,e){var r=Gt(),n=Xt();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(I).join(" ")+"]"}),i.push({key:"XStep",value:I(t.xStep)}),i.push({key:"YStep",value:I(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),re({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),st("endobj")},se=function(t){for(var e in t.objectNumber=Xt(),st("<<"),t)switch(e){case"opacity":st("/ca "+k(t[e]));break;case"stroke-opacity":st("/CA "+k(t[e]))}st(">>"),st("endobj")},ue=function(t){Yt(t.resourcesOid,!0),st("<<"),st("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in st("/Font <<"),Ft)Ft.hasOwnProperty(t)&&(!1===v||!0===v&&B.hasOwnProperty(t))&&st("/"+t+" "+Ft[t].objectNumber+" 0 R");st(">>")}(),function(){if(Object.keys(St).length>0){for(var t in st("/Shading <<"),St)St.hasOwnProperty(t)&&St[t]instanceof L&&St[t].objectNumber>=0&&st("/"+t+" "+St[t].objectNumber+" 0 R");Ot.publish("putShadingPatternDict"),st(">>")}}(),function(t){if(Object.keys(St).length>0){for(var e in st("/Pattern <<"),St)St.hasOwnProperty(e)&&St[e]instanceof m.TilingPattern&&St[e].objectNumber>=0&&St[e].objectNumber>")}}(t.objectOid),function(){if(Object.keys(_t).length>0){var t;for(t in st("/ExtGState <<"),_t)_t.hasOwnProperty(t)&&_t[t].objectNumber>=0&&st("/"+t+" "+_t[t].objectNumber+" 0 R");Ot.publish("putGStateDict"),st(">>")}}(),function(){for(var t in st("/XObject <<"),Rt)Rt.hasOwnProperty(t)&&Rt[t].objectNumber>=0&&st("/"+t+" "+Rt[t].objectNumber+" 0 R");Ot.publish("putXobjectDict"),st(">>")}(),st(">>"),st("endobj")},ce=function(){var t=[];!function(){for(var t in Ft)Ft.hasOwnProperty(t)&&(!1===v||!0===v&&B.hasOwnProperty(t))&&(e=Ft[t],r=void 0,r=function(t,e){return-1!==t.indexOf(" ")?"("+he(t,e)+")":he(t,e)},Ot.publish("putFont",{font:e,out:st,newObject:Xt,putStream:re,pdfEscapeWithNeededParanthesis:r}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xt(),st("<<"),st("/Type /Font"),st("/BaseFont /"+r(e.postScriptName)),st("/Subtype /Type1"),"string"==typeof e.encoding&&st("/Encoding /"+e.encoding),st("/FirstChar 32"),st("/LastChar 255"),st(">>"),st("endobj")));var e,r}(),function(){var t;for(t in _t)_t.hasOwnProperty(t)&&se(_t[t])}(),function(){for(var t in Rt)Rt.hasOwnProperty(t)&&Ae(Rt[t])}(),function(t){var e;for(e in St)St.hasOwnProperty(e)&&(St[e]instanceof L?oe(St[e]):St[e]instanceof _&&ae(St[e],t))}(t),Ot.publish("putResources"),t.forEach(ue),ue({resourcesOid:Zt,objectOid:Number.MAX_SAFE_INTEGER}),Ot.publish("postPutResources")},le=function(t){Qt[t.fontName]=Qt[t.fontName]||{},Qt[t.fontName][t.fontStyle]=t.id},fe=function(t,e,r,n,i){var A={id:"F"+(Object.keys(Ft).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Ot.publish("addFont",{font:A,instance:this}),Ft[A.id]=A,le(A),A.id},he=m.__private__.pdfEscape=m.pdfEscape=function(t,e){return function(t,e){var r,n,i,A,o,a,s,u,c;if(i=(e=e||{}).sourceEncoding||"Unicode",o=e.outputEncoding,(e.autoencode||o)&&Ft[bt].metadata&&Ft[bt].metadata[i]&&Ft[bt].metadata[i].encoding&&(A=Ft[bt].metadata[i].encoding,!o&&Ft[bt].encoding&&(o=Ft[bt].encoding),!o&&A.codePages&&(o=A.codePages[0]),"string"==typeof o&&(o=A[o]),o)){for(s=!1,a=[],r=0,n=t.length;r>8&&(s=!0);t=a.join("")}for(r=t.length;void 0===s&&0!==r;)t.charCodeAt(r-1)>>8&&(s=!0),r--;if(!s)return t;for(a=e.noBOM?[]:[254,255],r=0,n=t.length;r>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(c),a.push(u-(c<<8))}return String.fromCharCode.apply(void 0,a)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=m.__private__.beginPage=function(t){it[++It]=[],Pt[It]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},ve(It),at(it[W])},de=function(t,e){var n,i,A;switch(r=e||r,"string"==typeof t&&(n=x(t.toLowerCase()),Array.isArray(n)&&(i=n[0],A=n[1])),Array.isArray(t)&&(i=t[0]*xt,A=t[1]*xt),isNaN(i)&&(i=a[0],A=a[1]),(i>14400||A>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),A=Math.min(14400,A)),a=[i,A],r.substr(0,1)){case"l":A>i&&(a=[A,i]);break;case"p":i>A&&(a=[A,i])}pe(a),Ge(Xe),st(rr),0!==sr&&st(sr+" J"),0!==ur&&st(ur+" j"),Ot.publish("addPage",{pageNumber:It})},ge=function(t){t>0&&t<=It&&(it.splice(t,1),Pt.splice(t,1),It--,W>It&&(W=It),this.setPage(W))},ve=function(t){t>0&&t<=It&&(W=t)},Be=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return it.length-1},me=function(t,e,r){var n,i=void 0;return r=r||{},t=void 0!==t?t:Ft[bt].fontName,e=void 0!==e?e:Ft[bt].fontStyle,n=t.toLowerCase(),void 0!==Qt[n]&&void 0!==Qt[n][e]?i=Qt[n][e]:void 0!==Qt[t]&&void 0!==Qt[t][e]?i=Qt[t][e]:!1===r.disableWarning&&l.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Qt.times[e])&&(i=Qt.times.normal),i},we=m.__private__.putInfo=function(){var t=Xt(),e=function(t){return t};for(var r in null!==g&&(e=Ue.encryptor(t,0)),st("<<"),st("/Producer ("+he(e("jsPDF "+H.version))+")"),yt)yt.hasOwnProperty(r)&&yt[r]&&st("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+he(e(yt[r]))+")");st("/CreationDate ("+he(e(K))+")"),st(">>"),st("endobj")},ye=m.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Jt;switch(Xt(),st("<<"),st("/Type /Catalog"),st("/Pages "+e+" 0 R"),ht||(ht="fullwidth"),ht){case"fullwidth":st("/OpenAction [3 0 R /FitH null]");break;case"fullheight":st("/OpenAction [3 0 R /FitV null]");break;case"fullpage":st("/OpenAction [3 0 R /Fit]");break;case"original":st("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+ht;"%"===r.substr(r.length-1)&&(ht=parseInt(ht)/100),"number"==typeof ht&&st("/OpenAction [3 0 R /XYZ null null "+k(ht)+"]")}switch(Bt||(Bt="continuous"),Bt){case"continuous":st("/PageLayout /OneColumn");break;case"single":st("/PageLayout /SinglePage");break;case"two":case"twoleft":st("/PageLayout /TwoColumnLeft");break;case"tworight":st("/PageLayout /TwoColumnRight")}gt&&st("/PageMode /"+gt),Ot.publish("putCatalog"),st(">>"),st("endobj")},be=m.__private__.putTrailer=function(){st("trailer"),st("<<"),st("/Size "+($+1)),st("/Root "+$+" 0 R"),st("/Info "+($-1)+" 0 R"),null!==g&&st("/Encrypt "+Ue.oid+" 0 R"),st("/ID [ <"+z+"> <"+z+"> ]"),st(">>")},xe=m.__private__.putHeader=function(){st("%PDF-"+w),st("%ºß¬à")},Ce=m.__private__.putXRef=function(){var t="0000000000";st("xref"),st("0 "+($+1)),st("0000000000 65535 f ");for(var e=1;e<=$;e++){"function"==typeof tt[e]?st((t+tt[e]()).slice(-10)+" 00000 n "):void 0!==tt[e]?st((t+tt[e]).slice(-10)+" 00000 n "):st("0000000000 00000 n ")}},Ee=m.__private__.buildDocument=function(){$=0,rt=0,et=[],tt=[],nt=[],Jt=Gt(),Zt=Gt(),at(et),Ot.publish("buildDocument"),xe(),ie(),function(){Ot.publish("putAdditionalObjects");for(var t=0;t"),st("/O <"+Ue.toHexString(Ue.O)+">"),st("/P "+Ue.P),st(">>"),st("endobj")),we(),ye();var t=rt;return Ce(),be(),st("startxref"),st(""+t),st("%%EOF"),at(it[W]),et.join("\n")},Ne=m.__private__.getBlob=function(t){return new Blob([ct(t)],{type:"application/pdf"})},Fe=m.output=m.__private__.output=(qt=function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return Ee();case"save":m.save(e.filename);break;case"arraybuffer":return ct(Ee());case"blob":return Ne(Ee());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Ne(Ee()))||void 0;l.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=Ee();try{r=o(n)}catch(t){r=o(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+e.filename+";base64,"+r;case"datauri":case"dataurl":return s.document.location.href=this.output("datauristring",e);default:return null}},qt.foo=function(){try{return qt.apply(this,arguments)}catch(r){var t=r.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var e="Error in function "+t.split("\n")[0].split("<")[0]+": "+r.message;if(!s.console)throw new Error(e);s.console.error(e,r),s.alert&&alert(e)}},qt.foo.bar=qt,qt.foo),Qe=function(t){return!0===Array.isArray(kt)&&kt.indexOf(t)>-1};switch(i){case"pt":xt=1;break;case"mm":xt=72/25.4;break;case"cm":xt=72/2.54;break;case"in":xt=72;break;case"px":xt=1==Qe("px_scaling")?.75:96/72;break;case"pc":case"em":xt=12;break;case"ex":xt=6;break;default:throw new Error("Invalid unit: "+i)}var Ue=null;G(),j();var Se=m.__private__.getPageInfo=m.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Pt[t].objId,pageNumber:t,pageContext:Pt[t]}},Le=m.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in Pt)if(Pt[e].objId===t)break;return Se(e)},_e=m.__private__.getCurrentPageInfo=m.getCurrentPageInfo=function(){return{objId:Pt[W].objId,pageNumber:W,pageContext:Pt[W]}};m.addPage=function(){return de.apply(this,arguments),this},m.setPage=function(){return ve.apply(this,arguments),at.call(this,it[W]),this},m.insertPage=function(t){return this.addPage(),this.movePage(W,t),this},m.movePage=function(t,e){var r,n;if(t>e){r=it[t],n=Pt[t];for(var i=t;i>e;i--)it[i]=it[i-1],Pt[i]=Pt[i-1];it[e]=r,Pt[e]=n,this.setPage(e)}else if(t0&&("string"==typeof t?t=h.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(h.splitTextToSize(e,c))}),[]))),A={text:t,x:e,y:r,options:n,mutex:{pdfEscape:he,activeFontKey:bt,fonts:Ft,activeFontSize:ft}},Ot.publish("preProcessText",A),t=A.text,a=(n=A.options).angle,f instanceof Kt==!1&&a&&"number"==typeof a){a*=Math.PI/180,0===n.rotationDirection&&(a=-a),E===C.ADVANCED&&(a=-a);var _=Math.cos(a),H=Math.sin(a);f=new Kt(_,H,-H,_,0,0)}else a&&a instanceof Kt&&(f=a);E!==C.ADVANCED||f||(f=Vt),void 0!==(u=n.charSpace||or)&&(g+=I(M(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0));n.lang;var T=-1,O=void 0!==n.renderingMode?n.renderingMode:n.stroke,k=h.internal.getCurrentPageInfo().pageContext;switch(O){case 0:case!1:case"fill":T=0;break;case 1:case!0:case"stroke":T=1;break;case 2:case"fillThenStroke":T=2;break;case 3:case"invisible":T=3;break;case 4:case"fillAndAddForClipping":T=4;break;case 5:case"strokeAndAddPathForClipping":T=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":T=6;break;case 7:case"addToPathForClipping":T=7}var R=void 0!==k.usedRenderingMode?k.usedRenderingMode:-1;-1!==T?g+=T+" Tr\n":-1!==R&&(g+="0 Tr\n"),-1!==T&&(k.usedRenderingMode=T),s=n.align||"left";var D,K=ft*v,z=h.internal.pageSize.getWidth(),V=Ft[bt];u=n.charSpace||or,c=n.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},n.flags);var j=[];if("[object Array]"===Object.prototype.toString.call(t)){var q;o=y(t),"left"!==s&&(D=o.map((function(t){return h.getStringUnitWidth(t,{font:V,charSpace:u,fontSize:ft,doKerning:!1})*ft/m})));var X,G=0;if("right"===s){e-=D[0],t=[],U=o.length;for(var Y=0;Y":")"),tt=parseFloat(o[ot][1]),et=parseFloat(o[ot][2]);break;case 0:rt=(d?"<":"(")+o[ot]+(d?">":")"),tt=Ze(e),et=$e(r)}void 0!==j&&void 0!==j[ot]&&(it=j[ot]+" Tw\n"),0===ot?t.push(it+At(tt,et,f)+rt):0===nt?t.push(it+rt):1===nt&&t.push(it+At(tt,et,f)+rt)}t=0===nt?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var at="BT\n/";return at+=bt+" "+ft+" Tf\n",at+=I(ft*v)+" TL\n",at+=ir+"\n",at+=g,at+=t,st(at+="ET"),B[bt]=!0,h};var He=m.__private__.clip=m.clip=function(t){return st("evenodd"===t?"W*":"W"),this};m.clipEvenOdd=function(){return He("evenodd")},m.__private__.discardPath=m.discardPath=function(){return st("n"),this};var Te=m.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};m.__private__.setDefaultPathOperation=m.setDefaultPathOperation=function(t){return Te(t)&&(d=t),this};var Ie=m.__private__.getStyle=m.getStyle=function(t){var e=d;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},Pe=m.close=function(){return st("h"),this};m.stroke=function(){return st("S"),this},m.fill=function(t){return Oe("f",t),this},m.fillEvenOdd=function(t){return Oe("f*",t),this},m.fillStroke=function(t){return Oe("B",t),this},m.fillStrokeEvenOdd=function(t){return Oe("B*",t),this};var Oe=function(t,e){"object"==typeof e?Me(e,t):st(t)},ke=function(t){null===t||E===C.ADVANCED&&void 0===t||(t=Ie(t),st(t))};function Re(t,e,r,n,i){var A=new _(e||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);A.stream=this.stream;var o=t+"$$"+this.cloneIndex+++"$$";return jt(o,A),A}var Me=function(t,e){var r=Lt[t.key],n=St[r];if(n instanceof L)st("q"),st(De(e)),n.gState&&m.setGState(n.gState),st(t.matrix.toString()+" cm"),st("/"+r+" sh"),st("Q");else if(n instanceof _){var i=new Kt(1,0,0,-1,0,Br());t.matrix&&(i=i.multiply(t.matrix||Vt),r=Re.call(n,t.key,t.boundingBox,t.xStep,t.yStep,i).id),st("q"),st("/Pattern cs"),st("/"+r+" scn"),n.gState&&m.setGState(n.gState),st(e),st("Q")}},De=function(t){switch(t){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Ke=m.moveTo=function(t,e){return st(I(M(t))+" "+I(D(e))+" m"),this},ze=m.lineTo=function(t,e){return st(I(M(t))+" "+I(D(e))+" l"),this},Ve=m.curveTo=function(t,e,r,n,i,A){return st([I(M(t)),I(D(e)),I(M(r)),I(D(n)),I(M(i)),I(D(A)),"c"].join(" ")),this};m.__private__.line=m.line=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Te(i))throw new Error("Invalid arguments passed to jsPDF.line");return E===C.COMPAT?this.lines([[r-t,n-e]],t,e,[1,1],i||"S"):this.lines([[r-t,n-e]],t,e,[1,1]).stroke()},m.__private__.lines=m.lines=function(t,e,r,n,i,A){var o,a,s,u,c,l,f,h,p,d,g,v;if("number"==typeof t&&(v=r,r=e,e=t,t=v),n=n||[1,1],A=A||!1,isNaN(e)||isNaN(r)||!Array.isArray(t)||!Array.isArray(n)||!Te(i)||"boolean"!=typeof A)throw new Error("Invalid arguments passed to jsPDF.lines");for(Ke(e,r),o=n[0],a=n[1],u=t.length,d=e,g=r,s=0;s>0&255,t>>8&255,t>>16&255,t>>24&255)},F.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},F.prototype.hexToBytes=function(t){for(var e=[],r=0;r>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return E(r,t)}},U.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||typeof t!=typeof this)return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return 0===n},H.API={events:[]},H.version="2.3.1";var T=H.API,I=1,P=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},O=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},k=function(t){return t.toFixed(2)},R=function(t){return t.toFixed(5)};T.__acroform__={};var M=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},D=function(t){return t*I},K=function(t){var e=new ot,r=wt.internal.getHeight(t)||0,n=wt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(k(n)),Number(k(r))],e},z=T.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<0;){e="",A--;var u,c,l=Z("3",t,A).height,f=t.multiline?o-A:(o-l)/2,h=f+=2,p=0,d=0;if(A<=0){e="(...) Tj\n",e+="% Width of Text: "+Z(e,t,A=12).width+", FieldWidth:"+a+"\n";break}var g="",v=0;e:for(var B in i)if(i.hasOwnProperty(B)){g=" "==(g+=i[B]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var m=parseInt(B),w=s(m,g,A),y=B>=i.length-1;if(w&&!y){g+=" ";continue}if(w||y){if(y)d=m;else if(t.multiline&&(l+2)*(v+2)+2>o)continue t}else{if(!t.multiline)continue t;if((l+2)*(v+2)+2>o)continue t;d=m}for(var b="",x=p;x<=d;x++)b+=i[x]+" ";switch(b=" "==b.substr(b.length-1)?b.substr(0,b.length-1):b,c=Z(b,t,A).width,t.textAlign){case"right":u=a-c-2;break;case"center":u=(a-c)/2;break;default:u=2}e+=k(u)+" "+k(h)+" Td\n",e+="("+P(b)+") Tj\n",e+=-k(u)+" 0 Td\n",h=-(A+2),c=0,p=d+1,v++,g="";continue e}break}return n.text=e,n.fontSize=A,n},Z=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},$={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},tt=function(t,e){var r={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===r.type&&t.object===r.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},et=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,i=t[r];e.internal.newObjectDeferredBegin(i.objId,!0),"object"==typeof i&&"function"==typeof i.putStream&&i.putStream(),delete t[n]}},rt=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(st.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify($)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");I=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new at,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){!function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}(t)})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n.objId=void 0,n.hasAnnotation&&tt(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var r=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var i=t[n],A=[],o=i.Rect;if(i.Rect&&(i.Rect=Y(i.Rect,e)),e.internal.newObjectDeferredBegin(i.objId,!0),i.DA=wt.createDefaultAppearanceStream(i),"object"==typeof i&&"function"==typeof i.getKeyValueListForStream&&(A=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=W(i);A.push({key:"AP",value:"<>"}),e.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var s="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var c=i.appearanceStreamContent[u];if(s+="/"+u+" ",s+="<<",Object.keys(c).length>=1||Array.isArray(c)){for(var n in c)if(c.hasOwnProperty(n)){var l=c[n];"function"==typeof l&&(l=l.call(e,i)),s+="/"+n+" "+l+" ",e.internal.acroformPlugin.xForms.indexOf(l)>=0||e.internal.acroformPlugin.xForms.push(l)}}else"function"==typeof(l=c)&&(l=l.call(e,i)),s+="/"+n+" "+l,e.internal.acroformPlugin.xForms.indexOf(l)>=0||e.internal.acroformPlugin.xForms.push(l);s+=">>"}A.push({key:"AP",value:"<<\n"+s+">>"})}e.internal.putStream({additionalKeyValues:A,objectId:i.objId}),e.internal.out("endobj")}r&&et(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}},nt=T.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(t){return t};if(Array.isArray(t)){for(var i="[",A=0;A0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+P(e(t))+")"}},set:function(e){t=e}})};M(at,At);var st=function(){At.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(t,3))},set:function(e){!0===Boolean(e)?this.F=X(t,3):this.F=G(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');e=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(t){r[3]=t}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof gt)return;i="FieldObject"+st.FieldNum++}var t=function(t){return t};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+P(t(i))+")"},set:function(t){i=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(t){i=t}});var A="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){A=t}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(t){o=t}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var s=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===s?50/I:s},set:function(t){s=t}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(t){u=t}});var c="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!c||this instanceof gt||this instanceof Bt))return it(c,this.objId,this.scope)},set:function(t){t=t.toString(),c=t}});var l=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(l)return this instanceof ht==!1?it(l,this.objId,this.scope):l},set:function(t){t=t.toString(),l=this instanceof ht==!1?"("===t.substr(0,1)?O(t.substr(1,t.length-2)):O(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ht==!0?O(l.substr(1,l.length-1)):l},set:function(t){t=t.toString(),l=this instanceof ht==!0?"/"+t:t}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ht==!1?it(f,this.objId,this.scope):f},set:function(t){t=t.toString(),f=this instanceof ht==!1?"("===t.substr(0,1)?O(t.substr(1,t.length-2)):O(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ht==!0?O(f.substr(1,f.length-1)):f},set:function(t){t=t.toString(),f=this instanceof ht==!0?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(t){t=Boolean(t),p=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(t){h=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,1):this.Ff=G(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,2):this.Ff=G(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,3):this.Ff=G(this.Ff,3)}});var d=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==d)return d},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');d=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(d){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:d=2;break;case"center":case 1:d=1;break;default:d=0}}})};M(st,At);var ut=function(){st.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return nt(e,this.objId,this.scope)},set:function(t){var r,n;n=[],"string"==typeof(r=t)&&(n=function(t,e,r){r||(r=1);for(var n,i=[];n=e.exec(t);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,18):this.Ff=G(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=X(this.Ff,19):this.Ff=G(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=X(this.Ff,20),e.sort()):this.Ff=G(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,22):this.Ff=G(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,27):this.Ff=G(this.Ff,27)}}),this.hasAppearanceStream=!1};M(ut,st);var ct=function(){ut.call(this),this.fontName="helvetica",this.combo=!1};M(ct,ut);var lt=function(){ct.call(this),this.combo=!0};M(lt,ct);var ft=function(){lt.call(this),this.edit=!0};M(ft,lt);var ht=function(){st.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,15):this.Ff=G(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,16):this.Ff=G(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,17):this.Ff=G(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,26):this.Ff=G(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+P(t(e[r]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"==typeof t&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};M(ht,st);var pt=function(){ht.call(this),this.pushButton=!0};M(pt,ht);var dt=function(){ht.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};M(dt,ht);var gt=function(){var t,e;st.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,r=[];for(e in r.push("<<"),n)r.push("/"+e+" ("+P(t(n[e]))+")");return r.push(">>"),r.join("\n")},set:function(t){"object"==typeof t&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=wt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};M(gt,st),dt.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},dt.prototype.createOption=function(t){var e=new gt;return e.Parent=this,e.optionName=t,this.Kids.push(e),yt.call(this.scope,e),e};var vt=function(){ht.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=wt.CheckBox.createAppearanceStream()};M(vt,ht);var Bt=function(){st.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,13):this.Ff=G(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,21):this.Ff=G(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,24):this.Ff=G(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,25):this.Ff=G(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,26):this.Ff=G(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};M(Bt,st);var mt=function(){Bt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=X(this.Ff,14):this.Ff=G(this.Ff,14)}}),this.password=!0};M(mt,Bt);var wt={CheckBox:{createAppearanceStream:function(){return{N:{On:wt.CheckBox.YesNormal},D:{On:wt.CheckBox.YesPushDown,Off:wt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),A=J(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+k(wt.internal.getWidth(t))+" "+k(wt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+k(A.fontSize)+" Tf "+i),r.push("BT"),r.push(A.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=K(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],A=wt.internal.getHeight(t),o=wt.internal.getWidth(t),a=J(t,t.caption);return i.push("1 g"),i.push("0 0 "+k(o)+" "+k(A)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+k(o-1)+" "+k(A-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+k(a.fontSize)+" Tf "+n),i.push(a.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+k(wt.internal.getWidth(t))+" "+k(wt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:wt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=wt.RadioButton.Circle.YesNormal,e.D[t]=wt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=K(t);e.scope=t.scope;var r=[],n=wt.internal.getWidth(t)<=wt.internal.getHeight(t)?wt.internal.getWidth(t)/4:wt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=wt.internal.Bezier_C,A=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+R(wt.internal.getWidth(t)/2)+" "+R(wt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+A+" "+A+" "+n+" 0 "+n+" c"),r.push("-"+A+" "+n+" -"+n+" "+A+" -"+n+" 0 c"),r.push("-"+n+" -"+A+" -"+A+" -"+n+" 0 -"+n+" c"),r.push(A+" -"+n+" "+n+" -"+A+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[],n=wt.internal.getWidth(t)<=wt.internal.getHeight(t)?wt.internal.getWidth(t)/4:wt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),A=Number((i*wt.internal.Bezier_C).toFixed(5)),o=Number((n*wt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+R(wt.internal.getWidth(t)/2)+" "+R(wt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),r.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),r.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),r.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+R(wt.internal.getWidth(t)/2)+" "+R(wt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[],n=wt.internal.getWidth(t)<=wt.internal.getHeight(t)?wt.internal.getWidth(t)/4:wt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),A=Number((i*wt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+R(wt.internal.getWidth(t)/2)+" "+R(wt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),r.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),r.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),r.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:wt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=wt.RadioButton.Cross.YesNormal,e.D[t]=wt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=K(t);e.scope=t.scope;var r=[],n=wt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+k(wt.internal.getWidth(t)-2)+" "+k(wt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(k(n.x1.x)+" "+k(n.x1.y)+" m"),r.push(k(n.x2.x)+" "+k(n.x2.y)+" l"),r.push(k(n.x4.x)+" "+k(n.x4.y)+" m"),r.push(k(n.x3.x)+" "+k(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=K(t);e.scope=t.scope;var r=wt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+k(wt.internal.getWidth(t))+" "+k(wt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+k(wt.internal.getWidth(t)-2)+" "+k(wt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(k(r.x1.x)+" "+k(r.x1.y)+" m"),n.push(k(r.x2.x)+" "+k(r.x2.y)+" l"),n.push(k(r.x4.x)+" "+k(r.x4.y)+" m"),n.push(k(r.x3.x)+" "+k(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=K(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+k(wt.internal.getWidth(t))+" "+k(wt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};wt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=wt.internal.getWidth(t),r=wt.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},wt.internal.getWidth=function(t){var e=0;return"object"==typeof t&&(e=D(t.Rect[2])),e},wt.internal.getHeight=function(t){var e=0;return"object"==typeof t&&(e=D(t.Rect[3])),e};var yt=T.addField=function(t){if(rt(this,t),!(t instanceof st))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};T.AcroFormChoiceField=ut,T.AcroFormListBox=ct,T.AcroFormComboBox=lt,T.AcroFormEditBox=ft,T.AcroFormButton=ht,T.AcroFormPushButton=pt,T.AcroFormRadioButton=dt,T.AcroFormCheckBox=vt,T.AcroFormTextField=Bt,T.AcroFormPasswordField=mt,T.AcroFormAppearance=wt,T.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:lt,EditBox:ft,Button:ht,PushButton:pt,RadioButton:dt,CheckBox:vt,TextField:Bt,PasswordField:mt,Appearance:wt},H.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:lt,EditBox:ft,Button:ht,PushButton:pt,RadioButton:dt,CheckBox:vt,TextField:Bt,PasswordField:mt,Appearance:wt};var bt=H.AcroForm; +/** @license + * jsPDF addImage plugin + * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/ + * 2013 Chris Dowling, https://github.com/gingerchris + * 2013 Trinh Ho, https://github.com/ineedfat + * 2013 Edwin Alejandro Perez, https://github.com/eaparango + * 2013 Norah Smith, https://github.com/burnburnrocket + * 2014 Diego Casorran, https://github.com/diegocr + * 2014 James Robb, https://github.com/jamesbrobb + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */function xt(t){return t.reduce((function(t,e,r){return t[e]=r,t}),{})}!function(t){var e="addImage_";t.__addimage__={};var r="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},A=t.__addimage__.getImageFileTypeByImageData=function(t,e){var i,A;e=e||r;var o,a,s,u=r;if(E(t))for(s in n)for(o=n[s],i=0;i>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var A="",o=0,s=t.transparency.length;o>",p.content=i;var B=p.objId+" 0 R";i="<>";else if(r.options.pageNumber){switch(i="<>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,r,n,i){var A=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;A.pageContext.annotations.push({finalBounds:{x:o(t),y:a(e),w:o(t+r),h:a(e+n)},options:i,type:"link"})},t.textWithLink=function(t,e,r,n){var i=this.getTextWidth(t),A=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,r,n),r+=.2*A,"center"===n.align&&(e-=i/2),"right"===n.align&&(e-=i),this.link(e,r-A,i,A,n),i},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(H.API), +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var A=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},a=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length<=2},s=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&A(t)&&e[t.charCodeAt(0)].length>=3};var c=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&A(t)&&4==e[t.charCodeAt(0)].length},l=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=r,i="",A=0;for(e=0;e>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))),this}, +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(t){r=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var r;if("2d"!==(t=t||"2d"))return null;for(r in e)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=e[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(H.API), +/** + * @license + * ==================================================================== + * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com + * 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br + * 2013 Lee Driscoll, https://github.com/lsdriscoll + * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria + * 2014 James Hall, james@parall.ax + * 2014 Diego Casorran, https://github.com/diegocr + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var A=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return A},set:function(t){A=t}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(t){o=t}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var r=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),A=e.scaleFactor||this.internal.scaleFactor,o=0,a=0,s=0,u=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}const c=e.maxWidth;c>0?"string"==typeof t?t=this.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(u.splitTextToSize(e,c))}),[])):t=Array.isArray(t)?t:[t];for(var l=0;lthis.getPageHeight()?(this.cellAddPage(),t.y=a.top,u&&s&&(this.printHeaderRow(t.lineNumber,!0),t.y+=s[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,r,s,u,c){if(n.call(this),!s)throw new Error("No data for PDF table.");var l,f,h,p,d=[],g=[],v=[],B={},m={},w=[],y=[],b=(c=c||{}).autoSize||!1,x=!1!==c.printHeaders,C=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,E=c.margins||Object.assign({width:this.getPageWidth()},e),N="number"==typeof c.padding?c.padding:3,F=c.headerBackgroundColor||"#c8c8c8";if(i.call(this),this.internal.__cell__.printHeaders=x,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=C,this.internal.__cell__.padding=N,this.internal.__cell__.headerBackgroundColor=F,this.setFontSize(C),null==u)g=d=Object.keys(s[0]),v=d.map((function(){return"left"}));else if(Array.isArray(u)&&"object"==typeof u[0])for(d=u.map((function(t){return t.name})),g=u.map((function(t){return t.prompt||t.name||""})),v=u.map((function(t){return t.align||"left"})),l=0;l0&&this.setTableHeaderRow(s),this.setFont(void 0,"normal"),r=!1}}(H.API);var Ct={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Et=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Nt=xt(Et),Ft=[100,200,300,400,500,600,700,800,900],Qt=xt(Ft);function Ut(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(t){return Ct[t=t||"normal"]?t:"normal"}(t.style),n=function(t){return t?"number"==typeof t?t>=100&&t<=900&&t%100==0?t:400:/^\d00$/.test(t)?parseInt(t):"bold"===t?700:400:400}(t.weight),i=function(t){return"number"==typeof Nt[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function St(t,e,r,n){var i;for(i=r;i>=0&&i=0&&i=700||"bold"===r)&&(u="bold"),"italic"===r&&(u+="italic"),0===u.length&&(u="normal");for(var c="",l={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f=2*Math.PI&&(n=0,i=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:r,startAngle:n,endAngle:i,counterclockwise:A})},h.prototype.arcTo=function(t,e,r,n,i){throw new Error("arcTo not implemented.")},h.prototype.rect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+r,e),this.lineTo(t+r,e+n),this.lineTo(t,e+n),this.lineTo(t,e),this.lineTo(t+r,e),this.lineTo(t,e)},h.prototype.fillRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,r,n),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},h.prototype.strokeRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(t,e,r,n),this.stroke())},h.prototype.clearRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw l.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,r,n))},h.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r0))for(;s>=0;s--)if(!0!==i[s-1].close&&!0!==i[s-1].begin){i[s-1].deltas.push(r),i[s-1].abs.push(a);break}break;case"bct":r=[a.x1-A[o-1].x,a.y1-A[o-1].y,a.x2-A[o-1].x,a.y2-A[o-1].y,a.x-A[o-1].x,a.y-A[o-1].y],i[i.length-1].deltas.push(r);break;case"qct":var u=A[o-1].x+2/3*(a.x1-A[o-1].x),c=A[o-1].y+2/3*(a.y1-A[o-1].y),l=a.x+2/3*(a.x1-a.x),f=a.y+2/3*(a.y1-a.y),h=a.x,p=a.y;r=[u-A[o-1].x,c-A[o-1].y,l-A[o-1].x,f-A[o-1].y,h-A[o-1].x,p-A[o-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(a)}}n=e?null:"stroke"===t?"stroke":"fill";for(var v=0;v=.01&&(u=this.pdf.internal.getFontSize(),this.pdf.setFontSize(u*t.scale),c=this.lineWidth,this.lineWidth=c*t.scale),this.pdf.text(t.text,E.x,E.y,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(u),this.lineWidth=c)}else t.scale>=.01&&(u=this.pdf.internal.getFontSize(),this.pdf.setFontSize(u*t.scale),c=this.lineWidth,this.lineWidth=c*t.scale),this.pdf.text(t.text,r.x+this.posX,r.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(u),this.lineWidth=c)},U=function(t,e,i,A){i=i||0,A=A||0,this.pdf.internal.out(r(t+i)+" "+n(e+A)+" l")},S=function(t,e,r){return this.pdf.lines(t,e,r,null,null)},L=function(t,r,n,o,a,s,u,c){this.pdf.internal.out([e(i(n+t)),e(A(o+r)),e(i(a+t)),e(A(s+r)),e(i(u+t)),e(A(c+r)),"c"].join(" "))},_=function(t,e,r,n){for(var i=2*Math.PI,A=Math.PI/2;e>r;)e-=i;var o=Math.abs(r-e);o1e-5;){var c=u+s*Math.min(o,A);a.push(H.call(this,t,u,c)),o-=Math.abs(c-u),u=c}return a},H=function(t,e,r){var n=(r-e)/2,i=t*Math.cos(n),A=t*Math.sin(n),o=i,a=-A,s=o*o+a*a,u=s+o*i+a*A,c=4/3*(Math.sqrt(2*s*u)-u)/(o*A-a*i),l=o-c*a,f=a+c*o,h=l,p=-f,d=n+e,g=Math.cos(d),v=Math.sin(d);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:l*g-f*v,y2:l*v+f*g,x3:h*g-p*v,y3:h*v+p*g,x4:t*Math.cos(r),y4:t*Math.sin(r)}},T=function(t){return 180*t/Math.PI},I=function(t,e,r,n,i,A){var o=t+.5*(r-t),s=e+.5*(n-e),u=i+.5*(r-i),c=A+.5*(n-A),l=Math.min(t,i,o,u),f=Math.max(t,i,o,u),h=Math.min(e,A,s,c),p=Math.max(e,A,s,c);return new a(l,h,f-l,p-h)},P=function(t,e,r,n,i,A,o,s){var u,c,l,f,h,p,d,g,v,B,m,w,y,b,x=r-t,C=n-e,E=i-r,N=A-n,F=o-i,Q=s-A;for(c=0;c<41;c++)v=(d=(l=t+(u=c/40)*x)+u*((h=r+u*E)-l))+u*(h+u*(i+u*F-h)-d),B=(g=(f=e+u*C)+u*((p=n+u*N)-f))+u*(p+u*(A+u*Q-p)-g),0==c?(m=v,w=B,y=v,b=B):(m=Math.min(m,v),w=Math.min(w,B),y=Math.max(y,v),b=Math.max(b,B));return new a(Math.round(m),Math.round(w),Math.round(y-m),Math.round(b-w))}}(H.API), +/** + * @license + * jsPDF filters PlugIn + * Copyright (c) 2014 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e=function(t){var e,r,n,i,A,o,a,s,u,c;for(/[^\x00-\xFF]/.test(t),r=[],n=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>n;n+=4)0!==(A=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(o=(A=((A=((A=((A=(A-(c=A%85))/85)-(u=A%85))/85)-(s=A%85))/85)-(a=A%85))/85)%85,r.push(o+33,a+33,s+33,u+33,c+33)):r.push(122);return function(t,e){for(var r=e;r>0;r--)t.pop()}(r,e.length),String.fromCharCode.apply(String,r)+"~>"},r=function(t){var e,r,n,i,A,o=String,a="length",s=255,u="charCodeAt",c="slice",l="replace";for(t[c](-2),t=t[c](0,-2)[l](/\s/g,"")[l]("z","!!!!!"),n=[],i=0,A=(t+=e="uuuuu"[c](t[a]%5||5))[a];A>i;i+=5)r=52200625*(t[u](i)-33)+614125*(t[u](i+1)-33)+7225*(t[u](i+2)-33)+85*(t[u](i+3)-33)+(t[u](i+4)-33),n.push(s&r>>24,s&r>>16,s&r>>8,s&r);return function(t,e){for(var r=e;r>0;r--)t.pop()}(n,e[a]),o.fromCharCode.apply(o,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var r="",n=0;n",s.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=i(a),s.push("/FlateDecode");break;default:throw new Error('The filter: "'+A[o]+'" is not implemented')}return{data:a,reverseChain:s.reverse().join(" ")}}}(H.API), +/** + * @license + * jsPDF fileloading PlugIn + * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com) + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){t.loadFile=function(t,e,r){return function(t,e,r){e=!1!==e;var n=void 0,i=A("faMnJ"),o=A("h8TFZ");if(t=o.resolve(t),e)try{n=i.readFileSync(t,{encoding:"latin1"})}catch(t){return}else i.readFile(t,{encoding:"latin1"},(function(t,e){r&&(t&&r(void 0),r(e))}));return n}(t,e,r)},t.loadImageFile=t.loadFile}(H.API), +/** + * @license + * Copyright (c) 2018 Erik Koopmans + * Released under the MIT License. + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){function e(){return(s.html2canvas?Promise.resolve(s.html2canvas):new Promise((function(t,e){try{t(A("kVIkC"))}catch(t){e(t)}}))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function r(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):new Promise((function(t,e){try{t(A("5TcvM"))}catch(t){e(t)}}))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var n=function(t){var e=typeof t;return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},i=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},o=function(t,e){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==e&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(o(n,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},a=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return n=(n=n.setProgress(1,t,1,[t])).set(e)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(t,e){return t.__proto__=e||a.prototype,t},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(n(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t),e){case"string":return this.then(r).then((function(e){return this.set({src:i("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},a.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},a.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},a.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.fontFaces=r,r)for(var i=0;is&&(a=u,u=s,s=a);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",s>u&&(a=u,u=s,s=a)}return{width:u,height:s,unit:e,k:i,orientation:t}},t.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(Ut):null;var r=new a(e);return e.worker?r:r.from(t).doCallback()}}(H.API), +/** + * @license + * ==================================================================== + * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(t){var e,r,n;t.addJS=function(t){return n=t,this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==e&&void 0!==r&&this.internal.out("/Names <>")})),this}}(H.API), +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(t){var e;t.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i> endobj")}var f=t.internal.newObject();t.internal.write("<< /Names [ ");for(i=0;i>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+f+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,r){var n={title:e,options:r,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var r=0;r0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var A=this.count=this.count_r({count:0},i);if(A>0&&this.line("/Count "+A),i.options&&i.options.pageNumber){var o=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var a=0;a> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var r=0;re;0<=e?++f:--f)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((c=n-this.transparency.indexed.length)>0)for(h=0;0<=c?hc;0<=c?++h:--h)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":a=(l=this.read(e)).indexOf(0),s=String.fromCharCode.apply(String,l.slice(0,a)),this.text[s]=String.fromCharCode.apply(String,l.slice(a+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?et;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*e),n=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function A(A,o,a,s){var u,c,l,f,h,p,d,g,v,B,m,w,y,b,x,C,E,N,F,Q,U,S=Math.ceil((i.width-A)/a),L=Math.ceil((i.height-o)/s),_=i.width==S&&i.height==L;for(b=e*S,w=_?r:new Uint8Array(b*L),p=t.length,y=0,c=0;y1&&r/i, 2013. + * + * https://github.com/deanm/omggif + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, + * including animation and compression. It does not rely on any specific + * underlying system, so should run in the browser, Node, or Plask. + */ +function Xt(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],A=i>>7,o=1<<(7&i)+1;t[e++];t[e++];var a=null,s=null;A&&(a=e,s=o,e+=3*o);var u=!0,c=[],l=0,f=null,h=0,p=null;for(this.width=r,this.height=n;u&&e=0))throw Error("Invalid block size");if(0===F)break;e+=F}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var d=t[e++];l=t[e++]|t[e++]<<8,f=t[e++],0==(1&d)&&(f=null),h=d>>2&7,e++;break;case 254:for(;;){if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var g=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,B=t[e++]|t[e++]<<8,m=t[e++]|t[e++]<<8,w=t[e++],y=w>>6&1,b=1<<(7&w)+1,x=a,C=s,E=!1;if(w>>7){E=!0;x=e,C=b,e+=3*b}var N=e;for(e++;;){var F;if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}c.push({x:g,y:v,width:B,height:m,has_local_palette:E,palette_offset:x,palette_size:C,data_offset:N,data_length:e-N,transparent_index:f,interlaced:!!y,delay:l,disposal:h});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=c.length)throw new Error("Frame index out of range.");return c[t]},this.decodeAndBlitFrameBGRA=function(e,n){var i=this.frameInfo(e),A=i.width*i.height,o=new Uint8Array(A);Gt(t,i.data_offset,o,A);var a=i.palette_offset,s=i.transparent_index;null===s&&(s=256);var u=i.width,c=r-u,l=u,f=4*(i.y*r+i.x),h=4*((i.y+i.height)*r+i.x),p=f,d=4*c;!0===i.interlaced&&(d+=28*r);for(var g=8,v=0,B=o.length;v=h&&(d=4*c+4*r*(g-1),p=f+(u+c)*(g<<1),g>>=1)),m===s)p+=4;else{var w=t[a+3*m],y=t[a+3*m+1],b=t[a+3*m+2];n[p++]=b,n[p++]=y,n[p++]=w,n[p++]=255}--l}},this.decodeAndBlitFrameRGBA=function(e,n){var i=this.frameInfo(e),A=i.width*i.height,o=new Uint8Array(A);Gt(t,i.data_offset,o,A);var a=i.palette_offset,s=i.transparent_index;null===s&&(s=256);var u=i.width,c=r-u,l=u,f=4*(i.y*r+i.x),h=4*((i.y+i.height)*r+i.x),p=f,d=4*c;!0===i.interlaced&&(d+=28*r);for(var g=8,v=0,B=o.length;v=h&&(d=4*c+4*r*(g-1),p=f+(u+c)*(g<<1),g>>=1)),m===s)p+=4;else{var w=t[a+3*m],y=t[a+3*m+1],b=t[a+3*m+2];n[p++]=w,n[p++]=y,n[p++]=b,n[p++]=255}--l}}}function Gt(t,e,r,n){for(var i=t[e++],A=1<>=s,c-=s,v!==A){if(v===o)break;for(var B=vA;)w=d[w]>>8,++m;var y=w;if(h+m+(B!==v?1:0)>n)return void l.log("Warning, gif stream longer than expected.");r[h++]=y;var b=h+=m;for(B!==v&&(r[h++]=y),w=B;m--;)w=d[w],r[--b]=255&w,w>>=8;null!==g&&a<4096&&(d[a++]=g<<8|y,a>=u+1&&s<12&&(++s,u=u<<1|1)),g=v}else a=o+1,u=(1<<(s=i+1))-1,g=null}return h!==n&&l.log("Warning, gif stream shorter than expected."),r} +/** + * @license + Copyright (c) 2008, Adobe Systems Incorporated + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of Adobe Systems Incorporated nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/function Yt(t){var e,r,n,i,A,o=Math.floor,a=new Array(64),s=new Array(64),u=new Array(64),c=new Array(64),l=new Array(65535),f=new Array(65535),h=new Array(64),p=new Array(64),d=[],g=0,v=7,B=new Array(64),m=new Array(64),w=new Array(64),y=new Array(256),b=new Array(2048),x=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],E=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],F=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Q=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],U=[0,1,2,3,4,5,6,7,8,9,10,11],S=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],L=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function _(t,e){for(var r=0,n=0,i=new Array,A=1;A<=16;A++){for(var o=1;o<=t[A];o++)i[e[n]]=[],i[e[n]][0]=r,i[e[n]][1]=A,n++,r++;r*=2}return i}function H(t){for(var e=t[0],r=t[1]-1;r>=0;)e&1<>8&255),T(255&t)}function P(t,e,r,n,i){for(var A,o=i[0],a=i[240],s=function(t,e){var r,n,i,A,o,a,s,u,c,l,f=0;for(c=0;c<8;++c){r=t[f],n=t[f+1],i=t[f+2],A=t[f+3],o=t[f+4],a=t[f+5],s=t[f+6];var p=r+(u=t[f+7]),d=r-u,g=n+s,v=n-s,B=i+a,m=i-a,w=A+o,y=A-o,b=p+w,x=p-w,C=g+B,E=g-B;t[f]=b+C,t[f+4]=b-C;var N=.707106781*(E+x);t[f+2]=x+N,t[f+6]=x-N;var F=.382683433*((b=y+m)-(E=v+d)),Q=.5411961*b+F,U=1.306562965*E+F,S=.707106781*(C=m+v),L=d+S,_=d-S;t[f+5]=_+Q,t[f+3]=_-Q,t[f+1]=L+U,t[f+7]=L-U,f+=8}for(f=0,c=0;c<8;++c){r=t[f],n=t[f+8],i=t[f+16],A=t[f+24],o=t[f+32],a=t[f+40],s=t[f+48];var H=r+(u=t[f+56]),T=r-u,I=n+s,P=n-s,O=i+a,k=i-a,R=A+o,M=A-o,D=H+R,K=H-R,z=I+O,V=I-O;t[f]=D+z,t[f+32]=D-z;var j=.707106781*(V+K);t[f+16]=K+j,t[f+48]=K-j;var q=.382683433*((D=M+k)-(V=P+T)),X=.5411961*D+q,G=1.306562965*V+q,Y=.707106781*(z=k+P),W=T+Y,J=T-Y;t[f+40]=J+X,t[f+24]=J-X,t[f+8]=W+G,t[f+56]=W-G,f++}for(c=0;c<64;++c)l=t[c]*e[c],h[c]=l>0?l+.5|0:l-.5|0;return h}(t,e),u=0;u<64;++u)p[x[u]]=s[u];var c=p[0]-r;r=p[0],0==c?H(n[0]):(H(n[f[A=32767+c]]),H(l[A]));for(var d=63;d>0&&0==p[d];)d--;if(0==d)return H(o),r;for(var g,v=1;v<=d;){for(var B=v;0==p[v]&&v<=d;)++v;var m=v-B;if(m>=16){g=m>>4;for(var w=1;w<=g;++w)H(a);m&=15}A=32767+p[v],H(i[(m<<4)+f[A]]),H(l[A]),v++}return 63!=d&&H(o),r}function O(t){(t=Math.min(Math.max(t,1),100),A!=t)&&(!function(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=o((e[r]*t+50)/100);n=Math.min(Math.max(n,1),255),a[x[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],A=0;A<64;A++){var l=o((i[A]*t+50)/100);l=Math.min(Math.max(l,1),255),s[x[A]]=l}for(var f=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],h=0,p=0;p<8;p++)for(var d=0;d<8;d++)u[h]=1/(a[x[h]]*f[p]*f[d]*8),c[h]=1/(s[x[h]]*f[p]*f[d]*8),h++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),A=t)}this.encode=function(t,A){A&&O(A),d=new Array,g=0,v=7,I(65496),I(65504),I(16),T(74),T(70),T(73),T(70),T(0),T(1),T(1),T(0),I(1),I(1),T(0),T(0),function(){I(65499),I(132),T(0);for(var t=0;t<64;t++)T(a[t]);T(1);for(var e=0;e<64;e++)T(s[e])}(),function(t,e){I(65472),I(17),T(8),I(e),I(t),T(3),T(1),T(17),T(0),T(2),T(17),T(1),T(3),T(17),T(1)}(t.width,t.height),function(){I(65476),I(418),T(0);for(var t=0;t<16;t++)T(C[t+1]);for(var e=0;e<=11;e++)T(E[e]);T(16);for(var r=0;r<16;r++)T(N[r+1]);for(var n=0;n<=161;n++)T(F[n]);T(1);for(var i=0;i<16;i++)T(Q[i+1]);for(var A=0;A<=11;A++)T(U[A]);T(17);for(var o=0;o<16;o++)T(S[o+1]);for(var a=0;a<=161;a++)T(L[a])}(),I(65498),I(12),T(3),T(1),T(0),T(2),T(17),T(3),T(17),T(0),T(63),T(0);var o=0,l=0,f=0;g=0,v=7,this.encode.displayName="_encode_";for(var h,p,y,x,_,k,R,M,D,K=t.data,z=t.width,V=t.height,j=4*z,q=0;q>3)*j+(R=4*(7&D)),q+M>=V&&(k-=j*(q+1+M-V)),h+R>=j&&(k-=h+R-j+4),p=K[k++],y=K[k++],x=K[k++],B[D]=(b[p]+b[y+256>>0]+b[x+512>>0]>>16)-128,m[D]=(b[p+768>>0]+b[y+1024>>0]+b[x+1280>>0]>>16)-128,w[D]=(b[p+1280>>0]+b[y+1536>>0]+b[x+1792>>0]>>16)-128;o=P(B,u,o,e,n),l=P(m,c,l,r,i),f=P(w,c,f,r,i),h+=32}q+=8}if(v>=0){var X=[];X[1]=v+1,X[0]=(1<>0]=38470*t,b[t+512>>0]=7471*t+32768,b[t+768>>0]=-11059*t,b[t+1024>>0]=-21709*t,b[t+1280>>0]=32768*t+8421375,b[t+1536>>0]=-27439*t,b[t+1792>>0]=-5329*t}(),O(t)} +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */function Wt(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Jt(t){function e(t){if(!t)throw Error("assert :P")}function r(t,e,r){for(var n=0;4>n;n++)if(t[e+n]!=r.charCodeAt(n))return!0;return!1}function n(t,e,r,n,i){for(var A=0;An+1?[]:new e),!(i.length>>0}function c(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}Jt=function(){var t=this;function s(t,e){for(var r=1<>>0;t&r;)r>>>=1;return r?(t&r-1)+r:t}function u(t,r,n,i,A){e(!(i%n));do{t[r+(i-=n)]=A}while(0=o),512>=o)var a=A(512);else if(null==(a=A(o)))return 0;return function(t,r,n,i,o,a){var c,f,h=r,p=1<c;++c){if(d[c]>1<(b-=d[c]))return 0;for(;0=c;++c,o<<=1){if(y+=b<<=1,0>(b-=d[c]))return 0;for(;0B&&!(0>=(v-=d[B]));)++B,v<<=1;p+=x=1<<(v=B-n),t[r+(B=w&m)].g=v+n,t[r+B].value=h-r-B}i.g=c-n,i.value=a[f++],u(t,h+(w>>n),o,x,i),w=s(w,c)}}return y!=2*g[15]-1?0:p}(t,r,n,i,o,a)}function l(){this.value=this.g=0}function f(){this.value=this.g=0}function h(){this.G=o(5,l),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(kr,f)}function p(t,r,n,i){e(null!=t),e(null!=r),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=r,t.pa=n,t.Jd=r,t.Yc=n+i,t.Zc=4<=i?n+i-4+1:n,N(t)}function d(t,e){for(var r=0;0i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4>>=8,t.Ra+=t.oa[t.pa+t.bb]<>>0,++t.bb,t.u-=8;x(t)&&(t.h=1,t.u=0)}function m(t,r){if(e(0<=r),!t.h&&r<=Mr){var n=b(t)&Rr[r];return t.u+=r,B(t),n}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function y(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function b(t){return t.Ra>>>(t.u&Dr-1)>>>0}function x(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Dr}function C(t,e){t.u=e,t.h=x(t)}function E(t){t.u>=Kr&&(e(t.u>=Kr),B(t))}function N(t){e(null!=t&&null!=t.oa),t.pa>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pat.b&&N(t);var n=t.b,i=r*e>>>8,A=(t.I>>>n>i)+0;for(A?(r-=i,t.I-=i+1<>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+zr[n],t.b-=n,t.Ca=(r<>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r>>0&255}function S(t,e){return t[e+0]<<0|t[e+1]<<8}function L(t,e){return S(t,e)|t[e+2]<<16}function _(t,e){return S(t,e)|S(t,e+2)<<16}function H(t,r){var n=1<=A||0>=o?0:(n[0]=A,i[0]=o,1)}function O(t,e){return t+(1<>>e}function k(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function R(e,r){t[r]=function(r,n,i,A,o,a,s){var u;for(u=0;u>>1)+(t&e)>>>0}function K(t){return 0<=t&&256>t?t:0>t?0:255>1))}function V(t,e,r){return Math.abs(e-r)-Math.abs(t-r)}function j(t,e,r,n,i,A,o){for(n=A[o-1],r=0;r>8&255,s=16711935&(s=(s=16711935&o)+((a<<16)+a));n[i+A]=(4278255360&o)+s>>>0}}function X(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function G(t,e,r,n,i,A){var o;for(o=0;o>>8,u=a,c=255&(c=(c=a>>>16)+((t.jd<<24>>24)*(s<<24>>24)>>>5));u=255&(u=(u=u+((t.hd<<24>>24)*(s<<24>>24)>>>5))+((t.ud<<24>>24)*(c<<24>>24)>>>5));i[A+o]=(4278255360&a)+(c<<16)+u}}function Y(e,r,n,i,A){t[r]=function(t,e,r,n,o,a,s,u,c){for(n=s;n>e.b,f=e.Ea,h=e.K[0],p=e.w;if(8>l)for(e=(1<>=l}else t["VP8LMapColor"+n](a,s,h,p,u,c,r,o,f)}}function W(t,e,r,n,i){for(r=e+r;e>16&255,n[i++]=A>>8&255,n[i++]=A>>0&255}}function J(t,e,r,n,i){for(r=e+r;e>16&255,n[i++]=A>>8&255,n[i++]=A>>0&255,n[i++]=A>>24&255}}function Z(t,e,r,n,i){for(r=e+r;e>16&240|o>>12&15,o=o>>0&240|o>>28&15;n[i++]=A,n[i++]=o}}function $(t,e,r,n,i){for(r=e+r;e>16&248|o>>13&7,o=o>>5&224|o>>3&31;n[i++]=A,n[i++]=o}}function tt(t,e,r,n,i){for(r=e+r;e>0&255,n[i++]=A>>8&255,n[i++]=A>>16&255}}function et(t,e,r,i,A,o){if(0==o)for(r=e+r;e>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),A+=32;else n(i,A,t,e,r)}function rt(e,r){t[r][0]=t[e+"0"],t[r][1]=t[e+"1"],t[r][2]=t[e+"2"],t[r][3]=t[e+"3"],t[r][4]=t[e+"4"],t[r][5]=t[e+"5"],t[r][6]=t[e+"6"],t[r][7]=t[e+"7"],t[r][8]=t[e+"8"],t[r][9]=t[e+"9"],t[r][10]=t[e+"10"],t[r][11]=t[e+"11"],t[r][12]=t[e+"12"],t[r][13]=t[e+"13"],t[r][14]=t[e+"0"],t[r][15]=t[e+"0"]}function nt(t){return t==zn||t==Vn||t==jn||t==qn}function it(){this.eb=[],this.size=this.A=this.fb=0}function At(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new At,this.sd=null}function at(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function st(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ut(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function ct(t,e){var r=t.T,i=e.ba.f.RGBA,A=i.eb,o=i.fb+t.ka*i.A,a=vi[e.ba.S],s=t.y,u=t.O,c=t.f,l=t.N,f=t.ea,h=t.W,p=e.cc,d=e.dc,g=e.Mc,v=e.Nc,B=t.ka,m=t.ka+t.T,w=t.U,y=w+1>>1;for(0==B?a(s,u,null,null,c,l,f,h,c,l,f,h,A,o,null,null,w):(a(e.ec,e.fc,s,u,p,d,g,v,c,l,f,h,A,o-i.A,A,o,w),++r);B+2r,i=r==On||r==Rn||r==Mn||r==Dn||12==r||nt(r);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Ir(e.Oa,t,i?11:12))return 0;if(i&&nt(r)&&Br(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=ut,t.Kb){if(r=t.U+1>>1,e.memory=A(t.U+2*r),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+r,e.Ib=ct,Br()}}else alert("todo:EmitYUV");i&&(e.Jb=lt,n&&gr())}if(n&&!Li){for(t=0;256>t;++t)_i[t]=89858*(t-128)+Ni>>Ei,Ii[t]=-22014*(t-128)+Ni,Ti[t]=-45773*(t-128),Hi[t]=113618*(t-128)+Ni>>Ei;for(t=Fi;t>Ei,Pi[t-Fi]=jt(e,255),Oi[t-Fi]=jt(e+8>>4,15);Li=1}return 1}function ht(t){var r=t.ma,n=t.U,i=t.T;return e(!(1&t.ka)),0>=n||0>=i?0:(n=r.Ib(t,r),null!=r.Jb&&r.Jb(t,r,n),r.Dc+=n,1)}function pt(t){t.ma.memory=null}function dt(t,e,r,n){return 47!=m(t,8)?0:(e[0]=m(t,14)+1,r[0]=m(t,14)+1,n[0]=m(t,1),0!=m(t,3)?0:!t.h)}function gt(t,e){if(4>t)return t+1;var r=t-2>>1;return(2+(1&t)<>4)*t+(8-(15&r)))?r:1;var r}function Bt(t,e,r){var n=b(r),i=t[e+=255&n].g-8;return 0>>0,e(8>=n.g),t.g}function wt(t,r,n){var i=t.xc;return e((r=0==i?0:t.vc[t.md*(n>>i)+(r>>i)])>N.b)*C;vy&&(S=y),(0,Jr[F[Q++]>>8&15])(p,d+ +U,m,w+U-y,S-U,m,w+U),U=S}d+=y,w+=y,++v&x||(N+=C)}h!=l.nc&&n(c,u-g,c,u+(h-f-1)*g,g);break;case 1:for(g=p,B=d,y=(p=l.Ea)-(w=p&~(m=(d=1<>l.b)*v;f=A),0o.o&&(i=o.o),n=i?n=0:(A[0]+=4*o.v,o.ka=n-o.j,o.U=o.va-o.v,o.T=i-n,n=1),n){if(s=s[0],11>(n=t.ca).S){var l=n.f.RGBA,f=(i=n.S,A=o.U,o=o.T,c=l.eb,l.A),h=o;for(l=l.fb+t.Ma*l.A;0i){var A=t.l.width,o=n.ca,a=n.tb+A*i,s=t.V,u=t.Ba+t.c*i,c=t.gc;e(1==t.ab),e(3==c[0].hc),Yr(c[0],i,r,s,u,o,a),Ct(n,i,r,o,a,A)}t.C=t.Ma=r}function Nt(t,r,n,i,A,o,a){var s=t.$/i,u=t.$%i,c=t.m,l=t.s,f=n+t.$,h=f;A=n+i*A;var p=n+i*o,d=280+l.ua,g=t.Pb?s:16777216,v=0=g){var N=f-n;e((g=t).Pb),g.wd=g.m,g.xd=N,0Q.g?(C(y,y.u+Q.g),N[F]=Q.value,y=0):(C(y,y.u+Q.g-256),e(256<=Q.value),y=Q.value),0==y&&(w=!0)}else y=Bt(m.G[0],m.H[0],c);if(c.h)break;if(w||256>y){if(!w)if(m.nd)r[f]=(m.qb|y<<8)>>>0;else{if(E(c),w=Bt(m.G[1],m.H[1],c),E(c),N=Bt(m.G[2],m.H[2],c),F=Bt(m.G[3],m.H[3],c),c.h)break;r[f]=(F<<24|w<<16|y<<8|N)>>>0}if(w=!1,++f,++u>=i&&(u=0,++s,null!=a&&s<=o&&!(s%16)&&a(t,s),null!=v))for(;h>>v.Mb]=y}else if(280>y){if(y=gt(y-256,c),N=Bt(m.G[4],m.H[4],c),E(c),N=vt(i,N=gt(N,c)),c.h)break;if(f-n=i;)u-=i,++s,null!=a&&s<=o&&!(s%16)&&a(t,s);if(e(f<=A),u&B&&(m=wt(l,u,s)),null!=v)for(;h>>v.Mb]=y}else{if(!(y>>v.Mb]=y;y=f,e(!(w>>>(N=v).Xa)),r[y]=N.X[w],w=!0}w||e(c.h==x(c))}if(t.Pb&&c.h&&fo?o:s),t.a=0,t.$=f-n}return 1}return t.a=3,0}function Ft(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var r=t.Wa;null!=r&&(r.X=null),t.vb=null,e(null!=t)}function Qt(){var e=new or;return null==e?null:(e.a=0,e.xb=di,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),qr=q,Zr=G,$r=W,tn=J,en=Z,rn=$,nn=tt,t.VP8LMapColor32b=Gr,t.VP8LMapColor8b=Wr,e)}function Ut(t,r,n,a,s){var u=1,f=[t],p=[r],d=a.m,g=a.s,v=null,B=0;t:for(;;){if(n)for(;u&&m(d,1);){var w=f,y=p,x=a,N=1,F=x.m,Q=x.gc[x.ab],U=m(F,2);if(x.Oc&1<=x.ab),U){case 0:case 1:Q.b=m(F,3)+2,N=Ut(O(Q.Ea,Q.b),O(Q.nc,Q.b),0,x,Q.K),Q.K=Q.K[0];break;case 3:var S,L=m(F,8)+1,_=16>P.b),M=A(R);if(null==M)S=0;else{var D=P.K[0],K=P.w;for(M[0]=P.K[0][0],T=1;T<1*I;++T)M[T]=k(D[K+T],M[T-1]);for(;T<4*R;++T)M[T]=0;P.K[0]=null,P.K[0]=M,S=1}}N=S;break;case 2:break;default:e(0)}u=N}}if(f=f[0],p=p[0],u&&m(d,1)&&!(u=1<=(B=m(d,4))&&11>=B)){a.a=3;break t}var z;if(z=u)e:{var V,j,q,X=a,G=f,Y=p,W=B,J=n,Z=X.m,$=X.s,tt=[null],et=1,rt=0,nt=$n[W];r:for(;;){if(J&&m(Z,1)){var it=m(Z,3)+2,At=O(G,it),ot=O(Y,it),at=At*ot;if(!Ut(At,ot,0,X,tt))break r;for(tt=tt[0],$.xc=it,V=0;V>8&65535;tt[V]=st,st>=et&&(et=st+1)}}if(Z.h)break r;for(j=0;5>j;++j){var ut=Yn[j];!j&&0=lt),ht=ft;var pt=A(rt);if(null==ht||null==pt||null==ct){X.a=1;break r}var dt=ct;for(V=q=0;Vj;++j){ut=Yn[j],vt[j]=dt,Bt[j]=q,!j&&0qt)break i}else Kt=qt;for(zt=0;ztte)Xt[zt++]=te,0!=te&&(Wt=te);else{var ee=16==te,re=te-16,ne=Gn[re],ie=m(Yt,Xn[re])+ne;if(zt+ie>qt)break i;for(var Ae=ee?Wt:0;0=j){var oe,ae=pt[0];for(oe=1;oeae&&(ae=pt[oe]);bt+=ae}}if(gt.nd=yt,gt.Qb=0,yt&&(gt.qb=(vt[3][Bt[3]+0].value<<24|vt[1][Bt[1]+0].value<<16|vt[2][Bt[2]+0].value)>>>0,0==wt&&256>vt[0][Bt[0]+0].value&&(gt.Qb=1,gt.qb+=vt[0][Bt[0]+0].value<<8)),gt.jc=!gt.Qb&&6>bt,gt.jc){var se,ue=gt;for(se=0;se>=mt(fe,8,le),ce>>=mt(ue.G[1][ue.H[1]+ce],16,le),ce>>=mt(ue.G[2][ue.H[2]+ce],0,le),mt(ue.G[3][ue.H[3]+ce],24,le))}}}$.vc=tt,$.Wb=et,$.Ya=ht,$.yc=ct,z=1;break e}z=0}if(!(u=z)){a.a=3;break t}if(0r+1?[]:0),!(n.lengtht?0:t>e?e:t}function qt(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xt(){var t=new Vt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ni||(ni=Jt)),t}function Gt(t,e,r){return 0==t.a&&(t.a=e,t.sc=r,t.cb=0),0}function Yt(t,e,r){return 3<=r&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Wt(t,r){if(null==t)return 0;if(t.a=0,t.sc="OK",null==r)return Gt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,A=r.w,o=r.ha;if(4>o)return Gt(t,7,"Truncated header.");var a=n[A+0]|n[A+1]<<8|n[A+2]<<16,s=t.Od;if(s.Rb=!(1&a),s.td=a>>1&7,s.yd=a>>4&1,s.ub=a>>5,3o)return Gt(t,7,"cannot parse picture header");if(!Yt(n,A,o))return Gt(t,3,"Bad code word");u.c=16383&(n[A+4]<<8|n[A+3]),u.Td=n[A+4]>>6,u.i=16383&(n[A+6]<<8|n[A+5]),u.Ud=n[A+6]>>6,A+=7,o-=7,t.za=u.c+15>>4,t.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((a=t.Pa).jb,0,255,a.jb.length),e(null!=(a=t.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,i(a.Zb,0,0,a.Zb.length),i(a.Lb,0,0,a.Lb)}if(s.ub>o)return Gt(t,7,"bad partition length");p(a=t.m,n,A,s.ub),A+=s.ub,o-=s.ub,s.Rb&&(u.Ld=F(a),u.Kd=F(a)),u=t.Qa;var c,l=t.Pa;if(e(null!=a),e(null!=u),u.Cb=F(a),u.Cb){if(u.Bb=F(a),F(a)){for(u.Fb=F(a),c=0;4>c;++c)u.Zb[c]=F(a)?g(a,7):0;for(c=0;4>c;++c)u.Lb[c]=F(a)?g(a,6):0}if(u.Bb)for(c=0;3>c;++c)l.jb[c]=F(a)?d(a,8):255}else u.Bb=0;if(a.Ka)return Gt(t,3,"cannot parse segment header");if((u=t.ed).zd=F(a),u.Tb=d(a,6),u.wb=d(a,3),u.Pc=F(a),u.Pc&&F(a)){for(l=0;4>l;++l)F(a)&&(u.vd[l]=g(a,6));for(l=0;4>l;++l)F(a)&&(u.od[l]=g(a,6))}if(t.L=0==u.Tb?0:u.zd?1:2,a.Ka)return Gt(t,3,"cannot parse filter header");var f=o;if(o=c=A,A=c+f,u=f,t.Xb=(1<u&&(h=u),p(t.Jc[+f],n,c,h),c+=h,u-=h,o+=3}p(t.Jc[+l],n,c,u),n=ch;++h){if(f.Cb){var v=f.Zb[h];f.Fb||(v+=n)}else{if(0>16,8>B.Eb[1]&&(B.Eb[1]=8),B.Qc[0]=ei[jt(v+l,117)],B.Qc[1]=ri[jt(v+c,127)],B.lc=v+c}if(!s.Rb)return Gt(t,4,"Not a key frame.");for(F(a),s=t.Pa,n=0;4>n;++n){for(o=0;8>o;++o)for(A=0;3>A;++A)for(u=0;11>u;++u)l=Q(a,ui[n][o][A][u])?d(a,8):ai[n][o][A][u],s.Wc[n][o].Yb[A][u]=l;for(o=0;17>o;++o)s.Xc[n][o]=s.Wc[n][ci[o]]}return t.kc=F(a),t.kc&&(t.Bd=d(a,8)),t.cb=1}function Jt(t,e,r,n,i,A,o){var a=e[i].Yb[r];for(r=0;16>i;++i){if(!Q(t,a[r+0]))return i;for(;!Q(t,a[r+1]);)if(a=e[++i].Yb[0],r=0,16==i)return 16;var s=e[i+1].Yb;if(Q(t,a[r+2])){var u=t,c=0;if(Q(u,(f=a)[(l=r)+3]))if(Q(u,f[l+6])){for(a=0,l=2*(c=Q(u,f[l+8]))+(f=Q(u,f[l+9+c])),c=0,f=ii[l];f[a];++a)c+=c+Q(u,f[a]);c+=3+(8<(u=t).b&&N(u);var l,f=u.b,h=(l=u.Ca>>1)-(u.I>>f)>>31;--u.b,u.Ca+=h,u.Ca|=1,u.I-=(l+1&h)<>4,t.zb=r.j-a>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=r.o+15+a>>4,t.Hb=r.va+15+a>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0a;++a){var u;if(t.Qa.Cb){var c=t.Qa.Lb[a];t.Qa.Fb||(c+=s.Tb)}else c=s.Tb;for(u=0;1>=u;++u){var l=t.gd[a][u],f=c;if(s.Pc&&(f+=s.vd[0],u&&(f+=s.od[0])),0<(f=0>f?0:63>2:h>>1)>9-s.wb&&(h=9-s.wb)),1>h&&(h=1),l.dd=h,l.tc=2*f+h,l.ld=40<=f?2:15<=f?1:0}else l.tc=0;l.La=u}}}a=0}else Gt(t,6,"Frame setup failed"),a=t.a;if(a=0==a){if(a){t.$c=0,0t.Vb){if(t.Vb=0,t.Ec=A(l),t.Fc=0,null==t.Ec){a=Gt(t,1,"no memory during frame initialization.");break t}t.Vb=l}l=t.Ec,f=t.Fc,t.Ac=l,t.Bc=f,f+=s,t.Gd=o(p,zt),t.Hd=0,t.rb=o(d+1,Rt),t.sb=1,t.wa=g?o(g,kt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0=a;++a)Fn[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)Qn[1020+a]=-128>a?-128:127=a;++a)Un[112+a]=-16>a?-16:15=a;++a)Sn[255+a]=0>a?0:255l;++l){var B,m=p[0+l];for(B=0;4>B;++B){m=si[f[h+B]][m];for(var w=oi[Q(c,m[0])];0>3;for(w=0;256>w;w+=16)l[g+w]=N}x=1,C=h[0]}var F=15&c.la,U=15&v.la;for(w=0;4>w;++w){var S=1&U;for(N=b=0;4>N;++N)F=F>>1|(S=(E=ni(f,C,E=S+(1&F),d.Sc,x,l,g))>x)<<7,b=b<<2|(3>=4,U=U>>1|S<<7,B=(B<<8|b)>>>0}for(C=F,x=U>>4,y=0;4>y;y+=2){for(b=0,F=c.la>>4+y,U=v.la>>4+y,w=0;2>w;++w){for(S=1&U,N=0;2>N;++N)E=S+(1&F),F=F>>1|(S=0<(E=ni(f,h[2],E,d.Qc,0,l,g)))<<3,b=b<<2|(3>=2,U=U>>1|S<<5}m|=b<<4*y,C|=F<<4<=a.zb&&a.M<=a.Va,0==a.Aa)t:{if(o.M=a.M,o.uc=c,Hr(a,o),u=1,o=(b=a.D).Nb,c=(m=Ri[a.L])*a.R,f=m/2*a.B,w=16*o*a.R,N=8*o*a.B,h=a.sa,p=a.ta-c+w,d=a.qa,l=a.ra-f+N,g=a.Ha,v=a.Ia-f+N,U=0==(F=b.M),B=F>=a.Va-1,2==a.Aa&&Hr(a,b),b.uc)for(S=(E=a).D.M,e(E.D.uc),b=E.yb;bs.o&&(F=s.o),s.F=null,s.J=null,null!=a.Fa&&0>1),s.W+=a.B*(m>>1),null!=s.F&&(s.J+=s.width*m)),b>1,s.W+=s.v>>1,null!=s.F&&(s.J+=s.v),s.ka=b-s.j,s.U=s.va-s.v,s.T=F-b,u=s.put(s))}o+1!=a.Ic||B||(n(a.sa,a.ta-c,h,p+16*a.R,c),n(a.qa,a.ra-f,d,l+8*a.B,f),n(a.Ha,a.Ia-f,g,v+8*a.B,f))}if(!u)return Gt(t,6,"Output aborted.")}return 1}(t,r)),null!=r.bc&&r.bc(r),a&=1}return a?(t.cb=0,a):0}function te(t,e,r,n,i){i=t[e+r+32*n]+(i>>3),t[e+r+32*n]=-256&i?0>i?0:255:i}function ee(t,e,r,n,i,A){te(t,e,0,r,n+i),te(t,e,1,r,n+A),te(t,e,2,r,n-A),te(t,e,3,r,n-i)}function re(t){return(20091*t>>16)+t}function ne(t,e,r,n){var i,o=0,a=A(16);for(i=0;4>i;++i){var s=t[e+0]+t[e+8],u=t[e+0]-t[e+8],c=(35468*t[e+4]>>16)-re(t[e+12]),l=re(t[e+4])+(35468*t[e+12]>>16);a[o+0]=s+l,a[o+1]=u+c,a[o+2]=u-c,a[o+3]=s-l,o+=4,e++}for(i=o=0;4>i;++i)s=(t=a[o+0]+4)+a[o+8],u=t-a[o+8],c=(35468*a[o+4]>>16)-re(a[o+12]),te(r,n,0,0,s+(l=re(a[o+4])+(35468*a[o+12]>>16))),te(r,n,1,0,u+c),te(r,n,2,0,u-c),te(r,n,3,0,s-l),o++,n+=32}function ie(t,e,r,n){var i=t[e+0]+4,A=35468*t[e+4]>>16,o=re(t[e+4]),a=35468*t[e+1]>>16;ee(r,n,0,i+o,t=re(t[e+1]),a),ee(r,n,1,i+A,t,a),ee(r,n,2,i-A,t,a),ee(r,n,3,i-o,t,a)}function Ae(t,e,r,n,i){ne(t,e,r,n),i&&ne(t,e+16,r,n+4)}function oe(t,e,r,n){on(t,e+0,r,n,1),on(t,e+32,r,n+128,1)}function ae(t,e,r,n){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(r,n,e,i,t)}function se(t,e,r,n){t[e+0]&&un(t,e+0,r,n),t[e+16]&&un(t,e+16,r,n+4),t[e+32]&&un(t,e+32,r,n+128),t[e+48]&&un(t,e+48,r,n+128+4)}function ue(t,e,r,n){var i,o=A(16);for(i=0;4>i;++i){var a=t[e+0+i]+t[e+12+i],s=t[e+4+i]+t[e+8+i],u=t[e+4+i]-t[e+8+i],c=t[e+0+i]-t[e+12+i];o[0+i]=a+s,o[8+i]=a-s,o[4+i]=c+u,o[12+i]=c-u}for(i=0;4>i;++i)a=(t=o[0+4*i]+3)+o[3+4*i],s=o[1+4*i]+o[2+4*i],u=o[1+4*i]-o[2+4*i],c=t-o[3+4*i],r[n+0]=a+s>>3,r[n+16]=c+u>>3,r[n+32]=a-s>>3,r[n+48]=c-u>>3,n+=64}function ce(t,e,r){var n,i=e-32,A=Tn,o=255-t[i-1];for(n=0;nr;++r)n(t,e+32*r,t,e-32,16)}function de(t,e){var r;for(r=16;0n;++n)i(e,r+32*n,t,16)}function ve(t,e){var r,n=16;for(r=0;16>r;++r)n+=t[e-1+32*r]+t[e+r-32];ge(n>>5,t,e)}function Be(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e-1+32*r];ge(n>>4,t,e)}function me(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e+r-32];ge(n>>4,t,e)}function we(t,e){ge(128,t,e)}function ye(t,e,r){return t+2*e+r+2>>2}function be(t,e){var r,i=e-32;i=new Uint8Array([ye(t[i-1],t[i+0],t[i+1]),ye(t[i+0],t[i+1],t[i+2]),ye(t[i+1],t[i+2],t[i+3]),ye(t[i+2],t[i+3],t[i+4])]);for(r=0;4>r;++r)n(t,e+32*r,i,0,i.length)}function xe(t,e){var r=t[e-1],n=t[e-1+32],i=t[e-1+64],A=t[e-1+96];U(t,e+0,16843009*ye(t[e-1-32],r,n)),U(t,e+32,16843009*ye(r,n,i)),U(t,e+64,16843009*ye(n,i,A)),U(t,e+96,16843009*ye(i,A,A))}function Ce(t,e){var r,n=4;for(r=0;4>r;++r)n+=t[e+r-32]+t[e-1+32*r];for(n>>=3,r=0;4>r;++r)i(t,e+32*r,n,4)}function Ee(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1-32],o=t[e+0-32],a=t[e+1-32],s=t[e+2-32],u=t[e+3-32];t[e+0+96]=ye(n,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=ye(r,n,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=ye(A,r,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=ye(o,A,r),t[e+3+64]=t[e+2+32]=t[e+1+0]=ye(a,o,A),t[e+3+32]=t[e+2+0]=ye(s,a,o),t[e+3+0]=ye(u,s,a)}function Ne(t,e){var r=t[e+1-32],n=t[e+2-32],i=t[e+3-32],A=t[e+4-32],o=t[e+5-32],a=t[e+6-32],s=t[e+7-32];t[e+0+0]=ye(t[e+0-32],r,n),t[e+1+0]=t[e+0+32]=ye(r,n,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=ye(n,i,A),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=ye(i,A,o),t[e+3+32]=t[e+2+64]=t[e+1+96]=ye(A,o,a),t[e+3+64]=t[e+2+96]=ye(o,a,s),t[e+3+96]=ye(a,s,s)}function Fe(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1-32],o=t[e+0-32],a=t[e+1-32],s=t[e+2-32],u=t[e+3-32];t[e+0+0]=t[e+1+64]=A+o+1>>1,t[e+1+0]=t[e+2+64]=o+a+1>>1,t[e+2+0]=t[e+3+64]=a+s+1>>1,t[e+3+0]=s+u+1>>1,t[e+0+96]=ye(i,n,r),t[e+0+64]=ye(n,r,A),t[e+0+32]=t[e+1+96]=ye(r,A,o),t[e+1+32]=t[e+2+96]=ye(A,o,a),t[e+2+32]=t[e+3+96]=ye(o,a,s),t[e+3+32]=ye(a,s,u)}function Qe(t,e){var r=t[e+0-32],n=t[e+1-32],i=t[e+2-32],A=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],u=t[e+7-32];t[e+0+0]=r+n+1>>1,t[e+1+0]=t[e+0+64]=n+i+1>>1,t[e+2+0]=t[e+1+64]=i+A+1>>1,t[e+3+0]=t[e+2+64]=A+o+1>>1,t[e+0+32]=ye(r,n,i),t[e+1+32]=t[e+0+96]=ye(n,i,A),t[e+2+32]=t[e+1+96]=ye(i,A,o),t[e+3+32]=t[e+2+96]=ye(A,o,a),t[e+3+64]=ye(o,a,s),t[e+3+96]=ye(a,s,u)}function Ue(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1+96];t[e+0+0]=r+n+1>>1,t[e+2+0]=t[e+0+32]=n+i+1>>1,t[e+2+32]=t[e+0+64]=i+A+1>>1,t[e+1+0]=ye(r,n,i),t[e+3+0]=t[e+1+32]=ye(n,i,A),t[e+3+32]=t[e+1+64]=ye(i,A,A),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=A}function Se(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],A=t[e-1+96],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],u=t[e+2-32];t[e+0+0]=t[e+2+32]=r+o+1>>1,t[e+0+32]=t[e+2+64]=n+r+1>>1,t[e+0+64]=t[e+2+96]=i+n+1>>1,t[e+0+96]=A+i+1>>1,t[e+3+0]=ye(a,s,u),t[e+2+0]=ye(o,a,s),t[e+1+0]=t[e+3+32]=ye(r,o,a),t[e+1+32]=t[e+3+64]=ye(n,r,o),t[e+1+64]=t[e+3+96]=ye(i,n,r),t[e+1+96]=ye(A,i,n)}function Le(t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,t,e-32,8)}function _e(t,e){var r;for(r=0;8>r;++r)i(t,e,t[e-1],8),e+=32}function He(t,e,r){var n;for(n=0;8>n;++n)i(e,r+32*n,t,8)}function Te(t,e){var r,n=8;for(r=0;8>r;++r)n+=t[e+r-32]+t[e-1+32*r];He(n>>4,t,e)}function Ie(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e+r-32];He(n>>3,t,e)}function Pe(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e-1+32*r];He(n>>3,t,e)}function Oe(t,e){He(128,t,e)}function ke(t,e,r){var n=t[e-r],i=t[e+0],A=3*(i-n)+_n[1020+t[e-2*r]-t[e+r]],o=Hn[112+(A+4>>3)];t[e-r]=Tn[255+n+Hn[112+(A+3>>3)]],t[e+0]=Tn[255+i-o]}function Re(t,e,r,n){var i=t[e+0],A=t[e+r];return In[255+t[e-2*r]-t[e-r]]>n||In[255+A-i]>n}function Me(t,e,r,n){return 4*In[255+t[e-r]-t[e+0]]+In[255+t[e-2*r]-t[e+r]]<=n}function De(t,e,r,n,i){var A=t[e-3*r],o=t[e-2*r],a=t[e-r],s=t[e+0],u=t[e+r],c=t[e+2*r],l=t[e+3*r];return 4*In[255+a-s]+In[255+o-u]>n?0:In[255+t[e-4*r]-A]<=i&&In[255+A-o]<=i&&In[255+o-a]<=i&&In[255+l-c]<=i&&In[255+c-u]<=i&&In[255+u-s]<=i}function Ke(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)Me(t,e+n,r,i)&&ke(t,e+n,r)}function ze(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)Me(t,e+n*r,1,i)&&ke(t,e+n*r,1)}function Ve(t,e,r,n){var i;for(i=3;0>7,v=18*B+63>>7,B=9*B+63>>7;s[u-3*c]=Tn[255+s[u-3*c]+B],s[u-2*c]=Tn[255+l+v],s[u-c]=Tn[255+f+g],s[u+0]=Tn[255+h-g],s[u+c]=Tn[255+p-v],s[u+2*c]=Tn[255+d-B]}e+=n}}function Xe(t,e,r,n,i,A,o,a){for(A=2*A+1;0>3)],d=Hn[112+(d+3>>3)],g=p+1>>1;s[u-2*c]=Tn[255+s[u-2*c]+g],s[u-c]=Tn[255+l+d],s[u+0]=Tn[255+f-p],s[u+c]=Tn[255+h-g]}e+=n}}function Ge(t,e,r,n,i,A){qe(t,e,r,1,16,n,i,A)}function Ye(t,e,r,n,i,A){qe(t,e,1,r,16,n,i,A)}function We(t,e,r,n,i,A){var o;for(o=3;0u?0:255:u)&255,u=s,i[A+a]=c}}function lr(t,r,i,o){var a=r.width,s=r.o;if(e(null!=t&&null!=r),0>i||0>=o||i+o>s)return null;if(!t.Cc){if(null==t.ga){var u;if(t.ga=new ar,(u=null==t.ga)||(u=r.width*r.o,e(0==t.Gb.length),t.Gb=A(u),t.Uc=0,null==t.Gb?u=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,u=1),u=!u),!u){u=t.ga;var c=t.Fa,l=t.P,f=t.qc,h=t.mb,p=t.nb,d=l+1,g=f-1,B=u.l;if(e(null!=c&&null!=h&&null!=r),gi[0]=null,gi[1]=sr,gi[2]=ur,gi[3]=cr,u.ca=h,u.tb=p,u.c=r.width,u.i=r.height,e(0=f)r=0;else if(u.$a=c[l+0]>>0&3,u.Z=c[l+0]>>2&3,u.Lc=c[l+0]>>4&3,l=c[l+0]>>6&3,0>u.$a||1=u.c*u.i;u=!r}if(u)return null;1!=t.ga.Lc?t.Ga=0:o=s-i}e(null!=t.ga),e(i+o<=s);t:{if(r=(c=t.ga).c,s=c.l.o,0==c.$a){if(d=t.rc,g=t.Vc,B=t.Fa,l=t.P+1+i*r,f=t.mb,h=t.nb+i*r,e(l<=t.P+t.qc),0!=c.Z)for(e(null!=gi[c.Z]),u=0;u=r)r=1;else if(c.ic||gr(),c.ic){c=u.V,d=u.Ba,g=u.c;var m=u.i,w=(B=1,l=u.$/g,f=u.$%g,h=u.m,p=u.s,u.$),y=g*m,b=g*r,C=p.wc,N=w(m=Bt(N.G[0],N.H[0],h)))c[d+w]=m,++w,++f>=g&&(f=0,++l<=r&&!(l%16)&&Et(u,l));else{if(!(280>m)){B=0;break e}m=gt(m-256,h);var F,Q=Bt(N.G[4],N.H[4],h);if(E(h),!(w>=(Q=vt(g,Q=gt(Q,h)))&&y-w>=m)){B=0;break e}for(F=0;F=g;)f-=g,++l<=r&&!(l%16)&&Et(u,l);wr?r:l);break e}!B||h.h&&w=s&&(t.Cc=1),o=1}if(!o)return null;if(t.Cc&&(null!=(o=t.ga)&&(o.mc=null),t.ga=null,0>23,a[s+4*o+1]=a[s+4*o+1]*l>>23,a[s+4*o+2]=a[s+4*o+2]*l>>23)}e+=A}}function hr(t,e,r,n,i){for(;0>4)*s>>16;t[e+2*A+0]=(240&o|o>>4)*s>>16&240|(15&o|o<<4)*s>>16>>4&15,t[e+2*A+1]=240&u|a}e+=i}}function pr(t,e,r,n,i,A,o,a){var s,u,c=255;for(u=0;u>8}function gr(){xn=fr,Cn=hr,En=pr,Nn=dr}function vr(r,n,i){t[r]=function(t,r,A,o,a,s,u,c,l,f,h,p,d,g,v,B,m){var w,y=m-1>>1,b=a[s+0]|u[c+0]<<16,x=l[f+0]|h[p+0]<<16;e(null!=t);var C=3*b+x+131074>>2;for(n(t[r+0],255&C,C>>16,d,g),null!=A&&(C=3*x+b+131074>>2,n(A[o+0],255&C,C>>16,v,B)),w=1;w<=y;++w){var E=a[s+w]|u[c+w]<<16,N=l[f+w]|h[p+w]<<16,F=b+E+x+N+524296,Q=F+2*(E+x)>>3;C=Q+b>>1,b=(F=F+2*(b+N)>>3)+E>>1,n(t[r+2*w-1],255&C,C>>16,d,g+(2*w-1)*i),n(t[r+2*w-0],255&b,b>>16,d,g+(2*w-0)*i),null!=A&&(C=F+x>>1,b=Q+N>>1,n(A[o+2*w-1],255&C,C>>16,v,B+(2*w-1)*i),n(A[o+2*w+0],255&b,b>>16,v,B+(2*w+0)*i)),b=E,x=N}1&m||(C=3*b+x+131074>>2,n(t[r+m-1],255&C,C>>16,d,g+(m-1)*i),null!=A&&(C=3*x+b+131074>>2,n(A[o+m-1],255&C,C>>16,v,B+(m-1)*i)))}}function Br(){vi[Pn]=Bi,vi[On]=wi,vi[kn]=mi,vi[Rn]=yi,vi[Mn]=bi,vi[Dn]=xi,vi[Kn]=Ci,vi[zn]=wi,vi[Vn]=yi,vi[jn]=bi,vi[qn]=xi}function mr(t){return t&~Si?0>t?0:255:t>>Ui}function wr(t,e){return mr((19077*t>>8)+(26149*e>>8)-14234)}function yr(t,e,r){return mr((19077*t>>8)-(6419*e>>8)-(13320*r>>8)+8708)}function br(t,e){return mr((19077*t>>8)+(33050*e>>8)-17685)}function xr(t,e,r,n,i){n[i+0]=wr(t,r),n[i+1]=yr(t,e,r),n[i+2]=br(t,e)}function Cr(t,e,r,n,i){n[i+0]=br(t,e),n[i+1]=yr(t,e,r),n[i+2]=wr(t,r)}function Er(t,e,r,n,i){var A=yr(t,e,r);e=A<<3&224|br(t,e)>>3,n[i+0]=248&wr(t,r)|A>>5,n[i+1]=e}function Nr(t,e,r,n,i){var A=240&br(t,e)|15;n[i+0]=240&wr(t,r)|yr(t,e,r)>>4,n[i+1]=A}function Fr(t,e,r,n,i){n[i+0]=255,xr(t,e,r,n,i+1)}function Qr(t,e,r,n,i){Cr(t,e,r,n,i),n[i+3]=255}function Ur(t,e,r,n,i){xr(t,e,r,n,i),n[i+3]=255}function jt(t,e){return 0>t?0:t>e?e:t}function Sr(e,r,n){t[e]=function(t,e,i,A,o,a,s,u,c){for(var l=u+(-2&c)*n;u!=l;)r(t[e+0],i[A+0],o[a+0],s,u),r(t[e+1],i[A+0],o[a+0],s,u+n),e+=2,++A,++a,u+=2*n;1&c&&r(t[e+0],i[A+0],o[a+0],s,u)}}function Lr(t,e,r){return 0==r?0==t?0==e?6:5:0==e?4:0:r}function _r(t,e,r,n,i){switch(t>>>30){case 3:on(e,r,n,i,0);break;case 2:an(e,r,n,i);break;case 1:un(e,r,n,i)}}function Hr(t,e){var r,A,o=e.M,a=e.Nb,s=t.oc,u=t.pc+40,c=t.oc,l=t.pc+584,f=t.oc,h=t.pc+600;for(r=0;16>r;++r)s[u+32*r-1]=129;for(r=0;8>r;++r)c[l+32*r-1]=129,f[h+32*r-1]=129;for(0r;++r)n(s,u+32*r-4,s,u+32*r+12,4);for(r=-1;8>r;++r)n(c,l+32*r-4,c,l+32*r+4,4),n(f,h+32*r-4,f,h+32*r+4,4)}var d=t.Gd,g=t.Hd+A,v=p.ad,B=p.Hc;if(0=t.za-1?i(m,w,d[g].y[15],4):n(m,w,d[g+1].y,0,4)),r=0;4>r;r++)m[w+128+r]=m[w+256+r]=m[w+384+r]=m[w+0+r];for(r=0;16>r;++r,B<<=2)m=s,w=u+ki[r],fi[p.Ob[r]](m,w),_r(B,v,16*+r,m,w)}else if(m=Lr(A,o,p.Ob[0]),li[m](s,u),0!=B)for(r=0;16>r;++r,B<<=2)_r(B,v,16*+r,s,u+ki[r]);for(r=p.Gc,m=Lr(A,o,p.Dd),hi[m](c,l),hi[m](f,h),B=v,m=c,w=l,255&(p=r>>0)&&(170&p?sn(B,256,m,w):cn(B,256,m,w)),p=f,B=h,255&(r>>=8)&&(170&r?sn(v,320,p,B):cn(v,320,p,B)),or;++r)n(d,g+r*t.R,s,u+32*r,16);for(r=0;8>r;++r)n(v,p+r*t.B,c,l+32*r,8),n(B,m+r*t.B,f,h+32*r,8)}}function Tr(t,n,i,A,o,a,s,u,c){var l=[0],f=[0],h=0,p=null!=c?c.kd:0,d=null!=c?c:new nr;if(null==t||12>i)return 7;d.data=t,d.w=n,d.ha=i,n=[n],i=[i],d.gb=[d.gb];t:{var g=n,B=i,m=d.gb;if(e(null!=t),e(null!=B),e(null!=m),m[0]=0,12<=B[0]&&!r(t,g[0],"RIFF")){if(r(t,g[0]+8,"WEBP")){m=3;break t}var w=_(t,g[0]+4);if(12>w||4294967286B[0]-8){m=7;break t}m[0]=w,g[0]+=12,B[0]-=12}m=0}if(0!=m)return m;for(w=0m[0])m=7;else{if(!r(b,B[0],"VP8X")){if(10!=_(b,B[0]+4)){m=3;break t}if(18>m[0]){m=7;break t}var N=_(b,B[0]+8),F=1+L(b,B[0]+12);if(2147483648<=F*(b=1+L(b,B[0]+15))){m=3;break t}null!=E&&(E[0]=N),null!=x&&(x[0]=F),null!=C&&(C[0]=b),B[0]+=18,m[0]-=18,Q[0]=1}m=0}}if(h=h[0],g=g[0],0!=m)return m;if(B=!!(2&g),!w&&h)return 3;if(null!=a&&(a[0]=!!(16&g)),null!=s&&(s[0]=B),null!=u&&(u[0]=0),s=l[0],g=f[0],h&&B&&null==c){m=0;break}if(4>i){m=7;break}if(w&&h||!w&&!h&&!r(t,n[0],"ALPH")){i=[i],d.na=[d.na],d.P=[d.P],d.Sa=[d.Sa];t:{N=t,m=n,w=i;var Q=d.gb;x=d.na,C=d.P,E=d.Sa;F=22,e(null!=N),e(null!=w),b=m[0];var U=w[0];for(e(null!=x),e(null!=E),x[0]=null,C[0]=null,E[0]=0;;){if(m[0]=b,w[0]=U,8>U){m=7;break t}var S=_(N,b+4);if(4294967286Q){m=3;break t}if(!r(N,b,"VP8 ")||!r(N,b,"VP8L")){m=0;break t}if(U[0]w[0])m=7;else{if(b||F){if(Q=_(Q,N+4),12<=x&&Q>x-12){m=3;break t}if(p&&Q>w[0]-8){m=7;break t}C[0]=Q,m[0]+=8,w[0]-=8,E[0]=F}else E[0]=5<=w[0]&&47==Q[N+0]&&!(Q[N+4]>>5),C[0]=w[0];m=0}if(i=i[0],d.Ja=d.Ja[0],d.xa=d.xa[0],n=n[0],0!=m)break;if(4294967286i){m=7;break}u=s,p=g,B=a,null==t||5>i?t=0:5<=i&&47==t[n+0]&&!(t[n+4]>>5)?(w=[0],Q=[0],x=[0],v(C=new y,t,n,i),dt(C,w,Q,x)?(null!=u&&(u[0]=w[0]),null!=p&&(p[0]=Q[0]),null!=B&&(B[0]=x[0]),t=1):t=0):t=0}else{if(10>i){m=7;break}u=g,null==t||10>i||!Yt(t,n+3,i-3)?t=0:(p=t[n+0]|t[n+1]<<8|t[n+2]<<16,B=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=d.Ja||!B||!t?t=0:(s&&(s[0]=B),u&&(u[0]=t),t=1))}if(!t)return 3;if(s=s[0],g=g[0],h&&(l[0]!=s||f[0]!=g))return 3;null!=c&&(c[0]=d,c.offset=n-c.w,e(4294967286>n-c.w),e(c.offset==c.ha-i));break}return 0==m||7==m&&h&&null==c?(null!=a&&(a[0]|=null!=d.na&&0r||(A&=-2,o&=-2),0>A||0>o||0>=a||0>=s||A+a>n||o+s>i))return 0;if(e.v=A,e.j=o,e.va=A+a,e.o=o+s,e.U=a,e.T=s,e.da=null!=t&&0t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function Or(t,e,r,n){if(null==n||0>=t||0>=e)return 2;if(null!=r){if(r.Da){var i=r.cd,o=r.bd,a=-2&r.v,s=-2&r.j;if(0>a||0>s||0>=i||0>=o||a+i>t||s+o>e)return 2;t=i,e=o}if(r.da){if(!P(t,e,i=[r.ib],o=[r.hb]))return 2;t=i[0],e=o[0]}}n.width=t,n.height=e;t:{var u=n.width,c=n.height;if(t=n.S,0>=u||0>=c||!(t>=Pn&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){a=o=i=e=0;var l=(s=u*Ki[t])*c;if(11>t||(o=(c+1)/2*(e=(u+1)/2),12==t&&(a=(i=u)*c)),null==(c=A(l+2*o+a))){t=1;break t}n.sd=c,11>t?((u=n.f.RGBA).eb=c,u.fb=0,u.A=s,u.size=l):((u=n.f.kb).y=c,u.O=0,u.fa=s,u.Fd=l,u.f=c,u.N=0+l,u.Ab=e,u.Cd=o,u.ea=c,u.W=0+l+o,u.Db=e,u.Ed=o,12==t&&(u.F=c,u.J=0+l+2*o),u.Tc=a,u.lb=i)}if(e=1,i=n.S,o=n.width,a=n.height,i>=Pn&&13>i)if(11>i)t=n.f.RGBA,e&=(s=Math.abs(t.A))*(a-1)+o<=t.size,e&=s>=o*Ki[i],e&=null!=t.eb;else{t=n.f.kb,s=(o+1)/2,l=(a+1)/2,u=Math.abs(t.fa);c=Math.abs(t.Ab);var f=Math.abs(t.Db),h=Math.abs(t.lb),p=h*(a-1)+o;e&=u*(a-1)+o<=t.Fd,e&=c*(l-1)+s<=t.Cd,e=(e&=f*(l-1)+s<=t.Ed)&u>=o&c>=s&f>=s,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=h>=o,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=r&&r.fd&&(t=Pr(n)),t}var kr=64,Rr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Mr=24,Dr=32,Kr=8,zr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];R("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,r){return e[r+0]},t.Predictor3=function(t,e,r){return e[r+1]},t.Predictor4=function(t,e,r){return e[r-1]},t.Predictor5=function(t,e,r){return D(D(t,e[r+1]),e[r+0])},t.Predictor6=function(t,e,r){return D(t,e[r-1])},t.Predictor7=function(t,e,r){return D(t,e[r+0])},t.Predictor8=function(t,e,r){return D(e[r-1],e[r+0])},t.Predictor9=function(t,e,r){return D(e[r+0],e[r+1])},t.Predictor10=function(t,e,r){return D(D(t,e[r-1]),D(e[r+0],e[r+1]))},t.Predictor11=function(t,e,r){var n=e[r+0];return 0>=V(n>>24&255,t>>24&255,(e=e[r-1])>>24&255)+V(n>>16&255,t>>16&255,e>>16&255)+V(n>>8&255,t>>8&255,e>>8&255)+V(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,r){var n=e[r+0];return(K((t>>24&255)+(n>>24&255)-((e=e[r-1])>>24&255))<<24|K((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|K((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|K((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,r){var n=e[r-1];return(z((t=D(t,e[r+0]))>>24&255,n>>24&255)<<24|z(t>>16&255,n>>16&255)<<16|z(t>>8&255,n>>8&255)<<8|z(t>>0&255,n>>0&255))>>>0};var Vr=t.PredictorAdd0;t.PredictorAdd1=j,R("Predictor2","PredictorAdd2"),R("Predictor3","PredictorAdd3"),R("Predictor4","PredictorAdd4"),R("Predictor5","PredictorAdd5"),R("Predictor6","PredictorAdd6"),R("Predictor7","PredictorAdd7"),R("Predictor8","PredictorAdd8"),R("Predictor9","PredictorAdd9"),R("Predictor10","PredictorAdd10"),R("Predictor11","PredictorAdd11"),R("Predictor12","PredictorAdd12"),R("Predictor13","PredictorAdd13");var jr=t.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var qr,Xr=t.ColorIndexInverseTransform,Gr=t.MapARGB,Yr=t.VP8LColorIndexInverseTransformAlpha,Wr=t.MapAlpha,Jr=t.VP8LPredictorsAdd=[];Jr.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Zr,$r,tn,en,rn,nn,An,on,an,sn,un,cn,ln,fn,hn,pn,dn,gn,vn,Bn,mn,wn,yn,bn,xn,Cn,En,Nn,Fn=A(511),Qn=A(2041),Un=A(225),Sn=A(767),Ln=0,_n=Qn,Hn=Un,Tn=Sn,In=Fn,Pn=0,On=1,kn=2,Rn=3,Mn=4,Dn=5,Kn=6,zn=7,Vn=8,jn=9,qn=10,Xn=[2,3,7],Gn=[3,3,11],Yn=[280,256,256,256,40],Wn=[0,1,1,1,0],Jn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],$n=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ai=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ai=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],si=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ui=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],li=[],fi=[],hi=[],pi=1,di=2,gi=[],vi=[];vr("UpsampleRgbLinePair",xr,3),vr("UpsampleBgrLinePair",Cr,3),vr("UpsampleRgbaLinePair",Ur,4),vr("UpsampleBgraLinePair",Qr,4),vr("UpsampleArgbLinePair",Fr,4),vr("UpsampleRgba4444LinePair",Nr,2),vr("UpsampleRgb565LinePair",Er,2);var Bi=t.UpsampleRgbLinePair,mi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,yi=t.UpsampleBgraLinePair,bi=t.UpsampleArgbLinePair,xi=t.UpsampleRgba4444LinePair,Ci=t.UpsampleRgb565LinePair,Ei=16,Ni=1<i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&gr()),i.Pb&&0(u=n.Md)?0:100c;++c)12>(f=A.pb[c]).lc&&(f.ia=u*Mi[0>f.lc?0:f.lc]>>3),l|=f.ia;l&&(alert("todo:VP8InitRandom"),A.ia=1)}A.Ga=n.Id,100A.Ga&&(A.Ga=0)}$t(t,i)||(r=t.a)}}else r=t.a}0==r&&null!=a.Oa&&a.Oa.fd&&(r=Pr(a.ba))}a=r}o=0!=a?null:11>o?s.f.RGBA.eb:s.f.kb.y}else o=null;return o};var Ki=[3,4,3,4,4,2,2,4,4,4,2,1,1]},new Jt;var l=[0],f=[0],h=[],p=new Jt,d=t,g=function(t,e){var r={},n=0,i=!1,A=0,o=0;if(r.frames=[],! +/** @license + * Copyright (c) 2017 Dominik Homberger + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +https://webpjs.appspot.com +WebPRiffParser dominikhlbg@gmail.com +*/ +function(t,e,r,n){for(var i=0;i>1&1}"ANMF"!=f&&(e+=p)}return r}}(d,0);g.response=d,g.rgbaoutput=!0,g.dataurl=!1;var v=g.header?g.header:null,B=g.frames?g.frames:null;if(v){v.loop_counter=v.loop_count,l=[v.canvas_height],f=[v.canvas_width];for(var m=0;m>>1)&255;return A},u=function(t,e,r){var n,i,A,o,a=[],s=t.length;a[0]=4;for(var u=0;u>>C&255,C+=u.bits;g[w]=m>>>C&255}}if(16===u.bits){d=(p=new Uint32Array(u.decodePixels().buffer)).length,v=new Uint8Array(d*(32/u.pixelBitlength)*u.colors),g=new Uint8Array(d*(32/u.pixelBitlength)),B=u.colors>1,w=0,y=0;for(var N=0;w>>0&255,B&&(v[y++]=m>>>16&255,m=p[w++],v[y++]=m>>>0&255),g[N++]=m>>>16&255;s=8}o!==t.image_compression.NONE&&e()?(n=r(v,u.width*u.colors,u.colors,o),h=r(g,u.width,1,o)):(n=v,h=g,b=void 0)}if(3===u.colorType&&(a=this.color_spaces.INDEXED,f=u.palette,u.transparency.indexed)){var F=u.transparency.indexed,Q=0;for(w=0,d=F.length;w=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i>7-a&1];this.data[o+4*a]=s.blue,this.data[o+4*a+1]=s.green,this.data[o+4*a+2]=s.red,this.data[o+4*a+3]=255}0!==r&&(this.pos+=4-r)}},Wt.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i>4,s=15&A,u=this.palette[a];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*i+1>=this.width)break;u=this.palette[s],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==e&&(this.pos+=4-e)}},Wt.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i>5&e)/e*255|0,s=(A>>10&e)/e*255|0,u=A>>15?255:0,c=n*this.width*4+4*i;this.data[c]=s,this.data[c+1]=a,this.data[c+2]=o,this.data[c+3]=u}this.pos+=t}},Wt.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,A=0;A>5&r)/r*255|0,u=(o>>11)/e*255|0,c=i*this.width*4+4*A;this.data[c]=u,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=255}this.pos+=t}},Wt.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;rn&&(i.push(t.slice(s,A)),a=0,s=A),a+=e[A],A++;return s!==A&&i.push(t.slice(s,A)),i},zt=function(t,e,r){r||(r={});var n,i,A,o,a,s,u,c=[],l=[c],f=r.textIndent||0,h=0,p=0,d=t.split(" "),g=Mt.apply(this,[" ",r])[0];if(s=-1===r.lineIndent?d[0].length+2:r.lineIndent||0){var v=Array(s).join(" "),B=[];d.map((function(t){(t=t.split(/\s*\n/)).length>1?B=B.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):B.push(t[0])})),d=B,s=Dt.apply(this,[v,r])}for(A=0,o=d.length;Ae||m){if(p>e){for(a=Kt.apply(this,[n,i,e-(f+h),e]),c.push(a.shift()),c=[a.pop()];a.length;)l.push([a.shift()]);p=i.slice(n.length-(c[0]?c[0].length:0)).reduce((function(t,e){return t+e}),0)}else c=[n];l.push(c),f=p+s,h=g}else c.push(n),f+=h+p,h=g}return u=s?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},l.map(u)},Rt.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),A=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle),r="Unicode";return e.metadata[r]?{widths:e.metadata[r].widths||{0:1},kerning:e.metadata[r].kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*e/i;A.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,A.lineIndent=r.lineIndent;var a,s,u=[];for(a=0,s=n.length;a1){for(c=0;c>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this}}(H.API), +/** ==================================================================== + * @license + * jsPDF XMP metadata plugin + * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(t){var e=function(){var t='',e=unescape(encodeURIComponent('')),r=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("")),A=unescape(encodeURIComponent("")),o=r.length+n.length+i.length+e.length+A.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(e+r+n+i+A),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(H.API),function(t){var e=t.API,r=e.pdfEscape16=function(t,e){for(var r,n=e.metadata.Unicode.widths,i=["","0","00","000","0000"],A=[""],o=0,a=t.length;o=100&&(A+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+i+">"));return n.length&&(A+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),A+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,A=e.newObject,o=e.putStream,a=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"Identity-H"===r.encoding){for(var s=r.metadata.Unicode.widths,u=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),c="",l=0;l>"),i("endobj");var d=A();i("<<"),i("/Type /Font"),i("/BaseFont /"+a(r.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+t.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=A(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+a(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+d+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,A=e.newObject,o=e.putStream,a=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var s=r.metadata.rawData,u="",c=0;c>"),i("endobj"),r.objectNumber=A();for(var p=0;p>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,n=t.text||"",i=t.x,A=t.y,o=t.options||{},a=t.mutex||{},s=a.pdfEscape,u=a.activeFontKey,c=a.fonts,l=u,f="",h=0,p="",d=c[l].encoding;if("Identity-H"!==c[l].encoding)return{text:n,x:i,y:A,options:o,mutex:a};for(p=n,l=u,Array.isArray(n)&&(p=n[0]),h=0;h","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],d=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,v=0;this.__bidiEngine__={};var B=function(t){var e=t.charCodeAt(),r=e>>8,n=h[r];return void 0!==n?u[256*n+(255&e)]:252===r||253===r?"AL":d.test(r)?"L":8===r?"R":"N"},m=function(t){for(var e,r=0;r=e.length||"EN"!==(s=o[a-1])&&"AN"!==s||"EN"!==(u=e[a+1])&&"AN"!==u?f="N":g&&(u="AN"),f=u===s?u:"N";break;case"ES":f="EN"===(s=a>0?o[a-1]:"B")&&a+10&&"EN"===o[a-1]){f="EN";break}if(g){f="N";break}for(c=a+1,l=e.length;c=1425&&h<=2303||64286===h;if(s=e[c],p&&("R"===s||"AL"===s)){f="R";break}}}f=a<1||"B"===(s=e[a-1])?"N":o[a-1];break;case"B":g=!1,r=!0,f=v;break;case"S":n=!0,f="N"}return f},y=function(t,e,r){var n=t.split("");return r&&b(n,r,{hiLevel:v}),n.reverse(),e&&e.reverse(),n.join("")},b=function(t,e,i){var A,o,a,s,u,h=-1,p=t.length,d=0,m=[],y=v?l:c,b=[];for(g=!1,r=!1,n=!1,o=0;o0)if(16===A){for(o=h;o-1){for(o=h;o=0&&"WS"===t[i];i--)e[i]=v}}(b,e,p)},x=function(t,e,n,i,A){if(!(A.hiLevel=t){for(s=l+1;s=t;)s++;for(u=l,a=s-1;u=0&&(t[i]=p[n+1])}(n,r,i),x(2,n,e,r,i),x(1,n,e,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,r){if(function(t,e){if(e)for(var r=0;r>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,r){var n,i,A,o;for(A=0,i=0,o=(t=""+t).length;0<=o?io;i=0<=o?++i:--i)n=t.charCodeAt(i),A+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return A*(e/1e3)},t.prototype.lineHeight=function(t,e){var r;return null==e&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},t}();var Zt,$t=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?et;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(t){var e,r,n;for(n=[],e=0,r=t.length;0<=r?er;e=0<=r?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,r,n,i,A,o,a;return t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),A=this.readByte(),o=this.readByte(),a=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^A)+256*(255^o)+(255^a)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*A+256*o+a},t.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?rt;r=0<=t?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,r,n,i;for(i=[],r=0,n=t.length;rn;r=0<=n?++r:--r)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var r,n,i,A,o,a,s,u,c,l,f,h,p;for(p in f=Object.keys(e).length,a=Math.log(2),c=16*Math.floor(Math.log(f)/a),A=Math.floor(c/a),u=16*f-c,(n=new $t).writeInt(this.scalarType),n.writeShort(f),n.writeShort(c),n.writeShort(A),n.writeShort(u),i=16*f,s=n.pos+i,o=null,h=[],e)for(l=e[p],n.writeString(p),n.writeInt(t(l)),n.writeInt(s),n.writeInt(l.length),h=h.concat(l),"head"===p&&(o=s),s+=l.length;s%4;)h.push(0),s++;return n.write(h),r=2981146554-t(n.data),n.pos=o+8,n.writeUInt32(r),n.data},t=function(t){var e,r,n,i;for(t=he.call(t);t.length%4;)t.push(0);for(n=new $t(t),r=0,e=0,i=t.length;el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),t.pos+=2,p=function(){var e,r;for(r=[],a=e=0;0<=l?el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),s=function(){var e,r;for(r=[],a=e=0;0<=l?el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),u=function(){var e,r;for(r=[],a=e=0;0<=l?el;a=0<=l?++e:--e)r.push(t.readUInt16());return r}(),n=(this.length-t.pos+this.offset)/2,o=function(){var e,r;for(r=[],a=e=0;0<=n?en;a=0<=n?++e:--e)r.push(t.readUInt16());return r}(),a=g=0,B=i.length;g=d;r=h<=d?++v:--v)0===u[a]?A=r+s[a]:0!==(A=o[u[a]/2+(r-h)-(l-a)]||0)&&(A+=s[a]),this.codeMap[r]=65535&A}t.pos=c}return t.encode=function(t,e){var r,n,i,A,o,a,s,u,c,l,f,h,p,d,g,v,B,m,w,y,b,x,C,E,N,F,Q,U,S,L,_,H,T,I,P,O,k,R,M,D,K,z,V,j,q,X;switch(U=new $t,A=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,d=function(){var t=[];for(h=0;h<256;++h)t.push(0);return t}(),v={0:0},i={},S=0,T=A.length;S=32768)for(a.push(0),y.push(2*(f.length+C-h)),n=H=N;N<=u?H<=u:H>=u;n=N<=u?++H:--H)f.push(r[n].new);else a.push(Q-N),y.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*C+2*f.length),U.writeUInt16(0),U.writeUInt16(E),U.writeUInt16(x),U.writeUInt16(l),U.writeUInt16(b),K=0,O=c.length;Kn;r=0<=n?++r:--r)e=new ie(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var r,n;return null==e&&(e="macroman"),r=ie.encode(t,e),(n=new $t).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(Zt),oe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(Zt),ae=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(Zt),se=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="post",e.prototype.parse=function(t){var e,r,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(r=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?ir;i=0<=r?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.posr;i=0<=r?++e:--e)n.push(t.readUInt32());return n}.call(this)}},e}(Zt),ue=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},ce=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="name",e.prototype.parse=function(t){var e,r,n,i,A,o,a,s,u,c,l;for(t.pos=this.offset,t.readShort(),e=t.readShort(),o=t.readShort(),r=[],i=0;0<=e?ie;i=0<=e?++i:--i)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+o+t.readShort()});for(a={},i=u=0,c=r.length;uo;e=0<=o?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],e=r=0;0<=n?rn;e=0<=n?++r:--r)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.metrics).length;tn;e=0<=n?++A:--A)a.push(this.widths.push(r));return a},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(Zt),he=[].slice,pe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return re(e,t),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,r,n,i,A,o,a,s,u,c;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(t),0===(n=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+r,A=(o=new $t(e.read(n))).readShort(),s=o.readShort(),c=o.readShort(),a=o.readShort(),u=o.readShort(),this.cache[t]=-1===A?new ge(o,s,c,a,u):new de(o,A,s,c,a,u),this.cache[t]))},e.prototype.encode=function(t,e,r){var n,i,A,o,a;for(A=[],i=[],o=0,a=e.length;o0&&(n+=a)}for(var s=new Array(4*r.length),u=0;u>8,s[4*u+1]=(16711680&r[u])>>16,s[4*u]=(4278190080&r[u])>>24;return s},e}(Zt),Be=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,t={},i=this.subset)r=i[e],t[e]=n[r];return t},t.prototype.glyphsFor=function(t){var e,r,n,i,A,o,a;for(n={},A=0,o=t.length;A0)for(i in a=this.glyphsFor(e))r=a[i],n[i]=r;return n},t.prototype.encode=function(t,e){var r,n,i,A,o,a,s,u,c,l,f,h,p,d,g;for(n in r=Ae.encode(this.generateCmap(),"unicode"),A=this.glyphsFor(t),f={0:0},g=r.charMap)f[(a=g[n]).old]=a.new;for(h in l=r.maxGlyphID,A)h in f||(f[h]=l++);return u=function(t){var e,r;for(e in r={},t)r[t[e]]=e;return r}(f),c=Object.keys(u).sort((function(t,e){return t-e})),p=function(){var t,e,r;for(r=[],t=0,e=c.length;t>"),A.join("\n")}return""+r},e}(),t.exports.AcroForm=bt,t.exports.AcroFormAppearance=wt,t.exports.AcroFormButton=ht,t.exports.AcroFormCheckBox=vt,t.exports.AcroFormChoiceField=ut,t.exports.AcroFormComboBox=lt,t.exports.AcroFormEditBox=ft,t.exports.AcroFormListBox=ct,t.exports.AcroFormPasswordField=mt,t.exports.AcroFormPushButton=pt,t.exports.AcroFormRadioButton=dt,t.exports.AcroFormTextField=Bt,t.exports.GState=U,t.exports.ShadingPattern=L,t.exports.TilingPattern=_,t.exports.default=H,t.exports.jsPDF=H})),A.register("fyZGr",(function(e,r){t(e.exports,"zlibSync",(()=>G)),t(e.exports,"unzlibSync",(()=>Y));var n=Uint8Array,i=Uint16Array,A=Uint32Array,o=new n([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),a=new n([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=function(t,e){for(var r=new i(31),n=0;n<31;++n)r[n]=e+=1<>>1|(21845&v)<<1;B=(61680&(B=(52428&B)>>>2|(13107&B)<<2))>>>4|(3855&B)<<4,g[v]=((65280&B)>>>8|(255&B)<<8)>>>1}var m=function(t,e,r){for(var n=t.length,A=0,o=new i(e);A>>u]=c}else for(a=new i(n),A=0;A>>15-t[A];return a},w=new n(288);for(v=0;v<144;++v)w[v]=8;for(v=144;v<256;++v)w[v]=9;for(v=256;v<280;++v)w[v]=7;for(v=280;v<288;++v)w[v]=8;var y=new n(32);for(v=0;v<32;++v)y[v]=5;var b=m(w,9,0),x=m(w,9,1),C=m(y,5,0),E=m(y,5,1),N=function(t){for(var e=t[0],r=1;re&&(e=t[r]);return e},F=function(t,e,r){var n=e/8>>0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},Q=function(t,e){var r=e/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},U=function(t){return(t/8>>0)+(7&t&&1)},S=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var o=new(t instanceof i?i:t instanceof A?A:n)(r-e);return o.set(t.subarray(e,r)),o},L=function(t,e,r){var i=t.length,A=!e||r,u=!r||r.i;r||(r={}),e||(e=new n(3*i));var c=function(t){var r=e.length;if(t>r){var i=new n(Math.max(2*r,t));i.set(e),e=i}},f=r.f||0,h=r.p||0,d=r.b||0,g=r.l,v=r.d,B=r.m,w=r.n,y=8*i;do{if(!g){r.f=f=F(t,h,1);var b=F(t,h+1,3);if(h+=3,!b){var C=t[(D=U(h)+4)-4]|t[D-3]<<8,L=D+C;if(L>i){if(u)throw"unexpected EOF";break}A&&c(d+C),e.set(t.subarray(D,L),d),r.b=d+=C,r.p=h=8*L;continue}if(1==b)g=x,v=E,B=9,w=5;else{if(2!=b)throw"invalid block type";var _=F(t,h,31)+257,H=F(t,h+10,15)+4,T=_+F(t,h+5,31)+1;h+=14;for(var I=new n(T),P=new n(19),O=0;Oy)break;var M=m(P,k,1);for(O=0;O>>4)<16)I[O++]=D;else{var z=0,V=0;for(16==D?(V=3+F(t,h,3),h+=2,z=I[O-1]):17==D?(V=3+F(t,h,7),h+=3):18==D&&(V=11+F(t,h,127),h+=7);V--;)I[O++]=z}}var j=I.subarray(0,_),q=I.subarray(_);B=N(j),w=N(q),g=m(j,B,1),v=m(q,w,1)}if(h>y)throw"unexpected EOF"}A&&c(d+131072);for(var X=(1<>>4;if((h+=15&z)>y)throw"unexpected EOF";if(!z)throw"invalid length/literal";if(W<256)e[d++]=W;else{if(256==W){g=null;break}var J=W-254;if(W>264){var Z=o[O=W-257];J=F(t,h,(1<>>4;if(!$)throw"invalid distance";h+=15&$;q=p[tt];if(tt>3){Z=a[tt];q+=Q(t,h)&(1<y)throw"unexpected EOF";A&&c(d+131072);for(var et=d+J;d>0;t[n]|=r,t[n+1]|=r>>>8},H=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},T=function(t,e){for(var r=[],A=0;Ap&&(p=a[A].s);var d=new i(p+1),g=I(r[f-1],d,0);if(g>e){A=0;var v=0,B=g-e,m=1<e))break;v+=m-(1<>>=B;v>0;){var y=a[A].s;d[y]=0&&v;--A){var b=a[A].s;d[b]==e&&(--d[b],++v)}g=e}return[new n(d),g]},I=function(t,e,r){return-1==t.s?Math.max(I(t.l,e,r+1),I(t.r,e,r+1)):e[t.s]=r},P=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new i(++e),n=0,A=t[0],o=1,a=function(t){r[n++]=t},s=1;s<=e;++s)if(t[s]==A&&s!=e)++o;else{if(!A&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(A),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(A);o=1,A=t[s]}return[r.subarray(0,n),e]},O=function(t,e){for(var r=0,n=0;n>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var A=0;A4&&!D[s[z-1]];--z);var V,j,q,X,G=h+5<<3,Y=O(A,w)+O(u,y)+c,W=O(A,g)+O(u,x)+c+14+3*z+O(I,D)+(2*I[16]+3*I[17]+7*I[18]);if(G<=Y&&G<=W)return k(e,p,t.subarray(f,f+h));if(_(e,p,1+(W15&&(_(e,p,tt[R]>>>5&127),p+=tt[R]>>>12)}}}else V=b,j=w,q=C,X=y;for(R=0;R255){et=n[R]>>>18&31;H(e,p,V[et+257]),p+=j[et+257],et>7&&(_(e,p,n[R]>>>23&31),p+=o[et]);var rt=31&n[R];H(e,p,q[rt]),p+=X[rt],rt>3&&(H(e,p,n[R]>>>5&8191),p+=a[rt])}else H(e,p,V[n[R]]),p+=j[n[R]];return H(e,p,V[256]),p+j[256]},M=new A([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),D=new n(0),K=function(t,e,r,s,u,c){var l=t.length,h=new n(s+l+5*(1+Math.floor(l/7e3))+u),p=h.subarray(s,h.length-u),g=0;if(!e||l<8)for(var v=0;v<=l;v+=65535){var B=v+65535;B>>13,y=8191&m,b=(1<7e3||I>24576)&&j>423){g=R(t,p,0,Q,L,_,T,I,O,v-O,g),I=H=T=0,O=v;for(var q=0;q<286;++q)L[q]=0;for(q=0;q<30;++q)_[q]=0}var X=2,G=0,Y=y,W=z-V&32767;if(j>2&&K==F(v-W))for(var J=Math.min(w,j)-1,Z=Math.min(32767,v),$=Math.min(258,j);W<=Z&&--Y&&z!=V;){if(t[v+X]==t[v+X-W]){for(var tt=0;tt<$&&t[v+tt]==t[v+tt-W];++tt);if(tt>X){if(X=tt,G=W,tt>J)break;var et=Math.min(W,tt-2),rt=0;for(q=0;qrt&&(rt=it,V=nt)}}}W+=(z=V)-(V=x[z])+32768&32767}if(G){Q[I++]=268435456|f[X]<<18|d[G];var At=31&f[X],ot=31&d[G];T+=o[At]+a[ot],++L[257+At],++_[ot],P=v+X,++H}else Q[I++]=t[v],++L[t[v]]}}g=R(t,p,c,Q,L,_,T,I,O,v-O,g),c||(g=k(p,g,D))}return S(h,0,s+U(g)+u)},z=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,A=r.length,o=0;o!=A;){for(var a=Math.min(o+5552,A);o>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}},V=function(t,e,r,n,i){return K(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)},j=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},q=function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)},X=function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"};function G(t,e){void 0===e&&(e={});var r=z();r.p(t);var n=V(t,e,2,4);return q(n,e),j(n,n.length-4,r.d()),n}function Y(t,e){return L((X(t),t.subarray(2,-4)),e)}})),A.register("5idgR",(function(t,e){var r,n,i,o=A("69fUi").Buffer;r=window,i="function"==typeof(n=r.atob)?n:"function"==typeof o?function(t){ +//!! Deliberately using an API that's deprecated in node.js because +//!! this file is for browsers and we expect them to cope with it. +//!! Discussion: github.com/node-browser-compat/atob/pull/9 +return new o(t,"base64").toString("binary")}:"object"==typeof r.base64js?function(t){var e=r.base64js.b64ToByteArray(t);return Array.prototype.map.call(e,(function(t){return String.fromCharCode(t)})).join("")}:function(){throw new Error("You're probably in an old browser or an iOS webworker. It might help to include beatgammit's base64-js.")},r.atob=i,t&&t.exports&&(t.exports=i)})),A.register("19O4g",(function(t,e){var r=A("69fUi").Buffer;t.exports=function(t){return(t instanceof r?t:r.from(t.toString(),"binary")).toString("base64")}})),A.register("h8TFZ",(function(t,e){var r=A("kIky1");function n(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function i(t,e){for(var r,n="",i=0,A=-1,o=0,a=0;a<=t.length;++a){if(a2){var s=n.lastIndexOf("/");if(s!==n.length-1){-1===s?(n="",i=0):i=(n=n.slice(0,s)).length-1-n.lastIndexOf("/"),A=a,o=0;continue}}else if(2===n.length||1===n.length){n="",i=0,A=a,o=0;continue}e&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+t.slice(A+1,a):n=t.slice(A+1,a),i=a-A-1;A=a,o=0}else 46===r&&-1!==o?++o:o=-1}return n}var o={resolve:function(){for(var t,e="",A=!1,o=arguments.length-1;o>=-1&&!A;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t=r.cwd()),a=t),n(a),0!==a.length&&(e=a+"/"+e,A=47===a.charCodeAt(0))}return e=i(e,!A),A?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(t){if(n(t),0===t.length)return".";var e=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return 0!==(t=i(t,!e)).length||e||(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return n(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":o.normalize(t)},relative:function(t,e){if(n(t),n(e),t===e)return"";if((t=o.resolve(t))===(e=o.resolve(e)))return"";for(var r=1;ru){if(47===e.charCodeAt(a+l))return e.slice(a+l+1);if(0===l)return e.slice(a+l)}else A>u&&(47===t.charCodeAt(r+l)?c=l:0===l&&(c=0));break}var f=t.charCodeAt(r+l);if(f!==e.charCodeAt(a+l))break;47===f&&(c=l)}var h="";for(l=r+c+1;l<=i;++l)l!==i&&47!==t.charCodeAt(l)||(0===h.length?h+="..":h+="/..");return h.length>0?h+e.slice(a+c):(a+=c,47===e.charCodeAt(a)&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(n(t),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,i=-1,A=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!A){i=o;break}}else A=!1;return-1===i?r?"/":".":r&&1===i?"//":t.slice(0,i)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');n(t);var r,i=0,A=-1,o=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,s=-1;for(r=t.length-1;r>=0;--r){var u=t.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1),a>=0&&(u===e.charCodeAt(a)?-1==--a&&(A=r):(a=-1,A=s))}return i===A?A=s:-1===A&&(A=t.length),t.slice(i,A)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!o){i=r+1;break}}else-1===A&&(o=!1,A=r+1);return-1===A?"":t.slice(i,A)},extname:function(t){n(t);for(var e=-1,r=0,i=-1,A=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(A=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!A){r=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===r+1?"":t.slice(e,i)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+n:r+t+n:n}("/",t)},parse:function(t){n(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var r,i=t.charCodeAt(0),A=47===i;A?(e.root="/",r=1):r=0;for(var o=-1,a=0,s=-1,u=!0,c=t.length-1,l=0;c>=r;--c)if(47!==(i=t.charCodeAt(c)))-1===s&&(u=!1,s=c+1),46===i?-1===o?o=c:1!==l&&(l=1):-1!==o&&(l=-1);else if(!u){a=c+1;break}return-1===o||-1===s||0===l||1===l&&o===s-1&&o===a+1?-1!==s&&(e.base=e.name=0===a&&A?t.slice(1,s):t.slice(a,s)):(0===a&&A?(e.name=t.slice(1,o),e.base=t.slice(1,s)):(e.name=t.slice(a,o),e.base=t.slice(a,s)),e.ext=t.slice(o,s)),a>0?e.dir=t.slice(0,a-1):A&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,t.exports=o})),A.register("kVIkC",(function(t,e){ +/*! + * html2canvas 1.0.0-rc.7 + * Copyright (c) 2020 Niklas von Hertzen + * Released under MIT License + */ +t.exports,t.exports=function(){ +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};function e(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&i[i.length-1])||6!==A[0]&&2!==A[0])){o=0;continue}if(3===A[0]&&(!i||A[1]>i[0]&&A[1]=55296&&i<=56319&&r>10),o%1024+56320)),(i+1===r||n.length>16384)&&(A+=String.fromCharCode.apply(String,n),n.length=0)}return A},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,c[s++]=(15&n)<<4|i>>2,c[s++]=(3&i)<<6|63&A;return u},d=function(t){for(var e=t.length,r=[],n=0;n>v,y=(1<>v)+32,x=65536>>B,C=(1<=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>v])<>v)])<>B),e=this.index[e],e+=t>>v&C,e=((e=this.index[e])<U?(i.push(!0),o-=U):i.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return n.push(A),r.push(V);if(o===H||o===R){if(0===A)return n.push(A),r.push(it);var a=r[A-1];return-1===Nt.indexOf(a)?(n.push(n[A-1]),r.push(a)):(n.push(A),r.push(it))}return n.push(A),o===At?r.push("strict"===e?Y:lt):o===gt||o===nt?r.push(it):o===vt?t>=131072&&t<=196605||t>=196608&&t<=262141?r.push(lt):r.push(it):void r.push(o)})),[n,r,i]},St=function(t,e,r,n){var i=n[r];if(Array.isArray(t)?-1!==t.indexOf(i):t===i)for(var A=r;A<=n.length;){if((s=n[++A])===e)return!0;if(s!==k)break}if(i===k)for(A=r;A>0;){var o=n[--A];if(Array.isArray(t)?-1!==t.indexOf(o):t===o)for(var a=r;a<=n.length;){var s;if((s=n[++a])===e)return!0;if(s!==k)break}if(o!==k)break}return!1},Lt=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n!==k)return n;r--}return 0},_t=function(t,e,r,n,i){if(0===r[n])return mt;var A=n-1;if(Array.isArray(i)&&!0===i[A])return mt;var o=A-1,a=A+1,s=e[A],u=o>=0?e[o]:0,c=e[a];if(s===L&&c===_)return mt;if(-1!==xt.indexOf(s))return Bt;if(-1!==xt.indexOf(c))return mt;if(-1!==Ct.indexOf(c))return mt;if(Lt(A,e)===P)return wt;if(yt.get(t[A])===R&&(c===lt||c===ot||c===at))return mt;if(s===I||c===I)return mt;if(s===O)return mt;if(-1===[k,D,z].indexOf(s)&&c===O)return mt;if(-1!==[j,q,X,Z,rt].indexOf(c))return mt;if(Lt(A,e)===W)return mt;if(St(J,W,A,e))return mt;if(St([j,q],Y,A,e))return mt;if(St(M,M,A,e))return mt;if(s===k)return wt;if(s===J||c===J)return mt;if(c===V||s===V)return wt;if(-1!==[D,z,Y].indexOf(c)||s===K)return mt;if(u===ct&&-1!==Qt.indexOf(s))return mt;if(s===rt&&c===ct)return mt;if(c===G&&-1!==bt.concat(G,X,$,lt,ot,at).indexOf(s))return mt;if(-1!==bt.indexOf(c)&&s===$||-1!==bt.indexOf(s)&&c===$)return mt;if(s===et&&-1!==[lt,ot,at].indexOf(c)||-1!==[lt,ot,at].indexOf(s)&&c===tt)return mt;if(-1!==bt.indexOf(s)&&-1!==Et.indexOf(c)||-1!==Et.indexOf(s)&&-1!==bt.indexOf(c))return mt;if(-1!==[et,tt].indexOf(s)&&(c===$||-1!==[W,z].indexOf(c)&&e[a+1]===$)||-1!==[W,z].indexOf(s)&&c===$||s===$&&-1!==[$,rt,Z].indexOf(c))return mt;if(-1!==[$,rt,Z,j,q].indexOf(c))for(var l=A;l>=0;){if((f=e[l])===$)return mt;if(-1===[rt,Z].indexOf(f))break;l--}if(-1!==[et,tt].indexOf(c))for(l=-1!==[j,q].indexOf(s)?o:A;l>=0;){var f;if((f=e[l])===$)return mt;if(-1===[rt,Z].indexOf(f))break;l--}if(ft===s&&-1!==[ft,ht,st,ut].indexOf(c)||-1!==[ht,st].indexOf(s)&&-1!==[ht,pt].indexOf(c)||-1!==[pt,ut].indexOf(s)&&c===pt)return mt;if(-1!==Ft.indexOf(s)&&-1!==[G,tt].indexOf(c)||-1!==Ft.indexOf(c)&&s===et)return mt;if(-1!==bt.indexOf(s)&&-1!==bt.indexOf(c))return mt;if(s===Z&&-1!==bt.indexOf(c))return mt;if(-1!==bt.concat($).indexOf(s)&&c===W||-1!==bt.concat($).indexOf(c)&&s===q)return mt;if(s===dt&&c===dt){for(var h=r[A],p=1;h>0&&e[--h]===dt;)p++;if(p%2!=0)return mt}return s===ot&&c===at?mt:wt},Ht=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var r=Ut(t,e.lineBreak),n=r[0],i=r[1],A=r[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(i=i.map((function(t){return-1!==[$,it,gt].indexOf(t)?lt:t})));var o="keep-all"===e.wordBreak?A.map((function(e,r){return e&&t[r]>=19968&&t[r]<=40959})):void 0;return[n,i,o]},Tt=function(){function t(t,e,r,n){this.codePoints=t,this.required=e===Bt,this.start=r,this.end=n}return t.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),It=function(t,e){var r=s(t),n=Ht(r,e),i=n[0],A=n[1],o=n[2],a=r.length,u=0,c=0;return{next:function(){if(c>=a)return{done:!0,value:null};for(var t=mt;c=Qe&&t<=57},Me=function(t){return t>=55296&&t<=57343},De=function(t){return Re(t)||t>=Te&&t<=Pe||t>=Ue&&t<=Le},Ke=function(t){return t>=Ue&&t<=He},ze=function(t){return t>=Te&&t<=ke},Ve=function(t){return Ke(t)||ze(t)},je=function(t){return t>=he},qe=function(t){return t===Mt||t===zt||t===Vt},Xe=function(t){return Ve(t)||je(t)||t===$t},Ge=function(t){return Xe(t)||Re(t)||t===te},Ye=function(t){return t>=ye&&t<=be||t===xe||t>=Ce&&t<=Ee||t===Ne},We=function(t,e){return t===Kt&&e!==Mt},Je=function(t,e,r){return t===te?Xe(e)||We(e,r):!!Xe(t)||!(t!==Kt||!We(t,e))},Ze=function(t,e,r){return t===ge||t===te?!!Re(e)||e===we&&Re(r):Re(t===we?e:t)},$e=function(t){var e=0,r=1;t[e]!==ge&&t[e]!==te||(t[e]===te&&(r=-1),e++);for(var n=[];Re(t[e]);)n.push(t[e++]);var i=n.length?parseInt(u.apply(void 0,n),10):0;t[e]===we&&e++;for(var A=[];Re(t[e]);)A.push(t[e++]);var o=A.length,a=o?parseInt(u.apply(void 0,A),10):0;t[e]!==Ie&&t[e]!==Se||e++;var s=1;t[e]!==ge&&t[e]!==te||(t[e]===te&&(s=-1),e++);for(var c=[];Re(t[e]);)c.push(t[e++]);var l=c.length?parseInt(u.apply(void 0,c),10):0;return r*(i+a*Math.pow(10,-o))*Math.pow(10,s*l)},tr={type:h.LEFT_PARENTHESIS_TOKEN},er={type:h.RIGHT_PARENTHESIS_TOKEN},rr={type:h.COMMA_TOKEN},nr={type:h.SUFFIX_MATCH_TOKEN},ir={type:h.PREFIX_MATCH_TOKEN},Ar={type:h.COLUMN_TOKEN},or={type:h.DASH_MATCH_TOKEN},ar={type:h.INCLUDE_MATCH_TOKEN},sr={type:h.LEFT_CURLY_BRACKET_TOKEN},ur={type:h.RIGHT_CURLY_BRACKET_TOKEN},cr={type:h.SUBSTRING_MATCH_TOKEN},lr={type:h.BAD_URL_TOKEN},fr={type:h.BAD_STRING_TOKEN},hr={type:h.CDO_TOKEN},pr={type:h.CDC_TOKEN},dr={type:h.COLON_TOKEN},gr={type:h.SEMICOLON_TOKEN},vr={type:h.LEFT_SQUARE_BRACKET_TOKEN},Br={type:h.RIGHT_SQUARE_BRACKET_TOKEN},mr={type:h.WHITESPACE_TOKEN},wr={type:h.EOF_TOKEN},yr=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(s(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==wr;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case jt:return this.consumeStringToken(jt);case Xt:var e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Ge(e)||We(r,n)){var i=Je(e,r,n)?Ot:Pt,A=this.consumeName();return{type:h.HASH_TOKEN,value:A,flags:i}}break;case Gt:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),nr;break;case Wt:return this.consumeStringToken(Wt);case Jt:return tr;case Zt:return er;case de:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),cr;break;case ge:if(Ze(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case ve:return rr;case te:var o=t,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(Ze(o,a,s))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(Je(o,a,s))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(a===te&&s===ne)return this.consumeCodePoint(),this.consumeCodePoint(),pr;break;case we:if(Ze(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case Dt:if(this.peekCodePoint(0)===de)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===de&&(c=this.consumeCodePoint())===Dt)return this.consumeToken();if(c===Fe)return this.consumeToken()}break;case Be:return dr;case me:return gr;case re:if(this.peekCodePoint(0)===ee&&this.peekCodePoint(1)===te&&this.peekCodePoint(2)===te)return this.consumeCodePoint(),this.consumeCodePoint(),hr;break;case ie:var l=this.peekCodePoint(0),f=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Je(l,f,p))return A=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:A};break;case Ae:return vr;case Kt:if(We(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case oe:return Br;case ae:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),ir;break;case se:return sr;case ce:return ur;case _e:case Oe:var d=this.peekCodePoint(0),g=this.peekCodePoint(1);return d!==ge||!De(g)&&g!==ue||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case le:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),or;if(this.peekCodePoint(0)===le)return this.consumeCodePoint(),Ar;break;case fe:if(this.peekCodePoint(0)===qt)return this.consumeCodePoint(),ar;break;case Fe:return wr}return qe(t)?(this.consumeWhiteSpace(),mr):Re(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):Xe(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:u(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();De(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var r=!1;e===ue&&t.length<6;)t.push(e),e=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(u.apply(void 0,t.map((function(t){return t===ue?Qe:t}))),16),i=parseInt(u.apply(void 0,t.map((function(t){return t===ue?Pe:t}))),16);return{type:h.UNICODE_RANGE_TOKEN,start:n,end:i}}var A=parseInt(u.apply(void 0,t),16);if(this.peekCodePoint(0)===te&&De(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var o=[];De(e)&&o.length<6;)o.push(e),e=this.consumeCodePoint();return i=parseInt(u.apply(void 0,o),16),{type:h.UNICODE_RANGE_TOKEN,start:A,end:i}}return{type:h.UNICODE_RANGE_TOKEN,start:A,end:A}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&this.peekCodePoint(0)===Jt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Jt?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:t}):{type:h.IDENT_TOKEN,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe)return{type:h.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(e===Wt||e===jt){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===Zt)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:r.value}):(this.consumeBadUrlRemnants(),lr)}for(;;){var n=this.consumeCodePoint();if(n===Fe||n===Zt)return{type:h.URL_TOKEN,value:u.apply(void 0,t)};if(qe(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Fe||this.peekCodePoint(0)===Zt?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:u.apply(void 0,t)}):(this.consumeBadUrlRemnants(),lr);if(n===jt||n===Wt||n===Jt||Ye(n))return this.consumeBadUrlRemnants(),lr;if(n===Kt){if(!We(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),lr;t.push(this.consumeEscapedCodePoint())}else t.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;qe(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===Zt||t===Fe)return;We(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e=6e4,r="";t>0;){var n=Math.min(e,t);r+=u.apply(void 0,this._value.splice(0,n)),t-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(t){for(var e="",r=0;;){var n=this._value[r];if(n===Fe||void 0===n||n===t)return e+=this.consumeStringSlice(r),{type:h.STRING_TOKEN,value:e};if(n===Mt)return this._value.splice(0,r),fr;if(n===Kt){var i=this._value[r+1];i!==Fe&&void 0!==i&&(i===Mt?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):We(n,i)&&(e+=this.consumeStringSlice(r),e+=u(this.consumeEscapedCodePoint()),r=-1))}r++}},t.prototype.consumeNumber=function(){var t=[],e=kt,r=this.peekCodePoint(0);for(r!==ge&&r!==te||t.push(this.consumeCodePoint());Re(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===we&&Re(n))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Rt;Re(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===Ie||r===Se)&&((n===ge||n===te)&&Re(i)||Re(n)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Rt;Re(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[$e(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],r=t[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),A=this.peekCodePoint(2);if(Je(n,i,A)){var o=this.consumeName();return{type:h.DIMENSION_TOKEN,number:e,flags:r,unit:o}}return n===Yt?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:e,flags:r}):{type:h.NUMBER_TOKEN,number:e,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(De(t)){for(var e=u(t);De(this.peekCodePoint(0))&&e.length<6;)e+=u(this.consumeCodePoint());qe(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(e,16);return 0===r||Me(r)||r>1114111?pe:r}return t===Fe?pe:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(Ge(e))t+=u(e);else{if(!We(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=u(this.consumeEscapedCodePoint())}}},t}(),br=function(){function t(t){this._tokens=t}return t.create=function(e){var r=new yr;return r.write(e),new t(r.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===h.WHITESPACE_TOKEN;)t=this.consumeToken();if(t.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(t.type===h.WHITESPACE_TOKEN);if(t.type===h.EOF_TOKEN)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(e.type===h.EOF_TOKEN)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(t.type);case h.FUNCTION_TOKEN:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},r=this.consumeToken();;){if(r.type===h.EOF_TOKEN||Lr(r,t))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:h.FUNCTION};;){var r=this.consumeToken();if(r.type===h.EOF_TOKEN||r.type===h.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?wr:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),xr=function(t){return t.type===h.DIMENSION_TOKEN},Cr=function(t){return t.type===h.NUMBER_TOKEN},Er=function(t){return t.type===h.IDENT_TOKEN},Nr=function(t){return t.type===h.STRING_TOKEN},Fr=function(t,e){return Er(t)&&t.value===e},Qr=function(t){return t.type!==h.WHITESPACE_TOKEN},Ur=function(t){return t.type!==h.WHITESPACE_TOKEN&&t.type!==h.COMMA_TOKEN},Sr=function(t){var e=[],r=[];return t.forEach((function(t){if(t.type===h.COMMA_TOKEN){if(0===r.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(r),void(r=[])}t.type!==h.WHITESPACE_TOKEN&&r.push(t)})),r.length&&e.push(r),e},Lr=function(t,e){return e===h.LEFT_CURLY_BRACKET_TOKEN&&t.type===h.RIGHT_CURLY_BRACKET_TOKEN||e===h.LEFT_SQUARE_BRACKET_TOKEN&&t.type===h.RIGHT_SQUARE_BRACKET_TOKEN||e===h.LEFT_PARENTHESIS_TOKEN&&t.type===h.RIGHT_PARENTHESIS_TOKEN},_r=function(t){return t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN},Hr=function(t){return t.type===h.PERCENTAGE_TOKEN||_r(t)},Tr=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Ir={type:h.NUMBER_TOKEN,number:0,flags:kt},Pr={type:h.PERCENTAGE_TOKEN,number:50,flags:kt},Or={type:h.PERCENTAGE_TOKEN,number:100,flags:kt},kr=function(t,e,r){var n=t[0],i=t[1];return[Rr(n,e),Rr(void 0!==i?i:n,r)]},Rr=function(t,e){if(t.type===h.PERCENTAGE_TOKEN)return t.number/100*e;if(xr(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Mr="deg",Dr="grad",Kr="rad",zr="turn",Vr={name:"angle",parse:function(t){if(t.type===h.DIMENSION_TOKEN)switch(t.unit){case Mr:return Math.PI*t.number/180;case Dr:return Math.PI/200*t.number;case Kr:return t.number;case zr:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},jr=function(t){return t.type===h.DIMENSION_TOKEN&&(t.unit===Mr||t.unit===Dr||t.unit===Kr||t.unit===zr)},qr=function(t){switch(t.filter(Er).map((function(t){return t.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ir,Ir];case"to top":case"bottom":return Xr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ir,Or];case"to right":case"left":return Xr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Or,Or];case"to bottom":case"top":return Xr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Or,Ir];case"to left":case"right":return Xr(270)}return 0},Xr=function(t){return Math.PI*t/180},Gr={name:"color",parse:function(t){if(t.type===h.FUNCTION){var e=An[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(t.values)}if(t.type===h.HASH_TOKEN){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return Jr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var A=t.value.substring(3,4);return Jr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(A+A,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),Jr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),A=t.value.substring(6,8),Jr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(A,16)/255)}if(t.type===h.IDENT_TOKEN){var o=on[t.value.toUpperCase()];if(void 0!==o)return o}return on.TRANSPARENT}},Yr=function(t){return 0==(255&t)},Wr=function(t){var e=255&t,r=255&t>>8,n=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+n+","+r+","+e/255+")":"rgb("+i+","+n+","+r+")"},Jr=function(t,e,r,n){return(t<<24|e<<16|r<<8|Math.round(255*n)<<0)>>>0},Zr=function(t,e){if(t.type===h.NUMBER_TOKEN)return t.number;if(t.type===h.PERCENTAGE_TOKEN){var r=3===e?1:255;return 3===e?t.number/100*r:Math.round(t.number/100*r)}return 0},$r=function(t){var e=t.filter(Ur);if(3===e.length){var r=e.map(Zr),n=r[0],i=r[1],A=r[2];return Jr(n,i,A,1)}if(4===e.length){var o=e.map(Zr),a=(n=o[0],i=o[1],A=o[2],o[3]);return Jr(n,i,A,a)}return 0};function tn(t,e,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(e-t)*r*6+t:r<.5?e:r<2/3?6*(e-t)*(2/3-r)+t:t}var en,rn,nn=function(t){var e=t.filter(Ur),r=e[0],n=e[1],i=e[2],A=e[3],o=(r.type===h.NUMBER_TOKEN?Xr(r.number):Vr.parse(r))/(2*Math.PI),a=Hr(n)?n.number/100:0,s=Hr(i)?i.number/100:0,u=void 0!==A&&Hr(A)?Rr(A,1):1;if(0===a)return Jr(255*s,255*s,255*s,1);var c=s<=.5?s*(a+1):s+a-s*a,l=2*s-c,f=tn(l,c,o+1/3),p=tn(l,c,o),d=tn(l,c,o-1/3);return Jr(255*f,255*p,255*d,u)},An={hsl:nn,hsla:nn,rgb:$r,rgba:$r},on={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(t){t[t.VALUE=0]="VALUE",t[t.LIST=1]="LIST",t[t.IDENT_VALUE=2]="IDENT_VALUE",t[t.TYPE_VALUE=3]="TYPE_VALUE",t[t.TOKEN_VALUE=4]="TOKEN_VALUE"})(en||(en={})),function(t){t[t.BORDER_BOX=0]="BORDER_BOX",t[t.PADDING_BOX=1]="PADDING_BOX",t[t.CONTENT_BOX=2]="CONTENT_BOX"}(rn||(rn={}));var an,sn={name:"background-clip",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(t){return t.map((function(t){if(Er(t))switch(t.value){case"padding-box":return rn.PADDING_BOX;case"content-box":return rn.CONTENT_BOX}return rn.BORDER_BOX}))}},un={name:"background-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},cn=function(t){var e=Gr.parse(t[0]),r=t[1];return r&&Hr(r)?{color:e,stop:r}:{color:e,stop:null}},ln=function(t,e){var r=t[0],n=t[t.length-1];null===r.stop&&(r.stop=Ir),null===n.stop&&(n.stop=Or);for(var i=[],A=0,o=0;oA?i.push(s):i.push(A),A=s}else i.push(null)}var u=null;for(o=0;ot.optimumDistance)?{optimumCorner:e,optimumDistance:a}:t}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},gn=function(t,e,r,n,i){var A=0,o=0;switch(t.size){case Jn.CLOSEST_SIDE:t.shape===Wn.CIRCLE?A=o=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===Wn.ELLIPSE&&(A=Math.min(Math.abs(e),Math.abs(e-n)),o=Math.min(Math.abs(r),Math.abs(r-i)));break;case Jn.CLOSEST_CORNER:if(t.shape===Wn.CIRCLE)A=o=Math.min(pn(e,r),pn(e,r-i),pn(e-n,r),pn(e-n,r-i));else if(t.shape===Wn.ELLIPSE){var a=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(e),Math.abs(e-n)),s=dn(n,i,e,r,!0),u=s[0],c=s[1];o=a*(A=pn(u-e,(c-r)/a))}break;case Jn.FARTHEST_SIDE:t.shape===Wn.CIRCLE?A=o=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===Wn.ELLIPSE&&(A=Math.max(Math.abs(e),Math.abs(e-n)),o=Math.max(Math.abs(r),Math.abs(r-i)));break;case Jn.FARTHEST_CORNER:if(t.shape===Wn.CIRCLE)A=o=Math.max(pn(e,r),pn(e,r-i),pn(e-n,r),pn(e-n,r-i));else if(t.shape===Wn.ELLIPSE){a=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(e),Math.abs(e-n));var l=dn(n,i,e,r,!1);u=l[0],c=l[1],o=a*(A=pn(u-e,(c-r)/a))}}return Array.isArray(t.size)&&(A=Rr(t.size[0],n),o=2===t.size.length?Rr(t.size[1],i):A),[A,o]},vn=function(t){var e=Xr(180),r=[];return Sr(t).forEach((function(t,n){if(0===n){var i=t[0];if(i.type===h.IDENT_TOKEN&&"to"===i.value)return void(e=qr(t));if(jr(i))return void(e=Vr.parse(i))}var A=cn(t);r.push(A)})),{angle:e,stops:r,type:an.LINEAR_GRADIENT}},Bn=function(t){var e=Xr(180),r=[];return Sr(t).forEach((function(t,n){if(0===n){var i=t[0];if(i.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(e=qr(t));if(jr(i))return void(e=(Vr.parse(i)+Xr(270))%Xr(360))}var A=cn(t);r.push(A)})),{angle:e,stops:r,type:an.LINEAR_GRADIENT}},mn=function(t){var e=123;if(t.createRange){var r=t.createRange();if(r.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height=e+"px",n.style.display="block",t.body.appendChild(n),r.selectNode(n);var i=r.getBoundingClientRect(),A=Math.round(i.height);if(t.body.removeChild(n),A===e)return!0}}return!1},wn=function(){return void 0!==(new Image).crossOrigin},yn=function(){return"string"==typeof(new XMLHttpRequest).responseType},bn=function(t){var e=new Image,r=t.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),r.toDataURL()}catch(t){return!1}return!0},xn=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},Cn=function(t){var e=t.createElement("canvas"),r=100;e.width=r,e.height=r;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,A=e.toDataURL();i.src=A;var o=En(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),Nn(o).then((function(e){n.drawImage(e,0,0);var i=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var o=t.createElement("div");return o.style.backgroundImage="url("+A+")",o.style.height=r+"px",xn(i)?Nn(En(r,r,0,0,o)):Promise.reject(!1)})).then((function(t){return n.drawImage(t,0,0),xn(n.getImageData(0,0,r,r).data)})).catch((function(){return!1}))},En=function(t,e,r,n,i){var A="http://www.w3.org/2000/svg",o=document.createElementNS(A,"svg"),a=document.createElementNS(A,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",r.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(i),o},Nn=function(t){return new Promise((function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},Fn={get SUPPORT_RANGE_BOUNDS(){var t=mn(document);return Object.defineProperty(Fn,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=bn(document);return Object.defineProperty(Fn,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?Cn(document):Promise.resolve(!1);return Object.defineProperty(Fn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=wn();return Object.defineProperty(Fn,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=yn();return Object.defineProperty(Fn,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Fn,"SUPPORT_CORS_XHR",{value:t}),t}},Qn=function(){function t(t){var e=t.id,r=t.enabled;this.id=e,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=t.substring(0,256);return new Promise((function(i,A){var o=Fn.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;if(a.onload=function(){if(200===a.status)if("text"===o)i(a.response);else{var t=new FileReader;t.addEventListener("load",(function(){return i(t.result)}),!1),t.addEventListener("error",(function(t){return A(t)}),!1),t.readAsDataURL(a.response)}else A("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=A,a.open("GET",r+"?url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&a instanceof XMLHttpRequest&&(a.responseType=o),e._options.imageTimeout){var s=e._options.imageTimeout;a.timeout=s,a.ontimeout=function(){return A("Timed out ("+s+"ms) proxying "+n)}}a.send()}))},t}(),Ln=/^data:image\/svg\+xml/i,_n=/^data:image\/.*;base64,/i,Hn=/^data:image\/.*/i,Tn=function(t){return Fn.SUPPORT_SVG_DRAWING||!kn(t)},In=function(t){return Hn.test(t)},Pn=function(t){return _n.test(t)},On=function(t){return"blob"===t.substr(0,4)},kn=function(t){return"svg"===t.substr(-3).toLowerCase()||Ln.test(t)},Rn=function(t){var e=Xr(180),r=[],n=an.LINEAR_GRADIENT,i=Wn.CIRCLE,A=Jn.FARTHEST_CORNER,o=[];return Sr(t).forEach((function(t,e){var i=t[0];if(0===e){if(Er(i)&&"linear"===i.value)return void(n=an.LINEAR_GRADIENT);if(Er(i)&&"radial"===i.value)return void(n=an.RADIAL_GRADIENT)}if(i.type===h.FUNCTION)if("from"===i.name){var A=Gr.parse(i.values[0]);r.push({stop:Ir,color:A})}else if("to"===i.name)A=Gr.parse(i.values[0]),r.push({stop:Or,color:A});else if("color-stop"===i.name){var o=i.values.filter(Ur);if(2===o.length){A=Gr.parse(o[1]);var a=o[0];Cr(a)&&r.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*a.number,flags:a.flags},color:A})}}})),n===an.LINEAR_GRADIENT?{angle:(e+Xr(180))%Xr(360),stops:r,type:n}:{size:A,shape:i,stops:r,position:o,type:n}},Mn="closest-side",Dn="farthest-side",Kn="closest-corner",zn="farthest-corner",Vn="circle",jn="ellipse",qn="cover",Xn="contain",Gn=function(t){var e=Wn.CIRCLE,r=Jn.FARTHEST_CORNER,n=[],i=[];return Sr(t).forEach((function(t,A){var o=!0;if(0===A){var a=!1;o=t.reduce((function(t,n){if(a)if(Er(n))switch(n.value){case"center":return i.push(Pr),t;case"top":case"left":return i.push(Ir),t;case"right":case"bottom":return i.push(Or),t}else(Hr(n)||_r(n))&&i.push(n);else if(Er(n))switch(n.value){case Vn:return e=Wn.CIRCLE,!1;case jn:return e=Wn.ELLIPSE,!1;case"at":return a=!0,!1;case Mn:return r=Jn.CLOSEST_SIDE,!1;case qn:case Dn:return r=Jn.FARTHEST_SIDE,!1;case Xn:case Kn:return r=Jn.CLOSEST_CORNER,!1;case zn:return r=Jn.FARTHEST_CORNER,!1}else if(_r(n)||Hr(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return t}),o)}if(o){var s=cn(t);n.push(s)}})),{size:r,shape:e,stops:n,position:i,type:an.RADIAL_GRADIENT}},Yn=function(t){var e=Wn.CIRCLE,r=Jn.FARTHEST_CORNER,n=[],i=[];return Sr(t).forEach((function(t,A){var o=!0;if(0===A?o=t.reduce((function(t,e){if(Er(e))switch(e.value){case"center":return i.push(Pr),!1;case"top":case"left":return i.push(Ir),!1;case"right":case"bottom":return i.push(Or),!1}else if(Hr(e)||_r(e))return i.push(e),!1;return t}),o):1===A&&(o=t.reduce((function(t,n){if(Er(n))switch(n.value){case Vn:return e=Wn.CIRCLE,!1;case jn:return e=Wn.ELLIPSE,!1;case Xn:case Mn:return r=Jn.CLOSEST_SIDE,!1;case Dn:return r=Jn.FARTHEST_SIDE,!1;case Kn:return r=Jn.CLOSEST_CORNER,!1;case qn:case zn:return r=Jn.FARTHEST_CORNER,!1}else if(_r(n)||Hr(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return t}),o)),o){var a=cn(t);n.push(a)}})),{size:r,shape:e,stops:n,position:i,type:an.RADIAL_GRADIENT}};!function(t){t[t.URL=0]="URL",t[t.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",t[t.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(an||(an={}));var Wn,Jn,Zn=function(t){return t.type===an.LINEAR_GRADIENT},$n=function(t){return t.type===an.RADIAL_GRADIENT};(function(t){t[t.CIRCLE=0]="CIRCLE",t[t.ELLIPSE=1]="ELLIPSE"})(Wn||(Wn={})),function(t){t[t.CLOSEST_SIDE=0]="CLOSEST_SIDE",t[t.FARTHEST_SIDE=1]="FARTHEST_SIDE",t[t.CLOSEST_CORNER=2]="CLOSEST_CORNER",t[t.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(Jn||(Jn={}));var ti={name:"image",parse:function(t){if(t.type===h.URL_TOKEN){var e={url:t.value,type:an.URL};return Un.getInstance().addImage(t.value),e}if(t.type===h.FUNCTION){var r=ni[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(t.values)}throw new Error("Unsupported image type")}};function ei(t){return t.type!==h.FUNCTION||ni[t.name]}var ri,ni={"linear-gradient":vn,"-moz-linear-gradient":Bn,"-ms-linear-gradient":Bn,"-o-linear-gradient":Bn,"-webkit-linear-gradient":Bn,"radial-gradient":Gn,"-moz-radial-gradient":Yn,"-ms-radial-gradient":Yn,"-o-radial-gradient":Yn,"-webkit-radial-gradient":Yn,"-webkit-gradient":Rn},ii={name:"background-image",initialValue:"none",type:en.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var e=t[0];return e.type===h.IDENT_TOKEN&&"none"===e.value?[]:t.filter((function(t){return Ur(t)&&ei(t)})).map(ti.parse)}},Ai={name:"background-origin",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(t){return t.map((function(t){if(Er(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},oi={name:"background-position",initialValue:"0% 0%",type:en.LIST,prefix:!1,parse:function(t){return Sr(t).map((function(t){return t.filter(Hr)})).map(Tr)}};!function(t){t[t.REPEAT=0]="REPEAT",t[t.NO_REPEAT=1]="NO_REPEAT",t[t.REPEAT_X=2]="REPEAT_X",t[t.REPEAT_Y=3]="REPEAT_Y"}(ri||(ri={}));var ai,si={name:"background-repeat",initialValue:"repeat",prefix:!1,type:en.LIST,parse:function(t){return Sr(t).map((function(t){return t.filter(Er).map((function(t){return t.value})).join(" ")})).map(ui)}},ui=function(t){switch(t){case"no-repeat":return ri.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return ri.REPEAT_X;case"repeat-y":case"no-repeat repeat":return ri.REPEAT_Y;default:return ri.REPEAT}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(ai||(ai={}));var ci,li={name:"background-size",initialValue:"0",prefix:!1,type:en.LIST,parse:function(t){return Sr(t).map((function(t){return t.filter(fi)}))}},fi=function(t){return Er(t)||Hr(t)},hi=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"}},pi=hi("top"),di=hi("right"),gi=hi("bottom"),vi=hi("left"),Bi=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:en.LIST,parse:function(t){return Tr(t.filter(Hr))}}},mi=Bi("top-left"),wi=Bi("top-right"),yi=Bi("bottom-right"),bi=Bi("bottom-left");!function(t){t[t.NONE=0]="NONE",t[t.SOLID=1]="SOLID"}(ci||(ci={}));var xi,Ci=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"none"===t?ci.NONE:ci.SOLID}}},Ei=Ci("top"),Ni=Ci("right"),Fi=Ci("bottom"),Qi=Ci("left"),Ui=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:en.VALUE,prefix:!1,parse:function(t){return xr(t)?t.number:0}}},Si=Ui("top"),Li=Ui("right"),_i=Ui("bottom"),Hi=Ui("left"),Ti={name:"color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},Ii={name:"display",initialValue:"inline-block",prefix:!1,type:en.LIST,parse:function(t){return t.filter(Er).reduce((function(t,e){return t|Pi(e.value)}),0)}},Pi=function(t){switch(t){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(t){t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.INLINE_START=3]="INLINE_START",t[t.INLINE_END=4]="INLINE_END"}(xi||(xi={}));var Oi,ki={name:"float",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"left":return xi.LEFT;case"right":return xi.RIGHT;case"inline-start":return xi.INLINE_START;case"inline-end":return xi.INLINE_END}return xi.NONE}},Ri={name:"letter-spacing",initialValue:"0",prefix:!1,type:en.VALUE,parse:function(t){return t.type===h.IDENT_TOKEN&&"normal"===t.value?0:t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN?t.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(Oi||(Oi={}));var Mi,Di={name:"line-break",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"strict"===t?Oi.STRICT:Oi.NORMAL}},Ki={name:"line-height",initialValue:"normal",prefix:!1,type:en.TOKEN_VALUE},zi=function(t,e){return Er(t)&&"normal"===t.value?1.2*e:t.type===h.NUMBER_TOKEN?e*t.number:Hr(t)?Rr(t,e):e},Vi={name:"list-style-image",initialValue:"none",type:en.VALUE,prefix:!1,parse:function(t){return t.type===h.IDENT_TOKEN&&"none"===t.value?null:ti.parse(t)}};!function(t){t[t.INSIDE=0]="INSIDE",t[t.OUTSIDE=1]="OUTSIDE"}(Mi||(Mi={}));var ji,qi={name:"list-style-position",initialValue:"outside",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"inside"===t?Mi.INSIDE:Mi.OUTSIDE}};!function(t){t[t.NONE=-1]="NONE",t[t.DISC=0]="DISC",t[t.CIRCLE=1]="CIRCLE",t[t.SQUARE=2]="SQUARE",t[t.DECIMAL=3]="DECIMAL",t[t.CJK_DECIMAL=4]="CJK_DECIMAL",t[t.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",t[t.LOWER_ROMAN=6]="LOWER_ROMAN",t[t.UPPER_ROMAN=7]="UPPER_ROMAN",t[t.LOWER_GREEK=8]="LOWER_GREEK",t[t.LOWER_ALPHA=9]="LOWER_ALPHA",t[t.UPPER_ALPHA=10]="UPPER_ALPHA",t[t.ARABIC_INDIC=11]="ARABIC_INDIC",t[t.ARMENIAN=12]="ARMENIAN",t[t.BENGALI=13]="BENGALI",t[t.CAMBODIAN=14]="CAMBODIAN",t[t.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",t[t.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",t[t.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",t[t.DEVANAGARI=18]="DEVANAGARI",t[t.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",t[t.GEORGIAN=20]="GEORGIAN",t[t.GUJARATI=21]="GUJARATI",t[t.GURMUKHI=22]="GURMUKHI",t[t.HEBREW=22]="HEBREW",t[t.HIRAGANA=23]="HIRAGANA",t[t.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",t[t.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",t[t.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",t[t.KANNADA=27]="KANNADA",t[t.KATAKANA=28]="KATAKANA",t[t.KATAKANA_IROHA=29]="KATAKANA_IROHA",t[t.KHMER=30]="KHMER",t[t.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",t[t.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",t[t.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",t[t.LAO=34]="LAO",t[t.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",t[t.MALAYALAM=36]="MALAYALAM",t[t.MONGOLIAN=37]="MONGOLIAN",t[t.MYANMAR=38]="MYANMAR",t[t.ORIYA=39]="ORIYA",t[t.PERSIAN=40]="PERSIAN",t[t.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",t[t.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",t[t.TAMIL=43]="TAMIL",t[t.TELUGU=44]="TELUGU",t[t.THAI=45]="THAI",t[t.TIBETAN=46]="TIBETAN",t[t.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",t[t.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",t[t.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",t[t.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",t[t.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(ji||(ji={}));var Xi,Gi={name:"list-style-type",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"disc":return ji.DISC;case"circle":return ji.CIRCLE;case"square":return ji.SQUARE;case"decimal":return ji.DECIMAL;case"cjk-decimal":return ji.CJK_DECIMAL;case"decimal-leading-zero":return ji.DECIMAL_LEADING_ZERO;case"lower-roman":return ji.LOWER_ROMAN;case"upper-roman":return ji.UPPER_ROMAN;case"lower-greek":return ji.LOWER_GREEK;case"lower-alpha":return ji.LOWER_ALPHA;case"upper-alpha":return ji.UPPER_ALPHA;case"arabic-indic":return ji.ARABIC_INDIC;case"armenian":return ji.ARMENIAN;case"bengali":return ji.BENGALI;case"cambodian":return ji.CAMBODIAN;case"cjk-earthly-branch":return ji.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return ji.CJK_HEAVENLY_STEM;case"cjk-ideographic":return ji.CJK_IDEOGRAPHIC;case"devanagari":return ji.DEVANAGARI;case"ethiopic-numeric":return ji.ETHIOPIC_NUMERIC;case"georgian":return ji.GEORGIAN;case"gujarati":return ji.GUJARATI;case"gurmukhi":return ji.GURMUKHI;case"hebrew":return ji.HEBREW;case"hiragana":return ji.HIRAGANA;case"hiragana-iroha":return ji.HIRAGANA_IROHA;case"japanese-formal":return ji.JAPANESE_FORMAL;case"japanese-informal":return ji.JAPANESE_INFORMAL;case"kannada":return ji.KANNADA;case"katakana":return ji.KATAKANA;case"katakana-iroha":return ji.KATAKANA_IROHA;case"khmer":return ji.KHMER;case"korean-hangul-formal":return ji.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return ji.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return ji.KOREAN_HANJA_INFORMAL;case"lao":return ji.LAO;case"lower-armenian":return ji.LOWER_ARMENIAN;case"malayalam":return ji.MALAYALAM;case"mongolian":return ji.MONGOLIAN;case"myanmar":return ji.MYANMAR;case"oriya":return ji.ORIYA;case"persian":return ji.PERSIAN;case"simp-chinese-formal":return ji.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return ji.SIMP_CHINESE_INFORMAL;case"tamil":return ji.TAMIL;case"telugu":return ji.TELUGU;case"thai":return ji.THAI;case"tibetan":return ji.TIBETAN;case"trad-chinese-formal":return ji.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return ji.TRAD_CHINESE_INFORMAL;case"upper-armenian":return ji.UPPER_ARMENIAN;case"disclosure-open":return ji.DISCLOSURE_OPEN;case"disclosure-closed":return ji.DISCLOSURE_CLOSED;default:return ji.NONE}}},Yi=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:en.TOKEN_VALUE}},Wi=Yi("top"),Ji=Yi("right"),Zi=Yi("bottom"),$i=Yi("left");!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.SCROLL=2]="SCROLL",t[t.AUTO=3]="AUTO"}(Xi||(Xi={}));var tA,eA={name:"overflow",initialValue:"visible",prefix:!1,type:en.LIST,parse:function(t){return t.filter(Er).map((function(t){switch(t.value){case"hidden":return Xi.HIDDEN;case"scroll":return Xi.SCROLL;case"auto":return Xi.AUTO;default:return Xi.VISIBLE}}))}};!function(t){t.NORMAL="normal",t.BREAK_WORD="break-word"}(tA||(tA={}));var rA,nA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(t){return"break-word"===t?tA.BREAK_WORD:tA.NORMAL}},iA=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:en.TYPE_VALUE,format:"length-percentage"}},AA=iA("top"),oA=iA("right"),aA=iA("bottom"),sA=iA("left");!function(t){t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT"}(rA||(rA={}));var uA,cA={name:"text-align",initialValue:"left",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"right":return rA.RIGHT;case"center":case"justify":return rA.CENTER;default:return rA.LEFT}}};!function(t){t[t.STATIC=0]="STATIC",t[t.RELATIVE=1]="RELATIVE",t[t.ABSOLUTE=2]="ABSOLUTE",t[t.FIXED=3]="FIXED",t[t.STICKY=4]="STICKY"}(uA||(uA={}));var lA,fA={name:"position",initialValue:"static",prefix:!1,type:en.IDENT_VALUE,parse:function(t){switch(t){case"relative":return uA.RELATIVE;case"absolute":return uA.ABSOLUTE;case"fixed":return uA.FIXED;case"sticky":return uA.STICKY}return uA.STATIC}},hA={name:"text-shadow",initialValue:"none",type:en.LIST,prefix:!1,parse:function(t){return 1===t.length&&Fr(t[0],"none")?[]:Sr(t).map((function(t){for(var e={color:on.TRANSPARENT,offsetX:Ir,offsetY:Ir,blur:Ir},r=0,n=0;n1?1:0],this.overflowWrap=jA(nA,t.overflowWrap),this.paddingTop=jA(AA,t.paddingTop),this.paddingRight=jA(oA,t.paddingRight),this.paddingBottom=jA(aA,t.paddingBottom),this.paddingLeft=jA(sA,t.paddingLeft),this.position=jA(fA,t.position),this.textAlign=jA(cA,t.textAlign),this.textDecorationColor=jA(FA,t.textDecorationColor||t.color),this.textDecorationLine=jA(QA,t.textDecorationLine),this.textShadow=jA(hA,t.textShadow),this.textTransform=jA(dA,t.textTransform),this.transform=jA(gA,t.transform),this.transformOrigin=jA(wA,t.transformOrigin),this.visibility=jA(bA,t.visibility),this.wordBreak=jA(CA,t.wordBreak),this.zIndex=jA(EA,t.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===pA.VISIBLE},t.prototype.isTransparent=function(){return Yr(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return this.position!==uA.STATIC},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==xi.NONE},t.prototype.isInlineLevel=function(){return IA(this.display,4)||IA(this.display,33554432)||IA(this.display,268435456)||IA(this.display,536870912)||IA(this.display,67108864)||IA(this.display,134217728)},t}(),zA=function(){function t(t){this.content=jA(PA,t.content),this.quotes=jA(RA,t.quotes)}return t}(),VA=function(){function t(t){this.counterIncrement=jA(OA,t.counterIncrement),this.counterReset=jA(kA,t.counterReset)}return t}(),jA=function(t,e){var r=new yr,n=null!=e?e.toString():t.initialValue;r.write(n);var i=new br(r.read());switch(t.type){case en.IDENT_VALUE:var A=i.parseComponentValue();return t.parse(Er(A)?A.value:t.initialValue);case en.VALUE:return t.parse(i.parseComponentValue());case en.LIST:return t.parse(i.parseComponentValues());case en.TOKEN_VALUE:return i.parseComponentValue();case en.TYPE_VALUE:switch(t.format){case"angle":return Vr.parse(i.parseComponentValue());case"color":return Gr.parse(i.parseComponentValue());case"image":return ti.parse(i.parseComponentValue());case"length":var o=i.parseComponentValue();return _r(o)?o:Ir;case"length-percentage":var a=i.parseComponentValue();return Hr(a)?a:Ir}}throw new Error("Attempting to parse unsupported css format type "+t.format)},qA=function(){function t(t){this.styles=new KA(window.getComputedStyle(t,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&So(t)&&(t.style.transform="none"),this.bounds=o(t),this.flags=0}return t}(),XA=function(){function t(t,e){this.text=t,this.bounds=e}return t}(),GA=function(t,e,r){var n=JA(t,e),i=[],A=0;return n.forEach((function(t){if(e.textDecorationLine.length||t.trim().length>0)if(Fn.SUPPORT_RANGE_BOUNDS)i.push(new XA(t,WA(r,A,t.length)));else{var n=r.splitText(t.length);i.push(new XA(t,YA(r))),r=n}else Fn.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));A+=t.length})),i},YA=function(t){var e=t.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var i=o(r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return new A(0,0,0,0)},WA=function(t,e,r){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(t,e),i.setEnd(t,e+r),A.fromClientRect(i.getBoundingClientRect())},JA=function(t,e){return 0!==e.letterSpacing?s(t).map((function(t){return u(t)})):ZA(t,e)},ZA=function(t,e){for(var r,n=It(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap===tA.BREAK_WORD?"break-word":e.wordBreak}),i=[];!(r=n.next()).done;)r.value&&i.push(r.value.slice());return i},$A=function(){function t(t,e){this.text=to(t.data,e.textTransform),this.textBounds=GA(this.text,e,t)}return t}(),to=function(t,e){switch(e){case lA.LOWERCASE:return t.toLowerCase();case lA.CAPITALIZE:return t.replace(eo,ro);case lA.UPPERCASE:return t.toUpperCase();default:return t}},eo=/(^|\s|:|-|\(|\))([a-z])/g,ro=function(t,e,r){return t.length>0?e+r.toUpperCase():t},no=function(t){function r(e){var r=t.call(this,e)||this;return r.src=e.currentSrc||e.src,r.intrinsicWidth=e.naturalWidth,r.intrinsicHeight=e.naturalHeight,Un.getInstance().addImage(r.src),r}return e(r,t),r}(qA),io=function(t){function r(e){var r=t.call(this,e)||this;return r.canvas=e,r.intrinsicWidth=e.width,r.intrinsicHeight=e.height,r}return e(r,t),r}(qA),Ao=function(t){function r(e){var r=t.call(this,e)||this,n=new XMLSerializer;return r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)),r.intrinsicWidth=e.width.baseVal.value,r.intrinsicHeight=e.height.baseVal.value,Un.getInstance().addImage(r.svg),r}return e(r,t),r}(qA),oo=function(t){function r(e){var r=t.call(this,e)||this;return r.value=e.value,r}return e(r,t),r}(qA),ao=function(t){function r(e){var r=t.call(this,e)||this;return r.start=e.start,r.reversed="boolean"==typeof e.reversed&&!0===e.reversed,r}return e(r,t),r}(qA),so=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],uo=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],co=function(t){return t.width>t.height?new A(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width0)e.textNodes.push(new $A(n,e.styles));else if(Uo(n)){var A=Co(n);A.styles.isVisible()&&(No(n,A,r)?A.flags|=4:Fo(A.styles)&&(A.flags|=2),-1!==bo.indexOf(n.tagName)&&(A.flags|=8),e.elements.push(A),zo(n)||Po(n)||Vo(n)||xo(n,A,r))}},Co=function(t){return Ro(t)?new no(t):ko(t)?new io(t):Po(t)?new Ao(t):_o(t)?new oo(t):Ho(t)?new ao(t):To(t)?new vo(t):Vo(t)?new Bo(t):zo(t)?new mo(t):Mo(t)?new yo(t):new qA(t)},Eo=function(t){var e=Co(t);return e.flags|=4,xo(t,e,e),e},No=function(t,e,r){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Oo(t)&&r.styles.isTransparent()},Fo=function(t){return t.isPositioned()||t.isFloating()},Qo=function(t){return t.nodeType===Node.TEXT_NODE},Uo=function(t){return t.nodeType===Node.ELEMENT_NODE},So=function(t){return Uo(t)&&void 0!==t.style&&!Lo(t)},Lo=function(t){return"object"==typeof t.className},_o=function(t){return"LI"===t.tagName},Ho=function(t){return"OL"===t.tagName},To=function(t){return"INPUT"===t.tagName},Io=function(t){return"HTML"===t.tagName},Po=function(t){return"svg"===t.tagName},Oo=function(t){return"BODY"===t.tagName},ko=function(t){return"CANVAS"===t.tagName},Ro=function(t){return"IMG"===t.tagName},Mo=function(t){return"IFRAME"===t.tagName},Do=function(t){return"STYLE"===t.tagName},Ko=function(t){return"SCRIPT"===t.tagName},zo=function(t){return"TEXTAREA"===t.tagName},Vo=function(t){return"SELECT"===t.tagName},jo=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(t){var e=this,r=t.counterIncrement,n=t.counterReset,i=!0;null!==r&&r.forEach((function(t){var r=e.counters[t.counter];r&&0!==t.increment&&(i=!1,r[Math.max(0,r.length-1)]+=t.increment)}));var A=[];return i&&n.forEach((function(t){var r=e.counters[t.counter];A.push(t.counter),r||(r=e.counters[t.counter]=[]),r.push(t.reset)})),A},t}(),qo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Xo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Yo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Wo=function(t,e,r,n,i,A){return tr?ua(t,i,A.length>0):n.integers.reduce((function(e,r,i){for(;t>=r;)t-=r,e+=n.values[i];return e}),"")+A},Jo=function(t,e,r,n){var i="";do{r||t--,i=n(t)+i,t/=e}while(t*e>=e);return i},Zo=function(t,e,r,n,i){var A=r-e+1;return(t<0?"-":"")+(Jo(Math.abs(t),A,n,(function(t){return u(Math.floor(t%A)+e)}))+i)},$o=function(t,e,r){void 0===r&&(r=". ");var n=e.length;return Jo(Math.abs(t),n,!1,(function(t){return e[Math.floor(t%n)]}))+r},ta=1,ea=2,ra=4,na=8,ia=function(t,e,r,n,i,A){if(t<-9999||t>9999)return ua(t,ji.CJK_DECIMAL,i.length>0);var o=Math.abs(t),a=i;if(0===o)return e[0]+a;for(var s=0;o>0&&s<=4;s++){var u=o%10;0===u&&IA(A,ta)&&""!==a?a=e[u]+a:u>1||1===u&&0===s||1===u&&1===s&&IA(A,ea)||1===u&&1===s&&IA(A,ra)&&t>100||1===u&&s>1&&IA(A,na)?a=e[u]+(s>0?r[s-1]:"")+a:1===u&&s>0&&(a=r[s-1]+a),o=Math.floor(o/10)}return(t<0?n:"")+a},Aa="十百千萬",oa="拾佰仟萬",aa="マイナス",sa="마이너스",ua=function(t,e,r){var n=r?". ":"",i=r?"、":"",A=r?", ":"",o=r?" ":"";switch(e){case ji.DISC:return"•"+o;case ji.CIRCLE:return"◦"+o;case ji.SQUARE:return"◾"+o;case ji.DECIMAL_LEADING_ZERO:var a=Zo(t,48,57,!0,n);return a.length<4?"0"+a:a;case ji.CJK_DECIMAL:return $o(t,"〇一二三四五六七八九",i);case ji.LOWER_ROMAN:return Wo(t,1,3999,qo,ji.DECIMAL,n).toLowerCase();case ji.UPPER_ROMAN:return Wo(t,1,3999,qo,ji.DECIMAL,n);case ji.LOWER_GREEK:return Zo(t,945,969,!1,n);case ji.LOWER_ALPHA:return Zo(t,97,122,!1,n);case ji.UPPER_ALPHA:return Zo(t,65,90,!1,n);case ji.ARABIC_INDIC:return Zo(t,1632,1641,!0,n);case ji.ARMENIAN:case ji.UPPER_ARMENIAN:return Wo(t,1,9999,Xo,ji.DECIMAL,n);case ji.LOWER_ARMENIAN:return Wo(t,1,9999,Xo,ji.DECIMAL,n).toLowerCase();case ji.BENGALI:return Zo(t,2534,2543,!0,n);case ji.CAMBODIAN:case ji.KHMER:return Zo(t,6112,6121,!0,n);case ji.CJK_EARTHLY_BRANCH:return $o(t,"子丑寅卯辰巳午未申酉戌亥",i);case ji.CJK_HEAVENLY_STEM:return $o(t,"甲乙丙丁戊己庚辛壬癸",i);case ji.CJK_IDEOGRAPHIC:case ji.TRAD_CHINESE_INFORMAL:return ia(t,"零一二三四五六七八九",Aa,"負",i,ea|ra|na);case ji.TRAD_CHINESE_FORMAL:return ia(t,"零壹貳參肆伍陸柒捌玖",oa,"負",i,ta|ea|ra|na);case ji.SIMP_CHINESE_INFORMAL:return ia(t,"零一二三四五六七八九",Aa,"负",i,ea|ra|na);case ji.SIMP_CHINESE_FORMAL:return ia(t,"零壹贰叁肆伍陆柒捌玖",oa,"负",i,ta|ea|ra|na);case ji.JAPANESE_INFORMAL:return ia(t,"〇一二三四五六七八九","十百千万",aa,i,0);case ji.JAPANESE_FORMAL:return ia(t,"零壱弐参四伍六七八九","拾百千万",aa,i,ta|ea|ra);case ji.KOREAN_HANGUL_FORMAL:return ia(t,"영일이삼사오육칠팔구","십백천만",sa,A,ta|ea|ra);case ji.KOREAN_HANJA_INFORMAL:return ia(t,"零一二三四五六七八九","十百千萬",sa,A,0);case ji.KOREAN_HANJA_FORMAL:return ia(t,"零壹貳參四五六七八九","拾百千",sa,A,ta|ea|ra);case ji.DEVANAGARI:return Zo(t,2406,2415,!0,n);case ji.GEORGIAN:return Wo(t,1,19999,Yo,ji.DECIMAL,n);case ji.GUJARATI:return Zo(t,2790,2799,!0,n);case ji.GURMUKHI:return Zo(t,2662,2671,!0,n);case ji.HEBREW:return Wo(t,1,10999,Go,ji.DECIMAL,n);case ji.HIRAGANA:return $o(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case ji.HIRAGANA_IROHA:return $o(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case ji.KANNADA:return Zo(t,3302,3311,!0,n);case ji.KATAKANA:return $o(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case ji.KATAKANA_IROHA:return $o(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case ji.LAO:return Zo(t,3792,3801,!0,n);case ji.MONGOLIAN:return Zo(t,6160,6169,!0,n);case ji.MYANMAR:return Zo(t,4160,4169,!0,n);case ji.ORIYA:return Zo(t,2918,2927,!0,n);case ji.PERSIAN:return Zo(t,1776,1785,!0,n);case ji.TAMIL:return Zo(t,3046,3055,!0,n);case ji.TELUGU:return Zo(t,3174,3183,!0,n);case ji.THAI:return Zo(t,3664,3673,!0,n);case ji.TIBETAN:return Zo(t,3872,3881,!0,n);case ji.DECIMAL:default:return Zo(t,48,57,!0,n)}},ca="data-html2canvas-ignore",la=function(){function t(t,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new jo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return t.prototype.toIFrame=function(t,e){var r=this,A=ha(t,e);if(!A.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,a=t.defaultView.pageYOffset,s=A.contentWindow,u=s.document,c=pa(A).then((function(){return n(r,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Ba),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(u.documentElement.style.top=-e.top+"px",u.documentElement.style.left=-e.left+"px",u.documentElement.style.position="absolute")),t=this.options.onclone,void 0===this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return"function"==typeof t?[2,Promise.resolve().then((function(){return t(u)})).then((function(){return A}))]:[2,A]}}))}))}));return u.open(),u.write(ga(document.doctype)+""),va(this.referenceElement.ownerDocument,o,a),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},t.prototype.createElementClone=function(t){if(ko(t))return this.createCanvasClone(t);if(Do(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return Ro(e)&&"lazy"===e.loading&&(e.loading="eager"),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var r=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t}),""),n=t.cloneNode(!1);return n.textContent=r,n}}catch(t){if(Qn.getInstance(this.options.id).error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){if(this.options.inlineImages&&t.ownerDocument){var e=t.ownerDocument.createElement("img");try{return e.src=t.toDataURL(),e}catch(t){Qn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var r=t.cloneNode(!1);try{r.width=t.width,r.height=t.height;var n=t.getContext("2d"),i=r.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,t.width,t.height),0,0):i.drawImage(t,0,0)),r}catch(t){}return r},t.prototype.cloneNode=function(t){if(Qo(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var e=t.ownerDocument.defaultView;if(e&&Uo(t)&&(So(t)||Lo(t))){var r=this.createElementClone(t),n=e.getComputedStyle(t),i=e.getComputedStyle(t,":before"),A=e.getComputedStyle(t,":after");this.referenceElement===t&&So(r)&&(this.clonedReferenceElement=r),Oo(r)&&Ca(r);for(var o=this.counters.parse(new VA(n)),a=this.resolvePseudoContent(t,r,i,HA.BEFORE),s=t.firstChild;s;s=s.nextSibling)Uo(s)&&(Ko(s)||s.hasAttribute(ca)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(s))||this.options.copyStyles&&Uo(s)&&Do(s)||r.appendChild(this.cloneNode(s));a&&r.insertBefore(a,r.firstChild);var u=this.resolvePseudoContent(t,r,A,HA.AFTER);return u&&r.appendChild(u),this.counters.pop(o),n&&(this.options.copyStyles||Lo(t))&&!Mo(t)&&da(n,r),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(zo(t)||Vo(t))&&(zo(r)||Vo(r))&&(r.value=t.value),r}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,r,n){var i=this;if(r){var A=r.content,o=e.ownerDocument;if(o&&A&&"none"!==A&&"-moz-alt-content"!==A&&"none"!==r.display){this.counters.parse(new VA(r));var a=new zA(r),s=o.createElement("html2canvaspseudoelement");da(r,s),a.content.forEach((function(e){if(e.type===h.STRING_TOKEN)s.appendChild(o.createTextNode(e.value));else if(e.type===h.URL_TOKEN){var r=o.createElement("img");r.src=e.value,r.style.opacity="1",s.appendChild(r)}else if(e.type===h.FUNCTION){if("attr"===e.name){var n=e.values.filter(Er);n.length&&s.appendChild(o.createTextNode(t.getAttribute(n[0].value)||""))}else if("counter"===e.name){var A=e.values.filter(Ur),u=A[0],c=A[1];if(u&&Er(u)){var l=i.counters.getCounterValue(u.value),f=c&&Er(c)?Gi.parse(c.value):ji.DECIMAL;s.appendChild(o.createTextNode(ua(l,f,!1)))}}else if("counters"===e.name){var p=e.values.filter(Ur),d=(u=p[0],p[1]);if(c=p[2],u&&Er(u)){var g=i.counters.getCounterValues(u.value),v=c&&Er(c)?Gi.parse(c.value):ji.DECIMAL,B=d&&d.type===h.STRING_TOKEN?d.value:"",m=g.map((function(t){return ua(t,v,!1)})).join(B);s.appendChild(o.createTextNode(m))}}}else if(e.type===h.IDENT_TOKEN)switch(e.value){case"open-quote":s.appendChild(o.createTextNode(MA(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":s.appendChild(o.createTextNode(MA(a.quotes,--i.quoteDepth,!1)));break;default:s.appendChild(o.createTextNode(e.value))}})),s.className=ya+" "+ba;var u=n===HA.BEFORE?" "+ya:" "+ba;return Lo(e)?e.className.baseValue+=u:e.className+=u,s}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(HA||(HA={}));var fa,ha=function(t,e){var r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=e.width.toString(),r.height=e.height.toString(),r.scrolling="no",r.setAttribute(ca,"true"),t.body.appendChild(r),r},pa=function(t){return new Promise((function(e,r){var n=t.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=t.onload=i.onreadystatechange=function(){n.onload=t.onload=i.onreadystatechange=null;var r=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(r),e(t))}),50)}}))},da=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);"content"!==n&&e.style.setProperty(n,t.getPropertyValue(n))}return e},ga=function(t){var e="";return t&&(e+=""),e},va=function(t,e,r){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||r!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,r)},Ba=function(t){var e=t[0],r=t[1],n=t[2];e.scrollLeft=r,e.scrollTop=n},ma=":before",wa=":after",ya="___html2canvas___pseudoelement_before",ba="___html2canvas___pseudoelement_after",xa='{\n content: "" !important;\n display: none !important;\n}',Ca=function(t){Ea(t,"."+ya+ma+xa+"\n ."+ba+wa+xa)},Ea=function(t,e){var r=t.ownerDocument;if(r){var n=r.createElement("style");n.textContent=e,t.appendChild(n)}};!function(t){t[t.VECTOR=0]="VECTOR",t[t.BEZIER_CURVE=1]="BEZIER_CURVE"}(fa||(fa={}));var Na,Fa=function(t,e){return t.length===e.length&&t.some((function(t,r){return t===e[r]}))},Qa=function(t,e,r,n,i){return t.map((function(t,A){switch(A){case 0:return t.add(e,r);case 1:return t.add(e+n,r);case 2:return t.add(e+n,r+i);case 3:return t.add(e,r+i)}return t}))},Ua=function(){function t(t,e){this.type=fa.VECTOR,this.x=t,this.y=e}return t.prototype.add=function(e,r){return new t(this.x+e,this.y+r)},t}(),Sa=function(t,e,r){return new Ua(t.x+(e.x-t.x)*r,t.y+(e.y-t.y)*r)},La=function(){function t(t,e,r,n){this.type=fa.BEZIER_CURVE,this.start=t,this.startControl=e,this.endControl=r,this.end=n}return t.prototype.subdivide=function(e,r){var n=Sa(this.start,this.startControl,e),i=Sa(this.startControl,this.endControl,e),A=Sa(this.endControl,this.end,e),o=Sa(n,i,e),a=Sa(i,A,e),s=Sa(o,a,e);return r?new t(this.start,n,o,s):new t(s,a,A,this.end)},t.prototype.add=function(e,r){return new t(this.start.add(e,r),this.startControl.add(e,r),this.endControl.add(e,r),this.end.add(e,r))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),_a=function(t){return t.type===fa.BEZIER_CURVE},Ha=function(){function t(t){var e=t.styles,r=t.bounds,n=kr(e.borderTopLeftRadius,r.width,r.height),i=n[0],A=n[1],o=kr(e.borderTopRightRadius,r.width,r.height),a=o[0],s=o[1],u=kr(e.borderBottomRightRadius,r.width,r.height),c=u[0],l=u[1],f=kr(e.borderBottomLeftRadius,r.width,r.height),h=f[0],p=f[1],d=[];d.push((i+a)/r.width),d.push((h+c)/r.width),d.push((A+p)/r.height),d.push((s+l)/r.height);var g=Math.max.apply(Math,d);g>1&&(i/=g,A/=g,a/=g,s/=g,c/=g,l/=g,h/=g,p/=g);var v=r.width-a,B=r.height-l,m=r.width-c,w=r.height-p,y=e.borderTopWidth,b=e.borderRightWidth,x=e.borderBottomWidth,C=e.borderLeftWidth,E=Rr(e.paddingTop,t.bounds.width),N=Rr(e.paddingRight,t.bounds.width),F=Rr(e.paddingBottom,t.bounds.width),Q=Rr(e.paddingLeft,t.bounds.width);this.topLeftBorderBox=i>0||A>0?Ta(r.left,r.top,i,A,Na.TOP_LEFT):new Ua(r.left,r.top),this.topRightBorderBox=a>0||s>0?Ta(r.left+v,r.top,a,s,Na.TOP_RIGHT):new Ua(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||l>0?Ta(r.left+m,r.top+B,c,l,Na.BOTTOM_RIGHT):new Ua(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=h>0||p>0?Ta(r.left,r.top+w,h,p,Na.BOTTOM_LEFT):new Ua(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||A>0?Ta(r.left+C,r.top+y,Math.max(0,i-C),Math.max(0,A-y),Na.TOP_LEFT):new Ua(r.left+C,r.top+y),this.topRightPaddingBox=a>0||s>0?Ta(r.left+Math.min(v,r.width+C),r.top+y,v>r.width+C?0:a-C,s-y,Na.TOP_RIGHT):new Ua(r.left+r.width-b,r.top+y),this.bottomRightPaddingBox=c>0||l>0?Ta(r.left+Math.min(m,r.width-C),r.top+Math.min(B,r.height+y),Math.max(0,c-b),l-x,Na.BOTTOM_RIGHT):new Ua(r.left+r.width-b,r.top+r.height-x),this.bottomLeftPaddingBox=h>0||p>0?Ta(r.left+C,r.top+w,Math.max(0,h-C),p-x,Na.BOTTOM_LEFT):new Ua(r.left+C,r.top+r.height-x),this.topLeftContentBox=i>0||A>0?Ta(r.left+C+Q,r.top+y+E,Math.max(0,i-(C+Q)),Math.max(0,A-(y+E)),Na.TOP_LEFT):new Ua(r.left+C+Q,r.top+y+E),this.topRightContentBox=a>0||s>0?Ta(r.left+Math.min(v,r.width+C+Q),r.top+y+E,v>r.width+C+Q?0:a-C+Q,s-(y+E),Na.TOP_RIGHT):new Ua(r.left+r.width-(b+N),r.top+y+E),this.bottomRightContentBox=c>0||l>0?Ta(r.left+Math.min(m,r.width-(C+Q)),r.top+Math.min(B,r.height+y+E),Math.max(0,c-(b+N)),l-(x+F),Na.BOTTOM_RIGHT):new Ua(r.left+r.width-(b+N),r.top+r.height-(x+F)),this.bottomLeftContentBox=h>0||p>0?Ta(r.left+C+Q,r.top+w,Math.max(0,h-(C+Q)),p-(x+F),Na.BOTTOM_LEFT):new Ua(r.left+C+Q,r.top+r.height-(x+F))}return t}();!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Na||(Na={}));var Ta=function(t,e,r,n,i){var A=(Math.sqrt(2)-1)/3*4,o=r*A,a=n*A,s=t+r,u=e+n;switch(i){case Na.TOP_LEFT:return new La(new Ua(t,u),new Ua(t,u-a),new Ua(s-o,e),new Ua(s,e));case Na.TOP_RIGHT:return new La(new Ua(t,e),new Ua(t+o,e),new Ua(s,u-a),new Ua(s,u));case Na.BOTTOM_RIGHT:return new La(new Ua(s,e),new Ua(s,e+a),new Ua(t+o,u),new Ua(t,u));case Na.BOTTOM_LEFT:default:return new La(new Ua(s,u),new Ua(s-o,u),new Ua(t,e+a),new Ua(t,e))}},Ia=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Pa=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Oa=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},ka=function(){function t(t,e,r){this.type=0,this.offsetX=t,this.offsetY=e,this.matrix=r,this.target=6}return t}(),Ra=function(){function t(t,e){this.type=1,this.target=e,this.path=t}return t}(),Ma=function(t){return 0===t.type},Da=function(t){return 1===t.type},Ka=function(){function t(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),za=function(){function t(t,e){if(this.container=t,this.effects=e.slice(0),this.curves=new Ha(t),null!==t.styles.transform){var r=t.bounds.left+t.styles.transformOrigin[0].number,n=t.bounds.top+t.styles.transformOrigin[1].number,i=t.styles.transform;this.effects.push(new ka(r,n,i))}if(t.styles.overflowX!==Xi.VISIBLE){var A=Ia(this.curves),o=Oa(this.curves);Fa(A,o)?this.effects.push(new Ra(A,6)):(this.effects.push(new Ra(A,2)),this.effects.push(new Ra(o,4)))}}return t.prototype.getParentEffects=function(){var t=this.effects.slice(0);if(this.container.styles.overflowX!==Xi.VISIBLE){var e=Ia(this.curves),r=Oa(this.curves);Fa(e,r)||t.push(new Ra(r,6))}return t},t}(),Va=function(t,e,r,n){t.container.elements.forEach((function(i){var A=IA(i.flags,4),o=IA(i.flags,2),a=new za(i,t.getParentEffects());IA(i.styles.display,2048)&&n.push(a);var s=IA(i.flags,8)?[]:n;if(A||o){var u=A||i.styles.isPositioned()?r:e,c=new Ka(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var l=i.styles.zIndex.order;if(l<0){var f=0;u.negativeZIndex.some((function(t,e){return l>t.element.container.styles.zIndex.order?(f=e,!1):f>0})),u.negativeZIndex.splice(f,0,c)}else if(l>0){var h=0;u.positiveZIndex.some((function(t,e){return l>=t.element.container.styles.zIndex.order?(h=e+1,!1):h>0})),u.positiveZIndex.splice(h,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);Va(a,c,A?c:r,s)}else i.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),Va(a,e,r,s);IA(i.flags,8)&&ja(i,s)}))},ja=function(t,e){for(var r=t instanceof ao?t.start:1,n=t instanceof ao&&t.reversed,i=0;i0&&t.intrinsicHeight>0){var n=Wa(t),i=Oa(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return n(this,void 0,void 0,(function(){var r,n,o,a,s,u,c,l,f,h,p,d,g,v;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(e.effects,4),r=e.container,n=e.curves,o=r.styles,a=0,s=r.textNodes,i.label=1;case 1:return a0&&C>0&&(B=n.ctx.createPattern(d,"repeat"),n.renderRepeat(w,B,N,F))):$n(r)&&(m=$a(t,e,[null,null,null]),w=m[0],y=m[1],b=m[2],x=m[3],C=m[4],E=0===r.position.length?[Pr]:r.position,N=Rr(E[0],x),F=Rr(E[E.length-1],C),Q=gn(r,N,F,x,C),U=Q[0],S=Q[1],U>0&&U>0&&(L=n.ctx.createRadialGradient(y+N,b+F,0,y+N,b+F,U),ln(r.stops,2*U).forEach((function(t){return L.addColorStop(t.stop,Wr(t.color))})),n.path(w),n.ctx.fillStyle=L,U!==S?(_=t.bounds.left+.5*t.bounds.width,H=t.bounds.top+.5*t.bounds.height,I=1/(T=S/U),n.ctx.save(),n.ctx.translate(_,H),n.ctx.transform(1,0,0,T,0,0),n.ctx.translate(-_,-H),n.ctx.fillRect(y,I*(b-H)+H,x,C*I),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return e--,[2]}}))},n=this,A=0,o=t.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return A1?r-1:0),i=1;i/gm),M=a(/^data-[\-\w.\u00B7-\uFFFF]/),D=a(/^aria-[\-\w]+$/),K=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),V=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),j="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};function q(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:X(),e=function(t){return Y(t)};if(e.version="2.2.7",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var r=t.document,n=t.document,i=t.DocumentFragment,A=t.HTMLTemplateElement,a=t.Node,s=t.Element,u=t.NodeFilter,c=t.NamedNodeMap,l=void 0===c?t.NamedNodeMap||t.MozNamedAttrMap:c,b=t.Text,x=t.Comment,W=t.DOMParser,J=t.trustedTypes,Z=s.prototype,$=N(Z,"cloneNode"),tt=N(Z,"nextSibling"),et=N(Z,"childNodes"),rt=N(Z,"parentNode");if("function"==typeof A){var nt=n.createElement("template");nt.content&&nt.content.ownerDocument&&(n=nt.content.ownerDocument)}var it=G(J,r),At=it&&Ot?it.createHTML(""):"",ot=n,at=ot.implementation,st=ot.createNodeIterator,ut=ot.getElementsByTagName,ct=ot.createDocumentFragment,lt=r.importNode,ft={};try{ft=E(n).documentMode?n.documentMode:{}}catch(t){}var ht={};e.isSupported="function"==typeof rt&&at&&void 0!==at.createHTMLDocument&&9!==ft;var pt=k,dt=R,gt=M,vt=D,Bt=z,mt=V,wt=K,yt=null,bt=C({},[].concat(q(F),q(Q),q(U),q(L),q(H))),xt=null,Ct=C({},[].concat(q(T),q(I),q(P),q(O))),Et=null,Nt=null,Ft=!0,Qt=!0,Ut=!1,St=!1,Lt=!1,_t=!1,Ht=!1,Tt=!1,It=!1,Pt=!0,Ot=!1,kt=!0,Rt=!0,Mt=!1,Dt={},Kt=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),zt=null,Vt=C({},["audio","video","img","source","image","track"]),jt=null,qt=C({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Xt=null,Gt=n.createElement("form"),Yt=function(t){Xt&&Xt===t||(t&&"object"===(void 0===t?"undefined":j(t))||(t={}),t=E(t),yt="ALLOWED_TAGS"in t?C({},t.ALLOWED_TAGS):bt,xt="ALLOWED_ATTR"in t?C({},t.ALLOWED_ATTR):Ct,jt="ADD_URI_SAFE_ATTR"in t?C(E(qt),t.ADD_URI_SAFE_ATTR):qt,zt="ADD_DATA_URI_TAGS"in t?C(E(Vt),t.ADD_DATA_URI_TAGS):Vt,Et="FORBID_TAGS"in t?C({},t.FORBID_TAGS):{},Nt="FORBID_ATTR"in t?C({},t.FORBID_ATTR):{},Dt="USE_PROFILES"in t&&t.USE_PROFILES,Ft=!1!==t.ALLOW_ARIA_ATTR,Qt=!1!==t.ALLOW_DATA_ATTR,Ut=t.ALLOW_UNKNOWN_PROTOCOLS||!1,St=t.SAFE_FOR_TEMPLATES||!1,Lt=t.WHOLE_DOCUMENT||!1,Tt=t.RETURN_DOM||!1,It=t.RETURN_DOM_FRAGMENT||!1,Pt=!1!==t.RETURN_DOM_IMPORT,Ot=t.RETURN_TRUSTED_TYPE||!1,Ht=t.FORCE_BODY||!1,kt=!1!==t.SANITIZE_DOM,Rt=!1!==t.KEEP_CONTENT,Mt=t.IN_PLACE||!1,wt=t.ALLOWED_URI_REGEXP||wt,St&&(Qt=!1),It&&(Tt=!0),Dt&&(yt=C({},[].concat(q(H))),xt=[],!0===Dt.html&&(C(yt,F),C(xt,T)),!0===Dt.svg&&(C(yt,Q),C(xt,I),C(xt,O)),!0===Dt.svgFilters&&(C(yt,U),C(xt,I),C(xt,O)),!0===Dt.mathMl&&(C(yt,L),C(xt,P),C(xt,O))),t.ADD_TAGS&&(yt===bt&&(yt=E(yt)),C(yt,t.ADD_TAGS)),t.ADD_ATTR&&(xt===Ct&&(xt=E(xt)),C(xt,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&C(jt,t.ADD_URI_SAFE_ATTR),Rt&&(yt["#text"]=!0),Lt&&C(yt,["html","head","body"]),yt.table&&(C(yt,["tbody"]),delete Et.tbody),o&&o(t),Xt=t)},Wt=C({},["mi","mo","mn","ms","mtext"]),Jt=C({},["foreignobject","desc","title","annotation-xml"]),Zt=C({},Q);C(Zt,U),C(Zt,S);var $t=C({},L);C($t,_);var te="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml",ne=function(t){var e=rt(t);e&&e.tagName||(e={namespaceURI:re,tagName:"template"});var r=d(t.tagName),n=d(e.tagName);if(t.namespaceURI===ee)return e.namespaceURI===re?"svg"===r:e.namespaceURI===te?"svg"===r&&("annotation-xml"===n||Wt[n]):Boolean(Zt[r]);if(t.namespaceURI===te)return e.namespaceURI===re?"math"===r:e.namespaceURI===ee?"math"===r&&Jt[n]:Boolean($t[r]);if(t.namespaceURI===re){if(e.namespaceURI===ee&&!Jt[n])return!1;if(e.namespaceURI===te&&!Wt[n])return!1;var i=C({},["title","style","font","a","script"]);return!$t[r]&&(i[r]||!Zt[r])}return!1},ie=function(t){p(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=At}catch(e){t.remove()}}},Ae=function(t,r){try{p(e.removed,{attribute:r.getAttributeNode(t),from:r})}catch(t){p(e.removed,{attribute:null,from:r})}if(r.removeAttribute(t),"is"===t&&!xt[t])if(Tt||It)try{ie(r)}catch(t){}else try{r.setAttribute(t,"")}catch(t){}},oe=function(t){var e=void 0,r=void 0;if(Ht)t=""+t;else{var i=g(t,/^[\r\n\t ]+/);r=i&&i[0]}var A=it?it.createHTML(t):t;try{e=(new W).parseFromString(A,"text/html")}catch(t){}if(!e||!e.documentElement){var o=(e=at.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=A}return t&&r&&e.body.insertBefore(n.createTextNode(r),e.body.childNodes[0]||null),ut.call(e,Lt?"html":"body")[0]},ae=function(t){return st.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,(function(){return u.FILTER_ACCEPT}),!1)},se=function(t){return!(t instanceof b||t instanceof x||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof l&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore)},ue=function(t){return"object"===(void 0===a?"undefined":j(a))?t instanceof a:t&&"object"===(void 0===t?"undefined":j(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},ce=function(t,r,n){ht[t]&&f(ht[t],(function(t){t.call(e,r,n,Xt)}))},le=function(t){var r=void 0;if(ce("beforeSanitizeElements",t,null),se(t))return ie(t),!0;if(g(t.nodeName,/[\u0080-\uFFFF]/))return ie(t),!0;var n=d(t.nodeName);if(ce("uponSanitizeElement",t,{tagName:n,allowedTags:yt}),!ue(t.firstElementChild)&&(!ue(t.content)||!ue(t.content.firstElementChild))&&w(/<[/\w]/g,t.innerHTML)&&w(/<[/\w]/g,t.textContent))return ie(t),!0;if(!yt[n]||Et[n]){if(Rt&&!Kt[n]){var i=rt(t),A=et(t);if(A&&i)for(var o=A.length-1;o>=0;--o)i.insertBefore($(A[o],!0),tt(t))}return ie(t),!0}return t instanceof s&&!ne(t)?(ie(t),!0):"noscript"!==n&&"noembed"!==n||!w(/<\/no(script|embed)/i,t.innerHTML)?(St&&3===t.nodeType&&(r=t.textContent,r=v(r,pt," "),r=v(r,dt," "),t.textContent!==r&&(p(e.removed,{element:t.cloneNode()}),t.textContent=r)),ce("afterSanitizeElements",t,null),!1):(ie(t),!0)},fe=function(t,e,r){if(kt&&("id"===e||"name"===e)&&(r in n||r in Gt))return!1;if(Qt&&w(gt,e));else if(Ft&&w(vt,e));else{if(!xt[e]||Nt[e])return!1;if(jt[e]);else if(w(wt,v(r,mt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==B(r,"data:")||!zt[t])if(Ut&&!w(Bt,v(r,mt,"")));else if(r)return!1}return!0},he=function(t){var r=void 0,n=void 0,i=void 0,A=void 0;ce("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xt};for(A=o.length;A--;){var s=r=o[A],u=s.name,c=s.namespaceURI;if(n=m(r.value),i=d(u),a.attrName=i,a.attrValue=n,a.keepAttr=!0,a.forceKeepAttr=void 0,ce("uponSanitizeAttribute",t,a),n=a.attrValue,!a.forceKeepAttr&&(Ae(u,t),a.keepAttr))if(w(/\/>/i,n))Ae(u,t);else{St&&(n=v(n,pt," "),n=v(n,dt," "));var l=t.nodeName.toLowerCase();if(fe(l,i,n))try{c?t.setAttributeNS(c,u,n):t.setAttribute(u,n),h(e.removed)}catch(t){}}}ce("afterSanitizeAttributes",t,null)}},pe=function t(e){var r=void 0,n=ae(e);for(ce("beforeSanitizeShadowDOM",e,null);r=n.nextNode();)ce("uponSanitizeShadowNode",r,null),le(r)||(r.content instanceof i&&t(r.content),he(r));ce("afterSanitizeShadowDOM",e,null)};return e.sanitize=function(n,A){var o=void 0,s=void 0,u=void 0,c=void 0,l=void 0;if(n||(n="\x3c!--\x3e"),"string"!=typeof n&&!ue(n)){if("function"!=typeof n.toString)throw y("toString is not a function");if("string"!=typeof(n=n.toString()))throw y("dirty is not a string, aborting")}if(!e.isSupported){if("object"===j(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof n)return t.toStaticHTML(n);if(ue(n))return t.toStaticHTML(n.outerHTML)}return n}if(_t||Yt(A),e.removed=[],"string"==typeof n&&(Mt=!1),Mt);else if(n instanceof a)1===(s=(o=oe("\x3c!----\x3e")).ownerDocument.importNode(n,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s);else{if(!Tt&&!St&&!Lt&&-1===n.indexOf("<"))return it&&Ot?it.createHTML(n):n;if(!(o=oe(n)))return Tt?null:At}o&&Ht&&ie(o.firstChild);for(var f=ae(Mt?n:o);u=f.nextNode();)3===u.nodeType&&u===c||le(u)||(u.content instanceof i&&pe(u.content),he(u),c=u);if(c=null,Mt)return n;if(Tt){if(It)for(l=ct.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return Pt&&(l=lt.call(r,l,!0)),l}var h=Lt?o.outerHTML:o.innerHTML;return St&&(h=v(h,pt," "),h=v(h,dt," ")),it&&Ot?it.createHTML(h):h},e.setConfig=function(t){Yt(t),_t=!0},e.clearConfig=function(){Xt=null,_t=!1},e.isValidAttribute=function(t,e,r){Xt||Yt({});var n=d(t),i=d(e);return fe(n,i,r)},e.addHook=function(t,e){"function"==typeof e&&(ht[t]=ht[t]||[],p(ht[t],e))},e.removeHook=function(t){ht[t]&&h(ht[t])},e.removeHooks=function(t){ht[t]&&(ht[t]=[])},e.removeAllHooks=function(){ht={}},e}return Y()}()})),A.register("dlwNe",(function(r,n){var i;i=r.exports,Object.defineProperty(i,"__esModule",{value:!0,configurable:!0}),t(r.exports,"compressSpaces",(()=>At)),t(r.exports,"trimLeft",(()=>ot)),t(r.exports,"trimRight",(()=>at)),t(r.exports,"toNumbers",(()=>st)),t(r.exports,"normalizeAttributeName",(()=>ct)),t(r.exports,"parseExternalUrl",(()=>lt)),t(r.exports,"normalizeColor",(()=>ft)),t(r.exports,"getSelectorSpecificity",(()=>yt)),t(r.exports,"PSEUDO_ZERO",(()=>bt)),t(r.exports,"vectorMagnitude",(()=>xt)),t(r.exports,"vectorsRatio",(()=>Ct)),t(r.exports,"vectorsAngle",(()=>Et)),t(r.exports,"CB1",(()=>Nt)),t(r.exports,"CB2",(()=>Ft)),t(r.exports,"CB3",(()=>Qt)),t(r.exports,"CB4",(()=>Ut)),t(r.exports,"QB1",(()=>St)),t(r.exports,"QB2",(()=>Lt)),t(r.exports,"QB3",(()=>_t)),t(r.exports,"Property",(()=>Ht)),t(r.exports,"ViewPort",(()=>Tt)),t(r.exports,"Point",(()=>It)),t(r.exports,"Mouse",(()=>Pt)),t(r.exports,"Screen",(()=>Rt)),t(r.exports,"Parser",(()=>Kt)),t(r.exports,"Translate",(()=>zt)),t(r.exports,"Rotate",(()=>Vt)),t(r.exports,"Scale",(()=>jt)),t(r.exports,"Matrix",(()=>qt)),t(r.exports,"Skew",(()=>Gt)),t(r.exports,"SkewX",(()=>Wt)),t(r.exports,"SkewY",(()=>Zt)),t(r.exports,"Transform",(()=>$t)),t(r.exports,"Element",(()=>te)),t(r.exports,"UnknownElement",(()=>re)),t(r.exports,"Font",(()=>oe)),t(r.exports,"BoundingBox",(()=>ae)),t(r.exports,"RenderedElement",(()=>ue)),t(r.exports,"TextElement",(()=>le)),t(r.exports,"TSpanElement",(()=>he)),t(r.exports,"PathParser",(()=>ve)),t(r.exports,"PathElement",(()=>me)),t(r.exports,"SVGElement",(()=>ye)),t(r.exports,"RectElement",(()=>xe)),t(r.exports,"CircleElement",(()=>Ee)),t(r.exports,"EllipseElement",(()=>Fe)),t(r.exports,"LineElement",(()=>Ue)),t(r.exports,"PolylineElement",(()=>Le)),t(r.exports,"PolygonElement",(()=>He)),t(r.exports,"PatternElement",(()=>Ie)),t(r.exports,"MarkerElement",(()=>Oe)),t(r.exports,"DefsElement",(()=>Re)),t(r.exports,"GElement",(()=>De)),t(r.exports,"GradientElement",(()=>ze)),t(r.exports,"LinearGradientElement",(()=>je)),t(r.exports,"RadialGradientElement",(()=>Xe)),t(r.exports,"StopElement",(()=>Ye)),t(r.exports,"AnimateElement",(()=>Je)),t(r.exports,"AnimateColorElement",(()=>$e)),t(r.exports,"AnimateTransformElement",(()=>er)),t(r.exports,"FontElement",(()=>Ar)),t(r.exports,"FontFaceElement",(()=>ar)),t(r.exports,"MissingGlyphElement",(()=>ur)),t(r.exports,"GlyphElement",(()=>lr)),t(r.exports,"TRefElement",(()=>hr)),t(r.exports,"AElement",(()=>dr)),t(r.exports,"TextPathElement",(()=>yr)),t(r.exports,"ImageElement",(()=>xr)),t(r.exports,"SymbolElement",(()=>Er)),t(r.exports,"SVGFontLoader",(()=>Nr)),t(r.exports,"StyleElement",(()=>Qr)),t(r.exports,"UseElement",(()=>Sr)),t(r.exports,"FeColorMatrixElement",(()=>Pr)),t(r.exports,"MaskElement",(()=>kr)),t(r.exports,"ClipPathElement",(()=>Dr)),t(r.exports,"FilterElement",(()=>zr)),t(r.exports,"FeDropShadowElement",(()=>jr)),t(r.exports,"FeMorphologyElement",(()=>Xr)),t(r.exports,"FeCompositeElement",(()=>Yr)),t(r.exports,"FeGaussianBlurElement",(()=>Jr)),t(r.exports,"TitleElement",(()=>$r)),t(r.exports,"DescElement",(()=>en)),t(r.exports,"Document",(()=>on)),t(r.exports,"Canvg",(()=>un)),t(r.exports,"presets",(()=>cn)),t(r.exports,"default",(()=>ln));var o=A("5Mdy0"),a=A("3v1ep"),s=A("cOKAk"),u=A("l5i8k"),c=A("2lvIq"),l=A("2C1qD"),f=A("l7QQC"),h=A("h8tHz"),p=A("4Rc8v"),d=A("6Izpd"),g=A("1wCHl"),v=A("20nCH"),B=A("brsYK"),m=A("d7o9N"),w=A("hYZ9K"),y=A("iFEB4"),b=A("2E5uB"),x=A("405pH"),C=A("hOd7j"),E=A("ktkbe"),N=A("gja6g"),F=A("8RdtY"),Q=A("dS2VW"),U=A("7CZ3p"),S=A("6GJe0"),L=A("1d1V2"),_=A("aDiv0"),H=A("5lZC9"),T=A("fYFtl"),I=A("gqlfc"),P=A("bm6B9"),O=A("9h2ud"),k=A("frOIg"),R=A("1fag9"),M=A("cp9U2"),D=A("lyzcJ"),K=A("2Rt1U"),z=A("cBwQV"),V=A("bwdmz"),j=A("jwSmS"),q=A("jIIGZ"),X=A("8LtbH"),G=A("1rE6V"),Y=A("ceOPG"),W=A("aM44H"),J=A("4si63"),Z=A("WBEgQ"),$=A("k19NP"),tt=A("dTgJe"),et=A("2ukQu"),rt=A("eYsRo"),nt=A("th98W"),it=A("kIky1");function At(t){return t.replace(/(?!\u3000)\s+/gm," ")}function ot(t){return t.replace(/^[\n \t]+/,"")}function at(t){return t.replace(/[\n \t]+$/,"")}function st(t){var r=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e(s)(r).call(r,e(a))}var ut=/^[A-Z-]+$/;function ct(t){return ut.test(t)?t.toLowerCase():t}function lt(t){var e=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return e[2]||e[3]||e[4]}function ft(t){if(!e(o)(t).call(t,"rgb"))return t;var r=3;return t.replace(/\d+(\.\d+)?/g,(function(t,n){return r--&&n?String(Math.round(e(a)(t))):t}))}var ht=/(\[[^\]]+\])/g,pt=/(#[^\s\+>~\.\[:]+)/g,dt=/(\.[^\s\+>~\.\[:]+)/g,gt=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,vt=/(:[\w-]+\([^\)]*\))/gi,Bt=/(:[^\s\+>~\.\[:]+)/g,mt=/([^\s\+>~\.\[:]+)/g;function wt(t,e){var r=t.match(e);return r?[t.replace(e," "),r.length]:[t,0]}function yt(t){var r=[0,0,0],n=t.replace(/:not\(([^\)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),i=0,A=wt(n,ht),o=e(u)(A,2);n=o[0],i=o[1],r[1]+=i;var a=wt(n,pt),s=e(u)(a,2);n=s[0],i=s[1],r[0]+=i;var c=wt(n,dt),l=e(u)(c,2);n=l[0],i=l[1],r[1]+=i;var f=wt(n,gt),h=e(u)(f,2);n=h[0],i=h[1],r[2]+=i;var p=wt(n,vt),d=e(u)(p,2);n=d[0],i=d[1],r[1]+=i;var g=wt(n,Bt),v=e(u)(g,2);n=v[0],i=v[1],r[1]+=i;var B=wt(n=n.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),mt),m=e(u)(B,2);return n=m[0],i=m[1],r[2]+=i,r.join("")}var bt=1e-8;function xt(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function Ct(t,e){return(t[0]*e[0]+t[1]*e[1])/(xt(t)*xt(e))}function Et(t,e){return(t[0]*e[1]0&&void 0!==arguments[0]?arguments[0]:" ",A=this.document,o=this.name;return e(s)(r=e(S)(n=At(this.getString())).call(n).split(i)).call(r,(function(e){return new t(A,o,e)}))}},{key:"hasValue",value:function(t){var e=this.value;return null!==e&&""!==e&&(t||0!==e)&&void 0!==e}},{key:"isString",value:function(t){var e=this.value,r="string"==typeof e;return r&&t?t.test(e):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case/px$/.test(t):case/^[0-9]+$/.test(t):return!0;default:return!1}}},{key:"setValue",value:function(t){return this.value=t,this}},{key:"getValue",value:function(t){return void 0===t||this.hasValue()?this.value:t}},{key:"getNumber",value:function(t){if(!this.hasValue())return void 0===t?0:e(a)(t);var r=this.value,n=e(a)(r);return this.isString(/%$/)&&(n/=100),n}},{key:"getString",value:function(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}},{key:"getColor",value:function(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=ft(e),this.value=e),e}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var n="boolean"==typeof t?[void 0,t]:[t],i=e(u)(n,2),A=i[0],o=i[1],a=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&o:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*a.computeSize(A);default:var s=this.getNumber();return r&&s<1?s*a.computeSize(A):s}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var t=this.getString(),e=t.match(/#([^\)'"]+)/);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}},{key:"getFillStyleDefinition",value:function(t,e){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,t,e)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?t.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(r){for(var n=this.getColor(),i=n.length,A=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:0,i=st(r),A=e(u)(i,2),o=A[0],a=void 0===o?n:o,s=A[1];return new t(a,void 0===s?n:s)}},{key:"parseScale",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=st(r),A=e(u)(i,2),o=A[0],a=void 0===o?n:o,s=A[1];return new t(a,void 0===s?a:s)}},{key:"parsePath",value:function(e){for(var r=st(e),n=r.length,i=[],A=0;A0}},{key:"runEvents",value:function(){if(this.working){var t=this.screen,r=this.events,n=this.eventElements,i=t.ctx.canvas.style;i&&(i.cursor=""),e(h)(r).call(r,(function(t,e){for(var r=t.run,i=n[e];i;)r(i),i=i.parent})),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(t,r){if(this.working&&r){var n=this.events,i=this.eventElements;e(h)(n).call(n,(function(e,n){var A=e.x,o=e.y;!i[n]&&r.isPointInPath&&r.isPointInPath(A,o)&&(i[n]=t)}))}}},{key:"checkBoundingBox",value:function(t,r){if(this.working&&r){var n=this.events,i=this.eventElements;e(h)(n).call(n,(function(e,n){var A=e.x,o=e.y;!i[n]&&r.isPointInBox(A,o)&&(i[n]=t)}))}}},{key:"mapXY",value:function(t,e){for(var r=this.screen,n=r.window,i=r.ctx,A=new It(t,e),o=i.canvas;o;)A.x-=o.offsetLeft,A.y-=o.offsetTop,o=o.offsetParent;return n.scrollX&&(A.x+=n.scrollX),n.scrollY&&(A.y+=n.scrollY),A}},{key:"onClick",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onclick",x:r,y:n,run:function(t){t.onClick&&t.onClick()}})}},{key:"onMouseMove",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onmousemove",x:r,y:n,run:function(t){t.onMouseMove&&t.onMouseMove()}})}}]),t}(),Ot="undefined"!=typeof window?window:null,kt="undefined"!=typeof fetch?e(Q)(fetch).call(fetch,void 0):null,Rt=function(){function t(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.fetch,A=void 0===i?kt:i,o=n.window,a=void 0===o?Ot:o;e(y)(this,t),this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Tt,this.mouse=new Pt(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=A}return e(b)(t,[{key:"wait",value:function(t){this.waits.push(t)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:e(F).resolve()}},{key:"isReady",value:function(){var t;if(this.isReadyLock)return!0;var r=e(N)(t=this.waits).call(t,(function(t){return t()}));return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}},{key:"setDefaults",value:function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}},{key:"setViewBox",value:function(t){var r=t.document,n=t.ctx,i=t.aspectRatio,A=t.width,o=t.desiredWidth,a=t.height,s=t.desiredHeight,c=t.minX,l=void 0===c?0:c,f=t.minY,h=void 0===f?0:f,p=t.refX,d=t.refY,g=t.clip,v=void 0!==g&&g,B=t.clipX,m=void 0===B?0:B,w=t.clipY,y=void 0===w?0:w,b=At(i).replace(/^defer\s/,"").split(" "),x=e(u)(b,2),C=x[0]||"xMidYMid",E=x[1]||"meet",N=A/o,F=a/s,Q=Math.min(N,F),U=Math.max(N,F),S=o,L=s;"meet"===E&&(S*=Q,L*=Q),"slice"===E&&(S*=U,L*=U);var _=new Ht(r,"refX",p),H=new Ht(r,"refY",d),T=_.hasValue()&&H.hasValue();if(T&&n.translate(-Q*_.getPixels("x"),-Q*H.getPixels("y")),v){var I=Q*m,P=Q*y;n.beginPath(),n.moveTo(I,P),n.lineTo(A,P),n.lineTo(A,a),n.lineTo(I,a),n.closePath(),n.clip()}if(!T){var O="meet"===E&&Q===F,k="slice"===E&&U===F,R="meet"===E&&Q===N,M="slice"===E&&U===N;/^xMid/.test(C)&&(O||k)&&n.translate(A/2-S/2,0),/YMid$/.test(C)&&(R||M)&&n.translate(0,a/2-L/2),/^xMax/.test(C)&&(O||k)&&n.translate(A-S,0),/YMax$/.test(C)&&(R||M)&&n.translate(0,a-L)}switch(!0){case"none"===C:n.scale(N,F);break;case"meet"===E:n.scale(Q,Q);break;case"slice"===E:n.scale(U,U)}n.translate(-l,-h)}},{key:"start",value:function(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.enableRedraw,A=void 0!==i&&i,o=n.ignoreMouse,a=void 0!==o&&o,s=n.ignoreAnimation,u=void 0!==s&&s,c=n.ignoreDimensions,l=void 0!==c&&c,f=n.ignoreClear,h=void 0!==f&&f,p=n.forceRedraw,d=n.scaleWidth,g=n.scaleHeight,v=n.offsetX,B=n.offsetY,m=this.FRAMERATE,w=this.mouse,y=1e3/m;if(this.frameDuration=y,this.readyPromise=new(e(F))((function(t){r.resolveReady=t})),this.isReady()&&this.render(t,l,h,d,g,v,B),A){var b=e(E)(),x=b,C=0;a||w.start(),this.intervalId=e(U)((function n(){b=e(E)(),(C=b-x)>=y&&(x=b-C%y,r.shouldUpdate(u,p)&&(r.render(t,l,h,d,g,v,B),w.runEvents())),r.intervalId=e(U)(n)}))}}},{key:"stop",value:function(){this.intervalId&&(e(U).cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(t,r){if(!t){var n,i=this.frameDuration,A=e(C)(n=this.animations).call(n,(function(t,e){return e.update(i)||t}),!1);if(A)return!0}return!("function"!=typeof r||!r())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}},{key:"render",value:function(t,r,n,i,A,o,a){var s=this.CLIENT_WIDTH,u=this.CLIENT_HEIGHT,c=this.viewPort,l=this.ctx,f=this.isFirstRender,h=l.canvas;c.clear(),h.width&&h.height?c.setCurrent(h.width,h.height):c.setCurrent(s,u);var p=t.getStyle("width"),d=t.getStyle("height");!r&&(f||"number"!=typeof i&&"number"!=typeof A)&&(p.hasValue()&&(h.width=p.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),d.hasValue()&&(h.height=d.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var g=h.clientWidth||h.width,v=h.clientHeight||h.height;if(r&&p.hasValue()&&d.hasValue()&&(g=p.getPixels("x"),v=d.getPixels("y")),c.setCurrent(g,v),"number"==typeof o&&t.getAttribute("x",!0).setValue(o),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof i||"number"==typeof A){var B,m,w=st(t.getAttribute("viewBox").getString()),y=0,b=0;if("number"==typeof i){var C=t.getStyle("width");C.hasValue()?y=C.getPixels("x")/i:isNaN(w[2])||(y=w[2]/i)}if("number"==typeof A){var E=t.getStyle("height");E.hasValue()?b=E.getPixels("y")/A:isNaN(w[3])||(b=w[3]/A)}y||(y=b),b||(b=y),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(A);var N=t.getStyle("transform",!0,!0);N.setValue(e(x)(B=e(x)(m="".concat(N.getString()," scale(")).call(m,1/y,", ")).call(B,1/b,")"))}n||l.clearRect(0,0,g,v),t.render(l),f&&(this.isFirstRender=!1)}}]),t}();Rt.defaultWindow=Ot,Rt.defaultFetch=kt;var Mt=Rt.defaultFetch,Dt="undefined"!=typeof DOMParser?DOMParser:null,Kt=function(){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.fetch,i=void 0===n?Mt:n,A=r.DOMParser,o=void 0===A?Dt:A;e(y)(this,t),this.fetch=i,this.DOMParser=o}var r,n;return e(b)(t,[{key:"parse",value:(n=e(m)(e(B).mark((function t(r){return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!/^=0;r--)e[r].unapply(t)}},{key:"applyToPoint",value:function(t){for(var e=this.transforms,r=e.length,n=0;n2&&void 0!==arguments[2]&&arguments[2];if(e(y)(this,t),this.document=r,this.node=n,this.captureTextNodes=a,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],n&&1===n.nodeType){if(e(h)(i=e(R)(n.attributes)).call(i,(function(t){var e=ct(t.nodeName);o.attributes[e]=new Ht(r,e,t.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var c,l=e(s)(c=this.getAttribute("style").getString().split(";")).call(c,(function(t){return e(S)(t).call(t)}));e(h)(l).call(l,(function(t){var n;if(t){var i=e(s)(n=t.split(":")).call(n,(function(t){return e(S)(t).call(t)})),A=e(u)(i,2),a=A[0],c=A[1];o.styles[a]=new Ht(r,a,c)}}))}var f=r.definitions,p=this.getAttribute("id");p.hasValue()&&(f[p.getValue()]||(f[p.getValue()]=this)),e(h)(A=e(R)(n.childNodes)).call(A,(function(t){if(1===t.nodeType)o.addChild(t);else if(a&&(3===t.nodeType||4===t.nodeType)){var e=r.createTextNode(t);e.getText().length>0&&o.addChild(e)}}))}}return e(b)(t,[{key:"getAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var n=new Ht(this.document,t,"");return this.attributes[t]=n,n}return r||Ht.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var t in this.attributes)if("href"===t||/:href$/.test(t))return this.attributes[t];return Ht.empty(this.document)}},{key:"getStyle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[t];if(n)return n;var i=this.getAttribute(t);if(i&&i.hasValue())return this.styles[t]=i,i;if(!r){var A=this.parent;if(A){var o=A.getStyle(t);if(o&&o.hasValue())return o}}if(e){var a=new Ht(this.document,t,"");return this.styles[t]=a,a}return n||Ht.empty(this.document)}},{key:"render",value:function(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}},{key:"setContext",value:function(t){}},{key:"applyEffects",value:function(t){var e=$t.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(t)}}},{key:"clearContext",value:function(t){}},{key:"renderChildren",value:function(t){var r;e(h)(r=this.children).call(r,(function(e){e.render(t)}))}},{key:"addChild",value:function(r){var n,i=r instanceof t?r:this.document.createElement(r);i.parent=this,e(k)(n=t.ignoreChildTypes).call(n,i.type)||this.children.push(i)}},{key:"matchesSelector",value:function(t){var r,n=this.node;if("function"==typeof n.matches)return n.matches(t);var i=n.getAttribute("class");return!(!i||""===i)&&e(O)(r=i.split(" ")).call(r,(function(e){if(".".concat(e)===t)return!0}))}},{key:"addStylesFromStyleDefinition",value:function(){var t=this.document,e=t.styles,r=t.stylesSpecificity;for(var n in e)if("@"!==n[0]&&this.matchesSelector(n)){var i=e[n],A=r[n];if(i)for(var o in i){var a=this.stylesSpecificity[o];void 0===a&&(a="000"),A>=a&&(this.styles[o]=i[o],this.stylesSpecificity[o]=A)}}}},{key:"removeStyles",value:function(t,r){return e(C)(r).call(r,(function(r,n){var i,A=t.getStyle(n);if(!A.hasValue())return r;var o=A.getString();return A.setValue(""),e(x)(i=[]).call(i,e(P)(r),[[n,o]])}),[])}},{key:"restoreStyles",value:function(t,r){e(h)(r).call(r,(function(r){var n=e(u)(r,2),i=n[0],A=n[1];t.getStyle(i,!0).setValue(A)}))}}]),t}();function ee(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}te.ignoreChildTypes=["title"];var re=function(t){e(H)(n,t);var r=ee(n);function n(t,i,A){return e(y)(this,n),r.call(this,t,i,A)}return n}(te);function ne(t){var r=e(S)(t).call(t);return/^('|")/.test(r)?r:'"'.concat(r,'"')}function ie(t){if(!t)return"";var r=e(S)(t).call(t).toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function Ae(t){if(!t)return"";var r=e(S)(t).call(t).toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}var oe=function(){function t(r,n,i,A,o,a){e(y)(this,t);var s=a?"string"==typeof a?t.parse(a):a:{};this.fontFamily=o||s.fontFamily,this.fontSize=A||s.fontSize,this.fontStyle=r||s.fontStyle,this.fontWeight=i||s.fontWeight,this.fontVariant=n||s.fontVariant}return e(b)(t,[{key:"toString",value:function(){var t,r,n;return e(S)(t=[ie(this.fontStyle),this.fontVariant,Ae(this.fontWeight),this.fontSize,(r=this.fontFamily,void 0===it?r:e(s)(n=e(S)(r).call(r).split(",")).call(n,ne).join(","))].join(" ")).call(t)}}],[{key:"parse",value:function(){var r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0,A="",o="",a="",s="",c="",l=e(S)(r=At(n)).call(r).split(" "),f={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return e(h)(l).call(l,(function(r){var n,i,l;switch(!0){case!f.fontStyle&&e(k)(n=t.styles).call(n,r):"inherit"!==r&&(A=r),f.fontStyle=!0;break;case!f.fontVariant&&e(k)(i=t.variants).call(i,r):"inherit"!==r&&(o=r),f.fontStyle=!0,f.fontVariant=!0;break;case!f.fontWeight&&e(k)(l=t.weights).call(l,r):"inherit"!==r&&(a=r),f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0;break;case!f.fontSize:if("inherit"!==r){var h=r.split("/"),p=e(u)(h,1);s=p[0]}f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0,f.fontSize=!0;break;default:"inherit"!==r&&(c+=r)}})),new t(A,o,a,s,c,i)}}]),t}();oe.styles="normal|italic|oblique|inherit",oe.variants="normal|small-caps|inherit",oe.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var ae=function(){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;e(y)(this,t),this.x1=r,this.y1=n,this.x2=i,this.y2=A,this.addPoint(r,n),this.addPoint(i,A)}return e(b)(t,[{key:"addPoint",value:function(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),tthis.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))}},{key:"addX",value:function(t){this.addPoint(t,null)}},{key:"addY",value:function(t){this.addPoint(null,t)}},{key:"addBoundingBox",value:function(t){if(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;this.addPoint(e,r),this.addPoint(n,i)}}},{key:"sumCubic",value:function(t,e,r,n,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*n+Math.pow(t,3)*i}},{key:"bezierCurveAdd",value:function(t,e,r,n,i){var A=6*e-12*r+6*n,o=-3*e+9*r-9*n+3*i,a=3*r-3*e;if(0!==o){var s=Math.pow(A,2)-4*a*o;if(!(s<0)){var u=(-A+Math.sqrt(s))/(2*o);01&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),A=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var o=r.getFillStyleDefinition(this,n);o&&(t.fillStyle=o)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var a=r.getColor();"inherit"!==a&&(t.fillStyle="none"===a?"rgba(0,0,0,0)":a)}if(n.hasValue()){var s=new Ht(this.document,"fill",t.fillStyle).addOpacity(n).getColor();t.fillStyle=s}if(i.isUrlDefinition()){var u=i.getFillStyleDefinition(this,A);u&&(t.strokeStyle=u)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var c=i.getString();"inherit"!==c&&(t.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(A.hasValue()){var l=new Ht(this.document,"stroke",t.strokeStyle).addOpacity(A).getString();t.strokeStyle=l}var f=this.getStyle("stroke-width");if(f.hasValue()){var h=f.getPixels();t.lineWidth=h||bt}var p=this.getStyle("stroke-linecap"),d=this.getStyle("stroke-linejoin"),g=this.getStyle("stroke-miterlimit"),v=this.getStyle("paint-order"),B=this.getStyle("stroke-dasharray"),m=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(t.lineCap=p.getString()),d.hasValue()&&(t.lineJoin=d.getString()),g.hasValue()&&(t.miterLimit=g.getNumber()),v.hasValue()&&(t.paintOrder=v.getValue()),B.hasValue()&&"none"!==B.getString()){var w=st(B.getString());void 0!==t.setLineDash?t.setLineDash(w):void 0!==t.webkitLineDash?t.webkitLineDash=w:void 0===t.mozDash||1===w.length&&0===w[0]||(t.mozDash=w);var y=m.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=y:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=y:void 0!==t.mozDashOffset&&(t.mozDashOffset=y)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var b=this.getStyle("font"),x=this.getStyle("font-style"),C=this.getStyle("font-variant"),E=this.getStyle("font-weight"),N=this.getStyle("font-size"),F=this.getStyle("font-family"),Q=new oe(x.getString(),C.getString(),E.getString(),N.hasValue()?"".concat(N.getPixels(!0),"px"):"",F.getString(),oe.parse(b.getString(),t.font));x.setValue(Q.fontStyle),C.setValue(Q.fontVariant),E.setValue(Q.fontWeight),N.setValue(Q.fontSize),F.setValue(Q.fontFamily),t.font=Q.toString(),N.isPixels()&&(this.document.emSize=N.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(t){e(K)(e(I)(n.prototype),"clearContext",this).call(this,t),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),n}(te);function ce(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var le=function(t){e(H)(n,t);var r=ce(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,(this instanceof n?this.constructor:void 0)===n||A)).type="text",o.x=0,o.y=0,o.measureCache=-1,o}return e(b)(n,[{key:"setContext",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e(K)(e(I)(n.prototype),"setContext",this).call(this,t,r);var i=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();i&&(t.textBaseline=i)}},{key:"initializeCoordinates",value:function(t){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var e=this.getAttribute("dx"),r=this.getAttribute("dy");e.hasValue()&&(this.x+=e.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(t,this,0)}},{key:"getBoundingBox",value:function(t){var r,n=this;if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(t);var i=null;return e(h)(r=this.children).call(r,(function(e,r){var A=n.getChildBoundingBox(t,n,n,r);i?i.addBoundingBox(A):i=A})),i}},{key:"getFontSize",value:function(){var t=this.document,e=this.parent,r=oe.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}},{key:"getTElementBoundingBox",value:function(t){var e=this.getFontSize();return new ae(this.x,this.y-e,this.x+this.measureText(t),this.y)}},{key:"getGlyph",value:function(t,e,r){var n=e[r],i=null;if(t.isArabic){var A=e.length,o=e[r-1],a=e[r+1],s="isolated";(0===r||" "===o)&&r0&&" "!==o&&r0&&" "!==o&&(r===A-1||" "===a)&&(s="initial"),void 0!==t.glyphs[n]&&((i=t.glyphs[n][s])||"glyph"!==t.glyphs[n].type||(i=t.glyphs[n]))}else i=t.glyphs[n];return i||(i=t.missingGlyph),i}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(t){var r=t||this.node,n=e(R)(r.parentNode.childNodes),i=e(D)(n).call(n,r),A=n.length-1,o=At(r.value||r.text||r.textContent||"");return 0===i&&(o=ot(o)),i===A&&(o=at(o)),o}},{key:"renderChildren",value:function(t){var r,n=this;if("text"===this.type){this.initializeCoordinates(t),e(h)(r=this.children).call(r,(function(e,r){n.renderChild(t,n,n,r)}));var i=this.document.screen.mouse;i.isWorking()&&i.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}},{key:"renderTElementChildren",value:function(t){var r=this.document,n=this.parent,i=this.getText(),A=n.getStyle("font-family").getDefinition();if(A)for(var o,a=A.fontFace.unitsPerEm,s=oe.parse(r.ctx.font),u=n.getStyle("font-size").getNumber(s.fontSize),c=n.getStyle("font-style").getString(s.fontStyle),l=u/a,f=A.isRTL?e(M)(o=i.split("")).call(o).join(""):i,h=st(n.getAttribute("dx").getString()),p=f.length,d=0;dr&&o.getAttribute("x").hasValue()||o.getAttribute("text-anchor").hasValue()));s++)a+=o.measureTextRecursive(t);return-1*("end"===n?a:a/2)}return 0}},{key:"adjustChildCoordinates",value:function(t,e,r,n){var i=r.children[n];if("function"!=typeof i.measureText)return i;t.save(),i.setContext(t,!0);var A=i.getAttribute("x"),o=i.getAttribute("y"),a=i.getAttribute("dx"),s=i.getAttribute("dy"),u=i.getAttribute("text-anchor").getString("start");if(0===n&&"textNode"!==i.type&&(A.hasValue()||A.setValue(e.getAttribute("x").getValue("0")),o.hasValue()||o.setValue(e.getAttribute("y").getValue("0")),a.hasValue()||a.setValue(e.getAttribute("dx").getValue("0")),s.hasValue()||s.setValue(e.getAttribute("dy").getValue("0"))),A.hasValue()){if(i.x=A.getPixels("x")+e.getAnchorDelta(t,r,n),"start"!==u){var c=i.measureTextRecursive(t);i.x+=-1*("end"===u?c:c/2)}a.hasValue()&&(i.x+=a.getPixels("x"))}else{if("start"!==u){var l=i.measureTextRecursive(t);e.x+=-1*("end"===u?l:l/2)}a.hasValue()&&(e.x+=a.getPixels("x")),i.x=e.x}return e.x=i.x+i.measureText(t),o.hasValue()?(i.y=o.getPixels("y"),s.hasValue()&&(i.y+=s.getPixels("y"))):(s.hasValue()&&(e.y+=s.getPixels("y")),i.y=e.y),e.y=i.y,i.clearContext(t),t.restore(),i}},{key:"getChildBoundingBox",value:function(t,r,n,i){var A,o=this.adjustChildCoordinates(t,r,n,i);if("function"!=typeof o.getBoundingBox)return null;var a=o.getBoundingBox(t);return a?(e(h)(A=o.children).call(A,(function(e,n){var i=r.getChildBoundingBox(t,r,o,n);a.addBoundingBox(i)})),a):null}},{key:"renderChild",value:function(t,r,n,i){var A,o=this.adjustChildCoordinates(t,r,n,i);o.render(t),e(h)(A=o.children).call(A,(function(e,n){r.renderChild(t,r,o,n)}))}},{key:"measureTextRecursive",value:function(t){var r;return e(C)(r=this.children).call(r,(function(e,r){return e+r.measureTextRecursive(t)}),this.measureText(t))}},{key:"measureText",value:function(t){var e=this.measureCache;if(~e)return e;var r=this.getText(),n=this.measureTargetText(t,r);return this.measureCache=n,n}},{key:"measureTargetText",value:function(t,r){if(!r.length)return 0;var n=this.parent,i=n.getStyle("font-family").getDefinition();if(i){for(var A,o=this.getFontSize(),a=i.isRTL?e(M)(A=r.split("")).call(A).join(""):r,s=st(n.getAttribute("dx").getString()),u=a.length,c=0,l=0;l0?"":o.getTextFromNode(),o}return e(b)(n,[{key:"getText",value:function(){return this.text}}]),n}(le);function pe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var de=function(t){e(H)(n,t);var r=pe(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="textNode",t}return n}(he);function ge(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var ve=function(t){e(H)(n,t);var r=ge(n);function n(t){var i;return e(y)(this,n),(i=r.call(this,t.replace(/[+-.]\s+/g,"-").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,""))).control=null,i.start=null,i.current=null,i.command=null,i.commands=i.commands,i.i=-1,i.previousCommand=null,i.points=[],i.angles=[],i}return e(b)(n,[{key:"reset",value:function(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new It(0,0),this.control=new It(0,0),this.current=new It(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.commands.length-1}},{key:"next",value:function(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}},{key:"getPoint",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r=new It(this.command[t],this.command[e]);return this.makeAbsolute(r)}},{key:"getAsControlPoint",value:function(t,e){var r=this.getPoint(t,e);return this.control=r,r}},{key:"getAsCurrentPoint",value:function(t,e){var r=this.getPoint(t,e);return this.current=r,r}},{key:"getReflectedControlPoint",value:function(){var t=this.previousCommand.type;if(t!==V.SVGPathData.CURVE_TO&&t!==V.SVGPathData.SMOOTH_CURVE_TO&&t!==V.SVGPathData.QUAD_TO&&t!==V.SVGPathData.SMOOTH_QUAD_TO)return this.current;var e=this.current,r=e.x,n=e.y,i=this.control,A=i.x,o=i.y;return new It(2*r-A,2*n-o)}},{key:"makeAbsolute",value:function(t){if(this.command.relative){var e=this.current,r=e.x,n=e.y;t.x+=r,t.y+=n}return t}},{key:"addMarker",value:function(t,e,r){var n=this.points,i=this.angles;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}},{key:"addMarkerAngle",value:function(t,e){this.points.push(t),this.angles.push(e)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var t=this.angles,e=t.length,r=0;ra?o:a,v=o>a?1:o/a,B=o>a?a/o:1;t.translate(c.x,c.y),t.rotate(u),t.scale(v,B),t.arc(0,0,g,l,l+f,Boolean(1-s)),t.scale(1/v,1/B),t.rotate(-u),t.translate(-c.x,-c.y)}}},{key:"pathZ",value:function(t,e){n.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}],[{key:"pathM",value:function(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}},{key:"pathL",value:function(t){return{current:t.current,point:t.getAsCurrentPoint()}}},{key:"pathH",value:function(t){var e=t.current,r=t.command,n=new It((r.relative?e.x:0)+r.x,e.y);return t.current=n,{current:e,point:n}}},{key:"pathV",value:function(t){var e=t.current,r=t.command,n=new It(e.x,(r.relative?e.y:0)+r.y);return t.current=n,{current:e,point:n}}},{key:"pathC",value:function(t){return{current:t.current,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathS",value:function(t){return{current:t.current,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathQ",value:function(t){return{current:t.current,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathT",value:function(t){var e=t.current,r=t.getReflectedControlPoint();return t.control=r,{current:e,controlPoint:r,currentPoint:t.getAsCurrentPoint()}}},{key:"pathA",value:function(t){var e=t.current,r=t.command,n=r.rX,i=r.rY,A=r.xRot,o=r.lArcFlag,a=r.sweepFlag,s=A*(Math.PI/180),u=t.getAsCurrentPoint(),c=new It(Math.cos(s)*(e.x-u.x)/2+Math.sin(s)*(e.y-u.y)/2,-Math.sin(s)*(e.x-u.x)/2+Math.cos(s)*(e.y-u.y)/2),l=Math.pow(c.x,2)/Math.pow(n,2)+Math.pow(c.y,2)/Math.pow(i,2);l>1&&(n*=Math.sqrt(l),i*=Math.sqrt(l));var f=(o===a?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(i,2)-Math.pow(n,2)*Math.pow(c.y,2)-Math.pow(i,2)*Math.pow(c.x,2))/(Math.pow(n,2)*Math.pow(c.y,2)+Math.pow(i,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var h=new It(f*n*c.y/i,f*-i*c.x/n),p=new It((e.x+u.x)/2+Math.cos(s)*h.x-Math.sin(s)*h.y,(e.y+u.y)/2+Math.sin(s)*h.x+Math.cos(s)*h.y),d=Et([1,0],[(c.x-h.x)/n,(c.y-h.y)/i]),g=[(c.x-h.x)/n,(c.y-h.y)/i],v=[(-c.x-h.x)/n,(-c.y-h.y)/i],B=Et(g,v);return Ct(g,v)<=-1&&(B=Math.PI),Ct(g,v)>=1&&(B=0),{currentPoint:u,rX:n,rY:i,sweepFlag:a,xAxisRotation:s,centp:p,a1:d,ad:B}}},{key:"pathZ",value:function(t){t.current=t.start}}]),n}(ue);function we(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var ye=function(t){e(H)(n,t);var r=we(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="svg",t.root=!1,t}return e(b)(n,[{key:"setContext",value:function(t){var r=this.document,i=r.screen,A=r.window,o=t.canvas;if(i.setDefaults(t),o.style&&void 0!==t.font&&A&&void 0!==A.getComputedStyle){t.font=A.getComputedStyle(o).getPropertyValue("font");var a=new Ht(r,"fontSize",oe.parse(t.font).fontSize);a.hasValue()&&(r.rootEmSize=a.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var s=i.viewPort,u=s.width,c=s.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var l=this.getAttribute("refX"),f=this.getAttribute("refY"),h=this.getAttribute("viewBox"),p=h.hasValue()?st(h.getString()):null,d=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),g=0,v=0,B=0,m=0;p&&(g=p[0],v=p[1]),this.root||(u=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y"),"marker"===this.type&&(B=g,m=v,g=0,v=0)),i.viewPort.setCurrent(u,c),this.node&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),e(K)(e(I)(n.prototype),"setContext",this).call(this,t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),p&&(u=p[2],c=p[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:u,height:i.viewPort.height,desiredHeight:c,minX:g,minY:v,refX:l.getValue(),refY:f.getValue(),clip:d,clipX:B,clipY:m}),p&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(u,c))}},{key:"clearContext",value:function(t){e(K)(e(I)(n.prototype),"clearContext",this).call(this,t),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=this.getAttribute("width",!0),o=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=A.getNumber(0),c=o.getNumber(0);if(i)if("string"==typeof i)this.getAttribute("preserveAspectRatio",!0).setValue(i);else{var l=this.getAttribute("preserveAspectRatio");l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}(A.setValue(t),o.setValue(n),a.hasValue())||a.setValue(e(x)(r="0 0 ".concat(u||t," ")).call(r,c||n));if(s.hasValue()){var f=this.getStyle("width"),h=this.getStyle("height");f.hasValue()&&f.setValue("".concat(t,"px")),h.hasValue()&&h.setValue("".concat(n,"px"))}}}]),n}(ue);function be(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var xe=function(t){e(H)(n,t);var r=be(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="rect",t}return e(b)(n,[{key:"path",value:function(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),A=this.getAttribute("rx"),o=this.getAttribute("ry"),a=A.getPixels("x"),s=o.getPixels("y");if(A.hasValue()&&!o.hasValue()&&(s=a),o.hasValue()&&!A.hasValue()&&(a=s),a=Math.min(a,n/2),s=Math.min(s,i/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&n>0&&(t.moveTo(e+a,r),t.lineTo(e+n-a,r),t.bezierCurveTo(e+n-a+u*a,r,e+n,r+s-u*s,e+n,r+s),t.lineTo(e+n,r+i-s),t.bezierCurveTo(e+n,r+i-s+u*s,e+n-a+u*a,r+i,e+n-a,r+i),t.lineTo(e+a,r+i),t.bezierCurveTo(e+a-u*a,r+i,e,r+i-s+u*s,e,r+i-s),t.lineTo(e,r+s),t.bezierCurveTo(e,r+s-u*s,e+a-u*a,r,e+a,r),t.closePath())}return new ae(e,r,e+n,r+i)}},{key:"getMarkers",value:function(){return null}}]),n}(me);function Ce(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ee=function(t){e(H)(n,t);var r=Ce(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="circle",t}return e(b)(n,[{key:"path",value:function(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return t&&n>0&&(t.beginPath(),t.arc(e,r,n,0,2*Math.PI,!1),t.closePath()),new ae(e-n,r-n,e+n,r+n)}},{key:"getMarkers",value:function(){return null}}]),n}(me);function Ne(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Fe=function(t){e(H)(n,t);var r=Ne(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="ellipse",t}return e(b)(n,[{key:"path",value:function(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),A=this.getAttribute("cy").getPixels("y");return t&&r>0&&n>0&&(t.beginPath(),t.moveTo(i+r,A),t.bezierCurveTo(i+r,A+e*n,i+e*r,A+n,i,A+n),t.bezierCurveTo(i-e*r,A+n,i-r,A+e*n,i-r,A),t.bezierCurveTo(i-r,A-e*n,i-e*r,A-n,i,A-n),t.bezierCurveTo(i+e*r,A-n,i+r,A-e*n,i+r,A),t.closePath()),new ae(i-r,A-n,i+r,A+n)}},{key:"getMarkers",value:function(){return null}}]),n}(me);function Qe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ue=function(t){e(H)(n,t);var r=Qe(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="line",t}return e(b)(n,[{key:"getPoints",value:function(){return[new It(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new It(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(t){var r=this.getPoints(),n=e(u)(r,2),i=n[0],A=i.x,o=i.y,a=n[1],s=a.x,c=a.y;return t&&(t.beginPath(),t.moveTo(A,o),t.lineTo(s,c)),new ae(A,o,s,c)}},{key:"getMarkers",value:function(){var t=this.getPoints(),r=e(u)(t,2),n=r[0],i=r[1],A=n.angleTo(i);return[[n,A],[i,A]]}}]),n}(me);function Se(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Le=function(t){e(H)(n,t);var r=Se(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="polyline",o.points=[],o.points=It.parsePath(o.getAttribute("points").getString()),o}return e(b)(n,[{key:"path",value:function(t){var r=this.points,n=e(u)(r,1)[0],i=n.x,A=n.y,o=new ae(i,A);return t&&(t.beginPath(),t.moveTo(i,A)),e(h)(r).call(r,(function(e){var r=e.x,n=e.y;o.addPoint(r,n),t&&t.lineTo(r,n)})),o}},{key:"getMarkers",value:function(){var t=this.points,r=t.length-1,n=[];return e(h)(t).call(t,(function(e,i){i!==r&&n.push([e,e.angleTo(t[i+1])])})),n.length>0&&n.push([t[t.length-1],n[n.length-1][1]]),n}}]),n}(me);function _e(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var He=function(t){e(H)(n,t);var r=_e(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="polygon",t}return e(b)(n,[{key:"path",value:function(t){var r=e(K)(e(I)(n.prototype),"path",this).call(this,t),i=e(u)(this.points,1)[0],A=i.x,o=i.y;return t&&(t.lineTo(A,o),t.closePath()),r}}]),n}(Le);function Te(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ie=function(t){e(H)(n,t);var r=Te(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="pattern",t}return e(b)(n,[{key:"createPattern",value:function(t,r,n){var i=this.getStyle("width").getPixels("x",!0),A=this.getStyle("height").getPixels("y",!0),o=new ye(this.document,null);o.attributes.viewBox=new Ht(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new Ht(this.document,"width","".concat(i,"px")),o.attributes.height=new Ht(this.document,"height","".concat(A,"px")),o.attributes.transform=new Ht(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var a=this.document.createCanvas(i,A),s=a.getContext("2d"),u=this.getAttribute("x"),c=this.getAttribute("y");u.hasValue()&&c.hasValue()&&s.translate(u.getPixels("x",!0),c.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:e(j)(this.styles,"fill-opacity");for(var l=-1;l<=1;l++)for(var f=-1;f<=1;f++)s.save(),o.attributes.x=new Ht(this.document,"x",l*a.width),o.attributes.y=new Ht(this.document,"y",f*a.height),o.render(s),s.restore();return t.createPattern(a,"repeat")}}]),n}(te);function Pe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Oe=function(t){e(H)(n,t);var r=Pe(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="marker",t}return e(b)(n,[{key:"render",value:function(t,e,r){if(e){var n=e.x,i=e.y,A=this.getAttribute("orient").getValue("auto"),o=this.getAttribute("markerUnits").getValue("strokeWidth");t.translate(n,i),"auto"===A&&t.rotate(r),"strokeWidth"===o&&t.scale(t.lineWidth,t.lineWidth),t.save();var a=new ye(this.document,null);a.type=this.type,a.attributes.viewBox=new Ht(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.refX=new Ht(this.document,"refX",this.getAttribute("refX").getValue()),a.attributes.refY=new Ht(this.document,"refY",this.getAttribute("refY").getValue()),a.attributes.width=new Ht(this.document,"width",this.getAttribute("markerWidth").getValue()),a.attributes.height=new Ht(this.document,"height",this.getAttribute("markerHeight").getValue()),a.attributes.overflow=new Ht(this.document,"overflow",this.getAttribute("overflow").getValue()),a.attributes.fill=new Ht(this.document,"fill",this.getAttribute("fill").getColor("black")),a.attributes.stroke=new Ht(this.document,"stroke",this.getAttribute("stroke").getValue("none")),a.children=this.children,a.render(t),t.restore(),"strokeWidth"===o&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===A&&t.rotate(-r),t.translate(-n,-i)}}}]),n}(te);function ke(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Re=function(t){e(H)(n,t);var r=ke(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="defs",t}return e(b)(n,[{key:"render",value:function(){}}]),n}(te);function Me(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var De=function(t){e(H)(n,t);var r=Me(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="g",t}return e(b)(n,[{key:"getBoundingBox",value:function(t){var r,n=new ae;return e(h)(r=this.children).call(r,(function(e){n.addBoundingBox(e.getBoundingBox(t))})),n}}]),n}(ue);function Ke(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var ze=function(t){e(H)(n,t);var r=Ke(n);function n(t,i,A){var o;e(y)(this,n),(o=r.call(this,t,i,A)).attributesToInherit=["gradientUnits"],o.stops=[];var a=e(q)(o),s=a.stops,u=a.children;return e(h)(u).call(u,(function(t){"stop"===t.type&&s.push(t)})),o}return e(b)(n,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(t,r,n){var i=this,A=this;this.getHrefAttribute().hasValue()&&(A=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(A));var o=A.stops,a=this.getGradient(t,r);if(!a)return this.addParentOpacity(n,o[o.length-1].color);if(e(h)(o).call(o,(function(t){a.addColorStop(t.offset,i.addParentOpacity(n,t.color))})),this.getAttribute("gradientTransform").hasValue()){var s=this.document,c=s.screen,l=c.MAX_VIRTUAL_PIXELS,f=c.viewPort,p=e(u)(f.viewPorts,1)[0],d=new xe(s,null);d.attributes.x=new Ht(s,"x",-l/3),d.attributes.y=new Ht(s,"y",-l/3),d.attributes.width=new Ht(s,"width",l),d.attributes.height=new Ht(s,"height",l);var g=new De(s,null);g.attributes.transform=new Ht(s,"transform",this.getAttribute("gradientTransform").getValue()),g.children=[d];var v=new ye(s,null);v.attributes.x=new Ht(s,"x",0),v.attributes.y=new Ht(s,"y",0),v.attributes.width=new Ht(s,"width",p.width),v.attributes.height=new Ht(s,"height",p.height),v.children=[g];var B=s.createCanvas(p.width,p.height),m=B.getContext("2d");return m.fillStyle=a,v.render(m),m.createPattern(B,"no-repeat")}return a}},{key:"inheritStopContainer",value:function(t){var r,n=this;e(h)(r=this.attributesToInherit).call(r,(function(e){!n.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&n.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())}))}},{key:"addParentOpacity",value:function(t,e){return t.hasValue()?new Ht(this.document,"color",e).addOpacity(t).getColor():e}}]),n}(te);function Ve(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var je=function(t){e(H)(n,t);var r=Ve(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="linearGradient",o.attributesToInherit.push("x1","y1","x2","y2"),o}return e(b)(n,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=r?e.getBoundingBox(t):null;if(r&&!n)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var i=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),A=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),o=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),a=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===o&&A===a?null:t.createLinearGradient(i,A,o,a)}}]),n}(ze);function qe(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Xe=function(t){e(H)(n,t);var r=qe(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="radialGradient",o.attributesToInherit.push("cx","cy","r","fx","fy","fr"),o}return e(b)(n,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=e.getBoundingBox(t);if(r&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var i=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),A=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),o=i,a=A;this.getAttribute("fx").hasValue()&&(o=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(a=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var s=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return t.createRadialGradient(o,a,u,i,A,s)}}]),n}(ze);function Ge(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Ye=function(t){e(H)(n,t);var r=Ge(n);function n(t,i,A){var o;e(y)(this,n),(o=r.call(this,t,i,A)).type="stop";var a=Math.max(0,Math.min(1,o.getAttribute("offset").getNumber())),s=o.getStyle("stop-opacity"),u=o.getStyle("stop-color",!0);return""===u.getString()&&u.setValue("#000"),s.hasValue()&&(u=u.addOpacity(s)),o.offset=a,o.color=u.getColor(),o}return n}(te);function We(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Je=function(t){e(H)(n,t);var r=We(n);function n(t,i,A){var o;return e(y)(this,n),(o=r.call(this,t,i,A)).type="animate",o.duration=0,o.initialValue=null,o.initialUnits="",o.removed=!1,o.frozen=!1,t.screen.animations.push(e(q)(o)),o.begin=o.getAttribute("begin").getMilliseconds(),o.maxDuration=o.begin+o.getAttribute("dur").getMilliseconds(),o.from=o.getAttribute("from"),o.to=o.getAttribute("to"),o.values=o.getAttribute("values"),e(X)(o).hasValue()&&e(X)(o).setValue(e(X)(o).getString().split(";")),o}return e(b)(n,[{key:"getProperty",value:function(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}},{key:"calcValue",value:function(){var t,r=this.initialUnits,n=this.getProgress(),i=n.progress,A=n.from,o=n.to,a=A.getNumber()+(o.getNumber()-A.getNumber())*i;return"%"===r&&(a*=100),e(x)(t="".concat(a)).call(t,r)}},{key:"update",value:function(t){var r=this.parent,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==i||this.frozen){if("remove"===i&&!this.removed)return this.removed=!0,n.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=n.getString();return!1}this.duration+=t;var A=!1;if(this.begin=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:A}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e(Y)(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function nr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&e(N)(o=e(R)(s)).call(o,(function(t){return 3===t.nodeType}));return a.hasText=c,a.text=c?a.getTextFromNode(u):"",a}return e(b)(n,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(t){if(this.hasText){e(K)(e(I)(n.prototype),"renderChildren",this).call(this,t);var r=this.document,i=this.x,A=this.y,o=r.screen.mouse,a=new Ht(r,"fontSize",oe.parse(r.ctx.font).fontSize);o.isWorking()&&o.checkBoundingBox(this,new ae(i,A-a.getPixels("y"),i+this.measureText(t),A))}else if(this.children.length>0){var s=new De(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}},{key:"onClick",value:function(){var t=this.document.window;t&&t.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),n}(le);function gr(t,r){var n;if(void 0===e(Z)||null==e(J)(t)){if(e(W)(t)||(n=function(t,r){var n;if(!t)return;if("string"==typeof t)return vr(t,r);var i=e($)(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return e(R)(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return vr(t,r)}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,A=function(){};return{s:A,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:A}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e(Y)(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function vr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rc?s:c,g=s>c?1:s/c,v=s>c?c/s:1;t&&(t.translate(o,a),t.rotate(h),t.scale(g,v),t.arc(0,0,d,l,l+f,Boolean(1-p)),t.scale(1/g,1/v),t.rotate(-h),t.translate(-o,-a));break;case ve.CLOSE_PATH:t&&t.closePath()}}))}},{key:"renderChildren",value:function(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),i=this.glyphInfo,A=t.fillStyle;"underline"===r&&t.beginPath(),e(h)(i).call(i,(function(e,i){var A=e.p0,o=e.p1,a=e.rotation,s=e.text;t.save(),t.translate(A.x,A.y),t.rotate(a),t.fillStyle&&t.fillText(s,0,0),t.strokeStyle&&t.strokeText(s,0,0),t.restore(),"underline"===r&&(0===i&&t.moveTo(A.x,A.y+n/8),t.lineTo(o.x,o.y+n/5))})),"underline"===r&&(t.lineWidth=n/20,t.strokeStyle=A,t.stroke(),t.closePath()),t.restore()}},{key:"getLetterSpacingAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}},{key:"findSegmentToFitChar",value:function(t,e,r,n,i,A,o,a,s){var u=A,c=this.measureText(t,a);" "===a&&"justify"===e&&r-1&&(u+=this.getLetterSpacingAt(s));var l=this.textHeight/20,f=this.getEquidistantPointOnPath(u,l,0),h=this.getEquidistantPointOnPath(u+c,l,0),p={p0:f,p1:h},d=f&&h?Math.atan2(h.y-f.y,h.x-f.x):0;if(o){var g=Math.cos(Math.PI/2+d)*o,v=Math.cos(-d)*o;p.p0=mr(mr({},f),{},{x:f.x+g,y:f.y+v}),p.p1=mr(mr({},h),{},{x:h.x+g,y:h.y+v})}return{offset:u+=c,segment:p,rotation:d}}},{key:"measureText",value:function(t,e){var r=this.measuresCache,n=e||this.getText();if(r.has(n))return r.get(n);var i=this.measureTargetText(t,n);return r.set(n,i),i}},{key:"setTextData",value:function(t){var r,n=this;if(!this.glyphInfo){var i=this.getText(),A=i.split(""),o=i.split(" ").length-1,a=e(s)(r=this.parent.getAttribute("dx").split()).call(r,(function(t){return t.getPixels("x")})),u=this.parent.getAttribute("dy").getPixels("y"),c=this.parent.getStyle("text-anchor").getString("start"),l=this.getStyle("letter-spacing"),f=this.parent.getStyle("letter-spacing"),p=0;l.hasValue()&&"inherit"!==l.getValue()?l.hasValue()&&"initial"!==l.getValue()&&"unset"!==l.getValue()&&(p=l.getPixels()):p=f.getPixels();var d=[],g=i.length;this.letterSpacingCache=d;for(var v=0;v0&&(s-=2*Math.PI),1===i&&s<0&&(s+=2*Math.PI),[o.x,o.y,r,n,a,s,A,i]}},{key:"calcLength",value:function(t,e,r,n){var i=0,A=null,o=null,a=0;switch(r){case ve.LINE_TO:return this.getLineLength(t,e,n[0],n[1]);case ve.CURVE_TO:for(i=0,A=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),a=.01;a<=1;a+=.01)o=this.getPointOnCubicBezier(a,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),i+=this.getLineLength(A.x,A.y,o.x,o.y),A=o;return i;case ve.QUAD_TO:for(i=0,A=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),a=.01;a<=1;a+=.01)o=this.getPointOnQuadraticBezier(a,t,e,n[0],n[1],n[2],n[3]),i+=this.getLineLength(A.x,A.y,o.x,o.y),A=o;return i;case ve.ARC:i=0;var s=n[4],u=n[5],c=n[4]+u,l=Math.PI/180;if(Math.abs(s-c)c;a-=l)o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],a,0),i+=this.getLineLength(A.x,A.y,o.x,o.y),A=o;else for(a=s+l;a5&&void 0!==arguments[5]?arguments[5]:e,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,a=(i-r)/(n-e+bt),s=Math.sqrt(t*t/(1+a*a));ne)return null;var i,A=gr(this.dataArray);try{for(A.s();!(i=A.n()).done;){var o=i.value;if(!o||!(o.pathLength<5e-5||r+o.pathLength+5e-5=0&&s>l)break;n=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],s,o.points[6]);break;case ve.CURVE_TO:(s=a/o.pathLength)>1&&(s=1),n=this.getPointOnCubicBezier(s,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case ve.QUAD_TO:(s=a/o.pathLength)>1&&(s=1),n=this.getPointOnQuadraticBezier(s,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3])}if(n)return n;break}r+=o.pathLength}}catch(t){A.e(t)}finally{A.f()}return null}},{key:"getLineLength",value:function(t,e,r,n){return Math.sqrt((r-t)*(r-t)+(n-e)*(n-e))}},{key:"getPathLength",value:function(){var t;-1===this.pathLength&&(this.pathLength=e(C)(t=this.dataArray).call(t,(function(t,e){return e.pathLength>0?t+e.pathLength:t}),0));return this.pathLength}},{key:"getPointOnCubicBezier",value:function(t,e,r,n,i,A,o,a,s){return{x:a*Nt(t)+A*Ft(t)+n*Qt(t)+e*Ut(t),y:s*Nt(t)+o*Ft(t)+i*Qt(t)+r*Ut(t)}}},{key:"getPointOnQuadraticBezier",value:function(t,e,r,n,i,A,o){return{x:A*St(t)+n*Lt(t)+e*_t(t),y:o*St(t)+i*Lt(t)+r*_t(t)}}},{key:"getPointOnEllipticalArc",value:function(t,e,r,n,i,A){var o=Math.cos(A),a=Math.sin(A),s=r*Math.cos(i),u=n*Math.sin(i);return{x:t+(s*o-u*a),y:e+(s*a+u*o)}}},{key:"buildEquidistantCache",value:function(t,e){var r=this.getPathLength(),n=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==n){this.equidistantCache={step:i,precision:n,points:[]};for(var A=0,o=0;o<=r;o+=n){var a=this.getPointOnPath(o),s=this.getPointOnPath(o+n);a&&s&&((A+=this.getLineLength(a.x,a.y,s.x,s.y))>=i&&(this.equidistantCache.points.push({x:a.x,y:a.y,distance:o}),A-=i))}}}},{key:"getEquidistantPointOnPath",value:function(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}]),n}(le);function br(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var xr=function(t){e(H)(A,t);var r,n,i=br(A);function A(t,r,n){var o;e(y)(this,A),(o=i.call(this,t,r,n)).type="image",o.loaded=!1;var a=o.getHrefAttribute().getString();if(!a)return e(T)(o);var s=/\.svg$/.test(a);return t.images.push(e(q)(o)),s?o.loadSvg(a):o.loadImage(a),o.isSvg=s,o}return e(b)(A,[{key:"loadImage",value:(n=e(m)(e(B).mark((function t(r){var n;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.createImage(r);case 3:n=t.sent,this.image=n,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error('Error while loading image "'.concat(r,'":'),t.t0);case 10:this.loaded=!0;case 11:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(t){return n.apply(this,arguments)})},{key:"loadSvg",value:(r=e(m)(e(B).mark((function t(r){var n,i;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.fetch(r);case 3:return n=t.sent,t.next=6,n.text();case 6:i=t.sent,this.image=i,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),console.error('Error while loading image "'.concat(r,'":'),t.t0);case 13:this.loaded=!0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return r.apply(this,arguments)})},{key:"renderChildren",value:function(t){var e=this.document,r=this.image,n=this.loaded,i=this.getAttribute("x").getPixels("x"),A=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(n&&r&&o&&a){if(t.save(),this.isSvg)e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:i,offsetY:A,scaleWidth:o,scaleHeight:a}).render();else{var s=this.image;t.translate(i,A),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o,desiredWidth:s.width,height:a,desiredHeight:s.height}),this.loaded&&(void 0===s.complete||s.complete)&&t.drawImage(s,0,0)}t.restore()}}},{key:"getBoundingBox",value:function(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new ae(t,e,t+r,e+n)}}]),A}(ue);function Cr(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Er=function(t){e(H)(n,t);var r=Cr(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="symbol",t}return e(b)(n,[{key:"render",value:function(t){}}]),n}(ue),Nr=function(){function t(r){e(y)(this,t),this.document=r,this.loaded=!1,r.fonts.push(this)}var r;return e(b)(t,[{key:"load",value:(r=e(m)(e(B).mark((function t(r,n){var i,A,o,a;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,A=this.document,t.next=4,A.canvg.parser.load(n);case 4:o=t.sent,a=o.getElementsByTagName("font"),e(h)(i=e(R)(a)).call(i,(function(t){var e=A.createElement(t);A.definitions[r]=e})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.error('Error while loading font "'.concat(n,'":'),t.t0);case 12:this.loaded=!0;case 13:case"end":return t.stop()}}),t,this,[[0,9]])}))),function(t,e){return r.apply(this,arguments)})}]),t}();function Fr(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}var Qr=function(t){e(H)(n,t);var r=Fr(n);function n(t,i,A){var o,a;e(y)(this,n),(a=r.call(this,t,i,A)).type="style";var u=At(e(s)(o=e(R)(i.childNodes)).call(o,(function(t){return t.data})).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}");return e(h)(u).call(u,(function(r){var n=e(S)(r).call(r);if(n){var i=n.split("{"),A=i[0].split(","),o=i[1].split(";");e(h)(A).call(A,(function(r){var n=e(S)(r).call(r);if(n){var i=t.styles[n]||{};if(e(h)(o).call(o,(function(r){var n,A,o=e(D)(r).call(r,":"),a=e(S)(n=r.substr(0,o)).call(n),s=e(S)(A=r.substr(o+1,r.length-o)).call(A);a&&s&&(i[a]=new Ht(t,a,s))})),t.styles[n]=i,t.stylesSpecificity[n]=yt(n),"@font-face"===n){var A=i["font-family"].getString().replace(/"|'/g,""),a=i.src.getString().split(",");e(h)(a).call(a,(function(r){if(e(D)(r).call(r,'format("svg")')>0){var n=lt(r);n&&new Nr(t).load(A,n)}}))}}}))}})),a}return n}(te);function Ur(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}Qr.parseExternalUrl=lt;var Sr=function(t){e(H)(n,t);var r=Ur(n);function n(){var t;return e(y)(this,n),(t=r.apply(this,arguments)).type="use",t}return e(b)(n,[{key:"setContext",value:function(t){e(K)(e(I)(n.prototype),"setContext",this).call(this,t);var r=this.getAttribute("x"),i=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),i.hasValue()&&t.translate(0,i.getPixels("y"))}},{key:"path",value:function(t){var e=this.element;e&&e.path(t)}},{key:"renderChildren",value:function(t){var e=this.document,r=this.element;if(r){var n=r;if("symbol"===r.type&&((n=new ye(e,null)).attributes.viewBox=new Ht(e,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new Ht(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new Ht(e,"overflow",r.getAttribute("overflow").getString()),n.children=r.children,r.styles.opacity=new Ht(e,"opacity",this.calculateOpacity())),"svg"===n.type){var i=this.getStyle("width",!1,!0),A=this.getStyle("height",!1,!0);i.hasValue()&&(n.attributes.width=new Ht(e,"width",i.getString())),A.hasValue()&&(n.attributes.height=new Ht(e,"height",A.getString()))}var o=n.parent;n.parent=this,n.render(t),n.parent=o}}},{key:"getBoundingBox",value:function(t){var e=this.element;return e?e.getBoundingBox(t):null}},{key:"elementTransform",value:function(){var t=this.document,e=this.element;return $t.fromElement(t,e)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),n}(ue);function Lr(t){var r=function(){if("undefined"==typeof Reflect||!e(_))return!1;if(e(_).sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(e(_)(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=e(I)(t);if(r){var A=e(I)(this).constructor;n=e(_)(i,arguments,A)}else n=i.apply(this,arguments);return e(T)(this,n)}}function _r(t,e,r,n,i,A){return t[r*n*4+4*e+A]}function Hr(t,e,r,n,i,A,o){t[r*n*4+4*e+A]=o}function Tr(t,e,r){return t[e]*r}function Ir(t,e,r,n){return e+Math.cos(t)*r+Math.sin(t)*n}var Pr=function(t){e(H)(n,t);var r=Lr(n);function n(t,i,A){var o;e(y)(this,n),(o=r.call(this,t,i,A)).type="feColorMatrix";var a=st(o.getAttribute("values").getString());switch(o.getAttribute("type").getString("matrix")){case"saturate":var s=a[0];a=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var u=a[0]*Math.PI/180;a=[Ir(u,.213,.787,-.213),Ir(u,.715,-.715,-.715),Ir(u,.072,-.072,.928),0,0,Ir(u,.213,-.213,.143),Ir(u,.715,.285,.14),Ir(u,.072,-.072,-.283),0,0,Ir(u,.213,-.213,-.787),Ir(u,.715,-.715,.715),Ir(u,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return o.matrix=a,o.includeOpacity=o.getAttribute("includeOpacity").hasValue(),o}return e(b)(n,[{key:"apply",value:function(t,e,r,n,i){for(var A=this.includeOpacity,o=this.matrix,a=t.getImageData(0,0,n,i),s=0;s1&&void 0!==A[1]&&A[1],i=document.createElement("img"),n&&(i.crossOrigin="Anonymous"),t.abrupt("return",new(e(F))((function(t,e){i.onload=function(){t(i)},i.onerror=function(){e()},i.src=r})));case 4:case"end":return t.stop()}}),t)}))),An.apply(this,arguments)}var on=function(){function t(r){var n,i,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=A.rootEmSize,a=void 0===o?12:o,s=A.emSize,u=void 0===s?12:s,c=A.createCanvas,l=void 0===c?t.createCanvas:c,f=A.createImage,h=void 0===f?t.createImage:f,p=A.anonymousCrossOrigin;e(y)(this,t),this.canvg=r,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=r.screen,this.rootEmSize=a,this.emSize=u,this.createCanvas=l,this.createImage=this.bindCreateImage(h,p),this.screen.wait(e(Q)(n=this.isImagesLoaded).call(n,this)),this.screen.wait(e(Q)(i=this.isFontsLoaded).call(i,this))}return e(b)(t,[{key:"bindCreateImage",value:function(t,e){return"boolean"==typeof e?function(r,n){return t(r,"boolean"==typeof n?n:e)}:t}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){var t;return e(N)(t=this.images).call(t,(function(t){return t.loaded}))}},{key:"isFontsLoaded",value:function(){var t;return e(N)(t=this.fonts).call(t,(function(t){return t.loaded}))}},{key:"createDocumentElement",value:function(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}},{key:"createElement",value:function(e){var r=e.nodeName.replace(/^[^:]+:/,""),n=t.elementTypes[r];return void 0!==n?new n(this,e):new re(this,e)}},{key:"createTextNode",value:function(t){return new de(this,t)}},{key:"setViewBox",value:function(t){this.screen.setViewBox(function(t){for(var r=1;r2&&void 0!==arguments[2]?arguments[2]:{};e(y)(this,t),this.parser=new Kt(i),this.screen=new Rt(r,i),this.options=i;var A=new on(this,i),o=A.createDocumentElement(n);this.document=A,this.documentElement=o}var r,n;return e(b)(t,[{key:"fork",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.from(e,r,sn(sn({},this.options),n))}},{key:"forkString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.fromString(e,r,sn(sn({},this.options),n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(n=e(m)(e(B).mark((function t(){var r,n=arguments;return e(B).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.length>0&&void 0!==n[0]?n[0]:{},this.start(sn({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),t.next=4,this.ready();case 4:this.stop();case 5:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"start",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.documentElement,r=this.screen,n=this.options;r.start(e,sn(sn({enableRedraw:!0},n),t))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}],[{key:"from",value:(r=e(m)(e(B).mark((function r(n,i){var A,o,a,s=arguments;return e(B).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=new Kt(A=s.length>2&&void 0!==s[2]?s[2]:{}),e.next=4,o.parse(i);case 4:return a=e.sent,e.abrupt("return",new t(n,a,A));case 6:case"end":return e.stop()}}),r)}))),function(t,e){return r.apply(this,arguments)})},{key:"fromString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new t(e,new Kt(n).parseFromString(r),n)}}]),t}();var cn=Object.freeze({__proto__:null,offscreen:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).DOMParser,r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:function(t,e){return new OffscreenCanvas(t,e)},createImage:function(t){return e(m)(e(B).mark((function r(){var n,i,A;return e(B).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return n=e.sent,e.next=5,n.blob();case 5:return i=e.sent,e.next=8,createImageBitmap(i);case 8:return A=e.sent,e.abrupt("return",A);case 10:case"end":return e.stop()}}),r)})))()}};return"undefined"==typeof DOMParser&&void 0!==t||e(j)(r,"DOMParser"),r},node:function(t){var e=t.DOMParser,r=t.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t.fetch,createCanvas:r.createCanvas,createImage:r.loadImage}}}),ln=un})),A.register("5Mdy0",(function(t,e){t.exports=A("ivvIs")})),A.register("ivvIs",(function(t,e){var r=A("hIqeb");t.exports=r})),A.register("hIqeb",(function(t,e){var r=A("fgnyu"),n=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===n||t instanceof String&&e===n.startsWith?r:e}})),A.register("fgnyu",(function(t,e){A("amd3S");var r=A("bezVR");t.exports=r("String").startsWith})),A.register("amd3S",(function(t,e){var r,n=A("5E5EZ"),i=A("1mcgb").f,o=A("546Iu"),a=A("2WIIU"),s=A("9lvmS"),u=A("hfCas"),c=A("jm6dF"),l="".startsWith,f=Math.min,h=u("startsWith");n({target:"String",proto:!0,forced:!!(c||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(t){var e=String(s(this));a(t);var r=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return l?l.call(e,n,r):e.slice(r,r+n.length)===n}})})),A.register("5E5EZ",(function(t,e){var r=A("g15Pq"),n=A("1mcgb").f,i=A("4e8fn"),o=A("abEBJ"),a=A("7FPY6"),s=A("iFiw0"),u=A("pm7fe"),c=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var A,l,f,h,p,d,g,v,B=t.target,m=t.global,w=t.stat,y=t.proto,b=m?r:w?r[B]:(r[B]||{}).prototype,x=m?o:o[B]||(o[B]={}),C=x.prototype;for(f in e)A=!i(m?f:B+(w?".":"#")+f,t.forced)&&b&&u(b,f),p=x[f],A&&(d=t.noTargetGet?(v=n(b,f))&&v.value:b[f]),h=A&&d?d:e[f],A&&typeof p==typeof h||(g=t.bind&&A?a(h,r):t.wrap&&A?c(h):y&&"function"==typeof h?a(Function.call,h):h,(t.sham||h&&h.sham||p&&p.sham)&&s(g,"sham",!0),x[f]=g,y&&(u(o,l=B+"Prototype")||s(o,l,{}),o[l][f]=h,t.real&&C&&!C[f]&&s(C,f,h)))}})),A.register("g15Pq",(function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()})),A.register("1mcgb",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("6ZmCU"),o=A("hZFDc"),a=A("5Fejq"),s=A("2HMxh"),u=A("e9AQR"),c=A("pm7fe"),l=A("LXvNU"),f=Object.getOwnPropertyDescriptor;n=i?f:function(t,e){if(t=s(t),e=u(e,!0),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!o.f.call(t,e),t[e])}})),A.register("6ZmCU",(function(t,e){var r=A("90DaF");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),A.register("90DaF",(function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}})),A.register("hZFDc",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,o=A&&!i.call({1:2},1);n=o?function(t){var e=A(this,t);return!!e&&e.enumerable}:i})),A.register("5Fejq",(function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}})),A.register("2HMxh",(function(t,e){var r=A("gsSJB"),n=A("9lvmS");t.exports=function(t){return r(n(t))}})),A.register("gsSJB",(function(t,e){var r=A("90DaF"),n=A("caIrN"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==n(t)?i.call(t,""):Object(t)}:Object})),A.register("caIrN",(function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}})),A.register("9lvmS",(function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}})),A.register("e9AQR",(function(t,e){var r=A("amYFr");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}})),A.register("amYFr",(function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}})),A.register("pm7fe",(function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}})),A.register("LXvNU",(function(t,e){var r=A("6ZmCU"),n=A("90DaF"),i=A("1NDmk");t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),A.register("1NDmk",(function(t,e){var r=A("g15Pq"),n=A("amYFr"),i=r.document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}})),A.register("4e8fn",(function(t,e){var r=A("90DaF"),n=/#|\.prototype\./,i=function(t,e){var n=a[o(t)];return n==u||n!=s&&("function"==typeof e?r(e):!!e)},o=i.normalize=function(t){return String(t).replace(n,".").toLowerCase()},a=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i})),A.register("abEBJ",(function(t,e){t.exports={}})),A.register("7FPY6",(function(t,e){var r=A("6c5hE");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}})),A.register("6c5hE",(function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}})),A.register("iFiw0",(function(t,e){var r=A("6ZmCU"),n=A("bIq6Y"),i=A("5Fejq");t.exports=r?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}})),A.register("bIq6Y",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("6ZmCU"),o=A("LXvNU"),a=A("kxeYw"),s=A("e9AQR"),u=Object.defineProperty;n=i?u:function(t,e,r){if(a(t),e=s(e,!0),a(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}})),A.register("kxeYw",(function(t,e){var r=A("amYFr");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}})),A.register("546Iu",(function(t,e){var r=A("bfd6I"),n=Math.min;t.exports=function(t){return t>0?n(r(t),9007199254740991):0}})),A.register("bfd6I",(function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}})),A.register("2WIIU",(function(t,e){var r=A("gtydG");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}})),A.register("gtydG",(function(t,e){var r=A("amYFr"),n=A("caIrN"),i=A("8HKE7")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==n(t))}})),A.register("8HKE7",(function(t,e){var r=A("g15Pq"),n=A("by0ie"),i=A("pm7fe"),o=A("iS7Li"),a=A("kCq46"),s=A("4J0Fi"),u=n("wks"),c=r.Symbol,l=s?c:c&&c.withoutSetter||o;t.exports=function(t){return i(u,t)&&(a||"string"==typeof u[t])||(a&&i(c,t)?u[t]=c[t]:u[t]=l("Symbol."+t)),u[t]}})),A.register("by0ie",(function(t,e){var r=A("jm6dF"),n=A("dAmkh");(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),A.register("jm6dF",(function(t,e){t.exports=!0})),A.register("dAmkh",(function(t,e){var r=A("g15Pq"),n=A("dKvbg"),i="__core-js_shared__",o=r[i]||n(i,{});t.exports=o})),A.register("dKvbg",(function(t,e){var r=A("g15Pq"),n=A("iFiw0");t.exports=function(t,e){try{n(r,t,e)}catch(n){r[t]=e}return e}})),A.register("iS7Li",(function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}})),A.register("kCq46",(function(t,e){var r=A("4tvDR"),n=A("6TQfB"),i=A("90DaF");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===n:n>37&&n<41)}))})),A.register("4tvDR",(function(t,e){var r=A("caIrN"),n=A("g15Pq");t.exports="process"==r(n.process)})),A.register("6TQfB",(function(t,e){var r,n,i=A("g15Pq"),o=A("2W5qT"),a=i.process,s=a&&a.versions,u=s&&s.v8;u?n=(r=u.split("."))[0]+r[1]:o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=r[1]),t.exports=n&&+n})),A.register("2W5qT",(function(t,e){var r=A("7ESPI");t.exports=r("navigator","userAgent")||""})),A.register("7ESPI",(function(t,e){var r=A("abEBJ"),n=A("g15Pq"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(n[t]):r[t]&&r[t][e]||n[t]&&n[t][e]}})),A.register("4J0Fi",(function(t,e){var r=A("kCq46");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A.register("hfCas",(function(t,e){var r=A("8HKE7")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}})),A.register("bezVR",(function(t,e){var r=A("abEBJ");t.exports=function(t){return r[t+"Prototype"]}})),A.register("3v1ep",(function(t,e){t.exports=A("a2rnT")})),A.register("a2rnT",(function(t,e){var r=A("88rFq");t.exports=r})),A.register("88rFq",(function(t,e){A("5oZFW");var r=A("abEBJ");t.exports=r.parseFloat})),A.register("5oZFW",(function(t,e){var r=A("5E5EZ"),n=A("lyyGT");r({global:!0,forced:parseFloat!=n},{parseFloat:n})})),A.register("lyyGT",(function(t,e){var r=A("g15Pq"),n=A("coTIF").trim,i=A("byEO9"),o=r.parseFloat,a=1/o(i+"-0")!=-1/0;t.exports=a?function(t){var e=n(String(t)),r=o(e);return 0===r&&"-"==e.charAt(0)?-0:r}:o})),A.register("coTIF",(function(t,e){var r=A("9lvmS"),n="["+A("byEO9")+"]",i=RegExp("^"+n+n+"*"),o=RegExp(n+n+"*$"),a=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(o,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}})),A.register("byEO9",(function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"})),A.register("cOKAk",(function(t,e){t.exports=A("5nczN")})),A.register("5nczN",(function(t,e){var r=A("kSB6K");t.exports=r})),A.register("kSB6K",(function(t,e){var r=A("6xaeI"),n=Array.prototype;t.exports=function(t){var e=t.map;return t===n||t instanceof Array&&e===n.map?r:e}})),A.register("6xaeI",(function(t,e){A("9OqfH");var r=A("bezVR");t.exports=r("Array").map})),A.register("9OqfH",(function(t,e){var r=A("5E5EZ"),n=A("bdDLZ").map;r({target:"Array",proto:!0,forced:!A("isfk4")("map")},{map:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("bdDLZ",(function(t,e){var r=A("7FPY6"),n=A("gsSJB"),i=A("b8DNw"),o=A("546Iu"),a=A("2jdnl"),s=[].push,u=function(t){var e=1==t,A=2==t,u=3==t,c=4==t,l=6==t,f=7==t,h=5==t||l;return function(p,d,g,v){for(var B,m,w=i(p),y=n(w),b=r(d,g,3),x=o(y.length),C=0,E=v||a,N=e?E(p,x):A||f?E(p,0):void 0;x>C;C++)if((h||C in y)&&(m=b(B=y[C],C,w),t))if(e)N[C]=m;else if(m)switch(t){case 3:return!0;case 5:return B;case 6:return C;case 2:s.call(N,B)}else switch(t){case 4:return!1;case 7:s.call(N,B)}return l?-1:u||c?c:N}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}})),A.register("b8DNw",(function(t,e){var r=A("9lvmS");t.exports=function(t){return Object(r(t))}})),A.register("2jdnl",(function(t,e){var r=A("amYFr"),n=A("iIQ8F"),i=A("8HKE7")("species");t.exports=function(t,e){var A;return n(t)&&("function"!=typeof(A=t.constructor)||A!==Array&&!n(A.prototype)?r(A)&&null===(A=A[i])&&(A=void 0):A=void 0),new(void 0===A?Array:A)(0===e?0:e)}})),A.register("iIQ8F",(function(t,e){var r=A("caIrN");t.exports=Array.isArray||function(t){return"Array"==r(t)}})),A.register("isfk4",(function(t,e){var r=A("90DaF"),n=A("8HKE7"),i=A("6TQfB"),o=n("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}})),A.register("l5i8k",(function(t,e){var r=A("ctNB8"),n=A("lMWAG"),i=A("2hztN"),o=A("8nWt0");t.exports=function(t,e){return r(t)||n(t,e)||i(t,e)||o()},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("ctNB8",(function(t,e){var r=A("lhyu8");t.exports=function(t){if(r(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("lhyu8",(function(t,e){t.exports=A("6YLx9")})),A.register("6YLx9",(function(t,e){var r=A("6ry8X");t.exports=r})),A.register("6ry8X",(function(t,e){A("EjfXm");var r=A("abEBJ");t.exports=r.Array.isArray})),A.register("EjfXm",(function(t,e){A("5E5EZ")({target:"Array",stat:!0},{isArray:A("iIQ8F")})})),A.register("lMWAG",(function(t,e){var r=A("kcmfF"),n=A("hkqSx"),i=A("ceOPG");t.exports=function(t,e){if(void 0!==r&&n(Object(t))){var A=[],o=!0,a=!1,s=void 0;try{for(var u,c=i(t);!(o=(u=c.next()).done)&&(A.push(u.value),!e||A.length!==e);o=!0);}catch(t){a=!0,s=t}finally{try{o||null==c.return||c.return()}finally{if(a)throw s}}return A}},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("kcmfF",(function(t,e){t.exports=A("iV6PJ")})),A.register("iV6PJ",(function(t,e){var r=A("6NW2f");A("lO3V9"),A("c1PMh"),A("gJKgV"),A("04ygj"),A("cdDuV"),t.exports=r})),A.register("6NW2f",(function(t,e){A("922UG"),A("4XLZd"),A("RWepQ"),A("kuLXn"),A("g6kbR"),A("inZ1E"),A("9FnBD"),A("kz6oF"),A("bOqf7"),A("clffp"),A("lgoLn"),A("jRNVi"),A("lkKq5"),A("km0K3"),A("lklLN"),A("6x9hD"),A("jMQSh"),A("qYir8"),A("eVc3O"),A("j91Ql");var r=A("abEBJ");t.exports=r.Symbol})),A.register("922UG",(function(t,e){var r=A("5E5EZ"),n=A("90DaF"),i=A("iIQ8F"),o=A("amYFr"),a=A("b8DNw"),s=A("546Iu"),u=A("lXh91"),c=A("2jdnl"),l=A("isfk4"),f=A("8HKE7"),h=A("6TQfB"),p=f("isConcatSpreadable"),d=9007199254740991,g="Maximum allowed index exceeded",v=h>=51||!n((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),B=l("concat"),m=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!v||!B},{concat:function(t){var e,r,n,i,A,o=a(this),l=c(o,0),f=0;for(e=-1,n=arguments.length;ed)throw TypeError(g);for(r=0;r=d)throw TypeError(g);u(l,f++,A)}return l.length=f,l}})})),A.register("lXh91",(function(t,e){var r=A("e9AQR"),n=A("bIq6Y"),i=A("5Fejq");t.exports=function(t,e,A){var o=r(e);o in t?n.f(t,o,i(0,A)):t[o]=A}})),A.register("4XLZd",(function(t,e){})),A.register("RWepQ",(function(t,e){var r=A("5E5EZ"),n=A("g15Pq"),i=A("7ESPI"),o=A("jm6dF"),a=A("6ZmCU"),s=A("kCq46"),u=A("4J0Fi"),c=A("90DaF"),l=A("pm7fe"),f=A("iIQ8F"),h=A("amYFr"),p=A("kxeYw"),d=A("b8DNw"),g=A("2HMxh"),v=A("e9AQR"),B=A("5Fejq"),m=A("2LSuG"),w=A("1nXBL"),y=A("fbriE"),b=A("bsE2k"),x=A("cxr6h"),C=A("1mcgb"),E=A("bIq6Y"),N=A("hZFDc"),F=A("iFiw0"),Q=A("NuvhF"),U=A("by0ie"),S=A("3zIuM"),L=A("4ajNl"),_=A("iS7Li"),H=A("8HKE7"),T=A("4Z5Zl"),I=A("7zUNj"),P=A("6gAMl"),O=A("1mkHK"),k=A("bdDLZ").forEach,R=S("hidden"),M="Symbol",D="prototype",K=H("toPrimitive"),z=O.set,V=O.getterFor(M),j=Object[D],q=n.Symbol,X=i("JSON","stringify"),G=C.f,Y=E.f,W=b.f,J=N.f,Z=U("symbols"),$=U("op-symbols"),tt=U("string-to-symbol-registry"),et=U("symbol-to-string-registry"),rt=U("wks"),nt=n.QObject,it=!nt||!nt[D]||!nt[D].findChild,At=a&&c((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(j,e);n&&delete j[e],Y(t,e,r),n&&t!==j&&Y(j,e,n)}:Y,ot=function(t,e){var r=Z[t]=m(q[D]);return z(r,{type:M,tag:t,description:e}),a||(r.description=e),r},at=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},st=function(t,e,r){t===j&&st($,e,r),p(t);var n=v(e,!0);return p(r),l(Z,n)?(r.enumerable?(l(t,R)&&t[R][n]&&(t[R][n]=!1),r=m(r,{enumerable:B(0,!1)})):(l(t,R)||Y(t,R,B(1,{})),t[R][n]=!0),At(t,n,r)):Y(t,n,r)},ut=function(t,e){p(t);var r=g(e),n=w(r).concat(ht(r));return k(n,(function(e){a&&!ct.call(r,e)||st(t,e,r[e])})),t},ct=function(t){var e=v(t,!0),r=J.call(this,e);return!(this===j&&l(Z,e)&&!l($,e))&&(!(r||!l(this,e)||!l(Z,e)||l(this,R)&&this[R][e])||r)},lt=function(t,e){var r=g(t),n=v(e,!0);if(r!==j||!l(Z,n)||l($,n)){var i=G(r,n);return!i||!l(Z,n)||l(r,R)&&r[R][n]||(i.enumerable=!0),i}},ft=function(t){var e=W(g(t)),r=[];return k(e,(function(t){l(Z,t)||l(L,t)||r.push(t)})),r},ht=function(t){var e=t===j,r=W(e?$:g(t)),n=[];return k(r,(function(t){!l(Z,t)||e&&!l(j,t)||n.push(Z[t])})),n};(s||(q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=_(t),r=function(t){this===j&&r.call($,t),l(this,R)&&l(this[R],e)&&(this[R][e]=!1),At(this,e,B(1,t))};return a&&it&&At(j,e,{configurable:!0,set:r}),ot(e,t)},Q(q[D],"toString",(function(){return V(this).tag})),Q(q,"withoutSetter",(function(t){return ot(_(t),t)})),N.f=ct,E.f=st,C.f=lt,y.f=b.f=ft,x.f=ht,T.f=function(t){return ot(H(t),t)},a&&(Y(q[D],"description",{configurable:!0,get:function(){return V(this).description}}),o||Q(j,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:q}),k(w(rt),(function(t){I(t)})),r({target:M,stat:!0,forced:!s},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var r=q(e);return tt[e]=r,et[r]=e,r},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!a},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:lt}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ft,getOwnPropertySymbols:ht}),r({target:"Object",stat:!0,forced:c((function(){x.f(1)}))},{getOwnPropertySymbols:function(t){return x.f(d(t))}}),X)&&r({target:"JSON",stat:!0,forced:!s||c((function(){var t=q();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],A=1;arguments.length>A;)i.push(arguments[A++]);if(n=e,(h(e)||void 0!==t)&&!at(t))return f(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!at(e))return e}),i[1]=e,X.apply(null,i)}});q[D][K]||F(q[D],K,q[D].valueOf),P(q,M),L[R]=!0})),A.register("2LSuG",(function(t,e){var r,n=A("kxeYw"),i=A("eBS8V"),o=A("lBORg"),a=A("4ajNl"),s=A("fBj4F"),u=A("1NDmk"),c=A("3zIuM"),l="prototype",f="script",h=c("IE_PROTO"),p=function(){},d=function(t){return"<"+f+">"+t+""},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,n;g=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):(e=u("iframe"),n="java"+f+":",e.style.display="none",s.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var i=o.length;i--;)delete g[l][o[i]];return g()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p[l]=n(t),r=new p,p[l]=null,r[h]=t):r=g(),void 0===e?r:i(r,e)}})),A.register("eBS8V",(function(t,e){var r=A("6ZmCU"),n=A("bIq6Y"),i=A("kxeYw"),o=A("1nXBL");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var r,A=o(e),a=A.length,s=0;a>s;)n.f(t,r=A[s++],e[r]);return t}})),A.register("1nXBL",(function(t,e){var r=A("asdKq"),n=A("lBORg");t.exports=Object.keys||function(t){return r(t,n)}})),A.register("asdKq",(function(t,e){var r=A("pm7fe"),n=A("2HMxh"),i=A("6d9zy").indexOf,o=A("4ajNl");t.exports=function(t,e){var A,a=n(t),s=0,u=[];for(A in a)!r(o,A)&&r(a,A)&&u.push(A);for(;e.length>s;)r(a,A=e[s++])&&(~i(u,A)||u.push(A));return u}})),A.register("6d9zy",(function(t,e){var r=A("2HMxh"),n=A("546Iu"),i=A("1h3gn"),o=function(t){return function(e,A,o){var a,s=r(e),u=n(s.length),c=i(o,u);if(t&&A!=A){for(;u>c;)if((a=s[c++])!=a)return!0}else for(;u>c;c++)if((t||c in s)&&s[c]===A)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),A.register("1h3gn",(function(t,e){var r=A("bfd6I"),n=Math.max,i=Math.min;t.exports=function(t,e){var A=r(t);return A<0?n(A+e,0):i(A,e)}})),A.register("4ajNl",(function(t,e){t.exports={}})),A.register("lBORg",(function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),A.register("fBj4F",(function(t,e){var r=A("7ESPI");t.exports=r("document","documentElement")})),A.register("3zIuM",(function(t,e){var r=A("by0ie"),n=A("iS7Li"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=n(t))}})),A.register("fbriE",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("asdKq"),o=A("lBORg").concat("length","prototype");n=Object.getOwnPropertyNames||function(t){return i(t,o)}})),A.register("bsE2k",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("2HMxh"),o=A("fbriE").f,a={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n=function(t){return s&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return s.slice()}}(t):o(i(t))}})),A.register("cxr6h",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t)),n=Object.getOwnPropertySymbols})),A.register("NuvhF",(function(t,e){var r=A("iFiw0");t.exports=function(t,e,n,i){i&&i.enumerable?t[e]=n:r(t,e,n)}})),A.register("4Z5Zl",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("8HKE7");n=i})),A.register("7zUNj",(function(t,e){var r=A("abEBJ"),n=A("pm7fe"),i=A("4Z5Zl"),o=A("bIq6Y").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});n(e,t)||o(e,t,{value:i.f(t)})}})),A.register("6gAMl",(function(t,e){var r=A("iDRge"),n=A("bIq6Y").f,i=A("iFiw0"),o=A("pm7fe"),a=A("1mS17"),s=A("8HKE7")("toStringTag");t.exports=function(t,e,A,u){if(t){var c=A?t:t.prototype;o(c,s)||n(c,s,{configurable:!0,value:e}),u&&!r&&i(c,"toString",a)}}})),A.register("iDRge",(function(t,e){var r={};r[A("8HKE7")("toStringTag")]="z",t.exports="[object z]"===String(r)})),A.register("1mS17",(function(t,e){var r=A("iDRge"),n=A("fpBYl");t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}})),A.register("fpBYl",(function(t,e){var r=A("iDRge"),n=A("caIrN"),i=A("8HKE7")("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=r?n:function(t){var e,r,A;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:o?n(e):"Object"==(A=n(e))&&"function"==typeof e.callee?"Arguments":A}})),A.register("1mkHK",(function(t,e){var r,n,i,o=A("hacw5"),a=A("g15Pq"),s=A("amYFr"),u=A("iFiw0"),c=A("pm7fe"),l=A("dAmkh"),f=A("3zIuM"),h=A("4ajNl"),p=a.WeakMap;if(o){var d=l.state||(l.state=new p),g=d.get,v=d.has,B=d.set;r=function(t,e){return e.facade=t,B.call(d,t,e),e},n=function(t){return g.call(d,t)||{}},i=function(t){return v.call(d,t)}}else{var m=f("state");h[m]=!0,r=function(t,e){return e.facade=t,u(t,m,e),e},n=function(t){return c(t,m)?t[m]:{}},i=function(t){return c(t,m)}}t.exports={set:r,get:n,has:i,enforce:function(t){return i(t)?n(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=n(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}})),A.register("hacw5",(function(t,e){var r=A("g15Pq"),n=A("JYjke"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(n(i))})),A.register("JYjke",(function(t,e){var r=A("dAmkh"),n=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return n.call(t)}),t.exports=r.inspectSource})),A.register("kuLXn",(function(t,e){A("7zUNj")("asyncIterator")})),A.register("g6kbR",(function(t,e){})),A.register("inZ1E",(function(t,e){A("7zUNj")("hasInstance")})),A.register("9FnBD",(function(t,e){A("7zUNj")("isConcatSpreadable")})),A.register("kz6oF",(function(t,e){A("7zUNj")("iterator")})),A.register("bOqf7",(function(t,e){A("7zUNj")("match")})),A.register("clffp",(function(t,e){A("7zUNj")("matchAll")})),A.register("lgoLn",(function(t,e){A("7zUNj")("replace")})),A.register("jRNVi",(function(t,e){A("7zUNj")("search")})),A.register("lkKq5",(function(t,e){A("7zUNj")("species")})),A.register("km0K3",(function(t,e){A("7zUNj")("split")})),A.register("lklLN",(function(t,e){A("7zUNj")("toPrimitive")})),A.register("6x9hD",(function(t,e){A("7zUNj")("toStringTag")})),A.register("jMQSh",(function(t,e){A("7zUNj")("unscopables")})),A.register("qYir8",(function(t,e){var r=A("g15Pq");A("6gAMl")(r.JSON,"JSON",!0)})),A.register("eVc3O",(function(t,e){})),A.register("j91Ql",(function(t,e){})),A.register("lO3V9",(function(t,e){A("7zUNj")("asyncDispose")})),A.register("c1PMh",(function(t,e){A("7zUNj")("dispose")})),A.register("gJKgV",(function(t,e){A("7zUNj")("observable")})),A.register("04ygj",(function(t,e){A("7zUNj")("patternMatch")})),A.register("cdDuV",(function(t,e){A("7zUNj")("replaceAll")})),A.register("hkqSx",(function(t,e){t.exports=A("6qhx4")})),A.register("6qhx4",(function(t,e){A("bmGKY"),A("73cxO");var r=A("483SX");t.exports=r})),A.register("bmGKY",(function(t,e){A("fPsmf");var r=A("9wpAQ"),n=A("g15Pq"),i=A("fpBYl"),o=A("iFiw0"),a=A("iOcAV"),s=A("8HKE7")("toStringTag");for(var u in r){var c=n[u],l=c&&c.prototype;l&&i(l)!==s&&o(l,s,u),a[u]=a.Array}})),A.register("fPsmf",(function(t,e){var r=A("2HMxh"),n=A("2Meyp"),i=A("iOcAV"),o=A("1mkHK"),a=A("90b4j"),s="Array Iterator",u=o.set,c=o.getterFor(s);t.exports=a(Array,"Array",(function(t,e){u(this,{type:s,target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")})),A.register("2Meyp",(function(t,e){t.exports=function(){}})),A.register("iOcAV",(function(t,e){t.exports={}})),A.register("90b4j",(function(t,e){var r=A("5E5EZ"),n=A("ctrKf"),i=A("f8ysz"),o=A("6MsTe"),a=A("6gAMl"),s=A("iFiw0"),u=A("NuvhF"),c=A("8HKE7"),l=A("jm6dF"),f=A("iOcAV"),h=A("6dBnO"),p=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",B="values",m="entries",w=function(){return this};t.exports=function(t,e,A,c,h,y,b){n(A,e,c);var x,C,E,N=function(t){if(t===h&&L)return L;if(!d&&t in U)return U[t];switch(t){case v:case B:case m:return function(){return new A(this,t)}}return function(){return new A(this)}},F=e+" Iterator",Q=!1,U=t.prototype,S=U[g]||U["@@iterator"]||h&&U[h],L=!d&&S||N(h),_="Array"==e&&U.entries||S;if(_&&(x=i(_.call(new t)),p!==Object.prototype&&x.next&&(l||i(x)===p||(o?o(x,p):"function"!=typeof x[g]&&s(x,g,w)),a(x,F,!0,!0),l&&(f[F]=w))),h==B&&S&&S.name!==B&&(Q=!0,L=function(){return S.call(this)}),l&&!b||U[g]===L||s(U,g,L),f[e]=L,h)if(C={values:N(B),keys:y?L:N(v),entries:N(m)},b)for(E in C)(d||Q||!(E in U))&&u(U,E,C[E]);else r({target:e,proto:!0,forced:d||Q},C);return C}})),A.register("ctrKf",(function(t,e){var r=A("6dBnO").IteratorPrototype,n=A("2LSuG"),i=A("5Fejq"),o=A("6gAMl"),a=A("iOcAV"),s=function(){return this};t.exports=function(t,e,A){var u=e+" Iterator";return t.prototype=n(r,{next:i(1,A)}),o(t,u,!1,!0),a[u]=s,t}})),A.register("6dBnO",(function(t,e){var r,n,i,o=A("90DaF"),a=A("f8ysz"),s=A("iFiw0"),u=A("pm7fe"),c=A("8HKE7"),l=A("jm6dF"),f=c("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(n=a(a(i)))!==Object.prototype&&(r=n):h=!0);var p=null==r||o((function(){var t={};return r[f].call(t)!==t}));p&&(r={}),l&&!p||u(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}})),A.register("f8ysz",(function(t,e){var r=A("pm7fe"),n=A("b8DNw"),i=A("3zIuM"),o=A("kIlTQ"),a=i("IE_PROTO"),s=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=n(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}})),A.register("kIlTQ",(function(t,e){var r=A("90DaF");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))})),A.register("6MsTe",(function(t,e){var r=A("kxeYw"),n=A("diWjz");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,A){return r(i),n(A),e?t.call(i,A):i.__proto__=A,i}}():void 0)})),A.register("diWjz",(function(t,e){var r=A("amYFr");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}})),A.register("9wpAQ",(function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),A.register("73cxO",(function(t,e){var r=A("fmeKS").charAt,n=A("1mkHK"),i=A("90b4j"),o="String Iterator",a=n.set,s=n.getterFor(o);i(String,"String",(function(t){a(this,{type:o,string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))})),A.register("fmeKS",(function(t,e){var r=A("bfd6I"),n=A("9lvmS"),i=function(t){return function(e,i){var A,o,a=String(n(e)),s=r(i),u=a.length;return s<0||s>=u?t?"":void 0:(A=a.charCodeAt(s))<55296||A>56319||s+1===u||(o=a.charCodeAt(s+1))<56320||o>57343?t?a.charAt(s):A:t?a.slice(s,s+2):o-56320+(A-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}})),A.register("483SX",(function(t,e){var r=A("fpBYl"),n=A("8HKE7"),i=A("iOcAV"),o=n("iterator");t.exports=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}})),A.register("ceOPG",(function(t,e){t.exports=A("8fGRv")})),A.register("8fGRv",(function(t,e){A("bmGKY"),A("73cxO");var r=A("g79Aa");t.exports=r})),A.register("g79Aa",(function(t,e){var r=A("kxeYw"),n=A("hxAZs");t.exports=function(t){var e=n(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}})),A.register("hxAZs",(function(t,e){var r=A("fpBYl"),n=A("iOcAV"),i=A("8HKE7")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||n[r(t)]}})),A.register("2hztN",(function(t,e){var r=A("6TRX9"),n=A("9suyA"),i=A("6rKvR");t.exports=function(t,e){var A;if(t){if("string"==typeof t)return i(t,e);var o=r(A=Object.prototype.toString.call(t)).call(A,8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?n(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("6TRX9",(function(t,e){t.exports=A("37Vyo")})),A.register("37Vyo",(function(t,e){var r=A("9rez4");t.exports=r})),A.register("9rez4",(function(t,e){var r=A("cqOFZ"),n=Array.prototype;t.exports=function(t){var e=t.slice;return t===n||t instanceof Array&&e===n.slice?r:e}})),A.register("cqOFZ",(function(t,e){A("9hYph");var r=A("bezVR");t.exports=r("Array").slice})),A.register("9hYph",(function(t,e){var r=A("5E5EZ"),n=A("amYFr"),i=A("iIQ8F"),o=A("1h3gn"),a=A("546Iu"),s=A("2HMxh"),u=A("lXh91"),c=A("8HKE7"),l=A("isfk4")("slice"),f=c("species"),h=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var r,A,c,l=s(this),d=a(l.length),g=o(t,d),v=o(void 0===e?d:e,d);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return h.call(l,g,v);for(A=new(void 0===r?Array:r)(p(v-g,0)),c=0;g1?arguments[1]:void 0,B=void 0!==v,m=u(p),w=0;if(B&&(v=r(v,g>2?arguments[2]:void 0,2)),null==m||d==Array&&o(m))for(A=new d(e=a(p.length));e>w;w++)h=B?v(p[w],w):p[w],s(A,w,h);else for(f=(l=m.call(p)).next,A=new d;!(c=f.call(l)).done;w++)h=B?i(l,v,[c.value,w],!0):c.value,s(A,w,h);return A.length=w,A}})),A.register("1Dleh",(function(t,e){var r=A("kxeYw"),n=A("jwDFY");t.exports=function(t,e,i,A){try{return A?e(r(i)[0],i[1]):e(i)}catch(e){throw n(t),e}}})),A.register("jwDFY",(function(t,e){var r=A("kxeYw");t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}})),A.register("5ecEF",(function(t,e){var r=A("8HKE7"),n=A("iOcAV"),i=r("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}})),A.register("Iyy4t",(function(t,e){var r=A("8HKE7")("iterator"),n=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){n=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!n)return!1;var i=!1;try{var A={};A[r]=function(){return{next:function(){return{done:i=!0}}}},t(A)}catch(t){}return i}})),A.register("6rKvR",(function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rl;)void 0!==(r=A(n,e=u[l++]))&&s(c,e,r);return c}})})),A.register("03SuO",(function(t,e){var r=A("7ESPI"),n=A("fbriE"),i=A("cxr6h"),o=A("kxeYw");t.exports=r("Reflect","ownKeys")||function(t){var e=n.f(o(t)),r=i.f;return r?e.concat(r(t)):e}})),A.register("h8tHz",(function(t,e){t.exports=A("gMIUJ")})),A.register("gMIUJ",(function(t,e){A("bmGKY");var r=A("orCEZ"),n=A("fpBYl"),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===i||t instanceof Array&&e===i.forEach||o.hasOwnProperty(n(t))?r:e}})),A.register("orCEZ",(function(t,e){var r=A("80PAf");t.exports=r})),A.register("80PAf",(function(t,e){A("7kNhe");var r=A("bezVR");t.exports=r("Array").forEach})),A.register("7kNhe",(function(t,e){var r=A("5E5EZ"),n=A("6JiSk");r({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})})),A.register("6JiSk",(function(t,e){var r=A("bdDLZ").forEach,n=A("j2HHE")("forEach");t.exports=n?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})),A.register("j2HHE",(function(t,e){var r=A("90DaF");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}})),A.register("4Rc8v",(function(t,e){t.exports=A("04wAD")})),A.register("04wAD",(function(t,e){var r=A("8yaqv");t.exports=r})),A.register("8yaqv",(function(t,e){A("6U1HY");var r=A("abEBJ").Object,n=t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)};r.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),A.register("6U1HY",(function(t,e){var r=A("5E5EZ"),n=A("90DaF"),i=A("2HMxh"),o=A("1mcgb").f,a=A("6ZmCU"),s=n((function(){o(1)}));r({target:"Object",stat:!0,forced:!a||s,sham:!a},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})})),A.register("6Izpd",(function(t,e){t.exports=A("7vmTZ")})),A.register("7vmTZ",(function(t,e){var r=A("9mFQC");t.exports=r})),A.register("9mFQC",(function(t,e){var r=A("aDAZM"),n=Array.prototype;t.exports=function(t){var e=t.filter;return t===n||t instanceof Array&&e===n.filter?r:e}})),A.register("aDAZM",(function(t,e){A("4mAYd");var r=A("bezVR");t.exports=r("Array").filter})),A.register("4mAYd",(function(t,e){var r=A("5E5EZ"),n=A("bdDLZ").filter;r({target:"Array",proto:!0,forced:!A("isfk4")("filter")},{filter:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("1wCHl",(function(t,e){t.exports=A("36Dlt")})),A.register("36Dlt",(function(t,e){var r=A("4TDtb");t.exports=r})),A.register("4TDtb",(function(t,e){A("RWepQ");var r=A("abEBJ");t.exports=r.Object.getOwnPropertySymbols})),A.register("20nCH",(function(t,e){t.exports=A("cAfBG")})),A.register("cAfBG",(function(t,e){var r=A("lMHhJ");t.exports=r})),A.register("lMHhJ",(function(t,e){A("kPGXl");var r=A("abEBJ");t.exports=r.Object.keys})),A.register("kPGXl",(function(t,e){var r=A("5E5EZ"),n=A("b8DNw"),i=A("1nXBL");r({target:"Object",stat:!0,forced:A("90DaF")((function(){i(1)}))},{keys:function(t){return i(n(t))}})})),A.register("brsYK",(function(t,e){t.exports=A("9MDOj")})),A.register("9MDOj",(function(t,e){var r=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},A=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,A=Object.create(i.prototype),o=new Q(n||[]);return A._invoke=function(t,e,r){var n=l;return function(i,A){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw A;return S()}for(r.method=i,r.arg=A;;){var o=r.delegate;if(o){var a=E(o,r);if(a){if(a===d)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var s=c(t,e,r);if("normal"===s.type){if(n=r.done?p:f,s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=p,r.method="throw",r.arg=s.arg)}}}(t,r,o),A}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",h="executing",p="completed",d={};function g(){}function v(){}function B(){}var m={};m[A]=function(){return this};var w=Object.getPrototypeOf,y=w&&w(w(U([])));y&&y!==r&&n.call(y,A)&&(m=y);var b=B.prototype=g.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function r(i,A,o,a){var s=c(t[i],t,A);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,a)}),(function(t){r("throw",t,o,a)})):e.resolve(l).then((function(t){u.value=t,o(u)}),(function(t){return r("throw",t,o,a)}))}a(s.arg)}var i;this._invoke=function(t,n){function A(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(A,A):A()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=c(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var A=i.arg;return A?A.done?(r[t.resultName]=A.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):A:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function F(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function U(t){if(t){var r=t[A];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i=0;--A){var o=this.tryEntries[A],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),F(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;F(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:U(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}})),A.register("d7o9N",(function(t,e){var r=A("it9RX");function n(t,e,n,i,A,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):r.resolve(u).then(i,A)}t.exports=function(t){return function(){var e=this,i=arguments;return new r((function(r,A){var o=t.apply(e,i);function a(t){n(o,r,A,a,s,"next",t)}function s(t){n(o,r,A,a,s,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("it9RX",(function(t,e){t.exports=A("goXeY")})),A.register("goXeY",(function(t,e){var r=A("joiXG");A("98fQs"),A("d9JG3"),A("38W5B"),A("lwCLt"),t.exports=r})),A.register("joiXG",(function(t,e){A("eRgrJ"),A("4XLZd"),A("90HXM"),A("ahKlM"),A("a9rFO"),A("jQskn"),A("73cxO"),A("bmGKY");var r=A("abEBJ");t.exports=r.Promise})),A.register("eRgrJ",(function(t,e){var r=A("5E5EZ"),n=A("f8ysz"),i=A("6MsTe"),o=A("2LSuG"),a=A("iFiw0"),s=A("5Fejq"),u=A("7zzkc"),c=function(t,e){var r=this;if(!(r instanceof c))return new c(t,e);i&&(r=i(new Error(void 0),n(r))),void 0!==e&&a(r,"message",String(e));var A=[];return u(t,A.push,{that:A}),a(r,"errors",A),r};c.prototype=o(Error.prototype,{constructor:s(5,c),message:s(5,""),name:s(5,"AggregateError")}),r({global:!0},{AggregateError:c})})),A.register("7zzkc",(function(t,e){var r=A("kxeYw"),n=A("5ecEF"),i=A("546Iu"),o=A("7FPY6"),a=A("hxAZs"),s=A("jwDFY"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,A){var c,l,f,h,p,d,g,v=A&&A.that,B=!(!A||!A.AS_ENTRIES),m=!(!A||!A.IS_ITERATOR),w=!(!A||!A.INTERRUPTED),y=o(e,v,1+B+w),b=function(t){return c&&s(c),new u(!0,t)},x=function(t){return B?(r(t),w?y(t[0],t[1],b):y(t[0],t[1])):w?y(t,b):y(t)};if(m)c=t;else{if("function"!=typeof(l=a(t)))throw TypeError("Target is not iterable");if(n(l)){for(f=0,h=i(t.length);h>f;f++)if((p=x(t[f]))&&p instanceof u)return p;return new u(!1)}c=l.call(t)}for(d=c.next;!(g=d.call(c)).done;){try{p=x(g.value)}catch(t){throw s(c),t}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}})),A.register("90HXM",(function(t,e){var r,n,i,o,a=A("5E5EZ"),s=A("jm6dF"),u=A("g15Pq"),c=A("7ESPI"),l=A("6ZDXa"),f=A("NuvhF"),h=A("7PU7g"),p=A("6gAMl"),d=A("4gkPA"),g=A("amYFr"),v=A("6c5hE"),B=A("18ci4"),m=A("JYjke"),w=A("7zzkc"),y=A("Iyy4t"),b=A("8v1Yd"),x=A("NY2gu").set,C=A("9GKab"),E=A("1MZgn"),N=A("4y0ZU"),F=A("8XPRL"),Q=A("kYMgF"),U=A("1mkHK"),S=A("4e8fn"),L=A("8HKE7"),_=A("4tvDR"),H=A("6TQfB"),T=L("species"),I="Promise",P=U.get,O=U.set,k=U.getterFor(I),R=l,M=u.TypeError,D=u.document,K=u.process,z=c("fetch"),V=F.f,j=V,q=!!(D&&D.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,G="unhandledrejection",Y=S(I,(function(){if(!(m(R)!==String(R))){if(66===H)return!0;if(!_&&!X)return!0}if(s&&!R.prototype.finally)return!0;if(H>=51&&/native code/.test(R))return!1;var t=R.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[T]=e,!(t.then((function(){}))instanceof e)})),W=Y||!y((function(t){R.all(t).catch((function(){}))})),J=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Z=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;C((function(){for(var n=t.value,i=1==t.state,A=0;r.length>A;){var o,a,s,u=r[A++],c=i?u.ok:u.fail,l=u.resolve,f=u.reject,h=u.domain;try{c?(i||(2===t.rejection&&rt(t),t.rejection=1),!0===c?o=n:(h&&h.enter(),o=c(n),h&&(h.exit(),s=!0)),o===u.promise?f(M("Promise-chain cycle")):(a=J(o))?a.call(o,l,f):l(o)):f(n)}catch(t){h&&!s&&h.exit(),f(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&tt(t)}))}},$=function(t,e,r){var n,i;q?((n=D.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!X&&(i=u["on"+t])?i(n):t===G&&N("Unhandled promise rejection",r)},tt=function(t){x.call(u,(function(){var e,r=t.facade,n=t.value;if(et(t)&&(e=Q((function(){_?K.emit("unhandledRejection",n,r):$(G,r,n)})),t.rejection=_||et(t)?2:1,e.error))throw e.value}))},et=function(t){return 1!==t.rejection&&!t.parent},rt=function(t){x.call(u,(function(){var e=t.facade;_?K.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},nt=function(t,e,r){return function(n){t(e,n,r)}},it=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Z(t,!0))},At=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw M("Promise can't be resolved itself");var n=J(e);n?C((function(){var r={done:!1};try{n.call(e,nt(At,r,t),nt(it,r,t))}catch(e){it(r,e,t)}})):(t.value=e,t.state=1,Z(t,!1))}catch(e){it({done:!1},e,t)}}};Y&&(R=function(t){B(this,R,I),v(t),r.call(this);var e=P(this);try{t(nt(At,e),nt(it,e))}catch(t){it(e,t)}},(r=function(t){O(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(R.prototype,{then:function(t,e){var r=k(this),n=V(b(this,R));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=_?K.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),n=function(){var t=new r,e=P(t);this.promise=t,this.resolve=nt(At,e),this.reject=nt(it,e)},F.f=V=function(t){return t===R||t===i?new n(t):j(t)},s||"function"!=typeof l||(o=l.prototype.then,f(l.prototype,"then",(function(t,e){var r=this;return new R((function(t,e){o.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof z&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(R,z.apply(u,arguments))}}))),a({global:!0,wrap:!0,forced:Y},{Promise:R}),p(R,I,!1,!0),d(I),i=c(I),a({target:I,stat:!0,forced:Y},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:I,stat:!0,forced:s||Y},{resolve:function(t){return E(s&&this===i?R:this,t)}}),a({target:I,stat:!0,forced:W},{all:function(t){var e=this,r=V(e),n=r.resolve,i=r.reject,A=Q((function(){var r=v(e.resolve),A=[],o=0,a=1;w(t,(function(t){var s=o++,u=!1;A.push(void 0),a++,r.call(e,t).then((function(t){u||(u=!0,A[s]=t,--a||n(A))}),i)})),--a||n(A)}));return A.error&&i(A.value),r.promise},race:function(t){var e=this,r=V(e),n=r.reject,i=Q((function(){var i=v(e.resolve);w(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})})),A.register("6ZDXa",(function(t,e){var r=A("g15Pq");t.exports=r.Promise})),A.register("7PU7g",(function(t,e){var r=A("NuvhF");t.exports=function(t,e,n){for(var i in e)n&&n.unsafe&&t[i]?t[i]=e[i]:r(t,i,e[i],n);return t}})),A.register("4gkPA",(function(t,e){var r=A("7ESPI"),n=A("bIq6Y"),i=A("8HKE7"),o=A("6ZmCU"),a=i("species");t.exports=function(t){var e=r(t),i=n.f;o&&e&&!e[a]&&i(e,a,{configurable:!0,get:function(){return this}})}})),A.register("18ci4",(function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}})),A.register("8v1Yd",(function(t,e){var r=A("kxeYw"),n=A("6c5hE"),i=A("8HKE7")("species");t.exports=function(t,e){var A,o=r(t).constructor;return void 0===o||null==(A=r(o)[i])?e:n(A)}})),A.register("NY2gu",(function(t,e){var r,n,i,o=A("g15Pq"),a=A("90DaF"),s=A("7FPY6"),u=A("fBj4F"),c=A("1NDmk"),l=A("6UvBP"),f=A("4tvDR"),h=o.location,p=o.setImmediate,d=o.clearImmediate,g=o.process,v=o.MessageChannel,B=o.Dispatch,m=0,w={},y="onreadystatechange",b=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},x=function(t){return function(){b(t)}},C=function(t){b(t.data)},E=function(t){o.postMessage(t+"",h.protocol+"//"+h.host)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(m),m},d=function(t){delete w[t]},f?r=function(t){g.nextTick(x(t))}:B&&B.now?r=function(t){B.now(x(t))}:v&&!l?(i=(n=new v).port2,n.port1.onmessage=C,r=s(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&h&&"file:"!==h.protocol&&!a(E)?(r=E,o.addEventListener("message",C,!1)):r=y in c("script")?function(t){u.appendChild(c("script"))[y]=function(){u.removeChild(this),b(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:p,clear:d}})),A.register("6UvBP",(function(t,e){var r=A("2W5qT");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)})),A.register("9GKab",(function(t,e){var r,n,i,o,a,s,u,c,l=A("g15Pq"),f=A("1mcgb").f,h=A("NY2gu").set,p=A("6UvBP"),d=A("b5V1N"),g=A("4tvDR"),v=l.MutationObserver||l.WebKitMutationObserver,B=l.document,m=l.process,w=l.Promise,y=f(l,"queueMicrotask"),b=y&&y.value;b||(r=function(){var t,e;for(g&&(t=m.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?o():i=void 0,t}}i=void 0,t&&t.enter()},p||g||d||!v||!B?w&&w.resolve?(u=w.resolve(void 0),c=u.then,o=function(){c.call(u,r)}):o=g?function(){m.nextTick(r)}:function(){h.call(l,r)}:(a=!0,s=B.createTextNode(""),new v(r).observe(s,{characterData:!0}),o=function(){s.data=a=!a})),t.exports=b||function(t){var e={fn:t,next:void 0};i&&(i.next=e),n||(n=e,o()),i=e}})),A.register("b5V1N",(function(t,e){var r=A("2W5qT");t.exports=/web0s(?!.*chrome)/i.test(r)})),A.register("1MZgn",(function(t,e){var r=A("kxeYw"),n=A("amYFr"),i=A("8XPRL");t.exports=function(t,e){if(r(t),n(e)&&e.constructor===t)return e;var A=i.f(t);return(0,A.resolve)(e),A.promise}})),A.register("8XPRL",(function(e,r){var n;t(e.exports,"f",(()=>n),(t=>n=t));var i=A("6c5hE"),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=i(e),this.reject=i(r)};n=function(t){return new o(t)}})),A.register("4y0ZU",(function(t,e){var r=A("g15Pq");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}})),A.register("kYMgF",(function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}})),A.register("ahKlM",(function(t,e){var r=A("5E5EZ"),n=A("6c5hE"),i=A("8XPRL"),o=A("kYMgF"),a=A("7zzkc");r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=i.f(e),A=r.resolve,s=r.reject,u=o((function(){var r=n(e.resolve),i=[],o=0,s=1;a(t,(function(t){var n=o++,a=!1;i.push(void 0),s++,r.call(e,t).then((function(t){a||(a=!0,i[n]={status:"fulfilled",value:t},--s||A(i))}),(function(t){a||(a=!0,i[n]={status:"rejected",reason:t},--s||A(i))}))})),--s||A(i)}));return u.error&&s(u.value),r.promise}})})),A.register("a9rFO",(function(t,e){var r=A("5E5EZ"),n=A("6c5hE"),i=A("7ESPI"),o=A("8XPRL"),a=A("kYMgF"),s=A("7zzkc"),u="No one promise resolved";r({target:"Promise",stat:!0},{any:function(t){var e=this,r=o.f(e),A=r.resolve,c=r.reject,l=a((function(){var r=n(e.resolve),o=[],a=0,l=1,f=!1;s(t,(function(t){var n=a++,s=!1;o.push(void 0),l++,r.call(e,t).then((function(t){s||f||(f=!0,A(t))}),(function(t){s||f||(s=!0,o[n]=t,--l||c(new(i("AggregateError"))(o,u)))}))})),--l||c(new(i("AggregateError"))(o,u))}));return l.error&&c(l.value),r.promise}})})),A.register("jQskn",(function(t,e){var r=A("5E5EZ"),n=A("jm6dF"),i=A("6ZDXa"),o=A("90DaF"),a=A("7ESPI"),s=A("8v1Yd"),u=A("1MZgn"),c=A("NuvhF");r({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,a("Promise")),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then((function(){return r}))}:t,r?function(r){return u(e,t()).then((function(){throw r}))}:t)}}),n||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",a("Promise").prototype.finally)})),A.register("98fQs",(function(t,e){A("eRgrJ")})),A.register("d9JG3",(function(t,e){A("ahKlM")})),A.register("38W5B",(function(t,e){var r=A("5E5EZ"),n=A("8XPRL"),i=A("kYMgF");r({target:"Promise",stat:!0},{try:function(t){var e=n.f(this),r=i(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}})})),A.register("lwCLt",(function(t,e){A("a9rFO")})),A.register("hYZ9K",(function(t,e){var r=A("bTdpA");t.exports=function(t,e,n){return e in t?r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("bTdpA",(function(t,e){t.exports=A("h7csi")})),A.register("h7csi",(function(t,e){var r=A("e644W");t.exports=r})),A.register("iFEB4",(function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("2E5uB",(function(t,e){var r=A("bTdpA");function n(t,e){for(var n=0;n79&&o<83},{reduce:function(t){return n(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})})),A.register("13mW5",(function(t,e){var r=A("6c5hE"),n=A("b8DNw"),i=A("gsSJB"),o=A("546Iu"),a=function(t){return function(e,A,a,s){r(A);var u=n(e),c=i(u),l=o(u.length),f=t?l-1:0,h=t?-1:1;if(a<2)for(;;){if(f in c){s=c[f],f+=h;break}if(f+=h,t?f<0:l<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:l>f;f+=h)f in c&&(s=A(s,c[f],f,u));return s}};t.exports={left:a(!1),right:a(!0)}})),A.register("ktkbe",(function(t,e){t.exports=A("hsPRi")})),A.register("hsPRi",(function(t,e){var r=A("9pyT3");t.exports=r})),A.register("9pyT3",(function(t,e){A("gNUch");var r=A("abEBJ");t.exports=r.Date.now})),A.register("gNUch",(function(t,e){A("5E5EZ")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})})),A.register("gja6g",(function(t,e){t.exports=A("694Ev")})),A.register("694Ev",(function(t,e){var r=A("dWCMx");t.exports=r})),A.register("dWCMx",(function(t,e){var r=A("c2TDW"),n=Array.prototype;t.exports=function(t){var e=t.every;return t===n||t instanceof Array&&e===n.every?r:e}})),A.register("c2TDW",(function(t,e){A("abxED");var r=A("bezVR");t.exports=r("Array").every})),A.register("abxED",(function(t,e){var r=A("5E5EZ"),n=A("bdDLZ").every;r({target:"Array",proto:!0,forced:!A("j2HHE")("every")},{every:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("8RdtY",(function(t,e){t.exports=A("jBg5X")})),A.register("jBg5X",(function(t,e){var r=A("joiXG");t.exports=r})),A.register("dS2VW",(function(t,e){t.exports=A("42DGy")})),A.register("42DGy",(function(t,e){var r=A("aKvuc");t.exports=r})),A.register("aKvuc",(function(t,e){var r=A("1XQl3"),n=Function.prototype;t.exports=function(t){var e=t.bind;return t===n||t instanceof Function&&e===n.bind?r:e}})),A.register("1XQl3",(function(t,e){A("5za4c");var r=A("bezVR");t.exports=r("Function").bind})),A.register("5za4c",(function(t,e){A("5E5EZ")({target:"Function",proto:!0},{bind:A("jOuV5")})})),A.register("jOuV5",(function(t,e){var r=A("6c5hE"),n=A("amYFr"),i=[].slice,o={};t.exports=Function.bind||function(t){var e=r(this),A=i.call(arguments,1),a=function(){var r=A.concat(i.call(arguments));return this instanceof a?function(t,e,r){if(!(e in o)){for(var n=[],i=0;i3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r},this.getHelpXML=function(){for(var t=new Array,n=0;n "+u.toRGB()+" -> "+u.toHex());s.appendChild(c),s.appendChild(l),a.appendChild(s)}catch(t){}return a}}})),A.register("aDiv0",(function(t,e){t.exports=A("duIaH")})),A.register("duIaH",(function(t,e){var r=A("7Xode");t.exports=r})),A.register("7Xode",(function(t,e){A("bOKwp");var r=A("abEBJ");t.exports=r.Reflect.construct})),A.register("bOKwp",(function(t,e){var r=A("5E5EZ"),n=A("7ESPI"),i=A("6c5hE"),o=A("kxeYw"),a=A("amYFr"),s=A("2LSuG"),u=A("jOuV5"),c=A("90DaF"),l=n("Reflect","construct"),f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))})),p=f||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){i(t),o(e);var r=arguments.length<3?t:i(arguments[2]);if(h&&!f)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(u.apply(t,n))}var A=r.prototype,c=s(a(A)?A:Object.prototype),p=Function.apply.call(t,c,e);return a(p)?p:c}})})),A.register("5lZC9",(function(t,e){var r=A("1WuJz"),n=A("3uZwy");t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=r(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("1WuJz",(function(t,e){t.exports=A("6lAQE")})),A.register("6lAQE",(function(t,e){var r=A("lKqMX");t.exports=r})),A.register("lKqMX",(function(t,e){A("6KVGU");var r=A("abEBJ").Object;t.exports=function(t,e){return r.create(t,e)}})),A.register("6KVGU",(function(t,e){A("5E5EZ")({target:"Object",stat:!0,sham:!A("6ZmCU")},{create:A("2LSuG")})})),A.register("3uZwy",(function(t,e){var r=A("ePCQk");function n(e,i){return t.exports=n=r||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e,i)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("ePCQk",(function(t,e){t.exports=A("biFuO")})),A.register("biFuO",(function(t,e){var r=A("lFfhM");t.exports=r})),A.register("lFfhM",(function(t,e){A("lDbzt");var r=A("abEBJ");t.exports=r.Object.setPrototypeOf})),A.register("lDbzt",(function(t,e){A("5E5EZ")({target:"Object",stat:!0},{setPrototypeOf:A("6MsTe")})})),A.register("fYFtl",(function(t,e){var r=A("fxrbU").default,n=A("jIIGZ");t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?n(t):e},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("fxrbU",(function(t,e){var r=A("kcmfF"),n=A("1JS6Q");function i(e){return"function"==typeof r&&"symbol"==typeof n?(t.exports=i=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=i=function(t){return t&&"function"==typeof r&&t.constructor===r&&t!==r.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("1JS6Q",(function(t,e){t.exports=A("cnI2b")})),A.register("cnI2b",(function(t,e){var r=A("1NrQx");t.exports=r})),A.register("1NrQx",(function(t,e){A("kz6oF"),A("73cxO"),A("bmGKY");var r=A("4Z5Zl");t.exports=r.f("iterator")})),A.register("jIIGZ",(function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("gqlfc",(function(t,e){var r=A("ePCQk"),n=A("57Kb5");function i(e){return t.exports=i=r?n:function(t){return t.__proto__||n(t)},t.exports.default=t.exports,t.exports.__esModule=!0,i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("57Kb5",(function(t,e){t.exports=A("8sV4o")})),A.register("8sV4o",(function(t,e){var r=A("5GmKy");t.exports=r})),A.register("5GmKy",(function(t,e){A("hNoLH");var r=A("abEBJ");t.exports=r.Object.getPrototypeOf})),A.register("hNoLH",(function(t,e){var r=A("5E5EZ"),n=A("90DaF"),i=A("b8DNw"),o=A("f8ysz"),a=A("kIlTQ");r({target:"Object",stat:!0,forced:n((function(){o(1)})),sham:!a},{getPrototypeOf:function(t){return o(i(t))}})})),A.register("bm6B9",(function(t,e){var r=A("4PjQZ"),n=A("4NG8J"),i=A("2hztN"),o=A("DVtI2");t.exports=function(t){return r(t)||n(t)||i(t)||o()},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("4PjQZ",(function(t,e){var r=A("lhyu8"),n=A("6rKvR");t.exports=function(t){if(r(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("4NG8J",(function(t,e){var r=A("kcmfF"),n=A("hkqSx"),i=A("9suyA");t.exports=function(t){if(void 0!==r&&n(Object(t)))return i(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("DVtI2",(function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("9h2ud",(function(t,e){t.exports=A("6AszI")})),A.register("6AszI",(function(t,e){var r=A("2Bu2k");t.exports=r})),A.register("2Bu2k",(function(t,e){var r=A("7oUTE"),n=Array.prototype;t.exports=function(t){var e=t.some;return t===n||t instanceof Array&&e===n.some?r:e}})),A.register("7oUTE",(function(t,e){A("lMsu1");var r=A("bezVR");t.exports=r("Array").some})),A.register("lMsu1",(function(t,e){var r=A("5E5EZ"),n=A("bdDLZ").some;r({target:"Array",proto:!0,forced:!A("j2HHE")("some")},{some:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("frOIg",(function(t,e){t.exports=A("gyVAw")})),A.register("gyVAw",(function(t,e){var r=A("4EiJs");t.exports=r})),A.register("4EiJs",(function(t,e){var r=A("41KkH"),n=A("en93M"),i=Array.prototype,o=String.prototype;t.exports=function(t){var e=t.includes;return t===i||t instanceof Array&&e===i.includes?r:"string"==typeof t||t===o||t instanceof String&&e===o.includes?n:e}})),A.register("41KkH",(function(t,e){A("95jwr");var r=A("bezVR");t.exports=r("Array").includes})),A.register("95jwr",(function(t,e){var r=A("5E5EZ"),n=A("6d9zy").includes,i=A("2Meyp");r({target:"Array",proto:!0},{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")})),A.register("en93M",(function(t,e){A("40mHT");var r=A("bezVR");t.exports=r("String").includes})),A.register("40mHT",(function(t,e){var r=A("5E5EZ"),n=A("2WIIU"),i=A("9lvmS");r({target:"String",proto:!0,forced:!A("hfCas")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(n(t),arguments.length>1?arguments[1]:void 0)}})})),A.register("1fag9",(function(t,e){t.exports=A("eLW5g")})),A.register("eLW5g",(function(t,e){var r=A("9v40s");t.exports=r})),A.register("cp9U2",(function(t,e){t.exports=A("aVi15")})),A.register("aVi15",(function(t,e){var r=A("dKjU2");t.exports=r})),A.register("dKjU2",(function(t,e){var r=A("7yTpi"),n=Array.prototype;t.exports=function(t){var e=t.reverse;return t===n||t instanceof Array&&e===n.reverse?r:e}})),A.register("7yTpi",(function(t,e){A("9qDZQ");var r=A("bezVR");t.exports=r("Array").reverse})),A.register("9qDZQ",(function(t,e){var r=A("5E5EZ"),n=A("iIQ8F"),i=[].reverse,o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),i.call(this)}})})),A.register("lyzcJ",(function(t,e){t.exports=A("66Oiy")})),A.register("66Oiy",(function(t,e){var r=A("71Ae0");t.exports=r})),A.register("71Ae0",(function(t,e){var r=A("5Tntg"),n=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===n||t instanceof Array&&e===n.indexOf?r:e}})),A.register("5Tntg",(function(t,e){A("h0nV4");var r=A("bezVR");t.exports=r("Array").indexOf})),A.register("h0nV4",(function(t,e){var r=A("5E5EZ"),n=A("6d9zy").indexOf,i=A("j2HHE"),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0,s=i("indexOf");r({target:"Array",proto:!0,forced:a||!s},{indexOf:function(t){return a?o.apply(this,arguments)||0:n(this,t,arguments.length>1?arguments[1]:void 0)}})})),A.register("2Rt1U",(function(t,e){var r=A("2PLrx"),n=A("1wgHp"),i=A("aJhim");function o(e,A,a){return"undefined"!=typeof Reflect&&r?(t.exports=o=r,t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=o=function(t,e,r){var A=i(t,e);if(A){var o=n(A,e);return o.get?o.get.call(r):o.value}},t.exports.default=t.exports,t.exports.__esModule=!0),o(e,A,a||e)}t.exports=o,t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("2PLrx",(function(t,e){t.exports=A("3x4Xa")})),A.register("3x4Xa",(function(t,e){var r=A("7UVoJ");t.exports=r})),A.register("7UVoJ",(function(t,e){A("kvue2");var r=A("abEBJ");t.exports=r.Reflect.get})),A.register("kvue2",(function(t,e){var r=A("5E5EZ"),n=A("amYFr"),i=A("kxeYw"),o=A("pm7fe"),a=A("1mcgb"),s=A("f8ysz");r({target:"Reflect",stat:!0},{get:function t(e,r){var A,u,c=arguments.length<3?e:arguments[2];return i(e)===c?e[r]:(A=a.f(e,r))?o(A,"value")?A.value:void 0===A.get?void 0:A.get.call(c):n(u=s(e))?t(u,r,c):void 0}})})),A.register("1wgHp",(function(t,e){t.exports=A("d38SH")})),A.register("d38SH",(function(t,e){var r=A("8yaqv");t.exports=r})),A.register("aJhim",(function(t,e){var r=A("gqlfc");t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0})),A.register("cBwQV",(function(t,e){t.exports=A("10NuT")})),A.register("10NuT",(function(t,e){var r=A("jLcQf");t.exports=r})),A.register("jLcQf",(function(t,e){var r=A("1iKuZ"),n=Array.prototype;t.exports=function(t){var e=t.fill;return t===n||t instanceof Array&&e===n.fill?r:e}})),A.register("1iKuZ",(function(t,e){A("hvt5P");var r=A("bezVR");t.exports=r("Array").fill})),A.register("hvt5P",(function(t,e){var r=A("5E5EZ"),n=A("4T7ZK"),i=A("2Meyp");r({target:"Array",proto:!0},{fill:n}),i("fill")})),A.register("4T7ZK",(function(t,e){var r=A("b8DNw"),n=A("1h3gn"),i=A("546Iu");t.exports=function(t){for(var e=r(this),A=i(e.length),o=arguments.length,a=n(o>1?arguments[1]:void 0,A),s=o>2?arguments[2]:void 0,u=void 0===s?A:n(s,A);u>a;)e[a++]=t;return e}})),A.register("bwdmz",(function(e,r){t(e.exports,"SVGPathData",(()=>y)); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function A(t,e){var r=t[0],n=t[1];return[r*Math.cos(e)-n*Math.sin(e),r*Math.sin(e)+n*Math.cos(e)]}function o(){for(var t=[],e=0;et.phi1&&(t.phi2-=2*a),1===t.sweepFlag&&t.phi2n)return[];if(0===n)return[[t*r/(t*t+e*e),e*r/(t*t+e*e)]];var i=Math.sqrt(n);return[[(t*r+e*i)/(t*t+e*e),(e*r-t*i)/(t*t+e*e)],[(t*r-e*i)/(t*t+e*e),(e*r+t*i)/(t*t+e*e)]]}var c,l=Math.PI/180;function f(t,e,r){return(1-r)*t+r*e}function h(t,e,r,n){return t+Math.cos(n/180*a)*e+Math.sin(n/180*a)*r}function p(t,e,r,n){var i=e-t,A=r-e,o=3*i+3*(n-r)-6*A,a=6*(A-i),s=3*i;return Math.abs(o)<1e-6?[-s/a]:function(t,e,r){void 0===r&&(r=1e-6);var n=t*t/4-e;if(n<-r)return[];if(n<=r)return[-t/2];var i=Math.sqrt(n);return[-t/2-i,-t/2+i]}(a/o,s/o,1e-6)}function d(t,e,r,n,i){var A=1-i;return t*(A*A*A)+e*(3*A*A*i)+r*(3*A*i*i)+n*(i*i*i)}!function(t){function e(){return i((function(t,e,r){return t.relative&&(void 0!==t.x1&&(t.x1+=e),void 0!==t.y1&&(t.y1+=r),void 0!==t.x2&&(t.x2+=e),void 0!==t.y2&&(t.y2+=r),void 0!==t.x&&(t.x+=e),void 0!==t.y&&(t.y+=r),t.relative=!1),t}))}function r(){var t=NaN,e=NaN,r=NaN,n=NaN;return i((function(i,A,o){return i.type&y.SMOOTH_CURVE_TO&&(i.type=y.CURVE_TO,t=isNaN(t)?A:t,e=isNaN(e)?o:e,i.x1=i.relative?A-t:2*A-t,i.y1=i.relative?o-e:2*o-e),i.type&y.CURVE_TO?(t=i.relative?A+i.x2:i.x2,e=i.relative?o+i.y2:i.y2):(t=NaN,e=NaN),i.type&y.SMOOTH_QUAD_TO&&(i.type=y.QUAD_TO,r=isNaN(r)?A:r,n=isNaN(n)?o:n,i.x1=i.relative?A-r:2*A-r,i.y1=i.relative?o-n:2*o-n),i.type&y.QUAD_TO?(r=i.relative?A+i.x1:i.x1,n=i.relative?o+i.y1:i.y1):(r=NaN,n=NaN),i}))}function n(){var t=NaN,e=NaN;return i((function(r,n,i){if(r.type&y.SMOOTH_QUAD_TO&&(r.type=y.QUAD_TO,t=isNaN(t)?n:t,e=isNaN(e)?i:e,r.x1=r.relative?n-t:2*n-t,r.y1=r.relative?i-e:2*i-e),r.type&y.QUAD_TO){t=r.relative?n+r.x1:r.x1,e=r.relative?i+r.y1:r.y1;var A=r.x1,o=r.y1;r.type=y.CURVE_TO,r.x1=((r.relative?0:n)+2*A)/3,r.y1=((r.relative?0:i)+2*o)/3,r.x2=(r.x+2*A)/3,r.y2=(r.y+2*o)/3}else t=NaN,e=NaN;return r}))}function i(t){var e=0,r=0,n=NaN,i=NaN;return function(A){if(isNaN(n)&&!(A.type&y.MOVE_TO))throw new Error("path must start with moveto");var o=t(A,e,r,n,i);return A.type&y.CLOSE_PATH&&(e=n,r=i),void 0!==A.x&&(e=A.relative?e+A.x:A.x),void 0!==A.y&&(r=A.relative?r+A.y:A.y),A.type&y.MOVE_TO&&(n=e,i=r),o}}function a(t,e,r,n,A,a){return o(t,e,r,n,A,a),i((function(i,o,s,u){var c=i.x1,l=i.x2,f=i.relative&&!isNaN(u),h=void 0!==i.x?i.x:f?0:o,p=void 0!==i.y?i.y:f?0:s;function d(t){return t*t}i.type&y.HORIZ_LINE_TO&&0!==e&&(i.type=y.LINE_TO,i.y=i.relative?0:s),i.type&y.VERT_LINE_TO&&0!==r&&(i.type=y.LINE_TO,i.x=i.relative?0:o),void 0!==i.x&&(i.x=i.x*t+p*r+(f?0:A)),void 0!==i.y&&(i.y=h*e+i.y*n+(f?0:a)),void 0!==i.x1&&(i.x1=i.x1*t+i.y1*r+(f?0:A)),void 0!==i.y1&&(i.y1=c*e+i.y1*n+(f?0:a)),void 0!==i.x2&&(i.x2=i.x2*t+i.y2*r+(f?0:A)),void 0!==i.y2&&(i.y2=l*e+i.y2*n+(f?0:a));var g=t*n-e*r;if(void 0!==i.xRot&&(1!==t||0!==e||0!==r||1!==n))if(0===g)delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag,i.type=y.LINE_TO;else{var v=i.xRot*Math.PI/180,B=Math.sin(v),m=Math.cos(v),w=1/d(i.rX),b=1/d(i.rY),x=d(m)*w+d(B)*b,C=2*B*m*(w-b),E=d(B)*w+d(m)*b,N=x*n*n-C*e*n+E*e*e,F=C*(t*n+e*r)-2*(x*r*n+E*t*e),Q=x*r*r-C*t*r+E*t*t,U=(Math.atan2(F,N-Q)+Math.PI)%Math.PI/2,S=Math.sin(U),L=Math.cos(U);i.rX=Math.abs(g)/Math.sqrt(N*d(L)+F*S*L+Q*d(S)),i.rY=Math.abs(g)/Math.sqrt(N*d(S)-F*S*L+Q*d(L)),i.xRot=180*U/Math.PI}return void 0!==i.sweepFlag&&0>g&&(i.sweepFlag=+!i.sweepFlag),i}))}t.ROUND=function(t){function e(e){return Math.round(e*t)/t}return void 0===t&&(t=1e13),o(t),function(t){return void 0!==t.x1&&(t.x1=e(t.x1)),void 0!==t.y1&&(t.y1=e(t.y1)),void 0!==t.x2&&(t.x2=e(t.x2)),void 0!==t.y2&&(t.y2=e(t.y2)),void 0!==t.x&&(t.x=e(t.x)),void 0!==t.y&&(t.y=e(t.y)),void 0!==t.rX&&(t.rX=e(t.rX)),void 0!==t.rY&&(t.rY=e(t.rY)),t}},t.TO_ABS=e,t.TO_REL=function(){return i((function(t,e,r){return t.relative||(void 0!==t.x1&&(t.x1-=e),void 0!==t.y1&&(t.y1-=r),void 0!==t.x2&&(t.x2-=e),void 0!==t.y2&&(t.y2-=r),void 0!==t.x&&(t.x-=e),void 0!==t.y&&(t.y-=r),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,e,r){return void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),i((function(n,i,A,o,a){if(isNaN(o)&&!(n.type&y.MOVE_TO))throw new Error("path must start with moveto");return e&&n.type&y.HORIZ_LINE_TO&&(n.type=y.LINE_TO,n.y=n.relative?0:A),r&&n.type&y.VERT_LINE_TO&&(n.type=y.LINE_TO,n.x=n.relative?0:i),t&&n.type&y.CLOSE_PATH&&(n.type=y.LINE_TO,n.x=n.relative?o-i:o,n.y=n.relative?a-A:a),n.type&y.ARC&&(0===n.rX||0===n.rY)&&(n.type=y.LINE_TO,delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag),n}))},t.NORMALIZE_ST=r,t.QT_TO_C=n,t.INFO=i,t.SANITIZE=function(t){void 0===t&&(t=0),o(t);var e=NaN,r=NaN,n=NaN,A=NaN;return i((function(i,o,a,s,u){var c=Math.abs,l=!1,f=0,h=0;if(i.type&y.SMOOTH_CURVE_TO&&(f=isNaN(e)?0:o-e,h=isNaN(r)?0:a-r),i.type&(y.CURVE_TO|y.SMOOTH_CURVE_TO)?(e=i.relative?o+i.x2:i.x2,r=i.relative?a+i.y2:i.y2):(e=NaN,r=NaN),i.type&y.SMOOTH_QUAD_TO?(n=isNaN(n)?o:2*o-n,A=isNaN(A)?a:2*a-A):i.type&y.QUAD_TO?(n=i.relative?o+i.x1:i.x1,A=i.relative?a+i.y1:i.y2):(n=NaN,A=NaN),i.type&y.LINE_COMMANDS||i.type&y.ARC&&(0===i.rX||0===i.rY||!i.lArcFlag)||i.type&y.CURVE_TO||i.type&y.SMOOTH_CURVE_TO||i.type&y.QUAD_TO||i.type&y.SMOOTH_QUAD_TO){var p=void 0===i.x?0:i.relative?i.x:i.x-o,d=void 0===i.y?0:i.relative?i.y:i.y-a;f=isNaN(n)?void 0===i.x1?f:i.relative?i.x:i.x1-o:n-o,h=isNaN(A)?void 0===i.y1?h:i.relative?i.y:i.y1-a:A-a;var g=void 0===i.x2?0:i.relative?i.x:i.x2-o,v=void 0===i.y2?0:i.relative?i.y:i.y2-a;c(p)<=t&&c(d)<=t&&c(f)<=t&&c(h)<=t&&c(g)<=t&&c(v)<=t&&(l=!0)}return i.type&y.CLOSE_PATH&&c(o-s)<=t&&c(a-u)<=t&&(l=!0),l?[]:i}))},t.MATRIX=a,t.ROTATE=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),o(t,e,r);var n=Math.sin(t),i=Math.cos(t);return a(i,n,-n,i,e-e*i+r*n,r-e*n-r*i)},t.TRANSLATE=function(t,e){return void 0===e&&(e=0),o(t,e),a(1,0,0,1,t,e)},t.SCALE=function(t,e){return void 0===e&&(e=t),o(t,e),a(t,0,0,e,0,0)},t.SKEW_X=function(t){return o(t),a(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return o(t),a(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),o(t),a(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),o(t),a(1,0,0,-1,0,t)},t.A_TO_C=function(){return i((function(t,e,r){return y.ARC===t.type?function(t,e,r){var n,i,o,a;t.cX||s(t,e,r);for(var u=Math.min(t.phi1,t.phi2),c=Math.max(t.phi1,t.phi2)-u,h=Math.ceil(c/90),p=new Array(h),d=e,g=r,v=0;va.maxX&&(a.maxX=t),ta.maxY&&(a.maxY=t),tH&&c(d(r,i.x1,i.x2,i.x,H));for(var v=0,B=p(n,i.y1,i.y2,i.y);vH&&l(d(n,i.y1,i.y2,i.y,H))}if(i.type&y.ARC){c(i.x),l(i.y),s(i,r,n);for(var m=i.xRot/180*Math.PI,w=Math.cos(m)*i.rX,b=Math.sin(m)*i.rX,x=-Math.sin(m)*i.rY,C=Math.cos(m)*i.rY,E=i.phi1i.phi2?[i.phi2+360,i.phi1+360]:[i.phi2,i.phi1],N=E[0],F=E[1],Q=function(t){var e=t[0],r=t[1],n=180*Math.atan2(r,e)/Math.PI;return nN&&HN&&Hs)throw new SyntaxError('Expected positive number, got "'+s+'" at index "'+i+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"');this.curArgs.push(s),this.curArgs.length===b[this.curCommandType]&&(y.HORIZ_LINE_TO===this.curCommandType?n({type:y.HORIZ_LINE_TO,relative:this.curCommandRelative,x:s}):y.VERT_LINE_TO===this.curCommandType?n({type:y.VERT_LINE_TO,relative:this.curCommandRelative,y:s}):this.curCommandType===y.MOVE_TO||this.curCommandType===y.LINE_TO||this.curCommandType===y.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),y.MOVE_TO===this.curCommandType&&(this.curCommandType=y.LINE_TO)):this.curCommandType===y.CURVE_TO?n({type:y.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===y.SMOOTH_CURVE_TO?n({type:y.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===y.QUAD_TO?n({type:y.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===y.ARC&&n({type:y.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!B(A))if(","===A&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==A&&"-"!==A&&"."!==A)if(a)this.curNumber=A,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+A+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==A&&"Z"!==A)if("h"===A||"H"===A)this.curCommandType=y.HORIZ_LINE_TO,this.curCommandRelative="h"===A;else if("v"===A||"V"===A)this.curCommandType=y.VERT_LINE_TO,this.curCommandRelative="v"===A;else if("m"===A||"M"===A)this.curCommandType=y.MOVE_TO,this.curCommandRelative="m"===A;else if("l"===A||"L"===A)this.curCommandType=y.LINE_TO,this.curCommandRelative="l"===A;else if("c"===A||"C"===A)this.curCommandType=y.CURVE_TO,this.curCommandRelative="c"===A;else if("s"===A||"S"===A)this.curCommandType=y.SMOOTH_CURVE_TO,this.curCommandRelative="s"===A;else if("q"===A||"Q"===A)this.curCommandType=y.QUAD_TO,this.curCommandRelative="q"===A;else if("t"===A||"T"===A)this.curCommandType=y.SMOOTH_QUAD_TO,this.curCommandRelative="t"===A;else{if("a"!==A&&"A"!==A)throw new SyntaxError('Unexpected character "'+A+'" at index '+i+".");this.curCommandType=y.ARC,this.curCommandRelative="a"===A}else e.push({type:y.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=A,this.curNumberHasDecimal="."===A}else this.curNumber+=A,this.curNumberHasDecimal=!0;else this.curNumber+=A;else this.curNumber+=A,this.curNumberHasExp=!0;else this.curNumber+=A,this.curNumberHasExpDigits=this.curNumberHasExp}return e},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(e,r){void 0===r&&(r=[]);for(var n=0,i=Object.getPrototypeOf(this).parse.call(this,e);n>>0||(a.test(r)?16:10))}:o})),A.register("aM44H",(function(t,e){t.exports=A("4i4Bd")})),A.register("4i4Bd",(function(t,e){var r=A("6ry8X");t.exports=r})),A.register("4si63",(function(t,e){t.exports=A("e8sS6")})),A.register("e8sS6",(function(t,e){A("bmGKY"),A("73cxO");var r=A("hxAZs");t.exports=r})),A.register("WBEgQ",(function(t,e){t.exports=A("5At5f")})),A.register("5At5f",(function(t,e){var r=A("6NW2f");t.exports=r})),A.register("k19NP",(function(t,e){t.exports=A("5xMpW")})),A.register("5xMpW",(function(t,e){var r=A("9rez4");t.exports=r})),A.register("dTgJe",(function(t,e){t.exports=A("7ir4R")})),A.register("7ir4R",(function(t,e){var r=A("bfLXR");t.exports=r})),A.register("bfLXR",(function(t,e){A("d2ydf"),A("4XLZd"),A("73cxO"),A("bmGKY");var r=A("abEBJ");t.exports=r.Map})),A.register("d2ydf",(function(t,e){var r=A("7yS6S"),n=A("gmjZP");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n)})),A.register("7yS6S",(function(t,e){var r=A("5E5EZ"),n=A("g15Pq"),i=A("7hX06"),o=A("90DaF"),a=A("iFiw0"),s=A("7zzkc"),u=A("18ci4"),c=A("amYFr"),l=A("6gAMl"),f=A("bIq6Y").f,h=A("bdDLZ").forEach,p=A("6ZmCU"),d=A("1mkHK"),g=d.set,v=d.getterFor;t.exports=function(t,e,A){var d,B=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),w=B?"set":"add",y=n[t],b=y&&y.prototype,x={};if(p&&"function"==typeof y&&(m||b.forEach&&!o((function(){(new y).entries().next()})))){d=e((function(e,r){g(u(e,d,t),{type:t,collection:new y}),null!=r&&s(r,e[w],{that:e,AS_ENTRIES:B})}));var C=v(t);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in b)||m&&"clear"==t||a(d.prototype,t,(function(r,n){var i=C(this).collection;if(!e&&m&&!c(r))return"get"==t&&void 0;var A=i[t](0===r?0:r,n);return e?this:A}))})),m||f(d.prototype,"size",{configurable:!0,get:function(){return C(this).collection.size}})}else d=A.getConstructor(e,t,B,w),i.REQUIRED=!0;return l(d,t,!1,!0),x[t]=d,r({global:!0,forced:!0},x),m||A.setStrong(d,t,B),d}})),A.register("7hX06",(function(t,e){var r=A("4ajNl"),n=A("amYFr"),i=A("pm7fe"),o=A("bIq6Y").f,a=A("iS7Li"),s=A("01hBH"),u=a("meta"),c=0,l=Object.isExtensible||function(){return!0},f=function(t){o(t,u,{value:{objectID:"O"+ ++c,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,u)){if(!l(t))return"F";if(!e)return"E";f(t)}return t[u].objectID},getWeakData:function(t,e){if(!i(t,u)){if(!l(t))return!0;if(!e)return!1;f(t)}return t[u].weakData},onFreeze:function(t){return s&&h.REQUIRED&&l(t)&&!i(t,u)&&f(t),t}};r[u]=!0})),A.register("01hBH",(function(t,e){var r=A("90DaF");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))})),A.register("gmjZP",(function(t,e){var r=A("bIq6Y").f,n=A("2LSuG"),i=A("7PU7g"),o=A("7FPY6"),a=A("18ci4"),s=A("7zzkc"),u=A("90b4j"),c=A("4gkPA"),l=A("6ZmCU"),f=A("7hX06").fastKey,h=A("1mkHK"),p=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,A,u){var c=t((function(t,r){a(t,c,e),p(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&s(r,t[u],{that:t,AS_ENTRIES:A})})),h=d(e),g=function(t,e,r){var n,i,A=h(t),o=v(t,e);return o?o.value=r:(A.last=o={index:i=f(e,!0),key:e,value:r,previous:n=A.last,next:void 0,removed:!1},A.first||(A.first=o),n&&(n.next=o),l?A.size++:t.size++,"F"!==i&&(A.index[i]=o)),t},v=function(t,e){var r,n=h(t),i=f(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(c.prototype,{clear:function(){for(var t=h(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=this,r=h(e),n=v(e,t);if(n){var i=n.next,A=n.previous;delete r.index[n.index],n.removed=!0,A&&(A.next=i),i&&(i.previous=A),r.first==n&&(r.first=i),r.last==n&&(r.last=A),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=h(this),n=o(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!v(this,t)}}),i(c.prototype,A?{get:function(t){var e=v(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(c.prototype,"size",{get:function(){return h(this).size}}),c},setStrong:function(t,e,r){var n=e+" Iterator",i=d(e),A=d(n);u(t,e,(function(t,e){p(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=A(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),c(e)}}})),A.register("2ukQu",(function(t,e){t.exports=A("eQ1rj")})),A.register("eQ1rj",(function(t,e){var r=A("8T2Ai");t.exports=r})),A.register("8T2Ai",(function(t,e){A("9TvRW");var r=A("abEBJ");t.exports=r.Reflect.apply})),A.register("9TvRW",(function(t,e){var r=A("5E5EZ"),n=A("7ESPI"),i=A("6c5hE"),o=A("kxeYw"),a=A("90DaF"),s=n("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!a((function(){s((function(){}))}))},{apply:function(t,e,r){return i(t),o(r),s?s(t,e,r):u.call(t,e,r)}})})),A.register("eYsRo",(function(t,e){t.exports=A("dgpj4")})),A.register("dgpj4",(function(t,e){var r=A("9D6Kj");t.exports=r})),A.register("9D6Kj",(function(t,e){A("4l21K");var r=A("abEBJ");t.exports=r.Reflect.getPrototypeOf})),A.register("4l21K",(function(t,e){var r=A("5E5EZ"),n=A("kxeYw"),i=A("f8ysz");r({target:"Reflect",stat:!0,sham:!A("kIlTQ")},{getPrototypeOf:function(t){return i(n(t))}})})),A.register("th98W",(function(e,r){function n(t){return n="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},n(t)}t(e.exports,"canvasRGBA",(()=>a)); +/** +* StackBlur - a fast almost Gaussian Blur For Canvas +* +* In case you find this class useful - especially in commercial projects - +* I am not totally unhappy for a small donation to my PayPal account +* mario@quasimondo.de +* +* Or support me on flattr: +* {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}. +* +* @module StackBlur +* @author Mario Klingemann +* Contact: mario@quasimondo.com +* Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html} +* Twitter: @quasimondo +* +* @copyright (c) 2010 Mario Klingemann +* +* Permission is hereby granted, free of charge, to any person +* obtaining a copy of this software and associated documentation +* files (the "Software"), to deal in the Software without +* restriction, including without limitation the rights to use, +* copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following +* conditions: +* +* The above copyright notice and this permission notice shall be +* included in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +*/ +var i=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],A=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function o(t,e,r,i,A){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==n(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=t.getContext("2d");try{return o.getImageData(e,r,i,A)}catch(t){throw new Error("unable to access image data: "+t)}}function a(t,e,r,n,a,u){if(!(isNaN(u)||u<1)){u|=0;var c=o(t,e,r,n,a);c=function(t,e,r,n,o,a){for(var u,c=t.data,l=2*a+1,f=n-1,h=o-1,p=a+1,d=p*(p+1)/2,g=new s,v=g,B=1;B>C;if(c[b+3]=J,0!==J){var Z=255/J;c[b]=(R*x>>C)*Z,c[b+1]=(M*x>>C)*Z,c[b+2]=(D*x>>C)*Z}else c[b]=c[b+1]=c[b+2]=0;R-=I,M-=P,D-=O,K-=k,I-=m.r,P-=m.g,O-=m.b,k-=m.a;var $=W+a+1;$=y+($>C,ut>0?(ut=255/ut,c[Ft]=(pt*x>>C)*ut,c[Ft+1]=(dt*x>>C)*ut,c[Ft+2]=(gt*x>>C)*ut):c[Ft]=c[Ft+1]=c[Ft+2]=0,pt-=ct,dt-=lt,gt-=ft,vt-=ht,ct-=m.r,lt-=m.g,ft-=m.b,ht-=m.a,Ft=At+((Ft=Nt+p)GoFullPage: Editor
\ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/emoji-smiling-face-16-20.de75cec0.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/emoji-smiling-face-16-20.de75cec0.png new file mode 100644 index 0000000..93cb20b Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/emoji-smiling-face-16-20.de75cec0.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/emoji-smiling-face-16-20@2x.5ff79d8e.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/emoji-smiling-face-16-20@2x.5ff79d8e.png new file mode 100644 index 0000000..95a5ecd Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/emoji-smiling-face-16-20@2x.5ff79d8e.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/hand2.ea55fedf.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/hand2.ea55fedf.png new file mode 100644 index 0000000..c614d9e Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/hand2.ea55fedf.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/hand2@2x.88cf7bd5.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/hand2@2x.88cf7bd5.png new file mode 100644 index 0000000..486cb24 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/hand2@2x.88cf7bd5.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-999.d93044ad.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-999.d93044ad.png new file mode 100644 index 0000000..f5f5485 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-999.d93044ad.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-back-arrow.1a17d8ea.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-back-arrow.1a17d8ea.svg new file mode 100644 index 0000000..18554aa --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-back-arrow.1a17d8ea.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-btn-delete.f78c5ab3.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-btn-delete.f78c5ab3.svg new file mode 100644 index 0000000..3015beb --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-btn-delete.f78c5ab3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-btn-download.6a1b3bd6.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-btn-download.6a1b3bd6.svg new file mode 100644 index 0000000..6d55d14 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-btn-download.6a1b3bd6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-camera-fm.39046717.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-camera-fm.39046717.svg new file mode 100644 index 0000000..49efd03 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-camera-fm.39046717.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-delete-hover.77cb32ed.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-delete-hover.77cb32ed.svg new file mode 100644 index 0000000..2dd4c9b --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-delete-hover.77cb32ed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-delete.d7c815ae.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-delete.d7c815ae.svg new file mode 100644 index 0000000..6425e22 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-delete.d7c815ae.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-hover.7b5b27e0.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-hover.7b5b27e0.svg new file mode 100644 index 0000000..038c099 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-hover.7b5b27e0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-pdf-hover.09f623c9.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-pdf-hover.09f623c9.svg new file mode 100644 index 0000000..65ab36a --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-pdf-hover.09f623c9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-pdf.df590c8e.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-pdf.df590c8e.svg new file mode 100644 index 0000000..085b8ab --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download-pdf.df590c8e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download.4871d5aa.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download.4871d5aa.svg new file mode 100644 index 0000000..8a6227d --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-download.4871d5aa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-pin-example.d2caa1ed.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-pin-example.d2caa1ed.png new file mode 100644 index 0000000..76c3c9c Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-pin-example.d2caa1ed.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-pin-example@2x.68b8618d.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-pin-example@2x.68b8618d.png new file mode 100644 index 0000000..899b8ba Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-pin-example@2x.68b8618d.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-puzzle-piece.bf2b8f2a.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-puzzle-piece.bf2b8f2a.png new file mode 100644 index 0000000..2a667bd Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-puzzle-piece.bf2b8f2a.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-puzzle-piece@2x.727cf138.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-puzzle-piece@2x.727cf138.png new file mode 100644 index 0000000..788fe81 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-extensions-puzzle-piece@2x.727cf138.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-files-hover.d768926f.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-files-hover.d768926f.svg new file mode 100644 index 0000000..d545365 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-files-hover.d768926f.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-files.4c5993bb.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-files.4c5993bb.svg new file mode 100644 index 0000000..0070116 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-files.4c5993bb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-issue-hover.dbd4fd1d.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-issue-hover.dbd4fd1d.svg new file mode 100644 index 0000000..6c2e249 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-issue-hover.dbd4fd1d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-issue.9b4ffe88.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-issue.9b4ffe88.svg new file mode 100644 index 0000000..48ff970 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-issue.9b4ffe88.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-settings-hover.6611fd12.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-settings-hover.6611fd12.svg new file mode 100644 index 0000000..9765ff0 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-settings-hover.6611fd12.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-settings.d626a384.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-settings.d626a384.svg new file mode 100644 index 0000000..c059ec2 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/icon-settings.d626a384.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/ajax-loader.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/ajax-loader.gif new file mode 100644 index 0000000..f8f3dff Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/ajax-loader.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/anim.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/anim.gif new file mode 100644 index 0000000..42fcb13 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/anim.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/anim@2x.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/anim@2x.gif new file mode 100644 index 0000000..bda53db Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/anim@2x.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-gofullpage-pinned.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-gofullpage-pinned.png new file mode 100644 index 0000000..2c06087 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-gofullpage-pinned.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-gofullpage-pinned@2x.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-gofullpage-pinned@2x.png new file mode 100644 index 0000000..0ae42b9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-gofullpage-pinned@2x.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pin-example.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pin-example.png new file mode 100644 index 0000000..36d5194 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pin-example.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pin-example@2x.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pin-example@2x.png new file mode 100644 index 0000000..e4c7439 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pin-example@2x.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pinned.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pinned.png new file mode 100644 index 0000000..3779825 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pinned.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pinned@2x.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pinned@2x.png new file mode 100644 index 0000000..c6c4b5f Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-pinned@2x.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-puzzle-piece.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-puzzle-piece.png new file mode 100644 index 0000000..bcca0f9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-puzzle-piece.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-puzzle-piece@2x.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-puzzle-piece@2x.png new file mode 100644 index 0000000..f92af1d Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-puzzle-piece@2x.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-unpinned.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-unpinned.png new file mode 100644 index 0000000..02b5d59 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-unpinned.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-unpinned@2x.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-unpinned@2x.png new file mode 100644 index 0000000..6613876 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/chrome/icon-extensions-unpinned@2x.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon-999.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon-999.png new file mode 100644 index 0000000..0c69b89 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon-999.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon.png new file mode 100644 index 0000000..d0f05db Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon128-999.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon128-999.png new file mode 100644 index 0000000..2d24ddc Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon128-999.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon128.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon128.png new file mode 100644 index 0000000..08489cd Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon128.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon16-999.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon16-999.png new file mode 100644 index 0000000..3fa76c0 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon16-999.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon16.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon16.png new file mode 100644 index 0000000..244fbe9 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon16.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon48-999.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon48-999.png new file mode 100644 index 0000000..a862cf8 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon48-999.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon48.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon48.png new file mode 100644 index 0000000..2e0d354 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icon48.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-account.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-account.svg new file mode 100644 index 0000000..9896b18 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-account.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-back-arrow.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-back-arrow.svg new file mode 100644 index 0000000..156c2a8 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-back-arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-btn-delete.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-btn-delete.svg new file mode 100644 index 0000000..17fd179 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-btn-delete.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-btn-download.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-btn-download.svg new file mode 100644 index 0000000..6ca8cce --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-btn-download.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-camera-fm.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-camera-fm.svg new file mode 100644 index 0000000..7c3e7c5 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-camera-fm.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-camera.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-camera.svg new file mode 100644 index 0000000..3e6c279 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-camera.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-delete-hover.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-delete-hover.svg new file mode 100644 index 0000000..dc80aab --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-delete-hover.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-delete.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-delete.svg new file mode 100644 index 0000000..7eecbf8 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-delete.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-hover.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-hover.svg new file mode 100644 index 0000000..8f74993 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-hover.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-pdf-hover.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-pdf-hover.svg new file mode 100644 index 0000000..5383031 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-pdf-hover.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-pdf.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-pdf.svg new file mode 100644 index 0000000..2a15bad --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download-pdf.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download.svg new file mode 100644 index 0000000..39312b2 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-download.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-files-hover.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-files-hover.svg new file mode 100644 index 0000000..515e6cc --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-files-hover.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-files.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-files.svg new file mode 100644 index 0000000..1835411 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-files.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-issue-hover.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-issue-hover.svg new file mode 100644 index 0000000..c813270 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-issue-hover.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-issue.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-issue.svg new file mode 100644 index 0000000..d25efe6 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-issue.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-settings-hover.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-settings-hover.svg new file mode 100644 index 0000000..a6a7755 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-settings-hover.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-settings.svg b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-settings.svg new file mode 100644 index 0000000..0639879 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/icons/icon-settings.svg @@ -0,0 +1,3 @@ + + + diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/loader.gif b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/loader.gif new file mode 100644 index 0000000..521a291 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/loader.gif differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/promo-440-280.png b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/promo-440-280.png new file mode 100644 index 0000000..367eb69 Binary files /dev/null and b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/images/promo-440-280.png differ diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/js/background/index.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/js/background/index.js new file mode 100644 index 0000000..5d70955 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/js/background/index.js @@ -0,0 +1,2 @@ +chrome.runtime.onInstalled.addListener((function(e){if("install"===e.reason){const e=chrome.runtime.getURL("/welcome.html");chrome.tabs.create({url:e})}})); +//# sourceMappingURL=index.js.map diff --git a/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/js/page/index.js b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/js/page/index.js new file mode 100644 index 0000000..c67f7a1 --- /dev/null +++ b/BraveSoftware/Brave-Browser/Default/Extensions/fdpohaocaechififmbbbbbknoalclacl/8.3_0/js/page/index.js @@ -0,0 +1,2 @@ +(()=>{var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};const e="capture",o="captureComplete",i="captureError",n="captureFrame",r="checkExists",s="log",l="scrollPage";function a(t,e,o,i,n,r,s){try{var l=t[r](s),a=l.value}catch(t){return void o(t)}l.done?e(a):Promise.resolve(a).then(i,n)}function d(t){return function(){var e=this,o=arguments;return new Promise((function(i,n){var r=t.apply(e,o);function s(t){a(r,i,n,s,l,"next",t)}function l(t){a(r,i,n,s,l,"throw",t)}s(void 0)}))}}function c(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function h(t){for(var e=1;e0&&n[n.length-1])||6!==l[0]&&2!==l[0])){s=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]p.has(t.tagName.toLowerCase()),m=(t,e)=>{e=null!=e?e:f(t);let o=t.getBoundingClientRect(),i=o.width,n=o.height,r=0,s=0,l=t;for(;l;){r+=l.offsetLeft,l===document.body?s+=l.getBoundingClientRect().top+window.scrollY:s+=l.offsetTop;let t=w(l);t&&(r+=t.m41,s+=t.m42),l=l.offsetParent}let a={left:r,top:s,width:i,height:n};if(e){let e=b(t);a.box=e,a.left+=e.left,a.top+=e.top,a.width-=e.left+e.right,a.height-=e.top+e.bottom}return a},y=(t,e)=>0!=t.width&&0!=t.height&&t.left+t.width>0&&t.left0&&t.top{if(window.DOMMatrix||window.WebKitCSSMatrix){let e=window.getComputedStyle(t),o=e.transform||e.webkitTransform;return window.DOMMatrix?new window.DOMMatrix(o):new window.WebKitCSSMatrix(o)}},b=t=>{let e=window.getComputedStyle(t);return{left:x(e,["borderLeftWidth","paddingLeft"]),right:x(e,["borderRightWidth","paddingRight"]),top:x(e,["paddingTop","borderTopWidth"]),bottom:x(e,["paddingBottom","borderBottomWidth"])}},x=(t,e)=>e.reduce(((e,o)=>e+v(t[o])),0),v=t=>{let e=parseFloat(t);return isNaN(e)?0:e},S={isBfs:!1,autoAdd:!1,onlyElementNodes:!0,ignoreNodeNames:new Set(["SCRIPT","HEAD","STYLE","LINK","META"]),ignoreHidden:!0};const E=t=>parseInt(t,10);var k=class{hasNext(){return this.search.length>0}next(){const t=this.isBfs?this.search.shift():this.search.pop();return this.autoAdd&&this.addAll(t.childNodes),t}addAll(t){let e=Array.from(t);return(this.onlyElementNodes||this.ignoreHidden)&&(e=e.filter((t=>t.nodeType===t.ELEMENT_NODE))),this.ignoreNodeNames&&(e=e.filter((t=>!this.ignoreNodeNames.has(t.nodeName)))),this.ignoreHidden&&(e=e.filter((t=>!this.isHidden(t)))),this.search.push(...e),this}isHidden(t){if(!function(t){return t&&t.nodeType===Node.ELEMENT_NODE||!1}(t))return!1;const e=getComputedStyle(t);return"none"===e.display||"hidden"===e.visibility||(0===E(e.height)&&"hidden"===e.overflowY&&"static"!==e.position||0===E(e.width)&&"hidden"===e.overflowX&&"static"!==e.position)}constructor(t,e){this.root=t||document.body||document.documentElement,e=e||{};const o=Object.keys(e).filter((t=>!(t in S)));if(o.length)throw new Error(`Invalid SearchNodes keys: ${o.join(", ")}`);e=h({},S,e),this.isBfs=e.isBfs,this.autoAdd=e.autoAdd,this.onlyElementNodes=e.onlyElementNodes,this.ignoreNodeNames=e.ignoreNodeNames,this.ignoreHidden=e.ignoreHidden,this.search=this.root?[this.root]:[]}};const H={ERROR:40,WARN:30,INFO:20,DEBUG:10,NOTSET:0};let O=H.INFO;try{const t=window.localStorage.getItem("__fploglevel");if(t&&/^\d+$/.test(t)){const e=parseInt(t,10);O=e}}catch(t){}const $=(t,e,o)=>{if(!(tfunction(...i){N[!0===o?"groupCollapsed":"group"](t);try{let t=e.apply(this,i);if(_(t)){let e=!1;return t.then((t=>(e=!0,N.groupEnd(),t))).catch((t=>{throw e||(e=!0,N.groupEnd()),t}))}return N.groupEnd(),t}catch(t){throw N.groupEnd(),t}},_=t=>null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch,W=()=>{let t=/Chrome\/([0-9]+)/.exec(navigator.userAgent);return t&&"49"===t[1]};const P=new class{_findByDim(t,e){const o=e?"vertical":"horizontal",i=window.innerWidth,n=window.innerHeight;let r=0,s=t,l=null,a=null,d=new k(t);for(;d.hasNext();){let t=!1;const o=d.next(),c=o[e?"offsetHeight":"offsetWidth"],h=o[e?"scrollHeight":"scrollWidth"];if(h>c+5&&c>50&&h>r&&o[e?"offsetWidth":"offsetHeight"]>40){const d=window.getComputedStyle(o),c=d[e?"overflowY":"overflowX"],u=e?["ps-active-y","ps--active-y"]:["ps-active-x","ps--active-x"],g=["ps","ps-container"].some((t=>o.classList.contains(t)))&&u.some((t=>o.classList.contains(t)));if("none"!==d.pointerEvents&&("hidden"!==c&&"visible"!==c||g)){const e=m(o),c=18;e.left+c>=0&&e.left+e.width<=i+c&&e.top+c>=0&&e.top+e.height<=n+c?(a=e,r=h,s=o,l=d,t=!0):C.debug("ScrollFinder extra off-screen check failed",o)}else C.debug("ScrollFinder elt off screen",o)}t||d.addAll(o.childNodes)}a=a||m(s);let c=a.height,h=a.width,u=s.scrollWidth,g=s.scrollHeight;if("hidden"===(l&&l[e?"overflowX":"overflowY"]))if(e){let t=parseFloat(l.paddingLeft)||0,e=parseFloat(l.paddingRight)||0;a.left+=t,h-=t+e,u-=e+e}else{let t=parseFloat(l.paddingTop)||0,e=parseFloat(l.paddingBottom)||0;a.top+=t,c-=t+e,g-=e+e}if(s===document.body)return C.debug(`Skip ScrollFinder ${o}: max_elt is body`),null;if(t!==document.body&&s===t&&Math.abs(u-h)<=2&&Math.abs(g-c)<=2)return C.debug(`Skip ScrollFinder ${o}: max_elt is root and not scrollable`),null;let p=a.left;return s.classList.contains("bodyCells")&&document.querySelector(".pivotTableContainer .bodyCells")===s&&(h=p+h,p=0),a.left+h>innerWidth&&a.leftinnerHeight&&a.top{let s=m(o),l=s.width,a=s.height,d=l*a;if(d>=i&&d>n&&s.left+18>=0&&s.left+s.width<=t+18&&s.top+18>=0&&s.top+s.height<=e+18){n=d;let t=s.left,e=s.top;r={type:"frame",frame:o,width:l,height:a,top:e,left:t,url:o.src,tagName:o.nodeName.toLowerCase(),bottom:e+a,right:t+l,ready:!1}}})),null!==r?r:null}bodyBg(){const t=[document.body,document.documentElement].filter((t=>t));for(;t.length;){const e=t.shift(),o=window.getComputedStyle(e).backgroundColor||"";if("transparent"!==o&&!o.match(/^rgba\(\d+,\s*\d+,\s*\d+,\s*0\)$/))return o}return"#ffffff"}constructor(){c(this,"empty",(()=>({type:"empty"}))),c(this,"find",T("ScrollFinder.find",((t,e,o,i,n)=>{const r=this.empty(),s=o>t+15,l=i>e+15;if(s||l){const n=`${o} > ${t} + 15`,a=`${i} > ${e} + 15`;return C.debug(`Skip ScrollFinder: widthCheck(${n}, [${s}]) OR heightCheck(${a}, [${l}])`),r}if("chrome-extension:"===window.location.protocol&&"/editor.html"===window.location.pathname)return r;if(!(n=n||document.body))return C.debug("Skip ScrollFinder: no document.body"),r;if(!f(n)){let t=!0;"trello.com"===window.location.hostname&&(t=!1);const e=this._findByDim(n,t);if(e&&e.elt!==document.body)return e;const o=this._findByDim(n,!t);if(o&&o.elt!==document.body)return o;if(e||o)return e||o}return this._findFrame(t,e)||r})))}};var A=P;function F(t){if(Array.isArray(t))return t}function B(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function M(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o=1&&e<=31||127==e||0==n&&e>=48&&e<=57||1==n&&e>=48&&e<=57&&45==s?"\\"+e.toString(16)+" ":0==n&&1==i&&45==e||!(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?"\\"+o.charAt(n):o.charAt(n):r+="�";return r};return t.CSS||(t.CSS={}),t.CSS.escape=e,e}(void 0!==t?t:j);const D=(t,e,o)=>{if(t.scrollTo&&"function"==typeof t.scrollTo)t.scrollTo(e,o);else{const i=t;i.scrollLeft=e,i.scrollTop=o}};const Y={containsElt:function(t,e){for(;e;){if(e===t)return!0;e=e.parentNode}return!1},findClass:function(t,e){return Array.from((e||document).getElementsByClassName(t))}};q=d((function(t,e){var o,i,n;return g(this,(function(r){return o=t.length,i=void 0===e,[2,(n=(r,s)=>{if(r>=o)return s;let l;return l=i?t[r]():e(t[r]),function(t){return t&&"object"==typeof t&&t.then&&"function"==typeof t.then}(l)?l.then((t=>n(r+1,t))):n(r+1,l)})(0,void 0)]}))}));var q;const z=(t,e)=>new Promise((o=>{window.setTimeout((()=>o(e)),t)})),X=(t,e,o,i,n)=>new Promise(((r,s)=>{let l;e&&(l=window.setTimeout((()=>{n&&n.delete(l);let t=`Promise timed out after ${e}ms`;o&&(t+=" "+o);const r=new Error(t);if(r.name="PromiseTimeout",i){!1===i(r,e)&&s(r)}else s(r)}),e),n&&n.add(l)),t.then((t=>{window.clearTimeout(l),n&&n.delete(l),r(t)})).catch((t=>{n&&n.delete(l),s(t)}))})),G=t=>{t.forEach((t=>window.clearTimeout(t))),t.clear()},U=t=>(t=>new Promise(((e,o)=>{const i=new Image;i.onerror=t=>o(t),i.onload=()=>e(i),i.src=t})))(t).then((e=>({img:e,src:t,width:e.width,height:e.height}))),J=!1,Z=new Set(["absolute","fixed","relative","sticky"]),K=function(){let t=[],e=[];const o={_stack:t,_fixedStack:e,init:()=>{o.add(document.documentElement,{scrollBehavior:"auto"});let t=document.body;t&&"scroll"===window.getComputedStyle(t).overflowY&&o.add(t,{overflowY:"visible"}),o._initHangingAbsolutes(),o._initFixedPseudos(),o.hideScrollbars(),o.parallaxHacks(),o.disableTransitions(),o.hacks()},_add:(t,e,i)=>{if(t&&t.style){let n=t.style.cssText;o._applyStyles(t,e),i.push({action:"css",elt:t,before:n,after:t.style.cssText})}},add:(e,i)=>o._add(e,i,t),addFixed:(t,i)=>o._add(t,i,e),_pop:t=>{let e=t.pop();if(e)switch(e.action){case"new_elt":e.elt.parentNode&&e.elt.parentNode.removeChild(e.elt);break;case"removed_attr":e.elt.setAttribute(e.attr,e.value);break;case"func":e.undo();break;default:e.elt.style.cssText=e.before}return e},popAll:()=>{for(J,C.debug("Styles popping stack",t.length);t.length;)o._pop(t)},popAllFixed:t=>{const i=t?[document.querySelector("header.fusion-header-wrapper")].filter((t=>t)):[],n=[];for(;e.length;){if(i.length){const t=e[e.length-1];if("func"!==t.action){const o=t.elt,r=i.find((t=>Y.containsElt(t,o)));if(r){C.debug("skipping popFixed for",o,"because child of ",r),n.push(e.pop());continue}}}o._pop(e)}n.length&&(e=o._fixedStack=n)},_initHangingAbsolutes:()=>{let t=document.body;if(!t)return;const e=window.getComputedStyle(t);if(o.isPositioned(e.position))return;let i=[],n=new k(document.body);for(;n.hasNext();){let t=n.next(),e=window.getComputedStyle(t),r=e.position;if("absolute"===r){const n=t.nodeName.toLowerCase();({iframe:!0,img:!0})[n]&&o.pxToInt(e.width)<=5&&o.pxToInt(e.height)<=5?C.debug(`skip hanging elt, small ${n}`,t):i.push({elt:t,style:e})}else o.isPositioned(r)||n.addAll(t.childNodes)}let r=t.getBoundingClientRect(),s=r.left+window.scrollX,l=r.top+window.scrollY;i.forEach((t=>{let i=t.elt,n=t.style,r=n.width,a=n.height,d=o.pxToFloat(n.left),c=o.pxToFloat(n.top)+o.pxToFloat(e.marginTop),h={width:r,height:a,left:d-s+"px",top:c-l+"px",right:"auto",bottom:"auto"};C.debug("fix hanging abs",i,h),o.add(i,h)}))},isPositioned:t=>Z.has(t),_initFixedPseudos:()=>{if(!document.body)return;let t=new k(document.body);for(;t.hasNext();){let e=t.next(),i=e.getBoundingClientRect();if(i.width>.75*window.innerWidth&&i.height>.75*window.innerHeight){let i=!1;["::before","::after"].forEach((t=>{if("fixed"===window.getComputedStyle(e,t).position){i=!0,e.id||(e.id=tt.next());let n=`#${window.CSS.escape(e.id)}${t}`,r=`${n} { position: absolute; }`;o.addStyleSheet(r),C.debug("fixed pseudo",n)}})),i||t.addAll(e.childNodes)}}},initFixed:()=>{let t=document.body&&window.getComputedStyle(document.body);if(t&&"absolute"!==t.position){let e={position:"relative"};if("inline"===t.display&&(e.display="block"),0===o.pxToInt(t.width)||0===o.pxToInt(t.height))return C.debug("Body has no area, hiding background"),void o.add(document.body,{backgroundColor:"transparent",backgroundImage:"none"});let i=!1;if("none"===t.maxWidth&&0===o.pxToInt(t.minWidth)&&0===o.pxToInt(t.marginLeft)&&(e.minWidth="100vw",i=K.isBoxSizingRisky(t)),"none"===t.maxHeight&&0===o.pxToInt(t.minHeight)&&(e.minHeight="100vh",i=i||K.isBoxSizingRisky(t,!0)),"0px"!==t.marginTop){let n=o.pxToInt(t.paddingTop)+o.pxToInt(t.marginTop);e.paddingTop=`${n}px`,e.marginTop="0px",i=!0}if("0px"!==t.marginBottom){let n=o.pxToInt(t.paddingBottom)+o.pxToInt(t.marginBottom);e.paddingBottom=`${n}px`,e.marginBottom="0px",i=!0}i&&(e.boxSizing="border-box"),o.add(document.body,e)}},updateFixed:(t,e,i,n,r,s)=>{let l=!1;let a=o._getFixedAndStickyElts(t,s),d=a.fixed,c=a.sticky,h=a.fixedBg,u=a.fixedHeader;e||u.forEach((t=>{C.debug("hide fixed header",t),o.addFixed(t,{visibility:"hidden",overflow:"hidden"})}));d.forEach((t=>{C.group("fixed -> absolute"),C.debug(t),(t=>{if("fixed"===t.dataset.position&&t.classList.contains("siteBackgroundcurrent"))return void C.debug("%cskip bgimage","color:pink");let e=window.getComputedStyle(t),r=o.pxToFloat(e.left),s=o.pxToFloat(e.right),l=o.pxToFloat(e.top),a=o.pxToFloat(e.bottom),d=o.pxToFloat(e.width),c=o.pxToFloat(e.height),h=t.scrollHeight,u=e.overflowY,g=(p=t).computedStyleMap?p.computedStyleMap():null;var p;let f={};["left","right","top","bottom","width","height"].forEach((t=>{f[t]=g&&"auto"!==g.get(t).value})),o.addFixed(t,{position:"absolute",transition:"none"});const y=t.offsetParent;if(!y)return void C.warn("No offsetParent for",t);let w=m(y),b=r-w.left,x=s-(n-(w.left+w.width)),v=l-w.top,S=a-(i-(w.top+w.height)),E=Object.entries(f).filter((t=>{let e=L(t,2);return e[0],e[1]})).map((t=>{let e=L(t,2),o=e[0];return e[1],o})).join(","),k=["left","top","width","height"].map((t=>w[t])).join(",");C.groupCollapsed("Fixed attrs"),C.debug(`oldLeft=${r} (${e.left})`),C.debug(`oldRight=${s} (${e.right})`),C.debug(`oldTop=${l} (${e.top})`),C.debug(`oldBottom=${a} (${e.bottom})`),C.debug(`oldWidth=${d}, (${e.width})`),C.debug(`oldHeight=${c}, (${e.height})`),C.debug(`oldScrollHeight=${h}`),C.debug(`oldOverflowY=${u}`),C.debug(`specified?=${E}`),C.debug(`parOffset=${k}`,y),C.debug(`top=${v}`),C.debug(`bottom=${S}`),C.debug(`left=${b}`),C.debug(`right=${x}`),C.groupEnd();let H=!1,O={};if(!isNaN(b)&&b<=0?(H=!0,f.left||f.right?(f.left&&(O.left=`${b}px`),f.right&&(O.right=`${x}px`)):O.left=`${b}px`):f.right&&!isNaN(x)&&(H=!0,O.right=`${x}px`),!isNaN(v)&&v<=0){H=!0;let e=c;"scroll"!==u&&"auto"!==u||(e=Math.max(e,h)),O.height=`${e}px`,f.top||f.bottom?(f.top&&f.bottom&&delete O.height,f.top&&(O.top=`${v}px`),f.bottom&&(O.bottom=`${S}px`)):0===a&&0!==t.offsetParent.getBoundingClientRect().height?O.bottom="0px":(O.top=`${v}px`,O.bottom="auto")}else f.bottom&&!isNaN(S)&&(H=!0,0===a&&0!==t.offsetParent.getBoundingClientRect().height?O.bottom="0px":O.bottom=`${S}px`);(O.left?!O.right:O.right)&&f.width&&(O.width=`${d}px`),H&&(O.width&&(O.maxWidth=O.width),O.height&&(O.maxHeight=O.height),C.debug("set",O),o.addFixed(t,O))})(t),C.groupEnd()}));const g=[];if(c.forEach((t=>{C.debug("sticky -> relative",t),o.add(t,{position:"relative",top:"auto",left:"auto",right:"auto",bottom:"auto"}),t.id||(t.id=tt.next()),g.push(t.id)})),g.length){const t=g.map((t=>`#${window.CSS.escape(t)}`)).join(","),e="position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;";o.addStyleSheet(`${t} { ${e} }`)}return h.forEach((t=>{C.debug("fixedBg -> scroll",t);let e=window.getComputedStyle(t),i={backgroundAttachment:"scroll"};if(Q(e.backgroundColor)&&"no-repeat"===e.backgroundRepeat&&(i.backgroundRepeat="repeat"),"cover"===e.backgroundSize){let n=m(t);n.top<0&&(i.backgroundPositionY=-n.top+"px"),i.backgroundSize=`${window.innerWidth}px`,C.debug("...override bg size",t,i);let r=e.backgroundImage.match(/^url\(["']?(.+)["']\)$/);if(r){let e=r[1];U(e).then((e=>{let i,n,r=e.width,s=e.height,l=window.innerHeight,a=window.innerWidth,d=a*s/r;d>=l?(i=a,n=d):(i=l*r/s,n=l),o.add(t,{backgroundSize:`${i}px ${n}px`})})).catch((t=>C.error(t)))}}o.add(t,i)})),r&&r.forEach((t=>{C.debug("overlap -> hidden",t),o.addFixed(t,{visibility:"hidden"})})),l&&C.groupEnd(),d.length+c.length},_getFixedAndStickyElts:(t,e)=>{let i=[],n=[],r=[],s={fixed:i,sticky:n,fixedBg:r,fixedHeader:[]},l=t||document.body;if(!l)return s;let a=new k(l,{autoAdd:!0});for(;a.hasNext();){let t=a.next();if(t===l)continue;let d=window.getComputedStyle(t),c=d.position,h=!1;if(h&&C.debug(`%cINSPECT - position: ${c}`,"color:#fff;background:#F90"),"sticky"===c)n.push(t);else if("fixed"===c){let n=m(t),r=20,l=window.innerHeight-n.top-r;if(n.top