blockbench/service_worker.js

2 lines
9.2 KiB
JavaScript
Raw Normal View History

2021-04-15 19:03:42 +02:00
if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return i[e]||(s=new Promise((async s=>{if("document"in self){const i=document.createElement("script");i.src=e,document.head.appendChild(i),i.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!i[e])throw new Error(`Module ${e} didnt register its module`);return i[e]}))},s=(s,i)=>{Promise.all(s.map(e)).then((e=>i(1===e.length?e[0]:e)))},i={require:Promise.resolve(s)};self.define=(s,r,a)=>{i[s]||(i[s]=Promise.resolve().then((()=>{let i={};const f={uri:location.origin+s.slice(1)};return Promise.all(r.map((s=>{switch(s){case"exports":return i;case"module":return f;default:return e(s)}}))).then((e=>{const s=a(...e);return i.default||(i.default=s),i}))})))}}define("./service_worker.js",["./workbox-f6829f63"],(function(e){"use strict";e.setCacheNameDetails({prefix:"blockbench"}),self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"index.html",revision:"cf5b076a99d2e12e7a8f4e698e1d6384"},{url:"favicon.png",revision:"bb17c5c284076fc17e3399860df472d7"},{url:"js/animations/animation.js",revision:"690e5db03b18386ef9344e7a5662d1f8"},{url:"js/animations/keyframe.js",revision:"e462d50d7354563a6ddd08438c91be7e"},{url:"js/animations/timeline.js",revision:"d8d2f8e25d20e8d4468ff45126dd280f"},{url:"js/api.js",revision:"842a7ba6adf5ed76ae9adb8f1ebd7c5d"},{url:"js/blockbench.js",revision:"5bd12146f589448e4d3682f188ba0942"},{url:"js/boot_loader.js",revision:"5aa6ff6b408b16bd058240ae7e30bcad"},{url:"js/copy_paste.js",revision:"ff33af0fa5bdf96aad1226f00a268cb2"},{url:"js/desktop.js",revision:"b2fba4e1cc8deab2cdebac26c50d0eff"},{url:"js/display_mode.js",revision:"8f0b03c2653bcba8d14c62d64a178283"},{url:"js/edit_sessions.js",revision:"d465a247a8e8c5dd888ed69a89d7122e"},{url:"js/file_system.js",revision:"e033e1093519fa9219d5e65d61685f0b"},{url:"js/interface/actions.js",revision:"2e41a9f9454ff52cfe18e3b8b8dfb608"},{url:"js/interface/dialog.js",revision:"d9e05dc85a395ee67bff0dd60ec584f8"},{url:"js/interface/interface.js",revision:"afcb735dc18a225c733b2f3641edebe9"},{url:"js/interface/keyboard.js",revision:"4a5dbd04ca6d1f5b982cf2200fa213c5"},{url:"js/interface/language.js",revision:"21771fbb44f4a6b540aa7914610214b2"},{url:"js/interface/menu.js",revision:"7f63801f46df34aa78081bc400e62446"},{url:"js/interface/panels.js",revision:"a80b9082797ce7373cba8873fd03e77d"},{url:"js/interface/settings.js",revision:"c4d75c163d573c6d81e645dab3b22216"},{url:"js/interface/themes.js",revision:"04dfdc64ea091085d0008631936d34f3"},{url:"js/io/codec.js",revision:"90ffac0fbfc9dfde9f1ab14a0b85e2d4"},{url:"js/io/format.js",revision:"b4e463a603dd8dcd9b54ff1561e75188"},{url:"js/io/formats/bbmodel.js",revision:"68402e1976788f5099efce3780c5fc08"},{url:"js/io/formats/bedrock_old.js",revision:"c12418fedf2413a0f944802ca04d52fd"},{url:"js/io/formats/bedrock.js",revision:"50ada6c4ae066fce223ac2e13a477b38"},{url:"js/io/formats/gltf.js",revision:"4d0b3dc7adb9aee3fb263affd75bade5"},{url:"js/io/formats/java_block.js",revision:"3d14043e6eb7d3def6aba25c154d6b82"},{url:"js/io/formats/modded_entity.js",revision:"1cb0cebdc9e9d997fca1e42f138fad5a"},{url:"js/io/formats/obj.js",revision:"b4cf3142aee8e669f6412b23883b452f"},{url:"js/io/formats/optifine_jem.js",revision:"c43ed6a97d5af5ddf5d7c41b13fc5641"},{url:"js/io/formats/optifine_jpm.js",revision:"91b8e71d4b05c28391481ed39f16cd47"},{url:"js/io/formats/skin.js",revision:"b1c094546d47a4184737f1aa98911392"},{url:"js/io/io.js",revision:"4746d696c056ef4581414cea0f6db515"},{url:"js/io/project.js",revision:"b6f5f90090d6a9c2ca049ce3ec4470d9"},{url:"js/modes.js",revision:"0e19db1f46e6a9ad7dd368aa2d698e0b"},{url:"js/outliner/cube.js",revision:"2d31346529cf3ce0fd42670b7fc7ccc0"},{url:"js/outliner/group.js",revision:"e77ff0b46d7c8a5754063c96a35a9f28"},{url:"js/outliner/locator.js",revision:"3f84ecfbc976e9c59e44d18046dea779"},{url:"js/outliner/null_object.js",revision:"1fd2e18a384c7f10ef1d8acc183e75b1"},{url:"js/outliner/outliner.js",revision:"5c957236d3c582013ad98f82b88cf183"},{url:"js/plugin_loader.js