var __wpo = {"assets":{"main":[],"additional":[],"optional":[]},"externals":["/emoji/1f602.svg","/emoji/sheet_10.png"],"hashesMap":{},"strategy":"changed","responseStrategy":"cache-first","version":"6/26/2019, 6:41:25 PM","name":"webpack-offline:mastodon","pluginVersion":"5.0.6","relativePaths":false}; !function(n){var e={};function i(t){if(e[t])return e[t].exports;var o=e[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=n,i.c=e,i.d=function(t,o,n){i.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(o,t){if(1&t&&(o=i(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var e in o)i.d(n,e,function(t){return o[t]}.bind(null,e));return n},i.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(o,"a",o),o},i.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},i.p="/packs/",i(i.s=5)}([function(t,o,n){var e=n(8).Symbol;t.exports=e},function(t,o,n){"use strict";o.extend=function(t){var o,n,e,i,a=Array.prototype.slice.call(arguments,1);for(o=0,n=a.length;o",""":'"',"'":"'"});t.exports=e},function(t,o){t.exports=function(o){return function(t){return null==o?void 0:o[t]}}},function(t,o,n){"use strict";var e=n(21),i=n(26);e.default.__addLocaleData(i.default),e.default.defaultLocale="en",o.default=e.default},function(t,o,n){"use strict";var c=n(1),s=n(22),i=n(23),e=n(24);function u(o,t,n){var e="string"==typeof o?u.__parse(o):o;if(!e||"messageFormatPattern"!==e.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(u.formats,n),s.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var i=this._findPluralRuleFunction(this._locale),a=this._compilePattern(e,t,n,i),r=this;this.format=function(t){try{return r._format(a,t)}catch(t){throw t.variableId?new Error("The intl string context variable '"+t.variableId+"' was not provided to the string '"+o+"'"):t}}}o.default=u,s.defineProperty(u,"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"}}}}),s.defineProperty(u,"__localeData__",{value:s.objCreate(null)}),s.defineProperty(u,"__addLocaleData",{value:function(t){if(!t||!t.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");u.__localeData__[t.locale.toLowerCase()]=t}}),s.defineProperty(u,"__parse",{value:e.default.parse}),s.defineProperty(u,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),u.prototype.resolvedOptions=function(){return{locale:this._locale}},u.prototype._compilePattern=function(t,o,n,e){return new i.default(o,n,e).compile(t)},u.prototype._findPluralRuleFunction=function(t){for(var o=u.__localeData__,n=o[t.toLowerCase()];n;){if(n.pluralRuleFunction)return n.pluralRuleFunction;n=n.parentLocale&&o[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+t)},u.prototype._format=function(t,o){var n,e,i,a,r,s,u="";for(n=0,e=t.length;no.description?1:0});o/g,"\n").replace(/<\/p>

/g,"\n\n").replace(/<[^>]*>/g,""))},d=function(t){return{action:"expand",icon:"/web-push-icon_expand.png",title:m("status.show_more",t)}},h=function(t){return{action:"reblog",icon:"/web-push-icon_reblog.png",title:m("status.reblog",t)}},v=function(t){return{action:"favourite",icon:"/web-push-icon_favourite.png",title:m("status.favourite",t)}},g=function(t){var o=t.find(function(t){return t.focused}),n=t.find(function(t){return"visible"===t.visibilityState});return o||n||t[0]},b=function(t,o){var n=f(t);return n.actions=n.actions.filter(function(t){return t.action!==o}),self.registration.showNotification(n.title,n)};self.addEventListener("push",function(t){var o=t.data.json(),n=o.access_token,e=o.notification_id,i=o.preferred_locale,a=o.title,r=o.body,s=o.icon;t.waitUntil(l("/api/v1/notifications/"+e,"get",n).then(function(t){var o={};return o.title=m("notification."+t.type,i,{name:0