!function(t){var e={};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}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return 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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/frontend_latest/",n(n.s=155)}({155:function(t,e,n){self.addEventListener("message",t=>{"skipWaiting"===t.data.type&&(self.skipWaiting(),clients.claim())}),workbox.setConfig({debug:!1}),workbox.precaching.precacheAndRoute(self.__precacheManifest||[]),workbox.routing.registerRoute(new RegExp(`${location.host}/(static|frontend_latest|frontend_es5)/.+`),workbox.strategies.cacheFirst()),workbox.routing.registerRoute(new RegExp(`${location.host}/api/.*`),workbox.strategies.networkOnly()),workbox.routing.registerRoute(new RegExp(`${location.host}/(service_worker.js|service_worker_es5.js|manifest.json)`),workbox.strategies.networkOnly()),workbox.routing.registerRoute(new RegExp(`${location.host}/.*`),workbox.strategies.staleWhileRevalidate()),function(){function t(t,e){delete t.data.jwt,0===Object.keys(t.data).length&&t.data.constructor===Object&&delete t.data,fetch("/api/notify.html5/callback",{credentials:"same-origin",method:"POST",headers:new Headers({"Content-Type":"application/json",Authorization:"Bearer "+e}),body:JSON.stringify(t)})}function e(e,n){t({action:n.action,data:n.notification.data,tag:n.notification.tag,type:e},n.notification.data.jwt)}self.addEventListener("push",function(e){var n;if(e.data){if((n=e.data.json()).dismiss)return void e.waitUntil(self.registration.getNotifications({tag:n.tag}).then(function(t){for(const e of t)e.close()}));e.waitUntil(self.registration.showNotification(n.title,n).then(function(){t({type:"received",tag:n.tag,data:n.data},n.data.jwt)}))}}),self.addEventListener("notificationclick",function(t){var n;e("clicked",t),t.notification.close(),!t.action&&t.notification.data&&t.notification.data.url&&(n=t.notification.data.url)&&t.waitUntil(clients.matchAll({type:"window"}).then(function(t){var e,o;for(e=0;e<t.length;e++)if((o=t[e]).url===n&&"focus"in o)return o.focus();if(clients.openWindow)return clients.openWindow(n)}))}),self.addEventListener("notificationclose",function(t){e("closed",t)})}()}});