if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()}).then(()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e}));self.define=(i,t)=>{const a=e||("document"in self?document.currentScript.src:"")||location.href;if(s[a])return;let r={};const l=e=>n(e,a),o={module:{uri:a},exports:r,require:l};s[a]=Promise.all(i.map(e=>o[e]||l(e))).then(e=>(t(...e),r))}}define(["./workbox-f218c393"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-BuFZTW9F.js",revision:null},{url:"assets/index-UJ1ymp3U.css",revision:null},{url:"assets/index.es-D4Yuhd8V.js",revision:null},{url:"assets/purify.es-BFmuJLeH.js",revision:null},{url:"assets/workbox-window.prod.es5-B9K5rw8f.js",revision:null},{url:"config.js",revision:"8a6f72c4305fad72084a177b5be16f98"},{url:"index.html",revision:"73642afa9193effd729abaa236d8f1cb"},{url:"favicon.ico",revision:"65f83e53c3cf58dd291d2a38b8a1f90a"},{url:"manifest.webmanifest",revision:"8b493ab019efd76d64d8ae7973461d33"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"),{denylist:[/^\/api\//]})),e.registerRoute(({url:e})=>e.origin.includes("sanadapi.truetime.ps")&&/\/items\/(GetItemsList|GetItemsBalances)$/.test(e.pathname),new e.StaleWhileRevalidate({cacheName:"api-items",plugins:[new e.CacheableResponsePlugin({statuses:[0,200]}),new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(({url:e})=>e.origin.includes("sanadapi.truetime.ps")&&/\/ReferancesData\/(GetReferancesList|ReferancesWithBalances)$/.test(e.pathname),new e.StaleWhileRevalidate({cacheName:"api-references",plugins:[new e.CacheableResponsePlugin({statuses:[0,200]}),new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\/(items\/(list|balances)|references\/(list|balances))$/,new e.NetworkFirst({cacheName:"pages-data",networkTimeoutSeconds:3,plugins:[new e.CacheableResponsePlugin({statuses:[0,200]}),new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:png|jpg|jpeg|svg|webp|woff2?)$/,new e.CacheFirst({cacheName:"static-assets",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3}),new e.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")});
