blockbench/service_worker.js

2 lines
9.1 KiB
JavaScript
Raw Normal View History

2021-07-02 18:04:34 +08: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:"f03af57ceca5b5b32723f52faa5d2e4f"},{url:"favicon.png",revision:"bb17c5c284076fc17e3399860df472d7"},{url:"js/animations/animation.js",revision:"1fc4236b9540eb4178ae049337e6ea81"},{url:"js/animations/keyframe.js",revision:"a66c014d79c882c4666ccac64a4e24c9"},{url:"js/animations/timeline.js",revision:"cc7dd779fc9befd574af73daba8ff761"},{url:"js/api.js",revision:"2c7e4bb44a29e9053bc19f913bb8dcfc"},{url:"js/blockbench.js",revision:"ef295e69f0eb341d53c6d1f3e3854af0"},{url:"js/boot_loader.js",revision:"89b576d3933dacdf906596728c6835f5"},{url:"js/copy_paste.js",revision:"39bc5da4e15d8557a49b99562fced83e"},{url:"js/desktop.js",revision:"8e80b60f0c9e59e42f2bd79d00429366"},{url:"js/display_mode.js",revision:"e8ff5aaac11c9156f7c485a94a37c813"},{url:"js/edit_sessions.js",revision:"d465a247a8e8c5dd888ed69a89d7122e"},{url:"js/file_system.js",revision:"79a66bf18e0a3fde7078391fda7850bb"},{url:"js/interface/actions.js",revision:"0a3c21d5ff40b19f9c0a844e722f9a33"},{url:"js/interface/dialog.js",revision:"e7fb8f12bc735fa495478045f92d127a"},{url:"js/interface/interface.js",revision:"34d95acd82b6ad102da363c8c1e1c954"},{url:"js/interface/keyboard.js",revision:"167f095d7eda573c1295c7254090764c"},{url:"js/interface/menu.js",revision:"60326360c6c5e6ddd57f6ecb1579babe"},{url:"js/interface/panels.js",revision:"a80b9082797ce7373cba8873fd03e77d"},{url:"js/interface/settings.js",revision:"c60395574b63fb08a65350b088d52593"},{url:"js/interface/themes.js",revision:"f00e4ded5213ae649d3f939c4f574cf3"},{url:"js/io/codec.js",revision:"90ffac0fbfc9dfde9f1ab14a0b85e2d4"},{url:"js/io/format.js",revision:"71993e42c2b9cf6225bce295aedcf4fb"},{url:"js/io/formats/bbmodel.js",revision:"8a5456a6bf2e697056535bd43bf57f37"},{url:"js/io/formats/bedrock_old.js",revision:"bb9d5916c9dac7ddace8bd1bd4e7a770"},{url:"js/io/formats/bedrock.js",revision:"2d40a1f30a8ce3731ea03ec3dc2cb266"},{url:"js/io/formats/gltf.js",revision:"97164aadb717eb0b7f390cfb3359e3ca"},{url:"js/io/formats/java_block.js",revision:"c87015b921e1240837bdfafeda6bafdb"},{url:"js/io/formats/modded_entity.js",revision:"e9788450abe6d7321f524992ff2d27ae"},{url:"js/io/formats/obj.js",revision:"b4cf3142aee8e669f6412b23883b452f"},{url:"js/io/formats/optifine_jem.js",revision:"238e80871c16bf35625396236a7eec6a"},{url:"js/io/formats/optifine_jpm.js",revision:"9787b52d1d66246133b514e227198156"},{url:"js/io/formats/skin.js",revision:"153a1b53a79bb06dc9c836827008b536"},{url:"js/io/io.js",revision:"4320007f80311bf7d7f17b6eae5c284b"},{url:"js/io/project.js",revision:"6ae57b943579260acec0418b901f7813"},{url:"js/modes.js",revision:"0725ae1f97995439f9141b7d0bb11fab"},{url:"js/outliner/cube.js",revision:"9260c50ceaf5811827417fbe6498fc2f"},{url:"js/outliner/group.js",revision:"560c1fb80f3fd74be983cadc7a6a2c9a"},{url:"js/outliner/locator.js",revision:"b4521d53fbfa592bb7a20936c5e1a882"},{url:"js/outliner/null_object.js",revision:"5e4451e7f8e264a45d94498cd591264f"},{url:"js/outliner/outliner.js",revision:"cf48beb48d39db705bea57e2440f2a12"},{url:"js/plugin_loader.js",revision:"950f2765e2b2e8caf2c95fc978a26e60"},{url:"js/preview/canvas.js",re