blockbench/service_worker.js

2 lines
13 KiB
JavaScript
Raw Normal View History

2023-05-28 03:03:02 +08:00
if(!self.define){let e,s={};const i=(i,a)=>(i=new URL(i+".js",a).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didnt register its module`);return e})));self.define=(a,r)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(s[c])return;let d={};const f=e=>i(e,c),b={module:{uri:c},exports:d,require:f};s[c]=Promise.all(a.map((e=>b[e]||f(e)))).then((e=>(r(...e),d)))}}define(["./workbox-2d118ab0"],(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:"b7c21ecce55a2cfddb7b6b204e5c211a"},{url:"favicon.png",revision:"bb17c5c284076fc17e3399860df472d7"},{url:"js/animations/animation_controllers.js",revision:"9d36216d5a8d3c450d0799d6362fcd9e"},{url:"js/animations/animation.js",revision:"8e5b8e274999fc664183ff82f3212279"},{url:"js/animations/keyframe.js",revision:"e6a23bcbdbbcc6e589953b3ecac5b679"},{url:"js/animations/molang.js",revision:"c12c65acbf67ed7649f8446b427abe17"},{url:"js/animations/timeline_animators.js",revision:"00bbe2c21af0aab59eae48779e252d2f"},{url:"js/animations/timeline.js",revision:"b52a44b4419457565d28484088f69d6b"},{url:"js/api.js",revision:"3f2f131b9c38a796bee419d8343d1db2"},{url:"js/boot_loader.js",revision:"1a95d6a07a1f0d8cad9402de1cff988c"},{url:"js/copy_paste.js",revision:"51e511cdff7dd4d748b1d4eb77fb74cd"},{url:"js/desktop.js",revision:"9eaab90536f99aba3f7022a8e0321947"},{url:"js/display_mode.js",revision:"7d6a198c332152812b27d0d094c216b2"},{url:"js/edit_sessions.js",revision:"68656b1508c2bb76c3613c0af520ab44"},{url:"js/file_system.js",revision:"6c2ee95348da5a75bb31d08670fc0ab6"},{url:"js/globals.js",revision:"442493e3975da7568905d8286a1ce8ba"},{url:"js/interface/about.js",revision:"00206dad48b49451f1b8f1c5070663f7"},{url:"js/interface/action_control.js",revision:"9f0e1b67c56e519b940e9498c36e013c"},{url:"js/interface/actions.js",revision:"1970dc4f5cb4855cdbf63da9570d8c20"},{url:"js/interface/dialog.js",revision:"d928d3a216b69d739405bce887587e95"},{url:"js/interface/interface.js",revision:"e3a842bce9cb19dcc0faa4b4d7d8c0de"},{url:"js/interface/keyboard.js",revision:"9ae3191dbf2b336a51f7acedfa692ade"},{url:"js/interface/menu_bar.js",revision:"f18ec3e6674eea1a2ac24c0b18f90420"},{url:"js/interface/menu.js",revision:"00c1409a98ec2f3506d09c68dad5842d"},{url:"js/interface/panels.js",revision:"990b0bf0fa32e4d7e4a607fbc9a4a2dc"},{url:"js/interface/settings.js",revision:"d38c34fcb717d151697636db5c49e0de"},{url:"js/interface/start_screen.js",revision:"3f2680432ee2c41b8d8c3e9fec997f55"},{url:"js/interface/themes.js",revision:"f023cfb26e6123dd1e047e6a08a753fe"},{url:"js/interface/vue_components.js",revision:"a8cf3f3b94c5dfcb8a1a6f0edd24d442"},{url:"js/io/codec.js",revision:"a050a214b4d0dc405a7e058aa0ce0ce1"},{url:"js/io/format.js",revision:"32758bb4c72301666fa92e84d64b5099"},{url:"js/io/formats/bbmodel.js",revision:"6d8fd4761e96b0a97d1575af8cfa4997"},{url:"js/io/formats/bedrock_old.js",revision:"7883129f892e5e49465f67fde86ae3e5"},{url:"js/io/formats/bedrock.js",revision:"12db5523cdd5888932c018fd6cbf4478"},{url:"js/io/formats/collada.js",revision:"1bf2452562b7f438c72b5bac4952c7a4"},{url:"js/io/formats/fbx.js",revision:"d42836ae287b0b22cf1deb0ffcba2a52"},{url:"js/io/formats/generic.js",revision:"7064ced3120d1345c09d9830571bb5e5"},{url:"js/io/formats/gltf.js",revision:"444aab58f4719f555d7fdd23b84ea21a"},{url:"js/io/formats/image.js",revision:"2ec84f468716649fb7a0cc8f17e933b6"},{url:"js/io/formats/java_block.js",revision:"119df5ca927331964dd6fff94eae5521"},{url:"js/io/formats/modded_entity.js",revision:"69a8c5343c8cb924dbf496c231b0a814"},{url:"js/io/formats/obj.js",revision:"db5bc4b405ad407b6b1fb8ff8c4cb8d3"},{url:"js/io/formats/optifine_jem.js",revision:"551a69bdffecb0edfbbf0f38f5d75dfc"},{url:"js/io/formats/optifine_jpm.js",revision:"7902a08955db9db9df5