var __wpo = {"assets":{"main":["/packs/base_polyfills.js","/packs/extra_polyfills.js","/packs/features/compose.js","/packs/modals/onboarding_modal.js","/packs/emoji_picker.js","/packs/features/notifications.js","/packs/features/account_timeline.js","/packs/features/home_timeline.js","/packs/features/public_timeline.js","/packs/features/community_timeline.js","/packs/features/direct_timeline.js","/packs/features/pinned_statuses.js","/packs/features/domain_blocks.js","/packs/features/favourited_statuses.js","/packs/features/list_timeline.js","/packs/features/following.js","/packs/features/followers.js","/packs/features/hashtag_timeline.js","/packs/features/account_gallery.js","/packs/features/status.js","/packs/features/lists.js","/packs/modals/report_modal.js","/packs/features/follow_requests.js","/packs/features/mutes.js","/packs/features/blocks.js","/packs/features/reblogs.js","/packs/features/favourites.js","/packs/features/getting_started.js","/packs/features/keyboard_shortcuts.js","/packs/modals/mute_modal.js","/packs/features/generic_not_found.js","/packs/features/list_editor.js","/packs/modals/embed_modal.js","/packs/status/media_gallery.js","/packs/containers/media_container.js","/packs/share.js","/packs/application.js","/packs/about.js","/packs/mailer.js","/packs/mastodon-light.js","/packs/contrast.js","/packs/default.js","/packs/public.js","/packs/admin.js","/packs/common.js","/packs/common.css","/packs/mailer.css","/packs/default.css","/packs/contrast.css","/packs/mastodon-light.css","/packs/manifest.json"],"additional":["/emoji/1f602.svg","/emoji/sheet.png"],"optional":["/packs/locale_zh-TW.js","/packs/locale_zh-HK.js","/packs/locale_zh-CN.js","/packs/locale_uk.js","/packs/locale_tr.js","/packs/locale_th.js","/packs/locale_te.js","/packs/locale_sv.js","/packs/locale_sr.js","/packs/locale_sr-Latn.js","/packs/locale_sl.js","/packs/locale_sk.js","/packs/locale_ru.js","/packs/locale_pt.js","/packs/locale_pt-BR.js","/packs/locale_pl.js","/packs/locale_oc.js","/packs/locale_no.js","/packs/locale_nl.js","/packs/locale_ko.js","/packs/locale_ja.js","/packs/locale_it.js","/packs/locale_io.js","/packs/locale_id.js","/packs/locale_hy.js","/packs/locale_hu.js","/packs/locale_hr.js","/packs/locale_he.js","/packs/locale_gl.js","/packs/locale_fr.js","/packs/locale_fi.js","/packs/locale_fa.js","/packs/locale_eu.js","/packs/locale_es.js","/packs/locale_eo.js","/packs/locale_en.js","/packs/locale_el.js","/packs/locale_de.js","/packs/locale_co.js","/packs/locale_ca.js","/packs/locale_bg.js","/packs/locale_ar.js","/packs/roboto-italic-webfont-50efdad8c62f5f279e3f4f1f63a4f9bc.woff2","/packs/roboto-bold-webfont-f633cb5c651ba4d50791e1adf55d3c18.woff2","/packs/roboto-medium-webfont-69c55fc2fe77d38934ea98dc31642ce6.woff2","/packs/roboto-regular-webfont-3ec24f953ed5e859a6402cb3c030ea8b.woff2","/packs/fontawesome-webfont-af7ae505a9eed503f8b8e6982036873e.woff2","/packs/robotomono-regular-webfont-6c1ce30b90ee993b22618ec489585594.woff2","/packs/Montserrat-Regular-080422d4c1328f3407818d25c86cce51.woff2","/packs/void-65dfe5bd31335a5b308d36964d320574.png","/packs/reticle-7d7ce959271e5ff1193fb32cff90ea56.png","/packs/elephant-fren-d16fd77f9a9387e7d146b5f9d4dc1e7f.png","/packs/icon_cached-98a757f1d9e93652742be43c22f46287.png","/packs/icon_done-12b87c12f915597dccbd2ca4d7167ba4.png","/packs/icon_email-738c89662d6640f5e6539151023d049a.png","/packs/icon_file_download-e5c29678f3a639e1e62374911d85e1d0.png","/packs/icon_grade-3ec67253b37908d2ab783f7225f20682.png","/packs/icon_lock_open-0bfd71a52eb3f34934edd59088b559fb.png","/packs/icon_person_add-e2c6b660f6e1c95785d8d2bfa7a823af.png","/packs/icon_reply-4f6ada7a0b886b084706a484753a0ff0.png","/packs/logo_full-5c51cffe1fcb8225ae02400d6a7e7077.png","/packs/logo_transparent-6f79eeb2c38ec2d12ed4d978322457d6.png","/packs/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","/packs/elephant_ui_plane-e3f2d57c12c376e189c274cbe81af8dd.svg","/packs/elephant_ui_disappointed-8864342480c3612e3061702851d3a798.svg","/packs/elephant_ui_greeting-475430963d0b00fe82b07b17857ebf6c.svg","/packs/elephant_ui_working-2e653cc278c2ac871c23aeb10de1c0e2.svg","/packs/icon_cached-108e30d96e1d5152be7fe2978bcdfe14.svg","/packs/icon_done-dba357bfbba455428787fefc655ce120.svg","/packs/icon_email-1346985c7aaceb601b0d4257133254f4.svg","/packs/icon_file_download-4b5c054e76b0df3cbbc851854cd10c3c.svg","/packs/icon_grade-8e81b8e88c2b5834347a2a226c65d440.svg","/packs/icon_lock_open-c9627928caaaa505ac7de2a64bd065ec.svg","/packs/icon_person_add-5c56ef10b9e99e77a44d89041f4b77b5.svg","/packs/icon_reply-b5e28e1fe6acd4ec003e643e947f1c4a.svg","/packs/logo-fe5141d38a25f50068b4c69b77ca1ec8.svg","/packs/logo_alt-6090911445f54a587465e41da77a6969.svg","/packs/logo_full-96e7a97fe469f75a23a74852b2478fa3.svg","/packs/logo_transparent-6900bab180aa3a46c34425e5367a218f.svg"]},"externals":["/emoji/1f602.svg","/emoji/sheet.png"],"hashesMap":{"8aadd54157395376ea8c22827bde88e67f31358e":"/packs/roboto-italic-webfont-50efdad8c62f5f279e3f4f1f63a4f9bc.woff2","e2fc71044647b6edf7a3ba41429d5d626e63710a":"/packs/roboto-bold-webfont-f633cb5c651ba4d50791e1adf55d3c18.woff2","b66f9a200f8671202198f0238b4729e127bc0dac":"/packs/roboto-medium-webfont-69c55fc2fe77d38934ea98dc31642ce6.woff2","74f352b40a57789750d3c738c710a82cdb0f254a":"/packs/roboto-regular-webfont-3ec24f953ed5e859a6402cb3c030ea8b.woff2","d6f48cba7d076fb6f2fd6ba993a75b9dc1ecbf0c":"/packs/fontawesome-webfont-af7ae505a9eed503f8b8e6982036873e.woff2","1e149b7d5f1c5a5c4971cb523450118b1d50ed47":"/packs/robotomono-regular-webfont-6c1ce30b90ee993b22618ec489585594.woff2","c6aade94b414951dc75e41b6f30fc1fa93bf89fb":"/packs/Montserrat-Regular-080422d4c1328f3407818d25c86cce51.woff2","7e2065071fefe6d54f64b821bf575a0ab49b92c0":"/packs/void-65dfe5bd31335a5b308d36964d320574.png","f7e7808e34f32df8859ac9cef991858df4fc0bba":"/packs/reticle-7d7ce959271e5ff1193fb32cff90ea56.png","8523aa7b16b029770170cc12026e7c7d172d626d":"/packs/elephant_ui_plane-e3f2d57c12c376e189c274cbe81af8dd.svg","027d2ab934afd67b404426234750c08b516ec223":"/packs/elephant-fren-d16fd77f9a9387e7d146b5f9d4dc1e7f.png","2523b7002bda93c12af3b4b7f4d7a35fd52faf41":"/packs/elephant_ui_disappointed-8864342480c3612e3061702851d3a798.svg","2dace1e38e0d159660c56d838ad2ce22c0184661":"/packs/elephant_ui_greeting-475430963d0b00fe82b07b17857ebf6c.svg","42a8fc2f0526540979583534ec331a2d28d2575e":"/packs/elephant_ui_working-2e653cc278c2ac871c23aeb10de1c0e2.svg","22fac75a796b2bd2c6872cbd8d14bd325b00bb64":"/packs/icon_cached-108e30d96e1d5152be7fe2978bcdfe14.svg","e9cea6fd6e8034f60e0358a15956490831c66b03":"/packs/icon_done-dba357bfbba455428787fefc655ce120.svg","17604ec5d343bc1aee070a2197dae8fd78bdccef":"/packs/icon_email-1346985c7aaceb601b0d4257133254f4.svg","e4a88b85b09c072041e89acaa22ec362ece97f27":"/packs/icon_file_download-4b5c054e76b0df3cbbc851854cd10c3c.svg","75a26256446662fb331fd42b9849dfff235364d5":"/packs/icon_grade-8e81b8e88c2b5834347a2a226c65d440.svg","7a534f4811adb70a796a285fb70b93c87a9f4b94":"/packs/icon_lock_open-c9627928caaaa505ac7de2a64bd065ec.svg","08ef53f9228b3d24f2801ba942fc842599c39e34":"/packs/icon_person_add-5c56ef10b9e99e77a44d89041f4b77b5.svg","ad9a0479341f3a93a83c7cadab091569e459076c":"/packs/icon_reply-b5e28e1fe6acd4ec003e643e947f1c4a.svg","aa75bce521938954706802c15e393ea05663e5e0":"/packs/logo-fe5141d38a25f50068b4c69b77ca1ec8.svg","f573db9e5698b7a3541880875c3ce88fe03ebee2":"/packs/logo_alt-6090911445f54a587465e41da77a6969.svg","3b339fcffc64574bca7cd2521e25bfbea8c3cbbf":"/packs/logo_full-96e7a97fe469f75a23a74852b2478fa3.svg","12520e03b958c73d94a1f19644ca4d0b79c6505d":"/packs/logo_transparent-6900bab180aa3a46c34425e5367a218f.svg","dc0b5a8d2d7e67f84d37635137610c6c6d937058":"/packs/icon_cached-98a757f1d9e93652742be43c22f46287.png","58f810df15baa9109f9db7f800e31c0d011e6f0d":"/packs/icon_done-12b87c12f915597dccbd2ca4d7167ba4.png","828ed8086eacb6622609e9992950998ce0a1579b":"/packs/icon_email-738c89662d6640f5e6539151023d049a.png","c60492c5ceea92a0acb138f20e0a33dd1e553f6b":"/packs/icon_file_download-e5c29678f3a639e1e62374911d85e1d0.png","b60349291b7d31e9aa78b94aed0f6ce07171096f":"/packs/icon_grade-3ec67253b37908d2ab783f7225f20682.png","d80b4dd1135df4803cddc1c1f6646dd7fc601367":"/packs/icon_lock_open-0bfd71a52eb3f34934edd59088b559fb.png","3f2c7f54c1073569de3a7312fb9a055723f68898":"/packs/icon_person_add-e2c6b660f6e1c95785d8d2bfa7a823af.png","f7717ae34919e3c88a668b5d9426b5fdc868b0de":"/packs/icon_reply-4f6ada7a0b886b084706a484753a0ff0.png","ee2ae924bf02960749696f2c66890780ca321924":"/packs/logo_full-5c51cffe1fcb8225ae02400d6a7e7077.png","2a2ed7e6889f11e00656cb952d0704f762bf05ea":"/packs/logo_transparent-6f79eeb2c38ec2d12ed4d978322457d6.png","361cf83e570038228710feb587738d6b74308e26":"/packs/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","0fb45947564d68dc0bbd91be0dbc5a7136bab4f5":"/packs/base_polyfills.js","7812e32302926032e284a51e918d1825c06d6e53":"/packs/extra_polyfills.js","f24e2a6d9bcf402d395e97b384434c171bd48a7e":"/packs/features/compose.js","81608c7469ae6758c253a83db4cf38f21668af27":"/packs/modals/onboarding_modal.js","a370b7c9dc5a4dbbf9b395d0ef23a9f26ddb2f43":"/packs/emoji_picker.js","daab18629296fb31dd9b68ccea10e6649e5a3607":"/packs/features/notifications.js","c09182db63f90ed727fcf7b432c84f682ab27976":"/packs/features/account_timeline.js","1907d602efb4c194a268ea78dac2998884a7685f":"/packs/features/home_timeline.js","5065fdfc7eb1fed5ecae1e78d03cb87be5587db4":"/packs/features/public_timeline.js","a7b9aaeb64ae6730c16cab1dd6452e25aa965005":"/packs/features/community_timeline.js","0e09647bb37c02d9bce5194102727c0fa44824a4":"/packs/features/direct_timeline.js","7f4575ea6a089666770792d975cf9a6c3b73a951":"/packs/features/pinned_statuses.js","3a9d9f272dc062de1e57cfc71be64eff5c3b4f8d":"/packs/features/domain_blocks.js","a289064d50abef9e15a6ba808676836cf8413f65":"/packs/features/favourited_statuses.js","c87b661f2f8805a223b830fc25002ee4991a8b10":"/packs/features/list_timeline.js","ae70674f3b3584c8d8a0f916affb5e61965fea0b":"/packs/features/following.js","efb2201f00a91f94508009c21ecf2b4329a86cfc":"/packs/features/followers.js","1f1b06cb36fe4e44111d1439b85e72865b2cd6c0":"/packs/features/hashtag_timeline.js","b78902d36fb4b35631d0b63466dc8e3f4287a34f":"/packs/features/account_gallery.js","933be80da6f970e8f7d5fab215d6a2c493c49cb2":"/packs/features/status.js","a0a75b4ac7fe651d7de027570ef9383393096154":"/packs/features/lists.js","feca5a4619463d9f2a64aed402fe1e5aaf551a60":"/packs/modals/report_modal.js","d6281431c2592686e7b76282a03fd36d1222161b":"/packs/features/follow_requests.js","70112ed2cc0393b18dc45cbfddd2614c8febade6":"/packs/features/mutes.js","901d72e2d8331c649d675d1d31154abd4fbd0a61":"/packs/features/blocks.js","c65b0465ffc04682027f13082d708bac45198fc1":"/packs/features/reblogs.js","21c243e4cbd28b512ef748a6d086c601e00de483":"/packs/features/favourites.js","ff90914e18afb3157ad346eac59d2e3ec3add2c9":"/packs/features/getting_started.js","5d431b7ab9ac331c8f718f9ba839ba4be7e105a0":"/packs/features/keyboard_shortcuts.js","4a86d7eb2028741f840c65441f8bef4d4f03dfa0":"/packs/modals/mute_modal.js","9046a6f6211a7a3dd01f9ce9a66e14b7a53e4e9b":"/packs/features/generic_not_found.js","9c6cb3c93839817870eec437acaab80eff8f2b44":"/packs/features/list_editor.js","9814aee85618f9135ff8bd3913ead6ba63cc44a2":"/packs/modals/embed_modal.js","68bc47d003cfcfc749ff9aca0514a906d91fc5d6":"/packs/status/media_gallery.js","c9ade09bed91eb6f2481482a74de3f23fc78a4ba":"/packs/containers/media_container.js","8e431ae48a39247dc5d68aa251ccc089ac3c9610":"/packs/share.js","19ca3f4de40fc72735626b7546697dfa351c8620":"/packs/application.js","0042cd35f0d2dc9935d5b54a14e1da9a3acde330":"/packs/about.js","79bfa42f9a7796353c5bba422a2fc6fa7e774f62":"/packs/locale_zh-TW.js","266eee8de1a40fa6b9a6b56e9bc4006a21503211":"/packs/locale_zh-HK.js","8e50d89a00b2274d3c4531f4b93585c413133118":"/packs/locale_zh-CN.js","212d8a7601706fed56caddd7297a5257ecfb5efe":"/packs/locale_uk.js","cbe27eed67b21b241da938eec47763640e34849d":"/packs/locale_tr.js","c2e160f8e90726584a8852af7738b9e751846f41":"/packs/locale_th.js","72dd198d23b445bcd07194aefe88b2a2bdb57e05":"/packs/locale_te.js","e94f9c6260e9e33415db85d33b3befb7eb0752fd":"/packs/locale_sv.js","120a1302d442a59ebc581771220b800c4217993d":"/packs/locale_sr.js","b5763faeb1994e02c42d6ad1130482dee439d2a5":"/packs/locale_sr-Latn.js","7bf70dd815c8de7f5ef0a09d4e676715c641ca4c":"/packs/locale_sl.js","ade003c20d36b1538a044e10c582be8518923af1":"/packs/locale_sk.js","750dac0871e60ceef90e45fc2d96e55e34312b8f":"/packs/locale_ru.js","b6bde9303752e2985ee8a70aebf7d9a7a4b04305":"/packs/locale_pt.js","53b6b5055c6678b37fa5ceec5ac19bf4dc750d9b":"/packs/locale_pt-BR.js","1de25964ac78c8a7d8dc7c51835f7c20cf7aa827":"/packs/locale_pl.js","2802023606eb5b0a3eee6f8e2e45d124e6bba33f":"/packs/locale_oc.js","3c603da69adb1dcf4a1880ebbf66597067530de8":"/packs/locale_no.js","c6a64ead7c73c4667cc72a92cb1ec3a7499d4ee6":"/packs/locale_nl.js","e4b84b8e7fa6564a53c6696746d08dfd34be8763":"/packs/locale_ko.js","e462ddcee8adbd4cdefb9bed35a4f9b28d5e8fec":"/packs/locale_ja.js","0752de5766a22725866425ecc682fc1adaa2e9b5":"/packs/locale_it.js","679ecca9d84c8532bafdd831e5895295606b1583":"/packs/locale_io.js","4ef645ebe532e3748434829a16cc045042cb1a2a":"/packs/locale_id.js","61335fd3dc9314ecbac979bd4d33ab3787ce3f95":"/packs/locale_hy.js","fc0f0b8f6eb5662cf322ac35ad19233e904b5539":"/packs/locale_hu.js","494c13e8b4fe5a320721a987d17e0e917870a5cd":"/packs/locale_hr.js","6c3995b2dfe7f7c6b0ce1f632dcf63dd87d1eda7":"/packs/locale_he.js","bc5c119545b64757ef19498d51a5a3b1b49eed77":"/packs/locale_gl.js","2a2f06bd7fc60d464c9e54794aebf9940fd9e67a":"/packs/locale_fr.js","e2470a2bc55d2dc3c2c51310ce968e3c52c8a39e":"/packs/locale_fi.js","54a9963db6352e87472356c4cd2dcbacdae1d15c":"/packs/locale_fa.js","c38fa1588bd36e3033203ffebbc44963708d45d2":"/packs/locale_eu.js","803cce4e32efcab0b33e99fd2e149bed6719a8b7":"/packs/locale_es.js","00e15f192c6fce97df9cbff21ffc813e063facaa":"/packs/locale_eo.js","f1f86ea27d55df80f5bb30d70e2b364e234f1e28":"/packs/locale_en.js","cc7179548e39d21fa9c05efa00ba4080128c4a82":"/packs/locale_el.js","e066f3de442b63cbd08a4ef02860d465645e8a47":"/packs/locale_de.js","92480116876b3f384d52e45276c8d8c5a334d709":"/packs/locale_co.js","b20f0f2ee48c945b454bf8b22c14e84bfb68062f":"/packs/locale_ca.js","6976d8a31a26c6b6648f8a65e88e900d7db62f69":"/packs/locale_bg.js","19153213548eb2d3bbc82b7ed3bf6d9cff2ce020":"/packs/locale_ar.js","b3b5d31fbd0fe26bae44335085678d83eba3a4a5":"/packs/mailer.js","901f362021dece5dbea39ffdf5584a1eae91485d":"/packs/mastodon-light.js","74d98566d7f8670e890ca30abeeff3f8c8003473":"/packs/contrast.js","bc9252096f626f7b6f9ba5d17c1d2cb4512d1f36":"/packs/default.js","e6da96720d21200f510a6cdf9368d6e16bcaeb85":"/packs/public.js","475c15efd2e43dd22e58c726c59a78a1e5d5c131":"/packs/admin.js","cda7455a84f8c2c497666f1b5907dec37213b440":"/packs/common.js","63d5949a7f9065ed25c771b22883444dc420be1d":"/packs/common.css","2a742852e4241f6de4f33884bf01731c08a3851d":"/packs/mailer.css","49094f876a7a664d99ec4d63486a9d6cb1555ffd":"/packs/default.css","3fd0a144d80d41a8a1cc411445ff84006c8bce05":"/packs/contrast.css","227d5beb11e176bb9f988a09a8e3e9b348a564df":"/packs/mastodon-light.css","5cc165491ea9cf143035f9d162e92d8055c397e0":"/packs/manifest.json"},"strategy":"changed","responseStrategy":"cache-first","version":"2018-6-2 16:09:53","name":"webpack-offline:mastodon","pluginVersion":"4.8.4","relativePaths":false}; !function(t){function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="/packs/",n(n.s=2)}([function(t,n,e){var o=e(10),i=o.Symbol;t.exports=i},function(t,n,e){"use strict";function o(t){var n,e,o,a,r=Array.prototype.slice.call(arguments,1);for(n=0,e=r.length;n0?a(o.result).then(s):caches.delete("mastodon-system"))},o.onerror=e,t.close()})})})}e.d(n,"b",function(){return m}),n.a=s;var c=e(5),f=["avatar","avatar_static","header","header_static"],l=8388608,m="storage"in navigator&&"estimate"in navigator.storage},function(t,n,e){"use strict";n.a=function(){return new Promise(function(t,n){if(!("caches"in self&&"getAll"in IDBObjectStore.prototype))return void n();var e=indexedDB.open("mastodon");e.onerror=n,e.onsuccess=function(n){var e=n.target;return t(e.result)},e.onupgradeneeded=function(t){var n=t.target,e=n.result.createObjectStore("accounts",{autoIncrement:!0}),o=n.result.createObjectStore("statuses",{autoIncrement:!0});e.createIndex("id","id",{unique:!0}),e.createIndex("moved","moved"),o.createIndex("id","id",{unique:!0}),o.createIndex("account","account"),o.createIndex("reblog","reblog")}})}},function(t,n,e){"use strict";var o=e(7),i=e.n(o),a=e(22),r=e.n(a),u=e(31),s=e.n(u),c=function(t){return self.registration.getNotifications().then(function(n){if(n.length>=5){var e={title:m("notifications.group",t.data.preferred_locale,{count:n.length+1}),body:n.sort(function(t,n){return t.timestamp2&&void 0!==arguments[2]?arguments[2]:{};return new r.a(s.a[n][t],n).format(e)},p=function(t){return i()(t.replace(//g,"\n").replace(/<\/p>

/g,"\n\n").replace(/<[^>]*>/g,""))},d=function(t){var n=t.data.json(),e=n.access_token,o=n.notification_id,i=n.preferred_locale,a=n.title,r=n.body,u=n.icon;t.waitUntil(c({title:a,body:r,icon:u,tag:o,timestamp:new Date,badge:"/badge.png",data:{access_token:e,preferred_locale:i,url:"/web/notifications"}}).then(function(){return f("/api/v1/notifications/"+o,"get",e)}).then(function(t){var n={};return n.title=m("notification."+t.type,i,{name:t.account.display_name.length>0?t.account.display_name:t.account.username}),n.body=t.status&&p(t.status.content),n.icon=t.account.avatar_static,n.timestamp=t.created_at&&new Date(t.created_at),n.tag=t.id,n.badge="/badge.png",n.image=t.status&&t.status.media_attachments.length>0&&t.status.media_attachments[0].preview_url||void 0,n.data={access_token:e,preferred_locale:i,id:t.status?t.status.id:t.account.id,url:t.status?"/web/statuses/"+t.status.id:"/web/accounts/"+t.account.id},t.status&&t.status.sensitive?(n.data.hiddenBody=p(t.status.content),n.data.hiddenImage=t.status.media_attachments.length>0&&t.status.media_attachments[0].preview_url,n.body=t.status.spoiler_text,n.image=void 0,n.actions=[h(i)]):"mention"===t.type&&(n.actions=[v(i),g(i)]),c(n)}))},h=function(t){return{action:"expand",icon:"/web-push-icon_expand.png",title:m("status.show_more",t)}},v=function(t){return{action:"reblog",icon:"/web-push-icon_reblog.png",title:m("status.reblog",t)}},g=function(t){return{action:"favourite",icon:"/web-push-icon_favourite.png",title:m("status.favourite",t)}},b=function(t){var n=t.find(function(t){return t.focused}),e=t.find(function(t){return"visible"===t.visibilityState});return n||e||t[0]},w=function(t){var n=l(t);return n.body=n.data.hiddenBody,n.image=n.data.hiddenImage,n.actions=[v(t.data.preferred_locale),g(t.data.preferred_locale)],self.registration.showNotification(n.title,n)},y=function(t,n){var e=l(t);return e.actions=e.actions.filter(function(t){return t.action!==n}),self.registration.showNotification(e.title,e)},_=function(t){return self.clients.matchAll({type:"window"}).then(function(n){if(0!==n.length){var e=n.filter(function(t){return/\/web\//.test(t.url)});if(0!==e.length){var o=b(e),i=new URL(t),a=i.pathname;if(a.startsWith("/web/"))return o.focus().then(function(t){return t.postMessage({type:"navigate",path:a.slice("/web/".length-1)})})}else if("navigate"in n[0]){var r=b(n);return r.navigate(t).then(function(t){return t.focus()})}}return self.clients.openWindow(t)})},j=function(t){var n=new Promise(function(n,e){if(t.action)if("expand"===t.action)n(w(t.notification));else if("reblog"===t.action){var o=t.notification.data;n(f("/api/v1/statuses/"+o.id+"/reblog","post",o.access_token).then(function(){return y(t.notification,"reblog")}))}else if("favourite"===t.action){var i=t.notification.data;n(f("/api/v1/statuses/"+i.id+"/favourite","post",i.access_token).then(function(){return y(t.notification,"favourite")}))}else e("Unknown action: "+t.action);else t.notification.close(),n(_(t.notification.data.url))});t.waitUntil(n)};self.addEventListener("push",d),self.addEventListener("notificationclick",j)},function(t,n,e){function o(t){return t=i(t),t&&u.test(t)?t.replace(r,a):t}var i=e(8),a=e(20),r=/&(?:amp|lt|gt|quot|#39);/g,u=RegExp(r.source);t.exports=o},function(t,n,e){function o(t){return null==t?"":i(t)}var i=e(9);t.exports=o},function(t,n,e){function o(t){if("string"==typeof t)return t;if(r(t))return a(t,o)+"";if(u(t))return f?f.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}var i=e(0),a=e(13),r=e(14),u=e(15),s=1/0,c=i?i.prototype:void 0,f=c?c.toString:void 0;t.exports=o},function(t,n,e){var o=e(11),i="object"==typeof self&&self&&self.Object===Object&&self,a=o||i||Function("return this")();t.exports=a},function(t,n,e){(function(n){var e="object"==typeof n&&n&&n.Object===Object&&n;t.exports=e}).call(n,e(12))},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n){function e(t,n){for(var e=-1,o=null==t?0:t.length,i=Array(o);++e",""":'"',"'":"'"},a=o(i);t.exports=a},function(t,n){function e(t){return function(n){return null==t?void 0:t[n]}}t.exports=e},function(t,n,e){"use strict";var o=e(23).default;e(30),n=t.exports=o,n.default=n},function(t,n,e){"use strict";var o=e(24),i=e(29);o.default.__addLocaleData(i.default),o.default.defaultLocale="en",n.default=o.default},function(t,n,e){"use strict";function o(t,n,e){var i="string"==typeof t?o.__parse(t):t;if(!i||"messageFormatPattern"!==i.type)throw new TypeError("A message must be provided as a String or AST.");e=this._mergeFormats(o.formats,e),a.defineProperty(this,"_locale",{value:this._resolveLocale(n)});var r=this._findPluralRuleFunction(this._locale),u=this._compilePattern(i,n,e,r),s=this;this.format=function(n){try{return s._format(u,n)}catch(n){throw n.variableId?new Error("The intl string context variable '"+n.variableId+"' was not provided to the string '"+t+"'"):n}}}var i=e(1),a=e(25),r=e(26),u=e(27);n.default=o,a.defineProperty(o,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),a.defineProperty(o,"__localeData__",{value:a.objCreate(null)}),a.defineProperty(o,"__addLocaleData",{value:function(t){if(!t||!t.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");o.__localeData__[t.locale.toLowerCase()]=t}}),a.defineProperty(o,"__parse",{value:u.default.parse}),a.defineProperty(o,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),o.prototype.resolvedOptions=function(){return{locale:this._locale}},o.prototype._compilePattern=function(t,n,e,o){return new r.default(n,e,o).compile(t)},o.prototype._findPluralRuleFunction=function(t){for(var n=o.__localeData__,e=n[t.toLowerCase()];e;){if(e.pluralRuleFunction)return e.pluralRuleFunction;e=e.parentLocale&&n[e.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+t)},o.prototype._format=function(t,n){var e,o,a,r,u,s,c="";for(e=0,o=t.length;e$t&&($t=Ht,Qt=[]),Qt.push(t))}function r(n,e,o,i){return null!==e&&function(t){var n=1;for(t.sort(function(t,n){return t.descriptionn.description?1:0});n1?a.slice(0,-1).join(", ")+" or "+a[t.length-1]:a[0],o=n?'"'+function(t){function n(t){return t.charCodeAt(0).toString(16).toUpperCase()}return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(t){return"\\x0"+n(t)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(t){return"\\x"+n(t)}).replace(/[\u0100-\u0FFF]/g,function(t){return"\\u0"+n(t)}).replace(/[\u1000-\uFFFF]/g,function(t){return"\\u"+n(t)})}(n)+'"':"end of input","Expected "+e+" but "+o+" found."}(e,o),e,o,i)}function u(){return s()}function s(){var t,n,e;for(t=Ht,n=[],e=c();e!==L;)n.push(e),e=c();return n!==L&&(Zt=t,n=z(n)),t=n}function c(){var t;return t=l(),t===L&&(t=p()),t}function f(){var t,e,o,i,a,r;if(t=Ht,e=[],o=Ht,i=k(),i!==L?(a=E(),a!==L?(r=k(),r!==L?(i=[i,a,r],o=i):(Ht=o,o=L)):(Ht=o,o=L)):(Ht=o,o=L),o!==L)for(;o!==L;)e.push(o),o=Ht,i=k(),i!==L?(a=E(),a!==L?(r=k(),r!==L?(i=[i,a,r],o=i):(Ht=o,o=L)):(Ht=o,o=L)):(Ht=o,o=L);else e=L;return e!==L&&(Zt=t,e=U(e)),t=e,t===L&&(t=Ht,e=x(),t=e!==L?n.substring(t,Ht):e),t}function l(){var t,n;return t=Ht,n=f(),n!==L&&(Zt=t,n=M(n)),t=n}function m(){var t,e,o;if((t=P())===L){if(t=Ht,e=[],T.test(n.charAt(Ht))?(o=n.charAt(Ht),Ht++):(o=L,0===Xt&&a(I)),o!==L)for(;o!==L;)e.push(o),T.test(n.charAt(Ht))?(o=n.charAt(Ht),Ht++):(o=L,0===Xt&&a(I));else e=L;t=e!==L?n.substring(t,Ht):e}return t}function p(){var t,e,o,i,r,u,s,c,f;return t=Ht,123===n.charCodeAt(Ht)?(e=N,Ht++):(e=L,0===Xt&&a(D)),e!==L?(o=k(),o!==L?(i=m(),i!==L?(r=k(),r!==L?(u=Ht,44===n.charCodeAt(Ht)?(s=B,Ht++):(s=L,0===Xt&&a(W)),s!==L?(c=k(),c!==L?(f=d(),f!==L?(s=[s,c,f],u=s):(Ht=u,u=L)):(Ht=u,u=L)):(Ht=u,u=L),u===L&&(u=null),u!==L?(s=k(),s!==L?(125===n.charCodeAt(Ht)?(c=V,Ht++):(c=L,0===Xt&&a(G)),c!==L?(Zt=t,e=K(i,u),t=e):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L),t}function d(){var t;return t=h(),t===L&&(t=v())===L&&(t=g())===L&&(t=b()),t}function h(){var t,e,o,i,r,u,s;return t=Ht,n.substr(Ht,6)===H?(e=H,Ht+=6):(e=L,0===Xt&&a(Z)),e===L&&(n.substr(Ht,4)===J?(e=J,Ht+=4):(e=L,0===Xt&&a($)),e===L&&(n.substr(Ht,4)===Q?(e=Q,Ht+=4):(e=L,0===Xt&&a(X)))),e!==L?(o=k(),o!==L?(i=Ht,44===n.charCodeAt(Ht)?(r=B,Ht++):(r=L,0===Xt&&a(W)),r!==L?(u=k(),u!==L?(s=E(),s!==L?(r=[r,u,s],i=r):(Ht=i,i=L)):(Ht=i,i=L)):(Ht=i,i=L),i===L&&(i=null),i!==L?(Zt=t,e=Y(e,i),t=e):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L),t}function v(){var t,e,o,i,r,u;return t=Ht,n.substr(Ht,6)===tt?(e=tt,Ht+=6):(e=L,0===Xt&&a(nt)),e!==L?(o=k(),o!==L?(44===n.charCodeAt(Ht)?(i=B,Ht++):(i=L,0===Xt&&a(W)),i!==L?(r=k(),r!==L?(u=j(),u!==L?(Zt=t,e=et(u),t=e):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L),t}function g(){var t,e,o,i,r,u;return t=Ht,n.substr(Ht,13)===ot?(e=ot,Ht+=13):(e=L,0===Xt&&a(it)),e!==L?(o=k(),o!==L?(44===n.charCodeAt(Ht)?(i=B,Ht++):(i=L,0===Xt&&a(W)),i!==L?(r=k(),r!==L?(u=j(),u!==L?(Zt=t,e=at(u),t=e):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L),t}function b(){var t,e,o,i,r;if(t=Ht,n.substr(Ht,6)===rt?(e=rt,Ht+=6):(e=L,0===Xt&&a(ut)),e!==L)if(k()!==L)if(44===n.charCodeAt(Ht)?(o=B,Ht++):(o=L,0===Xt&&a(W)),o!==L)if(k()!==L){if(i=[],(r=y())!==L)for(;r!==L;)i.push(r),r=y();else i=L;i!==L?(Zt=t,e=st(i),t=e):(Ht=t,t=L)}else Ht=t,t=L;else Ht=t,t=L;else Ht=t,t=L;else Ht=t,t=L;return t}function w(){var t,e,o,i;return t=Ht,e=Ht,61===n.charCodeAt(Ht)?(o=ct,Ht++):(o=L,0===Xt&&a(ft)),o!==L?(i=P(),i!==L?(o=[o,i],e=o):(Ht=e,e=L)):(Ht=e,e=L),t=e!==L?n.substring(t,Ht):e,t===L&&(t=E()),t}function y(){var t,e,o,i,r,u,c,f,l;return t=Ht,e=k(),e!==L?(o=w(),o!==L?(i=k(),i!==L?(123===n.charCodeAt(Ht)?(r=N,Ht++):(r=L,0===Xt&&a(D)),r!==L?(u=k(),u!==L?(c=s(),c!==L?(f=k(),f!==L?(125===n.charCodeAt(Ht)?(l=V,Ht++):(l=L,0===Xt&&a(G)),l!==L?(Zt=t,e=lt(o,c),t=e):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L),t}function _(){var t,e,o,i;return t=Ht,n.substr(Ht,7)===mt?(e=mt,Ht+=7):(e=L,0===Xt&&a(pt)),e!==L?(o=k(),o!==L?(i=P(),i!==L?(Zt=t,e=dt(i),t=e):(Ht=t,t=L)):(Ht=t,t=L)):(Ht=t,t=L),t}function j(){var t,n,e,o;if(t=Ht,n=_(),n===L&&(n=null),n!==L)if(k()!==L){if(e=[],(o=y())!==L)for(;o!==L;)e.push(o),o=y();else e=L;e!==L?(Zt=t,n=ht(n,e),t=n):(Ht=t,t=L)}else Ht=t,t=L;else Ht=t,t=L;return t}function x(){var t,e;if(Xt++,t=[],gt.test(n.charAt(Ht))?(e=n.charAt(Ht),Ht++):(e=L,0===Xt&&a(bt)),e!==L)for(;e!==L;)t.push(e),gt.test(n.charAt(Ht))?(e=n.charAt(Ht),Ht++):(e=L,0===Xt&&a(bt));else t=L;return Xt--,t===L&&(e=L,0===Xt&&a(vt)),t}function k(){var t,e,o;for(Xt++,t=Ht,e=[],o=x();o!==L;)e.push(o),o=x();return t=e!==L?n.substring(t,Ht):e,Xt--,t===L&&(e=L,0===Xt&&a(wt)),t}function F(){var t;return yt.test(n.charAt(Ht))?(t=n.charAt(Ht),Ht++):(t=L,0===Xt&&a(_t)),t}function O(){var t;return jt.test(n.charAt(Ht))?(t=n.charAt(Ht),Ht++):(t=L,0===Xt&&a(xt)),t}function P(){var t,e,o,i,r,u;if(t=Ht,48===n.charCodeAt(Ht)?(e=kt,Ht++):(e=L,0===Xt&&a(Ft)),e===L){if(e=Ht,o=Ht,Ot.test(n.charAt(Ht))?(i=n.charAt(Ht),Ht++):(i=L,0===Xt&&a(Pt)),i!==L){for(r=[],u=F();u!==L;)r.push(u),u=F();r!==L?(i=[i,r],o=i):(Ht=o,o=L)}else Ht=o,o=L;e=o!==L?n.substring(e,Ht):o}return e!==L&&(Zt=t,e=At(e)),t=e}function A(){var t,e,o,i,r,u,s,c;return Et.test(n.charAt(Ht))?(t=n.charAt(Ht),Ht++):(t=L,0===Xt&&a(St)),t===L&&(t=Ht,n.substr(Ht,2)===Rt?(e=Rt,Ht+=2):(e=L,0===Xt&&a(Lt)),e!==L&&(Zt=t,e=Ct()),(t=e)===L&&(t=Ht,n.substr(Ht,2)===qt?(e=qt,Ht+=2):(e=L,0===Xt&&a(zt)),e!==L&&(Zt=t,e=Ut()),(t=e)===L&&(t=Ht,n.substr(Ht,2)===Mt?(e=Mt,Ht+=2):(e=L,0===Xt&&a(Tt)),e!==L&&(Zt=t,e=It()),(t=e)===L&&(t=Ht,n.substr(Ht,2)===Nt?(e=Nt,Ht+=2):(e=L,0===Xt&&a(Dt)),e!==L&&(Zt=t,e=Bt()),(t=e)===L&&(t=Ht,n.substr(Ht,2)===Wt?(e=Wt,Ht+=2):(e=L,0===Xt&&a(Vt)),e!==L?(o=Ht,i=Ht,r=O(),r!==L?(u=O(),u!==L?(s=O(),s!==L?(c=O(),c!==L?(r=[r,u,s,c],i=r):(Ht=i,i=L)):(Ht=i,i=L)):(Ht=i,i=L)):(Ht=i,i=L),o=i!==L?n.substring(o,Ht):i,o!==L?(Zt=t,e=Gt(o),t=e):(Ht=t,t=L)):(Ht=t,t=L)))))),t}function E(){var t,n,e;if(t=Ht,n=[],(e=A())!==L)for(;e!==L;)n.push(e),e=A();else n=L;return n!==L&&(Zt=t,n=Kt(n)),t=n}var S,R=arguments.length>1?arguments[1]:{},L={},C={start:u},q=u,z=function(t){return{type:"messageFormatPattern",elements:t,location:e()}},U=function(t){var n,e,o,i,a,r="";for(n=0,o=t.length;n